WO2020034911A1 - Communication method and communication appratus - Google Patents

Communication method and communication appratus Download PDF

Info

Publication number
WO2020034911A1
WO2020034911A1 PCT/CN2019/100063 CN2019100063W WO2020034911A1 WO 2020034911 A1 WO2020034911 A1 WO 2020034911A1 CN 2019100063 W CN2019100063 W CN 2019100063W WO 2020034911 A1 WO2020034911 A1 WO 2020034911A1
Authority
WO
WIPO (PCT)
Prior art keywords
delay
network element
flow
information
stream
Prior art date
Application number
PCT/CN2019/100063
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
Priority claimed from CN201811169219.9A external-priority patent/CN110830268B/en
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP19850563.8A priority Critical patent/EP3823324A4/en
Publication of WO2020034911A1 publication Critical patent/WO2020034911A1/en
Priority to US17/174,975 priority patent/US11937128B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Abstract

Provided are a communication method and a communication apparatus. In the communication method, an SMF network element determines, according to a PCC rule of a flow, a third time delay of the flow being transmitted from a UPF network element to a UE, so that a second time delay of the flow being transmitted from a flow service talker in a TSN to the UE can be determined according to the third time delay and a first time delay of the flow being transmitted from the flow service talker in the TSN to the UPF network element. According to the communication method and the communication apparatus provided in the present application, a relatively simple implementation method is used to determine a cumulative time delay of the flow being transmitted from the UPF network element to the UE, that is, a relatively simple method is used to determine a cumulative time delay of the flow being transmitted from the flow service talker in the TSN to the UE.

Description

通信方法和通信装置Communication method and communication device
本申请要求于2018年08月13日提交中国专利局、申请号为201810918006.5、申请名称为“通信方法和通信装置”的中国专利申请的优先权,以及要求于2018年10月08日提交中国专利局、申请号为201811169219.9、申请名称为“通信方法和通信装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on August 13, 2018, with an application number of 201810918006.5, and the application name is "Communication Method and Communication Device", and a Chinese patent filed on October 08, 2018 Office, application number 201811169219.9, and application name "communication method and communication device" for the priority of Chinese patent applications, the entire contents of which are incorporated herein by reference.
技术领域Technical field
本申请涉及通信领域,并且更具体地,涉及通信方法和通信装置。The present application relates to the field of communication, and more particularly, to a communication method and a communication device.
背景技术Background technique
目前,通信领域提出了第三代合作伙伴计划(3 rd generation partnership project,3GPP)网络与时间敏感网络(time sensitive network,TSN)互通的通信技术。在3GPP核心网与TSN互通的场景下,终端设备(user equipment,UE)可以作为流服务接受者(listener),接收来自TSN的流服务提供者(talker)发送的流(flow);或者,UE可以作为流服务提供者,向TSN中的流服务接受者发送流,例如超低时延高可靠通信(ultra-reliable and low latency communications,URLLC)流。用户面功能(user plane function,UPF)网元作为TSN与3GPP网络的边界,可以具备TSN中网桥的基本功能。 Currently, communications proposed third generation partnership project (3 rd generation partnership project, 3GPP ) network and time-sensitive network (time sensitive network, TSN) interoperable communications technology. In the scenario where the 3GPP core network is interoperable with the TSN, the terminal equipment (user equipment, UE) can serve as a stream service receiver (listener), and receive the flow sent by the TSN stream service provider (talker); It can be used as a stream service provider to send a stream to the stream service receiver in the TSN, such as an ultra-reliable and low latency communications (URLLC) stream. A user plane function (UPF) network element, as the boundary between the TSN and the 3GPP network, can have the basic functions of a bridge in the TSN.
要实现3GPP网络与TSN的互通,需要计算流在3GPP网络中的UE与UPF网元之间进行传输时的累计时延。To realize the interworking between the 3GPP network and the TSN, it is necessary to calculate the cumulative delay when the stream is transmitted between the UE and the UPF network element in the 3GPP network.
因此,如何确定UE与UPF网元之间进行传输时的累计时延,是一个亟待解决的技术问题。Therefore, how to determine the cumulative delay during the transmission between the UE and the UPF network element is a technical problem to be solved urgently.
发明内容Summary of the Invention
本申请提供一种通信方法和通信装置,能够确定流在UE与UPF网元之间进行传输时的累计时延。The present application provides a communication method and a communication device, which can determine a cumulative delay when a stream is transmitted between a UE and a UPF network element.
第一方面,本申请提供了一种通信方法。该通信方法包括:会话管理功能(session management function,SMF)网元从UPF网元接收流的第一时延信息,所述第一时延信息用于指示所述流从TSN中的流服务提供者传输至所述UPF网元的第一时延;所述SMF网元根据所述流的策略与计费控制(policy and charging control,PCC)规则确定所述流从所述UPF网元传输至UE的第三时延;所述SMF网元根据所述第一时延和所述第三时延,确定所述流从所述TSN中的所述流服务提供者传输至所述UE的第二时延;所述SMF网元向所述UPF网元发送第二时延信息,所述第二时延信息用于指示所述第二时延。In a first aspect, the present application provides a communication method. The communication method includes: a session management function (SMF) network element receives first delay information of a flow from a UPF network element, and the first delay information is used to instruct the flow to provide a flow service from a TSN The first delay of transmission from the UPF network element; the SMF network element determines that the flow is transmitted from the UPF network element to the UPF network element according to a policy and charging control (PCC) rule of the flow The third delay of the UE; and the SMF network element determines the first transmission of the stream from the stream service provider in the TSN to the UE according to the first delay and the third delay Two delays; the SMF network element sends second delay information to the UPF network element, and the second delay information is used to indicate the second delay.
该通信方法中,SMF网元根据PCC规则确定流从UPF网元传输至UE的第三时延,并将该第三时延作为流从UPF网元传输至UE的累计时延,以使SMF网元可以根据该第三时延和该流从TSN中的流提供者传输至UPF网元的第一时延确定该流从TSN中的流服 务提供者传输至UE的第二时延,进而可以在3GPP网络与TSN的互通的通信网络中根据该第二时延确定可以保证该流的QoS,可以传输该流。In this communication method, the SMF network element determines a third delay of the flow transmission from the UPF network element to the UE according to the PCC rule, and uses the third delay as the cumulative delay of the flow transmission from the UPF network element to the UE to enable the SMF The network element may determine the second delay for transmitting the stream from the stream service provider in the TSN to the UE according to the third delay and the first delay in transmitting the stream from the stream provider in the TSN to the UPF network element. The QoS of the stream can be guaranteed and the stream can be transmitted according to the second delay in a communication network in which the 3GPP network and the TSN are interworking.
另外,SMF网元将根据PCC规则确定流从UPF网元传输至UE的第三时延作为流从UPF网元传输至UE的累计时延。然而,在现有技术中,要在UPF网元至UE之间的两两相邻节点之间做时钟同步,最终实现UPF网元至UE之间所有的节点的时钟同步,从而在UPF网元至UE的所有传输节点上支持TSN网络,以计算流从UPF网元传输至UE的累计时延。该通信方法与现有技术相比,方案简单,容易实现。In addition, the SMF network element determines, according to the PCC rule, the third delay in which the stream is transmitted from the UPF network element to the UE as the cumulative delay in which the stream is transmitted from the UPF network element to the UE. However, in the prior art, clock synchronization needs to be performed between two adjacent nodes between the UPF network element and the UE, and finally the clock synchronization of all nodes between the UPF network element and the UE is achieved, so that the UPF network element The TSN network is supported on all transmission nodes to the UE to calculate the cumulative delay of the stream being transmitted from the UPF network element to the UE. Compared with the prior art, the communication method has a simple scheme and is easy to implement.
其中,第三时延可以是流从UPF网元传输至UE的最大传输时延。The third delay may be a maximum transmission delay of a stream transmitted from the UPF network element to the UE.
结合第一方面,在第一种可能的实现方式中,所述SMF网元根据所述第一时延和所述第三时延,确定所述流从所述TSN中的所述流服务提供者传输至所述UE的第二时延,包括:所述SMF网元将所述第一时延与所述第三时延之和,确定为所述第二时延。With reference to the first aspect, in a first possible implementation manner, the SMF network element determines that the stream is provided from the stream service in the TSN according to the first delay and the third delay. The second delay transmitted from the UE to the UE includes: determining, by the SMF network element, the sum of the first delay and the third delay as the second delay.
结合第一方面或第一种可能的实现方式,在第二种可能的实现方式中,所述通信方法还包括:所述SMF网元根据所述PCC规则确定能为所述流预留带宽资源。With reference to the first aspect or the first possible implementation manner, in a second possible implementation manner, the communication method further includes that the SMF network element determines that the bandwidth resource can be reserved for the flow according to the PCC rule. .
例如,SMF网元可以在向UPF网元发送第二时延信息之前,根据流对应的PCC规则确定能否为该流预留带宽资源。若SMF网元根据流对应的PCC规则确定能为该流预留带宽资源,则SMF网元可以向UPF网元发送第二时延信息,否则,SMF网元可以不向UPF网元发送该第二时延信息。For example, before sending the second delay information to the UPF network element, the SMF network element may determine whether to reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow. If the SMF network element determines that it can reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow, the SMF network element may send the second delay information to the UPF network element; otherwise, the SMF network element may not send the second delay information to the UPF network element. Two delay information.
例如,SMF网元可以在根据第一时延和所述第三时延确定第二时延之前,根据流对应的PCC规则确定能否为该流预留带宽资源。若SMF网元根据流对应的PCC规则确定核心网和接入网能为该流预留带宽资源,则SMF网元可以根据第一时延和所述第三时延确定第二时延,并执行后续操作;否则,SMF网元可以不根据第一时延和所述第三时延确定第二时延,以及不执行后续操作。For example, the SMF network element may determine whether to reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow before determining the second delay according to the first delay and the third delay. If the SMF network element determines that the core network and the access network can reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow, the SMF network element may determine the second delay according to the first delay and the third delay, and Perform subsequent operations; otherwise, the SMF network element may not determine the second delay based on the first delay and the third delay, and may not perform subsequent operations.
例如,SMF网元可以在根据PCC规则确定所述第三时延之前,根据流对应的PCC规则确定能否为该流预留带宽资源。若SMF网元根据流对应的PCC规则确定核心网和接入网能为该流预留带宽资源,则SMF网元可以根据PCC规则确定所述第三时延,并执行后续操作;否则,SMF网元可以不根据PCC规则确定所述第三时延,以及不执行后续操作。For example, before determining the third delay according to the PCC rule, the SMF network element may determine whether to reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow. If the SMF network element determines that the core network and the access network can reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow, the SMF network element may determine the third delay according to the PCC rule and perform subsequent operations; otherwise, the SMF The network element may not determine the third delay according to the PCC rule, and may not perform subsequent operations.
SMF网元在确定能够为流预留带宽资源的情况下,才执行后续相关操作,可以提高SMF网元的执行效率。The SMF network element performs subsequent related operations only when it is determined that the bandwidth resource can be reserved for the flow, which can improve the execution efficiency of the SMF network element.
当然,SMF网元也可以在向UPF网元发送第二时延信息之后,才确定UPF网元能否为流预留带宽资源,本申请对此并不限制。Of course, the SMF network element can also determine whether the UPF network element can reserve bandwidth resources for the flow after sending the second delay information to the UPF network element, which is not limited in this application.
结合第一方面或第一种或第二种可能的实现方式,在第三种可能的实现方式中,所述通信方法还包括:所述SMF网元向所述UPF网元发送所述流的带宽需求信息。With reference to the first aspect or the first or second possible implementation manner, in a third possible implementation manner, the communication method further includes that the SMF network element sends the stream to the UPF network element. Bandwidth demand information.
SMF网元向UPF网元发送流的带宽需求消息,以便于UPF网元根据该带宽需求信息为该流预留带宽资源,从而可以使得该流传输至UPF网元时,UPF网元上可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。The SMF network element sends a bandwidth demand message of the flow to the UPF network element, so that the UPF network element reserves bandwidth resources for the flow according to the bandwidth demand information, so that when the flow is transmitted to the UPF network element, the UPF network element can have Corresponding bandwidth resources are used to transmit the stream, which can further improve the transmission reliability of the stream.
可选地,SMF网元可以在SMF网元确定能够为流预留带宽资源的情况下,才向UPF网元发送流的带宽需求消息。Optionally, the SMF network element may send the bandwidth demand message of the flow to the UPF network element only when the SMF network element determines that the bandwidth resource can be reserved for the flow.
结合第一方面或上述任意一种可能的实现方式,在第四种可能的实现方式中,所述通信方法还包括:所述SMF网元向所述UE对应的接入网设备发送所述流的带宽需求信息。With reference to the first aspect or any one of the foregoing possible implementation manners, in a fourth possible implementation manner, the communication method further includes: the SMF network element sending the stream to an access network device corresponding to the UE Bandwidth demand information.
该接入网设备根据该带宽需求信息为该流预留带宽资源,从而可以接入网中可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。The access network device reserves bandwidth resources for the stream according to the bandwidth demand information, so that the access network can have corresponding bandwidth resources to transmit the stream, thereby improving the transmission reliability of the stream.
应理解,该实现方式中,UE对应的接入网设备是指为UE提供接入网服务的设备。It should be understood that, in this implementation manner, the access network device corresponding to the UE refers to a device that provides access network services for the UE.
可选地,SMF网元可以确定能够为流预留带宽资源的情况下,才向为该UE服务的接入网设备发送流的带宽需求消息。Optionally, the SMF network element may determine that it can reserve bandwidth resources for the flow before sending the flow bandwidth demand message to the access network device serving the UE.
结合第四种可能的实现方式,在第五种可能的实现方式中,所述通信方法还包括:所述SMF网元从所述接入网设备接收第一信息,所述第一信息用于指示所述接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。With reference to the fourth possible implementation manner, in a fifth possible implementation manner, the communication method further includes: the SMF network element receives first information from the access network device, and the first information is used for Indicates whether the access network device successfully reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
例如,SMF网元可以在向UPF网元发送第二时延信息之前,检测是否从所述接入网设备接收了第一信息。若SMF网元接收了第一信息并且第一信息指示AN设备为流预留资源成功,则SMF网元可以向UPF网元发送第二时延信息,否则,SMF网元可以不向UPF网元发送该第二时延信息。For example, the SMF network element may detect whether the first information is received from the access network device before sending the second delay information to the UPF network element. If the SMF network element receives the first information and the first information indicates that the AN device successfully reserves resources for the stream, the SMF network element may send the second delay information to the UPF network element; otherwise, the SMF network element may not send the UPF network element Send the second delay information.
例如,SMF网元可以在根据第一时延和所述第三时延确定第二时延之前,检测是否从所述接入网设备接收了第一信息。若SMF网元接收了第一信息,则SMF网元可以根据第一时延和所述第三时延确定第二时延,并执行后续操作;否则,SMF网元可以不根据第一时延和所述第三时延确定第二时延,以及不执行后续操作。For example, the SMF network element may detect whether the first information is received from the access network device before determining the second delay according to the first delay and the third delay. If the SMF network element receives the first information, the SMF network element may determine a second delay based on the first delay and the third delay, and perform subsequent operations; otherwise, the SMF network element may not use the first delay And the third delay determines a second delay, and no subsequent operations are performed.
例如,SMF网元可以在根据PCC规则确定所述第三时延之前,检测是否从所述接入网设备接收了第一信息。若SMF网元接收了第一信息,则SMF网元可以根据PCC规则确定所述第三时延,并执行后续操作;否则,SMF网元可以不根据PCC规则确定所述第三时延,以及不执行后续操作。For example, the SMF network element may detect whether the first information is received from the access network device before determining the third delay according to a PCC rule. If the SMF network element receives the first information, the SMF network element may determine the third delay according to the PCC rule and perform subsequent operations; otherwise, the SMF network element may not determine the third delay according to the PCC rule, and No subsequent operations are performed.
SMF网元在确定接入网设备能够为流预留带宽资源成功的情况下,才执行后续相关操作,可以提高SMF网元的执行效率。The SMF network element performs subsequent related operations only after determining that the access network device can successfully reserve bandwidth resources for the flow, which can improve the execution efficiency of the SMF network element.
当然,SMF网元也可以是在向UPF网元发送第二时延信息之后才从接入网设备接收第一信息,本申请对此并不限制。Of course, the SMF network element may also receive the first information from the access network device after sending the second delay information to the UPF network element, which is not limited in this application.
结合第一方面或上述任意一种可能的实现方式,在第六种可能的实现方式中,所述通信方法还包括:所述SMF网元向策略控制功能(policy control function,PCF)网元发送所述流的信息,所述流的信息用于所述流的PCC规则的确定;所述SMF网元从所述PCF网元接收所述PCC规则。With reference to the first aspect or any one of the foregoing possible implementation manners, in a sixth possible implementation manner, the communication method further includes: sending the SMF network element to a policy control function (PCF) network element Information of the flow, which is used for determining a PCC rule of the flow; the SMF network element receives the PCC rule from the PCF network element.
该实现方式中,SMF网元确定第三时延或确定UPF网元能否为流预留带宽资源所使用的PCC规则,是SMF网元从PCF网元获取的。In this implementation manner, the PCC rule used by the SMF network element to determine the third delay or to determine whether the UPF network element can reserve bandwidth resources for the flow is obtained by the SMF network element from the PCF network element.
其中,SMF网元从PCF网元获取流对应的PCC规则后,可以缓存该PCC规则。这样,下一次SMF网元需要使用该流对应的PCC规则时,可以直接从SMF网元上获取,而不用从PCF网元获取,从而可以提高效率。The SMF network element may cache the PCC rule after obtaining the PCC rule corresponding to the flow from the PCF network element. In this way, the next time an SMF network element needs to use the PCC rules corresponding to the flow, it can be obtained directly from the SMF network element instead of from the PCF network element, which can improve efficiency.
结合第六种可能的实现方式,在第七种可能的实现方式中,所述流的信息包括以下至少一项:所述流的标识ID,所述流的源地址和目的地址,传输所述流的最大帧的大小和用于传输所述流的帧之间的间隔,所述流的优先级,所述流的单个帧从Talker传输到Listener的最大允许时延或所述流的可靠性需求。With reference to the sixth possible implementation manner, in a seventh possible implementation manner, the flow information includes at least one of the following: an identification ID of the flow, a source address and a destination address of the flow, and transmitting the The size of the maximum frame of a stream and the interval between frames used to transmit the stream, the priority of the stream, the maximum allowable delay for a single frame of the stream from the Talker to the Listener, or the reliability of the stream demand.
也就是说,SMF网元可以向PCF网元发送上述一种或多种信息,以便于PCF网元可以根据这一种或多种信息确定并向SMF网元返回对应的PCC规则。That is, the SMF network element can send one or more of the above information to the PCF network element, so that the PCF network element can determine and return the corresponding PCC rule to the SMF network element based on the one or more information.
第二方面,本申请提供了一种通信方法。该通信方法包括:SMF网元从UE接收流的第一时延信息,所述第一时延信息用于指示第一时延;所述SMF网元根据所述流的PCC规则确定所述流从所述UE传输至UPF网元的第三时延;所述SMF网元根据所述第一时延和所述第三时延,确定所述流从所述UE传输至所述UPF网元的第二时延;所述SMF网元向所述UPF网元发送第二时延信息,所述第二时延信息用于指示所述第二时延。In a second aspect, the present application provides a communication method. The communication method includes: an SMF network element receives first delay information of a flow from a UE, the first delay information is used to indicate a first delay; the SMF network element determines the flow according to a PCC rule of the flow A third delay transmitted from the UE to a UPF network element; the SMF network element determines that the stream is transmitted from the UE to the UPF network element according to the first delay and the third delay The second delay of the SMF network element sends the second delay information to the UPF network element, and the second delay information is used to indicate the second delay.
该通信方法中,SMF网元从UE接收第一时延信息,并根据第一时延信息获知由UE确定的、流从UE传输至UPF网元的第一时延,此外,SMF网元根据PCC规则确定流从UE传输至UPF网元的第三时延,然后SMF网元对UE确定的第一时延和SMF网元确定的第三时延进行调整,从而可以得到流从UE传输至UPF网元的第二时延,进而可以在3GPP网络与TSN的互通的通信网络中根据该第二时延确定可以保证该流的QoS,可以传输该流。In this communication method, the SMF network element receives the first delay information from the UE and learns the first delay determined by the UE and the stream is transmitted from the UE to the UPF network element according to the first delay information. In addition, the SMF network element is based on The PCC rule determines the third delay of the flow from the UE to the UPF network element, and then the SMF network element adjusts the first delay determined by the UE and the third delay determined by the SMF network element, so that the flow can be transmitted from the UE to the The second delay of the UPF network element can further be used to determine that the QoS of the stream can be guaranteed and the stream can be transmitted according to the second delay in a communication network in which the 3GPP network and the TSN are interoperable.
另外,SMF网元根据流从UE传输至UPF网元的第三时延和UE确定的第一时延确定流从UE传输至UPF网元的累计时延。然而,在现有技术中,要在UE至UPF网元之间的两两相邻节点之间做时钟同步,最终实现UE至UPF网元之间所有的节点的时钟同步,从而在UPF网元至UE的所有传输节点上支持TSN网络,以计算流从UE传输至UPF网元的累计时延。该通信方法与现有技术相比,方案简单,容易实现。In addition, the SMF network element determines the cumulative delay of the flow from the UE to the UPF network element according to the third delay of the flow from the UE to the UPF network element and the first delay determined by the UE. However, in the prior art, clock synchronization needs to be performed between two adjacent nodes between the UE and the UPF network element, and finally the clock synchronization of all nodes between the UE and the UPF network element is achieved, so that the UPF network element The TSN network is supported on all transmission nodes to the UE to calculate the cumulative delay of the flow from the UE to the UPF network element. Compared with the prior art, the communication method has a simple scheme and is easy to implement.
可选地,第三时延可以是流从UE传输至UPF网元的最大传输时延。Optionally, the third delay may be a maximum transmission delay of the flow transmitted from the UE to the UPF network element.
结合第二方面,在第一种可能的实现方式中,所述SMF网元根据所述第一时延和所述第三时延,确定所述流从所述UE传输至所述UPF的第二时延,包括:所述SMF网元将所述第一时延与所述第三时延相加,并减去所述流从所述UE传输至所述UPF网元的传输时延的默认值所得到的值,确定为所述第二时延。With reference to the second aspect, in a first possible implementation manner, the SMF network element determines, according to the first delay and the third delay, a first time that the stream is transmitted from the UE to the UPF. The two delays include: adding, by the SMF network element, the first delay and the third delay, and subtracting the transmission delay of the stream from the UE to the UPF network element. The value obtained by using the default value is determined as the second delay.
其中,流从所述UE传输至所述UPF网元的传输时延的默认值的一种示例为500纳秒(nm)。也就是说,可以将所述第一时延与所述第三时延相加,并减去500nm所得到的值,确定为所述第二时延。An example of a default value of a transmission delay of a stream transmitted from the UE to the UPF network element is 500 nanoseconds (nm). That is, the first delay may be added to the third delay, and a value obtained by subtracting 500 nm may be determined as the second delay.
结合第二方面或第一种可能的实现方式,在第二种可能的实现方式中,所述通信方法还包括:所述SMF网元根据所述PCC规则确定能为所述流预留带宽资源。With reference to the second aspect or the first possible implementation manner, in a second possible implementation manner, the communication method further includes that the SMF network element determines that the bandwidth resource can be reserved for the flow according to the PCC rule. .
例如,SMF网元可以在向UPF网元发送第二时延信息之前,根据流对应的PCC规则确定能否为该流预留带宽资源。若SMF网元根据流对应的PCC规则确定核心网和接入网能为该流预留带宽资源,则SMF网元可以向UPF网元发送第二时延信息,否则,SMF网元可以不向UPF网元发送该第二时延信息。For example, before sending the second delay information to the UPF network element, the SMF network element may determine whether to reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow. If the SMF network element determines that the core network and the access network can reserve bandwidth resources for the flow according to the PCC rules corresponding to the flow, the SMF network element may send the second delay information to the UPF network element; otherwise, the SMF network element may not The UPF network element sends the second delay information.
例如,SMF网元可以在根据第一时延和所述第三时延确定第二时延之前,根据流对应的PCC规则确定能否为该流预留带宽资源。若SMF网元根据流对应的PCC规则确定核心网和接入网能为该流预留带宽资源,则SMF网元可以根据第一时延和所述第三时延确定第二时延,并执行后续操作;否则,SMF网元可以不根据第一时延和所述第三时延确定第二时延,以及不执行后续操作。For example, the SMF network element may determine whether to reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow before determining the second delay according to the first delay and the third delay. If the SMF network element determines that the core network and the access network can reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow, the SMF network element may determine the second delay according to the first delay and the third delay, and Perform subsequent operations; otherwise, the SMF network element may not determine the second delay based on the first delay and the third delay, and may not perform subsequent operations.
例如,SMF网元可以在根据PCC规则确定所述第三时延之前,根据流对应的PCC规则确定能否为该流预留带宽资源。若SMF网元根据流对应的PCC规则确定核心网和接入网能为该流预留带宽资源,则SMF网元可以根据PCC规则确定所述第三时延,并执行后续操作;否则,SMF网元可以不根据PCC规则确定所述第三时延,以及不执行后续操作。For example, before determining the third delay according to the PCC rule, the SMF network element may determine whether to reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow. If the SMF network element determines that the core network and the access network can reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow, the SMF network element may determine the third delay according to the PCC rule and perform subsequent operations; otherwise, the SMF The network element may not determine the third delay according to the PCC rule, and may not perform subsequent operations.
该实现方式中,SMF网元在确定能够为流预留带宽资源的情况下,才执行后续相关操作,可以提高SMF网元的执行效率。In this implementation manner, the SMF network element performs subsequent related operations only when it is determined that the bandwidth resource can be reserved for the flow, which can improve the execution efficiency of the SMF network element.
结合第二种可能的实现方式,在第三种可能的实现方式中,所述通信方法还包括:所述SMF网元向所述UPF网元发送所述流的带宽需求信息。With reference to the second possible implementation manner, in a third possible implementation manner, the communication method further includes: the SMF network element sending the bandwidth requirement information of the flow to the UPF network element.
也就是说,在SMF网元确定能够为流预留带宽资源的情况下,SMF网元可以向UPF网元发送流的带宽需求消息,以便于UPF网元根据该带宽需求信息为该流预留带宽资源,从而可以使得该流传输至UPF网元时,UPF网元上可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。In other words, when the SMF network element determines that it can reserve bandwidth resources for the flow, the SMF network element can send the flow bandwidth demand message to the UPF network element, so that the UPF network element reserves the flow according to the bandwidth demand information. Bandwidth resources, so that when the stream is transmitted to the UPF network element, the UPF network element can have corresponding bandwidth resources to transmit the stream, which can further improve the transmission reliability of the stream.
结合第二种或第三种可能的实现方式,在第四种可能的实现方式中,所述通信方法还包括:所述SMF网元向所述UE对应的接入网设备发送所述流的带宽需求信息。With reference to the second or third possible implementation manner, in a fourth possible implementation manner, the communication method further includes: the SMF network element sending the stream to the access network device corresponding to the UE Bandwidth demand information.
也就是说,在SMF网元确定能够为流预留带宽资源的情况下,SMF网元可以向为该UE服务的接入网设备发送流的带宽需求消息,以便于该接入网设备根据该带宽需求信息为该流预留带宽资源,从而可以使得接入网中可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。In other words, when the SMF network element determines that it can reserve bandwidth resources for the flow, the SMF network element may send a flow bandwidth demand message to the access network device serving the UE, so that the access network device may The bandwidth requirement information reserves bandwidth resources for the stream, so that the access network can have corresponding bandwidth resources to transmit the stream, which can further improve the transmission reliability of the stream.
应理解,该实现方式中,UE对应的接入网设备是指为UE提供接入网服务的设备。It should be understood that, in this implementation manner, the access network device corresponding to the UE refers to a device that provides access network services for the UE.
结合第四种可能的实现方式,在第五种可能的实现方式中,所述通信方法还包括:所述SMF网元从所述接入网设备接收第一信息,所述第一信息用于指示所述接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。With reference to the fourth possible implementation manner, in a fifth possible implementation manner, the communication method further includes: the SMF network element receives first information from the access network device, and the first information is used for Indicates whether the access network device successfully reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
例如,SMF网元可以在向UPF网元发送第二时延信息之前,检测是否从所述接入网设备接收了第一信息。若SMF网元接收了第一信息并且第一信息指示AN设备为流预留资源成功,则SMF网元可以向UPF网元发送第二时延信息,否则,SMF网元可以不向UPF网元发送该第二时延信息。For example, the SMF network element may detect whether the first information is received from the access network device before sending the second delay information to the UPF network element. If the SMF network element receives the first information and the first information indicates that the AN device successfully reserves resources for the stream, the SMF network element may send the second delay information to the UPF network element; otherwise, the SMF network element may not send the UPF network element Send the second delay information.
例如,SMF网元可以在根据第一时延和所述第三时延确定第二时延之前,检测是否从所述接入网设备接收了第一信息。若SMF网元接收了第一信息,则SMF网元可以根据第一时延和所述第三时延确定第二时延,并执行后续操作;否则,SMF网元可以不根据第一时延和所述第三时延确定第二时延,以及不执行后续操作。For example, the SMF network element may detect whether the first information is received from the access network device before determining the second delay according to the first delay and the third delay. If the SMF network element receives the first information, the SMF network element may determine a second delay based on the first delay and the third delay, and perform subsequent operations; otherwise, the SMF network element may not use the first delay And the third delay determines a second delay, and no subsequent operations are performed.
例如,SMF网元可以在根据PCC规则确定所述第三时延之前,检测是否从所述接入网设备接收了第一信息。若SMF网元接收了第一信息并且第一信息指示AN设备为流预留资源成功,则SMF网元可以根据PCC规则确定所述第三时延,并执行后续操作;否则,SMF网元可以不根据PCC规则确定所述第三时延,以及不执行后续操作。For example, the SMF network element may detect whether the first information is received from the access network device before determining the third delay according to a PCC rule. If the SMF network element receives the first information and the first information indicates that the AN device successfully reserves resources for the stream, the SMF network element may determine the third delay according to the PCC rule and perform subsequent operations; otherwise, the SMF network element may The third delay is not determined according to the PCC rule, and subsequent operations are not performed.
该实现方式中,SMF网元在确定接入网设备能够为流预留带宽资源成功的情况下,才执行后续相关操作,可以提高SMF网元的执行效率。In this implementation manner, the SMF network element performs subsequent related operations only after determining that the access network device can successfully reserve bandwidth resources for the flow, which can improve the execution efficiency of the SMF network element.
结合第二方面或上述任意一种可能的实现方式,在第六种可能的实现方式中,所述通信方法还包括:所述SMF网元向PCF网元发送所述流的信息,所述流的信息用于所述流的PCC规则的确定;所述SMF网元从所述PCF网元接收所述PCC规则。With reference to the second aspect or any one of the foregoing possible implementation manners, in a sixth possible implementation manner, the communication method further includes: the SMF network element sends the flow information to the PCF network element, and the flow The information is used for determining the PCC rule of the flow; the SMF network element receives the PCC rule from the PCF network element.
该实现方式中,SMF网元确定第三时延或确定UPF网元能否为流预留带宽资源所使用的PCC规则,是SMF网元从PCF网元获取的。In this implementation manner, the PCC rule used by the SMF network element to determine the third delay or to determine whether the UPF network element can reserve bandwidth resources for the flow is obtained by the SMF network element from the PCF network element.
其中,SMF网元从PCF网元获取流对应的PCC规则后,可以缓存该PCC规则。这样,下一次SMF网元需要使用该流对应的PCC规则时,可以直接从SMF网元上获取, 而不用从PCF网元获取,从而可以提高效率。The SMF network element may cache the PCC rule after obtaining the PCC rule corresponding to the flow from the PCF network element. In this way, the next time the SMF network element needs to use the PCC rule corresponding to the flow, it can be obtained directly from the SMF network element instead of from the PCF network element, which can improve efficiency.
结合第六种可能的实现方式,在第七种可能的实现方式中,所述流的信息包括以下至少一项:所述流的标识ID,所述流的源地址和目的地址,传输所述流的最大帧的大小和用于传输所述流的帧之间的间隔或所述流的优先级。With reference to the sixth possible implementation manner, in a seventh possible implementation manner, the flow information includes at least one of the following: an identification ID of the flow, a source address and a destination address of the flow, and transmitting the The size of the maximum frame of a stream and the interval between frames used to transmit the stream or the priority of the stream.
也就是说,SMF网元可以向PCF网元发送上述一种或多种信息,以便于PCF网元可以根据这一种或多种信息确定并向SMF网元返回对应的PCC规则。That is, the SMF network element can send one or more of the above information to the PCF network element, so that the PCF network element can determine and return the corresponding PCC rule to the SMF network element based on the one or more information.
第三方面,本申请提供了一种通信方法。该通信方法包括:SMF网元从UE接收流的信息;所述SMF网元根据所述流的信息和所述流的PCC规则,确定所述流从所述UE传输至用户面功能UPF网元的第三时延;所述SMF网元向所述UE发送第一时延信息,所述第一时延信息用于指示所述第三时延。In a third aspect, the present application provides a communication method. The communication method includes: an SMF network element receives flow information from a UE; and the SMF network element determines, according to the flow information and a PCC rule of the flow, that the flow is transmitted from the UE to a user plane function UPF network element A third delay; the SMF network element sends first delay information to the UE, and the first delay information is used to indicate the third delay.
该通信方法中,SMF网元根据PCC规则确定流从UE传输至UPF网元的第三时延,并向UE指示该第三时延,以使得UE可以根据该第三时延确定该流从UE传输至UPF网元的累计时延,进而可以在3GPP网络与TSN的互通的通信网络中根据该累计时延确定可以保证该流的QoS,可以传输该流。确定可以保证该流的QoS,可以传输该流。In this communication method, the SMF network element determines the third delay of the stream from the UE to the UPF network element according to the PCC rule, and indicates the third delay to the UE, so that the UE can determine the flow from the third delay according to the third delay. The cumulative delay transmitted by the UE to the UPF network element can further be used to determine the QoS of the stream can be guaranteed and the stream can be transmitted according to the cumulative delay in the communication network where the 3GPP network communicates with the TSN. It is determined that the QoS of the stream can be guaranteed, and the stream can be transmitted.
另外,SMF网元根据PCC规则确定流从UE传输至UPF网元的第三时延,并向UE指示该第三时延,以使得UE可以根据该第三时延确定该流从UE传输至UPF网元的累计时延。然而,在现有技术中,要在UE至UPF网元之间的两两相邻节点之间做时钟同步,最终实现UE至UPF网元之间所有的节点的时钟同步,从而在UPF网元至UE的所有传输节点上支持TSN网络,以计算流从UE传输至UPF网元的累计时延的方法。该通信方法与现有技术相比,方案简单,容易实现。In addition, the SMF network element determines the third delay of the flow from the UE to the UPF network element according to the PCC rule, and indicates the third delay to the UE, so that the UE can determine that the flow is transmitted from the UE to the UPF network element according to the third delay. Cumulative delay of UPF network elements. However, in the prior art, clock synchronization needs to be performed between two adjacent nodes between the UE and the UPF network element, and finally the clock synchronization of all nodes between the UE and the UPF network element is achieved, so that the UPF network element A method that supports the TSN network on all transmission nodes to the UE to calculate the cumulative delay of the stream being transmitted from the UE to the UPF network element. Compared with the prior art, the communication method has a simple scheme and is easy to implement.
可选地,第三时延可以是流从UE传输至UPF网元的最大传输时延。Optionally, the third delay may be a maximum transmission delay of the flow transmitted from the UE to the UPF network element.
其中,所述流的信息可以包括以下一项或多项:所述流的标识ID,所述流的源地址和目的地址,传输所述流的最大帧的大小和用于传输所述流的帧之间的间隔,所述流的优先级,UE确定的流从UE传输至UPF网元的时延信息。The stream information may include one or more of the following: an identification ID of the stream, a source address and a destination address of the stream, a size of a largest frame for transmitting the stream, and a The interval between frames, the priority of the flow, and the delay information transmitted by the UE from the UE to the UPF network element.
结合第三方面,在第一种可能的实现方式中,所述通信方法还包括:所述SMF网元根据所述PCC规则确定能为所述流预留带宽资源。With reference to the third aspect, in a first possible implementation manner, the communication method further includes: the SMF network element determining that the bandwidth resource can be reserved for the flow according to the PCC rule.
例如,SMF网元可以在向UE发送时延信息之前,根据流对应的PCC规则确定能否为该流预留带宽资源。若SMF网元根据流对应的PCC规则确定核心网和接入网能为该流预留带宽资源,则SMF网元可以向UE发送时延信息,否则,SMF网元可以不向UE发送该时延信息。For example, before sending delay information to the UE, the SMF network element may determine whether to reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow. If the SMF network element determines that the core network and the access network can reserve bandwidth resources for the flow according to the PCC rules corresponding to the flow, the SMF network element may send delay information to the UE; otherwise, the SMF network element may not send the time to the UE.延 信息。 Extension information.
例如,SMF网元可以在根据PCC规则确定所述第三时延之前,根据流对应的PCC规则确定能否为该流预留带宽资源。若SMF网元根据流对应的PCC规则确定核心网和接入网能为该流预留带宽资源,则SMF网元可以根据PCC规则确定所述第三时延,并执行后续操作;否则,SMF网元可以不根据PCC规则确定所述第三时延,以及不执行后续操作。For example, before determining the third delay according to the PCC rule, the SMF network element may determine whether to reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow. If the SMF network element determines that the core network and the access network can reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow, the SMF network element may determine the third delay according to the PCC rule and perform subsequent operations; otherwise, the SMF The network element may not determine the third delay according to the PCC rule, and may not perform subsequent operations.
该实现方式中,SMF网元在确定能够为流预留带宽资源的情况下,才执行后续相关操作,可以提高SMF网元的执行效率。In this implementation manner, the SMF network element performs subsequent related operations only when it is determined that the bandwidth resource can be reserved for the flow, which can improve the execution efficiency of the SMF network element.
结合第一种可能的实现方式,在第二种可能的实现方式中,所述通信方法还包括:所述SMF网元向所述UPF网元发送所述流的带宽需求信息。With reference to the first possible implementation manner, in a second possible implementation manner, the communication method further includes: the SMF network element sending the bandwidth requirement information of the flow to the UPF network element.
也就是说,在SMF网元确定能够为流预留带宽资源的情况下,SMF网元可以向UPF 网元发送流的带宽需求消息,以便于UPF网元根据该带宽需求信息为该流预留带宽资源,从而可以使得该流传输至UPF网元时,UPF网元上可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。In other words, when the SMF network element determines that it can reserve bandwidth resources for the flow, the SMF network element can send a flow bandwidth demand message to the UPF network element, so that the UPF network element reserves the flow for the flow according to the bandwidth demand information. Bandwidth resources, so that when the stream is transmitted to the UPF network element, the UPF network element can have corresponding bandwidth resources to transmit the stream, which can further improve the transmission reliability of the stream.
结合第一种或第二种可能的实现方式,在第三种可能的实现方式中,所述通信方法还包括:所述SMF网元向所述UE对应的接入网设备发送所述流的带宽需求信息。With reference to the first or second possible implementation manner, in a third possible implementation manner, the communication method further includes: the SMF network element sending the stream to the access network device corresponding to the UE Bandwidth demand information.
也就是说,在SMF网元确定能够为流预留带宽资源的情况下,SMF网元可以向为该UE服务的接入网设备发送流的带宽需求消息,以便于该接入网设备根据该带宽需求信息为该流预留带宽资源,从而可以使得接入网中可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。In other words, when the SMF network element determines that it can reserve bandwidth resources for the flow, the SMF network element may send a flow bandwidth demand message to the access network device serving the UE, so that the access network device may The bandwidth requirement information reserves bandwidth resources for the stream, so that the access network can have corresponding bandwidth resources to transmit the stream, which can further improve the transmission reliability of the stream.
应理解,该实现方式中,UE对应的接入网设备是指为UE提供接入网服务的设备。It should be understood that, in this implementation manner, the access network device corresponding to the UE refers to a device that provides access network services for the UE.
结合第三种可能的实现方式,在第四种可能的实现方式中,所述通信方法还包括:所述SMF网元从所述接入网设备接收第一信息,所述第一信息用于指示所述接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。With reference to the third possible implementation manner, in a fourth possible implementation manner, the communication method further includes: the SMF network element receives first information from the access network device, and the first information is used for Indicates whether the access network device successfully reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
例如,SMF网元可以在向UE发送时延信息之前,检测是否从所述接入网设备接收了第一信息。若SMF网元接收了第一信息并且第一信息指示AN设备为流预留资源成功,则SMF网元可以向UE发送时延信息,否则,SMF网元可以不向UE发送该时延信息。For example, the SMF network element may detect whether the first information is received from the access network device before sending the delay information to the UE. If the SMF network element receives the first information and the first information indicates that the AN device successfully reserves resources for the stream, the SMF network element may send the delay information to the UE; otherwise, the SMF network element may not send the delay information to the UE.
例如,SMF网元可以在根据PCC规则确定所述第三时延之前,检测是否从所述接入网设备接收了第一信息。若SMF网元接收了第一信息,则SMF网元可以根据PCC规则确定所述第三时延,并执行后续操作;否则,SMF网元可以不根据PCC规则确定所述第三时延,以及不执行后续操作。For example, the SMF network element may detect whether the first information is received from the access network device before determining the third delay according to a PCC rule. If the SMF network element receives the first information, the SMF network element may determine the third delay according to the PCC rule and perform subsequent operations; otherwise, the SMF network element may not determine the third delay according to the PCC rule, and No subsequent operations are performed.
该实现方式中,SMF网元在确定接入网设备能够为流预留带宽资源成功的情况下,才执行后续相关操作,可以提高SMF网元的执行效率。In this implementation manner, the SMF network element performs subsequent related operations only after determining that the access network device can successfully reserve bandwidth resources for the flow, which can improve the execution efficiency of the SMF network element.
结合第三方面或上述任意一种可能的实现方式,在第五种可能的实现方式中,所述通信方法还包括:所述SMF网元向PCF网元发送所述流的信息,所述流的信息用于所述流的PCC规则的确定;所述SMF网元从所述PCF网元接收所述PCC规则。With reference to the third aspect or any one of the foregoing possible implementation manners, in a fifth possible implementation manner, the communication method further includes: the SMF network element sends the flow information to the PCF network element, and the flow The information is used for determining the PCC rule of the flow; the SMF network element receives the PCC rule from the PCF network element.
该实现方式中,SMF网元确定第三时延或确定UPF网元能否为流预留带宽资源所使用的PCC规则,是SMF网元从PCF网元获取的。In this implementation manner, the PCC rule used by the SMF network element to determine the third delay or to determine whether the UPF network element can reserve bandwidth resources for the flow is obtained by the SMF network element from the PCF network element.
其中,SMF网元从PCF网元获取流对应的PCC规则后,可以缓存该PCC规则。这样,下一次SMF网元需要使用该流对应的PCC规则时,可以直接从SMF网元上获取,而不用从PCF网元获取,从而可以提高效率。The SMF network element may cache the PCC rule after obtaining the PCC rule corresponding to the flow from the PCF network element. In this way, the next time an SMF network element needs to use the PCC rules corresponding to the flow, it can be obtained directly from the SMF network element instead of from the PCF network element, which can improve efficiency.
结合第五种可能的实现方式,在第六种可能的实现方式中,所述流的信息包括以下至少一项:所述流的标识ID,所述流的源地址和目的地址,传输所述流的最大帧的大小和用于传输所述流的帧之间的间隔或所述流的优先级。With reference to the fifth possible implementation manner, in a sixth possible implementation manner, the flow information includes at least one of the following: an identification ID of the flow, a source address and a destination address of the flow, and transmitting the The size of the maximum frame of a stream and the interval between frames used to transmit the stream or the priority of the stream.
也就是说,SMF网元可以向PCF网元发送上述一种或多种信息,以便于PCF网元可以根据这一种或多种信息确定并向SMF网元返回对应的PCC规则。That is, the SMF network element can send one or more of the above information to the PCF network element, so that the PCF network element can determine and return the corresponding PCC rule to the SMF network element based on the one or more information.
第四方面,本申请提供了一种通信方法。该通信方法包括:UPF网元从TSN接收流的第一时延信息,所述第一时延信息用于指示所述流从所述TSN中的流服务提供者传输至所述UPF网元的第一时延;所述UPF网元向SMF网元发送所述第一时延信息,所述第一时延信息用于第二时延的确定,所述第二时延为所述流从所述TSN网络中的所述流服 务提供者传输至终端设备UE的时延;所述UPF网元从所述SMF网元接收第二时延信息,所述第二时延信息用于指示所述第二时延;所述UPF网元向所述UE发送所述第二时延信息。In a fourth aspect, the present application provides a communication method. The communication method includes: a UPF network element receives first delay information of a stream from a TSN, and the first delay information is used to indicate that the stream is transmitted from a stream service provider in the TSN to the UPF network element; A first delay; the UPF network element sends the first delay information to the SMF network element, the first delay information is used for determining a second delay, and the second delay is the flow slave A delay of transmission by the streaming service provider to a terminal device UE in the TSN network; the UPF network element receives second delay information from the SMF network element, and the second delay information is used to indicate The second delay; the UPF network element sends the second delay information to the UE.
该通信方法中,UPF网元从SMF网元获取流从UPF网元传输至UE的第二时延,并将该第二时延发送给UE,从而可以在3GPP网络与TSN的互通的通信网络中根据该第二时延传输该流。In this communication method, the UPF network element obtains a second delay from the SMF network element and transmits the second delay from the UPF network element to the UE, and sends the second delay to the UE, so that the 3GPP network can communicate with the TSN. The stream is transmitted according to the second delay.
另外,该通信方法中,确定该第二时延所使用的第三时延是由SMF网元根据该流对应的PCC规则确定的。而现有技术中,要在UPF网元至UE之间的两两相邻节点之间做时钟同步,最终实现UPF网元至UE之间所有的节点的时钟同步,以计算流从UPF网元传输至UE的累计时延。该通信方法与现有技术相比,方案简单,容易实现。In addition, in the communication method, the third delay used to determine the second delay is determined by the SMF network element according to a PCC rule corresponding to the flow. In the prior art, clock synchronization is performed between two adjacent nodes between the UPF network element and the UE, and finally the clock synchronization of all nodes between the UPF network element and the UE is performed to calculate the flow from the UPF network element. Cumulative delay transmitted to the UE. Compared with the prior art, the communication method has a simple scheme and is easy to implement.
结合第四方面,在第一种可能的实现方式中,所述通信方法包括:所述UPF网元从所述SMF网元接收所述流的带宽需求信息;所述UPF网元根据所述流的带宽需求信息为所述流预留带宽资源。With reference to the fourth aspect, in a first possible implementation manner, the communication method includes: the UPF network element receives the bandwidth requirement information of the stream from the SMF network element; the UPF network element according to the flow The bandwidth requirement information reserves bandwidth resources for the flow.
该通信方法中,UPF网元可以根据SMF网元指示的带宽需求信息为流预留带宽资源,以便于流传输至该UPF网元时,该UPF网元上有相应的带宽资源来传输该流,从而可以提高流的传输可靠性。In this communication method, the UPF network element may reserve bandwidth resources for the stream according to the bandwidth demand information indicated by the SMF network element, so that when the stream is transmitted to the UPF network element, the UPF network element has corresponding bandwidth resources to transmit the stream. , Which can improve the reliability of stream transmission.
结合第四方面或第一种可能的实现方式,在第二种可能的实现方式中,所述通信方法还包括:所述UPF网元从所述SMF网元接收第一信息,所述第一信息用于指示所述UE对应的接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。With reference to the fourth aspect or the first possible implementation manner, in a second possible implementation manner, the communication method further includes: the UPF network element receives first information from the SMF network element, and the first The information is used to indicate whether the access network device corresponding to the UE successfully reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
若UPF网元从SMF网元接收第一信息并且第一信息指示AN设备为流预留资源成功,则UPF网元可以向TSN发送第二时延信息,并通知TSN网络资源预留成功。If the UPF network element receives the first information from the SMF network element and the first information indicates that the AN device successfully reserves resources for the stream, the UPF network element may send the second delay information to the TSN and notify the TSN that the network resource reservation is successful.
第五方面,本申请提供了一种通信方法。该通信方法包括:UE向SMF网元发送流的信息,所述流的信息用于所述流从所述UE传输至UPF网元的第三时延的确定;所述UE从所述SMF网元接收第一时延信息,所述第一时延信息用于指示所述第三时延;所述UE根据所述第三时延,确定所述流从所述UE传输至所述UPF网元的目标时延;所述UE向UPF网元发送第二时延信息,所述第二时延信息用于指示所述目标时延。In a fifth aspect, the present application provides a communication method. The communication method includes: the UE sends flow information to an SMF network element, and the flow information is used to determine a third delay for the flow to be transmitted from the UE to a UPF network element; and the UE is sent from the SMF network element. Yuan receives first delay information, the first delay information is used to indicate the third delay; and the UE determines that the stream is transmitted from the UE to the UPF network according to the third delay The target delay of the element; the UE sends second delay information to the UPF network element, and the second delay information is used to indicate the target delay.
该通信方法中,UE从SMF网元获取流从UE传输至UPF网元的第三时延,并根据该第三时延来确定流从UE传输至UPF网元的的目标时延,这与在UE至UPF网元之间的两两相邻节点之间做时钟同步,最终实现UE至UPF网元之间所有的节点的时钟同步,以计算流从UE传输至UPF网元的累计时延的方法相比,方案简单,容易实现。In this communication method, the UE obtains a third delay from the SMF network element for the stream to be transmitted from the UE to the UPF network element, and determines a target delay for the stream to be transmitted from the UE to the UPF network element according to the third delay. Perform clock synchronization between two adjacent nodes between the UE and the UPF network element, and finally achieve the clock synchronization of all nodes between the UE and the UPF network element to calculate the cumulative delay of the flow from the UE to the UPF network element Compared with the method, the scheme is simple and easy to implement.
第六方面,本申请提供一种通信方法,该通信方法包括:UPF网元从TSN接收流的第一时延信息,所述第一时延信息用于指示所述流从TSN中的流服务提供者传输至所述UPF网元的第一时延;所述UPF网元向SMF网元发送流的信息,所述流的信息用于所述流从所述UPF网元传输至UE的第三时延的确定;所述UPF网元从所述SMF网元接收第三时延信息,所述第三时延信息用于指示所述第三时延;所述UPF网元根据所述第一时延和所述第三时延,确定所述流从所述TSN网络中的所述流服务提供者传输至所述UE的第二时延;所述UPF网元向所述UE发送第二时延信息,所述第二时延信息用于指示所述第二时延。According to a sixth aspect, the present application provides a communication method including: a UPF network element receiving first delay information of a stream from a TSN, the first delay information being used to indicate that the stream is from a stream service in the TSN A first delay transmitted by the provider to the UPF network element; the UPF network element sends flow information to the SMF network element, and the flow information is used for the first transmission of the flow from the UPF network element to the UE; Determination of three delays; the UPF network element receives third delay information from the SMF network element, and the third delay information is used to indicate the third delay; the UPF network element A time delay and the third time delay, determining a second time delay in which the stream is transmitted from the stream service provider in the TSN network to the UE; the UPF network element sends a first time Second delay information, where the second delay information is used to indicate the second delay.
该通信方法中,UPF网元将SMF网元确定的流从UPF网元传输至UE的第三时延作 为流从UPF网元传输至UE的累计时延,这与在UPF网元至UE之间的两两相邻节点之间做时钟同步,最终实现UPF网元至UE之间所有的节点的时钟同步,以计算流从UPF网元传输至UE的累计时延的方法相比,方案简单,容易实现。In this communication method, the UPF network element transmits the third delay of the flow determined by the SMF network element from the UPF network element to the UE as the cumulative delay of the flow transmitted from the UPF network element to the UE, which is the same as the UPF network element to the UE. The clock synchronization is performed between two adjacent nodes between the two nodes, and finally the clock synchronization between all nodes between the UPF network element and the UE is achieved. Compared with the method of calculating the cumulative delay of the flow transmitted from the UPF network element to the UE, the solution is simple. ,easy to accomplish.
可选地,该第三时延可以是流从UPF网元传输至UE的最大传输时延。Optionally, the third delay may be a maximum transmission delay of the flow transmission from the UPF network element to the UE.
结合第六方面,在第一种可能的实现方式中,所述UPF网元根据所述第一时延和所述第三时延,确定所述流从所述TSN网络中的所述流服务提供者传输至所述UE的第二时延,包括:所述UPF网元将所述第一时延与所述第三时延之和,确定为所述第二时延。With reference to the sixth aspect, in a first possible implementation manner, the UPF network element determines that the flow is served from the flow in the TSN network according to the first delay and the third delay. The second delay transmitted by the provider to the UE includes: determining, by the UPF network element, the sum of the first delay and the third delay as the second delay.
结合第六方面或第一种可能的实现方式,在第二种可能的实现方式中,所述通信方法包括:所述UPF网元从所述SMF网元接收所述流的带宽需求信息;所述UPF网元根据所述流的带宽需求信息为所述流预留带宽资源。With reference to the sixth aspect or the first possible implementation manner, in a second possible implementation manner, the communication method includes: the UPF network element receives the bandwidth requirement information of the stream from the SMF network element; The UPF network element reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
该通信方法中,UPF网元可以根据SMF网元指示的带宽需求信息为流预留带宽资源,以便于流传输至该UPF网元时,该UPF网元上有相应的带宽资源来传输该流,从而可以提高流的传输可靠性。In this communication method, the UPF network element may reserve bandwidth resources for the stream according to the bandwidth demand information indicated by the SMF network element, so that when the stream is transmitted to the UPF network element, the UPF network element has corresponding bandwidth resources to transmit the stream. , Which can improve the reliability of stream transmission.
结合第六方面或第一种或第二种可能的实现方式,在第三种可能的实现方式中,所述通信方法还包括:所述UPF网元从所述SMF网元接收第一信息,所述第一信息用于指示所述UE对应的接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。With reference to the sixth aspect or the first or second possible implementation manner, in a third possible implementation manner, the communication method further includes: the UPF network element receiving first information from the SMF network element, The first information is used to indicate whether the access network device corresponding to the UE successfully reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
若UPF网元从SMF网元接收第一信息并且第一信息指示AN设备为流预留资源成功,则UPF网元可以向TSN发送第二时延信息,并通知TSN网络资源预留成功。If the UPF network element receives the first information from the SMF network element and the first information indicates that the AN device successfully reserves resources for the stream, the UPF network element may send the second delay information to the TSN and notify the TSN that the network resource reservation is successful.
结合第六方面或上述任意一种可能的实现方式,在第四种可能的实现方式中,所述流的信息包括以下至少一项:所述流的标识ID,所述流的源地址和目的地址,传输所述流的最大帧的大小和用于传输所述流的帧之间的间隔,所述流的优先级,所述流的单个帧从Talker传输到Listener的最大允许时延或所述流的可靠性需求。With reference to the sixth aspect or any one of the foregoing possible implementation manners, in a fourth possible implementation manner, the flow information includes at least one of the following: an identification ID of the flow, a source address and a destination of the flow Address, the size of the maximum frame that transmits the stream and the interval between the frames used to transmit the stream, the priority of the stream, the maximum allowable delay in transmitting a single frame of the stream from the Talker to the Listener, or Reliability requirements for flow.
第七方面,本申请提供了一种通信装置。该通信装置包括接收模块、处理模块和发送模块,并且,通过所述接收模块从UPF网元接收流的第一时延信息,所述第一时延信息用于指示所述流从TSN中的流服务提供者传输至所述UPF网元的第一时延;通过所述处理模块根据所述流的PCC规则确定所述流从所述UPF网元传输至UE的第三时延;通过所述处理模块根据所述第一时延和所述第三时延,确定所述流从所述TSN中的所述流服务提供者传输至所述UE的第二时延;通过所述发送模块向所述UPF网元发送第二时延信息,所述第二时延信息用于指示所述第二时延。In a seventh aspect, the present application provides a communication device. The communication device includes a receiving module, a processing module, and a sending module, and receives first delay information of a stream from a UPF network element through the receiving module, where the first delay information is used to indicate that the stream is from a TSN. A first delay of transmission by the stream service provider to the UPF network element; a third delay of transmission of the stream from the UPF network element to the UE by the processing module according to the PCC rule of the flow; The processing module determines a second delay for transmitting the stream from the stream service provider in the TSN to the UE according to the first delay and the third delay; through the sending module Sending second delay information to the UPF network element, where the second delay information is used to indicate the second delay.
该通信装置根据PCC规则确定流从UPF网元传输至UE的第三时延,并将该第三时延作为流从UPF网元传输至UE的累计时延,以使该通信装置可以根据该第三时延流和该流从TSN中的流提供者传输至UPF网元的第一时延确定该流从TSN中的流服务提供者传输至UE的第二时延,进而可以在3GPP网络与TSN的互通的通信网络中根据该第二时延确定可以保证该流的QoS,可以传输该流。The communication device determines a third delay of the flow transmission from the UPF network element to the UE according to the PCC rule, and uses the third delay as a cumulative delay of the flow transmission from the UPF network element to the UE, so that the communication device can The third delay stream and the first delay in transmitting the stream from the stream provider in the TSN to the UPF network element determine the second delay in transmitting the stream from the stream service provider in the TSN to the UE. In the communication network with the TSN, it is determined according to the second delay that the QoS of the stream can be guaranteed, and the stream can be transmitted.
另外,该通信装置将根据PCC规则确定流从UPF网元传输至UE的第三时延作为流从UPF网元传输至UE的累计时延。而现有技术中,需要在UPF网元至UE之间的两两相邻节点之间做时钟同步,最终实现UPF网元至UE之间所有的节点的时钟同步,从而在UPF网元至UE的所有传输节点上支持TSN网络,以计算流从UPF网元传输至UE的累计时延。该通信装置与现有技术相比,方案简单,容易实现。In addition, the communication device determines, according to the PCC rule, a third delay in which the stream is transmitted from the UPF network element to the UE as a cumulative delay in which the stream is transmitted from the UPF network element to the UE. In the prior art, clock synchronization needs to be performed between two adjacent nodes between the UPF network element and the UE, and finally the clock synchronization of all nodes between the UPF network element and the UE is achieved, so that the UPF network element to the UE The TSN network is supported on all transmission nodes to calculate the cumulative delay of the flow from the UPF network element to the UE. Compared with the prior art, the communication device has a simple solution and is easy to implement.
其中,第三时延可以是流从UPF网元传输至UE的最大传输时延。The third delay may be a maximum transmission delay of a stream transmitted from the UPF network element to the UE.
结合七方面,在第一种可能的实现方式中,具体通过所述处理模块将所述第一时延与所述第三时延之和,确定为所述第二时延。With reference to the seven aspects, in a first possible implementation manner, the sum of the first delay and the third delay is specifically determined by the processing module as the second delay.
结合第七方面或第一种可能的实现方式,在第二种可能的实现方式中,通过所述处理模块根据所述PCC规则确定能为所述流预留带宽资源。With reference to the seventh aspect or the first possible implementation manner, in a second possible implementation manner, it is determined by the processing module according to the PCC rule that a bandwidth resource can be reserved for the flow.
例如,该通信装置可以在向UPF网元发送第二时延信息之前,根据流对应的PCC规则确定核心网和接入网为该流预留带宽资源。若该通信装置根据流对应的PCC规则确定能为该流预留带宽资源,则该通信装置可以向UPF网元发送第二时延信息,否则,该通信装置可以不向UPF网元发送该第二时延信息。For example, before sending the second delay information to the UPF network element, the communication device may determine that the core network and the access network reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow. If the communication device determines that it can reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow, the communication device may send the second delay information to the UPF network element; otherwise, the communication device may not send the second delay information to the UPF network element. Two delay information.
例如,该通信装置可以在根据第一时延和所述第三时延确定第二时延之前,根据流对应的PCC规则确定能否为该流预留带宽资源。若该通信装置根据流对应的PCC规则确定核心网和接入网能为该流预留带宽资源,则该通信装置可以根据第一时延和所述第三时延确定第二时延,并执行后续操作;否则,该通信装置可以不根据第一时延和所述第三时延确定第二时延,以及不执行后续操作。For example, before determining the second delay according to the first delay and the third delay, the communication device may determine whether to reserve bandwidth resources for the flow according to a PCC rule corresponding to the flow. If the communication device determines that the core network and the access network can reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow, the communication device may determine a second delay according to the first delay and the third delay, and Perform subsequent operations; otherwise, the communication device may not determine the second delay according to the first delay and the third delay, and may not perform subsequent operations.
例如,该通信装置可以在根据PCC规则确定所述第三时延之前,根据流对应的PCC规则确定能否为该流预留带宽资源。若该通信装置根据流对应的PCC规则确定核心网和接入网能为该流预留带宽资源,则该通信装置可以根据PCC规则确定所述第三时延,并执行后续操作;否则,该通信装置可以不根据PCC规则确定所述第三时延,以及不执行后续操作。For example, before determining the third delay according to the PCC rule, the communication device may determine whether to reserve bandwidth resources for the stream according to the PCC rule corresponding to the stream. If the communication device determines that the core network and the access network can reserve bandwidth resources for the flow according to the PCC rules corresponding to the flow, the communication device may determine the third delay according to the PCC rules and perform subsequent operations; otherwise, the The communication device may not determine the third delay according to the PCC rule, and may not perform subsequent operations.
该通信装置在确定能够为流预留带宽资源的情况下,才执行后续相关操作,可以提高该通信装置的执行效率。The communication device performs subsequent related operations only when it is determined that the bandwidth resource can be reserved for the flow, which can improve the execution efficiency of the communication device.
当然,该通信装置也可以在向UPF网元发送第二时延信息之后,才确定能否为流预留带宽资源,本申请对此并不限制。Of course, the communication device may also determine whether to reserve bandwidth resources for the stream after sending the second delay information to the UPF network element, which is not limited in this application.
结合第七方面或第一种或第二种可能的实现方式,在第三种可能的实现方式中,通过所述发送模块向所述UPF网元发送所述流的带宽需求信息。With reference to the seventh aspect or the first or second possible implementation manner, in a third possible implementation manner, the sending module sends the bandwidth requirement information of the flow to the UPF network element.
该通信装置向UPF网元发送流的带宽需求消息,以便于UPF网元根据该带宽需求信息为该流预留带宽资源,从而可以使得该流传输至UPF网元时,UPF网元上可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。The communication device sends a bandwidth demand message of a flow to a UPF network element, so that the UPF network element reserves bandwidth resources for the flow according to the bandwidth demand information, so that when the flow is transmitted to the UPF network element, the UPF network element may have Corresponding bandwidth resources are used to transmit the stream, which can further improve the transmission reliability of the stream.
可选地,该通信装置可以在确定能够为流预留带宽资源的情况下,才向UPF网元发送流的带宽需求消息。Optionally, the communication device may send the bandwidth demand message of the flow to the UPF network element only after determining that the bandwidth resource can be reserved for the flow.
结合第七方面或上述任意一种可能的实现方式,在第四种可能的实现方式中,通过所述发送模块向所述UE对应的接入网设备发送所述流的带宽需求信息。With reference to the seventh aspect or any one of the foregoing possible implementation manners, in a fourth possible implementation manner, the sending module sends the bandwidth requirement information of the flow to an access network device corresponding to the UE.
该接入网设备根据该带宽需求信息为该流预留带宽资源,从而可以接入网中可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。The access network device reserves bandwidth resources for the stream according to the bandwidth demand information, so that the access network can have corresponding bandwidth resources to transmit the stream, thereby improving the transmission reliability of the stream.
应理解,该实现方式中,UE对应的接入网设备是指为UE提供接入网服务的设备。It should be understood that, in this implementation manner, the access network device corresponding to the UE refers to a device that provides access network services for the UE.
可选地,该通信装置可以在确定能够为流预留带宽资源的情况下,才向为该UE服务的接入网设备发送流的带宽需求消息。Optionally, the communication apparatus may send the bandwidth demand message of the flow to the access network device serving the UE only when it is determined that the bandwidth resource can be reserved for the flow.
结合第四种可能的实现方式,在第五种可能的实现方式中,通过所述接收模块从所述接入网设备接收第一信息,所述第一信息用于指示所述接入网设备根据所述流的带宽需求 信息为所述流预留带宽资源是否成功。With reference to the fourth possible implementation manner, in a fifth possible implementation manner, first information is received from the access network device through the receiving module, and the first information is used to indicate the access network device Whether the bandwidth resource reservation for the flow is successful according to the bandwidth requirement information of the flow.
例如,该通信装置可以在向UPF网元发送第二时延信息之前,检测是否从所述接入网设备接收了第一信息。若该通信装置接收了第一信息并且第一信息指示AN设备为流预留资源成功,则该通信装置可以向UPF网元发送第二时延信息,否则,该通信装置可以不向UPF网元发送该第二时延信息。For example, the communication apparatus may detect whether the first information is received from the access network device before sending the second delay information to the UPF network element. If the communication device receives the first information and the first information indicates that the AN device successfully reserves resources for the stream, the communication device may send the second delay information to the UPF network element; otherwise, the communication device may not send the UPF network element Send the second delay information.
例如,该通信装置网元可以在根据第一时延和所述第三时延确定第二时延之前,检测是否从所述接入网设备接收了第一信息。若该通信装置接收了第一信息,则该通信装置可以根据第一时延和所述第三时延确定第二时延,并执行后续操作;否则,该通信装置可以不根据第一时延和所述第三时延确定第二时延,以及不执行后续操作。For example, the communication device network element may detect whether the first information is received from the access network device before determining the second delay according to the first delay and the third delay. If the communication device receives the first information, the communication device may determine a second delay according to the first delay and the third delay, and perform subsequent operations; otherwise, the communication device may not use the first delay And the third delay determines a second delay, and no subsequent operations are performed.
例如,该通信装置可以在根据PCC规则确定所述第三时延之前,检测是否从所述接入网设备接收了第一信息。若该通信装置接收了第一信息,则该通信装置可以根据PCC规则确定所述第三时延,并执行后续操作;否则,该通信装置可以不根据PCC规则确定所述第三时延,以及不执行后续操作。For example, the communication apparatus may detect whether the first information is received from the access network device before determining the third delay according to a PCC rule. If the communication device receives the first information, the communication device may determine the third delay according to the PCC rule and perform subsequent operations; otherwise, the communication device may not determine the third delay according to the PCC rule, and No subsequent operations are performed.
该通信装置在确定接入网设备能够为流预留带宽资源成功的情况下,才执行后续相关操作,可以提高该通信装置的执行效率。The communication device performs subsequent related operations only after determining that the access network device can successfully reserve bandwidth resources for the flow, which can improve the execution efficiency of the communication device.
当然,该通信装置也可以是在向UPF网元发送第二时延信息之后才从接入网设备接收第一信息,本申请对此并不限制。Of course, the communication device may also receive the first information from the access network device after sending the second delay information to the UPF network element, which is not limited in this application.
结合第七方面或上述任意一种可能的实现方式,在第六种可能的实现方式中,通过所述发送模块向PCF网元发送所述流的信息,所述流的信息用于所述流的PCC规则的确定;通过所述接收模块从所述PCF网元接收所述PCC规则。With reference to the seventh aspect or any one of the foregoing possible implementation manners, in a sixth possible implementation manner, information about the stream is sent to a PCF network element through the sending module, and the stream information is used for the stream The determination of the PCC rules; receiving the PCC rules from the PCF network element through the receiving module.
该实现方式中,该通信装置确定第三时延或确定UPF网元能否为流预留带宽资源所使用的PCC规则,是该通信装置从PCF网元获取的。In this implementation manner, the PCC rule used by the communication device to determine the third delay or to determine whether the UPF network element can reserve bandwidth resources for the flow is obtained by the communication device from the PCF network element.
其中,该通信装置从PCF网元获取流对应的PCC规则后,可以缓存该PCC规则。这样,下一次该通信装置需要使用该流对应的PCC规则时,可以直接从该通信装置上获取,而不用从PCF网元获取,从而可以提高效率。Wherein, after the communication device obtains the PCC rule corresponding to the flow from the PCF network element, the communication device may cache the PCC rule. In this way, the next time the communication device needs to use the PCC rules corresponding to the stream, it can be obtained directly from the communication device, rather than from the PCF network element, thereby improving efficiency.
结合第六种可能的实现方式,在第七种可能的实现方式中,所述流的信息包括以下至少一项:所述流的标识ID,所述流的源地址和目的地址,传输所述流的最大帧的大小和用于传输所述流的帧之间的间隔,所述流的优先级,所述流的单个帧从Talker传输到Listener的最大允许时延或所述流的可靠性需求。With reference to the sixth possible implementation manner, in a seventh possible implementation manner, the flow information includes at least one of the following: an identification ID of the flow, a source address and a destination address of the flow, and transmitting the The size of the maximum frame of a stream and the interval between frames used to transmit the stream, the priority of the stream, the maximum allowable delay for a single frame of the stream from the Talker to the Listener, or the reliability of the stream demand.
也就是说,该通信装置可以向PCF网元发送上述一种或多种信息,以便于PCF网元可以根据这一种或多种信息确定并向SMF网元返回对应的PCC规则。That is, the communication device may send one or more types of information to the PCF network element, so that the PCF network element may determine and return the corresponding PCC rule to the SMF network element according to the one or more types of information.
第七方面中的通信装置包括的各个模块可以通过软件和/或硬件方式实现。Each module included in the communication apparatus in the seventh aspect may be implemented by software and / or hardware.
例如,所述接收模块可以是接收器,所述发送模块可以是发送器,所述处理模块可以是处理器,其中,接收器和发送器可以集成在一起,称为收发器。这种情况下,该通信装置可以是SMF网元。For example, the receiving module may be a receiver, the transmitting module may be a transmitter, and the processing module may be a processor, wherein the receiver and the transmitter may be integrated together, which is called a transceiver. In this case, the communication device may be an SMF network element.
又如,该处理模块可以是处理器,该接收模块和发送模块可以是通信接口。这种情况下,该通信装置可以是芯片,例如,可以是能够集成在SMF网元中的芯片。As another example, the processing module may be a processor, and the receiving module and the sending module may be communication interfaces. In this case, the communication device may be a chip, for example, a chip capable of being integrated in an SMF network element.
可选地,该通信装置还可以包括存储器,用于存储处理器执行的程序代码。Optionally, the communication device may further include a memory for storing program code executed by the processor.
第八方面,本申请提供了一种通信装置。该通信装置包括接收模块、处理模块和发送 模块;并且,通过接收模块从UE接收流的第一时延信息,所述第一时延信息用于指示第一时延;通过处理模块根据所述流的PCC规则确定所述流从所述UE传输至UPF网元的第三时延;通过处理模块根据所述第一时延和所述第三时延,确定所述流从所述UE传输至所述UPF网元的第二时延;通过发送模块向所述UPF网元发送第二时延信息,所述第二时延信息用于指示所述第二时延。In an eighth aspect, the present application provides a communication device. The communication device includes a receiving module, a processing module, and a sending module; and, receiving the first delay information of the stream from the UE through the receiving module, where the first delay information is used to indicate the first delay; The PCC rule of the flow determines a third delay in which the flow is transmitted from the UE to the UPF network element; and the processing module determines the flow to be transmitted from the UE according to the first delay and the third delay. A second delay to the UPF network element; and sending second delay information to the UPF network element through a sending module, where the second delay information is used to indicate the second delay.
该通信装置从UE接收第一时延信息,并根据第一时延信息获知由UE确定的、流从UE传输至UPF网元的第一时延,此外,该通信装置根据PCC规则确定流从UE传输至UPF网元的第三时延,然后对UE确定的第一时延和该通信装置确定的第三时延进行调整,从而可以得到流从UE传输至UPF网元的第二时延,进而可以在3GPP网络与TSN的互通的通信网络中根据该第二时延确定可以保证该流的QoS,可以传输该流。The communication device receives first delay information from the UE, and learns the first delay determined by the UE and the stream is transmitted from the UE to the UPF network element according to the first delay information. In addition, the communication device determines the flow delay from the PCC rule. The third delay transmitted by the UE to the UPF network element, and then adjusting the first delay determined by the UE and the third delay determined by the communication device, so as to obtain the second delay of the stream transmitted from the UE to the UPF network element , And further, it can be determined that the QoS of the stream can be guaranteed and the stream can be transmitted according to the second delay in the interworking communication network between the 3GPP network and the TSN.
另外,该通信装置根据流从UE传输至UPF网元的第三时延和UE确定的第一时延确定流从UE传输至UPF网元的累计时延。而现有技术中,需要在UE至UPF网元之间的两两相邻节点之间做时钟同步,最终实现UE至UPF网元之间所有的节点的时钟同步,从而在UPF网元至UE的所有传输节点上支持TSN网络,以计算流从UE传输至UPF网元的累计时延。该通信装置与现有技术相比,方案简单,容易实现。In addition, the communication device determines the cumulative delay of the stream from the UE to the UPF network element according to the third delay of the stream being transmitted from the UE to the UPF network element and the first delay determined by the UE. In the prior art, clock synchronization needs to be performed between two adjacent nodes between the UE and the UPF network element, and finally the clock synchronization of all nodes between the UE and the UPF network element is achieved, so that the UPF network element reaches the UE. The TSN network is supported on all transmission nodes in order to calculate the cumulative delay of the stream transmission from the UE to the UPF network element. Compared with the prior art, the communication device has a simple solution and is easy to implement.
可选地,第三时延可以是流从UE传输至UPF网元的最大传输时延。Optionally, the third delay may be a maximum transmission delay of the flow transmitted from the UE to the UPF network element.
结合第八方面,在第一种可能的实现方式中,具体通过所述处理模块将所述第一时延与所述第三时延相加,并减去所述流从所述UE传输至所述UPF网元的传输时延的默认值所得到的值,确定为所述第二时延。With reference to the eighth aspect, in a first possible implementation manner, specifically adding the first delay and the third delay through the processing module, and subtracting the stream from the UE transmitting to The value obtained by using the default value of the transmission delay of the UPF network element is determined as the second delay.
其中,流从所述UE传输至所述UPF网元的传输时延的默认值的一种示例为500纳秒(nm)。也就是说,可以将所述第一时延与所述第三时延相加,并减去500nm所得到的值,确定为所述第二时延。An example of a default value of a transmission delay of a stream transmitted from the UE to the UPF network element is 500 nanoseconds (nm). That is, the first delay may be added to the third delay, and a value obtained by subtracting 500 nm may be determined as the second delay.
结合第八方面或第一种可能的实现方式,在第二种可能的实现方式中,通过所述处理模块根据所述PCC规则确定能为所述流预留带宽资源。With reference to the eighth aspect or the first possible implementation manner, in a second possible implementation manner, it is determined by the processing module according to the PCC rule that a bandwidth resource can be reserved for the flow.
例如,该通信装置可以在向UPF网元发送第二时延信息之前,根据流对应的PCC规则确定能否为该流预留带宽资源。若该通信装置根据流对应的PCC规则确定核心网和接入网能为该流预留带宽资源,则该通信装置可以向UPF网元发送第二时延信息,否则,该通信装置可以不向UPF网元发送该第二时延信息。For example, before sending the second delay information to the UPF network element, the communication device may determine whether to reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow. If the communication device determines that the core network and the access network can reserve bandwidth resources for the flow according to the PCC rules corresponding to the flow, the communication device may send the second delay information to the UPF network element; otherwise, the communication device may not The UPF network element sends the second delay information.
例如,该通信装置可以在根据第一时延和所述第三时延确定第二时延之前,根据流对应的PCC规则确定能否为该流预留带宽资源。若该通信装置根据流对应的PCC规则确定核心网和接入网能为该流预留带宽资源,则该通信装置可以根据第一时延和所述第三时延确定第二时延,并执行后续操作;否则,该通信装置可以不根据第一时延和所述第三时延确定第二时延,以及不执行后续操作。For example, before determining the second delay according to the first delay and the third delay, the communication device may determine whether to reserve bandwidth resources for the flow according to a PCC rule corresponding to the flow. If the communication device determines that the core network and the access network can reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow, the communication device may determine a second delay according to the first delay and the third delay, and Perform subsequent operations; otherwise, the communication device may not determine the second delay according to the first delay and the third delay, and may not perform subsequent operations.
例如,该通信装置可以在根据PCC规则确定所述第三时延之前,根据流对应的PCC规则确能否为该流预留带宽资源。若该通信装置根据流对应的PCC规则确定核心网和接入网能为该流预留带宽资源,则该通信装置可以根据PCC规则确定所述第三时延,并执行后续操作;否则,该通信装置可以不根据PCC规则确定所述第三时延,以及不执行后续操作。For example, before determining the third delay according to the PCC rule, the communication device can determine whether to reserve bandwidth resources for the stream according to the PCC rule corresponding to the stream. If the communication device determines that the core network and the access network can reserve bandwidth resources for the flow according to the PCC rules corresponding to the flow, the communication device may determine the third delay according to the PCC rules and perform subsequent operations; otherwise, the The communication device may not determine the third delay according to the PCC rule, and may not perform subsequent operations.
该实现方式中,该通信装置在确定能够为流预留带宽资源的情况下,才执行后续相关 操作,可以提高该通信装置的执行效率。In this implementation manner, the communication device performs subsequent related operations only when it is determined that the bandwidth resources can be reserved for the flow, which can improve the execution efficiency of the communication device.
结合第二种可能的实现方式,在第三种可能的实现方式中,通过所述发送模块向所述UPF网元发送所述流的带宽需求信息。With reference to the second possible implementation manner, in a third possible implementation manner, the bandwidth requirement information of the flow is sent to the UPF network element through the sending module.
也就是说,该通信装置确定能够为流预留带宽资源的情况下,可以向UPF网元发送流的带宽需求消息,以便于UPF网元根据该带宽需求信息为该流预留带宽资源,从而可以使得该流传输至UPF网元时,UPF网元上可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。In other words, if the communication device determines that the bandwidth resource can be reserved for the flow, the communication device can send a bandwidth demand message of the flow to the UPF network element, so that the UPF network element reserves the bandwidth resource for the flow according to the bandwidth demand information, thereby When the stream is transmitted to the UPF network element, the UPF network element can have corresponding bandwidth resources to transmit the stream, which can further improve the transmission reliability of the stream.
结合第二种或第三种可能的实现方式,在第四种可能的实现方式中,通过所述发送模块向所述UE对应的接入网设备发送所述流的带宽需求信息。With reference to the second or third possible implementation manner, in a fourth possible implementation manner, the bandwidth requirement information of the flow is sent to the access network device corresponding to the UE through the sending module.
也就是说,在该通信装置确定能够为流预留带宽资源的情况下,该通信装置可以向为该UE服务的接入网设备发送流的带宽需求消息,以便于该接入网设备根据该带宽需求信息为该流预留带宽资源,从而可以使得接入网中可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。That is, in a case where the communication apparatus determines that a bandwidth resource can be reserved for a stream, the communication apparatus may send a stream bandwidth requirement message to an access network device serving the UE, so that the access network device may The bandwidth requirement information reserves bandwidth resources for the stream, so that the access network can have corresponding bandwidth resources to transmit the stream, which can further improve the transmission reliability of the stream.
应理解,该实现方式中,UE对应的接入网设备是指为UE提供接入网服务的设备。It should be understood that, in this implementation manner, the access network device corresponding to the UE refers to a device that provides access network services for the UE.
结合第四种可能的实现方式,在第五种可能的实现方式中,通过所述接收模块从所述接入网设备接收第一信息,所述第一信息用于指示所述接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。With reference to the fourth possible implementation manner, in a fifth possible implementation manner, first information is received from the access network device through the receiving module, and the first information is used to indicate the access network device Whether the bandwidth resource reservation for the flow is successful according to the bandwidth requirement information of the flow.
例如,该通信装置可以在向UPF网元发送第二时延信息之前,检测是否从所述接入网设备接收了第一信息。若该通信装置接收了第一信息并且第一信息指示AN设备为流预留资源成功,则该通信装置可以向UPF网元发送第二时延信息,否则,该通信装置可以不向UPF网元发送该第二时延信息。For example, the communication apparatus may detect whether the first information is received from the access network device before sending the second delay information to the UPF network element. If the communication device receives the first information and the first information indicates that the AN device successfully reserves resources for the stream, the communication device may send the second delay information to the UPF network element; otherwise, the communication device may not send the UPF network element Send the second delay information.
例如,该通信装置可以在根据第一时延和所述第三时延确定第二时延之前,检测是否从所述接入网设备接收了第一信息。若该通信装置接收了第一信息,则该通信装置可以根据第一时延和所述第三时延确定第二时延,并执行后续操作;否则,该通信装置可以不根据第一时延和所述第三时延确定第二时延,以及不执行后续操作。For example, the communication apparatus may detect whether the first information is received from the access network device before determining the second delay according to the first delay and the third delay. If the communication device receives the first information, the communication device may determine a second delay according to the first delay and the third delay, and perform subsequent operations; otherwise, the communication device may not use the first delay And the third delay determines a second delay, and no subsequent operations are performed.
例如,该通信装置可以在根据PCC规则确定所述第三时延之前,检测是否从所述接入网设备接收了第一信息。若该通信装置接收了第一信息,则该通信装置可以根据PCC规则确定所述第三时延,并执行后续操作;否则,该通信装置可以不根据PCC规则确定所述第三时延,以及不执行后续操作。For example, the communication apparatus may detect whether the first information is received from the access network device before determining the third delay according to a PCC rule. If the communication device receives the first information, the communication device may determine the third delay according to the PCC rule and perform subsequent operations; otherwise, the communication device may not determine the third delay according to the PCC rule, and No subsequent operations are performed.
该实现方式中,该通信装置在确定接入网设备能够为流预留带宽资源成功的情况下,才执行后续相关操作,可以提高SMF网元的执行效率。In this implementation manner, the communication device performs subsequent related operations only after determining that the access network device can successfully reserve bandwidth resources for the flow, which can improve the execution efficiency of the SMF network element.
结合第八方面或上述任意一种可能的实现方式,在第六种可能的实现方式中,通过所发送模块向PCF网元发送所述流的信息,所述流的信息用于所述流的PCC规则的确定;所述SMF网元从所述PCF网元接收所述PCC规则。With reference to the eighth aspect or any one of the foregoing possible implementation manners, in a sixth possible implementation manner, information about the flow is sent to a PCF network element through a sending module, and the flow information is used for the flow. Determination of a PCC rule; the SMF network element receives the PCC rule from the PCF network element.
该实现方式中,该通信装置确定第三时延或确定UPF网元能否为流预留带宽资源所使用的PCC规则,是该通信装置从PCF网元获取的。In this implementation manner, the PCC rule used by the communication device to determine the third delay or to determine whether the UPF network element can reserve bandwidth resources for the flow is obtained by the communication device from the PCF network element.
其中,该通信装置从PCF网元获取流对应的PCC规则后,可以缓存该PCC规则。这样,下一次该通信装置需要使用该流对应的PCC规则时,可以直接从该通信装置上获取,而不用从PCF网元获取,从而可以提高效率。Wherein, after the communication device obtains the PCC rule corresponding to the flow from the PCF network element, the communication device may cache the PCC rule. In this way, the next time the communication device needs to use the PCC rules corresponding to the stream, it can be obtained directly from the communication device, rather than from the PCF network element, thereby improving efficiency.
结合第六种可能的实现方式,在第七种可能的实现方式中,所述流的信息包括以下至少一项:所述流的标识ID,所述流的源地址和目的地址,传输所述流的最大帧的大小和用于传输所述流的帧之间的间隔或所述流的优先级。With reference to the sixth possible implementation manner, in a seventh possible implementation manner, the flow information includes at least one of the following: an identification ID of the flow, a source address and a destination address of the flow, and transmitting the The size of the maximum frame of a stream and the interval between frames used to transmit the stream or the priority of the stream.
也就是说,该通信装置可以向PCF网元发送上述一种或多种信息,以便于PCF网元可以根据这一种或多种信息确定并向该通信装置返回对应的PCC规则。That is, the communication device may send the one or more types of information to the PCF network element, so that the PCF network element may determine and return the corresponding PCC rule to the communication device according to the one or more types of information.
第八方面中的通信装置包括的各个模块可以通过软件和/或硬件方式实现。Each module included in the communication device in the eighth aspect may be implemented by software and / or hardware.
例如,所述接收模块可以是接收器,所述发送模块可以是发送器,所述处理模块可以是处理器,其中,接收器和发送器可以集成在一起,称为收发器。这种情况下,该通信装置可以是SMF网元。For example, the receiving module may be a receiver, the transmitting module may be a transmitter, and the processing module may be a processor, wherein the receiver and the transmitter may be integrated together, which is called a transceiver. In this case, the communication device may be an SMF network element.
又如,该处理模块可以是处理器,该接收模块和发送模块可以是通信接口。这种情况下,该通信装置可以是芯片,例如,可以是能够集成在SMF网元中的芯片。As another example, the processing module may be a processor, and the receiving module and the sending module may be communication interfaces. In this case, the communication device may be a chip, for example, a chip capable of being integrated in an SMF network element.
可选地,该通信装置还可以包括存储器,用于存储处理器执行的程序代码。Optionally, the communication device may further include a memory for storing program code executed by the processor.
第九方面,本申请提供了一种通信装置。该通信装置包括接收模块,处理模块和发送模块;并且,通过接收模块从UE接收流的信息;通过所述处理模块根据所述流的信息和所述流的PCC规则,确定所述流从所述UE传输至用户面功能UPF网元的第三时延;通过所述发送模块向所述UE发送第一时延信息,所述第一时延信息用于指示所述第三时延。In a ninth aspect, the present application provides a communication device. The communication device includes a receiving module, a processing module, and a sending module; and, receiving the flow information from the UE through the receiving module; and determining, by the processing module, the flow from The third delay transmitted by the UE to the user plane function UPF network element is sent to the UE through the sending module, and the first delay information is used to indicate the third delay.
该通信装置根据PCC规则确定流从UE传输至UPF网元的第三时延,并向UE指示该第三时延,以使得UE可以根据该第三时延确定该流从UE传输至UPF网元的累计时延,进而可以在3GPP网络与TSN的互通的通信网络中根据该累计时延确定可以保证该流的QoS,可以传输该流。确定可以保证该流的QoS,可以传输该流。The communication device determines a third delay of the flow from the UE to the UPF network element according to the PCC rule, and indicates the third delay to the UE, so that the UE can determine that the flow is transmitted from the UE to the UPF network according to the third delay. The cumulative delay of the element can be further determined based on the cumulative delay in the communication network of the 3GPP network and the TSN interworking. The QoS of the stream can be guaranteed and the stream can be transmitted. It is determined that the QoS of the stream can be guaranteed, and the stream can be transmitted.
另外,该通信装置根据PCC规则确定流从UE传输至UPF网元的第三时延,并向UE指示该第三时延,以使得UE可以根据该第三时延确定该流从UE传输至UPF网元的累计时延。而现有技术需要在UE至UPF网元之间的两两相邻节点之间做时钟同步,最终实现UE至UPF网元之间所有的节点的时钟同步,从而在UPF网元至UE的所有传输节点上支持TSN网络,以计算流从UE传输至UPF网元的累计时延。该通信装置与现有技术相比,方案简单,容易实现。In addition, the communication device determines a third delay in transmitting the stream from the UE to the UPF network element according to the PCC rule, and indicates the third delay to the UE, so that the UE can determine that the stream is transmitted from the UE to the UPF network element according to the third delay. Cumulative delay of UPF network elements. However, in the prior art, clock synchronization needs to be performed between two adjacent nodes between the UE and the UPF network element, and finally the clock synchronization of all nodes between the UE and the UPF network element is achieved, so that all the signals from the UPF network element to the UE are synchronized. The TSN network is supported on the transmission node to calculate the cumulative delay of the stream from the UE to the UPF network element. Compared with the prior art, the communication device has a simple solution and is easy to implement.
可选地,第三时延可以是流从UE传输至UPF网元的最大传输时延。Optionally, the third delay may be a maximum transmission delay of the flow transmitted from the UE to the UPF network element.
其中,所述流的信息可以包括以下一项或多项:所述流的标识ID,所述流的源地址和目的地址,传输所述流的最大帧的大小和用于传输所述流的帧之间的间隔,所述流的优先级,UE确定的流从UE传输至UPF网元的时延信息。The stream information may include one or more of the following: an identification ID of the stream, a source address and a destination address of the stream, a size of a largest frame for transmitting the stream, and a The interval between frames, the priority of the flow, and the delay information transmitted by the UE from the UE to the UPF network element.
结合第九方面,在第一种可能的实现方式中,通过所述处理模块根据所述PCC规则确定能为所述流预留带宽资源。With reference to the ninth aspect, in a first possible implementation manner, the processing module determines that a bandwidth resource can be reserved for the flow according to the PCC rule.
例如,该通信装置可以在向UE发送时延信息之前,根据流对应的PCC规则确定能否为该流预留带宽资源。若该通信装置根据流对应的PCC规则确定核心网和接入网能为该流预留带宽资源,则该通信装置可以向UE发送时延信息,否则,该通信装置可以不向UE发送该时延信息。For example, before sending the delay information to the UE, the communication device may determine whether to reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow. If the communication device determines that the core network and the access network can reserve bandwidth resources for the flow according to the PCC rules corresponding to the flow, the communication device may send delay information to the UE; otherwise, the communication device may not send the time to the UE.延 信息。 Extension information.
例如,该通信装置可以在根据PCC规则确定所述第三时延之前,根据流对应的PCC规则确定能否为该流预留带宽资源。若该通信装置根据流对应的PCC规则确定核心网和接入网能为该流预留带宽资源,则该通信装置可以根据PCC规则确定所述第三时延,并 执行后续操作;否则,该通信装置可以不根据PCC规则确定所述第三时延,以及不执行后续操作。For example, before determining the third delay according to the PCC rule, the communication device may determine whether to reserve bandwidth resources for the stream according to the PCC rule corresponding to the stream. If the communication device determines that the core network and the access network can reserve bandwidth resources for the flow according to the PCC rules corresponding to the flow, the communication device may determine the third delay according to the PCC rules and perform subsequent operations; otherwise, the The communication device may not determine the third delay according to the PCC rule, and may not perform subsequent operations.
该实现方式中,该通信装置在确定能够为流预留带宽资源的情况下,才执行后续相关操作,可以提高该通信装置的执行效率。In this implementation manner, the communication device executes subsequent related operations only when it is determined that the bandwidth resource can be reserved for the stream, which can improve the execution efficiency of the communication device.
结合第一种可能的实现方式,在第二种可能的实现方式中,通过所述发送模块向所述UPF网元发送所述流的带宽需求信息。With reference to the first possible implementation manner, in the second possible implementation manner, the bandwidth requirement information of the flow is sent to the UPF network element through the sending module.
也就是说,在该通信装置确定能够为流预留带宽资源的情况下,该通信装置可以向UPF网元发送流的带宽需求消息,以便于UPF网元根据该带宽需求信息为该流预留带宽资源,从而可以使得该流传输至UPF网元时,UPF网元上可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。That is, in a case where the communication device determines that a bandwidth resource can be reserved for a flow, the communication device may send a flow bandwidth demand message to a UPF network element, so that the UPF network element reserves the flow according to the bandwidth demand information. Bandwidth resources, so that when the stream is transmitted to the UPF network element, the UPF network element can have corresponding bandwidth resources to transmit the stream, which can further improve the transmission reliability of the stream.
结合第一种或第二种可能的实现方式,在第三种可能的实现方式中,通过所述发送模块向所述UE对应的接入网设备发送所述流的带宽需求信息。With reference to the first or second possible implementation manner, in a third possible implementation manner, the bandwidth requirement information of the flow is sent to the access network device corresponding to the UE through the sending module.
也就是说,在该通信装置确定能够为流预留带宽资源的情况下,该通信装置可以向为该UE服务的接入网设备发送流的带宽需求消息,以便于该接入网设备根据该带宽需求信息为该流预留带宽资源,从而可以使得接入网中可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。That is, in a case where the communication apparatus determines that a bandwidth resource can be reserved for a stream, the communication apparatus may send a stream bandwidth requirement message to an access network device serving the UE, so that the access network device may The bandwidth requirement information reserves bandwidth resources for the stream, so that the access network can have corresponding bandwidth resources to transmit the stream, which can further improve the transmission reliability of the stream.
应理解,该实现方式中,UE对应的接入网设备是指为UE提供接入网服务的设备。It should be understood that, in this implementation manner, the access network device corresponding to the UE refers to a device that provides access network services for the UE.
结合第三种可能的实现方式,在第四种可能的实现方式中,通过所述接收模块从所述接入网设备接收第一信息,所述第一信息用于指示所述接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。With reference to the third possible implementation manner, in a fourth possible implementation manner, first information is received from the access network device through the receiving module, and the first information is used to indicate the access network device Whether the bandwidth resource reservation for the flow is successful according to the bandwidth requirement information of the flow.
例如,该通信装置可以在向UE发送时延信息之前,检测是否从所述接入网设备接收了第一信息。若该通信装置接收了第一信息并且第一信息指示AN设备为流预留资源成功,则该通信装置可以向UE发送时延信息,否则,该通信装置可以不向UE发送该时延信息。For example, the communication apparatus may detect whether the first information is received from the access network device before sending the delay information to the UE. If the communication device receives the first information and the first information indicates that the AN device successfully reserves resources for the stream, the communication device may send delay information to the UE; otherwise, the communication device may not send the delay information to the UE.
例如,该通信装置可以在根据PCC规则确定所述第三时延之前,检测是否从所述接入网设备接收了第一信息。若该通信装置接收了第一信息,则该通信装置可以根据PCC规则确定所述第三时延,并执行后续操作;否则,该通信装置可以不根据PCC规则确定所述第三时延,以及不执行后续操作。For example, the communication apparatus may detect whether the first information is received from the access network device before determining the third delay according to a PCC rule. If the communication device receives the first information, the communication device may determine the third delay according to the PCC rule and perform subsequent operations; otherwise, the communication device may not determine the third delay according to the PCC rule, and No subsequent operations are performed.
该实现方式中,该通信装置在确定接入网设备能够为流预留带宽资源成功的情况下,才执行后续相关操作,可以提高该通信装置的执行效率。In this implementation manner, the communication device performs subsequent related operations only after determining that the access network device can successfully reserve bandwidth resources for the flow, which can improve the execution efficiency of the communication device.
结合第九方面或上述任意一种可能的实现方式,在第五种可能的实现方式中,通过所述发送模块向PCF网元发送所述流的信息,所述流的信息用于所述流的PCC规则的确定;通过所述接收模块从所述PCF网元接收所述PCC规则。With reference to the ninth aspect or any one of the foregoing possible implementation manners, in a fifth possible implementation manner, information about the stream is sent to a PCF network element through the sending module, and the stream information is used for the stream The determination of the PCC rules; receiving the PCC rules from the PCF network element through the receiving module.
该实现方式中,该通信装置确定第三时延或确定UPF网元能否为流预留带宽资源所使用的PCC规则,是该通信装置从PCF网元获取的。In this implementation manner, the PCC rule used by the communication device to determine the third delay or to determine whether the UPF network element can reserve bandwidth resources for the flow is obtained by the communication device from the PCF network element.
其中,该通信装置从PCF网元获取流对应的PCC规则后,可以缓存该PCC规则。这样,下一次该通信装置需要使用该流对应的PCC规则时,可以直接从该通信装置上获取,而不用从PCF网元获取,从而可以提高效率。Wherein, after the communication device obtains the PCC rule corresponding to the flow from the PCF network element, the communication device may cache the PCC rule. In this way, the next time the communication device needs to use the PCC rules corresponding to the stream, it can be obtained directly from the communication device, rather than from the PCF network element, thereby improving efficiency.
结合第五种可能的实现方式,在第六种可能的实现方式中,所述流的信息包括以下至少一项:所述流的标识ID,所述流的源地址和目的地址,传输所述流的最大帧的大小和 用于传输所述流的帧之间的间隔或所述流的优先级。With reference to the fifth possible implementation manner, in a sixth possible implementation manner, the flow information includes at least one of the following: an identification ID of the flow, a source address and a destination address of the flow, and transmitting the The size of the maximum frame of a stream and the interval between frames used to transmit the stream or the priority of the stream.
也就是说,该通信装置可以向PCF网元发送上述一种或多种信息,以便于PCF网元可以根据这一种或多种信息确定并向该通信装置返回对应的PCC规则。That is, the communication device may send the one or more types of information to the PCF network element, so that the PCF network element may determine and return the corresponding PCC rule to the communication device according to the one or more types of information.
第九方面中的通信装置包括的各个模块可以通过软件和/或硬件方式实现。Each module included in the communication apparatus in the ninth aspect may be implemented by software and / or hardware.
例如,所述接收模块可以是接收器,所述发送模块可以是发送器,所述处理模块可以是处理器,其中,接收器和发送器可以集成在一起,称为收发器。这种情况下,该通信装置可以是SMF网元。For example, the receiving module may be a receiver, the transmitting module may be a transmitter, and the processing module may be a processor, wherein the receiver and the transmitter may be integrated together, which is called a transceiver. In this case, the communication device may be an SMF network element.
又如,该处理模块可以是处理器,该接收模块和发送模块可以是通信接口。这种情况下,该通信装置可以是芯片,例如,可以是能够集成在SMF网元中的芯片。As another example, the processing module may be a processor, and the receiving module and the sending module may be communication interfaces. In this case, the communication device may be a chip, for example, a chip capable of being integrated in an SMF network element.
可选地,该通信装置还可以包括存储器,用于存储处理器执行的程序代码。Optionally, the communication device may further include a memory for storing program code executed by the processor.
第十方面,本申请提供了一种通信装置。该通信装置包括接收模块和发送模块;并且,通过所述接收模块从TSN接收流的第一时延信息,所述第一时延信息用于指示所述流从所述TSN中的流服务提供者传输至所述UPF网元的第一时延;通过所述发送模块向SMF网元发送所述第一时延信息,所述第一时延信息用于第二时延的确定,所述第二时延为所述流从所述TSN网络中的所述流服务提供者传输至终端设备UE的时延;通过所述接收模块从所述SMF网元接收第二时延信息,所述第二时延信息用于指示所述第二时延;通过所述发送模块向所述UE发送所述第二时延信息。In a tenth aspect, the present application provides a communication device. The communication device includes a receiving module and a sending module; and receiving first delay information of a stream from a TSN through the receiving module, where the first delay information is used to instruct the stream to provide a stream service from the TSN. Transmitting the first delay to the UPF network element; sending the first delay information to the SMF network element through the sending module, where the first delay information is used for determining a second delay, and The second delay is a delay in which the stream is transmitted from the stream service provider in the TSN network to a terminal device UE; and receiving second delay information from the SMF network element through the receiving module, the The second delay information is used to indicate the second delay; and the second delay information is sent to the UE through the sending module.
该通信装置从SMF网元获取流从UPF网元传输至UE的第二时延,并将该第二时延发送给UE,从而可以在3GPP网络与TSN的互通的通信网络中根据该第二时延传输该流。The communication device obtains a second delay from the SMF network element for transmitting a stream from the UPF network element to the UE, and sends the second delay to the UE, so that the communication device can communicate with the 3GPP network and the TSN based on the second The stream is transmitted with a delay.
另外,该通信装置中确定该第二时延所使用的第三时延是由SMF网元根据该流对应的PCC规则确定的。而现有技术需要在UPF网元至UE之间的两两相邻节点之间做时钟同步,最终实现UPF网元至UE之间所有的节点的时钟同步,以计算流从UPF网元传输至UE的累计时延。该通信装置与现有技术相比,方案简单,容易实现。In addition, the third delay used in the communication device to determine the second delay is determined by the SMF network element according to a PCC rule corresponding to the flow. However, in the prior art, clock synchronization needs to be performed between two adjacent nodes between the UPF network element and the UE, and finally the clock synchronization between all nodes between the UPF network element and the UE is realized, so that the calculation flow is transmitted from the UPF network element to the The cumulative delay of the UE. Compared with the prior art, the communication device has a simple solution and is easy to implement.
其中,第三时延可以是流从UPF网元传输至UE的最大传输时延。The third delay may be a maximum transmission delay of a stream transmitted from the UPF network element to the UE.
结合第十方面,在第一种可能的实现方式中,通过所述接收模块从所述SMF网元接收所述流的带宽需求信息;其中,所述通信装置还包括处理模块,并通过所述处理模块根据所述流的带宽需求信息为所述流预留带宽资源。With reference to the tenth aspect, in a first possible implementation manner, the bandwidth requirement information of the stream is received from the SMF network element through the receiving module; wherein the communication device further includes a processing module, and passes through the receiving module. The processing module reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
该通信装置可以根据SMF网元指示的带宽需求信息为流预留带宽资源,以便于流传输至该UPF网元时,该通信装置上有相应的带宽资源来传输该流,从而可以提高流的传输可靠性。The communication device may reserve bandwidth resources for the stream according to the bandwidth requirement information indicated by the SMF network element, so that when the stream is transmitted to the UPF network element, the communication device has corresponding bandwidth resources to transmit the stream, thereby improving the stream ’s performance. Transmission reliability.
结合第十方面或第一种可能的实现方式,在第二种可能的实现方式中,通过所述接收模块从所述SMF网元接收第一信息,所述第一信息用于指示所述UE对应的接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。With reference to the tenth aspect or the first possible implementation manner, in a second possible implementation manner, first information is received from the SMF network element through the receiving module, and the first information is used to indicate the UE Whether the corresponding access network device successfully reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
若该通信装置从SMF网元接收第一信息并且第一信息指示AN设备为流预留资源成功,则该通信装置可以向TSN发送第二时延信息,并通知TSN网络资源预留成功。If the communication device receives the first information from the SMF network element and the first information indicates that the AN device successfully reserves resources for the stream, the communication device may send the second delay information to the TSN and notify the TSN that the network resource reservation is successful.
第十方面中的通信装置包括的各个模块可以通过软件和/或硬件方式实现。Each module included in the communication device in the tenth aspect may be implemented by software and / or hardware.
例如,所述接收模块可以是接收器,所述发送模块可以是发送器,所述处理模块可以是处理器,其中,接收器和发送器可以集成在一起,称为收发器。这种情况下,该通信装置可以是UPF网元。For example, the receiving module may be a receiver, the transmitting module may be a transmitter, and the processing module may be a processor, wherein the receiver and the transmitter may be integrated together, which is called a transceiver. In this case, the communication device may be a UPF network element.
又如,该处理模块可以是处理器,该接收模块和发送模块可以是通信接口。这种情况下,该通信装置可以是芯片,例如,可以是能够集成在UPF网元中的芯片。As another example, the processing module may be a processor, and the receiving module and the sending module may be communication interfaces. In this case, the communication device may be a chip, for example, a chip capable of being integrated in a UPF network element.
可选地,该通信装置还可以包括存储器,用于存储处理器执行的程序代码。Optionally, the communication device may further include a memory for storing program code executed by the processor.
第十一方面,本申请提供了一种通信装置。该通信装置包括发送模块、接收模块和处理模块;并且,通过所述发送模块向SMF网元发送流的信息,所述流的信息用于所述流从所述UE传输至UPF网元的第三时延的确定;通过所述接收模块从所述SMF网元接收第一时延信息,所述第一时延信息用于指示所述第三时延;通过所述处理模块根据所述第三时延,确定所述流从所述UE传输至所述UPF网元的目标时延;通过所述发送模块向UPF网元发送第二时延信息,所述第二时延信息用于指示所述目标时延。In an eleventh aspect, the present application provides a communication device. The communication device includes a sending module, a receiving module, and a processing module; and sending the flow information to the SMF network element through the sending module, where the flow information is used for transmitting the flow from the UE to the UPF network element. Determination of three delays; receiving first delay information from the SMF network element through the receiving module, the first delay information used to indicate the third delay; and using the processing module according to the first Three time delays, determining a target time delay for transmitting the stream from the UE to the UPF network element; and sending second delay information to the UPF network element through the sending module, where the second time delay information is used to indicate The target delay.
该通信装置从SMF网元获取流从UE传输至UPF网元的第三时延,并根据该第三时延来确定流从UE传输至UPF网元的的目标时延,这与在UE至UPF网元之间的两两相邻节点之间做时钟同步,最终实现UE至UPF网元之间所有的节点的时钟同步,以计算流从UE传输至UPF网元的累计时延的方法相比,方案简单,容易实现。The communication device obtains a third delay from the SMF network element for the stream to be transmitted from the UE to the UPF network element, and determines a target delay for the stream to be transmitted from the UE to the UPF network element according to the third delay. The clock synchronization is performed between two adjacent nodes between the UPF network elements, and finally the clock synchronization of all nodes between the UE and the UPF network element is achieved, and the method of calculating the cumulative delay of the stream from the UE to the UPF network element is calculated. Compared, the scheme is simple and easy to implement.
第三时延可以是流从UE传输至UPF网元的最大传输时延。The third delay may be the maximum transmission delay of the flow from the UE to the UPF network element.
第十一方面中的通信装置包括的各个模块可以通过软件和/或硬件方式实现。Each module included in the communication device in the eleventh aspect may be implemented by software and / or hardware.
例如,所述接收模块可以是接收器,所述发送模块可以是发送器,所述处理模块可以是处理器,其中,接收器和发送器可以集成在一起,称为收发器。这种情况下,该通信装置可以是UE。For example, the receiving module may be a receiver, the transmitting module may be a transmitter, and the processing module may be a processor, wherein the receiver and the transmitter may be integrated together, which is called a transceiver. In this case, the communication device may be a UE.
又如,该处理模块可以是处理器,该接收模块和发送模块可以是通信接口。这种情况下,该通信装置可以是芯片,例如,可以是能够集成在UE中的芯片。As another example, the processing module may be a processor, and the receiving module and the sending module may be communication interfaces. In this case, the communication device may be a chip, for example, a chip capable of being integrated in a UE.
可选地,该通信装置还可以包括存储器,用于存储处理器执行的程序代码。Optionally, the communication device may further include a memory for storing program code executed by the processor.
第十二方面,本申请提供一种通信装置,该通信装置包括接收模块、发送模块和处理模块;并且,通过所述接收模块从TSN接收流的第一时延信息,所述第一时延信息用于指示所述流从TSN中的流服务提供者传输至所述UPF网元的第一时延;通过所述发送模块向SMF网元发送流的信息,所述流的信息用于所述流从所述UPF网元传输至UE的第三时延的确定;通过所述处理模块从所述SMF网元接收第三时延信息,所述第三时延信息用于指示所述第三时延;通过所述处理模块根据所述第一时延和所述第三时延,确定所述流从所述TSN网络中的所述流服务提供者传输至所述UE的第二时延;通过所述发送模块向所述UE发送第二时延信息,所述第二时延信息用于指示所述第二时延。In a twelfth aspect, the present application provides a communication device including a receiving module, a sending module, and a processing module; and receiving first stream delay information from a TSN through the receiving module, the first delay The information is used to indicate a first delay in transmitting the stream from the stream service provider in the TSN to the UPF network element; and sending the stream information to the SMF network element through the sending module, and the stream information is used for all Determining the third delay of the stream being transmitted from the UPF network element to the UE; receiving third delay information from the SMF network element through the processing module, the third delay information used to indicate the first delay Three delays; determining, by the processing module, a second time at which the stream is transmitted from the stream service provider in the TSN network to the UE according to the first delay and the third delay Delay; sending second delay information to the UE through the sending module, where the second delay information is used to indicate the second delay.
该通信装置将SMF网元确定的流从UPF网元传输至UE的第三时延作为流从UPF网元传输至UE的累计时延,这与在UPF网元至UE之间的两两相邻节点之间做时钟同步,最终实现UPF网元至UE之间所有的节点的时钟同步,以计算流从UPF网元传输至UE的累计时延的方法相比,方案简单,容易实现。The communication device transmits the third delay of the stream determined by the SMF network element from the UPF network element to the UE as the cumulative delay of the stream transmitted from the UPF network element to the UE, which is two or two phases between the UPF network element and the UE. Neighboring nodes do clock synchronization, and finally achieve the clock synchronization of all nodes between the UPF network element and the UE. Compared with the method of calculating the cumulative delay of the flow transmitted from the UPF network element to the UE, the solution is simple and easy to implement.
第三时延可以是流从UPF网元传输至UE的最大传输时延。The third delay may be a maximum transmission delay of the flow transmission from the UPF network element to the UE.
结合第十二方面,在第一种可能的实现方式中,具体通过所述处理模块将所述第一时延与所述第三时延之和,确定为所述第二时延。With reference to the twelfth aspect, in a first possible implementation manner, the sum of the first delay and the third delay is specifically determined by the processing module as the second delay.
结合第十二方面或第一种可能的实现方式,在第二种可能的实现方式中,通过所述接收模块从所述SMF网元接收所述流的带宽需求信息;通过所述处理模块根据所述流的带宽需求信息为所述流预留带宽资源。With reference to the twelfth aspect or the first possible implementation manner, in a second possible implementation manner, the bandwidth requirement information of the stream is received from the SMF network element by the receiving module; The bandwidth requirement information of the flow reserves bandwidth resources for the flow.
该通信装置可以根据SMF网元指示的带宽需求信息为流预留带宽资源,以便于流传输至该通信装置时,该通信装置上有相应的带宽资源来传输该流,从而可以提高流的传输可靠性。The communication device may reserve bandwidth resources for the stream according to the bandwidth requirement information indicated by the SMF network element, so that when the stream is transmitted to the communication device, the communication device has corresponding bandwidth resources to transmit the stream, thereby improving the transmission of the stream reliability.
结合第十二方面或第一种或第二种可能的实现方式,在第三种可能的实现方式中,通过所述接收模块从所述SMF网元接收第一信息,所述第一信息用于指示所述UE对应的接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。With reference to the twelfth aspect or the first or second possible implementation manner, in a third possible implementation manner, first information is received from the SMF network element through the receiving module, and the first information is used It indicates whether the access network device corresponding to the UE successfully reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
若该通信装置从SMF网元接收第一信息并且第一信息指示AN设备为流预留资源成功,则该通信装置可以向TSN发送第二时延信息,并通知TSN网络资源预留成功。If the communication device receives the first information from the SMF network element and the first information indicates that the AN device successfully reserves resources for the stream, the communication device may send the second delay information to the TSN and notify the TSN that the network resource reservation is successful.
结合第十二方面或上述任意一种可能的实现方式,在第四种可能的实现方式中,所述流的信息包括以下至少一项:所述流的标识ID,所述流的源地址和目的地址,传输所述流的最大帧的大小和用于传输所述流的帧之间的间隔,所述流的优先级,所述流的单个帧从Talker传输到Listener的最大允许时延或所述流的可靠性需求。With reference to the twelfth aspect or any one of the foregoing possible implementation manners, in a fourth possible implementation manner, the flow information includes at least one of the following: an identification ID of the flow, a source address of the flow, and The destination address, the size of the maximum frame that transmits the stream and the interval between frames used to transmit the stream, the priority of the stream, the maximum allowable delay for a single frame of the stream from the Talker to the Listener, or The reliability requirements of the stream.
第十二方面中的通信装置包括的各个模块可以通过软件和/或硬件方式实现。Each module included in the communication device in the twelfth aspect may be implemented by software and / or hardware.
例如,所述接收模块可以是接收器,所述发送模块可以是发送器,所述处理模块可以是处理器,其中,接收器和发送器可以集成在一起,称为收发器。这种情况下,该通信装置可以是UPF网元。For example, the receiving module may be a receiver, the transmitting module may be a transmitter, and the processing module may be a processor, wherein the receiver and the transmitter may be integrated together, which is called a transceiver. In this case, the communication device may be a UPF network element.
又如,该处理模块可以是处理器,该接收模块和发送模块可以是通信接口。这种情况下,该通信装置可以是芯片,例如,可以是能够集成在UPF网元中的芯片。As another example, the processing module may be a processor, and the receiving module and the sending module may be communication interfaces. In this case, the communication device may be a chip, for example, a chip capable of being integrated in a UPF network element.
可选地,该通信装置还可以包括存储器,用于存储处理器执行的程序代码。Optionally, the communication device may further include a memory for storing program code executed by the processor.
第十三方面,本申请提供了一种计算机可读存储介质。该计算机可读存储介质中存储用于通信装置执行的程序代码。该程序代码包括用于执行第一方面至第六方面中任意一个方面中或所述任意一个方面中的任意一种可能的实现方式中的通信方法的指令。In a thirteenth aspect, the present application provides a computer-readable storage medium. The computer-readable storage medium stores program code for execution by a communication device. The program code includes instructions for executing a communication method in any one of the first to sixth aspects or in any one of the possible implementation manners of any one of the aspects.
第十四方面,本申请提供了一种包含指令的计算机程序产品。当该计算机程序产品在通信装置上运行时,使得该通信装置执行第一方面至第六方面中任意一个方面中或所述任意一个方面中的任意一种可能的实现方式中的通信方法。In a fourteenth aspect, the present application provides a computer program product containing instructions. When the computer program product runs on a communication device, the communication device is caused to execute the communication method in any one of the first to sixth aspects or in any one of the possible implementation manners of any one of the aspects.
第十五方面,本申请提供了一种通信方法,该通信方法包括:SMF网元从第一通信设备接收流的第一时延信息,所述第一时延信息用于指示所述流从TSN中的流服务提供者传输至所述第一通信设备的第一时延;所述SMF网元根据所述流的PCC规则确定所述流从所述第一通信设备传输至第二通信设备的第一目标时延;所述SMF网元根据所述第一时延、所述第一目标时延和第二目标时延,确定所述流从所述流服务提供者传输至所述TSN中作为所述第二通信设备的下一跳的目标网元的第三时延,所述第二目标时延为所述流从所述第二通信设备传输至所述目标网元的时延;所述SMF网元向所述第一通信设备发送第三时延信息,所述第三时延信息用于指示所述第三时延;其中,所述第一通信设备为UPF网元且所述第二通信设备为UE,或,所述第一通信设备为所述UE且所述第二通信设备为所述UPF网元。In a fifteenth aspect, the present application provides a communication method including: an SMF network element receiving first delay information of a stream from a first communication device, where the first delay information is used to instruct the stream from A first delay for a stream service provider in the TSN to transmit to the first communication device; the SMF network element determines that the stream is transmitted from the first communication device to the second communication device according to the PCC rule of the flow The first target delay; the SMF network element determines that the stream is transmitted from the stream service provider to the TSN according to the first delay, the first target delay, and the second target delay A third delay in the target network element that is the next hop of the second communication device, the second target delay is a delay in which the stream is transmitted from the second communication device to the target network element ; The SMF network element sends third delay information to the first communication device, and the third delay information is used to indicate the third delay; wherein the first communication device is a UPF network element and The second communication device is a UE, or the first communication device is the UE and the second communication device is The communication device is the UPF network element.
该通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为第二通信设备的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。This communication method can not only obtain the accumulated delay of the stream transmitted from the streaming service provider to the target network element as the next hop of the second communication device in the TSN network, but also the method of obtaining the accumulated delay is simpler because the communication method This makes it unnecessary for the UE, the UPF network element, and each device between the UE and the UPF network element to synchronize with the main clock source, and the cumulative delay can also be calculated.
在一种可能的实现方式中,所述SMF网元根据所述第一时延、所述第一目标时延和第二目标时延,确定所述第三时延,包括:SMF网元将所述第一时延、所述第一目标时延和所述第二目标时延之和作为所述第三时延。In a possible implementation manner, the SMF network element determines the third delay according to the first delay, the first target delay, and the second target delay, including: the SMF network element will A sum of the first delay, the first target delay, and the second target delay is used as the third delay.
在一种可能的实现方式中,所述第一目标时延为所述流在所述UPF网元与所述UE之间的最大传输时延。In a possible implementation manner, the first target delay is a maximum transmission delay of the flow between the UPF network element and the UE.
在一种可能的实现方式中,所述通信方法还包括:所述SMF网元根据所述PCC规则确定能为所述流预留带宽资源。In a possible implementation manner, the communication method further includes that the SMF network element determines that the bandwidth resource can be reserved for the flow according to the PCC rule.
在一种可能的实现方式中,所述通信方法还包括:所述SMF网元向所述UPF网元发送所述流的带宽需求信息。In a possible implementation manner, the communication method further includes: sending, by the SMF network element, the bandwidth requirement information of the flow to the UPF network element.
在一种可能的实现方式中,所述通信方法还包括:所述SMF网元向所述UE对应的接入网设备发送所述流的带宽需求信息。In a possible implementation manner, the communication method further includes: sending, by the SMF network element, the bandwidth requirement information of the stream to an access network device corresponding to the UE.
在一种可能的实现方式中,所述通信方法还包括:所述SMF网元从所述接入网设备接收第一信息,所述第一信息用于指示所述接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。In a possible implementation manner, the communication method further includes: the SMF network element receiving first information from the access network device, where the first information is used to instruct the access network device according to the The bandwidth requirement information of the flow is whether the bandwidth resource reservation of the flow is successful.
在一种可能的实现方式中,所述通信方法还包括:所述SMF网元向PCF网元发送所述流的信息,所述流的信息用于所述流的PCC规则的确定;所述SMF网元从所述PCF网元接收所述PCC规则。In a possible implementation manner, the communication method further includes: the SMF network element sends the flow information to the PCF network element, and the flow information is used for determining a PCC rule of the flow; the The SMF network element receives the PCC rule from the PCF network element.
第十五方面中的通信方法,可以参考图24或图30所描述的通信方法中由SMF网元执行的步骤。For the communication method in the fifteenth aspect, reference may be made to the steps performed by the SMF network element in the communication method described in FIG. 24 or FIG. 30.
第十六方面,本申请提供了一种通信方法,该通信方法包括:SMF网元从UPF网元或UE接收流的第一时延信息,所述第一时延信息用于指示所述流从TSN中的流服务提供者传输至第一通信设备的第一时延;所述SMF网元根据所述流的PCC规则确定所述流在所述UPF网元与UE之间传输的第一目标时延;所述SMF网元根据所述第一时延和所述第一目标时延,确定所述流从所述TSN中的所述流服务提供者传输至第二通信设备的第二时延;所述SMF网元向所述UPF网元或所述UE发送第二时延信息,所述第二时延信息用于指示所述第二时延;其中,所述第一通信设备为所述UPF网元且所述第二通信设备为所述UE,或,所述第一通信设备为所述UE且所述第二通信设备为所述UPF网元。In a sixteenth aspect, the present application provides a communication method including: an SMF network element receiving first delay information of a stream from a UPF network element or a UE, where the first delay information is used to indicate the stream A first delay transmitted from a stream service provider in a TSN to a first communication device; the SMF network element determines a first transmission of the stream between the UPF network element and the UE according to a PCC rule of the stream Target delay; the SMF network element determines, based on the first delay and the first target delay, that the stream is transmitted from the stream service provider in the TSN to the second of the second communication device Time delay; the SMF network element sends second time delay information to the UPF network element or the UE, the second time delay information is used to indicate the second time delay; wherein the first communication device Is the UPF network element and the second communication device is the UE, or the first communication device is the UE and the second communication device is the UPF network element.
该通信方法可以得到流从流服务提供者传输至3GPP中作为输出端口的第二通信设备的累计时延,以便于第二通信设备可以根据该累计时延计算路从流服务提供者传输至TSN中作为第二通信设备的下一跳的目标网元的总时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。The communication method can obtain the cumulative delay of the stream transmitted from the stream service provider to the second communication device as the output port in 3GPP, so that the second communication device can calculate the transmission path from the stream service provider to the TSN according to the accumulated delay. The total delay of the target network element as the next hop of the second communication device in the medium, and the method of obtaining the accumulated delay is relatively simple, because the communication method makes the UE, the UPF network element, and the UE and the UPF network element unnecessary. Each device is synchronized with the main clock source, and the cumulative delay can also be calculated.
在一种可能的实现方式中,所述SMF网元根据所述第一时延和所述第一目标时延,确定所述第二时延,包括:将所述第一时延和第一目标时延的和作为所述第二时延。In a possible implementation manner, the determining, by the SMF network element, the second delay according to the first delay and the first target delay includes: combining the first delay and the first delay. The sum of the target delays is used as the second delay.
在一种可能的实现方式中,所述第一目标时延为所述流在所述UPF网元与所述UE之间的最大传输时延。In a possible implementation manner, the first target delay is a maximum transmission delay of the flow between the UPF network element and the UE.
在一种可能的实现方式中,所述通信方法还包括:所述SMF网元根据所述PCC规则确定能为所述流预留带宽资源。In a possible implementation manner, the communication method further includes that the SMF network element determines that the bandwidth resource can be reserved for the flow according to the PCC rule.
在一种可能的实现方式中,所述通信方法还包括:所述SMF网元向所述UPF网元发 送所述流的带宽需求信息。In a possible implementation manner, the communication method further includes: the SMF network element sending the bandwidth requirement information of the flow to the UPF network element.
在一种可能的实现方式中,所述通信方法还包括:所述SMF网元向所述UE对应的接入网设备发送所述流的带宽需求信息。In a possible implementation manner, the communication method further includes: sending, by the SMF network element, the bandwidth requirement information of the stream to an access network device corresponding to the UE.
在一种可能的实现方式中,所述通信方法还包括:所述SMF网元从所述接入网设备接收第一信息,所述第一信息用于指示所述接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。In a possible implementation manner, the communication method further includes: the SMF network element receiving first information from the access network device, where the first information is used to instruct the access network device according to the The bandwidth requirement information of the flow is whether the bandwidth resource reservation of the flow is successful.
在一种可能的实现方式中,所述通信方法还包括:所述SMF网元向PCF网元发送所述流的信息,所述流的信息用于所述流的PCC规则的确定;所述SMF网元从所述PCF网元接收所述PCC规则。In a possible implementation manner, the communication method further includes: the SMF network element sends the flow information to the PCF network element, and the flow information is used for determining a PCC rule of the flow; the The SMF network element receives the PCC rule from the PCF network element.
第十六方面中的通信方法,可以参考图20、图22、图26、图28、图32或图33所描述的通信方法中由SMF网元执行的步骤。For the communication method in the sixteenth aspect, reference may be made to the steps performed by the SMF network element in the communication method described in FIG. 20, FIG. 22, FIG. 26, FIG. 28, FIG. 32, or FIG. 33.
第十七方面,本申请提供了一种通信方法,该通信方法包括:UPF网元从TSN接收流的第一时延信息,所述第一时延信息用于指示所述流从所述TSN中的流服务提供者传输至所述UPF网元的第一时延;所述UPF网元向SMF网元发送所述流的信息,所述流的信息用于所述流对应的服务质量参数的确定;所述UPF网元从所述SMF网元接收所述服务质量参数;所述UPF网元根据所述服务质量参数确定所述流从所述UPF网元传输至所述UE的第一目标时延;所述UPF网元根据所述第一时延和所述第一目标时延,确定第二时延,所述第二时延是指所述流从所述流服务提供者传输至所述UE的时延;所述UPF网元向所述UE发送第二时延信息,所述第二时延信息用于指示所述第二时延。In a seventeenth aspect, this application provides a communication method. The communication method includes: a UPF network element receiving first delay information of a stream from a TSN, where the first delay information is used to instruct the stream from the TSN The first delay that a streaming service provider transmits to the UPF network element; the UPF network element sends the flow information to the SMF network element, and the flow information is used for a quality of service parameter corresponding to the flow Determination; the UPF network element receives the quality of service parameter from the SMF network element; the UPF network element determines a first transmission of the stream from the UPF network element to the UE according to the quality of service parameter Target delay; the UPF network element determines a second delay according to the first delay and the first target delay, the second delay refers to the transmission of the stream from the stream service provider A delay to the UE; the UPF network element sends second delay information to the UE, where the second delay information is used to indicate the second delay.
该通信方法可以得到流从流服务提供者传输至3GPP中作为输出端口的UE的累计时延,以便于UPF网元可以根据该累计时延计算路从流服务提供者传输至TSN中作为UPF网元的下一跳的目标网元的总时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。This communication method can obtain the cumulative delay of the stream transmitted from the stream service provider to the UE serving as the output port in 3GPP, so that the UPF network element can calculate the route from the stream service provider to the TSN as the UPF network based on the cumulative delay The total delay of the target network element of the next hop of the element, and the method of obtaining the accumulated delay is relatively simple, because this communication method does not require the UE, the UPF network element, and each device between the UE and the UPF network element. You can also calculate the cumulative delay by synchronizing with the main clock source.
在一种可能的实现方式中,所述UPF网元根据所述第一时延和所述第一目标时延,确定第二时延,包括:将第一时延和所述第一目标时延之和作为所述第二时延。In a possible implementation manner, the determining, by the UPF network element according to the first delay and the first target delay, a second delay includes: combining the first delay with the first target delay. The sum of the delays is used as the second delay.
在一种可能的实现方式中,所述第一目标时延为所述流在所述UPF网元与所述UE之间的最大传输时延。In a possible implementation manner, the first target delay is a maximum transmission delay of the flow between the UPF network element and the UE.
在一种可能的实现方式中,所述通信方法包括:所述UPF网元从所述SMF网元接收所述流的带宽需求信息;所述UPF网元根据所述流的带宽需求信息为所述流预留带宽资源。In a possible implementation manner, the communication method includes: the UPF network element receives the bandwidth requirement information of the flow from the SMF network element; and the UPF network element provides the required bandwidth according to the bandwidth requirement information of the flow. These flows reserve bandwidth resources.
在一种可能的实现方式中,所述通信方法还包括:所述UPF网元从所述SMF网元接收第一信息,所述第一信息用于指示所述UE对应的接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。In a possible implementation manner, the communication method further includes that the UPF network element receives first information from the SMF network element, and the first information is used to instruct an access network device corresponding to the UE to The bandwidth requirement information of the flow is whether the bandwidth resource reservation of the flow is successful.
第十七方面中的通信方法,可以参考图23所描述的通信方法中由UPF网元执行的步骤。For the communication method in the seventeenth aspect, reference may be made to the steps performed by the UPF network element in the communication method described in FIG. 23.
第十八方面,本申请提供了一种通信方法,该通信方法包括:UPF网元从TSN或UE接收流的第一时延信息,所述第一时延信息用于指示所述流从所述TSN中的流服务提供者传输至第一通信设备的第一时延;所述UPF网元向SMF网元发送所述流的信息,所述 流的信息用于所述流对应的服务质量参数的确定;所述UPF网元从所述SMF网元接收所述流对应的服务质量参数;所述UPF网元根据所述流对应的服务质量参数确定第一目标时延,所述第一目标时延是指所述流在终端设备UE与所述UPF网元之间传输的时延;所述UPF网元根据所述第一时延、所述第一目标时延和第二目标时延,确定第三时延,所述第二目标时延是指所述流从第二通信设备传输至所述TSN网络中作为所述第二通信设备的下一跳的目标网元的时延,所述第三时延是指所述流从所述流服务提供者传输至所述目标网元的时延;所述UPF网元发送第三时延信息,所述第三时延信息用于指示所述第三时延;其中,所述第一通信设备为所述UPF网元且所述第二通信设备为所述UE,或,所述第一通信设备为所述UE且所述第二通信设备为所述UPF网元。In an eighteenth aspect, the present application provides a communication method including: a UPF network element receiving first delay information of a stream from a TSN or a UE, where the first delay information is used to instruct the stream from The first delay transmitted by the stream service provider in the TSN to the first communication device; the UPF network element sends the stream information to the SMF network element, and the stream information is used for the quality of service corresponding to the stream Determining the parameters; the UPF network element receiving a quality of service parameter corresponding to the flow from the SMF network element; the UPF network element determining a first target delay according to the quality of service parameter corresponding to the flow, the first The target delay refers to a delay in which the stream is transmitted between the terminal device UE and the UPF network element; the UPF network element is based on the first delay, the first target delay, and the second target time Delay, determining a third delay, the second target delay refers to a delay in which the stream is transmitted from a second communication device to a target network element that is a next hop of the second communication device in the TSN network , The third delay means that the stream is transmitted from the stream service provider to the target network The UPF network element sends third delay information, the third delay information is used to indicate the third delay; wherein the first communication device is the UPF network element and the The second communication device is the UE, or the first communication device is the UE and the second communication device is the UPF network element.
该通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为第二通信设备的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。This communication method can not only obtain the accumulated delay of the stream transmitted from the streaming service provider to the target network element as the next hop of the second communication device in the TSN network, but also the method of obtaining the accumulated delay is simpler because the communication method This makes it unnecessary for the UE, the UPF network element, and each device between the UE and the UPF network element to synchronize with the main clock source, and the cumulative delay can also be calculated.
在一种可能的实现方式中,所述UPF网元根据所述第一时延、所述第一目标时延和第二目标时延,确定第三时延,包括:将第一时延、所述第一目标时延和所述第二目标时延之和作为所述第三时延。In a possible implementation manner, the UPF network element determines a third delay according to the first delay, the first target delay, and the second target delay, including: changing the first delay, The sum of the first target delay and the second target delay is used as the third delay.
在一种可能的实现方式中,所述第一目标时延为所述流在所述UPF网元与所述UE之间的最大传输时延。In a possible implementation manner, the first target delay is a maximum transmission delay of the flow between the UPF network element and the UE.
在一种可能的实现方式中,所述通信方法包括:所述UPF网元从所述SMF网元接收所述流的带宽需求信息;所述UPF网元根据所述流的带宽需求信息为所述流预留带宽资源。In a possible implementation manner, the communication method includes: the UPF network element receives the bandwidth requirement information of the flow from the SMF network element; and the UPF network element provides the required bandwidth according to the bandwidth requirement information of the flow. These flows reserve bandwidth resources.
在一种可能的实现方式中,所述通信方法还包括:所述UPF网元从所述SMF网元接收第一信息,所述第一信息用于指示所述UE对应的接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。In a possible implementation manner, the communication method further includes that the UPF network element receives first information from the SMF network element, and the first information is used to instruct an access network device corresponding to the UE to The bandwidth requirement information of the flow is whether the bandwidth resource reservation of the flow is successful.
第十八方面中的通信方法,可以参考图25或图27所描述的通信方法中由UPF网元执行的步骤。For the communication method in the eighteenth aspect, reference may be made to the steps performed by the UPF network element in the communication method described in FIG. 25 or FIG. 27.
第十九方面,本申请提供了一种通信方法,该通信方法包括:UPF网元从UE或SMF网元接收流的第二时延信息,所述第二时延信息用于指示所述流从时间敏感网络TSN中的流服务提供者传输至所述UPF网元的第二时延;所述UPF网元根据所述第二时延和第二目标时延,确定第三时延,所述第二目标时延是指所述流从所述UPF网元传输至所述TSN网络中作为所述UPF网元的下一跳的目标网元的时延,所述第三时延是指所述流从所述流服务提供者传输至所述目标网元的时延;所述UPF网元向所述目标网元发送第三时延信息,所述第三时延信息用于指示所述第三时延。In a nineteenth aspect, the present application provides a communication method, the communication method including: a UPF network element receiving second delay information of a stream from a UE or an SMF network element, the second delay information used to indicate the flow A second delay transmitted from a streaming service provider in a time-sensitive network TSN to the UPF network element; the UPF network element determines a third delay based on the second delay and a second target delay, so The second target delay refers to a delay in transmitting the flow from the UPF network element to the target network element in the TSN network as a next hop of the UPF network element, and the third delay refers to A delay of the stream being transmitted from the streaming service provider to the target network element; the UPF network element sends a third delay information to the target network element, the third delay information is used to indicate the The third delay is described.
该通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为UPF网元的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。This communication method can not only obtain the cumulative delay of the stream transmitted from the streaming service provider to the target network element as the next hop of the UPF network element in the TSN network, but also the method of obtaining the cumulative delay is simpler because the communication method makes It is not necessary for the UE, the UPF network element, and each device between the UE and the UPF network element to synchronize with the main clock source, and the accumulated delay can also be calculated.
在一种可能的实现方式中,所述UPF网元根据所述第二时延和第二目标时延,确定第三时延,包括:将所述第二时延和所述第二目标时延之和作为所述第三时延。In a possible implementation manner, the determining, by the UPF network element according to the second delay and the second target delay, a third delay includes: combining the second delay and the second target delay. The sum of the delays is used as the third delay.
在一种可能的实现方式中,所述通信方法包括:所述UPF网元从所述SMF网元接收所述流的带宽需求信息;所述UPF网元根据所述流的带宽需求信息为所述流预留带宽资源。In a possible implementation manner, the communication method includes: the UPF network element receives the bandwidth requirement information of the flow from the SMF network element; and the UPF network element provides the required bandwidth according to the bandwidth requirement information of the flow. These flows reserve bandwidth resources.
在一种可能的实现方式中,所述通信方法还包括:所述UPF网元从所述SMF网元接收第一信息,所述第一信息用于指示所述UE对应的接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。In a possible implementation manner, the communication method further includes that the UPF network element receives first information from the SMF network element, and the first information is used to instruct an access network device corresponding to the UE to The bandwidth requirement information of the flow is whether the bandwidth resource reservation of the flow is successful.
第十九方面中的通信方法,可以参考图26、图28、图29或图33所描述的通信方法中由UPF网元执行的步骤。For the communication method in the nineteenth aspect, reference may be made to the steps performed by the UPF network element in the communication method described in FIG. 26, FIG. 28, FIG. 29, or FIG. 33.
第二十方面,本申请提供了一种通信方法,该通信方法包括:UE从SMF网元或UPF网元接收流的第二时延信息,所述第二时延信息用于指示所述流从TSN中的流服务提供者传输至所述UE的第二时延;所述UE根据所述第二时延和第二目标时延,确定第三时延,所述第二目标时延是指所述流从所述UE传输至所述TSN网络中作为所述UE的下一跳的目标网元的时延,所述第三时延是指所述流从所述流服务提供者传输至所述目标网元的时延;所述UE向所述目标网元发送第三时延信息,所述第三时延信息用于指示所述第三时延。In a twentieth aspect, the present application provides a communication method, the communication method comprising: the UE receiving second delay information of a stream from an SMF network element or a UPF network element, where the second delay information is used to indicate the flow A second delay transmitted from the streaming service provider in the TSN to the UE; the UE determines a third delay according to the second delay and a second target delay, and the second target delay is Refers to a delay in transmitting the stream from the UE to the target network element in the TSN network as the next hop of the UE, and the third delay refers to the stream transmitting from the stream service provider A delay to the target network element; the UE sends third delay information to the target network element, and the third delay information is used to indicate the third delay.
该通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为UE的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。This communication method can not only obtain the accumulated delay of the stream transmitted from the streaming service provider to the target network element as the UE's next hop in the TSN network, but also the method of obtaining the accumulated delay is relatively simple, because the communication method makes it unnecessary Each device between the UE, the UPF network element, and the UE and the UPF network element is synchronized with the main clock source, and the accumulated delay can also be calculated.
在一种可能的实现方式中,所述UE根据所述第二时延和第二目标时延,确定第三时延,包括:将所述第二时延和所述第二目标时延之和作为所述第三时延。In a possible implementation manner, the determining, by the UE according to the second delay and the second target delay, a third delay includes: combining the second delay with the second target delay. And as the third delay.
第二十方面中的通信方法,可以参考图20、图22、图23或图32所描述的通信方法中由UE执行的步骤。For the communication method in the twentieth aspect, reference may be made to steps performed by the UE in the communication method described in FIG. 20, FIG. 22, FIG. 23, or FIG. 32.
第二十一方面,本申请提供了一种通信方法,该通信方法包括:UE接收流的第一时延信息,所述第一时延信息用于指示所述流从时间敏感网络TSN中的流服务提供者传输至第一通信设备的第一时延;所述UE向会话管理功能SMF网元发送所述流的信息,所述流的信息用于所述流对应的服务质量参数的确定;所述UE从所述SMF网元接收所述流对应的服务质量参数;所述UE根据所述流对应的服务质量参数确定第一目标时延,所述第一目标时延是指所述流在所述UE与用户面功能UPF网元之间传输的时延;所述UE根据所述第一时延、所述第一目标时延和第二目标时延,确定第三时延,所述第二目标时延是指所述流从第二通信设备传输至所述TSN网络中作为所述第二通信设备的下一跳的目标网元的时延,所述第三时延是指所述流从所述流服务提供者传输至所述目标网元的时延;所述UE发送第三时延信息,所述第三时延信息用于指示所述第三时延;其中,所述第一通信设备为所述UPF网元且所述第二通信设备为所述UE,或,所述第一通信设备为所述UE且所述第二通信设备为所述UPF网元。In a twenty-first aspect, the present application provides a communication method. The communication method includes: UE receiving first delay information of a flow, where the first delay information is used to instruct the flow from a time-sensitive network TSN. The first delay transmitted by the stream service provider to the first communication device; the UE sends the stream information to the session management function SMF network element, and the stream information is used to determine a quality of service parameter corresponding to the stream The UE receives a quality of service parameter corresponding to the flow from the SMF network element, and the UE determines a first target delay according to the quality of service parameter corresponding to the flow, where the first target delay refers to the A delay of the flow transmission between the UE and a user plane function UPF network element; the UE determines a third delay according to the first delay, the first target delay, and the second target delay, The second target delay refers to a delay in transmitting the stream from a second communication device to a target network element that is a next hop of the second communication device in the TSN network. The third delay is Refers to the delay in transmitting the stream from the stream service provider to the target network element Sending, by the UE, third delay information, where the third delay information is used to indicate the third delay; wherein the first communication device is the UPF network element and the second communication device is all The UE, or the first communication device is the UE and the second communication device is the UPF network element.
该通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为第二通信设备的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。This communication method can not only obtain the accumulated delay of the stream transmitted from the streaming service provider to the target network element as the next hop of the second communication device in the TSN network, but also the method of obtaining the accumulated delay is simpler because the communication method This makes it unnecessary for the UE, the UPF network element, and each device between the UE and the UPF network element to synchronize with the main clock source, and the cumulative delay can also be calculated.
在一种可能的实现方式中,所述UE根据所述第一时延、所述第一目标时延和第二目标时延,确定第三时延,包括:将所述第一时延、第一目标时延和所述第二目标时延之和作为所述第三时延。In a possible implementation manner, the determining, by the UE according to the first delay, the first target delay, and the second target delay, a third delay includes: changing the first delay, The sum of the first target delay and the second target delay is used as the third delay.
在一种可能的实现方式中,所述第一目标时延为所述流在所述UPF网元与所述UE之间的最大传输时延。In a possible implementation manner, the first target delay is a maximum transmission delay of the flow between the UPF network element and the UE.
第二十一方面中的通信方法,可以参考图21或图31所描述的通信方法中由UE执行的步骤。For the communication method in the twenty-first aspect, reference may be made to steps performed by the UE in the communication method described in FIG. 21 or FIG. 31.
第二十二方面,本申请提供了一种通信方法,该通信方法包括:UE接收流的第一时延信息,所述第一时延信息用于指示所述流从TSN中的流服务提供者传输至所述UE的第一时延;所述UE向SMF网元发送所述流的信息,所述流的信息用于所述流对应的服务质量参数的确定;所述UE从所述SMF网元接收所述流对应的服务质量参数;所述UE根据所述流对应的服务质量参数确定第一目标时延,所述第一目标时延是指所述流在所述UE与用户面功能UPF网元之间传输的时延;所述UE根据所述第一时延和所述第一目标时延,确定第二时延,所述第二时延是指所述流从所述流服务提供者传输至所述UPF网元的时延;所述UE向所述UPF网元发送第二时延信息,所述第二时延信息用于指示所述第二时延。In a twenty-second aspect, this application provides a communication method. The communication method includes: UE receiving first delay information of a stream, where the first delay information is used to indicate that the stream is provided from a stream service in a TSN. The first delay transmitted from the user to the UE; the UE sends the flow information to the SMF network element, and the flow information is used to determine a quality of service parameter corresponding to the flow; The SMF network element receives a quality of service parameter corresponding to the flow; the UE determines a first target delay according to the quality of service parameter corresponding to the flow, where the first target delay refers to the flow between the UE and the user Delay between transmissions of UPF network elements; the UE determines a second delay according to the first delay and the first target delay, where the second delay refers to the flow from The time delay transmitted by the streaming service provider to the UPF network element; the UE sends second delay information to the UPF network element, and the second delay information is used to indicate the second delay.
该通信方法可以得到流从流服务提供者传输至3GPP中作为输出端口的UPF网元的累计时延,以便于UPF网元可以根据该累计时延计算路从流服务提供者传输至TSN中作为UPF网元的下一跳的目标网元的总时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。This communication method can obtain the cumulative delay of the stream from the stream service provider to the UPF network element in 3GPP as the output port, so that the UPF network element can calculate the route from the stream service provider to the TSN based on the accumulated delay as The total delay of the target network element of the next hop of the UPF network element, and the method of obtaining the accumulated delay is relatively simple, because the communication method eliminates the need for the UE, the UPF network element, and each The devices are synchronized with the main clock source, and the accumulated delay can also be calculated.
在一种可能的实现方式中,所述UE根据所述第一时延和所述第一目标时延,确定第二时延,包括:将第一时延和第一目标时延之和确定为所述第二时延。In a possible implementation manner, the determining, by the UE, a second delay according to the first delay and the first target delay includes: determining a sum of the first delay and the first target delay. Is the second time delay.
在一种可能的实现方式中,所述第一目标时延为所述流在所述UPF网元与所述UE之间的最大传输时延。In a possible implementation manner, the first target delay is a maximum transmission delay of the flow between the UPF network element and the UE.
第二十二方面中的通信方法,可以参考图29所描述的通信方法中由UE执行的步骤。For the communication method in the twenty-second aspect, reference may be made to steps performed by the UE in the communication method described in FIG. 29.
第二十三方面,本申请提供一种通信装置,该通信装置包括用于实现第十五方面至第二十二方面中任意一方面中的通信方法的模块。In a twenty-third aspect, the present application provides a communication device including a module for implementing the communication method in any one of the fifteenth aspect to the twenty-second aspect.
其中,第二十三方面中的通信装置包括的各个模块可以通过软件和/或硬件方式实现。Each module included in the communication device in the twenty-third aspect may be implemented by software and / or hardware.
例如,所述接收模块可以是接收器,所述发送模块可以是发送器,所述处理模块可以是处理器,其中,接收器和发送器可以集成在一起,称为收发器。这种情况下,该通信装置可以是SMF网元、UPF网元或终端设备。For example, the receiving module may be a receiver, the transmitting module may be a transmitter, and the processing module may be a processor, wherein the receiver and the transmitter may be integrated together, which is called a transceiver. In this case, the communication device may be an SMF network element, a UPF network element, or a terminal device.
又如,该处理模块可以是处理器,该接收模块和发送模块可以是通信接口。这种情况下,该通信装置可以是芯片,例如,可以是能够集成在SMF网元、UPF网元或UE中的芯片。As another example, the processing module may be a processor, and the receiving module and the sending module may be communication interfaces. In this case, the communication device may be a chip, for example, a chip that can be integrated in an SMF network element, a UPF network element, or a UE.
可选地,该通信装置还可以包括存储器,用于存储处理器执行的程序代码。Optionally, the communication device may further include a memory for storing program code executed by the processor.
第二十四方面,本申请提供了一种计算机可读存储介质。该计算机可读存储介质中存储用于通信装置执行的程序代码。该程序代码包括用于执行第十五方面至第二十二方面中任意一个方面中或所述任意一个方面中的任意一种可能的实现方式中的通信方法的指令。In a twenty-fourth aspect, the present application provides a computer-readable storage medium. The computer-readable storage medium stores program code for execution by a communication device. The program code includes instructions for executing the communication method in any one of the fifteenth aspect to the twenty-second aspect or in any one of the possible implementation manners of any one of the aspects.
第二十五方面,本申请提供了一种包含指令的计算机程序产品。当该计算机程序产品在通信装置上运行时,使得该通信装置执行第十五方面至第二十二方面中任意一个方面中或所述任意一个方面中的任意一种可能的实现方式中的通信方法。In a twenty-fifth aspect, the present application provides a computer program product containing instructions. When the computer program product runs on a communication device, the communication device is caused to perform communication in any one of the fifteenth to twenty-second aspects or in any one of the possible implementation manners of the any one of the aspects. method.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是可以应用本申请实施例的通信方法的应用场景的示意图;FIG. 1 is a schematic diagram of an application scenario in which a communication method according to an embodiment of the present application can be applied; FIG.
图2是本申请一个实施例的通信方法的示意性流程图;2 is a schematic flowchart of a communication method according to an embodiment of the present application;
图3是本申请另一个实施例的通信方法的示意性流程图;3 is a schematic flowchart of a communication method according to another embodiment of the present application;
图4是本申请另一个实施例的通信方法的示意性流程图;4 is a schematic flowchart of a communication method according to another embodiment of the present application;
图5是本申请另一个实施例的通信方法的示意性流程图;5 is a schematic flowchart of a communication method according to another embodiment of the present application;
图6是本申请另一个实施例的通信方法的示意性流程图;6 is a schematic flowchart of a communication method according to another embodiment of the present application;
图7是本申请另一个实施例的通信方法的示意性流程图;7 is a schematic flowchart of a communication method according to another embodiment of the present application;
图8是本申请另一个实施例的通信方法的示意性流程图;8 is a schematic flowchart of a communication method according to another embodiment of the present application;
图9是本申请另一个实施例的通信方法的示意性流程图;FIG. 9 is a schematic flowchart of a communication method according to another embodiment of the present application; FIG.
图10是本申请另一个实施例的通信方法的示意性流程图;FIG. 10 is a schematic flowchart of a communication method according to another embodiment of the present application; FIG.
图11是本申请另一个实施例的通信方法的示意性流程图;11 is a schematic flowchart of a communication method according to another embodiment of the present application;
图12是本申请另一个实施例的通信方法的示意性流程图;FIG. 12 is a schematic flowchart of a communication method according to another embodiment of the present application; FIG.
图13是本申请另一个实施例的通信方法的示意性流程图;13 is a schematic flowchart of a communication method according to another embodiment of the present application;
图14是本申请另一个实施例的通信方法的示意性流程图;14 is a schematic flowchart of a communication method according to another embodiment of the present application;
图15是本申请另一个实施例的通信方法的示意性流程图;15 is a schematic flowchart of a communication method according to another embodiment of the present application;
图16是本申请另一个实施例的通信方法的示意性流程图;16 is a schematic flowchart of a communication method according to another embodiment of the present application;
图17是本申请另一个实施例的通信方法的示意性流程图;17 is a schematic flowchart of a communication method according to another embodiment of the present application;
图18是本申请一个实施例的通信装置的示意性结构图;18 is a schematic structural diagram of a communication device according to an embodiment of the present application;
图19是可以应用本申请实施例的通信方法的应用场景的示意图;19 is a schematic diagram of an application scenario in which a communication method according to an embodiment of the present application can be applied;
图20是本申请另一个实施例的通信方法的示意性流程图;20 is a schematic flowchart of a communication method according to another embodiment of the present application;
图21是本申请另一个实施例的通信方法的示意性流程图;21 is a schematic flowchart of a communication method according to another embodiment of the present application;
图22是本申请另一个实施例的通信方法的示意性流程图;22 is a schematic flowchart of a communication method according to another embodiment of the present application;
图23是本申请另一个实施例的通信方法的示意性流程图;23 is a schematic flowchart of a communication method according to another embodiment of the present application;
图24是本申请另一个实施例的通信方法的示意性流程图;FIG. 24 is a schematic flowchart of a communication method according to another embodiment of the present application; FIG.
图25是本申请另一个实施例的通信方法的示意性流程图;25 is a schematic flowchart of a communication method according to another embodiment of the present application;
图26是本申请另一个实施例的通信方法的示意性流程图;26 is a schematic flowchart of a communication method according to another embodiment of the present application;
图27是本申请另一个实施例的通信方法的示意性流程图;27 is a schematic flowchart of a communication method according to another embodiment of the present application;
图28是本申请另一个实施例的通信方法的示意性流程图;FIG. 28 is a schematic flowchart of a communication method according to another embodiment of the present application; FIG.
图29是本申请另一个实施例的通信方法的示意性流程图;FIG. 29 is a schematic flowchart of a communication method according to another embodiment of the present application; FIG.
图30是本申请另一个实施例的通信方法的示意性流程图;FIG. 30 is a schematic flowchart of a communication method according to another embodiment of the present application; FIG.
图31是本申请另一个实施例的通信方法的示意性流程图;FIG. 31 is a schematic flowchart of a communication method according to another embodiment of the present application; FIG.
图32是本申请另一个实施例的通信方法的示意性流程图;32 is a schematic flowchart of a communication method according to another embodiment of the present application;
图33是本申请另一个实施例的通信方法的示意性流程图。FIG. 33 is a schematic flowchart of a communication method according to another embodiment of the present application.
具体实施方式detailed description
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in this application will be described below with reference to the drawings.
如图1所示,可以应用本申请实施例的通信方法的应用场景中可以包括UE 101、接入网(access network,AN)设备102、UPF网元103、接入和移动性管理功能(access and mobility management function,AMF)网元104、SMF网元105、PCF网元106和TSN 107。As shown in FIG. 1, an application scenario in which the communication method of the embodiment of the present application can be applied may include UE 101, access network (AN) device 102, UPF network element 103, and access and mobility management functions (access and mobility management (AMF) network element 104, SMF network element 105, PCF network element 106, and TSN 107.
图1所示的通信系统可以是第五代(5 th generation,5G)通信网络。 Communication system shown in FIG. 1 may be a fifth-generation (5 th generation, 5G) communication network.
UE也可以称为终端设备。终端设备可以经AN设备与一个或多个核心网(core network,CN)进行通信。终端设备可称为接入终端、终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、无线网络设备、用户代理或用户装置。终端可以是蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless localloop,WLL)站、个人数字处理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它设备、车载设备、可穿戴设备或物联网、车辆网中的终端设备以及未来网络中的任意形态的终端设备等。The UE may also be called a terminal device. The terminal device can communicate with one or more core networks (CN) via the AN device. The terminal device may be referred to as an access terminal, a terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a wireless network device, a user agent, or a user device. Terminals can be cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital processing (personal digital assistant, PDA), handheld with wireless communication capabilities Devices, computing devices or other devices connected to wireless modems, in-vehicle devices, wearable devices or the Internet of Things, terminal devices in vehicle networks, and any form of terminal device in future networks.
AN设备可以是无线接入网(radio access network,RAN)设备。RAN设备的一种示例是基站(base station,BS)。The AN device may be a radio access network (RAN) device. An example of a RAN device is a base station (BS).
基站,也可称为基站设备,是一种将终端接入到无线网络的设备,包括但不限于:传输接收点(transmission reception point,TRP)、5G节点B(gNB)、演进型节点B(evolved node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved nodeB,或home node B,HNB)、基带单元(base band unit,BBU),或Wifi接入点(access point,AP),或小基站设备(pico)等。A base station, also known as a base station device, is a device that connects a terminal to a wireless network, including but not limited to: transmission reception point (TRP), 5G Node B (gNB), and evolved Node B ( evolved node (eNB), radio network controller (RNC), node B (NB), base station controller (BSC), base transceiver station (BTS), Home base station (for example, home nodeB, or home nodeB, HNB), baseband unit (BBU), or Wifi access point (AP), or small base station equipment (pico).
应理解,本文对基站的具体类型不作限定。采用不同无线接入技术的系统中,具备基站功能的设备的名称可能会有所不同。为方便描述,本申请所有实施例中,上述为终端提供无线通信功能的装置统称为基站。It should be understood that the specific types of base stations are not limited herein. In systems with different wireless access technologies, the names of base station-capable devices may vary. For convenience of description, in all embodiments of the present application, the above-mentioned devices that provide wireless communication functions for terminals are collectively referred to as base stations.
UPF网元具有终端设备的报文转发、封装和统计等功能。UPF network elements have functions such as packet forwarding, encapsulation, and statistics for terminal devices.
AMF网元负责终端设备的接入和移动性管理。例如,负责UE位置更新、UE注册网络或UE切换等。The AMF network element is responsible for the access and mobility management of the terminal equipment. For example, it is responsible for UE location update, UE registration network, or UE handover.
SMF网元负责UPF网元的选择、重选,互联网协议(internet protocol,IP)地址的分配等,还可以负责会话的建立、修改和释放等。The SMF network element is responsible for the selection and reselection of UPF network elements, the allocation of Internet protocol (IP) addresses, etc., and may also be responsible for the establishment, modification, and release of sessions.
PCF网元用于实现包括管理网络行为的统一策略框架、为控制面提供需要执行的策略规则以及获取与策略决策相关的订阅信息等功能。PCF network elements are used to implement functions including a unified policy framework for managing network behavior, providing control planes with policy rules to be executed, and obtaining subscription information related to policy decisions.
TSN具有受控的时延、抖动、带宽和可靠性等约束特性。TSN在任何情况下都可以满足有界的端到端时延和抖动以及高可靠性的要求。TSN has controlled constraints such as delay, jitter, bandwidth, and reliability. TSN can meet the requirements of bounded end-to-end delay and jitter and high reliability in any case.
应理解,本申请实施例并不限于图1所示的系统架构中。例如,可以应用本申请实施例的通信方法的通信系统中可以包括更多或更少的网元或设备。图1中的设备或网元可以是硬件,也可以是从功能上划分的软件或者以上二者的结合。图1中的设备或网元之间可以通过其他设备或网元通信。It should be understood that the embodiments of the present application are not limited to the system architecture shown in FIG. 1. For example, a 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 FIG. 1 may be hardware, software divided by functions, or a combination of the two. The devices or network elements in FIG. 1 can communicate with each other through other devices or network elements.
图1所示的通信系统中,UE可以作为流服务接受者,接收来自TSN的流服务提供者 发送的流;或者,UE可以作为流服务提供者,向TSN中的流服务接受者发送流。In the communication system shown in FIG. 1, the UE may serve as a stream service receiver and receive a stream sent from a stream service provider of the TSN; or, the UE may serve as a stream service provider and send a stream to the stream service receiver in the TSN.
其中,UPF网元作为TSN与3GPP网络的边界,可以具备TSN中的网桥的基本功能。例如,UPF网元可以处理来自TSN的流预留协议(Stream Reservation Protocol,SRP)消息。Among them, the UPF network element, as the boundary between the TSN and the 3GPP network, can have the basic functions of a bridge in the TSN. For example, the UPF network element can process Stream Reservation Protocol (Stream Reservation Protocol, SRP) messages from the TSN.
例如,UE可以接收来自TSN中的流服务提供者发送的URLLC流,或,UE可以向TSN中的流服务接受者发送URLLC流。For example, the UE may receive a URLLC stream sent from a streaming service provider in the TSN, or the UE may send a URLLC stream to a streaming service recipient in the TSN.
本申请实施例中所涉及的流可以是服务质量(quality of service,QoS)流。该QoS流可以是具有确定性传输需求的QoS流。The flows involved in the embodiments of the present application may be quality of service (QoS) flows. The QoS flow may be a QoS flow with deterministic transmission requirements.
本申请一个实施例的通信方法的示意性流程图如图2所示。应理解,图2示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图2中的各个操作的变形。A schematic flowchart of a communication method according to an embodiment of the present application is shown in FIG. 2. It should be understood that FIG. 2 shows the steps or operations of the communication method, but these steps or operations are merely examples, and the embodiment of the present application may also perform other operations or a modification of each operation in FIG. 2.
S201,UPF网元从TSN接收流的第一时延信息,第一时延信息用于指示流从TSN中的流服务提供者传输至UPF网元的第一时延。或者可以说,第一时延是该流从TSN中的流服务提供者传输至该UPF网元的累计时延(AccumulatedLatency)。S201. The UPF network element receives the first delay information of the flow from the TSN, and the first delay information is used to indicate the first delay of the flow from the stream service provider in the TSN to the UPF network element. In other words, the first delay is the accumulated delay (AccumulatedLatency) of the flow transmitted from the stream service provider in the TSN to the UPF network element.
其中,所述流服务提供者是指提供流的主机或服务器,是流的源(Source)。The stream service provider refers to a host or a server that provides the stream, and is a source of the stream.
该UPF网元可以是图1中的UPF网元103,该TSN可以是图1中的TSN 107。The UPF network element may be the UPF network element 103 in FIG. 1, and the TSN may be the TSN 107 in FIG. 1.
第一时延信息可以携带在流服务提供者广播声明(Talk Advertise Declaration)消息中。流服务提供者广播声明消息可以用于广播流对应的QoS需求。The first delay information may be carried in a Talk Advertisement (Declaration) message of the streaming service provider. The streaming service provider broadcast announcement message can be used to broadcast the QoS requirements corresponding to the stream.
流服务提供者广播声明消息中除了可以携带第一时延信息,还可以携带流标识(stream identity,Stream ID)。此外,流服务提供者广播声明消息中还可以携带以下一种或多种信息:目标地址(destination_address)、源地址(source_address)、最大帧的大小(MaxFrameSize)、最大帧间隔(MaxIntervalFrames)、帧的优先级(PriorityAndRank)、流的单个帧从Talker传输到Listener的最大允许时延、流的可靠性需求或资源预留失败原因(FailureInformation)。In addition to the first delay information, the broadcast announcement message of the stream service provider may also carry a stream identity (stream identity). In addition, the broadcast service broadcast announcement message can also carry one or more of the following information: destination address (destination_address), source address (source_address), maximum frame size (MaxFrameSize), maximum frame interval (MaxIntervalFrames), frame The priority (PriorityAndRank), the maximum allowable delay in transmitting a single frame of a stream from the Talker to the Listener, the reliability requirement of the stream, or the reason for the failure of resource reservation (FailureInformation).
S202,UPF网元向SMF网元发送第一时延信息。相应地,SMF网元从UPF网元接收第一时延信息。S202. The UPF network element sends the first delay information to the SMF network element. Accordingly, the SMF network element receives the first delay information from the UPF network element.
该SMF网元可以是图1中的SMF网元105。The SMF network element may be the SMF network element 105 in FIG. 1.
UPF网元可以将其从TSN接收的流服务提供者广播声明消息转发给SMF网元。该流服务提供者广播声明消息中携带了第一时延信息。The UPF network element may forward the broadcast service broadcast message it receives from the TSN to the SMF network element. The streaming service provider broadcast announcement message carries first delay information.
当然,UPF网元也可以从流服务提供者广播声明消息中获取第一时延信息,然后在其他消息中携带第一时延信息发送给SMF网元。本申请实施例对UPF网元向SMF网元发送第一时延信息的方式不作限制。Of course, the UPF network element may also obtain the first delay information from the broadcast service provider broadcast announcement message, and then send the first delay information to the SMF network element in other messages. This embodiment of the present application does not limit the manner in which the UPF network element sends the first delay information to the SMF network element.
S203,SMF网元根据流的PCC规则确定流从UPF网元传输至UE的第三时延。S203. The SMF network element determines, according to the PCC rule of the flow, a third delay in transmitting the flow from the UPF network element to the UE.
该UE可以是图1中的UE 101。第三时延可以是流从UPF网元传输至UE的最大传输时延。The UE may be UE 101 in FIG. 1. The third delay may be a maximum transmission delay of the flow transmission from the UPF network element to the UE.
其中,所述PCC规则是与策略和计费相关的规则。The PCC rules are rules related to policies and charging.
例如,SMF网元根据PCC规则确定流对应的5G QoS标识(5G QoS identifier,5QI),进一步确定5QI对应的UPF和UE之间的包时延预算(packet delay budget,PDB)。该PDB作为流从UPF传输至UE的最大传输时延。For example, the SMF network element determines the 5G QoS identifier (5G QoS identifier) corresponding to the flow according to the PCC rule, and further determines the packet delay budget (PDB) between the UPF corresponding to the 5QI and the UE. The maximum transmission delay of the PDB as a stream transmitted from the UPF to the UE.
或者,SMF网元从UE接收流的信息后,根据该流的信息获取流的PCC规则,根据流的PCC规则确定流对应的5QI,并向UPF发送该5QI,UPF根据5QI确定5QI对应的UPF和UE之间的PDB。该PDB作为流从UPF网元传输至UE的最大传输时延。Alternatively, after receiving the flow information from the UE, the SMF network element obtains the PCC rules of the flow according to the flow information, determines the 5QI corresponding to the flow according to the PCC rules of the flow, and sends the 5QI to the UPF. The UPF determines the UPF corresponding to the 5QI according to the 5QI. And the PDB between the UE. The maximum transmission delay of the PDB as a stream transmitted from the UPF network element to the UE.
S204,SMF网元根据流从TSN中的流服务提供者传输至UPF网元的第一时延和流从UPF网元传输至UE的第三时延,确定流从TSN中的流服务提供者传输至UE的第二时延。S204. The SMF network element determines the flow from the flow service provider in the TSN according to the first delay in which the flow is transmitted from the flow service provider in the TSN to the UPF network element and the third delay in which the flow is transmitted from the UPF network element to the UE. Second delay for transmission to the UE.
其中,SMF网元先从第一时延信息中获取第一时延信息所指示的第一时延,然后再根据第一时延和该第三时延确定第二时延。The SMF network element first obtains the first delay indicated by the first delay information from the first delay information, and then determines the second delay according to the first delay and the third delay.
SMF网元根据第一时延和该第三时延确定第二时延的一种可能的实现方式中可以包括:SMF网元将第一时延与该第三时延之和,确定为第二时延。A possible implementation manner that the SMF network element determines the second delay according to the first delay and the third delay may include: the SMF network element determines the sum of the first delay and the third delay as the first Two delays.
当然,SMF网元也可以通过其他方式根据第一时延和该第三时延确定第二时延。例如,SMF网元将第一时延与该第三时延相加之后,可以对相加所得的和进行修正(例如,加上一个指定或默认的值,如加上UPF对流的处理时延),从而得到第二时延。本申请实施例对根据第一时延和该第三时延确定第二时延的方式不作限定。Of course, the SMF network element may determine the second delay according to the first delay and the third delay in other ways. For example, after the SMF network element adds the first delay to the third delay, the sum obtained by the addition may be modified (for example, a specified or default value is added, such as a processing delay of UPF convection). ) To get the second delay. The embodiment of the present application does not limit the manner of determining the second delay according to the first delay and the third delay.
S205,SMF网元向UPF网元发送第二时延信息,第二时延信息用于指示第二时延。S205. The SMF network element sends the second delay information to the UPF network element, and the second delay information is used to indicate the second delay.
例如,SMF网元确定第二时延之后,可以将SMF网元从UPF网元接收的流服务提供者广播声明消息中的第一时延信息修改为第二时延信息,从而可以将流服务提供者广播声明消息中记录的第一时延修改为第二时延。然后,SMF网元可以向UPF网元发送修改后的流服务提供者广播声明消息中。For example, after the SMF network element determines the second delay, the first delay information in the broadcast service broadcast message received by the SMF network element from the UPF network element can be modified to the second delay information, so that the streaming service can be modified. The first delay recorded in the provider broadcast announcement message is modified to the second delay. Then, the SMF network element may send the modified streaming service provider broadcast announcement message to the UPF network element.
也就是说,SMF网元可以通过流服务提供者广播声明消息向UPF网元发送第二时延信息。这样,UPF网元可以通过向UE转发该流服务提供者广播声明消息来向UE发送第二时延信息。That is, the SMF network element may send the second delay information to the UPF network element through a broadcast service provider broadcast announcement message. In this way, the UPF network element can send the second delay information to the UE by forwarding the broadcast service provider broadcast announcement message to the UE.
或者,SMF网元可以向UPF网元发送携带第二延时信息的流服务接受者准备(Listen Ready)消息,即通过流服务接受者消息向UPF网元发送第二时延信息。这样,UPF网元可以通过向TSN发送该流服务接受者消息来发送第二时延信息。Alternatively, the SMF network element may send a streaming service receiver preparation (Listen Ready) message carrying the second delay information to the UPF network element, that is, send the second delay information to the UPF network element through the streaming service receiver message. In this way, the UPF network element can send the second delay information by sending the stream service recipient message to the TSN.
S206,UPF网元向UE发送第二时延信息。UE从UPF网元接收第二时延信息后,可以判断第二时延是否已超过流从TSN中的流服务提供者传输至流服务接受者之间的最大传输时延需求。S206. The UPF network element sends the second delay information to the UE. After receiving the second delay information from the UPF network element, the UE can determine whether the second delay has exceeded the maximum transmission delay requirement between the transmission of the stream service provider to the stream service receiver in the TSN.
UPF网元向UE发送第二时延信息的同时,还可以发送流的标识信息。When the UPF network element sends the second delay information to the UE, it may also send flow identification information.
例如,UPF网元可以将其在S205中从SMF网元接收的流服务提供者广播声明消息转发给UE,该消息中携带第二时延信息和流的标识信息。For example, the UPF network element may forward the stream service provider broadcast announcement message that it received from the SMF network element in S205 to the UE, where the message carries the second delay information and the flow identification information.
应理解,UPF网元可以根据SMF网元的指示确定是向SMF网元还是向UE发送流服务提供者广播声明消息。It should be understood that the UPF network element may determine whether to send a stream service provider broadcast announcement message to the SMF network element or to the UE according to the instruction of the SMF network element.
应理解,S206不是必须要执行的步骤。也就是说,UPF网元可以不向UE发送第二时延信息。It should be understood that S206 is not a necessary step. That is, the UPF network element may not send the second delay information to the UE.
例如,如果第一时延已经超过了流从TSN中的流服务提供者传输至流服务接受者之间的最大传输时延需求,UPF网元可以不给UE发送第二时延信息。For example, if the first delay has exceeded the maximum transmission delay requirement between the transmission of the stream service provider to the stream service receiver in the TSN, the UPF network element may not send the second delay information to the UE.
本申请实施例的通信方法中,SMF网元根据PCC规则确定流从UPF网元传输至UE的最大传输时延,并将该最大传输时延作为流从UPF网元传输至UE的累计时延,以使SMF网元可以根据该最大传输时延流和该流从TSN中的流提供者传输至UPF网元的第一 时延确定该流从TSN中的流服务提供者传输至UE的第二时延,进而可以在3GPP网络与TSN的互通的通信网络中根据该第二时延确定可以保证该流的QoS,可以传输该流。In the communication method in the embodiment of the present application, the SMF network element determines the maximum transmission delay of the stream from the UPF network element to the UE according to the PCC rule, and uses the maximum transmission delay as the cumulative delay of the stream from the UPF network element to the UE. So that the SMF network element can determine the first time that the stream is transmitted from the stream service provider in the TSN to the UE according to the maximum transmission delay stream and the first delay in which the stream is transmitted from the stream provider in the TSN to the UPF network element. The two delays can further determine that the QoS of the stream can be guaranteed and the stream can be transmitted according to the second delay in a communication network in which the 3GPP network and the TSN are interoperable.
另外,根据本申请的方案,SMF网元将根据PCC规则确定流从UPF网元传输至UE的最大传输时延作为流从UPF网元传输至UE的累计时延。然而,在现有技术中,要在UPF网元至UE之间的两两相邻节点之间做时钟同步,最终实现UPF网元至UE之间所有节点的时钟同步,从而在UPF网元至UE的所有传输节点上支持TSN网络以计算流从UPF网元传输至UE的累计时延。本申请的方案与现有技术的方法相比,方案简单,容易实现。In addition, according to the solution of this application, the SMF network element will determine the maximum transmission delay of the flow from the UPF network element to the UE according to the PCC rule as the cumulative delay of the flow from the UPF network element to the UE. However, in the prior art, clock synchronization needs to be performed between two adjacent nodes between the UPF network element and the UE, and finally the clock synchronization of all nodes between the UPF network element and the UE is achieved, so that the UPF network element reaches the All transmission nodes of the UE support the TSN network to calculate the cumulative delay of the stream being transmitted from the UPF network element to the UE. Compared with the method of the prior art, the scheme of the present application has a simple scheme and is easy to implement.
本申请另一个实施例的通信方法的示意性流程图如图3所示。应理解,图3示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图3中的各个操作的变形。此外,图3中的各个步骤可以按照与图3呈现的不同的顺序来执行,并且有可能并非要执行图3中的全部操作。A schematic flowchart of a communication method according to another embodiment of the present application is shown in FIG. 3. It should be understood that FIG. 3 illustrates steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 3. In addition, each step in FIG. 3 may be performed in a different order than that presented in FIG. 3, and it may not be necessary to perform all operations in FIG. 3.
S301,UPF网元从TSN接收第一时延信息,第一时延信息用于指示流从TSN的流服务提供者传输至UPF网元的第一时延。S301. The UPF network element receives the first delay information from the TSN, and the first delay information is used to indicate the first delay of the flow from the TSN stream service provider to the UPF network element.
该步骤可以参考S201,此处不再赘述。This step can be referred to S201, which is not repeated here.
S302,UPF网元向SMF网元发送第一时延信息。相应地,SMF网元从UPF网元接收第一时延信息。S302. The UPF network element sends the first delay information to the SMF network element. Accordingly, the SMF network element receives the first delay information from the UPF network element.
该步骤可以参考S202,此处不再赘述。For this step, refer to S202, and details are not described herein again.
S303,SMF网元从策略控制功能(policy control function,PCF)网元获取流对应的PCC规则。S303. The SMF network element obtains a PCC rule corresponding to the flow from a policy control function (policy control function (PCF) network element).
例如,SMF网元向PCF网元发送流的信息,PCF网元从SMF网元接收流的信息;PCF网元根据流的信息确定流对应的PCC规则,该PCC规则中可以包括流对应的5QI;SMF网元从PCF网元接收流对应的PCC规则。For example, the SMF network element sends flow information to the PCF network element, and the PCF network element receives the flow information from the SMF network element; the PCF network element determines the PCC rule corresponding to the flow according to the flow information, and the PCC rule may include the 5QI corresponding to the flow ; The SMF network element receives the PCC rule corresponding to the flow from the PCF network element.
例如,PCC网元根据流的信息确定流对应的PCC规则,包括:PCC网元根据SMF网元发送的流的信息,确定流的带宽需求、时延需求或流的可靠性需求中的至少一项,根据UE的签约信息,生成UE的该流的PCC规则。For example, the PCC network element determines the PCC rule corresponding to the flow according to the flow information, including: the PCC network element determines at least one of a bandwidth requirement, a delay requirement, or a flow reliability requirement of the flow according to the flow information sent by the SMF network element. Item, generating a PCC rule for the flow of the UE according to the subscription information of the UE.
SMF网元向PCF网元发送的流的信息可以包括以下一项或多项:流的标识ID,流的源地址和目的地址,传输流的最大帧的大小和用于传输流的帧之间的间隔,流的优先级流的单个帧从Talker传输到Listener的最大允许时延,或流的可靠性需求。The flow information sent by the SMF network element to the PCF network element may include one or more of the following: the flow ID, the source address and the destination address of the flow, the maximum frame size of the transport stream, and the frame used for the transport stream. Interval, the priority of the stream, the maximum allowable delay for a single frame of the stream from the Talker to the Listener, or the reliability requirements of the stream.
也就是说,SMF网元可以向PCF网元发送上述一种或多种信息,以便于PCF网元可以根据这一种或多种信息确定并向SMF网元返回对应的PCC规则。That is, the SMF network element can send one or more of the above information to the PCF network element, so that the PCF network element can determine and return the corresponding PCC rule to the SMF network element based on the one or more information.
可选地,本申请实施例的通信方法中可以不执行S303。Optionally, S303 may not be performed in the communication method in the embodiment of the present application.
例如,可以在SMF网元上本地配置PCC规则,SMF网元根据上述流的信息,匹配对应的PCC规则。又如,SMF网元从PCF网元获取流对应的PCC规则后,可以缓存该PCC规则。这样,下一次SMF网元需要使用该流对应的PCC规则时,可以直接从SMF网元上获取,而不用执行S303,从而可以提高效率。For example, a PCC rule may be configured locally on the SMF network element, and the SMF network element matches the corresponding PCC rule according to the above-mentioned flow information. For another example, after the SMF network element obtains the PCC rule corresponding to the flow from the PCF network element, it can cache the PCC rule. In this way, the next time the SMF network element needs to use the PCC rule corresponding to the flow, it can be obtained directly from the SMF network element without executing S303, which can improve efficiency.
S304,SMF网元根据流的PCC规则确定流从UPF网元传输至UE的第三时延。该步骤可以参考S203,此处不再赘述。S304. The SMF network element determines, according to the PCC rule of the flow, a third delay in transmitting the flow from the UPF network element to the UE. For this step, refer to S203, and details are not described herein again.
S305,SMF网元根据S304中确定的第三时延和第一时延信息指示的第一时延,确定流从TSN的流服务提供者传输至UE的第二时延。S305. The SMF network element determines a second delay for transmitting the stream from the TSN's streaming service provider to the UE according to the third delay determined in S304 and the first delay indicated by the first delay information.
该步骤可以参考S204,此处不再赘述。This step may refer to S204, and is not repeated here.
S306,SMF网元根据流对应的PCC规则确定能否为该流预留带宽资源。若SMF网元根据流对应的PCC规则确定能为该流预留带宽资源,则可以执行S307,否则可以执行图7中的通信方法。S306. The SMF network element determines whether to reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow. If the SMF network element determines that a bandwidth resource can be reserved for the flow according to the PCC rule corresponding to the flow, S307 may be performed; otherwise, the communication method in FIG. 7 may be performed.
SMF网元根据流对应的PCC规则确定能否为该流预留带宽资源,可以理解为:SMF网元根据流对应的PCC规则确定核心网和无线接入网能否满足流的带宽需求和时延需求。The SMF network element determines whether the bandwidth resource can be reserved for the flow according to the PCC rule corresponding to the flow. It can be understood that the SMF network element determines whether the core network and the wireless access network can meet the bandwidth demand and time of the flow according to the PCC rule corresponding to the flow. Delay demand.
SMF网元根据流对应的PCC规则确定核心网和无线接入网能否为该流预留带宽资源可以包括:SMF网元根据流对应的PCC规则确定流的带宽需求,并确定核心网和无线接入网能否满足该流的带宽需求和时延需求。The SMF network element determines whether the core network and the radio access network can reserve bandwidth resources for the flow according to the PCC rules corresponding to the flow may include: the SMF network element determines the bandwidth requirements of the flow according to the PCC rules corresponding to the flow, and determines the core network and wireless Whether the access network can meet the bandwidth requirements and delay requirements of this flow.
SMF网元根据流对应的PCC规则确定核心网和无线接入网能否满足流的带宽需求和时延需求可以包括:SMF网元根据流对应的PCC规则确定UPF网元能否满足流的带宽需求和/或时延需求。The SMF network element determines whether the core network and the wireless access network can meet the bandwidth and delay requirements of the flow according to the PCC rules corresponding to the flow. The SMF network element can determine whether the UPF network element can satisfy the flow bandwidth according to the PCC rules corresponding to the flow. Demand and / or latency requirements.
可选地,本申请实施例的方法中,可以不执行S306,即SMF网元在S305中确定第二时延后,可以直接执行S307。Optionally, in the method in the embodiment of the present application, S306 may not be performed, that is, the SMF network element may directly execute S307 after determining the second delay in S305.
S307,SMF网元向UPF网元发送第二时延信息,第二时延信息用于指示第二时延。其中,SMF网元可以同时向UPF网元发送流的标识信息。S307. The SMF network element sends the second delay information to the UPF network element, and the second delay information is used to indicate the second delay. Among them, the SMF network element can simultaneously send flow identification information to the UPF network element.
例如,SMF网元可以将SMF网元在S302中从UPF网元接收的流服务提供者广播声明消息中的第一时延信息修改为第二时延信息,从而可以将流服务提供者广播声明消息中记录的第一时延修改为第二时延。然后,SMF网元可以向UPF网元发送修改后的流服务提供者广播声明消息。For example, the SMF network element may modify the first delay information in the stream service provider broadcast announcement message received by the SMF network element from the UPF network element in S302 to the second delay information, so that the stream service provider broadcast announcement may be The first delay recorded in the message is modified to the second delay. Then, the SMF network element may send the modified streaming service provider broadcast announcement message to the UPF network element.
S308,UPF网元向UE发送第二时延信息。相应地,UE从UPF网元接收第二时延信息。其中,SMF网元可以同时向UPF网元发送流的标识信息。S308. The UPF network element sends the second delay information to the UE. Accordingly, the UE receives the second delay information from the UPF network element. Among them, the SMF network element can simultaneously send flow identification information to the UPF network element.
例如,UPF网元可以向UE转发在S307中从SMF网元接收的流服务提供者广播声明消息。For example, the UPF network element may forward the streaming service provider broadcast announcement message received from the SMF network element in S307 to the UE.
可选地,本申请实施例的通信方法中,可以不执行S308。相对应地,也就可以不执行S309至S311。Optionally, in the communication method in the embodiment of the present application, S308 may not be performed. Correspondingly, S309 to S311 may not be performed.
S309,UE根据从S308中接收的第二时延信息确定第二时延能否满足该流的延时需求。S309. The UE determines whether the second delay can meet the delay requirement of the flow according to the second delay information received from S308.
例如,该流的时延需求可以是该流的单个帧从流服务提供者传输到流服务接受者的最大允许时延,该流的时延需求可以作为流的信息携带在流服务提供者广播声明消息中。For example, the delay requirement of the stream may be the maximum allowable delay in transmitting a single frame of the stream from the stream service provider to the stream service receiver. The delay requirement of the stream may be carried on the stream service provider as the stream information and broadcast. Statement message.
如果确定第二时延能满足该流的延时需求,则可以执行S310;否则UE可以向UPF网元发起流服务接受者询问失败声明(Listener Asking Failed declaration)消息,然后,UPF网元将流服务接受者询问失败声明消息转发给TSN中的流服务提供者。If it is determined that the second delay can meet the delay requirement of the flow, S310 may be performed; otherwise, the UE may initiate a flow service receiver inquiry request for a failure declaration message from the UPF network element, and then the UPF network element sends the flow The service receiver asks the failure declaration message and forwards it to the streaming service provider in the TSN.
可选地,UE还可以确定是否对该流感兴趣。如果确定感兴趣且确定第二时延能满足该流的延时需求,则可以执行S310;否则UE可以向UPF网元发起流服务接受者询问失败声明消息,然后,UPF网元将流服务接受者询问失败声明消息转发给TSN中的流服务提供者。Optionally, the UE may also determine whether the stream is interested. If it is determined that it is of interest and it is determined that the second delay can meet the delay requirement of the flow, S310 may be performed; otherwise, the UE may initiate a flow service receiver to the UPF network element to query the failure declaration message, and then the UPF network element accepts the flow service. The requester forwards the failure declaration message to the streaming service provider in the TSN.
UE是否感兴趣是指UE是否愿意接收这个流。例如,UE可以向用户提示是否需要接收该流,并根据用户的输入确定是否需要接收该流。若用户选择需要接收该流,则UE确 定感兴趣,否则确定不感兴趣。Whether the UE is interested refers to whether the UE is willing to receive this stream. For example, the UE may prompt the user whether the stream needs to be received, and determine whether the stream needs to be received according to the user's input. If the user chooses to receive the stream, the UE is definitely interested, otherwise it is not interested.
S310,UE向UPF网元发送消息,指示UE可以接收该流。该消息中可以包括流的标识信息,可选的,该消息中还可以包括第二时延信息。S310: The UE sends a message to the UPF network element, indicating that the UE can receive the stream. The message may include flow identification information. Optionally, the message may further include second delay information.
例如,UE可以向UPF网元发送流服务接受者准备(Listener Ready)消息,该消息中包括流的标识信息和第二时延信息。For example, the UE may send a Stream Service Receiver Ready (Listener Ready) message to the UPF network element, and the message includes flow identification information and second delay information.
S311,UPF网元向SMF网元发送UPF网元在S310中从UE接收的消息,指示UE可以接收该流。S311. The UPF network element sends the message received by the UPF network element from the UE in S310 to the SMF network element, indicating that the UE can receive the stream.
例如,UPF网元可以向SMF网元转发UPF网元在S310中从UE接收的流服务接受者准备消息。For example, the UPF network element may forward the stream service recipient preparation message received by the UPF network element from the UE in S310 to the SMF network element.
S312,SMF网元向UPF网元发送流的带宽需求信息。此外,SMF网元还可以更新UPF网元的信用调度参数。S312: The SMF network element sends the bandwidth requirement information of the flow to the UPF network element. In addition, the SMF network element can also update the credit scheduling parameters of the UPF network element.
UPF网元从SMF网元接收流的带宽需求消息后,可以根据该带宽需求信息为该流预留带宽资源,从而可以使得该流传输至UPF网元时,UPF网元上可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。After the UPF network element receives the bandwidth demand message of the stream from the SMF network element, it can reserve bandwidth resources for the stream according to the bandwidth demand information, so that when the stream is transmitted to the UPF network element, the UPF network element can have the corresponding bandwidth. Resources to transmit the stream, which can further improve the transmission reliability of the stream.
可选地,本申请实施例的通信方法中,可以不执行S312。即可以不用提前在UPF网元上为该流预留带宽资源。Optionally, in the communication method in the embodiment of the present application, S312 may not be performed. That is, it is not necessary to reserve bandwidth resources for the flow on the UPF network element in advance.
S313,SMF网元向UE对应的AN设备发送流的带宽需求信息,以指示AN设备为流预留带宽资源。S313. The SMF network element sends the bandwidth requirement information of the flow to the AN device corresponding to the UE, so as to instruct the AN device to reserve bandwidth resources for the flow.
该AN设备从SMF网元接收该带宽需求信息后,可以根据该带宽需求信息为该流预留带宽资源,以使得接入网中可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。After the AN device receives the bandwidth demand information from the SMF network element, it can reserve bandwidth resources for the stream according to the bandwidth demand information, so that the access network can have corresponding bandwidth resources to transmit the stream, which can further improve the flow. Transmission reliability.
应理解,该实现方式中,UE对应的AN设备是指为UE提供接入网服务的设备。It should be understood that, in this implementation manner, the AN device corresponding to the UE refers to a device that provides access network services for the UE.
可选地,本申请实施例的通信方法中,可以不执行S313。即可以不用提前在AN设备上为该流预留带宽资源。Optionally, in the communication method according to the embodiment of the present application, S313 may not be performed. That is, it is not necessary to reserve bandwidth resources for the stream on the AN device in advance.
若本申请实施例的通信方法中不执行S313,相应地,也可以不执行S314和S315。If S313 is not performed in the communication method in the embodiment of the present application, S314 and S315 may not be performed correspondingly.
S314,AN设备向SMF网元发送第一信息,第一信息用于指示接入网设备根据流的带宽需求信息为流预留带宽资源是否成功。S314. The AN device sends first information to the SMF network element, and the first information is used to indicate whether the access network device successfully reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
可选地,该通信方法中,在执行S313的情况下,也可以不执行S314和S315。Optionally, in the communication method, when S313 is performed, S314 and S315 may not be performed.
S315,若SMF网元从AN设备接收第一信息,并且第一信息指示AN设备为流预留资源成功,则SMF网元向UPF网元发送指示资源预留成功的信息。S315. If the SMF network element receives the first information from the AN device, and the first information indicates that the AN device successfully reserves resources for the stream, the SMF network element sends a message indicating that the resource reservation succeeds to the UPF network element.
若第一信息指示所述AN设备为流预留资源失败,可以执行图7中所示的通信方法。If the first information indicates that the AN device fails to reserve resources for the flow, the communication method shown in FIG. 7 may be performed.
S316,UPF网元向TSN发送流的标识信息和第二时延信息。S316. The UPF network element sends flow identification information and second delay information to the TSN.
例如,若该通信方法中还执行了S310,则UPF网元可以向TSN转发UPF网元在S310中从UE接收到的流服务接受者准备消息,该流服务接受者准备消息中携带流的标识信息和第二时延信息。For example, if S310 is also performed in the communication method, the UPF network element may forward the stream service receiver preparation message received by the UPF network element from the UE in S310 to the TSN, and the stream service receiver preparation message carries the flow identifier. Information and second delay information.
例如,若该通信方法中,没有执行S310,则UPF网元可以向TSN发送UPF网元在S307中从SMF网元接收的流的标识信息和第二时延信息。For example, if S310 is not performed in the communication method, the UPF network element may send the TSF network element identification information and second delay information of the stream received by the UPF network element from the SMF network element in S307.
例如,若该通信方法中执行了S315,则UPF网元从SMF网元接收到指示资源预留成功的信息后,向TSN发送流的标识信息和第二时延信息。For example, if S315 is performed in the communication method, the UPF network element receives the information indicating that the resource reservation is successful from the SMF network element, and then sends flow identification information and second delay information to the TSN.
例如,若该通信方法中没有执行S315,则UPF网元从SMF网元接收到流的标识信息和第二时延信息后,可以向TSN发送流的标识信息和第二时延信息。For example, if S315 is not performed in this communication method, after the UPF network element receives the flow identification information and the second delay information from the SMF network element, it may send the flow identification information and the second delay information to the TSN.
应理解,本申请实施例中的通信方法中,并不限定S306的执行顺序。例如,S306可以位于S305之前,或者,S306可以位于S304之前。It should be understood that, in the communication method in the embodiment of the present application, the execution sequence of S306 is not limited. For example, S306 may precede S305, or S306 may precede S304.
应理解,本申请实施例中的通信方法中,并不限定S312的执行顺序。只需要满足S312位于S306之后即可。It should be understood that, in the communication method in the embodiment of the present application, the execution sequence of S312 is not limited. It only needs to satisfy S312 after S306.
应理解,本申请实施例中的通信方法中,并不限定S313的执行顺序。只需要满足S313位于S306之后,且位于S314之前即可。It should be understood that, in the communication method in the embodiment of the present application, the execution sequence of S313 is not limited. It only needs to satisfy that S313 is located after S306 and before S314.
图4为本申请另一个实施例的通信方法的示意性流程图。应理解,图4示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图4中的各个操作的变形。此外,图4中的各个步骤可以按照与图4呈现的不同的顺序来执行,并且有可能并非要执行图4中的全部操作。FIG. 4 is a schematic flowchart of a communication method according to another embodiment of the present application. It should be understood that FIG. 4 shows the steps or operations of the communication method, but these steps or operations are merely examples, and the embodiment of the present application may also perform other operations or a modification of each operation in FIG. 4. In addition, each step in FIG. 4 may be performed in a different order than that presented in FIG. 4, and it is possible that not all operations in FIG. 4 are to be performed.
S401-S405,可以参考S301-S305,此处不再赘述。For S401-S405, you can refer to S301-S305, which will not be repeated here.
S406,SMF网元根据流对应的PCC规则确定能否为该流预留带宽资源。若SMF网元根据流对应的PCC规则确定能为该流预留带宽资源,则可以执行S407,否则可以执行图7中的通信方法。S406. The SMF network element determines whether to reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow. If the SMF network element determines that a bandwidth resource can be reserved for the flow according to the PCC rule corresponding to the flow, S407 may be performed; otherwise, the communication method in FIG. 7 may be performed.
SMF网元根据流对应的PCC规则确定能否为该流预留带宽资源,可以理解为:SMF网元根据流对应的PCC规则确定核心网和无线接入网能否满足流的带宽需求。The SMF network element determines whether a bandwidth resource can be reserved for the flow according to the PCC rule corresponding to the flow. It can be understood that the SMF network element determines whether the core network and the wireless access network can meet the bandwidth requirement of the flow according to the PCC rule corresponding to the flow.
SMF网元根据流对应的PCC规则确定核心网和无线接入网能否为该流预留带宽资源可以包括:SMF网元根据流对应的PCC规则确定流的带宽需求,并确定核心网和无线接入网能否满足该流的带宽需求。The SMF network element determines whether the core network and the radio access network can reserve bandwidth resources for the flow according to the PCC rules corresponding to the flow may include: the SMF network element determines the bandwidth requirements of the flow according to the PCC rules corresponding to the flow, and determines the core network and wireless Whether the access network can meet the bandwidth requirements of this flow.
S407,SMF网元向UPF网元发送流的带宽需求信息。此外,SMF网元还可以更新UPF网元的信用调度参数。S407. The SMF network element sends the bandwidth requirement information of the flow to the UPF network element. In addition, the SMF network element can also update the credit scheduling parameters of the UPF network element.
UPF网元从SMF网元接收流的带宽需求消息后,可以根据该带宽需求信息为该流预留带宽资源,从而可以使得该流传输至UPF网元时,UPF网元上可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。After the UPF network element receives the bandwidth demand message of the stream from the SMF network element, it can reserve bandwidth resources for the stream according to the bandwidth demand information, so that when the stream is transmitted to the UPF network element, the UPF network element can have the corresponding bandwidth. Resources to transmit the stream, which can further improve the transmission reliability of the stream.
S408,SMF网元向UE对应的AN设备发送流的带宽需求信息,以指示AN设备为流预留带宽资源。S408. The SMF network element sends the bandwidth requirement information of the flow to the AN device corresponding to the UE, so as to instruct the AN device to reserve bandwidth resources for the flow.
该AN设备从SMF网元接收该带宽需求信息后,可以根据该带宽需求信息为该流预留带宽资源,以使得接入网中可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。After the AN device receives the bandwidth demand information from the SMF network element, it can reserve bandwidth resources for the stream according to the bandwidth demand information, so that the access network can have corresponding bandwidth resources to transmit the stream, which can further improve the flow. Transmission reliability.
应理解,该实现方式中,UE对应的AN设备是指为UE提供接入网服务的设备。It should be understood that, in this implementation manner, the AN device corresponding to the UE refers to a device that provides access network services for the UE.
S409,AN设备向SMF网元发送第一信息,第一信息用于指示接入网设备根据流的带宽需求信息为流预留带宽资源是否成功。S409. The AN device sends first information to the SMF network element, and the first information is used to indicate whether the access network device successfully reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
S410,若SMF网元从AN设备接收第一信息,并且第一信息指示AN设备为流预留资源成功,则SMF网元向UPF网元发送指示资源预留成功的信息。S410. If the SMF network element receives the first information from the AN device, and the first information indicates that the AN device successfully reserves resources for the stream, the SMF network element sends a message indicating that the resource reservation succeeds to the UPF network element.
若第一信息指示所述AN设备为流预留资源失败,可以执行图7中所示的通信方法。If the first information indicates that the AN device fails to reserve resources for the flow, the communication method shown in FIG. 7 may be performed.
S411,SMF网元向UPF网元发送第二时延信息,第二时延信息用于指示第二时延。其中,SMF网元可以同时向UPF网元发送流的标识信息。S411. The SMF network element sends second delay information to the UPF network element, and the second delay information is used to indicate the second delay. Among them, the SMF network element can simultaneously send flow identification information to the UPF network element.
例如,SMF网元可以将SMF网元在S402中从UPF网元接收的流服务提供者广播声明消息中的第一时延信息修改为第二时延信息,从而可以将流服务提供者广播声明消息中记录的第一时延修改为第二时延。然后,SMF网元可以向UPF网元发送修改后的流服务提供者广播声明消息。For example, the SMF network element may modify the first delay information in the stream service provider broadcast announcement message received by the SMF network element from the UPF network element in S402 to the second delay information, so that the stream service provider broadcast announcement may be The first delay recorded in the message is modified to the second delay. Then, the SMF network element may send the modified streaming service provider broadcast announcement message to the UPF network element.
可选的,S410中的指示资源预留成功的信息和S411中的第二时延信息可以一起发给UPF,或者可以不执行S410,SMF在接收AN设备发送的第一信息后并且第一信息指示AN设备为流预留资源成功,执行S411。UPF收到SMF发送的第二时延信息,即确定资源预留成功,执行步骤S412。Optionally, the information indicating that the resource reservation is successful in S410 and the second delay information in S411 may be sent to the UPF together, or S410 may not be performed. After receiving the first information sent by the AN device and SMF Indicates that the AN device successfully reserves resources for the flow, and executes S411. The UPF receives the second delay information sent by the SMF, that is, determines that the resource reservation is successful, and executes step S412.
S412,UPF网元向UE发送第二时延信息。相应地,UE从UPF网元接收第二时延信息。其中,SMF网元可以同时向UPF网元发送流的标识信息。S412. The UPF network element sends the second delay information to the UE. Accordingly, the UE receives the second delay information from the UPF network element. Among them, the SMF network element can simultaneously send flow identification information to the UPF network element.
例如,UPF网元可以向UE转发在S411中从SMF网元接收的流服务提供者广播声明消息。For example, the UPF network element may forward the streaming service provider broadcast announcement message received from the SMF network element in S411 to the UE.
S413,UE根据从S412中接收的第二时延信息确定第二时延能否满足该流的延时需求。S413. The UE determines whether the second delay can meet the delay requirement of the flow according to the second delay information received from S412.
如果确定第二时延能满足该流的延时需求,则可以执行S414;否则UE可以向UPF网元发起流服务接受者询问失败声明(Listener Asking Failed declaration)消息,然后,UPF网元将流服务接受者询问失败声明消息转发给TSN中的流服务提供者。If it is determined that the second delay can meet the delay requirement of the stream, S414 may be performed; otherwise, the UE may initiate a stream service receiver inquiry request (Failed declaration) message to the UPF network element, and then the UPF network element The service receiver asks the failure declaration message and forwards it to the streaming service provider in the TSN.
可选地,UE还可以确定是否对该流感兴趣。如果确定感兴趣且确定第二时延能满足该流的延时需求,则可以执行S414;否则UE可以向UPF网元发起流服务接受者询问失败声明消息,然后,UPF网元将流服务接受者询问失败声明消息转发给TSN中的流服务提供者。Optionally, the UE may also determine whether the stream is interested. If it is determined that it is interested and it is determined that the second delay can meet the delay requirement of the flow, S414 may be performed; otherwise, the UE may initiate a flow service receiver to the UPF network element to query the failure declaration message, and then the UPF network element accepts the flow service. The requester forwards the failure declaration message to the streaming service provider in the TSN.
S414,UE向UPF网元发送消息,指示UE可以接收该流。该消息中可以包括流的标识信息和第二时延信息。S414. The UE sends a message to the UPF network element, indicating that the UE can receive the stream. The message may include flow identification information and second delay information.
例如,UE可以向UPF网元发送流服务接受者准备(Listener Ready)消息,该消息中包括流的标识信息和第二时延信息。For example, the UE may send a Stream Service Receiver Ready (Listener Ready) message to the UPF network element, and the message includes flow identification information and second delay information.
S415,UPF网元向TSN发送流的标识信息和第二时延信息。S415. The UPF network element sends the flow identification information and the second delay information to the TSN.
例如,UPF网元可以向TSN转发UPF网元在S414中从UE接收到的流服务接受者准备消息,该流服务接受者准备消息中携带流的标识信息和第二时延信息。For example, the UPF network element may forward the stream service receiver preparation message received by the UPF network element from the UE in S414 to the TSN, and the stream service receiver preparation message carries the flow identification information and the second delay information.
图5为本申请另一个实施例的通信方法的示意性流程图。应理解,图5出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图5中的各个操作的变形。此外,图5中的各个步骤可以按照与图5呈现的不同的顺序来执行,并且有可能并非要执行图5中的全部操作。FIG. 5 is a schematic flowchart of a communication method according to another embodiment of the present application. It should be understood that steps or operations of the communication method are shown in FIG. 5, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 5. In addition, each step in FIG. 5 may be performed in a different order than that presented in FIG. 5, and it is possible that not all operations in FIG. 5 are to be performed.
S501-S505,可以参考S301-S305,此处不再赘述。For S501-S505, you can refer to S301-S305, which will not be repeated here.
S506,SMF网元根据流对应的PCC规则确定能否为该流触发会话修改流程或会话建立流程从而为该流建立一个对应的QoS流(QoS Flow)。若SMF网元根据流对应的PCC规则确定能为该流建立一个对应的QoS流,则可以执行S507,否则可以执行图7中的通信方法。S506. The SMF network element determines whether a session modification process or a session establishment process can be triggered for the flow to establish a corresponding QoS flow (QoS flow) for the flow according to the PCC rule corresponding to the flow. If the SMF network element determines that a corresponding QoS flow can be established for the flow according to the PCC rule corresponding to the flow, S507 may be performed; otherwise, the communication method in FIG. 7 may be performed.
SMF网元根据流对应的PCC规则确定能否为该流建立一个对应的QoS流,可以理解为:SMF网元根据流对应的PCC规则确定核心网和无线接入网能否满足流的带宽需求和 时延需求。The SMF network element determines whether a corresponding QoS flow can be established for the flow according to the PCC rules corresponding to the flow. It can be understood that the SMF network element determines whether the core network and the wireless access network can meet the bandwidth requirements of the flow according to the PCC rules corresponding to the flow. And latency requirements.
S507,SMF网元向UPF网元发送第二时延信息,第二时延信息用于指示第二时延。其中,SMF网元可以同时向UPF网元发送流的标识信息。S507. The SMF network element sends the second delay information to the UPF network element, and the second delay information is used to indicate the second delay. Among them, the SMF network element can simultaneously send flow identification information to the UPF network element.
例如,SMF网元可以将SMF网元在S502中从UPF网元接收的流服务提供者广播声明消息中的第一时延信息修改为第二时延信息,从而可以将流服务提供者广播声明消息中记录的第一时延修改为第二时延。然后,SMF网元可以向UPF网元发送修改后的流服务提供者广播声明消息。For example, the SMF network element may modify the first delay information in the stream service provider broadcast announcement message received by the SMF network element from the UPF network element in S502 to the second delay information, so that the stream service provider broadcast announcement may be The first delay recorded in the message is modified to the second delay. Then, the SMF network element may send the modified streaming service provider broadcast announcement message to the UPF network element.
S508,UPF网元向UE发送第二时延信息。相应地,UE从UPF网元接收第二时延信息。其中,UPF网元同时向UE发送流的标识信息。S508. The UPF network element sends the second delay information to the UE. Accordingly, the UE receives the second delay information from the UPF network element. The UPF network element sends the flow identification information to the UE at the same time.
例如,UPF网元可以向UE转发在S507中从SMF网元接收的流服务提供者广播声明消息。For example, the UPF network element may forward the streaming service provider broadcast announcement message received from the SMF network element in S507 to the UE.
S509,UE根据从S508中接收的第二时延信息确定第二时延能否满足该流的延时需求。In S509, the UE determines whether the second delay can meet the delay requirement of the flow according to the second delay information received from S508.
如果确定第二时延能满足该流的延时需求,则可以执行S510;否则UE可以向UPF网元发起流服务接受者询问失败声明(Listener Asking Failed declaration)消息,然后,UPF网元将流服务接受者询问失败声明消息转发给TSN中的流服务提供者。If it is determined that the second delay can meet the delay requirement of the stream, S510 may be executed; otherwise, the UE may initiate a stream service receiver inquiry request for a failure declaration message to the UPF network element, and then the UPF network element The service receiver asks the failure declaration message and forwards it to the streaming service provider in the TSN.
可选地,UE还可以确定是否对该流感兴趣。如果确定感兴趣且确定第二时延能满足该流的延时需求,则可以执行S510;否则UE可以向UPF网元发起流服务接受者询问失败声明消息,然后,UPF网元将流服务接受者询问失败声明消息转发给TSN中的流服务提供者。Optionally, the UE may also determine whether the stream is interested. If it is determined that it is of interest and it is determined that the second delay can meet the delay requirement of the flow, S510 may be performed; otherwise, the UE may initiate a flow service receiver to the UPF network element to query the failure declaration message, and then the UPF network element accepts the flow service. The requester forwards the failure declaration message to the streaming service provider in the TSN.
S510,UE向UPF网元发送消息,指示UE可以接收该流。该消息中可以包括流的标识信息和第二时延信息。S510. The UE sends a message to the UPF network element, indicating that the UE can receive the stream. The message may include flow identification information and second delay information.
例如,UE可以向UPF网元发送流服务接受者准备(Listener Ready)消息,该消息中包括流的标识信息和第二时延信息。For example, the UE may send a Stream Service Receiver Ready (Listener Ready) message to the UPF network element, and the message includes flow identification information and second delay information.
S511,UPF网元向TSN发送流的标识信息和第二时延信息。S511. The UPF network element sends flow identification information and second delay information to the TSN.
例如,UPF网元可以向TSN转发UPF网元在S510中从UE接收到的流服务接受者准备消息,该流服务接受者准备消息中携带流的标识信息和第二时延信息。For example, the UPF network element may forward the stream service receiver preparation message received by the UPF network element from the UE in S510 to the TSN, and the stream service receiver preparation message carries the flow identification information and the second delay information.
图6为本申请另一个实施例的通信方法的示意性流程图。应理解,图6示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图6中的各个操作的变形。此外,图6中的各个步骤可以按照与图6呈现的不同的顺序来执行,并且有可能并非要执行图6中的全部操作。FIG. 6 is a schematic flowchart of a communication method according to another embodiment of the present application. It should be understood that FIG. 6 illustrates steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 6. In addition, each step in FIG. 6 may be performed in a different order than that presented in FIG. 6, and it is possible that not all operations in FIG. 6 are to be performed.
S601,UPF网元从TSN接收第一时延信息,第一时延信息用于指示流从TSN的流服务提供者传输至UPF网元的第一时延。S601. The UPF network element receives the first delay information from the TSN, and the first delay information is used to indicate a first delay of the transmission of the stream from the stream service provider of the TSN to the UPF network element.
该步骤可以参考S201,此处不再赘述。This step can be referred to S201, which is not repeated here.
S602,UPF网元向SMF网元发送第一时延信息。相应地,SMF网元从UPF网元接收第一时延信息。S602. The UPF network element sends the first delay information to the SMF network element. Accordingly, the SMF network element receives the first delay information from the UPF network element.
该步骤可以参考S202,此处不再赘述。For this step, refer to S202, and details are not described herein again.
S603,SMF网元从PCF网元获取流对应的PCC规则。S603. The SMF network element obtains a PCC rule corresponding to the flow from the PCF network element.
该步骤可以参考S303,此处不再赘述。For this step, refer to S303, and details are not described herein again.
可选地,本申请实施例的通信方法中可以不执行S603。Optionally, S603 may not be performed in the communication method in the embodiment of the present application.
例如,可以在SMF网元上本地配置PCC规则,SMF网元根据上述流的信息,匹配对应的PCC规则。。For example, a PCC rule may be configured locally on the SMF network element, and the SMF network element matches the corresponding PCC rule according to the above-mentioned flow information. .
又如,SMF网元从PCF网元获取流对应的PCC规则后,可以缓存该PCC规则。这样,下一次SMF网元需要使用该流对应的PCC规则时,可以直接从SMF网元上获取,而不用执行S603,从而可以提高效率。For another example, after the SMF network element obtains the PCC rule corresponding to the flow from the PCF network element, it can cache the PCC rule. In this way, the next time the SMF network element needs to use the PCC rule corresponding to the flow, it can be obtained directly from the SMF network element without executing S603, thereby improving efficiency.
S604,SMF网元根据流的PCC规则确定流从UPF网元传输至UE的第三时延。该步骤可以参考S203,此处不再赘述。S604. The SMF network element determines, according to the PCC rule of the flow, a third delay in transmitting the flow from the UPF network element to the UE. For this step, refer to S203, and details are not described herein again.
S605,SMF网元根据S604中确定的第三时延和第一时延信息指示的第一时延,确定流从TSN的流服务提供者传输至UE的第二时延。S605. The SMF network element determines a second delay for transmitting the stream from the TSN's streaming service provider to the UE according to the third delay determined in S604 and the first delay indicated by the first delay information.
该步骤可以参考S204,此处不再赘述。This step may refer to S204, and is not repeated here.
S606,SMF网元根据流对应的PCC规则确定能否为该流预留带宽资源。S606. The SMF network element determines whether to reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow.
该步骤可以参考S306,此处不再赘述。This step can be referred to S306, which is not repeated here.
若SMF网元根据流对应的PCC规则确定核心网和接入网能为该流预留带宽资源,则可以执行S607,否则可以执行图7中的通信方法。If the SMF network element determines that the core network and the access network can reserve bandwidth resources for the flow according to the PCC rules corresponding to the flow, S607 may be performed; otherwise, the communication method in FIG. 7 may be performed.
可选地,本申请实施例的方法中,可以不执行S406,即SMF网元在S605中确定第二时延后,可以直接执行S607。Optionally, in the method in the embodiment of the present application, S406 may not be performed, that is, the SMF network element may directly execute S607 after determining the second delay in S605.
S607,SMF网元向UPF网元发送流的标识信息。S607. The SMF network element sends the flow identification information to the UPF network element.
例如,SMF网元向UPF网元发送流服务提供者广播声明消息,该消息中仅携带流的标识信息。For example, the SMF network element sends a stream service provider broadcast announcement message to the UPF network element, and the message carries only the flow identification information.
可选地,本申请实施例的通信方法中,可以不执行S607。相对应地,也就可以不执行S608至S611。Optionally, in the communication method in the embodiment of the present application, S607 may not be performed. Correspondingly, S608 to S611 may not be executed.
S608,UPF网元向UE发送UPF网元在S607中接收到的流的标识信息。S608. The UPF network element sends the UE identification information of the flow received by the UPF network element in S607.
例如,UPF网元向UE转发从SMF网元接收的流服务提供者广播声明消息,该消息中携带流的标识信息。For example, the UPF network element forwards the broadcast service broadcast message received from the SMF network element to the UE, and the message carries the flow identification information.
可选地,本申请实施例的通信方法中,可以不执行S608。相对应地,也就可以不执行S609至S611。Optionally, in the communication method according to the embodiment of the present application, S608 may not be performed. Correspondingly, S609 to S611 may not be executed.
S609,UE确定是否对该流感兴趣,如果感兴趣,执行S610。否则,UE可以向UPF网元发起流服务接受者询问失败声明消息,然后,UPF网元将流服务接受者询问失败声明消息转发给TSN中的流服务提供者。S609: The UE determines whether the stream is interested, and if so, performs S610. Otherwise, the UE may initiate a flow service receiver inquiry failure declaration message to the UPF network element, and then, the UPF network element forwards the flow service receiver inquiry failure declaration message to the flow service provider in the TSN.
例如,UE确定是否对流服务提供者广播声明消息中携带的流的标识信息所指示的流感兴趣。For example, the UE determines whether it is interested in the flow indicated by the flow identification information carried in the broadcast service broadcast announcement message.
S610,UE向UPF网元发送消息,指示UE可以接收该流。该消息中可以包括该流的标识信息。S610: The UE sends a message to the UPF network element, indicating that the UE can receive the stream. The message may include identification information of the flow.
例如,UE向UPF网元发送流服务接受者准备消息,该消息中包括该流的标识信息。For example, the UE sends a stream service recipient preparation message to the UPF network element, and the message includes identification information of the stream.
S611,UPF网元向SMF网元发送消息,指示UE可以接收该流。S611, the UPF network element sends a message to the SMF network element, indicating that the UE can receive the stream.
例如,UPF网元可以向SMF网元转发UPF网元在S610中从UE接收的流服务接受者准备消息。For example, the UPF network element may forward the stream service recipient preparation message received by the UPF network element from the UE in S610 to the SMF network element.
S612,SMF网元向UPF网元发送流的带宽需求信息。此外,SMF网元还可以更新 UPF网元的信用调度参数。S612: The SMF network element sends the bandwidth requirement information of the flow to the UPF network element. In addition, the SMF network element can also update the credit scheduling parameters of the UPF network element.
该步骤可以参考S312,此处不再赘述。This step can be referred to S312, which will not be repeated here.
可选地,本申请实施例的通信方法中,可以不执行S612。即可以不用提前在UPF网元上为该流预留带宽资源。Optionally, in the communication method in the embodiment of the present application, S612 may not be performed. That is, it is not necessary to reserve bandwidth resources for the flow on the UPF network element in advance.
S613,SMF网元向UE对应的AN设备发送流的带宽需求信息,以指示AN设备为流预留带宽资源。S613. The SMF network element sends the bandwidth requirement information of the flow to the AN device corresponding to the UE, so as to instruct the AN device to reserve bandwidth resources for the flow.
该步骤可以参考S313,此处不再赘述。This step can be referred to S313, which is not repeated here.
可选地,本申请实施例的通信方法中,可以不执行S613。即可以不用提前在AN设备上为该流预留带宽资源。Optionally, in the communication method according to the embodiment of the present application, S613 may not be performed. That is, it is not necessary to reserve bandwidth resources for the stream on the AN device in advance.
若本申请实施例的通信方法中不执行S613,相应地,也可以不执行S614和S615。If S613 is not executed in the communication method in the embodiment of the present application, S614 and S615 may not be executed accordingly.
S614,AN设备向SMF网元发送第一信息,第一信息用于指示接入网设备根据流的带宽需求信息为流预留带宽资源是否成功。S614. The AN device sends first information to the SMF network element, and the first information is used to indicate whether the access network device successfully reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
可选地,该通信方法中,在执行S613的情况下,也可以不执行S614。S615,SMF网元向UPF网元发送流的标识信息和第二时延信息。Optionally, in the communication method, when S613 is performed, S614 may not be performed. S615. The SMF network element sends the flow identification information and the second delay information to the UPF network element.
例如,SMF网元可以向UPF网元发送流服务接受者准备消息,该流服务接受者准备消息中携带流的标识信息和第二时延信息。For example, the SMF network element may send a stream service receiver preparation message to the UPF network element, and the stream service receiver preparation message carries flow identification information and second delay information.
若该通信方法中执行了S614,则SMF网元可以在接收到第一信息并且第一信息指示AN设备为流预留资源成功后,再执行S615。若通信方法中没有执行S614,则SMF网元可以在S611之后执行S615。If S614 is performed in the communication method, the SMF network element may execute S615 after receiving the first information and the first information indicates that the AN device successfully reserves resources for the flow. If S614 is not executed in the communication method, the SMF network element may execute S615 after S611.
进一步地,若该通信方法中没有执行S607,则SMF网元可以在S606之后执行S615。Further, if S607 is not executed in the communication method, the SMF network element may execute S615 after S606.
若SMF网元没有收到AN设备发送的第一信息,或者从AN设备接收到指示资源预留失败的信息,则可以执行图7中所示的通信方法。If the SMF network element does not receive the first information sent by the AN device or receives information from the AN device indicating that the resource reservation fails, the communication method shown in FIG. 7 may be performed.
S616,UPF网元向TSN发送流的标识信息和第二时延信息。S616. The UPF network element sends the flow identification information and the second delay information to the TSN.
UPF网元向TSN发送UPF网元在S615中从SMF网元接收的流服务接受者准备消息。The UPF network element sends a stream service recipient preparation message received by the UPF network element from the SMF network element in S615 to the TSN.
应理解,本申请实施例中的通信方法中,并不限定S606的执行顺序。例如,S606可以位于S605之前,或者,S606可以位于S604之前。It should be understood that, in the communication method in the embodiment of the present application, the execution sequence of S606 is not limited. For example, S606 may be located before S605, or S606 may be located before S604.
应理解,本申请实施例中的通信方法中,并不限定S612的执行顺序。只需要满足S612位于S606之后即可。It should be understood that, in the communication method in the embodiment of the present application, the execution sequence of S612 is not limited. It only needs to meet S612 after S606.
应理解,本申请实施例中的通信方法中,并不限定S613的执行顺序。只需要满足S613位于S605之后,且位于S614之前即可。It should be understood that, in the communication method in the embodiment of the present application, the execution sequence of S613 is not limited. It only needs to satisfy that S613 is located after S605 and before S614.
图7为本申请另一个实施例的通信方法的示意性流程图。应理解,图7示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图7中的各个操作的变形。此外,图7中的各个步骤可以按照与图7呈现的不同的顺序来执行,并且有可能并非要执行图7中的全部操作。FIG. 7 is a schematic flowchart of a communication method according to another embodiment of the present application. It should be understood that FIG. 7 shows the steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 7. In addition, each step in FIG. 7 may be performed in a different order than that presented in FIG. 7, and it is possible that not all operations in FIG. 7 are to be performed.
S701,SMF网元向UPF网元发送流服务提供者失败声明(Talker failed declaration)消息,该消息用于指示由于带宽限制或者其它限制导致不能提供流服务。S701. The SMF network element sends a stream service provider failure declaration (Talker failed declaration) message to the UPF network element, which is used to indicate that the stream service cannot be provided due to bandwidth limitation or other restrictions.
例如,SMF网元判断UPF网元或AN设备不能为流预留带宽资源,或无法满足流的QoS需求时,可以向UPF网元发送流服务提供者失败声明消息。For example, when the SMF network element judges that the UPF network element or the AN device cannot reserve bandwidth resources for the flow, or cannot satisfy the flow QoS requirements, it may send a flow service provider failure declaration message to the UPF network element.
例如,当有更高优先级的流需要传输;或者当UE移动切换到新基站后,由于UPF 网元对应的输出端口变化,导致输出端口超过可预留上限;或者PCF不允许为该流预留带宽资源时,SMF网元可以确定无法满足该流的QoS需求。For example, when a higher priority stream needs to be transmitted; or when the UE moves to a new base station, the output port corresponding to the UPF network element changes, causing the output port to exceed the reservable upper limit; or the PCF does not allow the stream to be reserved. When reserving bandwidth resources, the SMF network element can determine that the QoS requirements of the flow cannot be met.
S702,UPF网元向UE转发流服务提供者失败声明消息。S702. The UPF network element forwards the flow service provider failure declaration message to the UE.
S703,UE向UPF网元发起流服务接受者询问失败声明(Listener Asking Failed Declaration)消息。S703: The UE initiates a stream service receiver inquiry failure declaration (Listener Asking, Failed, Declaration) message to the UPF network element.
S704,UPF网元将流服务接受者询问失败声明消息转发给TSN中的流服务提供者。S704. The UPF network element forwards the streaming service receiver inquiry failure declaration message to the streaming service provider in the TSN.
应理解,图7中所示的消息名称仅是一种示例。只要能实现该通信方法中的响应功能的消息都属于本申请实施例的保护范围。It should be understood that the message names shown in FIG. 7 are only examples. As long as the message capable of realizing the response function in the communication method belongs to the protection scope of the embodiment of the present application.
本申请一个实施例的通信方法的示意性流程图如图8所示。应理解,图8示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图8中的各个操作的变形。A schematic flowchart of a communication method according to an embodiment of the present application is shown in FIG. 8. It should be understood that FIG. 8 illustrates steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 8.
S801,UE向SMF网元发送流的第一时延信息,SMF网元从UE接收该第一时延信息,该第一时延信息用于指示第一时延。S801. The UE sends the first delay information of the stream to the SMF network element. The SMF network element receives the first delay information from the UE, and the first delay information is used to indicate the first delay.
第一时延是由UE确定的、流从UE传输至UPF网元的累计时延。此时,UE作为流服务提供者,TSN中的网元作为流服务接受者。The first delay is a cumulative delay determined by the UE and the stream is transmitted from the UE to the UPF network element. At this time, the UE serves as the streaming service provider, and the network element in the TSN serves as the streaming service receiver.
在一些可能的实现方式中,第一时延是UE将本地对流的单个帧的处理时延与流从UE传输至UPF网元的传输时延的默认值相加所得。流从UE传输至UPF网元的传输时延的默认值的一种示例为500纳秒。In some possible implementation manners, the first delay is obtained by adding the processing delay of a single frame of the local stream to the default value of the transmission delay of the stream from the UE to the UPF network element. An example of the default value of the transmission delay of the stream from the UE to the UPF network element is 500 nanoseconds.
该UPF网元可以是图1中的UPF网元103,该UE可以是图1中的UE 101,该SMF网元可以是图1中的SMF网元105。The UPF network element may be the UPF network element 103 in FIG. 1, the UE may be the UE 101 in FIG. 1, and the SMF network element may be the SMF network element 105 in FIG. 1.
第一时延信息可以携带在流服务提供者广播声明消息中。流服务提供者广播声明消息可以用于广播流和该流对应的QoS需求。The first delay information may be carried in a broadcast service broadcast announcement message. The streaming service provider broadcast announcement message can be used to broadcast the stream and the QoS requirements corresponding to the stream.
流服务提供者广播声明消息中除了可以携带第一时延信息,还可以携带流标识。此外,流服务提供者广播声明消息中还可以携带以下一种或多种信息:目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从Talker传输到Listener的最大允许时延、流的可靠性需求或资源预留失败原因。In addition to the first delay information, the broadcast announcement message of the stream service provider may also carry a stream identifier. In addition, the broadcast service broadcast announcement message can also carry one or more of the following information: destination address, source address, maximum frame size, maximum frame interval, frame priority, and a single frame of the stream is transmitted from Talker to Listener The maximum allowable delay, the reliability requirement of the flow, or the reason for the resource reservation failure.
UE向SMF网元发送流的第一时延信息的一种实现方式可以包括:UE直接将第一时延信息发送给SMF网元。例如,UE通过AMF网元向SMF网元发送流服务提供者广播声明消息,该流服务提供者广播声明消息中携带第一时延信息。An implementation manner in which the UE sends the first delay information of the stream to the SMF network element may include that the UE directly sends the first delay information to the SMF network element. For example, the UE sends a stream service provider broadcast announcement message to the SMF network element through the AMF network element, and the stream service provider broadcast announcement message carries first delay information.
UE向SMF网元发送流的第一时延信息的另一种实现方式可以包括:UE向UPF网元发送第一时延信息,然后UPF网元向SMF网元发送第一时延信息。例如,UE将流服务提供者广播声明消息发送给UPF网元,UPF网元将流服务提供者广播声明消息转发给SMF网元,该流服务提供者广播声明消息中携带第一时延信息。Another implementation manner in which the UE sends the first delay information of the stream to the SMF network element may include: the UE sends the first delay information to the UPF network element, and then the UPF network element sends the first delay information to the SMF network element. For example, the UE sends the broadcast service provider broadcast announcement message to the UPF network element, and the UPF network element forwards the broadcast service provider broadcast announcement message to the SMF network element, and the broadcast service announcement broadcast message carries the first delay information.
S802,SMF网元根据流的PCC规则确定流从UE传输至UPF网元的第三时延。第三时延可以是流从UE传输至UPF网元的最大传输时延。S802. The SMF network element determines a third delay for the stream to be transmitted from the UE to the UPF network element according to the PCC rule of the flow. The third delay may be the maximum transmission delay of the flow from the UE to the UPF network element.
流从UE传输至UPF网元的最大传输时延,可以等同于流从UPF网元传输至UE的最大传输时延,因此该步骤可以参考S203,为了简洁,此处不再赘述。The maximum transmission delay of the flow from the UE to the UPF network element can be equivalent to the maximum transmission delay of the flow from the UPF network element to the UE. Therefore, this step can refer to S203. For brevity, it will not be repeated here.
S803,SMF网元根据第一时延和所述第三时延,确定流从UE传输至UPF网元的第二时延。S803. The SMF network element determines a second delay for transmitting the stream from the UE to the UPF network element according to the first delay and the third delay.
在一些可能的实现方式中,SMF网元根据第一时延和所述第三时延,确定流从UE传输至UPF的第二时延,可以包括:SMF网元将第一时延与第三时延相加,并减去流从UE传输至UPF网元的传输时延的默认值所得到的值,确定为第二时延。In some possible implementation manners, the SMF network element determines, according to the first delay and the third delay, a second delay for transmitting a stream from the UE to the UPF, which may include: the SMF network element combines the first delay with the first delay The three delays are added and a value obtained by subtracting the default value of the transmission delay of the stream from the UE to the UPF network element is determined as the second delay.
流从UE传输至UPF网元的传输时延的默认值,可以是预先配置好的。The default value of the transmission delay of the stream from the UE to the UPF network element can be pre-configured.
例如,流从UE传输至UPF网元的传输时延的默认值的一种示例为500纳秒。这种情况下,可以将第一时延与第三时延相加,并减去500纳秒所得到的值,确定为第二时延。For example, one example of a default value of the transmission delay of a stream from a UE to a UPF network element is 500 nanoseconds. In this case, the first delay and the third delay can be added, and the value obtained by subtracting 500 nanoseconds can be determined as the second delay.
S804,SMF网元向UPF网元发送第二时延信息,第二时延信息用于指示第二时延。S804: The SMF network element sends the second delay information to the UPF network element, and the second delay information is used to indicate the second delay.
例如,SMF网元可以通过流服务提供者广播声明消息向UPF网元发送第二时延信息。这样,UPF网元可以通过向TSN转发该流服务提供者广播声明消息来向TSN发送第二时延信息。For example, the SMF network element may send the second delay information to the UPF network element through a broadcast service provider broadcast announcement message. In this way, the UPF network element can send the second delay information to the TSN by forwarding the broadcast service provider broadcast announcement message to the TSN.
S805,UPF网元向TSN发送第四时延信息和流的标识信息。TSN中的节点收到第四时延信息后,可以判断第四时延是否超过流从UE传输至TSN中的流服务接受者的最大传输时延需求。S805. The UPF network element sends fourth delay information and flow identification information to the TSN. After the node in the TSN receives the fourth delay information, it can determine whether the fourth delay exceeds the maximum transmission delay requirement of the stream service receiver from the UE to the stream service receiver in the TSN.
例如,UPF网元向TSN发送UPF在S804中接收的流服务提供者广播声明消息,其中UPF将该流服务提供者广播声明消息中携带的第二时延更新为第四时延。For example, the UPF network element sends the streaming service provider broadcast announcement message received by the UPF in S804 to the TSN, where the UPF updates the second delay carried in the streaming service provider broadcast announcement message to a fourth delay.
该第四时延信息是UPF网元将第二时延信息加上所述流从所述UPF传输至TSN中下一跳网桥(Bridge)的时延后的值。如果UPF的下一跳就是流服务接受者,则该第四时延信息是UPF网元将第二时延信息与所述流从所述UPF传输至流服务接受者的时延后的值。The fourth delay information is a value after the UPF network element adds the second delay information to the delay of the stream from the UPF to the next hop bridge in the TSN. If the next hop of the UPF is the stream service receiver, the fourth delay information is a value of the delay after the UPF network element transmits the second delay information and the stream from the UPF to the stream service receiver.
该通信方法中,SMF网元从UE接收第一时延信息,并根据第一时延信息获知由UE确定的、流从UE传输至UPF网元的第一时延,此外,SMF网元根据PCC规则确定流从UE传输至UPF网元的最大传输时延,然后SMF网元对UE确定的第一时延和SMF网元确定的最大传输时延进行调整,从而可以得到流从UE传输至UPF网元的第二时延,进而可以在3GPP网络与TSN的互通的通信网络中根据该第二时延传输该流。In this communication method, the SMF network element receives the first delay information from the UE and learns the first delay determined by the UE and the stream is transmitted from the UE to the UPF network element according to the first delay information. In addition, the SMF network element is based on The PCC rule determines the maximum transmission delay of the flow from the UE to the UPF network element, and then the SMF network element adjusts the first delay determined by the UE and the maximum transmission delay determined by the SMF network element, so that the flow can be transmitted from the UE to the The second delay of the UPF network element can further transmit the stream according to the second delay in a communication network in which the 3GPP network and the TSN are interworking.
另外,SMF网元根据流从UE传输至UPF网元的最大传输时延和UE确定的第一时延确定流从UE传输至UPF网元的累计时延。然后,现有技术中需要在UE至UPF网元之间的两两相邻节点之间做时钟同步,最终实现UE至UPF网元之间所有的节点的时钟同步,从而在UPF网元至UE的所有传输节点上支持TSN网络,以计算流从UE传输至UPF网元的累计时延。该通信方法与现有技术相比,方案简单,容易实现。In addition, the SMF network element determines the cumulative delay of the flow from the UE to the UPF network element based on the maximum transmission delay of the flow from the UE to the UPF network element and the first delay determined by the UE. Then, in the prior art, clock synchronization needs to be performed between two adjacent nodes between the UE and the UPF network element, and finally the clock synchronization of all nodes between the UE and the UPF network element is achieved, so that the UPF network element reaches the UE The TSN network is supported on all transmission nodes in order to calculate the cumulative delay of the stream transmission from the UE to the UPF network element. Compared with the prior art, the communication method has a simple scheme and is easy to implement.
图9为本申请一个实施例的通信方法的示意性流程图。应理解,图9示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图9中的各个操作的变形。此外,图9中的各个步骤可以按照与图9呈现的不同的顺序来执行,并且有可能并非要执行图9中的全部操作。FIG. 9 is a schematic flowchart of a communication method according to an embodiment of the present application. It should be understood that FIG. 9 shows steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 9. In addition, each step in FIG. 9 may be performed in a different order than that presented in FIG. 9, and it is possible that not all operations in FIG. 9 are to be performed.
S901,UE向SMF网元发送流的第一时延信息,SMF网元从UE接收该第一时延信息,该第一时延信息用于指示第一时延。S901. The UE sends the first delay information of the stream to the SMF network element. The SMF network element receives the first delay information from the UE, and the first delay information is used to indicate the first delay.
该步骤可以参考S801,此处不再赘述。This step can be referred to S801, which is not repeated here.
S902,SMF网元从PCF网元获取流对应的PCC规则。该步骤可以参考S303,此处不再赘述。S902. The SMF network element obtains a PCC rule corresponding to the flow from the PCF network element. For this step, refer to S303, and details are not described herein again.
可选地,本申请实施例的通信方法中可以不执行S902。Optionally, S902 may not be performed in the communication method in the embodiment of the present application.
例如,SMF网元可以从其他网元获取流对应的PCC规则。For example, the SMF network element may obtain the PCC rules corresponding to the flow from other network elements.
又如,SMF网元从PCF网元或其他网元获取流对应的PCC规则后,可以缓存该PCC规则。这样,下一次SMF网元需要使用该流对应的PCC规则时,可以直接从SMF网元上获取,而不用执行S902,从而可以提高效率。For another example, after the SMF network element obtains the PCC rule corresponding to the flow from the PCF network element or other network elements, the PCC rule may be cached. In this way, the next time the SMF network element needs to use the PCC rule corresponding to the flow, it can be obtained directly from the SMF network element without executing S902, which can improve efficiency.
S903,SMF网元根据流的PCC规则确定流从UE传输至UPF网元的第三时延。第三时延可以是流从UE传输至UPF网元的最大传输时延。S903. The SMF network element determines a third delay for the stream to be transmitted from the UE to the UPF network element according to the PCC rule of the flow. The third delay may be the maximum transmission delay of the flow from the UE to the UPF network element.
流从UE传输至UPF网元的最大传输时延,可以等同于流从UPF网元传输至UE的最大传输时延,因此该步骤可以参考S203,此处不再赘述。The maximum transmission delay of the flow from the UE to the UPF network element can be equivalent to the maximum transmission delay of the flow from the UPF network element to the UE. Therefore, this step can refer to S203, which will not be repeated here.
S904,SMF网元根据S903中确定的第三时延和第一时延信息指示的第一时延,确定流从UE传输至UPF的第二时延。S904. The SMF network element determines a second delay of the transmission of the stream from the UE to the UPF according to the third delay determined in S903 and the first delay indicated by the first delay information.
该步骤可以参考S803,此处不再赘述。For this step, refer to S803, and details are not described herein again.
S905,SMF网元根据流对应的PCC规则确定能否为该流预留带宽资源。S905. The SMF network element determines whether to reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow.
该步骤可以参考S306,此处不再赘述。This step can be referred to S306, which is not repeated here.
若SMF网元根据流对应的PCC规则确定核心网和接入网能为该流预留带宽资源,则可以执行S906;否则可以不执行S906至S908。If the SMF network element determines that the core network and the access network can reserve bandwidth resources for the flow according to the PCC rules corresponding to the flow, S906 may be performed; otherwise, S906 to S908 may not be performed.
可选地,本申请实施例的方法中,可以不执行S905,即SMF网元在S904中确定第二时延后,可以直接执行S906或S907或S909。Optionally, in the method in the embodiment of the present application, S905 may not be performed, that is, the SMF network element may directly execute S906 or S907 or S909 after determining the second delay in S904.
S906,SMF网元向UPF网元发送流的带宽需求信息。此外,SMF网元还可以更新UPF网元的信用调度参数。S906. The SMF network element sends the bandwidth requirement information of the flow to the UPF network element. In addition, the SMF network element can also update the credit scheduling parameters of the UPF network element.
该步骤可以参考S312,此处不再赘述。This step can be referred to S312, which will not be repeated here.
可选地,本申请实施例的通信方法中,可以不执行S906。即可以不用提前在UPF网元上为该流预留带宽资源。Optionally, in the communication method in the embodiment of the present application, S906 may not be performed. That is, it is not necessary to reserve bandwidth resources for the flow on the UPF network element in advance.
S907,SMF网元向UE对应的AN设备发送流的带宽需求信息,以指示AN设备为流预留带宽资源。S907: The SMF network element sends the bandwidth requirement information of the flow to the AN device corresponding to the UE, so as to instruct the AN device to reserve bandwidth resources for the flow.
该步骤可以参考S313,此处不再赘述。This step can be referred to S313, which is not repeated here.
可选地,本申请实施例的通信方法中,可以不执行S907。即可以不用提前在AN设备上为该流预留带宽资源。Optionally, in the communication method in the embodiment of the present application, S907 may not be performed. That is, it is not necessary to reserve bandwidth resources for the stream on the AN device in advance.
若本申请实施例的通信方法中不执行S907,相应地,也可以不执行S908。If S907 is not performed in the communication method in the embodiment of the present application, S908 may not be performed correspondingly.
S908,AN设备向SMF网元发送第一信息,第一信息用于指示接入网设备根据流的带宽需求信息为流预留带宽资源是否成功。S908: The AN device sends first information to the SMF network element, and the first information is used to indicate whether the access network device successfully reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
可选地,该通信方法中,在执行S907的情况下,也可以不执行S908。Optionally, in the communication method, when S907 is performed, S908 may not be performed.
S909,SMF网元向UPF网元发送第二时延信息。S909. The SMF network element sends the second delay information to the UPF network element.
例如,SMF网元向UPF网元发送流服务提供者广播声明消息,该消息中携带第二时延信息。For example, the SMF network element sends a stream service provider broadcast announcement message to the UPF network element, and the message carries the second delay information.
若该通信方法中执行了S908,则SMF网元可以在接收到第一信息后并且第一信息指示AN设备为流预留资源成功才执行S909。若SMF网元没有收到AN设备发送的第一信息,或者从AN设备接收到指示资源预留失败的信息,则可以执行图7中所示的通信方法。If S908 is performed in the communication method, the SMF network element may execute S909 after receiving the first information and the first information indicates that the AN device successfully reserves resources for the stream. If the SMF network element does not receive the first information sent by the AN device or receives information from the AN device indicating that the resource reservation fails, the communication method shown in FIG. 7 may be performed.
S910,UPF网元向TSN发送第四时延信息和流的标识信息。TSN中的节点收到第四时延信息后,可以判断第四时延是否超过流从UE传输至TSN中的流服务接受者的最大传输时延需求。S910. The UPF network element sends fourth delay information and flow identification information to the TSN. After the node in the TSN receives the fourth delay information, it can determine whether the fourth delay exceeds the maximum transmission delay requirement of the stream service receiver from the UE to the stream service receiver in the TSN.
例如,UPF网元向TSN发送UPF在S910中接收的流服务提供者广播声明消息,其中UPF将该流服务提供者广播声明消息中携带的第二时延更新为第四时延。For example, the UPF network element sends the streaming service provider broadcast announcement message received by the UPF in S910 to the TSN, where the UPF updates the second delay carried in the streaming service provider broadcast announcement message to a fourth delay.
该第四时延信息是UPF网元将第二时延信息加上所述流从所述UPF传输至TSN中下一跳网桥(Bridge)的时延后的值。如果UPF的下一跳就是流服务接受者,则该第四时延信息是UPF网元将第二时延信息与所述流从所述UPF传输至流服务接受者的时延后的值。The fourth delay information is a value after the UPF network element adds the second delay information to the delay of the stream from the UPF to the next hop bridge in the TSN. If the next hop of the UPF is the stream service receiver, the fourth delay information is a value of the delay after the UPF network element transmits the second delay information and the stream from the UPF to the stream service receiver.
应理解,本申请实施例中的通信方法中,并不限定S905的执行顺序。例如,S905可以位于S904之前,或者,S905可以位于S903之前。It should be understood that, in the communication method in the embodiment of the present application, the execution sequence of S905 is not limited. For example, S905 may be located before S904, or S905 may be located before S903.
应理解,本申请实施例中的通信方法中,并不限定S906的执行顺序。只需要满足S906位于S905之后即可。It should be understood that, in the communication method in the embodiment of the present application, the execution sequence of S906 is not limited. It only needs to satisfy S906 after S905.
应理解,本申请实施例中的通信方法中,并不限定S907的执行顺序。只需要满足S907位于S904之后,且位于S908之前即可。It should be understood that, in the communication method in the embodiment of the present application, the execution sequence of S907 is not limited. It only needs to satisfy that S907 is located after S904 and before S908.
图10为本申请一个实施例的通信方法的示意性流程图。应理解,图10示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图10中的各个操作的变形。此外,图10中的各个步骤可以按照与图10呈现的不同的顺序来执行,并且有可能并非要执行图10中的全部操作。FIG. 10 is a schematic flowchart of a communication method according to an embodiment of the present application. It should be understood that FIG. 10 illustrates steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 10. In addition, each step in FIG. 10 may be performed in a different order than that presented in FIG. 10, and it is possible that not all operations in FIG. 10 are to be performed.
S1001-S1004,可以参考S901-S904,此处不再赘述。For S1001-S1004, you can refer to S901-S904, which will not be repeated here.
S1005,SMF网元根据流对应的PCC规则确定能否为该流触发会话修改流程或会话建立流程从而为该流建立一个对应的QoS流(QoS Flow)。若SMF网元根据流对应的PCC规则确定能为该流建立一个对应的QoS流,则可以执行S1006,否则可以执行图7中的通信方法。S1005. The SMF network element determines whether a session modification process or a session establishment process can be triggered for the flow to establish a corresponding QoS flow (QoS flow) for the flow according to the PCC rule corresponding to the flow. If the SMF network element determines that a corresponding QoS flow can be established for the flow according to the PCC rule corresponding to the flow, S1006 may be performed; otherwise, the communication method in FIG. 7 may be performed.
SMF网元根据流对应的PCC规则确定能否为该流建立一个对应的QoS流,可以理解为:SMF网元根据流对应的PCC规则确定核心网和无线接入网能否满足流的带宽需求和时延需求。The SMF network element determines whether a corresponding QoS flow can be established for the flow according to the PCC rules corresponding to the flow. It can be understood that the SMF network element determines whether the core network and the wireless access network can meet the bandwidth requirements of the flow according to the PCC rules corresponding to the flow. And latency requirements.
S1006,SMF网元向UPF网元发送第二时延信息。S1006. The SMF network element sends the second delay information to the UPF network element.
例如,SMF网元向UPF网元发送流服务提供者广播声明消息,该消息中携带第二时延信息。For example, the SMF network element sends a stream service provider broadcast announcement message to the UPF network element, and the message carries the second delay information.
S1007,UPF网元向TSN发送第四时延信息和流的标识信息。TSN中的节点收到第四时延信息后,可以判断第四时延是否超过流从UE传输至TSN中的流服务接受者的最大传输时延需求。S1007. The UPF network element sends the fourth delay information and flow identification information to the TSN. After the node in the TSN receives the fourth delay information, it can determine whether the fourth delay exceeds the maximum transmission delay requirement of the stream service receiver from the UE to the stream service receiver in the TSN.
例如,UPF网元向TSN发送UPF在S1006中接收的流服务提供者广播声明消息,其中UPF将该流服务提供者广播声明消息中携带的第二时延更新为第四时延。For example, the UPF network element sends a broadcast service provider broadcast announcement message received by the UPF in S1006 to the TSN, where the UPF updates the second delay carried in the broadcast service provider broadcast announcement message to a fourth delay.
该第四时延信息是UPF网元将第二时延信息加上所述流从所述UPF传输至TSN中下一跳网桥(Bridge)的时延后的值。如果UPF的下一跳就是流服务接受者,则该第四时延信息是UPF网元将第二时延信息与所述流从所述UPF传输至流服务接受者的时延后的值。The fourth delay information is a value after the UPF network element adds the second delay information to the delay of the stream from the UPF to the next hop bridge in the TSN. If the next hop of the UPF is the stream service receiver, the fourth delay information is a value of the delay after the UPF network element transmits the second delay information and the stream from the UPF to the stream service receiver.
本申请一个实施例的通信方法的示意性流程图如图11所示。应理解,图11示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图11中的各个操作的变形。A schematic flowchart of a communication method according to an embodiment of the present application is shown in FIG. 11. It should be understood that FIG. 11 illustrates steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 11.
S1101,UE向SMF网元发送流的信息。相应地,SMF网元从UE接收流的信息。S1101: The UE sends flow information to the SMF network element. Accordingly, the SMF network element receives the flow information from the UE.
流的信息可以包括以下一项或多项:流的标识ID,流的源地址和目的地址,传输流 的最大帧的大小和用于传输流的帧之间的间隔,流的优先级,流的单个帧从Talker传输到Listener的最大允许时延、或流的可靠性需求,或UE确定的流从UE传输至UPF网元的时延信息。The flow information can include one or more of the following: the flow ID, the source and destination addresses of the flow, the maximum frame size of the transport stream and the interval between frames used to transport the stream, the priority of the stream, and the stream The maximum allowable delay of a single frame transmitted from the Talker to the Listener, or the reliability requirements of the flow, or the delay information of the flow determined by the UE from the UE to the UPF network element.
UE向SMF网元发送流的信息,以请求SMF网元为该流预留带宽资源和/或更新时延信息。此时,UE作为流服务提供者,TSN中的网元作为流服务接受者。The UE sends flow information to the SMF network element, so as to request the SMF network element to reserve bandwidth resources and / or update delay information for the flow. At this time, the UE serves as the streaming service provider, and the network element in the TSN serves as the streaming service receiver.
例如,UE可以向SMF网元发送资源预留请求(Resource Reservation Request)消息,请求SMF网元为该流预留带宽资源,该消息中携带流的信息。For example, the UE may send a Resource Reservation Request (Resource Reservation Request) message to the SMF network element, requesting the SMF network element to reserve bandwidth resources for the flow, and the message carries flow information.
该SMF网元可以是图1中的SMF网元105,该UE可以是图1中的UE 101。The SMF network element may be the SMF network element 105 in FIG. 1, and the UE may be the UE 101 in FIG. 1.
S1102,SMF网元根据流的信息和流的PCC规则,确定流从UE传输至UPF网元的第三时延。第三时延可以是流从UE传输至UPF网元的最大传输时延。S1102: The SMF network element determines the third delay of the flow from the UE to the UPF network element according to the flow information and the PCC rule of the flow. The third delay may be the maximum transmission delay of the flow from the UE to the UPF network element.
流从UE传输至UPF网元的最大传输时延,可以等同于流从UPF网元传输至UE的最大传输时延,因此该步骤可以参考S203,此处不再赘述。The maximum transmission delay of the flow from the UE to the UPF network element can be equivalent to the maximum transmission delay of the flow from the UPF network element to the UE. Therefore, this step can refer to S203, which will not be repeated here.
S1103,SMF网元向UE发送第一时延信息,第一时延信息用于指示SMF网元确定的第三时延。相应地,UE从SMF网元接收第一时延信息。S1103: The SMF network element sends first delay information to the UE, and the first delay information is used to indicate a third delay determined by the SMF network element. Correspondingly, the UE receives the first delay information from the SMF network element.
例如,SMF网元可以向UE发送资源预留响应(Resource Reservation Response)消息,该消息中携带第一时延信息。For example, the SMF network element may send a Resource Reservation Response (Resource Reservation Response) message to the UE, where the message carries the first delay information.
SMF网元可以通过AMF网元向UE发送第一时延信息,也可以通过UPF网元向UE发送第一时延信息。The SMF network element may send the first delay information to the UE through the AMF network element, or may send the first delay information to the UE through the UPF network element.
S1104,UE根据第一时延信息指示的第三时延,确定流从UE传输至UPF网元的目标时延。S1104: The UE determines a target delay for transmitting a stream from the UE to the UPF network element according to a third delay indicated by the first delay information.
在一些可能的实现方式中,UE根据第一时延信息指示的第三时延,确定流从UE传输至UPF网元的目标时延,可以包括:UE将第三时延与本地对流的单个帧的处理时延相加,确定为目标时延。In some possible implementation manners, the UE determines a target delay for transmitting a stream from the UE to the UPF network element according to a third delay indicated by the first delay information, which may include: Frame processing delays are added together to determine the target delay.
S1105,UE向UPF网元发送第二时延信息,第二时延信息用于指示UE确定的目标时延。S1105: The UE sends second delay information to the UPF network element, and the second delay information is used to indicate a target delay determined by the UE.
例如,UE可以向UPF网元发送流服务提供者广播声明消息,该消息中携带第二时延信息。当然,该消息中还可以携带其他信息,例如S1101中提到的流的信息。For example, the UE may send a streaming service provider broadcast announcement message to the UPF network element, where the message carries the second delay information. Of course, the message may also carry other information, such as the information of the stream mentioned in S1101.
S1106,UPF网元向TSN发送第四时延信息和流的标识信息。TSN中的节点收到第四时延信息后,可以判断第四时延是否超过流从UE传输至TSN中的流服务接受者的最大传输时延需求。S1106: The UPF network element sends the fourth delay information and flow identification information to the TSN. After the node in the TSN receives the fourth delay information, it can determine whether the fourth delay exceeds the maximum transmission delay requirement of the stream service receiver from the UE to the stream service receiver in the TSN.
例如,UPF网元可以向TSN发送UPF网元在S1105中从UE接收的流服务提供者广播声明消息,其中UPF将该流服务提供者广播声明消息中携带的第二时延更新为第四时延。For example, a UPF network element may send a streaming service provider broadcast announcement message received by the UPF network element from the UE in S1105 to the TSN, where the UPF updates the second delay carried in the broadcast service provider broadcast announcement message to the fourth time. Delay.
该第四时延信息是UPF网元将第二时延信息加上所述流从所述UPF传输至TSN中下一跳网桥(Bridge)的时延后的值。如果UPF的下一跳就是流服务接受者,则该第四时延信息是UPF网元将第二时延信息与所述流从所述UPF传输至流服务接受者的时延后的值。The fourth delay information is a value after the UPF network element adds the second delay information to the delay of the stream from the UPF to the next hop bridge in the TSN. If the next hop of the UPF is the stream service receiver, the fourth delay information is a value of the delay after the UPF network element transmits the second delay information and the stream from the UPF to the stream service receiver.
该通信方法中,SMF网元根据PCC规则确定流从UE传输至UPF网元的最大传输时延,并向UE指示该最大传输时延,以使得UE可以根据该最大传输时延确定该流从UE传输至UPF网元的累计时延,进而可以在3GPP网络与TSN的互通的通信网络中根据该 累计时延传输该流。In this communication method, the SMF network element determines the maximum transmission delay of the stream from the UE to the UPF network element according to the PCC rule, and indicates the maximum transmission delay to the UE, so that the UE can determine the flow from the maximum transmission delay. The accumulated delay transmitted by the UE to the UPF network element can further transmit the stream according to the accumulated delay in a communication network in which the 3GPP network and the TSN interoperate.
另外,SMF网元根据PCC规则确定流从UE传输至UPF网元的最大传输时延,并向UE指示该最大传输时延,以使得UE可以根据该最大传输时延确定该流从UE传输至UPF网元的累计时延。而在现有技术中,需要在UE至UPF网元之间的两两相邻节点之间做时钟同步,最终实现UE至UPF网元之间所有的节点的时钟同步,从而在UPF网元至UE的所有传输节点上支持TSN网络以计算流从UE传输至UPF网元的累计时延。该通信方法与现有技术相比,方案简单,容易实现。In addition, the SMF network element determines the maximum transmission delay of the stream from the UE to the UPF network element according to the PCC rule, and indicates the maximum transmission delay to the UE, so that the UE can determine that the stream is transmitted from the UE to the UE according to the maximum transmission delay. Cumulative delay of UPF network elements. In the prior art, clock synchronization needs to be performed between two adjacent nodes between the UE and the UPF network element, and finally the clock synchronization of all nodes between the UE and the UPF network element is achieved, so that the UPF network element reaches The TSN network is supported on all transmission nodes of the UE to calculate the cumulative delay of the stream being transmitted from the UE to the UPF network element. Compared with the prior art, the communication method has a simple scheme and is easy to implement.
本申请另一个实施例的通信方法的示意性流程图如图12所示。应理解,图12示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图12中的各个操作的变形。此外,图12中的各个步骤可以按照与图12呈现的不同的顺序来执行,并且有可能并非要执行图12中的全部操作。A schematic flowchart of a communication method according to another embodiment of the present application is shown in FIG. 12. It should be understood that FIG. 12 illustrates steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 12. In addition, each step in FIG. 12 may be performed in a different order than that presented in FIG. 12, and it is possible that not all operations in FIG. 12 are to be performed.
S1201,UE向SMF网元发送流的信息。相应地,SMF网元从UE接收流的信息。该步骤可以参考S1101,此处不再赘述。S1201: The UE sends flow information to the SMF network element. Accordingly, the SMF network element receives the flow information from the UE. This step can be referred to S1101, which will not be repeated here.
S1202,SMF网元从PCF网元获取流对应的PCC规则。该步骤可以参考S303,此处不再赘述。S1202. The SMF network element obtains a PCC rule corresponding to the flow from the PCF network element. For this step, refer to S303, and details are not described herein again.
可选地,本申请实施例的通信方法中可以不执行S1202。Optionally, S1202 may not be performed in the communication method in the embodiment of the present application.
例如,SMF网元可以从其他网元获取流对应的PCC规则。For example, the SMF network element may obtain the PCC rules corresponding to the flow from other network elements.
又如,SMF网元从PCF网元或其他网元获取流对应的PCC规则后,可以缓存该PCC规则。这样,下一次SMF网元需要使用该流对应的PCC规则时,可以直接从SMF网元上获取,而不用执行S1202,从而可以提高效率。For another example, after the SMF network element obtains the PCC rule corresponding to the flow from the PCF network element or other network elements, the PCC rule may be cached. In this way, the next time the SMF network element needs to use the PCC rule corresponding to the flow, it can be obtained directly from the SMF network element without executing S1202, which can improve efficiency.
S1203,SMF网元根据流的PCC规则确定流从UE传输至UPF网元的的第三时延。第三时延可以是流从UE传输至UPF网元的最大传输时延。S1203. The SMF network element determines the third delay of the flow from the UE to the UPF network element according to the PCC rule of the flow. The third delay may be the maximum transmission delay of the flow from the UE to the UPF network element.
流从UE传输至UPF网元的最大传输时延,可以等同于流从UPF网元传输至UE的最大传输时延,因此该步骤可以参考S203,此处不再赘述。The maximum transmission delay of the flow from the UE to the UPF network element can be equivalent to the maximum transmission delay of the flow from the UPF network element to the UE. Therefore, this step can refer to S203, which will not be repeated here.
S1204,SMF网元根据流对应的PCC规则能否为该流预留带宽资源。S1204. The SMF network element can reserve bandwidth resources for the flow according to the PCC rule corresponding to the flow.
该步骤可以参考S306,此处不再赘述。This step can be referred to S306, which is not repeated here.
若SMF网元根据流对应的PCC规则确定核心网和接入网能为该流预留带宽资源,则可以执行S1205,否则可以不执行S1205至S1206。If the SMF network element determines that the core network and the access network can reserve bandwidth resources for the flow according to the PCC rules corresponding to the flow, S1205 may be performed, otherwise S1205 to S1206 may not be performed.
S1205,SMF网元向UPF网元发送流的带宽需求信息。此外,SMF网元还可以更新UPF网元的信用调度参数。S1205: The SMF network element sends the bandwidth requirement information of the flow to the UPF network element. In addition, the SMF network element can also update the credit scheduling parameters of the UPF network element.
该步骤可以参考S312,此处不再赘述。This step can be referred to S312, which will not be repeated here.
可选地,本申请实施例的通信方法中,可以不执行S1205。即可以不用提前在UPF网元上为该流预留带宽资源。Optionally, in the communication method according to the embodiment of the present application, S1205 may not be performed. That is, it is not necessary to reserve bandwidth resources for the flow on the UPF network element in advance.
S1206,SMF网元向UE对应的AN设备发送流的带宽需求信息,以指示AN设备为流预留带宽资源。S1206, the SMF network element sends the bandwidth requirement information of the flow to the AN device corresponding to the UE, so as to instruct the AN device to reserve bandwidth resources for the flow.
该步骤可以参考S313,此处不再赘述。This step can be referred to S313, which is not repeated here.
可选地,本申请实施例的通信方法中,可以不执行S1206。即可以不用提前在AN设备上为该流预留带宽资源。Optionally, in the communication method in the embodiment of the present application, S1206 may not be performed. That is, it is not necessary to reserve bandwidth resources for the stream on the AN device in advance.
若本申请实施例的通信方法中不执行S1206,相应地,也可以不执行S1207。If S1206 is not executed in the communication method in the embodiment of the present application, S1207 may not be executed accordingly.
S1207,AN设备向SMF网元发送第一信息,第一信息用于指示接入网设备根据流的带宽需求信息为流预留带宽资源是否成功。S1207: The AN device sends first information to the SMF network element, and the first information is used to indicate whether the access network device successfully reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
可选地,该通信方法中,在执行S1206的情况下,也可以不执行S1207。Optionally, in the communication method, when S1206 is performed, S1207 may not be performed.
S1208,SMF网元向UE发送第一时延信息和流的标识信息。第一时延信息用于指示SMF网元在步骤S1203中确定的流从UPF网元传输至UE的最大传输时延。相应地,UE从SMF网元接收第一时延信息和流的标识信息。该步骤可以参考S1103,此处不再赘述。S1208: The SMF network element sends the first delay information and flow identification information to the UE. The first delay information is used to indicate the maximum transmission delay of the flow determined by the SMF network element from the UPF network element to the UE in step S1203. Correspondingly, the UE receives first delay information and flow identification information from the SMF network element. For this step, refer to S1103, and details are not described here.
若该通信方法中执行了S1207,则SMF网元可以在接收到第一信息后并且第一信息指示AN设备为流预留资源成功才执行S1208。若SMF网元没有收到AN设备发送的第一信息,或者从AN设备接收到指示资源预留失败的信息,则可以不执行S1208至S1210。If S1207 is performed in the communication method, the SMF network element may execute S1208 after receiving the first information and the first information indicates that the AN device successfully reserves resources for the stream. If the SMF network element does not receive the first information sent by the AN device, or receives information from the AN device indicating that the resource reservation fails, S1208 to S1210 may not be performed.
S1209,UE根据第一时延信息指示的最大传输时延,确定流从UE传输至UPF网元的目标时延。该步骤可以参考S1104,此处不再赘述。S1209: The UE determines a target delay for transmitting a stream from the UE to the UPF network element according to the maximum transmission delay indicated by the first delay information. This step can be referred to S1104, which will not be repeated here.
S1210,UE向UPF网元发送第二时延信息,第二时延信息用于指示S1209中的目标时延。该步骤可以参考S1105,此处不再赘述。In S1210, the UE sends second delay information to the UPF network element, and the second delay information is used to indicate the target delay in S1209. This step can be referred to S1105, which is not repeated here.
S1211,UPF网元向TSN发送第四时延信息和流的标识信息。TSN中的节点收到第四时延信息后,可以判断第四时延是否超过流从UE传输至TSN中的流服务接受者的最大传输时延需求。S1211, the UPF network element sends the fourth delay information and flow identification information to the TSN. After the node in the TSN receives the fourth delay information, it can determine whether the fourth delay exceeds the maximum transmission delay requirement of the stream service receiver from the UE to the TSN.
例如,UPF网元向TSN发送UPF网元在S1210中从UE接收的流服务提供者广播声明消息,其中UPF将该流服务提供者广播声明消息中携带的第二时延更新为第四时延。For example, the UPF network element sends to the TSN the streaming service provider broadcast announcement message received by the UPF network element from the UE in S1210, where the UPF updates the second delay carried in the broadcast service broadcast announcement message to the fourth delay. .
该第四时延信息是UPF网元将第二时延信息加上所述流从所述UPF传输至TSN中下一跳网桥(Bridge)的时延后的值。如果UPF的下一跳就是流服务接受者,则该第四时延信息是UPF网元将第二时延信息与所述流从所述UPF传输至流服务接受者的时延后的值。The fourth delay information is a value after the UPF network element adds the second delay information to the delay of the stream from the UPF to the next hop bridge in the TSN. If the next hop of the UPF is the stream service receiver, the fourth delay information is a value of the delay after the UPF network element transmits the second delay information and the stream from the UPF to the stream service receiver.
应理解,本申请实施例中的通信方法中,并不限定S1204的执行顺序。例如,S1204可以位于S1203之前。It should be understood that, in the communication method in the embodiment of the present application, the execution sequence of S1204 is not limited. For example, S1204 can be located before S1203.
应理解,本申请实施例中的通信方法中,并不限定S1205的执行顺序。只需要满足S1205位于S1204之后即可。It should be understood that, in the communication method in the embodiment of the present application, the execution sequence of S1205 is not limited. It only needs to satisfy S1205 after S1204.
应理解,本申请实施例中的通信方法中,并不限定S1206的执行顺序。只需要满足S1206位于S1203之前,且位于S1207之前即可。It should be understood that the communication method in the embodiment of the present application does not limit the execution sequence of S1206. It only needs to satisfy S1206 before S1203 and before S1207.
本申请另一个实施例的通信方法的示意性流程图如图13所示。应理解,图13示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图13中的各个操作的变形。此外,图13中的各个步骤可以按照与图13呈现的不同的顺序来执行,并且有可能并非要执行图13中的全部操作。A schematic flowchart of a communication method according to another embodiment of the present application is shown in FIG. 13. It should be understood that FIG. 13 shows steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 13. In addition, each step in FIG. 13 may be performed in a different order than that presented in FIG. 13, and it is possible that not all operations in FIG. 13 are to be performed.
S1301-S1303,可以参考S1201-S1203,此处不再赘述。For S1301-S1303, you can refer to S1201-S1203, which will not be repeated here.
S1304,SMF网元根据流对应的PCC规则确定能否为该流触发会话修改流程或会话建立流程从而为该流建立一个对应的QoS流(QoS Flow)。若SMF网元根据流对应的PCC规则确定能为该流建立一个对应的QoS流,则可以执行S1305,否则可以执行图7中的通信方法。S1304: The SMF network element determines whether a session modification process or a session establishment process can be triggered for the flow to establish a corresponding QoS flow (QoS flow) for the flow according to the PCC rule corresponding to the flow. If the SMF network element determines that a corresponding QoS flow can be established for the flow according to the PCC rule corresponding to the flow, S1305 may be performed; otherwise, the communication method in FIG. 7 may be performed.
SMF网元根据流对应的PCC规则确定能否为该流建立一个对应的QoS流,可以理解为:SMF网元根据流对应的PCC规则确定核心网和无线接入网能否满足流的带宽需求和时延需求。The SMF network element determines whether a corresponding QoS flow can be established for the flow according to the PCC rules corresponding to the flow. It can be understood that the SMF network element determines whether the core network and the wireless access network can meet the bandwidth requirements of the flow according to the PCC rules corresponding to the flow And latency requirements.
S1305,SMF网元向UE发送第一时延信息。相应地,UE从SMF网元接收第一时延信息。该步骤可以参考S1208,此处不再赘述。S1305. The SMF network element sends the first delay information to the UE. Correspondingly, the UE receives the first delay information from the SMF network element. This step can be referred to S1208, which will not be repeated here.
S1306-S1308,可以参考S1209-S1211,此处不再赘述。For S1306-S1308, you can refer to S1209-S1211, which will not be repeated here.
本申请一个实施例的通信方法的示意性流程图如图14所示。应理解,图14示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图14中的各个操作的变形。A schematic flowchart of a communication method according to an embodiment of the present application is shown in FIG. 14. It should be understood that FIG. 14 shows the steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 14.
S1401,UPF网元从TSN接收流的第一时延信息,第一时延信息用于指示流从TSN中的流服务提供者传输至UPF网元的第一时延。S1401: The UPF network element receives the first delay information of the flow from the TSN, and the first delay information is used to indicate the first delay of the flow from the stream service provider in the TSN to the UPF network element.
该步骤可以参考S201,此处不再赘述。This step can be referred to S201, which is not repeated here.
S1402,UPF网元向SMF网元发送流的信息。相应地,SMF网元从UPF网元接收流的信息。S1402: The UPF network element sends flow information to the SMF network element. Accordingly, the SMF network element receives the flow information from the UPF network element.
流的信息包括以下至少一项:流的标识ID,流的源地址和目的地址,传输流的最大帧的大小和用于传输流的帧之间的间隔,流的优先级,流的单个帧从Talker传输到Listener的最大允许时延,或流的可靠性需求。The flow information includes at least one of the following: the flow ID, the source and destination addresses of the flow, the maximum frame size of the transport stream and the interval between the frames used to transport the stream, the priority of the stream, and the single frame of the stream The maximum allowable delay from the Talker to the Listener, or the reliability requirements of the stream.
例如,UPF网元可以将其在S1401中从TSN接收的流服务提供者广播声明消息转发给SMF网元。For example, the UPF network element may forward the stream service provider broadcast announcement message that it received from the TSN in S1401 to the SMF network element.
S1403,SMF网元根据流的信息向UPF网元发送第三时延信息,该第三时延信息用于指示流从UPF网元传输至UE的第三时延。第三时延可以是流从UPF网元传输至UE的最大传输时延。相应地,UPF网元从SMF网元接收第三时延信息。例如,SMF网元从UE接收流的信息后,根据该流的信息获取流的PCC规则,根据流的PCC规则确定流对应的5QI,进一步确定5QI对应的UPF和UE之间的PDB,该PDB作为流从UPF网元传输至UE的最大传输时延,并向UPF网元发送第三时延信息。S1403. The SMF network element sends the third delay information to the UPF network element according to the flow information, and the third delay information is used to indicate the third delay of the flow transmission from the UPF network element to the UE. The third delay may be a maximum transmission delay of the flow transmission from the UPF network element to the UE. Accordingly, the UPF network element receives the third delay information from the SMF network element. For example, after receiving the flow information from the UE, the SMF network element obtains the PCC rules of the flow according to the flow information, determines the 5QI corresponding to the flow according to the PCC rules of the flow, and further determines the PDB between the UPF corresponding to the 5QI and the UE. The PDB The maximum transmission delay transmitted from the UPF network element to the UE as a stream, and sending the third delay information to the UPF network element.
或者,SMF网元从UE接收流的信息后,根据该流的信息获取流的PCC规则,根据流的PCC规则确定流对应的5QI,并向UPF发送该5QI,UPF根据5QI确定5QI对应的UPF和UE之间的PDB,该PDB作为流从UPF网元传输至UE的最大传输时延。SMF网元获取流的PCC规则的实现方式可以参考S303,SMF网元根据PCC规则确定最大传输时延的实现方式可以参考S304,此处不再赘述。Alternatively, after receiving the flow information from the UE, the SMF network element obtains the PCC rules of the flow according to the flow information, determines the 5QI corresponding to the flow according to the PCC rules of the flow, and sends the 5QI to the UPF. The UPF determines the UPF corresponding to the 5QI according to the 5QI. The PDB between the UE and the UE. This PDB is used as a stream to transmit the maximum transmission delay from the UPF network element to the UE. For the implementation manner of the PCC rule for the SMF network element to obtain the flow, refer to S303. For the implementation manner of the SMF network element to determine the maximum transmission delay according to the PCC rule, refer to S304, and details are not described herein again.
例如,SMF网元可以向UPF网元发送流服务提供者广播声明消息,该消息中携带第三时延信息。For example, the SMF network element may send a stream service provider broadcast announcement message to the UPF network element, and the message carries the third delay information.
该UE可以是图1中的UE 101。The UE may be UE 101 in FIG. 1.
S1404,UPF网元根据第一时延信息指示的第一时延和第三时延信息指示的第三时延,确定流从TSN中的流服务提供者传输至UE的第二时延。S1404. The UPF network element determines a second delay for transmitting the stream from the streaming service provider in the TSN to the UE according to the first delay indicated by the first delay information and the third delay indicated by the third delay information.
该步骤可以参考S204中SMF网元确定第二时延的实现方式,此处不再赘述。For this step, refer to the implementation manner of determining the second delay by the SMF network element in S204, and details are not described herein again.
S1405,UPF网元向UE发送第二时延信息以及流的标识信息。S1405. The UPF network element sends the second delay information and the flow identification information to the UE.
例如,UPF网元可以向UE发送流服务提供者广播声明消息,该消息中携带第二时延信息和流标识信息。流标识信息用于指示流的标识。For example, the UPF network element may send a stream service provider broadcast announcement message to the UE, where the message carries the second delay information and the flow identification information. The flow identification information is used to indicate the identification of the flow.
应理解,S1405不是必须要执行的步骤,也就是说,UPF网元可以不向UE发送第二时延信息。It should be understood that S1405 is not a required step, that is, the UPF network element may not send the second delay information to the UE.
可选地,UPF网元可以向TSN发送第二时延信息。例如,UPF网元可以向TSN发送 流服务接受者准备消息,该消息中携带第二时延信息和流的标识信息。Optionally, the UPF network element may send the second delay information to the TSN. For example, the UPF network element may send a stream service receiver preparation message to the TSN, and the message carries the second delay information and the flow identification information.
该通信方法中,UPF网元将SMF网元确定的流从UPF网元传输至UE的最大传输时延作为流从UPF网元传输至UE的累计时延。而现有技术中,需要在UPF网元至UE之间的两两相邻节点之间做时钟同步,最终实现UPF网元至UE之间所有的节点的时钟同步,从而在UPF网元至UE的所有传输节点上支持TSN网络,从而在UPF网元至UE的所有传输节点上支持TSN网络,以计算流从UPF网元传输至UE的累计时延。该通信方法与现有技术相比,方案简单,容易实现。In this communication method, the UPF network element uses the maximum transmission delay of the flow determined by the SMF network element from the UPF network element to the UE as the cumulative delay of the flow from the UPF network element to the UE. In the prior art, clock synchronization needs to be performed between two adjacent nodes between the UPF network element and the UE, and finally the clock synchronization of all nodes between the UPF network element and the UE is achieved, so that the UPF network element to the UE The TSN network is supported on all transmission nodes, so that the TSN network is supported on all transmission nodes from the UPF network element to the UE, so as to calculate the cumulative delay of the flow from the UPF network element to the UE. Compared with the prior art, the communication method has a simple scheme and is easy to implement.
本申请另一个实施例的通信方法的示意性流程图如图15所示。应理解,图15示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图15中的各个操作的变形。此外,图15中的各个步骤可以按照与图15呈现的不同的顺序来执行,并且有可能并非要执行图15中的全部操作。A schematic flowchart of a communication method according to another embodiment of the present application is shown in FIG. 15. It should be understood that steps or operations of the communication method are shown in FIG. 15, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 15. In addition, each step in FIG. 15 may be performed in a different order than that presented in FIG. 15, and it is possible that not all operations in FIG. 15 are to be performed.
S1501,UPF网元从TSN接收第一时延信息,第一时延信息用于指示流从TSN的流服务提供者传输至UPF网元的第一时延。S1501. The UPF network element receives the first delay information from the TSN, and the first delay information is used to indicate a first delay of the flow from the TSN stream service provider to the UPF network element.
该步骤可以参考S201,此处不再赘述。This step can be referred to S201, which is not repeated here.
S1502,UPF网元向SMF网元发送流的信息。相应地,SMF网元从UPF网元接收流的信息。S1502: The UPF network element sends flow information to the SMF network element. Accordingly, the SMF network element receives the flow information from the UPF network element.
该步骤可以参考S1402,此处不再赘述。This step can be referred to S1402, which will not be repeated here.
S1503,SMF网元根据流的信息向UPF网元发送第三时延信息,该第三时延信息用于指示该流从UPF网元传输至UE的最大传输时延。相应地,UPF网元从SMF网元接收第三时延信息。S1503. The SMF network element sends third delay information to the UPF network element according to the flow information, and the third delay information is used to indicate the maximum transmission delay of the flow from the UPF network element to the UE. Accordingly, the UPF network element receives the third delay information from the SMF network element.
该步骤可以参考S1403,此处不再赘述。This step can be referred to S1403, which will not be repeated here.
S1504,UPF网元根据S1503中的最大传输时延和第一时延信息指示的第一时延,确定流从TSN的流服务提供者传输至UE的第二时延。In S1504, the UPF network element determines a second delay in transmitting the stream from the TSN's streaming service provider to the UE according to the maximum transmission delay in S1503 and the first delay indicated by the first delay information.
该步骤可以参考S204,此处不再赘述。This step may refer to S204, and is not repeated here.
S1505,UPF网元向UE发送第二时延信息和流的标识信息,第二时延信息用于指示第二时延。相应地,UE从UPF网元接收第二时延信息,流的标识信息用于指示流的标识。S1505. The UPF network element sends the second delay information and flow identification information to the UE, and the second delay information is used to indicate the second delay. Correspondingly, the UE receives the second delay information from the UPF network element, and the flow identification information is used to indicate the flow identification.
例如,UPF网元可以将其从TSN接收的流服务提供者广播声明消息中的第一时延信息修改为第二时延信息,从而可以将流服务提供者广播声明消息中记录的第一时延修改为第二时延。然后,UPF网元可以向UE发送修改后的流服务提供者广播声明消息中。For example, the UPF network element can modify the first delay information in the broadcast service broadcast message it receives from the TSN to the second delay information, so that the first time recorded in the broadcast service broadcast message can be changed. The delay was changed to a second delay. Then, the UPF network element may send the modified streaming service provider broadcast announcement message to the UE.
S1506,UE根据从S1505中接收的第二时延信息确定第二时延能满足该流的延时需求。S1506: The UE determines, according to the second delay information received from S1505, that the second delay can meet the delay requirement of the stream.
该步骤可以参考S309,此处不再赘述。This step can be referred to S309, which is not repeated here.
S1507,UE向UPF网元发送消息,指示UE可以接收该流。该消息中可以包括流的标识信息。可选的,该消息中还可以包括第二时延信息。S1507: The UE sends a message to the UPF network element, indicating that the UE can receive the stream. The message may include flow identification information. Optionally, the message may further include second delay information.
该步骤可以参考S310,此处不再赘述。This step can be referred to S310, which will not be repeated here.
S1508,UPF网元根据流的带宽需求为流预留带宽资源。该流的带宽需求可以是UPF网元从SMF网元接收的。SMF网元可以根据流的PCC规则确定流的带宽需求。S1508, the UPF network element reserves bandwidth resources for the flow according to the bandwidth requirement of the flow. The bandwidth requirement of this flow may be received by the UPF network element from the SMF network element. The SMF network element can determine the bandwidth requirements of the flow according to the PCC rules of the flow.
可选地,本申请实施例的通信方法中,可以不执行S1508。即可以不用提前在UPF网元上为该流预留带宽资源。Optionally, in the communication method in the embodiment of the present application, S1508 may not be performed. That is, it is not necessary to reserve bandwidth resources for the flow on the UPF network element in advance.
S1509,若UPF网元为流预留带宽资源成功,则向SMF网元发送指示UPF网元预留带宽资源成功的信息,以便于SMF网元向UE对应的AN设备发送流的带宽需求信息。此外,UPF网元还可以更新UPF网元的信用调度参数。S1509: If the UPF network element successfully reserves bandwidth resources for the stream, send information to the SMF network element indicating that the UPF network element successfully reserves bandwidth resources, so that the SMF network element sends the bandwidth requirement information of the stream to the AN device corresponding to the UE. In addition, the UPF network element can also update the credit scheduling parameters of the UPF network element.
UPF网元根据流的带宽需求信息为该流预留带宽资源,从而可以使得该流传输至UPF网元时,UPF网元上可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。The UPF network element reserves bandwidth resources for the stream according to the bandwidth requirement information of the stream, so that when the stream is transmitted to the UPF network element, the UPF network element can have corresponding bandwidth resources to transmit the stream, which can improve the transmission of the stream. reliability.
S1510,SMF网元向UE对应的AN设备发送流的带宽需求信息,以指示AN设备为流预留带宽资源。S1510, the SMF network element sends the bandwidth requirement information of the flow to the AN device corresponding to the UE, to instruct the AN device to reserve bandwidth resources for the flow.
该步骤可以参考S313,此处不再赘述。This step can be referred to S313, which is not repeated here.
可选地,本申请实施例的通信方法中,可以不执行S1510。即可以不用提前在AN设备上为该流预留带宽资源。Optionally, in the communication method in the embodiment of the present application, S1510 may not be performed. That is, it is not necessary to reserve bandwidth resources for the stream on the AN device in advance.
若本申请实施例的通信方法中不执行S1510,相应地,也可以不执行S1511和S1512。If S1510 is not executed in the communication method in the embodiment of the present application, S1511 and S1512 may not be executed accordingly.
S1511,AN设备向SMF网元发送第一信息,第一信息用于指示接入网设备根据流的带宽需求信息为流预留带宽资源是否成功。S1511, the AN device sends first information to the SMF network element, and the first information is used to indicate whether the access network device successfully reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
可选地,该通信方法中,在执行S1510的情况下,也可以不执行S1511和S1512。Optionally, in the communication method, when S1510 is performed, S1511 and S1512 may not be performed.
S1512,若SMF网元从AN设备接收第一信息,则SMF网元向UPF网元发送第一信息。S1512: If the SMF network element receives the first information from the AN device, the SMF network element sends the first information to the UPF network element.
S1513,UPF网元向TSN发送流的标识信息和第二时延信息。S1513: The UPF network element sends the flow identification information and the second delay information to the TSN.
例如,UPF网元可以向TSN发送流服务接受者准备消息,该流服务接受者准备消息中携带流的标识信息和第二时延信息。For example, the UPF network element may send a stream service receiver preparation message to the TSN, and the stream service receiver preparation message carries the flow identification information and the second delay information.
若该通信方法中执行了S1512,则UPF网元可以在从SMF网元接收第一信息并且第一信息指示AN设备为流预留资源成功后,再执行S1513。若UPF网元没有收到SMF发送的第一信息,则可以执行图17中所示的通信方法。If S1512 is performed in the communication method, the UPF network element may execute S1513 after receiving the first information from the SMF network element and the first information indicates that the AN device successfully reserves resources for the stream. If the UPF network element does not receive the first information sent by the SMF, the communication method shown in FIG. 17 may be performed.
应理解,本申请实施例中的通信方法中,并不限制S1508至S1512的执行顺序,例如可以位于S1505或S1504之前。It should be understood that, in the communication method in the embodiment of the present application, the execution order of S1508 to S1512 is not limited, and for example, it may be located before S1505 or S1504.
图16为本申请另一个实施例的通信方法的示意性流程图。应理解,图16示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图16中的各个操作的变形。此外,图16中的各个步骤可以按照与图16呈现的不同的顺序来执行,并且有可能并非要执行图16中的全部操作。FIG. 16 is a schematic flowchart of a communication method according to another embodiment of the present application. It should be understood that FIG. 16 illustrates steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. In addition, each step in FIG. 16 may be performed in a different order than that presented in FIG. 16, and it is possible that not all operations in FIG. 16 are to be performed.
S1601,UPF网元从TSN接收第一时延信息,第一时延信息用于指示流从TSN的流服务提供者传输至UPF网元的第一时延。S1601: The UPF network element receives the first delay information from the TSN, and the first delay information is used to indicate a first delay of the flow from the TSN stream service provider to the UPF network element.
该步骤可以参考S201,此处不再赘述。This step can be referred to S201, which is not repeated here.
S1602,UPF网元向SMF网元发送流的信息。相应地,SMF网元从UPF网元接收流的信息。S1602: The UPF network element sends flow information to the SMF network element. Accordingly, the SMF network element receives the flow information from the UPF network element.
该步骤可以参考S202,此处不再赘述。For this step, refer to S202, and details are not described herein again.
S1603,SMF网元根据流的信息向UPF网元发送第三时延信息,该第三时延信息用于指示该流从UPF网元传输至UE的最大传输时延。相应地,UPF网元从SMF网元接收第三时延信息。S1603: The SMF network element sends third delay information to the UPF network element according to the flow information, and the third delay information is used to indicate the maximum transmission delay of the flow from the UPF network element to the UE. Accordingly, the UPF network element receives the third delay information from the SMF network element.
该步骤可以参考S1403,此处不再赘述。This step can be referred to S1403, which will not be repeated here.
S1604,UPF网元根据S1603中的最大传输时延和第一时延信息指示的第一时延,确 定流从TSN的流服务提供者传输至UE的第二时延。In S1604, the UPF network element determines a second delay for transmitting the stream from the TSN's streaming service provider to the UE according to the maximum transmission delay in S1603 and the first delay indicated by the first delay information.
该步骤可以参考S204,此处不再赘述。This step may refer to S204, and is not repeated here.
S1605,UPF网元向UE发送流的标识信息。相应地,UE从UPF网元接收流的标识信息。S1605: The UPF network element sends the flow identification information to the UE. Accordingly, the UE receives the flow identification information from the UPF network element.
该步骤可以参考S608,此处不再赘述。This step can be referred to S608, which is not repeated here.
S1606,UE根据从S1605中接收的流的标识信息确定是否对该流感兴趣。该步骤可以参考S609,此处不再赘述。S1606: The UE determines whether it is interested in the flow according to the identification information of the flow received from S1605. This step can be referred to S609, which is not repeated here.
S1607,UE向UPF网元发送消息,指示UE可以接收该流。该消息中可以包括流的标识信息。S1607: The UE sends a message to the UPF network element, indicating that the UE can receive the stream. The message may include flow identification information.
该步骤可以参考S610,此处不再赘述。For this step, refer to S610, and details are not described here.
S1608,UPF网元根据流的带宽需求为流预留带宽资源。该流的带宽需求可以是UPF网元从SMF网元接收的。SMF网元可以根据流的PCC规则确定流的带宽需求。S1608, the UPF network element reserves bandwidth resources for the flow according to the bandwidth requirement of the flow. The bandwidth requirement of this flow may be received by the UPF network element from the SMF network element. The SMF network element can determine the bandwidth requirements of the flow according to the PCC rules of the flow.
可选地,本申请实施例的通信方法中,可以不执行S1608。即可以不用提前在UPF网元上为该流预留带宽资源。Optionally, in the communication method in the embodiment of the present application, S1608 may not be performed. That is, it is not necessary to reserve bandwidth resources for the flow on the UPF network element in advance.
S1609,若UPF网元为流预留带宽资源成功,则向SMF网元发送指示UPF网元预留带宽资源成功的信息,以便于SMF网元向UE对应的AN设备发送流的带宽需求信息。此外,UPF网元还可以更新UPF网元的信用调度参数。S1609: If the UPF network element successfully reserves bandwidth resources for the flow, send information to the SMF network element indicating that the UPF network element has successfully reserved bandwidth resources, so that the SMF network element sends the bandwidth requirement information of the flow to the AN device corresponding to the UE. In addition, the UPF network element can also update the credit scheduling parameters of the UPF network element.
UPF网元根据流的带宽需求信息为该流预留带宽资源,从而可以使得该流传输至UPF网元时,UPF网元上可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。The UPF network element reserves bandwidth resources for the stream according to the bandwidth requirement information of the stream, so that when the stream is transmitted to the UPF network element, the UPF network element can have corresponding bandwidth resources to transmit the stream, which can improve the transmission of the stream. reliability.
S1610,SMF网元向UE对应的AN设备发送流的带宽需求信息,以指示AN设备为流预留带宽资源。S1610, the SMF network element sends the bandwidth requirement information of the flow to the AN device corresponding to the UE, so as to instruct the AN device to reserve bandwidth resources for the flow.
该步骤可以参考S313,此处不再赘述。This step can be referred to S313, which is not repeated here.
可选地,本申请实施例的通信方法中,可以不执行S1610。即可以不用提前在AN设备上为该流预留带宽资源。Optionally, in the communication method in the embodiment of the present application, S1610 may not be performed. That is, it is not necessary to reserve bandwidth resources for the stream on the AN device in advance.
若本申请实施例的通信方法中不执行S1610,相应地,也可以不执行S1611和S1612。If S1610 is not executed in the communication method in the embodiment of the present application, S1611 and S1612 may not be executed accordingly.
S1611,AN设备向SMF网元发送第一信息,第一信息用于指示接入网设备根据流的带宽需求信息为流预留带宽资源是否成功。S1611, the AN device sends first information to the SMF network element, and the first information is used to indicate whether the access network device successfully reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
可选地,该通信方法中,在执行S1610的情况下,也可以不执行S1611和S1612。Optionally, in the communication method, when S1610 is performed, S1611 and S1612 may not be performed.
S1612,若SMF网元从AN设备接收第一信息,则SMF网元向UPF网元发送第一信息。S1612: If the SMF network element receives the first information from the AN device, the SMF network element sends the first information to the UPF network element.
S1613,UPF网元向TSN发送流的标识信息和第二时延信息。S1613: The UPF network element sends the flow identification information and the second delay information to the TSN.
例如,UPF网元可以向TSN发送流服务接受者准备消息,该流服务接受者准备消息中携带流的标识信息和第二时延信息。For example, the UPF network element may send a stream service receiver preparation message to the TSN, and the stream service receiver preparation message carries the flow identification information and the second delay information.
若该通信方法中执行了S1612,则UPF网元可以在从SMF网元接收第一信息并且第一信息指示AN设备为流预留资源成功后,再执行S1613。若UPF网元没有收到SMF发送的第一信息,则可以执行图17中所示的通信方法。If S1612 is performed in the communication method, the UPF network element may execute S1613 after receiving the first information from the SMF network element and the first information indicates that the AN device successfully reserves resources for the stream. If the UPF network element does not receive the first information sent by the SMF, the communication method shown in FIG. 17 may be performed.
应理解,本申请实施例中的通信方法中,并不限制S1608至S1612的执行顺序,例如可以位于S1605或S1604之前。It should be understood that, in the communication method in the embodiment of the present application, the execution order of S1608 to S1612 is not limited, and for example, it may be located before S1605 or S1604.
图17为本申请另一个实施例的通信方法的示意性流程图。应理解,图17示出了该通 信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图17中的各个操作的变形。此外,图17中的各个步骤可以按照与图17呈现的不同的顺序来执行,并且有可能并非要执行图17中的全部操作。FIG. 17 is a schematic flowchart of a communication method according to another embodiment of the present application. It should be understood that FIG. 17 shows the steps or operations of the communication method, but these steps or operations are merely examples, and the embodiment of the present application may also perform other operations or a modification of each operation in FIG. 17. In addition, each step in FIG. 17 may be performed in a different order than that presented in FIG. 17, and it is possible that not all operations in FIG. 17 are to be performed.
S1701,UPF网元向UE发送流服务提供者失败声明消息,该消息用于指示由于带宽限制或者其它限制导致不能提供流服务。S1701, the UPF network element sends a stream service provider failure declaration message to the UE, which is used to indicate that the stream service cannot be provided due to bandwidth limitation or other restrictions.
例如,UPF网元判断UPF网元或AN设备不能为流预留带宽资源,或无法满足流的QoS需求时,可以向UE发送流服务提供者失败声明消息。For example, when the UPF network element determines that the UPF network element or the AN device cannot reserve bandwidth resources for the flow, or fails to meet the flow QoS requirements, it may send a flow service provider failure declaration message to the UE.
例如,当有更高优先级的流需要传输;或者当UE移动切换到新基站后,由于UPF网元对应的输出端口变化,导致输出端口超过可预留上限;或者PCF不允许为该流预留带宽资源时,UPF网元可以确定无法满足该流的QoS需求。For example, when a higher-priority stream needs to be transmitted; or when the UE moves to a new base station, the output port corresponding to the UPF network element changes, resulting in the output port exceeding the reservable upper limit; or the PCF does not allow the stream to be reserved When bandwidth resources are reserved, the UPF network element can determine that the QoS requirements of the flow cannot be met.
S1702,UE向UPF网元发起流服务接受者请求失败声明消息。S1702: The UE initiates a flow service recipient request failure declaration message to the UPF network element.
S1703,UPF网元将流服务接受者请求失败声明转发给TSN中的流服务提供者。S1703: The UPF network element forwards the stream service receiver request failure declaration to the stream service provider in the TSN.
所述流服务接受者请求失败声明消息的作用是为了通知TSN中的流服务提供者资源预留失败以及失败的原因。The role of the stream service receiver request failure declaration message is to notify the stream service provider in the TSN of the resource reservation failure and the reason for the failure.
应理解,图17中所示的消息名称仅是一种示例。只要能实现该通信方法中的相应功能的消息都属于本申请实施例的保护范围。It should be understood that the message names shown in FIG. 17 are only examples. As long as the messages capable of implementing the corresponding functions in the communication method belong to the protection scope of the embodiment of the present application.
如图19所示,可以应用本申请实施例的通信方法的另一种应用场景中可以包括UE1901、接入网设备1902、UPF网元1903、AMF网元1904、SMF网元1905、PCF网元1906、通信设备1907和通信设备1908。As shown in FIG. 19, another application scenario in which the communication method of the embodiment of the present application can be applied may include UE1901, access network device 1902, UPF network element 1903, AMF network element 1904, SMF network element 1905, and PCF network element. 1906. A communication device 1907 and a communication device 1908.
其中,通信设备1907和通信设备1908可以分别为TSN中的流服务提供者或流服务接受者。UE 1901、接入网设备1902、UPF网元1903、AMF网元1904、SMF网元1905和PCF网元1906所属的通信系统可以是3GPP通信系统(例如5G通信系统)。UE 1901、接入网设备1902、UPF网元1903、AMF网元1904、SMF网元1905和PCF网元1906所属的通信系统可以作为TSN的一个网桥。The communication device 1907 and the communication device 1908 may be a streaming service provider or a streaming service receiver in the TSN, respectively. The communication system to which the UE 1901, the access network device 1902, the UPF network element 1903, the AMF network element 1904, the SMF network element 1905, and the PCF network element 1906 belong may be a 3GPP communication system (for example, a 5G communication system). The communication system to which the UE 1901, the access network device 1902, the UPF network element 1903, the AMF network element 1904, the SMF network element 1905, and the PCF network element 1906 belong can serve as a bridge of the TSN.
例如,通信设备1907作为TSN中的流服务提供者、通信设备1908作为流服务接受者时,UE 1901可以作为TSN的网桥的输入端口,UPF网元1903可以作为TSN的网桥的输出端口;同理,通信设备1908作为TSN中的流服务提供者、通信设备1907作为流服务接受者时,UPF网元1903可以作为TSN的网桥的输入端口,UE 1901可以作为TSN的网桥的输出端口。TSN中与3GPP通信系统中作为输出端口的通信设备通信的网元或设备可以称为3GPP通信系统中作为输出端口的通信设备的下一跳网元。其中,通信设备1907可以和UE 1901合设。For example, when the communication device 1907 is the stream service provider in the TSN and the communication device 1908 is the stream service receiver, the UE 1901 can be used as the input port of the TSN bridge, and the UPF network element 1903 can be used as the output port of the TSN bridge; Similarly, when the communication device 1908 serves as the stream service provider in the TSN and the communication device 1907 serves as the stream service receiver, the UPF network element 1903 can serve as the input port of the TSN bridge, and the UE 1901 can serve as the output port of the TSN bridge. . The network element or device in the TSN that communicates with the communication device as the output port in the 3GPP communication system may be referred to as the next hop network element of the communication device in the 3GPP communication system as the output port. Among them, the communication device 1907 may be co-located with the UE 1901.
图19所示的应用场景中,需要计算流服务提供者至3GPP通信系统中作为输出端口的通信设备的下一跳的网元之间的累计时延。针对此问题,本申请提出了如下通信方法。In the application scenario shown in FIG. 19, it is necessary to calculate a cumulative delay between a streaming service provider and a next-hop network element of a communication device as an output port in a 3GPP communication system. In view of this problem, the present application proposes the following communication method.
图20为本申请一个实施例的通信方法的示意性流程图。应理解,图20示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图20中的各个操作的变形。此外,图20中的各个步骤可以按照与图20呈现的不同的顺序来执行,并且有可能并非要执行图20中的全部操作。FIG. 20 is a schematic flowchart of a communication method according to an embodiment of the present application. It should be understood that FIG. 20 shows steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 20. In addition, each step in FIG. 20 may be performed in a different order than that presented in FIG. 20, and it is possible that not all operations in FIG. 20 are to be performed.
S2001,UPF网元从TSN接收第一时延信息,第一时延信息用于指示第一时延,第一时延是指该流从TSN中的流服务提供者传输至该UPF网元的累计时延。S2001, the UPF network element receives the first delay information from the TSN. The first delay information is used to indicate the first delay. The first delay refers to the transmission of the stream from the stream service provider in the TSN to the UPF network element. Cumulative delay.
例如,UPF网元1903从TSN中作为UPF网元1903的上一跳的网元接收流服务提供者广播声明消息,该消息可以用于广播一个流以及流对应的QoS需求,该消息中可以包括流的标识信息和第一时延信息。此时,第一时延是指流从作为流服务提供者的通信设备1908传输至UPF网元1903的累计时延。UPF网元1903的上一跳网元可以是通信设备1908,也可以是UPF网元1903与通信设备1908之间的设备或网元。For example, the UPF network element 1903 receives a stream service provider broadcast announcement message from the TSN as the previous hop of the UPF network element 1903. This message can be used to broadcast a flow and the QoS requirements corresponding to the flow. The message may include Identification information and first delay information of the flow. At this time, the first delay refers to a cumulative delay in which a stream is transmitted from the communication device 1908 as a stream service provider to the UPF network element 1903. The previous hop network element of the UPF network element 1903 may be a communication device 1908, or may be a device or a network element between the UPF network element 1903 and the communication device 1908.
可选地,该消息中还可以包括以下一种或多种信息:目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求或资源预留失败原因。Optionally, the message may further include one or more of the following information: destination address, source address, maximum frame size, maximum frame interval, frame priority, and a single frame of the stream is transmitted from the stream service provider to the stream The maximum allowable delay of the service receiver, the reliability requirement of the flow, or the reason for the failure of resource reservation.
应理解,本申请实施例中,为了描述方便,将与流相关的信息中除第一时延信息以外其他信息均称为流的信息。例如,可以将与流相关的目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求、资源预留失败原因、流的标识或流的QoS参数等称为流的信息。It should be understood that, in the embodiments of the present application, for the convenience of description, information other than the first delay information in the information related to the stream is referred to as the information of the stream. For example, you can transfer the destination address, source address, maximum frame size, maximum frame interval, frame priority, frame's priority, and maximum allowable delay for a single frame of a stream from the stream service provider to the stream service receiver. The reliability requirements, reasons for resource reservation failure, flow identification, or flow QoS parameters are called flow information.
S2002,UPF网元向UE发送第一时延信息。相应地,UE从UPF网元接收第一时延信息。S2002, the UPF network element sends the first delay information to the UE. Accordingly, the UE receives the first delay information from the UPF network element.
例如,UPF网元1903从TSN收到流服务提供者广播声明消息后,将该流服务提供者广播声明消息转发给UE 1901。该流服务提供者广播声明消息中携带第一时延信息和流的信息。For example, after the UPF network element 1903 receives the broadcast service provider broadcast announcement message from the TSN, it forwards the broadcast service provider broadcast announcement message to the UE 1901. The stream service provider broadcast announcement message carries first delay information and stream information.
例如,UPF网元1903从TSN收到流服务提供者广播声明消息后,获取该流服务提供者广播声明消息中的第一时延信息和流的信息,并将第一时延信息和流的信息发给UE1901。For example, after receiving the broadcast service announcement message from the TSN, the UPF network element 1903 obtains the first delay information and the flow information in the broadcast service provider broadcast declaration message, and changes the first delay information and the flow information. Information is sent to UE1901.
S2003,UE向SMF网元发送第一时延信息。相应地,SMF网元从UE接收第一时延信息。S2003: The UE sends the first delay information to the SMF network element. Accordingly, the SMF network element receives the first delay information from the UE.
例如,UE 1901从UPF网元1903收到流服务提供者广播声明消息后,将该流服务提供者广播声明消息转发给SMF网元1905。该流服务提供者广播声明消息中携带第一时延信息和流的信息。For example, after receiving the broadcast service broadcast message from the UPF network element 1903, the UE 1901 forwards the broadcast service broadcast broadcast message to the SMF network element 1905. The stream service provider broadcast announcement message carries first delay information and stream information.
例如,UE 1901从UPF网元1903收到流服务提供者广播声明消息后,获取该流服务提供者广播声明消息中的第一时延信息和流的信息,并将第一时延信息和流的信息发给SMF网元1905。For example, after receiving the broadcast service announcement message from the UPF network element 1903, the UE 1901 obtains the first delay information and the flow information in the broadcast service provider broadcast declaration message, and changes the first delay information and the flow. The information is sent to SMF network element 1905.
S2004,SMF网元从PCF网元获取所述流对应的PCC规则。In S2004, the SMF network element obtains a PCC rule corresponding to the flow from the PCF network element.
例如,SMF网元向PCF网元发送流的信息。该流的信息可以包括流的标识信息或流的QoS参数等。相应地,PCF网元从SMF网元接收流的信息。For example, the SMF network element sends flow information to the PCF network element. The flow information may include flow identification information or flow QoS parameters. Accordingly, the PCF network element receives the flow information from the SMF network element.
然后,PCF网元向SMF网元发送该流对应的PCC规则。相应地,SMF网元从PCF网元接收流对应的PCC规则。The PCF network element then sends the PCC rule corresponding to the flow to the SMF network element. Accordingly, the SMF network element receives the PCC rule corresponding to the flow from the PCF network element.
应理解,S2004不是必须要执行的步骤。这个步骤是为了实现SMF网元获取流对应的PCC规则,本申请实施例并不限制SMF网元获取流对应的PCC规则的实现方式。It should be understood that S2004 is not a required step. This step is to implement the PCC rule corresponding to the SMF network element acquisition flow, and the embodiment of the present application does not limit the implementation of the PCC rule corresponding to the SMF network element acquisition flow.
S2006,SMF网元根据流对应的PCC规则,确定第一目标时延,第一目标时延是指流从UPF网元至UE的传输时延。S2006, the SMF network element determines the first target delay according to the PCC rule corresponding to the flow. The first target delay refers to the transmission delay of the flow from the UPF network element to the UE.
本申请实施例中,第一目标时延也可以称为流在UPF网元与UE之间传输的累计时延。In the embodiment of the present application, the first target delay may also be referred to as a cumulative delay of the flow transmission between the UPF network element and the UE.
第一目标时延的一种示例可以是流从UPF网元到UE的最大传输时延。例如,SMF 网元可以根据PCC规则中的5QI,确定该流从UPF网元到UE的最大传输时延。例如,SMF网元可以将5QI对应的UPF和UE之间的PDB,作为流从UPF传输至UE的最大传输时延。An example of the first target delay may be the maximum transmission delay of the flow from the UPF network element to the UE. For example, the SMF network element may determine the maximum transmission delay of the flow from the UPF network element to the UE according to the 5QI in the PCC rule. For example, the SMF network element may use the PDB between the UPF corresponding to the 5QI and the UE as the maximum transmission delay from the UPF to the UE.
可选地,SMF网元获取PCC规则后,可以触发分组数据单元(packet data unit,PDU)会话修改过程,以便于为该流建立一个QoS流,实现针对该流的资源预留。Optionally, after obtaining the PCC rule, the SMF network element may trigger a packet data unit (PDU) session modification process, so as to establish a QoS flow for the flow and implement resource reservation for the flow.
S2007,SMF网元根据第一时延和第一目标时延,确定第二时延,第二时延是指流从流服务提供者至UE的传输时延。S2007, the SMF network element determines a second delay according to the first delay and the first target delay. The second delay refers to a transmission delay of the stream from the stream service provider to the UE.
例如,SMF网元根据流服务提供者广播声明消息中携带的第一时延信息指示的第一时延,和S2006中确定的最大传输时延,确定第二时延。For example, the SMF network element determines the second delay according to the first delay indicated by the first delay information carried in the broadcast announcement message of the streaming service provider and the maximum transmission delay determined in S2006.
若第一时延记为Accumulated Latency 1,第一目标时延记为T1,第二时延记为Accumulated Latency 2,则Accumulated Latency 2=Accumulated Latency 1+T1。If the first delay is recorded as Accumulated Latency1, the first target delay is recorded as T1, and the second delay is recorded as Accumulated Latency2, then AccumulatedLatency2 = AccumulatedLatency1 + T1.
S2008,SMF网元向UE发送第二时延信息,第二时延信息用于指示第二时延。相应地,UE从SMF网元接收第二时延信息。In S2008, the SMF network element sends the second delay information to the UE, and the second delay information is used to indicate the second delay. Accordingly, the UE receives the second delay information from the SMF network element.
例如,SMF网元将其从UE接收的流服务提供者广播声明消息的第一时延信息修改为第二时延信息,并向UE发送修改后的流服务提供者广播声明消息。For example, the SMF network element modifies the first delay information of the streaming service provider broadcast announcement message it receives from the UE to the second delay information, and sends the modified streaming service provider broadcast announcement message to the UE.
或者,SMF网元通过其他消息向UE发送第二时延信息。Alternatively, the SMF network element sends the second delay information to the UE through another message.
S2009,UE根据第二时延和第二目标时延,确定第三时延,第二目标时延是指流从UE传输至TSN网络中作为UE的下一跳的目标网元的时延,第三时延是指流从流服务提供者至TSN中作为UE的下一跳的目标网元的时延。S2009, the UE determines the third delay according to the second delay and the second target delay. The second target delay refers to the delay of the stream transmitted from the UE to the target network element in the TSN network as the UE's next hop. The third delay refers to the delay from the flow service provider to the target network element that is the next hop of the UE in the TSN.
例如,第二目标时延为流从UE 1901至TSN中作为UE的下一跳的目标网元的累计传输时延;第三时延为流从通信设备108至该下一跳网元之间的累计传输时延。其中,该下一跳网元可以是通信设备1907或可以是UE 1901至通信设备1907之间的通信设备。For example, the second target delay is the cumulative transmission delay of the flow from the UE 1901 to the target network element that is the UE's next hop; the third delay is the flow from the communication device 108 to the next hop network element Cumulative transmission delay. The next-hop network element may be a communication device 1907 or a communication device between the UE 1901 and the communication device 1907.
UE根据第二时延和第二目标时延确定第三时延的一种实现方式中可以包括:UE将第二目标时延累加到第二时延中。例如,若将第二目标时延记为T2,将第二时延记为Accumulated Latency 2,将第三时延记为Accumulated Latency 3,则Accumulated Latency 3=Accumulated Latency 2+T2。An implementation manner in which the UE determines the third delay according to the second delay and the second target delay may include: the UE cumulatively adds the second target delay to the second delay. For example, if the second target delay is recorded as T2, the second delay is recorded as AccumulatedLatency2, and the third delay is recorded as AccumulatedLatency3, then AccumulatedLatency3 = AccumulatedLatency2 + T2.
其中,第二目标时延可以是UE从所述目标网元获取的,也可以是配置好的。本申请实施例对UE获取第二目标时延的方式不作限定。The second target delay may be obtained by the UE from the target network element, or may be configured. This embodiment of the present application does not limit the manner in which the UE obtains the second target delay.
S2010,UE向TSN中作为UE的下一跳的目标网元发送第三时延信息,第三时延信息用于指示第三时延。In S2010, the UE sends the third delay information to the target network element that is the next hop of the UE in the TSN, and the third delay information is used to indicate the third delay.
例如,UE将其从UPF网元接收的流服务提供者广播声明消息中第一时延信息修改为第三时延信息,或者UE将其从SMF网元接收的流服务提供者广播声明消息中第二时延信息修改为第三时延信息,并向所述目标网元发送修改后的流服务提供者广播声明消息。For example, the UE modifies the first delay information in the streaming service provider broadcast announcement message it receives from the UPF network element to the third delay information, or the UE changes the first delay information in the streaming service provider broadcast announcement message it receives from the SMF network element. The second delay information is modified into the third delay information, and the modified stream service provider broadcast announcement message is sent to the target network element.
若所述目标网元为流服务接受者,则所述目标网元可以判断对该流是否感兴趣,如果感兴趣,判断第三时延能否满足该流的延时需求。如果可以满足,向UE发送第三时延信息。If the target network element is a recipient of a stream service, the target network element may determine whether the stream is interested, and if it is, determine whether the third delay can meet the delay requirement of the stream. If it can be satisfied, send the third delay information to the UE.
例如,该目标网元向UE发送流服务接受者准备消息,该流服务接受者准备消息中包括流的标识信息和第三时延信息。然后UE可以向UPF网元转发流服务接受者准备消息,UPF网元再向UPF网元在TSN中的下一跳网元转发流服务接受者准备消息。For example, the target network element sends a stream service receiver preparation message to the UE, and the stream service receiver preparation message includes flow identification information and third delay information. The UE may then forward the stream service receiver preparation message to the UPF network element, and the UPF network element forwards the stream service receiver preparation message to the next hop network element of the UPF network element in the TSN.
在图20所示的通信方法中,由SMF网元从UE获知流从流服务提供者至UPF网元之间的第一时延,根据流的PCC规则确定流在UPF网元与UE之间传输的第一目标时延,以及根据第一时延和第一目标时延确定流从流服务提供者传输至UE第二时延,并向UE通知第二时延,然后由UE根据第二时延和流从UE至TSN中作为UE的下一跳的网元之间的第二目标时延确定流从流服务提供者至该下一跳网元之间的第三时延。In the communication method shown in FIG. 20, the SMF network element learns from the UE the first delay between the flow service provider and the UPF network element, and determines the flow between the UPF network element and the UE according to the PCC rule of the flow. The first target delay of the transmission, and the second delay of the stream from the streaming service provider to the UE is determined according to the first delay and the first target delay, and the second delay is notified to the UE, and then the UE The second target delay between the delay and the flow from the UE to the network element that is the next hop of the UE from the TSN determines the third delay between the flow from the flow service provider to the next hop network element.
应理解,图20中所示的各个消息的名称仅是一种示例。只要能实现该通信方法中的相应功能的消息都属于本申请实施例的保护范围。It should be understood that the names of the respective messages shown in FIG. 20 are merely examples. As long as the messages capable of implementing the corresponding functions in the communication method belong to the protection scope of the embodiment of the present application.
图20所示的通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为UE的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。The communication method shown in FIG. 20 can not only obtain the accumulated delay of the stream transmitted from the streaming service provider to the target network element as the UE's next hop in the TSN network, but also the method of obtaining the accumulated delay is simpler because the communication The method makes it unnecessary for the UE, the UPF network element, and each device between the UE and the UPF network element to synchronize with the master clock source, and the cumulative delay can also be calculated.
此外,图20所示的通信方法中,将3GPP系统看做TSN网络的一个网桥,可以接收来自TSN网络中作为该网桥的上一跳节点的流预留协议消息(SRP消息),并提供处理SRP消息的方法,将SRP消息发送到TSN中作为该网桥的下一跳节点,从而可以实现3GPP网络和TSN网络的互通场景下对URLLC业务流的时延需求的保障和带宽资源的预留。In addition, in the communication method shown in FIG. 20, the 3GPP system is regarded as a bridge of the TSN network, and can receive a stream reservation protocol message (SRP message) from the previous hop node in the TSN network as the bridge, and Provides a method for processing SRP messages, and sends the SRP message to the TSN as the next hop node of the bridge, so that the latency requirements of the URLLC service flow and the bandwidth resources can be guaranteed in the interworking scenario of the 3GPP network and the TSN network. Reserved.
图21为本申请一个实施例的通信方法的示意性流程图。应理解,图21示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图21中的各个操作的变形。此外,图21中的各个步骤可以按照与图21呈现的不同的顺序来执行,并且有可能并非要执行图21中的全部操作。FIG. 21 is a schematic flowchart of a communication method according to an embodiment of the present application. It should be understood that FIG. 21 shows the steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 21. In addition, each step in FIG. 21 may be performed in a different order than that presented in FIG. 21, and it is possible that not all operations in FIG. 21 are to be performed.
S2101,UPF网元从TSN接收第一时延信息,第一时延信息用于指示第一时延,第一时延是指该流从TSN中的流服务提供者传输至该UPF网元的累计时延。S2101. The UPF network element receives the first delay information from the TSN. The first delay information is used to indicate the first delay. The first delay refers to the transmission of the stream from the stream service provider in the TSN to the UPF network element. Cumulative delay.
例如,UPF网元1903从TSN中作为UPF网元1903的上一跳的网元接收流服务提供者广播声明消息,该消息可以用于广播一个流以及流对应的QoS需求,该消息中包括流的标识信息和第一时延信息。此时,第一时延是指流从作为流服务提供者的通信设备1908传输至UPF网元1903的累计时延。UPF网元1903的上一跳网元可以是通信设备1908,也可以是UPF网元1903与通信设备1908之间的设备或网元。For example, the UPF network element 1903 receives the stream service provider broadcast announcement message from the TSN as the previous hop of the UPF network element 1903. This message can be used to broadcast a flow and the QoS requirements corresponding to the flow. The message includes the flow. Identification information and first delay information. At this time, the first delay refers to a cumulative delay in which a stream is transmitted from the communication device 1908 as a stream service provider to the UPF network element 1903. The previous hop network element of the UPF network element 1903 may be a communication device 1908, or may be a device or a network element between the UPF network element 1903 and the communication device 1908.
可选地,该消息中还可以包括以下一种或多种信息:目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求或资源预留失败原因。Optionally, the message may further include one or more of the following information: destination address, source address, maximum frame size, maximum frame interval, frame priority, and a single frame of the stream is transmitted from the stream service provider to the stream The maximum allowable delay of the service receiver, the reliability requirement of the flow, or the reason for the failure of resource reservation.
应理解,本申请实施例中,为了描述方便,将与流相关的信息中除第一时延信息以外其他信息均称为流的信息。例如,可以将与流相关的目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求、资源预留失败原因、流的标识或流的QoS参数等称为流的信息。It should be understood that, in the embodiments of the present application, for the convenience of description, information other than the first delay information in the information related to the stream is referred to as the information of the stream. For example, you can transfer the destination address, source address, maximum frame size, maximum frame interval, frame priority, frame's priority, and maximum allowable delay for a single frame of a stream from the stream service provider to the stream service receiver. The reliability requirements, reasons for resource reservation failure, flow identification, or flow QoS parameters are called flow information.
S2102,UPF网元向UE发送第一时延信息。相应地,UE从UPF网元接收第一时延信息。S2102: The UPF network element sends the first delay information to the UE. Accordingly, the UE receives the first delay information from the UPF network element.
例如,UPF网元1903从TSN收到流服务提供者广播声明消息后,将该流服务提供者广播声明消息转发给UE 1901。该流服务提供者广播声明消息中携带第一时延信息和流的信息。For example, after the UPF network element 1903 receives the broadcast service provider broadcast announcement message from the TSN, it forwards the broadcast service provider broadcast announcement message to the UE 1901. The stream service provider broadcast announcement message carries first delay information and stream information.
例如,UPF网元1903从TSN收到流服务提供者广播声明消息后,获取该流服务提供 者广播声明消息中的第一时延信息和流的信息,并将第一时延信息和流的信息发给UE1901。For example, after receiving the broadcast service announcement message from the TSN, the UPF network element 1903 obtains the first delay information and the flow information in the broadcast service provider broadcast declaration message, and changes the first delay information and the flow information. Information is sent to UE1901.
S2103,UE向SMF网元发送流的信息。相应地,SMF网元从UE接收流的信息。S2103: The UE sends flow information to the SMF network element. Accordingly, the SMF network element receives the flow information from the UE.
例如,UE 1901从UPF网元1903收到流服务提供者广播声明消息后,将该流服务提供者广播声明消息转发给SMF网元1905,该流服务提供者广播声明消息中携带流的信息。For example, after receiving a broadcast service provider broadcast announcement message from the UPF network element 1903, the UE 1901 forwards the broadcast service provider broadcast announcement message to the SMF network element 1905, and the stream service provider broadcast announcement message carries flow information.
例如,UE 1901从UPF网元1903收到流服务提供者广播声明消息后,获取该流服务提供者广播声明消息中的流的信息,并将流的信息发给SMF网元1905。For example, after receiving the broadcast service provider broadcast announcement message from the UPF network element 1903, the UE 1901 obtains the flow information in the broadcast service provider broadcast announcement message and sends the stream information to the SMF network element 1905.
S2104,SMF网元从PCF网元获取所述流对应的PCC规则。S2104: The SMF network element obtains a PCC rule corresponding to the flow from the PCF network element.
例如,SMF网元向PCF网元发送流的信息。该流的信息可以包括流的标识信息等。相应地,PCF网元从SMF网元接收流的信息。For example, the SMF network element sends flow information to the PCF network element. The information of the flow may include identification information of the flow and the like. Accordingly, the PCF network element receives the flow information from the SMF network element.
PCF网元向SMF网元发送该流对应的PCC规则。相应地,SMF网元从PCF网元接收流对应的PCC规则。The PCF network element sends the PCC rule corresponding to the flow to the SMF network element. Accordingly, the SMF network element receives the PCC rule corresponding to the flow from the PCF network element.
应理解,S2104不是必须要执行的步骤。这个步骤是为了实现SMF网元获取流对应的PCC规则,本申请实施例并不限制SMF网元获取流对应的PCC规则的实现方式。It should be understood that S2104 is not a required step. This step is to implement the PCC rule corresponding to the SMF network element acquisition flow, and the embodiment of the present application does not limit the implementation of the PCC rule corresponding to the SMF network element acquisition flow.
S2106,SMF网元根据PCC规则,向UE发送流对应的服务质量参数。相应地,UE网元从SMF网元接收该服务质量参数。S2106: The SMF network element sends a quality of service parameter corresponding to the flow to the UE according to the PCC rule. Accordingly, the UE network element receives the quality of service parameter from the SMF network element.
例如SMF网元根据PCC规则,确定流对应的5QI,或根据PCC规则确定UPF网元和UE之间的PDB,并向UE发送该5QI或该PDB;或SMF网元向UE发送流对应的QoS流标识信息。For example, the SMF network element determines the 5QI corresponding to the flow according to the PCC rules, or determines the PDB between the UPF network element and the UE according to the PCC rules, and sends the 5QI or the PDB to the UE; or the SMF network element sends the QoS corresponding to the flow to the UE Flow identification information.
可选地,SMF网元获取PCC规则后,可以触发PDU会话修改过程,以便于为该流建立一个QoS流,实现针对该流的资源预留。Optionally, after obtaining the PCC rules, the SMF network element may trigger a PDU session modification process, so as to establish a QoS flow for the flow and implement resource reservation for the flow.
S2107,UE根据流对应的服务质量参数确定第一目标时延,第一目标时延是指流在UPF网元至UE之间传输的时延。S2107: The UE determines a first target delay according to the quality of service parameter corresponding to the flow. The first target delay refers to a delay in transmitting the flow between the UPF network element and the UE.
第一目标时延的一种示例可以是流从UPF网元到UE的最大传输时延。例如,UE可以根据从SMF网元接收的5QI或PDB或Qos流标识信息,确定该流从UPF网元到UE的最大传输时延。An example of the first target delay may be the maximum transmission delay of the flow from the UPF network element to the UE. For example, the UE may determine the maximum transmission delay of the flow from the UPF network element to the UE according to the 5QI or PDB or Qos flow identification information received from the SMF network element.
例如,UE如果从SMF网元获取的是PDB,则可以将PDB作为第一目标时延。For example, if the UE obtains the PDB from the SMF network element, the UE may use the PDB as the first target delay.
例如,UE如果从SMF网元获取的是QoS流标识信息,可以根据QoS流标识信息获取对应QoS参数中的PDB,并将PDB作为第一目标时延。For example, if the UE obtains the QoS flow identification information from the SMF network element, it may obtain the PDB in the corresponding QoS parameter according to the QoS flow identification information, and use the PDB as the first target delay.
例如,UE如果从SMF网元获取的是流对应的5QI,可以根据5QI获取对应QoS参数中的PDB,并将PDB作为第一目标时延。For example, if the UE obtains the 5QI corresponding to the flow from the SMF network element, it may obtain the PDB in the corresponding QoS parameter according to the 5QI, and use the PDB as the first target delay.
S2108,UE根据第一时延、第一目标时延和第二目标时延,确定第三时延,第二目标时延是指流从UE传输至TSN网络中作为UE的下一跳的目标网元的时延,第三时延是指流从流服务提供者至TSN中作为UE的下一跳的目标网元的时延。S2108. The UE determines a third delay according to the first delay, the first target delay, and the second target delay. The second target delay refers to the transmission of the stream from the UE to the TSN network as the target of the next hop of the UE. The delay of the network element. The third delay refers to the delay of the flow from the stream service provider to the target network element that is the next hop of the UE in the TSN.
若第一时延记为Accumulated Latency 1,第一目标时延记为T1,第二目标时延记为T2,第三时延记为Accumulated Latency 3,则UE根据第一时延、第一目标时延和第二目标时延确定第三时延的一种可能的实现方式如下:Accumulated Latency 3=Accumulated Latency 1+T1+T2。If the first delay is recorded as Accumulated Latency, the first target delay is recorded as T1, the second target delay is recorded as T2, and the third delay is recorded as Accumulated Latency, then the UE is A possible implementation manner for determining the third delay by the delay and the second target delay is as follows: AccumulatedLatency3 = AccumulatedLatency1 + T1 + T2.
其中,第二目标时延可以是UE从上述目标网元获取的,或者可以是配置好的。本申 请实施例对UE获取第二目标时延的方式不作限定。The second target delay may be obtained by the UE from the target network element described above, or may be configured. This embodiment of the present application does not limit the manner in which the UE obtains the second target delay.
S2109,UE向所述目标网元发送第三时延信息,第三时延信息用于指示第三时延。S2109: The UE sends third delay information to the target network element, and the third delay information is used to indicate the third delay.
例如,UE将其从UPF网元接收的流服务提供者广播声明消息中第一时延信息修改为第三时延信息,并向所述目标网元发送修改后的流服务提供者广播声明消息。For example, the UE modifies the first delay information in the streaming service provider broadcast announcement message it receives from the UPF network element to the third delay information, and sends the modified streaming service provider broadcast announcement message to the target network element. .
如果所述目标网元为流服务接受者,则所述目标网元可以判断对该流是否感兴趣,如果感兴趣,判断第三时延能否满足该流的延时需求。如果可以满足,向UE发送第三时延信息。If the target network element is a recipient of a stream service, the target network element may determine whether the stream is interested, and if interested, determine whether the third delay can meet the delay requirement of the stream. If it can be satisfied, send the third delay information to the UE.
例如,该目标网元向UE发送流服务接受者准备消息,该流服务接受者准备消息中包括流的标识信息和第三时延信息。然后UE可以向UPF网元转发流服务接受者准备消息,UPF网元再向UPF网元在TSN中的下一跳网元转发流服务接受者准备消息。For example, the target network element sends a stream service receiver preparation message to the UE, and the stream service receiver preparation message includes flow identification information and third delay information. The UE may then forward the stream service receiver preparation message to the UPF network element, and the UPF network element forwards the stream service receiver preparation message to the next hop network element of the UPF network element in the TSN.
图21所示的通信方法中,由SMF网元从UE获知流的信息,根据流的信息向UE发送流对应的Qos参数,并向UE发送该QoS参数;UE根据该QoS参数确定流在UPF网元与UE之间传输的第一目标时延,以及根据流从流服务提供者至UPF网元之间传输的第一时延、第一目标时延和流从UE至TSN中作为UE的下一跳的目标网元之间的第二目标时延确定流从流服务提供者至该目标网元之间的第三时延。In the communication method shown in FIG. 21, the SMF network element learns the flow information from the UE, sends the Qos parameter corresponding to the flow to the UE according to the flow information, and sends the QoS parameter to the UE; the UE determines that the flow is in the UPF according to the QoS parameter. The first target delay transmitted between the network element and the UE, and the first delay, the first target delay, and the flow from the UE to the TSN as the UE's The second target delay between the target network elements of the next hop determines a third delay between the flow from the streaming service provider to the target network element.
应理解,图21中所示的各个消息的名称仅是一种示例。只要能实现该通信方法中的相应功能的消息都属于本申请实施例的保护范围。It should be understood that the names of the respective messages shown in FIG. 21 are merely examples. As long as the messages capable of implementing the corresponding functions in the communication method belong to the protection scope of the embodiment of the present application.
图21所示的通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为UE的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。The communication method shown in FIG. 21 can not only obtain the accumulated delay of the stream transmitted from the streaming service provider to the target network element as the UE's next hop in the TSN network, but also the method of obtaining the accumulated delay is simpler because the communication The method makes it unnecessary for the UE, the UPF network element, and each device between the UE and the UPF network element to synchronize with the master clock source, and the cumulative delay can also be calculated.
此外,图21所示的通信方法中,将3GPP系统看做TSN网络的一个网桥,可以接收来自TSN网络中作为该网桥的上一跳节点的流预留协议消息(SRP消息),并提供处理SRP消息的方法,将SRP消息发送到TSN中作为该网桥的下一跳节点,从而可以实现3GPP网络和TSN网络的互通场景下对URLLC业务流的时延需求的保障和带宽资源的预留。In addition, in the communication method shown in FIG. 21, the 3GPP system is regarded as a bridge of the TSN network, and can receive a stream reservation protocol message (SRP message) from the previous hop node in the TSN network as the bridge, and Provides a method for processing SRP messages, and sends the SRP message to the TSN as the next hop node of the bridge, so that the latency requirements of the URLLC service flow and the bandwidth resources can be guaranteed in the interworking scenario of the 3GPP network and the TSN network. Reserved.
图22为本申请一个实施例的通信方法的示意性流程图。应理解,图22示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图22中的各个操作的变形。此外,图22中的各个步骤可以按照与图22呈现的不同的顺序来执行,并且有可能并非要执行图22中的全部操作。FIG. 22 is a schematic flowchart of a communication method according to an embodiment of the present application. It should be understood that FIG. 22 shows the steps or operations of the communication method, but these steps or operations are merely examples, and the embodiment of the present application may also perform other operations or a modification of each operation in FIG. 22. In addition, each step in FIG. 22 may be performed in a different order than that presented in FIG. 22, and it is possible that not all operations in FIG. 22 are to be performed.
S2201,UPF网元从TSN接收第一时延信息,第一时延信息用于指示第一时延,第一时延是指该流从TSN中的流服务提供者传输至该UPF网元的累计时延。S2201, the UPF network element receives the first delay information from the TSN. The first delay information is used to indicate the first delay. The first delay refers to the transmission of the stream from the stream service provider in the TSN to the UPF network element. Cumulative delay.
例如,UPF网元1903从TSN中作为UPF网元1903的上一跳的网元接收流服务提供者广播声明消息,该消息可以用于广播一个流以及流对应的QoS需求,该消息中包括流的标识信息和第一时延信息。此时,第一时延是指流从作为流服务提供者的通信设备1908传输至UPF网元1903的累计时延。UPF网元1903的上一跳网元可以是通信设备1908,也可以是UPF网元1903与通信设备1908之间的设备或网元。For example, the UPF network element 1903 receives the stream service provider broadcast announcement message from the TSN as the previous hop of the UPF network element 1903. This message can be used to broadcast a flow and the QoS requirements corresponding to the flow. The message includes the flow. Identification information and first delay information. At this time, the first delay refers to a cumulative delay in which a stream is transmitted from the communication device 1908 as a stream service provider to the UPF network element 1903. The previous hop network element of the UPF network element 1903 may be a communication device 1908, or may be a device or a network element between the UPF network element 1903 and the communication device 1908.
可选地,该消息中还可以包括以下一种或多种信息:目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求或资源预留失败原因。Optionally, the message may further include one or more of the following information: destination address, source address, maximum frame size, maximum frame interval, frame priority, and a single frame of the stream is transmitted from the stream service provider to the stream The maximum allowable delay of the service receiver, the reliability requirement of the flow, or the reason for the failure of resource reservation.
应理解,本申请实施例中,为了描述方便,将与流相关的信息中除第一时延信息以外其他信息均称为流的信息。例如,可以将与流相关的目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求、资源预留失败原因、流的标识或流的QoS参数等称为流的信息。It should be understood that, in the embodiments of the present application, for the convenience of description, information other than the first delay information in the information related to the stream is referred to as the information of the stream. For example, you can transfer the destination address, source address, maximum frame size, maximum frame interval, frame priority, frame's priority, and maximum allowable delay for a single frame of a stream from the stream service provider to the stream service receiver. The reliability requirements, reasons for resource reservation failure, flow identification, or flow QoS parameters are called flow information.
S2202,UPF网元向SMF网元发送第一时延信息。相应地,SMF网元从UPF网元接收第一时延信息。此外,UPF网元还可以向SMF网元发送流的信息。S2202, the UPF network element sends the first delay information to the SMF network element. Accordingly, the SMF network element receives the first delay information from the UPF network element. In addition, the UPF network element can also send flow information to the SMF network element.
例如,UPF网元1903从TSN收到流服务提供者广播声明消息后,将该流服务提供者广播声明消息转发给SMF网元1905。该流服务提供者广播声明消息中携带第一时延信息和流的信息。For example, after the UPF network element 1903 receives the stream service provider broadcast announcement message from the TSN, it forwards the stream service provider broadcast announcement message to the SMF network element 1905. The stream service provider broadcast announcement message carries first delay information and stream information.
例如,UPF网元1903从TSN收到流服务提供者广播声明消息后,获取该流服务提供者广播声明消息中的第一时延信息和流的信息,并将第一时延信息和流的信息发给SMF网元1905。For example, after receiving the broadcast service announcement message from the TSN, the UPF network element 1903 obtains the first delay information and the flow information in the broadcast service provider broadcast declaration message, and changes the first delay information and the flow information. The information is sent to SMF network element 1905.
S2203,SMF网元从PCF网元获取所述流对应的PCC规则。S2203: The SMF network element obtains a PCC rule corresponding to the flow from the PCF network element.
例如,SMF网元向PCF网元发送流的信息。该流的信息可以包括流的标识信息或流的QoS参数等。相应地,PCF网元从SMF网元接收流的信息。For example, the SMF network element sends flow information to the PCF network element. The flow information may include flow identification information or flow QoS parameters. Accordingly, the PCF network element receives the flow information from the SMF network element.
PCF网元向SMF网元发送该流对应的PCC规则。相应地,SMF网元从PCF网元接收流对应的PCC规则。The PCF network element sends the PCC rule corresponding to the flow to the SMF network element. Accordingly, the SMF network element receives the PCC rule corresponding to the flow from the PCF network element.
应理解,S2203不是必须要执行的步骤。这个步骤是为了实现SMF网元获取流对应的PCC规则,本申请实施例并不限制SMF网元获取流对应的PCC规则的实现方式。It should be understood that S2203 is not a required step. This step is to implement the PCC rule corresponding to the SMF network element acquisition flow, and the embodiment of the present application does not limit the implementation of the PCC rule corresponding to the SMF network element acquisition flow.
S2205,SMF网元根据流对应的PCC规则,确定第一目标时延,第一目标时延是指流从UPF网元至UE的传输时延。S2205: The SMF network element determines the first target delay according to the PCC rule corresponding to the flow. The first target delay refers to the transmission delay of the flow from the UPF network element to the UE.
本申请实施例中,第一目标时延也可以称为流在UPF网元与UE之间传输的累计时延。In the embodiment of the present application, the first target delay may also be referred to as a cumulative delay of the flow transmission between the UPF network element and the UE.
第一目标时延的一种示例可以是流从UPF网元到UE的最大传输时延。例如,SMF网元可以根据PCC规则中的5QI,确定该流从UPF网元到UE的最大传输时延。例如,SMF网元可以将5QI对应的UPF和UE之间的PDB,作为流从UPF传输至UE的最大传输时延。An example of the first target delay may be the maximum transmission delay of the flow from the UPF network element to the UE. For example, the SMF network element may determine the maximum transmission delay of the flow from the UPF network element to the UE according to the 5QI in the PCC rule. For example, the SMF network element may use the PDB between the UPF corresponding to the 5QI and the UE as the maximum transmission delay from the UPF to the UE.
可选地,SMF网元获取PCC规则后,可以触发PDU会话修改过程,以便于为该流建立一个QoS流,实现针对该流的资源预留。Optionally, after obtaining the PCC rules, the SMF network element may trigger a PDU session modification process, so as to establish a QoS flow for the flow and implement resource reservation for the flow.
S2206,SMF网元根据第一时延和第一目标时延,确定第二时延,第二时延是指流从流服务提供者至UE的传输时延。S2206. The SMF network element determines a second delay according to the first delay and the first target delay. The second delay refers to a transmission delay of the stream from the stream service provider to the UE.
例如,SMF网元根据流服务提供者广播声明消息中携带的第一时延信息指示的第一时延,和S2205中确定的最大传输时延,确定第二时延。For example, the SMF network element determines the second delay according to the first delay indicated by the first delay information carried in the broadcast announcement message of the streaming service provider and the maximum transmission delay determined in S2205.
若第一时延记为Accumulated Latency 1,第一目标时延记为T1,第二时延记为Accumulated Latency 2,则Accumulated Latency 2=Accumulated Latency 1+T1。If the first delay is recorded as Accumulated Latency1, the first target delay is recorded as T1, and the second delay is recorded as Accumulated Latency2, then AccumulatedLatency2 = AccumulatedLatency1 + T1.
S2207,SMF网元向UPF网元发送第二时延信息,第二时延信息用于指示第二时延。相应地,UPF网元从SMF网元接收第二时延信息。S2207: The SMF network element sends the second delay information to the UPF network element, and the second delay information is used to indicate the second delay. Accordingly, the UPF network element receives the second delay information from the SMF network element.
例如,SMF网元将其从UPF网元接收的流服务提供者广播声明消息中的第一时延信息修改为第二时延信息,并向UPF网元发送修改后的流服务提供者广播声明消息。For example, the SMF network element modifies the first delay information in the streaming service provider broadcast statement message it receives from the UPF network element to the second delay information, and sends the modified streaming service provider broadcast statement to the UPF network element. Message.
或者,SMF网元可以通过其他方式向UPF网元发送第二时延信息。Alternatively, the SMF network element may send the second delay information to the UPF network element in other ways.
S2208,UPF网元向UE发送第二时延信息。相应地,UE从UPF网元接收第二时延信息。S2208: The UPF network element sends the second delay information to the UE. Accordingly, the UE receives the second delay information from the UPF network element.
例如,UPF网元向UE发送从SMF网元接收的流服务提供者广播声明消息,该流服务提供者广播声明消息中携带第二时延信息。For example, the UPF network element sends to the UE a stream service provider broadcast announcement message received from the SMF network element, and the stream service provider broadcast announcement message carries the second delay information.
或者,UPF网元向UE发送UPF网元从TSN收到流服务提供者广播声明消息,该流服务提供者广播声明消息中的第一时延信息修改为第二时延信息。Alternatively, the UPF network element sends the UPF network element to the UE to receive the broadcast service broadcast announcement message from the TSN, and the first delay information in the broadcast service broadcast announcement message is modified to the second delay information.
S2209,UE根据第二时延和第二目标时延,确定第三时延,第二目标时延是指流从UE传输至TSN网络中作为UE的下一跳的目标网元的时延,第三时延是指流从流服务提供者至TSN中作为UE的下一跳的目标网元的时延。S2209: The UE determines a third delay according to the second delay and the second target delay. The second target delay refers to a delay in transmitting a stream from the UE to the target network element in the TSN network as the next hop of the UE. The third delay refers to the delay from the flow service provider to the target network element that is the next hop of the UE in the TSN.
例如,第二目标时延为流从UE 1901至TSN中作为UE的下一跳的目标网元的累计传输时延;第三时延为流从通信设备108至该下一跳网元之间的累计传输时延。其中,该下一跳网元可以是通信设备107或可以是UE 1901至通信设备1907之间的通信设备。For example, the second target delay is the cumulative transmission delay of the flow from the UE 1901 to the target network element that is the UE's next hop; the third delay is the flow from the communication device 108 to the next hop network element Cumulative transmission delay. The next-hop network element may be the communication device 107 or a communication device between the UE 1901 and the communication device 1907.
UE根据第二时延和第二目标时延确定第三时延的一种实现方式中可以包括:UE将第二目标时延累加到第二时延中。例如,若将第二目标时延记为T2,将第二时延记为Accumulated Latency 2,将第三时延记为Accumulated Latency 3,则Accumulated Latency 3=Accumulated Latency 2+T2。An implementation manner in which the UE determines the third delay according to the second delay and the second target delay may include: the UE cumulatively adds the second target delay to the second delay. For example, if the second target delay is recorded as T2, the second delay is recorded as AccumulatedLatency2, and the third delay is recorded as AccumulatedLatency3, then AccumulatedLatency3 = AccumulatedLatency2 + T2.
其中,第二目标时延可以是UE从所述目标网元获取的,也可以是配置好的。本申请实施例对UE获取第二目标时延的方式不作限制。The second target delay may be obtained by the UE from the target network element, or may be configured. The embodiment of the present application does not limit the manner in which the UE obtains the second target delay.
S2210,UE向所述目标网元发送第三时延信息。S2210. The UE sends third delay information to the target network element.
例如,UE将其从UPF网元接收的流服务提供者广播声明消息中的第二时延信息修改为第三时延信息,并向所述目标网元发送修改后的流服务提供者广播声明消息。For example, the UE modifies the second delay information in the streaming service provider broadcast announcement message it receives from the UPF network element to the third delay information, and sends the modified streaming service provider broadcast announcement to the target network element. Message.
如果所述目标网元为流服务接受者,则所述目标网元可以判断对该流是否感兴趣,如果感兴趣,判断第三时延能否满足该流的延时需求。如果可以满足,向UE发送第三时延信息。If the target network element is a recipient of a stream service, the target network element may determine whether the stream is interested, and if interested, determine whether the third delay can meet the delay requirement of the stream. If it can be satisfied, send the third delay information to the UE.
例如,该目标网元向UE发送流服务接受者准备消息,该流服务接受者准备消息中包括流的标识信息和第三时延信息。然后UE可以向UPF网元转发流服务接受者准备消息,UPF网元再向UPF网元在TSN中的下一跳网元转发流服务接受者准备消息。For example, the target network element sends a stream service receiver preparation message to the UE, and the stream service receiver preparation message includes flow identification information and third delay information. The UE may then forward the stream service receiver preparation message to the UPF network element, and the UPF network element forwards the stream service receiver preparation message to the next hop network element of the UPF network element in the TSN.
图22所示的通信方法中,由SMF网元从UPF网元获知流从流服务提供者至UPF网元之间的第一时延,根据流的PCC规则确定流在UPF网元与UE之间传输的第一目标时延,以及根据第一时延和第一目标时延确定流从流服务提供者传输至UE的第二时延,并通过UPF网元向UE发送第二时延;UE根据第二时延和流从UE至TSN中作为UE的下一跳的网元之间的第二目标时延确定流从流服务提供者至该下一跳网元之间的第三时延。In the communication method shown in FIG. 22, the SMF network element learns from the UPF network element that the first delay of the flow from the flow service provider to the UPF network element, and determines the flow between the UPF network element and the UE according to the PCC rule of the flow. A first target delay between transmissions, and a second delay for transmitting a stream from a streaming service provider to the UE according to the first delay and the first target delay, and sending the second delay to the UE through a UPF network element; The UE determines the third time between the flow from the stream service provider to the next-hop network element based on the second delay and the second target delay between the flow from the UE to the network element that is the UE's next hop. Delay.
应理解,图22中所示的各个消息的名称仅是一种示例。只要能实现该通信方法中的相应功能的消息都属于本申请实施例的保护范围。It should be understood that the names of the respective messages shown in FIG. 22 are merely examples. As long as the messages capable of implementing the corresponding functions in the communication method belong to the protection scope of the embodiment of the present application.
图22所示的通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为UE的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。The communication method shown in FIG. 22 can not only obtain the accumulated delay of the stream transmitted from the streaming service provider to the target network element as the UE's next hop in the TSN network, but also the method of obtaining the accumulated delay is simpler because the communication The method makes it unnecessary for the UE, the UPF network element, and each device between the UE and the UPF network element to synchronize with the master clock source, and the cumulative delay can also be calculated.
此外,图22所示的通信方法中,将3GPP系统看做TSN网络的一个网桥,可以接收 来自TSN网络中作为该网桥的上一跳节点的流预留协议消息(SRP消息),并提供处理SRP消息的方法,将SRP消息发送到TSN中作为该网桥的下一跳节点,从而可以实现3GPP网络和TSN网络的互通场景下对URLLC业务流的时延需求的保障和带宽资源的预留。In addition, in the communication method shown in FIG. 22, the 3GPP system is regarded as a bridge of the TSN network, and can receive a stream reservation protocol message (SRP message) from the previous hop node in the TSN network as the bridge, and Provides a method for processing SRP messages, and sends the SRP message to the TSN as the next hop node of the bridge, so that the latency requirements of the URLLC service flow and the bandwidth resources can be guaranteed in the interworking scenario of the 3GPP network and the TSN network. Reserved.
图23为本申请一个实施例的通信方法的示意性流程图。应理解,图23示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图23中的各个操作的变形。此外,图23中的各个步骤可以按照与图23呈现的不同的顺序来执行,并且有可能并非要执行图23中的全部操作。FIG. 23 is a schematic flowchart of a communication method according to an embodiment of the present application. It should be understood that FIG. 23 illustrates steps or operations of the communication method, but these steps or operations are merely examples, and the embodiment of the present application may also perform other operations or a modification of each operation in FIG. 23. In addition, each step in FIG. 23 may be performed in a different order than that presented in FIG. 23, and it is possible that not all operations in FIG. 23 are to be performed.
S2301,UPF网元从TSN接收第一时延信息,第一时延信息用于指示第一时延,第一时延是指该流从TSN中的流服务提供者传输至该UPF网元的累计时延。S2301, the UPF network element receives the first delay information from the TSN. The first delay information is used to indicate the first delay. The first delay refers to the transmission of the stream from the stream service provider in the TSN to the UPF network element. Cumulative delay.
例如,UPF网元1903从TSN中作为UPF网元1903的上一跳的网元接收流服务提供者广播声明消息,该消息可以用于广播一个流以及流对应的QoS需求,该消息中包括流的标识信息和第一时延信息。此时,第一时延是指流从作为流服务提供者的通信设备1908传输至UPF网元1903的累计时延。UPF网元1903的上一跳网元可以是通信设备1908,也可以是UPF网元1903与通信设备1908之间的设备或网元。For example, the UPF network element 1903 receives the stream service provider broadcast announcement message from the TSN as the previous hop of the UPF network element 1903. This message can be used to broadcast a flow and the QoS requirements corresponding to the flow. The message includes the flow. Identification information and first delay information. At this time, the first delay refers to a cumulative delay in which a stream is transmitted from the communication device 1908 as a stream service provider to the UPF network element 1903. The previous hop network element of the UPF network element 1903 may be a communication device 1908, or may be a device or a network element between the UPF network element 1903 and the communication device 1908.
可选地,该消息中还可以包括以下一种或多种信息:目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求或资源预留失败原因。Optionally, the message may further include one or more of the following information: destination address, source address, maximum frame size, maximum frame interval, frame priority, and a single frame of the stream is transmitted from the stream service provider to the stream The maximum allowable delay of the service receiver, the reliability requirement of the flow, or the reason for the failure of resource reservation.
应理解,本申请实施例中,为了描述方便,将与流相关的信息中除第一时延信息以外其他信息均称为流的信息。例如,可以将与流相关的目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求、资源预留失败原因、流的标识或流的QoS参数等称为流的信息。It should be understood that, in the embodiments of the present application, for the convenience of description, information other than the first delay information in the information related to the stream is referred to as the information of the stream. For example, you can transfer the destination address, source address, maximum frame size, maximum frame interval, frame priority, frame's priority, and maximum allowable delay for a single frame of a stream from the stream service provider to the stream service receiver. The reliability requirements, reasons for resource reservation failure, flow identification, or flow QoS parameters are called flow information.
S2302,UPF网元向SMF网元发送流的信息。相应地,SMF网元从UPF网元接收流的信息。S2302: The UPF network element sends flow information to the SMF network element. Accordingly, the SMF network element receives the flow information from the UPF network element.
例如,UPF网元1903从TSN收到流服务提供者广播声明消息后,将该流服务提供者广播声明消息转发给SMF网元1905,该流服务提供者广播声明消息中携带流的信息。For example, after receiving the broadcast service announcement message from the TSN, the UPF network element 1903 forwards the broadcast service provider broadcast announcement message to the SMF network element 1905, and the stream service provider broadcast announcement message carries the flow information.
例如,UPF网元1903从TSN收到流服务提供者广播声明消息后,获取该流服务提供者广播声明消息中的流的信息,并将流的信息发给SMF网元1905。For example, the UPF network element 1903 receives the stream service provider broadcast announcement message from the TSN, obtains the stream information in the stream service provider broadcast announcement message, and sends the stream information to the SMF network element 1905.
S2303,SMF网元从PCF网元获取流对应的PCC规则。S2303: The SMF network element obtains a PCC rule corresponding to the flow from the PCF network element.
例如,SMF网元向PCF网元发送流的信息。该流的信息可以包括流的标识信息等。相应地,PCF网元从SMF网元接收流的信息。For example, the SMF network element sends flow information to the PCF network element. The information of the flow may include identification information of the flow and the like. Accordingly, the PCF network element receives the flow information from the SMF network element.
PCF网元向SMF网元发送该流对应的PCC规则。相应地,SMF网元从PCF网元接收流对应的PCC规则。The PCF network element sends the PCC rule corresponding to the flow to the SMF network element. Accordingly, the SMF network element receives the PCC rule corresponding to the flow from the PCF network element.
应理解,S2303不是必须要执行的步骤。这个步骤是为了实现SMF网元获取流对应的PCC规则,本申请实施例并不限制SMF网元获取流对应的PCC规则的实现方式。It should be understood that S2303 is not a required step. This step is to implement the PCC rule corresponding to the SMF network element acquisition flow, and the embodiment of the present application does not limit the implementation of the PCC rule corresponding to the SMF network element acquisition flow.
S2305,SMF网元根据PCC规则,向UPF网元发送流对应的服务质量参数。相应地,UPF网元从SMF网元接收该服务质量参数。S2305: The SMF network element sends a quality of service parameter corresponding to the flow to the UPF network element according to the PCC rule. Accordingly, the UPF network element receives the quality of service parameter from the SMF network element.
例如SMF网元根据PCC规则,确定流对应的5QI,或根据PCC规则确定UPF网元和UE之间的PDB,并向UPF网元发送该5QI或该PDB;或SMF网元向UPF网元发送流对应的QoS流标识信息。For example, the SMF network element determines the 5QI corresponding to the flow according to the PCC rules, or determines the PDB between the UPF network element and the UE according to the PCC rules, and sends the 5QI or the PDB to the UPF network element; or the SMF network element sends the UPF network element QoS flow identification information corresponding to the flow.
可选地,SMF网元获取PCC规则后,可以触发PDU会话修改过程,以便于为该流建立一个QoS流,实现针对该流的资源预留。Optionally, after obtaining the PCC rules, the SMF network element may trigger a PDU session modification process, so as to establish a QoS flow for the flow and implement resource reservation for the flow.
S2306,UPF网元根据流对应的服务质量参数确定第一目标时延,第一目标时延是指流在UPF网元至UE之间传输的时延。S2306: The UPF network element determines a first target delay according to the quality of service parameter corresponding to the flow. The first target delay refers to a delay in transmitting the flow between the UPF network element and the UE.
第一目标时延的一种示例可以是流从UPF网元到UE的最大传输时延。例如,UPF网元可以根据从SMF网元接收的5QI或PDB或Qos流标识信息,确定该流从UPF网元到UE的最大传输时延。An example of the first target delay may be the maximum transmission delay of the flow from the UPF network element to the UE. For example, the UPF network element may determine the maximum transmission delay of the flow from the UPF network element to the UE according to the 5QI or PDB or Qos flow identification information received from the SMF network element.
例如,UPF网元如果从SMF网元获取的是PDB,则可以将PDB作为第一目标时延。For example, if the UPF network element obtains the PDB from the SMF network element, the PDB may be used as the first target delay.
例如,UPF网元如果从SMF网元获取的是QoS流标识信息,可以根据QoS流标识信息获取对应QoS参数中的PDB,并将PDB作为第一目标时延。For example, if the UPF network element obtains the QoS flow identification information from the SMF network element, it may obtain the PDB in the corresponding QoS parameter according to the QoS flow identification information, and use the PDB as the first target delay.
例如,UPF网元如果从SMF网元获取的是流对应的5QI,可以根据5QI获取对应QoS参数中的PDB,并将PDB作为第一目标时延。For example, if the UPF network element obtains the 5QI corresponding to the flow from the SMF network element, it may obtain the PDB in the corresponding QoS parameter according to the 5QI, and use the PDB as the first target delay.
S2307,UPF网元根据第一时延和第一目标时延,确定第二时延,第二时延是指流从流服务提供者至UE的传输时延。S2307. The UPF network element determines a second delay according to the first delay and the first target delay. The second delay refers to a transmission delay of the stream from the stream service provider to the UE.
例如,UPF网元根据流服务提供者广播声明消息中携带的第一时延信息指示的第一时延,和S2306中确定的最大传输时延,确定第二时延。For example, the UPF network element determines the second delay according to the first delay indicated by the first delay information carried in the broadcast service provider broadcast announcement message and the maximum transmission delay determined in S2306.
若第一时延记为Accumulated Latency 1,第一目标时延记为T1,第二时延记为Accumulated Latency 2,则Accumulated Latency 2=Accumulated Latency 1+T1。If the first delay is recorded as Accumulated Latency1, the first target delay is recorded as T1, and the second delay is recorded as Accumulated Latency2, then AccumulatedLatency2 = AccumulatedLatency1 + T1.
S2308,UPF网元向UE发送第二时延信息。相应地,UE从UPF网元接收第二时延信息。S2308: The UPF network element sends the second delay information to the UE. Accordingly, the UE receives the second delay information from the UPF network element.
例如,UPF网元向UE发送流服务提供者广播声明消息,该流服务提供者广播声明消息中携带为第二时延信息。For example, the UPF network element sends a broadcast service provider broadcast announcement message to the UE, where the broadcast service provider broadcast announcement message carries the second delay information.
S2309,UE根据第二时延和第二目标时延,确定第三时延,第二目标时延是指流从UE传输至TSN网络中作为UE的下一跳的目标网元的时延,第三时延是指流从流服务提供者至TSN中作为UE的下一跳的目标网元的时延。S2309. The UE determines a third delay according to the second delay and the second target delay. The second target delay refers to a delay in transmitting a stream from the UE to the target network element in the TSN network as the next hop of the UE. The third delay refers to the delay from the flow service provider to the target network element that is the next hop of the UE in the TSN.
例如,第二目标时延为流从UE 1901至TSN中作为UE的下一跳的目标网元的累计传输时延;第三时延为流从通信设备108至该下一跳网元之间的累计传输时延。其中,该下一跳网元可以是通信设备1907或可以是UE 1901至通信设备1907之间的通信设备。For example, the second target delay is the cumulative transmission delay of the flow from the UE 1901 to the target network element that is the UE's next hop; the third delay is the flow from the communication device 108 to the next hop network element Cumulative transmission delay. The next-hop network element may be a communication device 1907 or a communication device between the UE 1901 and the communication device 1907.
UE根据第二时延和第二目标时延确定第三时延的一种实现方式中可以包括:UE将第二目标时延累加到第二时延中。例如,若将第二目标时延记为T2,将第二时延记为Accumulated Latency 2,将第三时延记为Accumulated Latency 3,则Accumulated Latency 3=Accumulated Latency 2+T2。An implementation manner in which the UE determines the third delay according to the second delay and the second target delay may include: the UE cumulatively adds the second target delay to the second delay. For example, if the second target delay is recorded as T2, the second delay is recorded as AccumulatedLatency2, and the third delay is recorded as AccumulatedLatency3, then AccumulatedLatency3 = AccumulatedLatency2 + T2.
其中,第二目标时延可以是UE从所述目标网元获取的,也可以是配置好的。本申请实施例对UE获取第二目标时延的方式不作限制。The second target delay may be obtained by the UE from the target network element, or may be configured. The embodiment of the present application does not limit the manner in which the UE obtains the second target delay.
S2310,UE向所述目标网元发送第三时延信息。S2310: The UE sends third delay information to the target network element.
例如,UE将其从UPF网元接收的流服务提供者广播声明消息中的第二时延信息修改为第三时延信息,并向所述目标网元发送修改后的流服务提供者广播声明消息。For example, the UE modifies the second delay information in the streaming service provider broadcast announcement message it receives from the UPF network element to the third delay information, and sends the modified streaming service provider broadcast announcement to the target network element. Message.
如果所述目标网元是流服务接受者,则所述目标网元可以判断对该流是否感兴趣,如果感兴趣,判断第三时延能否满足该流的延时需求。如果可以满足,向UE发送第三时延 信息。If the target network element is a recipient of a stream service, the target network element may determine whether the stream is interested, and if interested, determine whether the third delay can meet the delay requirement of the stream. If it can be satisfied, send the third delay information to the UE.
例如,该目标网元向UE发送流服务接受者准备消息,该流服务接受者准备消息中包括流的标识信息和第三时延信息。然后UE可以向UPF网元转发流服务接受者准备消息,UPF网元再向UPF网元在TSN中的下一跳网元转发流服务接受者准备消息。For example, the target network element sends a stream service receiver preparation message to the UE, and the stream service receiver preparation message includes flow identification information and third delay information. The UE may then forward the stream service receiver preparation message to the UPF network element, and the UPF network element forwards the stream service receiver preparation message to the next hop network element of the UPF network element in the TSN.
图23所示的通信方法中,由UPF网元从SMF网元获知流对应的QoS参数,根据该QoS参数确定流在UPF网元与UE之间传输的第一目标时延,以及根据流从流服务提供者传输至UPF网元的第一时延和第一目标时延确定流从流服务提供者传输至UE的第二时延,并向UE通知该第二时延;UE根据第二时延和流从UE至TSN中作为UE的下一跳的网元之间的第二目标时延确定流从流服务提供者至该下一跳网元之间的第三时延。In the communication method shown in FIG. 23, the UPF network element learns the QoS parameter corresponding to the flow from the SMF network element, determines the first target delay of the flow transmission between the UPF network element and the UE according to the QoS parameter, and according to the flow slave The first delay and the first target delay transmitted by the stream service provider to the UPF network element determine the second delay of the stream being transmitted from the stream service provider to the UE, and notify the UE of the second delay; The second target delay between the delay and the flow from the UE to the network element that is the next hop of the UE from the TSN determines the third delay between the flow from the flow service provider to the next hop network element.
应理解,图23中所示的各个消息的名称仅是一种示例。只要能实现该通信方法中的相应功能的消息都属于本申请实施例的保护范围。It should be understood that the names of the respective messages shown in FIG. 23 are merely examples. As long as the messages capable of implementing the corresponding functions in the communication method belong to the protection scope of the embodiment of the present application.
图23所示的通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为UE的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。The communication method shown in FIG. 23 can not only obtain the accumulated delay of the stream transmitted from the streaming service provider to the target network element as the UE's next hop in the TSN network, but also the method of obtaining the accumulated delay is simpler because the communication The method makes it unnecessary for the UE, the UPF network element, and each device between the UE and the UPF network element to synchronize with the master clock source, and the cumulative delay can also be calculated.
此外,图23所示的通信方法中,将3GPP系统看做TSN网络的一个网桥,可以接收来自TSN网络中作为该网桥的上一跳节点的流预留协议消息(SRP消息),并提供处理SRP消息的方法,将SRP消息发送到TSN中作为该网桥的下一跳节点,从而可以实现3GPP网络和TSN网络的互通场景下对URLLC业务流的时延需求的保障和带宽资源的预留。In addition, in the communication method shown in FIG. 23, the 3GPP system is regarded as a bridge of the TSN network, and can receive a stream reservation protocol message (SRP message) from the previous hop node in the TSN network as the bridge, and Provides a method for processing SRP messages, and sends the SRP message to the TSN as the next hop node of the bridge, so that the latency requirements of the URLLC service flow and the bandwidth resources can be guaranteed in the interworking scenario of 3GPP network and TSN network. Reserved.
图24为本申请一个实施例的通信方法的示意性流程图。应理解,图24示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图24中的各个操作的变形。此外,图24中的各个步骤可以按照与图24呈现的不同的顺序来执行,并且有可能并非要执行图24中的全部操作。FIG. 24 is a schematic flowchart of a communication method according to an embodiment of the present application. It should be understood that FIG. 24 shows steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 24. In addition, each step in FIG. 24 may be performed in a different order than that presented in FIG. 24, and it is possible that not all operations in FIG. 24 are to be performed.
S2401,UPF网元从TSN接收第一时延信息,第一时延信息用于指示第一时延,第一时延是指该流从TSN中的流服务提供者传输至该UPF网元的累计时延。S2401. The UPF network element receives the first delay information from the TSN. The first delay information is used to indicate the first delay. The first delay refers to the transmission of the stream from the stream service provider in the TSN to the UPF network element. Cumulative delay.
例如,UPF网元1903从TSN中作为UPF网元1903的上一跳的网元接收流服务提供者广播声明消息,该消息可以用于广播一个流以及流对应的QoS需求,该消息中包括流的标识信息和第一时延信息。此时,第一时延是指流从作为流服务提供者的通信设备1908传输至UPF网元1903的累计时延。UPF网元1903的上一跳网元可以是通信设备1908,也可以是UPF网元1903与通信设备1908之间的设备或网元。For example, the UPF network element 1903 receives the stream service provider broadcast announcement message from the TSN as the previous hop of the UPF network element 1903. This message can be used to broadcast a flow and the QoS requirements corresponding to the flow. The message includes the flow. Identification information and first delay information. At this time, the first delay refers to a cumulative delay in which a stream is transmitted from the communication device 1908 as a stream service provider to the UPF network element 1903. The previous hop network element of the UPF network element 1903 may be a communication device 1908, or may be a device or a network element between the UPF network element 1903 and the communication device 1908.
可选地,该消息中还可以包括以下一种或多种信息:目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求或资源预留失败原因。Optionally, the message may further include one or more of the following information: destination address, source address, maximum frame size, maximum frame interval, frame priority, and a single frame of the stream is transmitted from the stream service provider to the stream The maximum allowable delay of the service receiver, the reliability requirement of the flow, or the reason for the failure of resource reservation.
应理解,本申请实施例中,为了描述方便,将与流相关的信息中除第一时延信息以外其他信息均称为流的信息。例如,可以将与流相关的目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求、资源预留失败原因、流的标识或流的QoS参数等称为流的信息。It should be understood that, in the embodiments of the present application, for the convenience of description, information other than the first delay information in the information related to the stream is referred to as the information of the stream. For example, you can transfer the destination address, source address, maximum frame size, maximum frame interval, frame priority, frame's priority, and maximum allowable delay for a single frame of a stream from the stream service provider to the stream service receiver. The reliability requirements, reasons for resource reservation failure, flow identification, or flow QoS parameters are called flow information.
S2402,UPF网元向SMF网元发送第一时延信息。相应地,SMF网元从UPF网元接收第一时延信息。此外,UPF网元还可以向SMF网元发送流的信息。S2402, the UPF network element sends the first delay information to the SMF network element. Accordingly, the SMF network element receives the first delay information from the UPF network element. In addition, the UPF network element can also send flow information to the SMF network element.
例如,UPF网元1903从TSN收到流服务提供者广播声明消息后,将该流服务提供者广播声明消息转发给SMF网元1905。该流服务提供者广播声明消息中携带第一时延信息和流的信息。For example, after the UPF network element 1903 receives the stream service provider broadcast announcement message from the TSN, it forwards the stream service provider broadcast announcement message to the SMF network element 1905. The stream service provider broadcast announcement message carries first delay information and stream information.
例如,UPF网元1903从TSN收到流服务提供者广播声明消息后,获取该流服务提供者广播声明消息中的第一时延信息和流的信息,并将第一时延信息和流的信息发给SMF网元1905。For example, after receiving the broadcast service announcement message from the TSN, the UPF network element 1903 obtains the first delay information and the flow information in the broadcast service provider broadcast declaration message, and changes the first delay information and the flow information. The information is sent to SMF network element 1905.
S2403,SMF网元从PCF网元获取流对应的PCC规则。S2403: The SMF network element obtains a PCC rule corresponding to the flow from the PCF network element.
例如,SMF网元向PCF网元发送流的信息。该流的信息可以包括流的标识信息等。相应地,PCF网元从SMF网元接收流的信息。For example, the SMF network element sends flow information to the PCF network element. The information of the flow may include identification information of the flow and the like. Accordingly, the PCF network element receives the flow information from the SMF network element.
PCF网元向SMF网元发送该流对应的PCC规则。相应地,SMF网元从PCF网元接收流对应的PCC规则。The PCF network element sends the PCC rule corresponding to the flow to the SMF network element. Accordingly, the SMF network element receives the PCC rule corresponding to the flow from the PCF network element.
应理解,S2403不是必须要执行的步骤。这个步骤是为了实现SMF网元获取流对应的PCC规则,本申请实施例并不限制SMF网元获取流对应的PCC规则的实现方式。It should be understood that S2403 is not a required step. This step is to implement the PCC rule corresponding to the SMF network element acquisition flow, and the embodiment of the present application does not limit the implementation of the PCC rule corresponding to the SMF network element acquisition flow.
S2405,SMF网元根据流对应的PCC规则,确定第一目标时延,第一目标时延是指流从UPF网元至UE的传输时延。S2405. The SMF network element determines the first target delay according to the PCC rule corresponding to the flow. The first target delay refers to the transmission delay of the flow from the UPF network element to the UE.
本申请实施例中,第一目标时延也可以称为流在UPF网元与UE之间传输的累计时延。In the embodiment of the present application, the first target delay may also be referred to as a cumulative delay of the flow transmission between the UPF network element and the UE.
第一目标时延的一种示例可以是流从UPF网元到UE的最大传输时延。例如,SMF网元可以根据PCC规则中的5QI,确定该流从UPF网元到UE的最大传输时延。例如,SMF网元可以将5QI对应的UPF和UE之间的PDB,作为流从UPF传输至UE的最大传输时延。An example of the first target delay may be the maximum transmission delay of the flow from the UPF network element to the UE. For example, the SMF network element may determine the maximum transmission delay of the flow from the UPF network element to the UE according to the 5QI in the PCC rule. For example, the SMF network element may use the PDB between the UPF corresponding to the 5QI and the UE as the maximum transmission delay from the UPF to the UE.
可选地,SMF网元获取PCC规则后,可以触发PDU会话修改过程,以便于为该流建立一个QoS流,实现针对该流的资源预留。Optionally, after obtaining the PCC rules, the SMF network element may trigger a PDU session modification process, so as to establish a QoS flow for the flow and implement resource reservation for the flow.
S2406,SMF网元根据第一时延、第一目标时延和第二目标时延,确定第三时延,第二目标时延是指流从UE传输至TSN网络中作为UE的下一跳的目标网元的时延,第三时延是指流从流服务提供者至TSN中作为UE的下一跳的目标网元的时延。S2406. The SMF network element determines the third delay according to the first delay, the first target delay, and the second target delay. The second target delay refers to the flow from the UE to the TSN network as the next hop of the UE. The delay of the target network element. The third delay refers to the delay of the flow from the stream service provider to the target network element that is the next hop of the UE in the TSN.
若第一时延记为Accumulated Latency 1,第一目标时延记为T1,第二目标时延记为T2,第三时延记为Accumulated Latency 3,则SMF网元根据第一时延、第一目标时延和第二目标时延确定第三时延的一种可能的实现方式如下:Accumulated Latency 3=Accumulated Latency 1+T1+T2。If the first delay is recorded as Accumulated Delay1, the first target delay is recorded as T1, the second target delay is recorded as T2, and the third delay is recorded as Accumulated Latency3, the SMF network element is based on the first delay, the first A possible implementation manner of determining the third delay with one target delay and the second target delay is as follows: AccumulatedLatency3 = AccumulatedLatency1 + T1 + T2.
其中,第二目标时延可以是SMF网元从UE获取的,也可以是配置好的。本申请实施例对SMF网元获取第二目标时延的方式不作限定。The second target delay may be obtained by the SMF network element from the UE, or may be configured. This embodiment of the present application does not limit the manner in which the SMF network element obtains the second target delay.
S2407,SMF网元向UPF网元发送第三时延信息。相应地,UPF网元从SMF网元接收第三时延信息。S2407: The SMF network element sends the third delay information to the UPF network element. Accordingly, the UPF network element receives the third delay information from the SMF network element.
例如,SMF网元将其从UPF网元接收的流服务提供者广播声明消息中的第一时延信息修改为第三时延信息,并向UPF网元发送修改后的流服务提供者广播声明消息。For example, the SMF network element modifies the first delay information in the streaming service provider broadcast statement message it receives from the UPF network element to the third delay information, and sends the modified streaming service provider broadcast statement to the UPF network element. Message.
或者,SMF网元可以通过其他方式向UPF网元发送第三时延信息。Alternatively, the SMF network element may send the third delay information to the UPF network element in other ways.
S2408,UPF网元向UE发送第三时延信息。相应地,UE从UPF网元接收第三时延信息。S2408: The UPF network element sends the third delay information to the UE. Accordingly, the UE receives the third delay information from the UPF network element.
例如,UPF网元向UE发送UPF网元从SMF网元接收的流服务提供者广播声明消息, 该流服务提供者广播声明消息中携带第三时延信息。For example, the UPF network element sends to the UE a streaming service provider broadcast announcement message that the UPF network element receives from the SMF network element, and the streaming service provider broadcast announcement message carries third delay information.
S2409,UE向所述目标网元发送第三时延信息。S2409: The UE sends third delay information to the target network element.
例如,UE将其从UPF网元接收的流服务提供者广播声明消息,该流服务提供者广播声明消息中携带第三时延信息。For example, the UE broadcasts the streaming service provider announcement message it receives from the UPF network element, and the streaming service provider broadcast announcement message carries the third delay information.
如果所述目标网元为流服务接受者,则所述目标网元可以判断对该流是否感兴趣,如果感兴趣,判断第三时延能否满足该流的延时需求。如果可以满足,向UE发送第三时延信息。If the target network element is a recipient of a stream service, the target network element may determine whether the stream is interested, and if interested, determine whether the third delay can meet the delay requirement of the stream. If it can be satisfied, send the third delay information to the UE.
例如,该目标网元向UE发送流服务接受者准备消息,该流服务接受者准备消息中包括流的标识信息和第三时延信息。然后UE可以向UPF网元转发流服务接受者准备消息,UPF网元再向UPF网元在TSN中的下一跳网元转发流服务接受者准备消息。For example, the target network element sends a stream service receiver preparation message to the UE, and the stream service receiver preparation message includes flow identification information and third delay information. The UE may then forward the stream service receiver preparation message to the UPF network element, and the UPF network element forwards the stream service receiver preparation message to the next hop network element of the UPF network element in the TSN.
图24所示的通信方法中,由SMF网元从UPF网元获知流从流服务提供者至UPF网元之间传输的第一时延,确定流在UPF网元与UE之间传输的第一目标时延,以及根据第一时延、第一目标时延和流从UE至TSN中作为UE的下一跳的目标网元之间的第二目标时延确定流从流服务提供者至该目标网元之间的第三时延。In the communication method shown in FIG. 24, the SMF network element learns from the UPF network element the first delay of the flow transmission from the stream service provider to the UPF network element, and determines the first time the flow is transmitted between the UPF network element and the UE. A target delay, and determining the flow from the streaming service provider to the target based on the first delay, the first target delay, and a second target delay between the flow from the UE to the target network element that is the UE ’s next hop in the TSN The third delay between the target network elements.
应理解,图24中所示的各个消息的名称仅是一种示例。只要能实现该通信方法中的相应功能的消息都属于本申请实施例的保护范围。It should be understood that the names of the respective messages shown in FIG. 24 are merely examples. As long as the messages capable of implementing the corresponding functions in the communication method belong to the protection scope of the embodiment of the present application.
图24所示的通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为UE的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。The communication method shown in FIG. 24 can not only obtain the accumulated delay of the stream transmitted from the streaming service provider to the target network element as the UE's next hop in the TSN network, but also the method of obtaining the accumulated delay is simpler because the communication The method makes it unnecessary for the UE, the UPF network element, and each device between the UE and the UPF network element to synchronize with the master clock source, and the cumulative delay can also be calculated.
此外,图24所示的通信方法中,将3GPP系统看做TSN网络的一个网桥,可以接收来自TSN网络中作为该网桥的上一跳节点的流预留协议消息(SRP消息),并提供处理SRP消息的方法,将SRP消息发送到TSN中作为该网桥的下一跳节点,从而可以实现3GPP网络和TSN网络的互通场景下对URLLC业务流的时延需求的保障和带宽资源的预留。In addition, in the communication method shown in FIG. 24, the 3GPP system is regarded as a bridge of the TSN network, and can receive a stream reservation protocol message (SRP message) from the previous hop node in the TSN network as the bridge, and Provides a method for processing SRP messages, and sends the SRP message to the TSN as the next hop node of the bridge, so that the latency requirements of the URLLC service flow and the bandwidth resources can be guaranteed in the interworking scenario of 3GPP network and TSN network Reserved.
图25为本申请一个实施例的通信方法的示意性流程图。应理解,图25示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图25中的各个操作的变形。此外,图25中的各个步骤可以按照与图25呈现的不同的顺序来执行,并且有可能并非要执行图25中的全部操作。FIG. 25 is a schematic flowchart of a communication method according to an embodiment of the present application. It should be understood that FIG. 25 shows the steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 25. In addition, each step in FIG. 25 may be performed in a different order than that presented in FIG. 25, and it is possible that not all operations in FIG. 25 are to be performed.
S2501,UPF网元从TSN接收第一时延信息,第一时延信息用于指示第一时延,第一时延是指该流从TSN中的流服务提供者传输至该UPF网元的累计时延。S2501. The UPF network element receives the first delay information from the TSN. The first delay information is used to indicate the first delay. The first delay refers to the transmission of the stream from the stream service provider in the TSN to the UPF network element. Cumulative delay.
例如,UPF网元1903从TSN中作为UPF网元1903的上一跳的网元接收流服务提供者广播声明消息,该消息可以用于广播一个流以及流对应的QoS需求,该消息中包括流的标识信息和第一时延信息。此时,第一时延是指流从作为流服务提供者的通信设备1908传输至UPF网元1903的累计时延。UPF网元1903的上一跳网元可以是通信设备1908,也可以是UPF网元1903与通信设备1908之间的设备或网元。For example, the UPF network element 1903 receives the stream service provider broadcast announcement message from the TSN as the previous hop of the UPF network element 1903. This message can be used to broadcast a flow and the QoS requirements corresponding to the flow. The message includes the flow. Identification information and first delay information. At this time, the first delay refers to a cumulative delay in which a stream is transmitted from the communication device 1908 as a stream service provider to the UPF network element 1903. The previous hop network element of the UPF network element 1903 may be a communication device 1908, or may be a device or a network element between the UPF network element 1903 and the communication device 1908.
可选地,该消息中还可以包括以下一种或多种信息:目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求或资源预留失败原因。Optionally, the message may further include one or more of the following information: destination address, source address, maximum frame size, maximum frame interval, frame priority, and a single frame of the stream is transmitted from the stream service provider to the stream The maximum allowable delay of the service receiver, the reliability requirement of the flow, or the reason for the failure of resource reservation.
应理解,本申请实施例中,为了描述方便,将与流相关的信息中除第一时延信息以外 其他信息均称为流的信息。例如,可以将与流相关的目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求、资源预留失败原因、流的标识或流的QoS参数等称为流的信息。It should be understood that, in the embodiments of the present application, for the convenience of description, information other than the first delay information in the information related to the stream is referred to as the information of the stream. For example, you can transfer the destination address, source address, maximum frame size, maximum frame interval, frame priority, frame's priority, and maximum allowable delay for a single frame of a stream from the stream service provider to the stream service receiver. The reliability requirements, reasons for resource reservation failure, flow identification, or flow QoS parameters are called flow information.
S2502,UPF网元向SMF网元发送流的信息。相应地,SMF网元从UPF网元接收流的信息。S2502, the UPF network element sends flow information to the SMF network element. Accordingly, the SMF network element receives the flow information from the UPF network element.
例如,UPF网元1903从TSN收到流服务提供者广播声明消息后,将该流服务提供者广播声明消息转发给SMF网元1905,该流服务提供者广播声明消息中携带流的信息。For example, after receiving the broadcast service announcement message from the TSN, the UPF network element 1903 forwards the broadcast service provider broadcast announcement message to the SMF network element 1905, and the stream service provider broadcast announcement message carries the flow information.
例如,UPF网元1903从TSN收到流服务提供者广播声明消息后,获取该流服务提供者广播声明消息中的流的信息,并将流的信息发给SMF网元1905。For example, the UPF network element 1903 receives the stream service provider broadcast announcement message from the TSN, obtains the stream information in the stream service provider broadcast announcement message, and sends the stream information to the SMF network element 1905.
S2503,SMF网元从PCF网元获取流对应的PCC规则。S2503, the SMF network element obtains the PCC rule corresponding to the flow from the PCF network element.
例如,SMF网元向PCF网元发送流的信息。该流的信息可以包括流的标识信息等。相应地,PCF网元从SMF网元接收流的信息。For example, the SMF network element sends flow information to the PCF network element. The information of the flow may include identification information of the flow and the like. Accordingly, the PCF network element receives the flow information from the SMF network element.
PCF网元向SMF网元发送该流对应的PCC规则。相应地,SMF网元从PCF网元接收流对应的PCC规则。The PCF network element sends the PCC rule corresponding to the flow to the SMF network element. Accordingly, the SMF network element receives the PCC rule corresponding to the flow from the PCF network element.
应理解,S2503不是必须要执行的步骤。这两步骤是为了实现SMF网元获取流对应的PCC规则,本申请实施例并不限制SMF网元获取流对应的PCC规则的实现方式。It should be understood that S2503 is not a required step. These two steps are to implement the PCC rules corresponding to the SMF network element acquisition flow, and the embodiments of the present application do not limit the implementation of the PCC rules corresponding to the SMF network element acquisition flow.
S2505,SMF网元根据PCC规则,向UPF网元发送流对应的服务质量参数。相应地,UPF网元从SMF网元接收该服务质量参数。S2505, the SMF network element sends the quality of service parameters corresponding to the flow to the UPF network element according to the PCC rule. Accordingly, the UPF network element receives the quality of service parameter from the SMF network element.
例如SMF网元根据PCC规则,确定流对应的5QI,或根据PCC规则确定UPF网元和UE之间的PDB,并向UPF网元发送该5QI或该PDB;或SMF网元向UPF网元发送流对应的QoS流标识信息。For example, the SMF network element determines the 5QI corresponding to the flow according to the PCC rules, or determines the PDB between the UPF network element and the UE according to the PCC rules, and sends the 5QI or the PDB to the UPF network element; or the SMF network element sends the UPF network element QoS flow identification information corresponding to the flow.
可选地,SMF网元获取PCC规则后,可以触发PDU会话修改过程,以便于为该流建立一个QoS流,实现针对该流的资源预留。Optionally, after obtaining the PCC rules, the SMF network element may trigger a PDU session modification process, so as to establish a QoS flow for the flow and implement resource reservation for the flow.
SMF网元还可以向UPF网元发送流对应的第二目标时延,第二目标时延是指流从UE传输至TSN网络中作为UE的下一跳的目标网元的时延。The SMF network element may also send a second target delay corresponding to the flow to the UPF network element. The second target delay refers to the delay in transmitting the flow from the UE to the target network element in the TSN network as the next hop of the UE.
S2506,UPF网元根据流对应的服务质量参数确定第一目标时延,第一目标时延是指流在UPF网元至UE之间传输的时延。S2506: The UPF network element determines a first target delay according to the quality of service parameter corresponding to the flow. The first target delay refers to a delay in transmitting the flow between the UPF network element and the UE.
第一目标时延的一种示例可以是流从UPF网元到UE的最大传输时延。例如,UPF网元可以根据从SMF网元接收的5QI或PDB或QoS流标识信息,确定该流从UPF网元到UE的最大传输时延。An example of the first target delay may be the maximum transmission delay of the flow from the UPF network element to the UE. For example, the UPF network element may determine the maximum transmission delay of the flow from the UPF network element to the UE according to the 5QI or PDB or QoS flow identification information received from the SMF network element.
例如,UPF网元如果从SMF网元获取的是PDB,则可以将PDB作为第一目标时延。For example, if the UPF network element obtains the PDB from the SMF network element, the PDB may be used as the first target delay.
例如,UPF网元如果从SMF网元获取的是QoS流标识信息,可以根据QoS流标识信息获取对应QoS参数中的PDB,并将PDB作为第一目标时延。For example, if the UPF network element obtains the QoS flow identification information from the SMF network element, it may obtain the PDB in the corresponding QoS parameter according to the QoS flow identification information, and use the PDB as the first target delay.
例如,UPF网元如果从SMF网元获取的是流对应的5QI,可以根据5QI获取对应QoS参数中的PDB,并将PDB作为第一目标时延。For example, if the UPF network element obtains the 5QI corresponding to the flow from the SMF network element, it may obtain the PDB in the corresponding QoS parameter according to the 5QI, and use the PDB as the first target delay.
S2507,UPF网元根据第一时延、第一目标时延和第二目标时延,确定第三时延,第二目标时延是指流从UE传输至TSN网络中作为UE的下一跳的目标网元的时延,第三时延是指流从流服务提供者至TSN中作为UE的下一跳的目标网元的时延。S2507. The UPF network element determines the third delay according to the first delay, the first target delay, and the second target delay. The second target delay refers to the flow from the UE to the TSN network as the next hop of the UE. The delay of the target network element. The third delay refers to the delay of the flow from the stream service provider to the target network element that is the next hop of the UE in the TSN.
若第一时延记为Accumulated Latency 1,第一目标时延记为T1,第二目标时延记为 T2,第三时延记为Accumulated Latency 3,则UPF网元根据第一时延、第一目标时延和第二目标时延确定第三时延的一种可能的实现方式如下:Accumulated Latency 3=Accumulated Latency 1+T1+T2。If the first delay is recorded as Accumulated Delay1, the first target delay is recorded as T1, the second target delay is recorded as T2, and the third delay is recorded as Accumulated Latency3, then the UPF network element is based on the first delay, the first A possible implementation manner of determining the third delay with one target delay and the second target delay is as follows: AccumulatedLatency3 = AccumulatedLatency1 + T1 + T2.
其中,第二目标时延可以是SMF网元从UE获取的,或者配置好的,或者通过其他方式获取的。本申请实施例对SMF网元获取第二目标时延的方式不作限制。The second target delay may be obtained by the SMF network element from the UE, or configured, or obtained by other methods. This embodiment of the present application does not limit the manner in which the SMF network element obtains the second target delay.
S2508,UPF网元向UE发送第三时延信息。相应地,UE从UPF网元接收第三时延信息。S2508: The UPF network element sends the third delay information to the UE. Accordingly, the UE receives the third delay information from the UPF network element.
例如,UPF网元向UE发送UPF网元从TSN接收的流服务提供者广播声明消息,该流服务提供者广播声明消息中的第一时延信息修改为携带第三时延信息。For example, the UPF network element sends a broadcast service broadcast announcement message received by the UPF network element from the TSN to the UE, and the first delay information in the broadcast service broadcast broadcast message is modified to carry the third delay information.
S2509,UE向所述目标网元发送第三时延信息。S2509: The UE sends third delay information to the target network element.
例如,UE将其从UPF网元接收的流服务提供者广播声明消息,该流服务提供者广播声明消息中携带第三时延信息。For example, the UE broadcasts the streaming service provider announcement message it receives from the UPF network element, and the streaming service provider broadcast announcement message carries the third delay information.
如果所述目标网元为流服务接受者,则所述目标网元可以判断对该流是否感兴趣,如果感兴趣,判断第三时延能否满足该流的延时需求。如果可以满足,向UE发送第三时延信息。If the target network element is a recipient of a stream service, the target network element may determine whether the stream is interested, and if interested, determine whether the third delay can meet the delay requirement of the stream. If it can be satisfied, send the third delay information to the UE.
例如,该目标网元向UE发送流服务接受者准备消息,该流服务接受者准备消息中包括流的标识信息和第三时延信息。然后UE可以向UPF网元转发流服务接受者准备消息,UPF网元再向UPF网元在TSN中的下一跳网元转发流服务接受者准备消息。For example, the target network element sends a stream service receiver preparation message to the UE, and the stream service receiver preparation message includes flow identification information and third delay information. The UE may then forward the stream service receiver preparation message to the UPF network element, and the UPF network element forwards the stream service receiver preparation message to the next hop network element of the UPF network element in the TSN.
图25所示的通信方法中,由UPF网元根据从SMF网元获取的QoS参数确定流在UPF网元与UE之间传输的第一目标时延,以及根据流从流服务提供者至UPF网元之间传输的第一时延、第一目标时延和流从UE至TSN中作为UE的下一跳的目标网元之间的第二目标时延确定流从流服务提供者至该目标网元之间的第三时延。In the communication method shown in FIG. 25, the UPF network element determines the first target delay of the transmission of the flow between the UPF network element and the UE according to the QoS parameters obtained from the SMF network element, and according to the flow, from the flow service provider to the UPF. The first delay, the first target delay transmitted between the network elements, and the second target delay between the flow from the UE to the target network element in the TSN that is the UE's next hop determine the flow from the flow service provider to the The third delay between target network elements.
应理解,图25中所示的各个消息的名称仅是一种示例。只要能实现该通信方法中的相应功能的消息都属于本申请实施例的保护范围。It should be understood that the names of the respective messages shown in FIG. 25 are merely examples. As long as the messages capable of implementing the corresponding functions in the communication method belong to the protection scope of the embodiment of the present application.
图25所示的通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为UE的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。The communication method shown in FIG. 25 can not only obtain the accumulated delay of the stream transmitted from the streaming service provider to the target network element as the UE's next hop in the TSN network, but also the method of obtaining the accumulated delay is simpler because the communication The method makes it unnecessary for the UE, the UPF network element, and each device between the UE and the UPF network element to synchronize with the master clock source, and the cumulative delay can also be calculated.
此外,图25所示的通信方法中,将3GPP系统看做TSN网络的一个网桥,可以接收来自TSN网络中作为该网桥的上一跳节点的流预留协议消息(SRP消息),并提供处理SRP消息的方法,将SRP消息发送到TSN中作为该网桥的下一跳节点,从而可以实现3GPP网络和TSN网络的互通场景下对URLLC业务流的时延需求的保障和带宽资源的预留。In addition, in the communication method shown in FIG. 25, the 3GPP system is regarded as a bridge of the TSN network, and can receive a stream reservation protocol message (SRP message) from the previous hop node in the TSN network as the bridge, and Provides a method for processing SRP messages, and sends the SRP message to the TSN as the next hop node of the bridge, so that the latency requirements of the URLLC service flow and the bandwidth resources can be guaranteed in the interworking scenario of 3GPP network and TSN network. Reserved.
图26为本申请一个实施例的通信方法的示意性流程图。应理解,图26示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图26中的各个操作的变形。此外,图26中的各个步骤可以按照与图26呈现的不同的顺序来执行,并且有可能并非要执行图26中的全部操作。FIG. 26 is a schematic flowchart of a communication method according to an embodiment of the present application. It should be understood that FIG. 26 shows steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 26. In addition, each step in FIG. 26 may be performed in a different order than that presented in FIG. 26, and it is possible that not all operations in FIG. 26 are to be performed.
S2601,UE从TSN接收第一时延信息,第一时延信息用于指示第一时延,第一时延是指该流从TSN中的流服务提供者传输至该UE的累计时延。S2601: The UE receives first delay information from the TSN. The first delay information is used to indicate the first delay. The first delay refers to a cumulative delay in which the stream is transmitted from the streaming service provider in the TSN to the UE.
例如,UE 1901从TSN中作为UE 1901的上一跳的网元接收流服务提供者广播声明 消息,该消息可以用于广播一个流以及流对应的QoS需求,该消息中包括流的标识信息和第一时延信息。此时,第一时延是指流从作为流服务提供者的通信设备1907传输至UE1901的累计时延。UE 1901的上一跳网元可以是通信设备1907,也可以是UE 1901与通信设备1907之间的设备或网元。For example, UE1901 receives a stream service provider broadcast announcement message from the TSN as the previous hop of the UE1901. This message can be used to broadcast a stream and the QoS requirements corresponding to the stream. The message includes the flow identification information and First delay information. At this time, the first delay refers to a cumulative delay in which a stream is transmitted from the communication device 1907 as a stream service provider to the UE 1901. The previous hop network element of the UE 1901 may be a communication device 1907, or may be a device or a network element between the UE 1901 and the communication device 1907.
可选地,该消息中还可以包括以下一种或多种信息:目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求或资源预留失败原因。Optionally, the message may further include one or more of the following information: destination address, source address, maximum frame size, maximum frame interval, frame priority, and a single frame of the stream is transmitted from the stream service provider to the stream The maximum allowable delay of the service receiver, the reliability requirement of the flow, or the reason for the failure of resource reservation.
应理解,本申请实施例中,为了描述方便,将与流相关的信息中除第一时延信息以外其他信息均称为流的信息。例如,可以将与流相关的目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求、资源预留失败原因、流的标识或流的QoS参数等称为流的信息。It should be understood that, in the embodiments of the present application, for the convenience of description, information other than the first delay information in the information related to the stream is referred to as the information of the stream. For example, you can transfer the destination address, source address, maximum frame size, maximum frame interval, frame priority, frame's priority, and maximum allowable delay for a single frame of a stream from the stream service provider to the stream service receiver. The reliability requirements, reasons for resource reservation failure, flow identification, or flow QoS parameters are called flow information.
S2602,UE向UPF网元发送第一时延信息。相应地,UPF网元从UE接收第一时延信息。S2602: The UE sends the first delay information to the UPF network element. Correspondingly, the UPF network element receives the first delay information from the UE.
例如,UE将其从TSN接收的流服务提供者广播声明消息转发给UPF网元,该流服务提供者广播声明消息中携带第一时延信息和流的信息。For example, the UE forwards the broadcast service broadcast announcement message it receives from the TSN to the UPF network element, and the broadcast service broadcast announcement message carries the first delay information and flow information.
例如,UE从TSN收到流服务提供者广播声明消息后,获取该流服务提供者广播声明消息中的第一时延信息和流的信息,并将第一时延信息和流的信息发给UPF网元。For example, after receiving a broadcast service provider broadcast announcement message from the TSN, the UE obtains the first delay information and stream information in the broadcast service provider broadcast announcement message, and sends the first delay information and stream information to UPF network element.
S2603,UPF网元向SMF网元发送第一时延信息。相应地,SMF网元从UPF网元接收第一时延信息。此外,UPF网元还可以向SMF网元发送流的信息。S2603: The UPF network element sends the first delay information to the SMF network element. Accordingly, the SMF network element receives the first delay information from the UPF network element. In addition, the UPF network element can also send flow information to the SMF network element.
例如,UPF网元1903从UE 1901收到流服务提供者广播声明消息后,将该流服务提供者广播声明消息转发给SMF网元1905。该流服务提供者广播声明消息中携带第一时延信息和流的信息。For example, after the UPF network element 1903 receives the broadcast service provider broadcast announcement message from the UE 1901, it forwards the stream service provider broadcast announcement message to the SMF network element 1905. The stream service provider broadcast announcement message carries first delay information and stream information.
例如,UPF网元1903从UE 1901收到流服务提供者广播声明消息后,获取该流服务提供者广播声明消息中的第一时延信息和流的信息,并将第一时延信息和流的信息发给SMF网元1905。For example, after the UPF network element 1903 receives the broadcast service provider broadcast announcement message from the UE 1901, it obtains the first delay information and stream information in the broadcast service provider broadcast announcement message, and changes the first delay information and stream The information is sent to SMF network element 1905.
S2604,SMF网元从PCF网元获取流对应的PCC规则。S2604: The SMF network element obtains a PCC rule corresponding to the flow from the PCF network element.
例如,SMF网元向PCF网元发送流的信息。该流的信息可以包括流的标识信息或流的QoS参数等。相应地,PCF网元从SMF网元接收流的信息。For example, the SMF network element sends flow information to the PCF network element. The flow information may include flow identification information or flow QoS parameters. Accordingly, the PCF network element receives the flow information from the SMF network element.
PCF网元向SMF网元发送该流对应的PCC规则。相应地,SMF网元从PCF网元接收流对应的PCC规则。The PCF network element sends the PCC rule corresponding to the flow to the SMF network element. Accordingly, the SMF network element receives the PCC rule corresponding to the flow from the PCF network element.
应理解,S2604不是必须要执行的步骤。这个步骤是为了实现SMF网元获取流对应的PCC规则,本申请实施例并不限制SMF网元获取流对应的PCC规则的实现方式。It should be understood that S2604 is not a required step. This step is to implement the PCC rule corresponding to the SMF network element acquisition flow, and the embodiment of the present application does not limit the implementation of the PCC rule corresponding to the SMF network element acquisition flow.
S2606,SMF网元根据流对应的PCC规则,确定第一目标时延,第一目标时延是指流从UE至UPF网元的传输时延。S2606: The SMF network element determines the first target delay according to the PCC rule corresponding to the flow. The first target delay refers to the transmission delay of the flow from the UE to the UPF network element.
本申请实施例中,第一目标时延也可以称为流在UE与UPF网元之间传输的累计时延。In the embodiment of the present application, the first target delay may also be referred to as a cumulative delay of the flow transmission between the UE and the UPF network element.
第一目标时延的一种示例可以是流从UE到UPF网元的最大传输时延。例如,SMF网元可以根据PCC规则中的5QI,确定该流从UE到UPF网元的最大传输时延。例如,SMF网元可以将5QI对应的UE和UPF之间的PDB,作为流从UE传输至UPF网元的最大传输时延。An example of the first target delay may be the maximum transmission delay of the flow from the UE to the UPF network element. For example, the SMF network element may determine the maximum transmission delay of the flow from the UE to the UPF network element according to the 5QI in the PCC rule. For example, the SMF network element may use the PDB between the UE corresponding to the 5QI and the UPF as the maximum transmission delay for the stream to be transmitted from the UE to the UPF network element.
可选地,SMF网元获取PCC规则后,可以触发PDU会话修改过程,以便于为该流建立一个QoS流,实现针对该流的资源预留。Optionally, after obtaining the PCC rules, the SMF network element may trigger a PDU session modification process, so as to establish a QoS flow for the flow and implement resource reservation for the flow.
S2607,SMF网元根据第一时延和第一目标时延,确定第二时延,第二时延是指流从流服务提供者至UE的传输时延。S2607. The SMF network element determines a second delay according to the first delay and the first target delay. The second delay refers to a transmission delay of the stream from the stream service provider to the UE.
例如,SMF网元根据流服务提供者广播声明消息中携带的第一时延信息指示的第一时延,和S2606中确定的最大传输时延,确定第二时延。For example, the SMF network element determines the second delay according to the first delay indicated by the first delay information carried in the broadcast service broadcast announcement message and the maximum transmission delay determined in S2606.
若第一时延记为Accumulated Latency 1,第一目标时延记为T1,第二时延记为Accumulated Latency 2,则Accumulated Latency 2=Accumulated Latency 1+T1。If the first delay is recorded as Accumulated Latency1, the first target delay is recorded as T1, and the second delay is recorded as Accumulated Latency2, then AccumulatedLatency2 = AccumulatedLatency1 + T1.
S2608,SMF网元向UPF网元发送第二时延信息,第二时延信息用于指示第二时延。相应地,UPF网元从SMF网元接收第二时延信息。S2608: The SMF network element sends second delay information to the UPF network element, and the second delay information is used to indicate the second delay. Accordingly, the UPF network element receives the second delay information from the SMF network element.
例如,SMF网元将其从UPF网元接收的流服务提供者广播声明消息中的第一时延信息修改为第二时延信息,并向UPF网元发送修改后的流服务提供者广播声明消息。For example, the SMF network element modifies the first delay information in the streaming service provider broadcast statement message it receives from the UPF network element to the second delay information, and sends the modified streaming service provider broadcast statement to the UPF network element. Message.
或者,SMF网元可以通过其他方式向UPF网元发送第二时延信息。Alternatively, the SMF network element may send the second delay information to the UPF network element in other ways.
S2609,UPF网元根据第二时延和第二目标时延,确定第三时延,第二目标时延是指流从UPF网元传输至TSN网络中作为UPF网元的下一跳的目标网元的时延,第三时延是指流从流服务提供者至TSN中作为UPF网元的下一跳的目标网元的时延。S2609, the UPF network element determines the third delay according to the second delay and the second target delay. The second target delay refers to the transmission of the stream from the UPF network element to the TSN network as the target of the next hop of the UPF network element. Network element delay. The third delay refers to the delay from the stream service provider to the target network element that is the next hop of the UPF network element in the TSN.
例如,第二目标时延为流从UPF网元1903至TSN中作为UPF网元1903的下一跳的目标网元的累计传输时延;第三时延为流从通信设备107至该目标跳网元之间的累计传输时延。其中,该目标网元可以是通信设备1908或可以是UPF网元至通信设备1908之间的通信设备。For example, the second target delay is the cumulative transmission delay of the flow from the UPF network element 1903 to the target network element that is the next hop of the UPF network element 1903; the third delay is the flow from the communication device 107 to the target hop. Cumulative transmission delay between network elements. The target network element may be a communication device 1908 or a communication device between a UPF network element and the communication device 1908.
UPF网元根据第二时延和第二目标时延确定第三时延的一种实现方式中可以包括:UPF网元将第二目标时延累加到第二时延中,得到第三时延。例如,若将第二目标时延记为T2,将第二时延记为Accumulated Latency 2,将第三时延记为Accumulated Latency 3,则Accumulated Latency 3=Accumulated Latency 2+T2。An implementation manner in which the UPF network element determines the third delay according to the second delay and the second target delay may include: the UPF network element adds the second target delay to the second delay to obtain the third delay . For example, if the second target delay is recorded as T2, the second delay is recorded as AccumulatedLatency2, and the third delay is recorded as AccumulatedLatency3, then AccumulatedLatency3 = AccumulatedLatency2 + T2.
其中,第二目标时延可以是UPF网元从所述目标网元获取的,也可以是配置好的,或从其他方式获取的。本申请实施例对UPF网元获取第二目标时延的方式不作限制。The second target delay may be obtained by the UPF network element from the target network element, or may be configured, or obtained by other methods. This embodiment of the present application does not limit the manner in which the UPF network element obtains the second target delay.
S2610,UPF网元向所述目标网元发送第三时延信息。S2610: The UPF network element sends third delay information to the target network element.
例如,UPF网元将其从UE接收的流服务提供者广播声明消息发送给目标网元,该流服务提供者广播声明消息中的第一时延信息修改为携带第三时延信息。For example, the UPF network element sends a broadcast service provider broadcast announcement message it receives from the UE to the target network element, and the first delay information in the broadcast service provider broadcast announcement message is modified to carry the third delay information.
或者,UPF网元可以将其从SMF网元接收的流服务提供者广播声明消息发送给目标网元,该流服务提供者广播声明消息中的第二时延信息修改为携带第三时延信息。Alternatively, the UPF network element may send a broadcast service provider broadcast announcement message it receives from the SMF network element to the target network element, and the second delay information in the broadcast service provider broadcast declaration message is modified to carry the third delay information .
图26所示的通信方法中,由SMF网元从UPF网元获知流从流服务提供者至UE之间的第一时延,根据流的PCC规则确定流在UPF网元与UE之间传输的第一目标时延,以及根据第一时延和第一目标时延确定流从流服务提供者传输至UPF网元的第二时延,并向UPF网元发送第二时延;UPF网元根据第二时延和流从UPF网元至TSN中作为UPF网元的下一跳的网元之间的第二目标时延确定流从流服务提供者至该下一跳网元之间的第三时延。In the communication method shown in FIG. 26, the SMF network element learns from the UPF network element that the flow has a first delay from the flow service provider to the UE, and determines that the flow is transmitted between the UPF network element and the UE according to the PCC rule of the flow. The first target delay, and determine the second delay for transmitting the stream from the streaming service provider to the UPF network element based on the first delay and the first target delay, and send the second delay to the UPF network element; the UPF network The element determines the flow from the flow service provider to the next hop network element based on the second delay and the second target delay between the flow from the UPF network element to the network element that is the next hop of the UPF network element in the TSN. Third delay.
应理解,图26中所示的各个消息的名称仅是一种示例。只要能实现该通信方法中的相应功能的消息都属于本申请实施例的保护范围。It should be understood that the names of the respective messages shown in FIG. 26 are merely examples. As long as the messages capable of implementing the corresponding functions in the communication method belong to the protection scope of the embodiment of the present application.
图26所示的通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为UPF网元的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。The communication method shown in FIG. 26 can not only obtain the accumulated delay of the stream transmitted from the stream service provider to the target network element as the next hop of the UPF network element in the TSN network, but also the method of obtaining the accumulated delay is relatively simple because This communication method makes it unnecessary for the UE, the UPF network element, and each device between the UE and the UPF network element to synchronize with the main clock source, and the cumulative delay can also be calculated.
此外,图26所示的通信方法中,将3GPP系统看做TSN网络的一个网桥,可以接收来自TSN网络中作为该网桥的上一跳节点的流预留协议消息(SRP消息),并提供处理SRP消息的方法,将SRP消息发送到TSN中作为该网桥的下一跳节点,从而可以实现3GPP网络和TSN网络的互通场景下对URLLC业务流的时延需求的保障和带宽资源的预留。In addition, in the communication method shown in FIG. 26, the 3GPP system is regarded as a bridge of the TSN network, and can receive a stream reservation protocol message (SRP message) from the previous hop node in the TSN network as the bridge, and Provides a method for processing SRP messages, and sends the SRP message to the TSN as the next hop node of the bridge, so that the latency requirements of the URLLC service flow and the bandwidth resources can be guaranteed in the interworking scenario of the 3GPP network and the TSN network. Reserved.
图27为本申请一个实施例的通信方法的示意性流程图。应理解,图27示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图27中的各个操作的变形。此外,图27中的各个步骤可以按照与图27呈现的不同的顺序来执行,并且有可能并非要执行图27中的全部操作。FIG. 27 is a schematic flowchart of a communication method according to an embodiment of the present application. It should be understood that FIG. 27 illustrates steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 27. In addition, each step in FIG. 27 may be performed in a different order than that presented in FIG. 27, and it is possible that not all operations in FIG. 27 are to be performed.
S2701,UE从TSN接收第一时延信息,第一时延信息用于指示第一时延,第一时延是指该流从TSN中的流服务提供者传输至该UE的累计时延。S2701: The UE receives first delay information from the TSN. The first delay information is used to indicate the first delay. The first delay refers to a cumulative delay in which the stream is transmitted from the streaming service provider in the TSN to the UE.
例如,UE 1901从TSN中作为UE 1901的上一跳的网元接收流服务提供者广播声明消息,该消息可以用于广播一个流以及流对应的QoS需求,该消息中包括流的标识信息和第一时延信息。此时,第一时延是指流从作为流服务提供者的通信设备1907传输至UE1901的累计时延。UE 1901的上一跳网元可以是通信设备1907,也可以是UE 1901与通信设备1907之间的设备或网元。For example, UE1901 receives a stream service provider broadcast announcement message from the TSN as the previous hop of the UE1901. This message can be used to broadcast a stream and the QoS requirements corresponding to the stream. The message includes the flow identification information and First delay information. At this time, the first delay refers to a cumulative delay in which a stream is transmitted from the communication device 1907 as a stream service provider to the UE 1901. The previous hop network element of the UE 1901 may be a communication device 1907, or may be a device or a network element between the UE 1901 and the communication device 1907.
可选地,该消息中还可以包括以下一种或多种信息:目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求或资源预留失败原因。Optionally, the message may further include one or more of the following information: destination address, source address, maximum frame size, maximum frame interval, frame priority, and a single frame of the stream is transmitted from the stream service provider to the stream The maximum allowable delay of the service receiver, the reliability requirement of the flow, or the reason for the failure of resource reservation.
应理解,本申请实施例中,为了描述方便,将与流相关的信息中除第一时延信息以外其他信息均称为流的信息。例如,可以将与流相关的目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求、资源预留失败原因、流的标识或流的QoS参数等称为流的信息。It should be understood that, in the embodiments of the present application, for the convenience of description, information other than the first delay information in the information related to the stream is referred to as the information of the stream. For example, you can transfer the destination address, source address, maximum frame size, maximum frame interval, frame priority, frame's priority, and maximum allowable delay for a single frame of a stream from the stream service provider to the stream service receiver. The reliability requirements, reasons for resource reservation failure, flow identification, or flow QoS parameters are called flow information.
S2702,UE向UPF网元发送第一时延信息。相应地,UE从UPF网元接收第一时延信息。S2702: The UE sends the first delay information to the UPF network element. Accordingly, the UE receives the first delay information from the UPF network element.
例如,UE将其从TSN接收的流服务提供者广播声明消息转发给UPF网元,该流服务提供者广播声明消息中携带第一时延信息。该流服务提供者广播声明消息中携带第一时延信息和流的信息。For example, the UE forwards the broadcast service broadcast message it receives from the TSN to the UPF network element, and the broadcast service broadcast message carries the first delay information. The stream service provider broadcast announcement message carries first delay information and stream information.
例如,UE从TSN收到流服务提供者广播声明消息后,获取该流服务提供者广播声明消息中的第一时延信息和流的信息,并将第一时延信息和流的信息发给UPF网元。For example, after receiving a broadcast service provider broadcast announcement message from the TSN, the UE obtains the first delay information and stream information in the broadcast service provider broadcast announcement message, and sends the first delay information and stream information to UPF network element.
S2703,UPF网元向SMF网元发送流的信息。相应地,SMF网元从UPF网元接收流的信息。S2703, the UPF network element sends flow information to the SMF network element. Accordingly, the SMF network element receives the flow information from the UPF network element.
例如,UPF网元1903从TSN收到流服务提供者广播声明消息后,将该流服务提供者广播声明消息转发给SMF网元1905,该流服务提供者广播声明消息中携带流的信息。For example, after receiving the broadcast service announcement message from the TSN, the UPF network element 1903 forwards the broadcast service provider broadcast announcement message to the SMF network element 1905, and the stream service provider broadcast announcement message carries the flow information.
例如,UPF网元1903从TSN收到流服务提供者广播声明消息后,获取该流服务提供者广播声明消息中的第一时延信息和流的信息,并将第一时延信息和流的信息发给SMF 网元1905。For example, after receiving the broadcast service announcement message from the TSN, the UPF network element 1903 obtains the first delay information and the flow information in the broadcast service provider broadcast declaration message, and changes the first delay information and the flow information. The information is sent to SMF network element 1905.
S2704,SMF网元从PCF网元获取流对应的PCC规则。S2704: The SMF network element obtains a PCC rule corresponding to the flow from the PCF network element.
例如,SMF网元向PCF网元发送流的信息。该流的信息可以包括流的标识信息等。相应地,PCF网元从SMF网元接收流的信息。For example, the SMF network element sends flow information to the PCF network element. The information of the flow may include identification information of the flow and the like. Accordingly, the PCF network element receives the flow information from the SMF network element.
PCF网元向SMF网元发送该流对应的PCC规则。相应地,SMF网元从PCF网元接收流对应的PCC规则。The PCF network element sends the PCC rule corresponding to the flow to the SMF network element. Accordingly, the SMF network element receives the PCC rule corresponding to the flow from the PCF network element.
应理解,S2704不是必须要执行的步骤。这个步骤是为了实现SMF网元获取流对应的PCC规则,本申请实施例并不限制SMF网元获取流对应的PCC规则的实现方式。It should be understood that S2704 is not a required step. This step is to implement the PCC rule corresponding to the SMF network element acquisition flow, and the embodiment of the present application does not limit the implementation of the PCC rule corresponding to the SMF network element acquisition flow.
S2706,SMF网元根据PCC规则,向UPF网元发送流对应的服务质量参数。相应地,UPF网元从SMF网元接收该服务质量参数。S2706: The SMF network element sends a quality of service parameter corresponding to the flow to the UPF network element according to the PCC rule. Accordingly, the UPF network element receives the quality of service parameter from the SMF network element.
例如SMF网元根据PCC规则,确定流对应的5QI,或根据PCC规则确定UPF网元和UE之间的PDB,并向UPF网元发送该5QI或该PDB;或SMF网元向UPF网元发送流对应的QoS流标识信息。For example, the SMF network element determines the 5QI corresponding to the flow according to the PCC rules, or determines the PDB between the UPF network element and the UE according to the PCC rules, and sends the 5QI or the PDB to the UPF network element; or the SMF network element sends the UPF network element QoS flow identification information corresponding to the flow.
可选地,SMF网元获取PCC规则后,可以触发PDU会话修改过程,以便于为该流建立一个QoS流,实现针对该流的资源预留。Optionally, after obtaining the PCC rules, the SMF network element may trigger a PDU session modification process, so as to establish a QoS flow for the flow and implement resource reservation for the flow.
S2707,UPF网元根据流对应的服务质量参数确定第一目标时延,第一目标时延是指流在UE至UPF网元之间传输的时延。S2707: The UPF network element determines a first target delay according to the quality of service parameter corresponding to the flow. The first target delay refers to a delay of the flow transmission between the UE and the UPF network element.
第一目标时延的一种示例可以是流从UPF网元到UE的最大传输时延。例如,UPF网元可以根据从SMF网元接收的5QI或PDB或Qos流标识信息,确定该流从UE到UPF网元的最大传输时延。An example of the first target delay may be the maximum transmission delay of the flow from the UPF network element to the UE. For example, the UPF network element may determine the maximum transmission delay of the flow from the UE to the UPF network element based on the 5QI or PDB or Qos flow identification information received from the SMF network element.
例如,UPF网元如果从SMF网元获取的是PDB,则可以将PDB作为第一目标时延。For example, if the UPF network element obtains the PDB from the SMF network element, the PDB may be used as the first target delay.
例如,UPF网元如果从SMF网元获取的是QoS流标识信息,可以根据QoS流标识信息获取对应QoS参数中的PDB,并将PDB作为第一目标时延。For example, if the UPF network element obtains the QoS flow identification information from the SMF network element, it may obtain the PDB in the corresponding QoS parameter according to the QoS flow identification information, and use the PDB as the first target delay.
例如,UPF网元如果从SMF网元获取的是流对应的5QI,可以根据5QI获取对应QoS参数中的PDB,并将PDB作为第一目标时延。For example, if the UPF network element obtains the 5QI corresponding to the flow from the SMF network element, it may obtain the PDB in the corresponding QoS parameter according to the 5QI, and use the PDB as the first target delay.
S2708,UPF网元根据第一时延、第一目标时延和第二目标时延,确定第三时延,第二目标时延是指流从UPF网元传输至TSN网络中作为UPF网元的下一跳的目标网元的时延,第三时延是指流从流服务提供者至TSN中作为UPF网元的下一跳的目标网元的时延。S2708. The UPF network element determines the third delay according to the first delay, the first target delay, and the second target delay. The second target delay refers to the flow from the UPF network element to the TSN network as the UPF network element. The delay of the target network element of the next hop of the. The third delay refers to the delay of the flow from the stream service provider to the target network element of the next hop of the UPF network element in the TSN.
若第一时延记为Accumulated Latency 1,第一目标时延记为T1,第二目标时延记为T2,第三时延记为Accumulated Latency 3,则UPF网元根据第一时延、第一目标时延和第二目标时延确定第三时延的一种可能的实现方式如下:Accumulated Latency 3=Accumulated Latency 1+T1+T2。If the first delay is recorded as Accumulated Delay1, the first target delay is recorded as T1, the second target delay is recorded as T2, and the third delay is recorded as Accumulated Latency3, then the UPF network element is based on the first delay, the first A possible implementation manner of determining the third delay with one target delay and the second target delay is as follows: AccumulatedLatency3 = AccumulatedLatency1 + T1 + T2.
其中,第二目标时延可以是UPF网元从所述目标网元获取的,也可以是配置好的,还可以是通过其他方式获取的。本申请实施例对UPF网元获取第二目标时延的方式不作限制。The second target delay may be obtained by the UPF network element from the target network element, or may be configured, or may be obtained by other methods. This embodiment of the present application does not limit the manner in which the UPF network element obtains the second target delay.
S2709,UPF网元向所述目标网元发送第三时延信息。S2709: The UPF network element sends third delay information to the target network element.
例如,UPF网元将其从UE接收的流服务提供者广播声明消息发送给目标网元,该流服务提供者广播声明消息中的第一时延信息修改为携带第三时延信息。For example, the UPF network element sends a broadcast service provider broadcast announcement message it receives from the UE to the target network element, and the first delay information in the broadcast service provider broadcast announcement message is modified to carry the third delay information.
图27所示的通信方法中,由UPF网元根据从SMF网元获取的QoS参数确定流在UPF 网元与UE之间传输的第一目标时延,以及根据流从流服务提供者至UE之间传输的第一时延、第一目标时延和流从UPF网元至TSN中作为UPF网元的下一跳的目标网元之间的第二目标时延确定流从流服务提供者至该目标网元之间的第三时延。In the communication method shown in FIG. 27, the UPF network element determines the first target delay of the flow transmission between the UPF network element and the UE according to the QoS parameters obtained from the SMF network element, and the flow service provider to the UE according to the flow. The first delay, the first target delay between transmissions, and the second target delay between the flow from the UPF network element to the target network element in the TSN as the next hop of the UPF network element determine the flow from the flow service provider The third delay to the target network element.
应理解,图27中所示的各个消息的名称仅是一种示例。只要能实现该通信方法中的相应功能的消息都属于本申请实施例的保护范围。It should be understood that the names of the respective messages shown in FIG. 27 are merely examples. As long as the messages capable of implementing the corresponding functions in the communication method belong to the protection scope of the embodiment of the present application.
图27所示的通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为UPF网元的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。The communication method shown in FIG. 27 can not only obtain the accumulated delay of the stream transmitted from the stream service provider to the target network element as the next hop of the UPF network element in the TSN network, but also the method of obtaining the accumulated delay is relatively simple because This communication method makes it unnecessary for the UE, the UPF network element, and each device between the UE and the UPF network element to synchronize with the master clock source, and the cumulative delay can also be calculated.
此外,图27所示的通信方法中,将3GPP系统看做TSN网络的一个网桥,可以接收来自TSN网络中作为该网桥的上一跳节点的流预留协议消息(SRP消息),并提供处理SRP消息的方法,将SRP消息发送到TSN中作为该网桥的下一跳节点,从而可以实现3GPP网络和TSN网络的互通场景下对URLLC业务流的时延需求的保障和带宽资源的预留。In addition, in the communication method shown in FIG. 27, the 3GPP system is regarded as a bridge of the TSN network, and can receive a stream reservation protocol message (SRP message) from the previous hop node in the TSN network as the bridge, and Provides a method for processing SRP messages, and sends the SRP message to the TSN as the next hop node of the bridge, so that the latency requirements of the URLLC service flow and the bandwidth resources can be guaranteed in the interworking scenario of the 3GPP network and the TSN network. Reserved.
图28为本申请一个实施例的通信方法的示意性流程图。应理解,图28示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图28中的各个操作的变形。此外,图28中的各个步骤可以按照与图28呈现的不同的顺序来执行,并且有可能并非要执行图28中的全部操作。FIG. 28 is a schematic flowchart of a communication method according to an embodiment of the present application. It should be understood that FIG. 28 illustrates steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 28. In addition, each step in FIG. 28 may be performed in a different order than that presented in FIG. 28, and it is possible that not all operations in FIG. 28 are to be performed.
S2801,UE从TSN接收第一时延信息,第一时延信息用于指示第一时延,第一时延是指该流从TSN中的流服务提供者传输至该UE的累计时延。S2801. The UE receives first delay information from the TSN. The first delay information is used to indicate the first delay. The first delay refers to a cumulative delay in which the stream is transmitted from the streaming service provider in the TSN to the UE.
例如,UE 1901从TSN中作为UE 1901的上一跳的网元接收流服务提供者广播声明消息,该消息可以用于广播一个流以及流对应的QoS需求,该消息中包括流的标识信息和第一时延信息。此时,第一时延是指流从作为流服务提供者的通信设备1907传输UE 1901的累计时延。UE 1901的上一跳网元可以是通信设备1907,也可以是UE 1901与通信设备1907之间的设备或网元。For example, UE1901 receives a stream service provider broadcast announcement message from the TSN as the previous hop of the UE1901. This message can be used to broadcast a stream and the QoS requirements corresponding to the stream. The message includes the flow identification information and First delay information. At this time, the first delay refers to a cumulative delay in which the stream transmits the UE 1901 from the communication device 1907 as a stream service provider. The previous hop network element of the UE 1901 may be a communication device 1907, or may be a device or a network element between the UE 1901 and the communication device 1907.
可选地,该消息中还可以包括以下一种或多种信息:目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求或资源预留失败原因。Optionally, the message may further include one or more of the following information: destination address, source address, maximum frame size, maximum frame interval, frame priority, and a single frame of the stream is transmitted from the stream service provider to the stream The maximum allowable delay of the service receiver, the reliability requirement of the flow, or the reason for the failure of resource reservation.
应理解,本申请实施例中,为了描述方便,将与流相关的信息中除第一时延信息以外其他信息均称为流的信息。例如,可以将与流相关的目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求、资源预留失败原因、流的标识或流的QoS参数等称为流的信息。It should be understood that, in the embodiments of the present application, for the convenience of description, information other than the first delay information in the information related to the stream is referred to as the information of the stream. For example, you can transfer the destination address, source address, maximum frame size, maximum frame interval, frame priority, frame's priority, and maximum allowable delay for a single frame of a stream from the stream service provider to the stream service receiver. The reliability requirements, reasons for resource reservation failure, flow identification, or flow QoS parameters are called flow information.
S2802,UE向SMF网元发送第一时延信息。相应地,SMF网元从UE接收第一时延信息。此外,UE还可以向SMF网元发送流的信息。S2802: The UE sends first delay information to the SMF network element. Accordingly, the SMF network element receives the first delay information from the UE. In addition, the UE can also send flow information to the SMF network element.
例如,UE 1901从TSN收到流服务提供者广播声明消息后,将该流服务提供者广播声明消息转发给SMF网元1905。该流服务提供者广播声明消息中携带第一时延信息和流的信息。For example, after receiving the stream service provider broadcast announcement message from the TSN, the UE 1901 forwards the stream service provider broadcast announcement message to the SMF network element 1905. The stream service provider broadcast announcement message carries first delay information and stream information.
例如,UE 1901从TSN收到流服务提供者广播声明消息后,获取该流服务提供者广播声明消息中的第一时延信息和流的信息,并将第一时延信息和流的信息发给SMF网元1905。For example, after receiving a broadcast service provider broadcast announcement message from the TSN, the UE 1901 obtains the first delay information and stream information in the broadcast service provider broadcast announcement message, and sends the first delay information and stream information. To SMF network element 1905.
S2803,SMF网元从PCF网元获取流对应的PCC规则。S2803: The SMF network element obtains a PCC rule corresponding to the flow from the PCF network element.
例如,SMF网元向PCF网元发送流的信息。该流的信息可以包括流的标识信息或流的QoS参数等。相应地,PCF网元从SMF网元接收流的信息。For example, the SMF network element sends flow information to the PCF network element. The flow information may include flow identification information or flow QoS parameters. Accordingly, the PCF network element receives the flow information from the SMF network element.
PCF网元向SMF网元发送该流对应的PCC规则。相应地,SMF网元从PCF网元接收流对应的PCC规则。The PCF network element sends the PCC rule corresponding to the flow to the SMF network element. Accordingly, the SMF network element receives the PCC rule corresponding to the flow from the PCF network element.
应理解,S2803不是必须要执行的步骤。这个步骤是为了实现SMF网元获取流对应的PCC规则,本申请实施例并不限制SMF网元获取流对应的PCC规则的实现方式。It should be understood that S2803 is not a required step. This step is to implement the PCC rule corresponding to the SMF network element acquisition flow, and the embodiment of the present application does not limit the implementation of the PCC rule corresponding to the SMF network element acquisition flow.
S2805,SMF网元根据流对应的PCC规则,确定第一目标时延,第一目标时延是指流从UE至UPF网元的传输时延。S2805, the SMF network element determines the first target delay according to the PCC rule corresponding to the flow. The first target delay refers to the transmission delay of the flow from the UE to the UPF network element.
本申请实施例中,第一目标时延也可以称为流在UE与UPF网元之间传输的累计时延。In the embodiment of the present application, the first target delay may also be referred to as a cumulative delay of the flow transmission between the UE and the UPF network element.
第一目标时延的一种示例可以是流从UE到UPF网元的最大传输时延。例如,SMF网元可以根据PCC规则中的5QI,确定该流从UE到UPF网元的最大传输时延。例如,SMF网元可以将5QI对应的UE和UPF网元之间的PDB,作为流从UE传输至UPF网元的最大传输时延。An example of the first target delay may be the maximum transmission delay of the flow from the UE to the UPF network element. For example, the SMF network element may determine the maximum transmission delay of the flow from the UE to the UPF network element according to the 5QI in the PCC rule. For example, the SMF network element may use the PDB between the UE corresponding to the 5QI and the UPF network element as the maximum transmission delay for the stream to be transmitted from the UE to the UPF network element.
可选地,SMF网元获取PCC规则后,可以触发PDU会话修改过程,以便于为该流建立一个QoS流,实现针对该流的资源预留。Optionally, after obtaining the PCC rules, the SMF network element may trigger a PDU session modification process, so as to establish a QoS flow for the flow and implement resource reservation for the flow.
S2806,SMF网元根据第一时延和第一目标时延,确定第二时延,第二时延是指流从流服务提供者至UPF网元的传输时延。S2806: The SMF network element determines a second delay according to the first delay and the first target delay. The second delay refers to a transmission delay of the stream from the stream service provider to the UPF network element.
例如,SMF网元根据流服务提供者广播声明消息中携带的第一时延信息指示的第一时延,和S2805中确定的最大传输时延,确定第二时延。For example, the SMF network element determines the second delay according to the first delay indicated by the first delay information carried in the broadcast announcement message of the streaming service provider and the maximum transmission delay determined in S2805.
若第一时延记为Accumulated Latency 1,第一目标时延记为T1,第二时延记为Accumulated Latency 2,则Accumulated Latency 2=Accumulated Latency 1+T1。If the first delay is recorded as Accumulated Latency1, the first target delay is recorded as T1, and the second delay is recorded as Accumulated Latency2, then AccumulatedLatency2 = AccumulatedLatency1 + T1.
S2807,SMF网元向UE发送第二时延信息,第二时延信息用于指示第二时延。相应地,UE从SMF网元接收第二时延信息。S2807: The SMF network element sends the second delay information to the UE, and the second delay information is used to indicate the second delay. Accordingly, the UE receives the second delay information from the SMF network element.
例如,SMF网元向UE发送SMF网元从UE接收的流服务提供者广播声明消息,该流服务提供者广播声明消息消息携带的第一时延信息修改为第二时延信息。For example, the SMF network element sends to the UE a streaming service provider broadcast announcement message received by the SMF network element from the UE, and the first delay information carried in the broadcast service announcement broadcast message message is modified to the second delay information.
或者,SMF网元通过其他消息向UE发送第二时延信息。Alternatively, the SMF network element sends the second delay information to the UE through another message.
S2808,UE向UPF网元发送第二时延信息。相应地,UPF网元从UE接收第二时延信息。S2808: The UE sends the second delay information to the UPF network element. Accordingly, the UPF network element receives the second delay information from the UE.
例如,UE向UPF网元发送UE从SMF网元接收的流服务提供者广播声明消息,该流服务提供者广播声明消息中的第一时延信息修改为第二时延信息。For example, the UE sends to the UPF network element a broadcast service provider broadcast announcement message that the UE receives from the SMF network element, and the first delay information in the broadcast service provider broadcast declaration message is modified to the second delay information.
例如,UE向UPF网元发送UE从TSN收到流服务提供者广播声明消息,该流服务提供者广播声明消息中的第一时延信息修改为UE从SMF网元接收的第二时延信息。For example, the UE sends to the UPF network element the UE receives a stream service provider broadcast announcement message from the TSN, and the first delay information in the stream service provider broadcast announcement message is modified to the second delay information received by the UE from the SMF network element .
S2809,UPF网元根据第二时延和第二目标时延,确定第三时延,第二目标时延是指流从UPF网元传输至TSN网络中作为UPF网元的下一跳的目标网元的时延,第三时延是指流从流服务提供者至TSN中作为UPF网元的下一跳的目标网元的时延。S2809. The UPF network element determines the third delay according to the second delay and the second target delay. The second target delay refers to the transmission of the stream from the UPF network element to the TSN network as the target of the next hop of the UPF network element. Network element delay. The third delay refers to the delay from the stream service provider to the target network element that is the next hop of the UPF network element in the TSN.
例如,第二目标时延为流从UPF网元1903至TSN中作为UPF网元1903的下一跳的目标网元的累计传输时延;第三时延为流从通信设备107至该下一跳网元之间的累计传输时延。其中,该下一跳网元可以是通信设备1908或可以是UPF网元1903至通信设备1908 之间的通信设备。For example, the second target delay is the cumulative transmission delay of the stream from the UPF network element 1903 to the target network element that is the next hop of the UPF network element 1903; the third delay is the flow from the communication device 107 to the next Cumulative transmission delay between hop network elements. The next-hop network element may be a communication device 1908 or a communication device between a UPF network element 1903 and a communication device 1908.
UPF网元根据第二时延和第二目标时延确定第三时延的一种实现方式中可以包括:UPF网元将第二目标时延累加到第二时延中。例如,若将第二目标时延记为T2,将第二时延记为Accumulated Latency 2,将第三时延记为Accumulated Latency 3,则Accumulated Latency 3=Accumulated Latency 2+T2。An implementation manner in which the UPF network element determines the third delay according to the second delay and the second target delay may include: the UPF network element adds the second target delay to the second delay. For example, if the second target delay is recorded as T2, the second delay is recorded as AccumulatedLatency2, and the third delay is recorded as AccumulatedLatency3, then AccumulatedLatency3 = AccumulatedLatency2 + T2.
其中,第二目标时延可以是UPF网元从所述目标网元获取的,或者配置好的,或者通过其他方式获取的。本申请实施例对UPF网元获取第二目标时延的方式不作限制。The second target delay may be obtained by the UPF network element from the target network element, or configured, or obtained by other methods. This embodiment of the present application does not limit the manner in which the UPF network element obtains the second target delay.
S2810,UPF网元向所述目标网元发送第三时延信息。S2810. The UPF network element sends third delay information to the target network element.
例如,UPF网元将其从UE接收的流服务提供者广播声明消息中的第二时延信息修改为第三时延信息,并向所述目标网元发送修改后的流服务提供者广播声明消息。For example, the UPF network element modifies the second delay information in the streaming service provider broadcast announcement message it receives from the UE to the third delay information, and sends the modified streaming service provider broadcast announcement to the target network element. Message.
图28所示的通信方法中,由SMF网元从UE获知流从流服务提供者至UE之间的第一时延,根据流的PCC规则确定流在UPF网元与UE之间传输的第一目标时延,以及根据第一时延和第一目标时延确定流从流服务提供者传输至UPF网元的第二时延,并通过UE向UPF网元发送第二时延;UPF网元根据第二时延和流从UPF网元至TSN中作为UPF网元的下一跳的网元之间的第二目标时延确定流从流服务提供者至该下一跳网元之间的第三时延。In the communication method shown in FIG. 28, the SMF network element learns from the UE the first delay between the flow service provider and the UE, and determines the first time the flow is transmitted between the UPF network element and the UE according to the PCC rule of the flow. A target delay, and a second delay for transmitting a stream from a streaming service provider to a UPF network element according to the first delay and the first target delay, and sending the second delay to the UPF network element through the UE; the UPF network The element determines the flow from the flow service provider to the next hop network element based on the second delay and the second target delay between the flow from the UPF network element to the network element that is the next hop of the UPF network element in the TSN. Third delay.
应理解,图28中所示的各个消息的名称仅是一种示例。只要能实现该通信方法中的相应功能的消息都属于本申请实施例的保护范围。It should be understood that the names of the respective messages shown in FIG. 28 are merely examples. As long as the messages capable of implementing the corresponding functions in the communication method belong to the protection scope of the embodiment of the present application.
图28所示的通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为UPF网元的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。The communication method shown in FIG. 28 can not only obtain the accumulated delay of the stream transmitted from the stream service provider to the target network element as the next hop of the UPF network element in the TSN network, but also the method of obtaining the accumulated delay is relatively simple because This communication method makes it unnecessary for the UE, the UPF network element, and each device between the UE and the UPF network element to synchronize with the main clock source, and the cumulative delay can also be calculated.
此外,图28所示的通信方法中,将3GPP系统看做TSN网络的一个网桥,可以接收来自TSN网络中作为该网桥的上一跳节点的流预留协议消息(SRP消息),并提供处理SRP消息的方法,将SRP消息发送到TSN中作为该网桥的下一跳节点,从而可以实现3GPP网络和TSN网络的互通场景下对URLLC业务流的时延需求的保障和带宽资源的预留。In addition, in the communication method shown in FIG. 28, the 3GPP system is regarded as a bridge of the TSN network, and can receive a flow reservation protocol message (SRP message) from the previous hop node in the TSN network as the bridge, and Provides a method for processing SRP messages, and sends the SRP message to the TSN as the next hop node of the bridge, so that the latency requirements of the URLLC service flow and the bandwidth resources can be guaranteed in the interworking scenario of the 3GPP network and the TSN network. Reserved.
图29为本申请一个实施例的通信方法的示意性流程图。应理解,图29示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图29中的各个操作的变形。此外,图29中的各个步骤可以按照与图29呈现的不同的顺序来执行,并且有可能并非要执行图29中的全部操作。FIG. 29 is a schematic flowchart of a communication method according to an embodiment of the present application. It should be understood that FIG. 29 shows steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 29. In addition, each step in FIG. 29 may be performed in a different order than that presented in FIG. 29, and it is possible that not all operations in FIG. 29 are to be performed.
S2901,UE从TSN接收第一时延信息,第一时延信息用于指示第一时延,第一时延是指该流从TSN中的流服务提供者传输至该UE的累计时延。S2901: The UE receives first delay information from the TSN. The first delay information is used to indicate the first delay. The first delay refers to a cumulative delay in which the stream is transmitted from the streaming service provider in the TSN to the UE.
例如,UE 1901从TSN中作为UE 1901的上一跳的网元接收流服务提供者广播声明消息,该消息可以用于广播一个流以及流对应的QoS需求,该消息中包括流的标识信息和第一时延信息。此时,第一时延是指流从作为流服务提供者的通信设备1907传输至UE 1901的累计时延。UE 1901的上一跳网元可以是通信设备1907,也可以是UE 1901与通信设备1907之间的设备或网元。For example, UE1901 receives a stream service provider broadcast announcement message from the TSN as the previous hop of the UE1901. This message can be used to broadcast a stream and the QoS requirements corresponding to the stream. The message includes the flow identification information and First delay information. At this time, the first delay refers to a cumulative delay in which a stream is transmitted from the communication device 1907 as a stream service provider to the UE 1901. The previous hop network element of the UE 1901 may be a communication device 1907, or may be a device or a network element between the UE 1901 and the communication device 1907.
可选地,该消息中还可以包括以下一种或多种信息:目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允 许时延、流的可靠性需求或资源预留失败原因。Optionally, the message may further include one or more of the following information: destination address, source address, maximum frame size, maximum frame interval, frame priority, and a single frame of the stream is transmitted from the stream service provider to the stream The maximum allowable delay of the service receiver, the reliability requirement of the flow, or the reason for the failure of resource reservation.
应理解,本申请实施例中,为了描述方便,将与流相关的信息中除第一时延信息以外其他信息均称为流的信息。例如,可以将与流相关的目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求、资源预留失败原因、流的标识或流的QoS参数等称为流的信息。It should be understood that, in the embodiments of the present application, for the convenience of description, information other than the first delay information in the information related to the stream is referred to as the information of the stream. For example, you can transfer the destination address, source address, maximum frame size, maximum frame interval, frame priority, frame's priority, and maximum allowable delay for a single frame of a stream from the stream service provider to the stream service receiver. The reliability requirements, reasons for resource reservation failure, flow identification, or flow QoS parameters are called flow information.
S2902,UE向SMF网元发送流的信息。相应地,SMF网元从UE接收流的信息。S2902: The UE sends flow information to the SMF network element. Accordingly, the SMF network element receives the flow information from the UE.
例如,UE 1901从TSN收到流服务提供者广播声明消息后,将该流服务提供者广播声明消息转发给SMF网元1905,该流服务提供者广播声明消息中携带流的信息。For example, after receiving a broadcast service provider broadcast announcement message from the TSN, the UE 1901 forwards the broadcast service provider broadcast announcement message to the SMF network element 1905, and the stream service provider broadcast announcement message carries the flow information.
例如,UE 1901从TSN收到流服务提供者广播声明消息后,获取该流服务提供者广播声明消息中的流的信息,并将流的信息发给SMF网元1905。For example, after receiving a stream service provider broadcast announcement message from the TSN, the UE 1901 obtains information about the stream in the stream service provider broadcast announcement message, and sends the stream information to the SMF network element 1905.
S2903,SMF网元从PCF网元获取流对应的PCC规则。S2903: The SMF network element obtains a PCC rule corresponding to the flow from the PCF network element.
例如,SMF网元向PCF网元发送流的信息。该流的信息可以包括流的标识信息等。相应地,PCF网元从SMF网元接收流的信息。For example, the SMF network element sends flow information to the PCF network element. The information of the flow may include identification information of the flow and the like. Accordingly, the PCF network element receives the flow information from the SMF network element.
PCF网元向SMF网元发送该流对应的PCC规则。相应地,SMF网元从PCF网元接收流对应的PCC规则。The PCF network element sends the PCC rule corresponding to the flow to the SMF network element. Accordingly, the SMF network element receives the PCC rule corresponding to the flow from the PCF network element.
应理解,S2903不是必须要执行的步骤。这个步骤是为了实现SMF网元获取流对应的PCC规则,本申请实施例并不限制SMF网元获取流对应的PCC规则的实现方式。It should be understood that S2903 is not a necessary step. This step is to implement the PCC rule corresponding to the SMF network element acquisition flow, and the embodiment of the present application does not limit the implementation of the PCC rule corresponding to the SMF network element acquisition flow.
S2905,SMF网元根据PCC规则,向UE发送流对应的服务质量参数。相应地,UE从SMF网元接收该服务质量参数。S2905, the SMF network element sends a quality of service parameter corresponding to the flow to the UE according to the PCC rule. Accordingly, the UE receives the quality of service parameter from the SMF network element.
例如SMF网元根据PCC规则,确定流对应的5QI,或根据PCC规则确定UPF网元和UE之间的PDB,并向UE发送该5QI或该PDB;或SMF网元向UE发送流对应的QoS流标识信息。For example, the SMF network element determines the 5QI corresponding to the flow according to the PCC rules, or determines the PDB between the UPF network element and the UE according to the PCC rules, and sends the 5QI or the PDB to the UE; or the SMF network element sends the QoS corresponding to the flow to the UE Flow identification information.
可选地,SMF网元获取PCC规则后,可以触发PDU会话修改过程,以便于为该流建立一个QoS流,实现针对该流的资源预留。Optionally, after obtaining the PCC rules, the SMF network element may trigger a PDU session modification process, so as to establish a QoS flow for the flow and implement resource reservation for the flow.
S2906,UE根据流对应的服务质量参数确定第一目标时延,第一目标时延是指流在UE至UPF网元之间传输的时延。S2906: The UE determines a first target delay according to a quality of service parameter corresponding to the flow. The first target delay refers to a delay in transmitting the flow between the UE and the UPF network element.
第一目标时延的一种示例可以是流从UE到UPF网元的最大传输时延。例如,UE可以根据从SMF网元接收的5QI或PDB或Qos流标识信息,确定该流从UE到UPF网元的最大传输时延。An example of the first target delay may be the maximum transmission delay of the flow from the UE to the UPF network element. For example, the UE may determine the maximum transmission delay of the flow from the UE to the UPF network element according to the 5QI or PDB or Qos flow identification information received from the SMF network element.
例如,UE如果从SMF网元获取的是PDB,则可以将PDB作为第一目标时延。For example, if the UE obtains the PDB from the SMF network element, the UE may use the PDB as the first target delay.
例如,UE如果从SMF网元获取的是QoS流标识信息,可以根据QoS流标识信息获取对应QoS参数中的PDB,并将PDB作为第一目标时延。For example, if the UE obtains the QoS flow identification information from the SMF network element, it may obtain the PDB in the corresponding QoS parameter according to the QoS flow identification information, and use the PDB as the first target delay.
例如,UE如果从SMF网元获取的是流对应的5QI,可以根据5QI获取对应QoS参数中的PDB,并将PDB作为第一目标时延。For example, if the UE obtains the 5QI corresponding to the flow from the SMF network element, it may obtain the PDB in the corresponding QoS parameter according to the 5QI, and use the PDB as the first target delay.
S2907,UE根据第一时延和第一目标时延,确定第二时延,第二时延是指流从流服务提供者至UPF网元的传输时延。S2907: The UE determines a second delay according to the first delay and the first target delay. The second delay refers to a transmission delay of the stream from the stream service provider to the UPF network element.
例如,UE元根据流服务提供者广播声明消息中携带的第一时延信息指示的第一时延,和S2906中确定的最大传输时延,确定第二时延。For example, the UE element determines the second delay according to the first delay indicated by the first delay information carried in the broadcast announcement message of the streaming service provider and the maximum transmission delay determined in S2906.
若第一时延记为Accumulated Latency 1,第一目标时延记为T1,第二时延记为 Accumulated Latency 2,则Accumulated Latency 2=Accumulated Latency 1+T1。If the first delay is recorded as Accumulated Latency 1, the first target delay is recorded as T1, and the second delay is recorded as Accumulated Latency 2, then Accumulated Latency 2 = Accumulated Latency 1 + T1.
S2908,UE向UPF网元发送第二时延信息。相应地,UPF网元从UE接收第二时延信息。S2908: The UE sends the second delay information to the UPF network element. Accordingly, the UPF network element receives the second delay information from the UE.
例如,UE向UPF网元发送修改后的流服务提供者广播声明消息,该流服务提供者广播声明消息中携带的第一时延信息修改为第二时延信息。For example, the UE sends a modified broadcast service provider broadcast announcement message to the UPF network element, and the first delay information carried in the broadcast service provider broadcast announcement message is modified to the second delay information.
S2909,UPF网元根据第二时延和第二目标时延,确定第三时延,第二目标时延是指流从UPF网元传输至TSN网络中作为UPF网元的下一跳的目标网元的时延,第三时延是指流从流服务提供者至TSN中作为UPF网元的下一跳的目标网元的时延。S2909. The UPF network element determines the third delay according to the second delay and the second target delay. The second target delay refers to the flow from the UPF network element to the TSN network as the target of the next hop of the UPF network element. Network element delay. The third delay refers to the delay from the stream service provider to the target network element that is the next hop of the UPF network element in the TSN.
例如,第二目标时延为流从UPF网元1903至TSN中作为UPF网元1903的下一跳的目标网元的累计传输时延;第三时延为流从通信设备107至该下一跳网元之间的累计传输时延。其中,该下一跳网元可以是通信设备108或可以是UPF网元1903至通信设备1908之间的通信设备。For example, the second target delay is the cumulative transmission delay of the stream from the UPF network element 1903 to the target network element that is the next hop of the UPF network element 1903; the third delay is the flow from the communication device 107 to the next Cumulative transmission delay between hop network elements. The next-hop network element may be the communication device 108 or a communication device between the UPF network element 1903 and the communication device 1908.
UPF网元根据第二时延和第二目标时延确定第三时延的一种实现方式中可以包括:UPF网元将第二目标时延累加到第二时延中。例如,若将第二目标时延记为T2,将第二时延记为Accumulated Latency 2,将第三时延记为Accumulated Latency 3,则Accumulated Latency 3=Accumulated Latency 2+T2。An implementation manner in which the UPF network element determines the third delay according to the second delay and the second target delay may include: the UPF network element adds the second target delay to the second delay. For example, if the second target delay is recorded as T2, the second delay is recorded as AccumulatedLatency2, and the third delay is recorded as AccumulatedLatency3, then AccumulatedLatency3 = AccumulatedLatency2 + T2.
其中,第二目标时延可以是UPF网元从所述目标网元获取的,或者配置好的,或者通过其他方式获取的。本申请实施例对UPF网元获取第二目标时延的方式不作限制。The second target delay may be obtained by the UPF network element from the target network element, or configured, or obtained by other methods. This embodiment of the present application does not limit the manner in which the UPF network element obtains the second target delay.
S2910,UPF网元向所述目标网元发送第三时延信息。S2910, the UPF network element sends third delay information to the target network element.
例如,UPF网元将其从UE接收的流服务提供者广播声明消息中的第二时延信息修改为第三时延信息,并向所述目标网元发送修改后的流服务提供者广播声明消息。For example, the UPF network element modifies the second delay information in the streaming service provider broadcast announcement message it receives from the UE to the third delay information, and sends the modified streaming service provider broadcast announcement to the target network element. Message.
图29所示的通信方法中,由UE确定流在UPF网元与UE之间传输的第一目标时延,根据流从流服务提供者至UE之间的第一时延和第一目标时延确定流从流服务提供者传输至UPF网元的第二时延,并向UPF网元发送第二时延;UPF网元根据第二时延和流从UPF网元至TSN中作为UPF网元的下一跳的网元之间的第二目标时延确定流从流服务提供者至该下一跳网元之间的第三时延。In the communication method shown in FIG. 29, a UE determines a first target delay of a flow transmitted between a UPF network element and the UE, and according to the flow, the first delay and the first target time between the flow service provider and the UE. The delay determines the second delay of the flow from the stream service provider to the UPF network element and sends the second delay to the UPF network element; the UPF network element acts as the UPF network from the UPF network element to the TSN according to the second delay and flow The second target delay between the next hop network elements of the element determines the third delay between the flow from the streaming service provider to the next hop network element.
应理解,图29中所示的各个消息的名称仅是一种示例。只要能实现该通信方法中的相应功能的消息都属于本申请实施例的保护范围。It should be understood that the names of the respective messages shown in FIG. 29 are merely examples. As long as the messages capable of implementing the corresponding functions in the communication method belong to the protection scope of the embodiment of the present application.
图29所示的通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为UPF网元的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。The communication method shown in FIG. 29 can not only obtain the accumulated delay of the stream transmitted from the streaming service provider to the target network element as the next hop of the UPF network element in the TSN network, but also the method of obtaining the accumulated delay is relatively simple, because This communication method makes it unnecessary for the UE, the UPF network element, and each device between the UE and the UPF network element to synchronize with the main clock source, and the cumulative delay can also be calculated.
此外,图29所示的通信方法中,将3GPP系统看做TSN网络的一个网桥,可以接收来自TSN网络中作为该网桥的上一跳节点的流预留协议消息(SRP消息),并提供处理SRP消息的方法,将SRP消息发送到TSN中作为该网桥的下一跳节点,从而可以实现3GPP网络和TSN网络的互通场景下对URLLC业务流的时延需求的保障和带宽资源的预留。In addition, in the communication method shown in FIG. 29, the 3GPP system is regarded as a bridge of the TSN network, and can receive a stream reservation protocol message (SRP message) from the previous hop node in the TSN network as the bridge, and Provides a method for processing SRP messages, and sends the SRP message to the TSN as the next hop node of the bridge, so that the latency requirements of the URLLC service flow and the bandwidth resources can be guaranteed in the interworking scenario of 3GPP network and TSN network Reserved.
图30为本申请一个实施例的通信方法的示意性流程图。应理解,图30示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图30中的各个操作的变形。此外,图30中的各个步骤可以按照与图30呈现的不同的顺 序来执行,并且有可能并非要执行图30中的全部操作。FIG. 30 is a schematic flowchart of a communication method according to an embodiment of the present application. It should be understood that FIG. 30 shows the steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 30. In addition, each step in FIG. 30 may be performed in a different order than that presented in FIG. 30, and it is possible that not all operations in FIG. 30 are to be performed.
S3001,UE从TSN接收第一时延信息,第一时延信息用于指示第一时延,第一时延是指该流从TSN中的流服务提供者传输至该UE的累计时延。S3001: The UE receives first delay information from the TSN. The first delay information is used to indicate the first delay. The first delay refers to a cumulative delay in which the stream is transmitted from the streaming service provider in the TSN to the UE.
例如,UE 1901从TSN中作为UE 1901的上一跳的网元接收流服务提供者广播声明消息,该消息可以用于广播一个流以及流对应的QoS需求,该消息中包括流的标识信息和第一时延信息。此时,第一时延是指流从作为流服务提供者的通信设备1907传输UE1901的累计时延。UE 1901的上一跳网元可以是通信设备1907,也可以是UE 1901与通信设备1907之间的设备或网元。For example, UE1901 receives a stream service provider broadcast announcement message from the TSN as the previous hop of the UE1901. This message can be used to broadcast a stream and the QoS requirements corresponding to the stream. The message includes the flow identification information and First delay information. At this time, the first delay refers to a cumulative delay in which the stream transmits the UE 1901 from the communication device 1907 as a stream service provider. The previous hop network element of the UE 1901 may be a communication device 1907, or may be a device or a network element between the UE 1901 and the communication device 1907.
可选地,该消息中还可以包括以下一种或多种信息:目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求或资源预留失败原因。Optionally, the message may further include one or more of the following information: destination address, source address, maximum frame size, maximum frame interval, frame priority, and a single frame of the stream is transmitted from the stream service provider to the stream The maximum allowable delay of the service receiver, the reliability requirement of the flow, or the reason for the failure of resource reservation.
应理解,本申请实施例中,为了描述方便,将与流相关的信息中除第一时延信息以外其他信息均称为流的信息。例如,可以将与流相关的目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求、资源预留失败原因、流的标识或流的QoS参数等称为流的信息。It should be understood that, in the embodiments of the present application, for the convenience of description, information other than the first delay information in the information related to the stream is referred to as the information of the stream. For example, you can transfer the destination address, source address, maximum frame size, maximum frame interval, frame priority, frame's priority, and maximum allowable delay for a single frame of a stream from the stream service provider to the stream service receiver. The reliability requirements, reasons for resource reservation failure, flow identification, or flow QoS parameters are called flow information.
S3002,UE向SMF网元发送第一时延信息。相应地,SMF网元从UE接收第一时延信息。此外,UE还可以向SMF网元发送流的信息。S3002: The UE sends first delay information to the SMF network element. Accordingly, the SMF network element receives the first delay information from the UE. In addition, the UE can also send flow information to the SMF network element.
例如,UE 1901从TSN收到流服务提供者广播声明消息后,将该流服务提供者广播声明消息转发给SMF网元1905。该流服务提供者广播声明消息中携带第一时延信息和流的信息。For example, after receiving the stream service provider broadcast announcement message from the TSN, the UE 1901 forwards the stream service provider broadcast announcement message to the SMF network element 1905. The stream service provider broadcast announcement message carries first delay information and stream information.
例如,UE 1901从TSN收到流服务提供者广播声明消息后,获取该流服务提供者广播声明消息中的第一时延信息和流的信息,并将第一时延信息和流的信息发给SMF网元1905。For example, after receiving a broadcast service provider broadcast announcement message from the TSN, the UE 1901 obtains the first delay information and stream information in the broadcast service provider broadcast announcement message, and sends the first delay information and stream information. To SMF network element 1905.
S3003,SMF网元从PCF网元获取流对应的PCC规则。S3003, the SMF network element obtains the PCC rule corresponding to the flow from the PCF network element.
例如,SMF网元向PCF网元发送流的信息。该流的信息可以包括流的标识信息或流的QoS参数等。相应地,PCF网元从SMF网元接收流的信息。For example, the SMF network element sends flow information to the PCF network element. The flow information may include flow identification information or flow QoS parameters. Accordingly, the PCF network element receives the flow information from the SMF network element.
PCF网元向SMF网元发送该流对应的PCC规则。相应地,SMF网元从PCF网元接收流对应的PCC规则。The PCF network element sends the PCC rule corresponding to the flow to the SMF network element. Accordingly, the SMF network element receives the PCC rule corresponding to the flow from the PCF network element.
应理解,S3003不是必须要执行的步骤。这个步骤是为了实现SMF网元获取流对应的PCC规则,本申请实施例并不限制SMF网元获取流对应的PCC规则的实现方式。It should be understood that S3003 is not a required step. This step is to implement the PCC rule corresponding to the SMF network element acquisition flow, and the embodiment of the present application does not limit the implementation of the PCC rule corresponding to the SMF network element acquisition flow.
S3005,SMF网元根据流对应的PCC规则,确定第一目标时延,第一目标时延是指流从UE至UPF网元的传输时延。S3005, the SMF network element determines the first target delay according to the PCC rule corresponding to the flow. The first target delay refers to the transmission delay of the flow from the UE to the UPF network element.
本申请实施例中,第一目标时延也可以称为流在UE与UPF网元之间传输的累计时延。In the embodiment of the present application, the first target delay may also be referred to as a cumulative delay of the flow transmission between the UE and the UPF network element.
第一目标时延的一种示例可以是流从UE到UPF网元的最大传输时延。例如,SMF网元可以根据PCC规则中的5QI,确定该流从UE到UPF网元的最大传输时延。例如,SMF网元可以将5QI对应的UE和UPF网元之间的PDB,作为流从UE传输至UPF网元的最大传输时延。An example of the first target delay may be the maximum transmission delay of the flow from the UE to the UPF network element. For example, the SMF network element may determine the maximum transmission delay of the flow from the UE to the UPF network element according to the 5QI in the PCC rule. For example, the SMF network element may use the PDB between the UE corresponding to the 5QI and the UPF network element as the maximum transmission delay for the stream to be transmitted from the UE to the UPF network element.
可选地,SMF网元获取PCC规则后,可以触发PDU会话修改过程,以便于为该流建立一个QoS流,实现针对该流的资源预留。Optionally, after obtaining the PCC rules, the SMF network element may trigger a PDU session modification process, so as to establish a QoS flow for the flow and implement resource reservation for the flow.
S3006,SMF网元根据第一时延、第一目标时延和第二目标时延,确定第三时延,第二目标时延是指流从UPF网元传输至TSN网络中作为UPF网元的下一跳的目标网元的时延,第三时延是指流从流服务提供者至TSN中作为UPF网元的下一跳的目标网元的时延。S3006, the SMF network element determines the third delay according to the first delay, the first target delay, and the second target delay. The second target delay refers to the flow from the UPF network element to the TSN network as the UPF network element. The delay of the target network element of the next hop of the. The third delay refers to the delay of the flow from the stream service provider to the target network element of the next hop of the UPF network element in the TSN.
若第一时延记为Accumulated Latency 1,第一目标时延记为T1,第二目标时延记为T2,第三时延记为Accumulated Latency 3,则SMF网元根据第一时延、第一目标时延和第二目标时延确定第三时延的一种可能的实现方式如下:Accumulated Latency 3=Accumulated Latency 1+T1+T2。If the first delay is recorded as Accumulated Delay1, the first target delay is recorded as T1, the second target delay is recorded as T2, and the third delay is recorded as Accumulated Latency3, the SMF network element is based on the first delay, the first A possible implementation manner of determining the third delay with one target delay and the second target delay is as follows: AccumulatedLatency3 = AccumulatedLatency1 + T1 + T2.
其中,第二目标时延可以是SMF网元从UPF网元获取的,或者配置好的,或者通过其他方式获取的。本申请实施例对SMF网元获取第二目标时延的方式不作限制。The second target delay may be obtained by the SMF network element from the UPF network element, or configured, or obtained by other methods. This embodiment of the present application does not limit the manner in which the SMF network element obtains the second target delay.
S3007,SMF网元向UE发送第三时延信息。相应地,UE从SMF网元接收第三时延信息。S3007. The SMF network element sends the third delay information to the UE. Accordingly, the UE receives the third delay information from the SMF network element.
例如,SMF网元向UE发送SMF网元从UE接收的流服务提供者广播声明消息,该流服务提供者广播声明消息中的第一时延信息修改为第三时延信息。For example, the SMF network element sends a broadcast service provider broadcast announcement message received by the SMF network element from the UE to the UE, and the first delay information in the broadcast service provider broadcast declaration message is modified to the third delay information.
或者,SMF网元通过其他消息向UE发送第二时延信息。Alternatively, the SMF network element sends the second delay information to the UE through another message.
S3008,UE网元向UPF网元发送第三时延信息。相应地,UPF网元从UE接收第三时延信息。S3008: The UE network element sends third delay information to the UPF network element. Accordingly, the UPF network element receives the third delay information from the UE.
例如,UE向UPF网元发送UE从SMF网元接收的流服务提供者广播声明消息,该流服务提供者广播声明消息中携带第三时延信息。For example, the UE sends to the UPF network element a broadcast service provider broadcast announcement message that the UE receives from the SMF network element, and the stream service provider broadcast announcement message carries third delay information.
或者,UE将其从TSN网络接收的流服务提供者广播声明消息中第一时延信息修改为第三时延信息,并向UPF网元发送修改后的流服务提供者广播声明消息。Alternatively, the UE changes the first delay information in the streaming service provider broadcast announcement message it receives from the TSN network to the third delay information, and sends the modified streaming service provider broadcast announcement message to the UPF network element.
S3009,UPF网元向所述目标网元发送第三时延信息。S3009: The UPF network element sends third delay information to the target network element.
例如,UPF网元将其从UE接收的流服务提供者广播声明消息发送给所述目标网元,该流服务提供者广播声明消息中携带第三时延信息。For example, the UPF network element sends a broadcast service provider broadcast announcement message it receives from the UE to the target network element, and the stream service provider broadcast announcement message carries the third delay information.
图30所示的通信方法中,由SMF网元从UE获知流从流服务提供者至UE之间传输的第一时延,确定流在UE与UPF网元之间传输的第一目标时延,以及根据第一时延、第一目标时延和流从UPF网元至TSN中作为UPF网元的下一跳的目标网元之间的第二目标时延确定流从流服务提供者至该目标网元之间的第三时延。In the communication method shown in FIG. 30, the SMF network element learns from the UE the first delay of the stream transmission from the stream service provider to the UE, and determines the first target delay of the stream transmission between the UE and the UPF network element. And determine the flow from the flow service provider to the second target delay between the first delay, the first target delay, and the flow from the UPF network element to the target network element in the TSN that is the next hop of the UPF network element. The third delay between the target network elements.
应理解,图30中所示的各个消息的名称仅是一种示例。只要能实现该通信方法中的相应功能的消息都属于本申请实施例的保护范围。It should be understood that the names of the respective messages shown in FIG. 30 are merely examples. As long as the messages capable of implementing the corresponding functions in the communication method belong to the protection scope of the embodiment of the present application.
图30所示的通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为UPF网元的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。The communication method shown in FIG. 30 can not only obtain the accumulated delay of the stream transmitted from the stream service provider to the target network element as the next hop of the UPF network element in the TSN network, but also the method of obtaining the accumulated delay is relatively simple because This communication method makes it unnecessary for the UE, the UPF network element, and each device between the UE and the UPF network element to synchronize with the main clock source, and the cumulative delay can also be calculated.
此外,图30所示的通信方法中,将3GPP系统看做TSN网络的一个网桥,可以接收来自TSN网络中作为该网桥的上一跳节点的流预留协议消息(SRP消息),并提供处理SRP消息的方法,将SRP消息发送到TSN中作为该网桥的下一跳节点,从而可以实现3GPP网络和TSN网络的互通场景下对URLLC业务流的时延需求的保障和带宽资源的预留。In addition, in the communication method shown in FIG. 30, the 3GPP system is regarded as a bridge of the TSN network, and can receive a flow reservation protocol message (SRP message) from the previous hop node of the TSN network as the bridge, and Provides a method for processing SRP messages, and sends the SRP message to the TSN as the next hop node of the bridge, so that the latency requirements of the URLLC service flow and the bandwidth resources can be guaranteed in the interworking scenario of the 3GPP network and the TSN network Reserved.
图31为本申请一个实施例的通信方法的示意性流程图。应理解,图31示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者 图31中的各个操作的变形。此外,图31中的各个步骤可以按照与图31呈现的不同的顺序来执行,并且有可能并非要执行图31中的全部操作。FIG. 31 is a schematic flowchart of a communication method according to an embodiment of the present application. It should be understood that FIG. 31 shows steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 31. In addition, each step in FIG. 31 may be performed in a different order than that presented in FIG. 31, and it is possible that not all operations in FIG. 31 are to be performed.
S3101,UE从TSN接收第一时延信息,第一时延信息用于指示第一时延,第一时延是指该流从TSN中的流服务提供者传输至该UE的累计时延。S3101. The UE receives first delay information from the TSN. The first delay information is used to indicate the first delay. The first delay refers to a cumulative delay in which the stream is transmitted from the streaming service provider in the TSN to the UE.
例如,UE 1901从TSN中作为UE 1901的上一跳的网元接收流服务提供者广播声明消息,该消息可以用于广播一个流以及流对应的QoS需求,该消息中包括流的标识信息和第一时延信息。此时,第一时延是指流从作为流服务提供者的通信设备1907传输至UE1901的累计时延。UE 1901的上一跳网元可以是通信设备1907,也可以是UE 1901与通信设备1907之间的设备或网元。For example, UE1901 receives a stream service provider broadcast announcement message from the TSN as the previous hop of the UE1901. This message can be used to broadcast a stream and the QoS requirements corresponding to the stream. The message includes the flow identification information and First delay information. At this time, the first delay refers to a cumulative delay in which a stream is transmitted from the communication device 1907 as a stream service provider to the UE 1901. The previous hop network element of the UE 1901 may be a communication device 1907, or may be a device or a network element between the UE 1901 and the communication device 1907.
可选地,该消息中还可以包括以下一种或多种信息:目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求或资源预留失败原因。Optionally, the message may further include one or more of the following information: destination address, source address, maximum frame size, maximum frame interval, frame priority, and a single frame of the stream is transmitted from the stream service provider to the stream The maximum allowable delay of the service receiver, the reliability requirement of the flow, or the reason for the failure of resource reservation.
应理解,本申请实施例中,为了描述方便,将与流相关的信息中除第一时延信息以外其他信息均称为流的信息。例如,可以将与流相关的目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求、资源预留失败原因、流的标识或流的QoS参数等称为流的信息。It should be understood that, in the embodiments of the present application, for the convenience of description, information other than the first delay information in the information related to the stream is referred to as the information of the stream. For example, you can transfer the destination address, source address, maximum frame size, maximum frame interval, frame priority, frame's priority, and maximum allowable delay for a single frame of a stream from the stream service provider to the stream service receiver. The reliability requirements, reasons for resource reservation failure, flow identification, or flow QoS parameters are called flow information.
S3102,UE向SMF网元发送流的信息。相应地,SMF网元从UE接收流的信息。S3102: The UE sends flow information to the SMF network element. Accordingly, the SMF network element receives the flow information from the UE.
例如,UE 1901从TSN收到流服务提供者广播声明消息后,将该流服务提供者广播声明消息转发给SMF网元1905,该流服务提供者广播声明消息中携带流的信息。For example, after receiving a broadcast service provider broadcast announcement message from the TSN, the UE 1901 forwards the broadcast service provider broadcast announcement message to the SMF network element 1905, and the stream service provider broadcast announcement message carries the flow information.
例如,UE从TSN收到流服务提供者广播声明消息后,获取该流服务提供者广播声明消息中的流的信息,并将流的信息发给SMF网元1905。For example, after receiving the broadcast service provider broadcast announcement message from the TSN, the UE obtains the flow information in the broadcast service provider broadcast announcement message, and sends the stream information to the SMF network element 1905.
S3103,SMF网元从PCF网元获取流对应的PCC规则。S3103: The SMF network element obtains a PCC rule corresponding to the flow from the PCF network element.
例如,SMF网元向PCF网元发送流的信息。该流的信息可以包括流的标识信息等。相应地,PCF网元从SMF网元接收流的信息。For example, the SMF network element sends flow information to the PCF network element. The information of the flow may include identification information of the flow and the like. Accordingly, the PCF network element receives the flow information from the SMF network element.
PCF网元向SMF网元发送该流对应的PCC规则。相应地,SMF网元从PCF网元接收流对应的PCC规则。The PCF network element sends the PCC rule corresponding to the flow to the SMF network element. Accordingly, the SMF network element receives the PCC rule corresponding to the flow from the PCF network element.
应理解,S3103不是必须要执行的步骤。这个步骤是为了实现SMF网元获取流对应的PCC规则,本申请实施例并不限制SMF网元获取流对应的PCC规则的实现方式。It should be understood that S3103 is not a required step. This step is to implement the PCC rule corresponding to the SMF network element acquisition flow, and the embodiment of the present application does not limit the implementation of the PCC rule corresponding to the SMF network element acquisition flow.
S3105,SMF网元根据PCC规则,向UE发送流对应的服务质量参数。相应地,UE从SMF网元接收该服务质量参数。S3105, the SMF network element sends the quality of service parameters corresponding to the flow to the UE according to the PCC rule. Accordingly, the UE receives the quality of service parameter from the SMF network element.
例如SMF网元根据PCC规则,确定流对应的5QI,或根据PCC规则确定UPF网元和UE之间的PDB,并向UE发送该5QI或该PDB;或SMF网元向UE发送流对应的QoS流标识信息。For example, the SMF network element determines the 5QI corresponding to the flow according to the PCC rules, or determines the PDB between the UPF network element and the UE according to the PCC rules, and sends the 5QI or the PDB to the UE; or the SMF network element sends the QoS corresponding to the flow to the UE Flow identification information.
可选地,SMF网元获取PCC规则后,可以触发PDU会话修改过程,以便于为该流建立一个QoS流,实现针对该流的资源预留。Optionally, after obtaining the PCC rules, the SMF network element may trigger a PDU session modification process, so as to establish a QoS flow for the flow and implement resource reservation for the flow.
SMF网元还可以向UE发送流对应的第二目标时延,第二目标时延是指流从UPF网元传输至TSN网络中作为UPF网元的下一跳的目标网元的时延。其中,第二目标时延可以是SMF网元从UPF网元获取的,或者配置好的,或者通过其他方式获取的。本申请实施例对SMF网元获取第二目标时延的方式不作限制。The SMF network element may also send a second target delay corresponding to the flow to the UE. The second target delay refers to the delay in transmitting the flow from the UPF network element to the target network element as the next hop of the UPF network element in the TSN network. The second target delay may be obtained by the SMF network element from the UPF network element, or configured, or obtained by other methods. This embodiment of the present application does not limit the manner in which the SMF network element obtains the second target delay.
S3106,UE根据流对应的服务质量参数确定第一目标时延,第一目标时延是指流在UE至UPF网元之间传输的时延。S3106: The UE determines a first target delay according to the quality of service parameter corresponding to the flow. The first target delay refers to a delay in transmitting the flow between the UE and the UPF network element.
第一目标时延的一种示例可以是流从UE到UPF网元的最大传输时延。例如,UE可以根据从SMF网元接收的5QI或PDB或Qos流标识信息,确定该流从UE到UPF网元的最大传输时延。An example of the first target delay may be the maximum transmission delay of the flow from the UE to the UPF network element. For example, the UE may determine the maximum transmission delay of the flow from the UE to the UPF network element according to the 5QI or PDB or Qos flow identification information received from the SMF network element.
例如,UE如果从SMF网元获取的是PDB,则可以将PDB作为第一目标时延。For example, if the UE obtains the PDB from the SMF network element, the UE may use the PDB as the first target delay.
例如,UE如果从SMF网元获取的是QoS流标识信息,可以根据QoS流标识信息获取对应QoS参数中的PDB,并将PDB作为第一目标时延。For example, if the UE obtains the QoS flow identification information from the SMF network element, it may obtain the PDB in the corresponding QoS parameter according to the QoS flow identification information, and use the PDB as the first target delay.
例如,UE元如果从SMF网元获取的是流对应的5QI,可以根据5QI获取对应QoS参数中的PDB,并将PDB作为第一目标时延。For example, if the UE element obtains the 5QI corresponding to the flow from the SMF network element, it may obtain the PDB in the corresponding QoS parameter according to the 5QI, and use the PDB as the first target delay.
S3107,UE根据第一时延、第一目标时延和第二目标时延,确定第三时延,第二目标时延是指流从UPF网元传输至TSN网络中作为UPF网元的下一跳的目标网元的时延,第三时延是指流从流服务提供者至TSN中作为UPF网元的下一跳的目标网元的时延。S3107. The UE determines the third delay according to the first delay, the first target delay, and the second target delay. The second target delay refers to the transmission of the stream from the UPF network element to the TSN network as the next UPF network element. The delay of the one-hop target network element. The third delay refers to the delay of the flow from the stream service provider to the target network element that is the next hop of the UPF network element in the TSN.
若第一时延记为Accumulated Latency 1,第一目标时延记为T1,第二目标时延记为T2,第三时延记为Accumulated Latency 3,则UE根据第一时延、第一目标时延和第二目标时延确定第三时延的一种可能的实现方式如下:Accumulated Latency 3=Accumulated Latency 1+T1+T2。If the first delay is recorded as Accumulated Latency, the first target delay is recorded as T1, the second target delay is recorded as T2, and the third delay is recorded as Accumulated Latency, then the UE is A possible implementation manner for determining the third delay by the delay and the second target delay is as follows: AccumulatedLatency3 = AccumulatedLatency1 + T1 + T2.
S3108,UE网元向UPF网元发送第三时延信息。相应地,UPF网元从UE接收第三时延信息。S3108: The UE network element sends third delay information to the UPF network element. Accordingly, the UPF network element receives the third delay information from the UE.
例如,UE向UPF网元发送UE从TSN接收的流服务提供者广播声明消息,该流服务提供者广播声明消息中携带第三时延信息。For example, the UE sends, to the UPF network element, the streaming service provider broadcast announcement message that the UE receives from the TSN, and the streaming service provider broadcast announcement message carries the third delay information.
S3109,UPF网元向所述目标网元发送第三时延信息。S3109: The UPF network element sends third delay information to the target network element.
例如,UPF网元将其从UE接收的流服务提供者广播声明消息发送给所述目标网元,该流服务提供者广播声明消息中携带第三时延信息。For example, the UPF network element sends a broadcast service provider broadcast announcement message it receives from the UE to the target network element, and the stream service provider broadcast announcement message carries the third delay information.
图31所示的通信方法中,由SMF网元从UE获知流的信息,根据流的信息向UE发送流对应的Qos参数,并向UE发送该QoS参数;UE根据该QoS参数确定流在UE与UPF网元之间传输的第一目标时延,以及根据流从流服务提供者至UE之间传输的第一时延、第一目标时延和流从UPF网元至TSN中作为UPF网元的下一跳的目标网元之间的第二目标时延确定流从流服务提供者至该目标网元之间的第三时延。In the communication method shown in FIG. 31, the SMF network element learns the flow information from the UE, sends the Qos parameter corresponding to the flow to the UE according to the flow information, and sends the QoS parameter to the UE; the UE determines that the flow is on the UE according to the QoS parameter The first target delay transmitted between the UPF network element and the first delay, the first target delay, and the flow transmitted from the UPF network element to the TSN as the UPF network according to the flow from the streaming service provider to the UE The second target delay between the target network elements of the next hop of the element determines the third delay between the flow from the streaming service provider to the target network element.
应理解,图31中所示的各个消息的名称仅是一种示例。只要能实现该通信方法中的相应功能的消息都属于本申请实施例的保护范围。It should be understood that the names of the respective messages shown in FIG. 31 are merely examples. As long as the messages capable of implementing the corresponding functions in the communication method belong to the protection scope of the embodiment of the present application.
图31所示的通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为UPF网元的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。The communication method shown in FIG. 31 can not only obtain the accumulated delay of the stream transmitted from the stream service provider to the target network element as the next hop of the UPF network element in the TSN network, but also the method of obtaining the accumulated delay is relatively simple because This communication method makes it unnecessary for the UE, the UPF network element, and each device between the UE and the UPF network element to synchronize with the main clock source, and the cumulative delay can also be calculated.
此外,图31所示的通信方法中,将3GPP系统看做TSN网络的一个网桥,可以接收来自TSN网络中作为该网桥的上一跳节点的流预留协议消息(SRP消息),并提供处理SRP消息的方法,将SRP消息发送到TSN中作为该网桥的下一跳节点,从而可以实现3GPP网络和TSN网络的互通场景下对URLLC业务流的时延需求的保障和带宽资源的预留。In addition, in the communication method shown in FIG. 31, the 3GPP system is regarded as a bridge of the TSN network, and can receive a stream reservation protocol message (SRP message) from the previous hop node in the TSN network as the bridge, and Provides a method for processing SRP messages, and sends the SRP message to the TSN as the next hop node of the bridge, so that the latency requirements of the URLLC service flow and the bandwidth resources can be guaranteed in the interworking scenario of the 3GPP network and the TSN network Reserved.
图32为本申请一个实施例的通信方法的示意性流程图。应理解,图32示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图32中的各个操作的变形。此外,图32中的各个步骤可以按照与图32呈现的不同的顺序来执行,并且有可能并非要执行图32中的全部操作。FIG. 32 is a schematic flowchart of a communication method according to an embodiment of the present application. It should be understood that FIG. 32 shows the steps or operations of the communication method, but these steps or operations are merely examples, and the embodiments of the present application may also perform other operations or a modification of each operation in FIG. 32. In addition, each step in FIG. 32 may be performed in a different order than that presented in FIG. 32, and it is possible that not all operations in FIG. 32 are to be performed.
S3201,UPF网元从TSN接收第一时延信息,第一时延信息用于指示第一时延,第一时延是指该流从TSN中的流服务提供者传输至该UPF网元的累计时延。S3201. The UPF network element receives the first delay information from the TSN. The first delay information is used to indicate the first delay. The first delay refers to the transmission of the stream from the stream service provider in the TSN to the UPF network element. Cumulative delay.
例如,UPF网元1903从TSN中作为UPF网元1903的上一跳的网元接收流服务提供者广播声明消息,该消息可以用于广播一个流以及流对应的QoS需求,该消息中包括流的标识信息和第一时延信息。此时,第一时延是指流从作为流服务提供者的通信设备1908传输UPF网元1903的累计时延。UPF网元1903的上一跳网元可以是通信设备1908,也可以是UPF网元1903与通信设备1908之间的设备或网元。For example, the UPF network element 1903 receives the stream service provider broadcast announcement message from the TSN as the previous hop of the UPF network element 1903. This message can be used to broadcast a flow and the QoS requirements corresponding to the flow. The message includes the flow. Identification information and first delay information. At this time, the first delay refers to the cumulative delay of the stream transmitting the UPF network element 1903 from the communication device 1908 as the stream service provider. The previous hop network element of the UPF network element 1903 may be a communication device 1908, or may be a device or a network element between the UPF network element 1903 and the communication device 1908.
可选地,该消息中还可以包括以下一种或多种信息:目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求或资源预留失败原因。Optionally, the message may further include one or more of the following information: destination address, source address, maximum frame size, maximum frame interval, frame priority, and a single frame of the stream is transmitted from the stream service provider to the stream The maximum allowable delay of the service receiver, the reliability requirement of the flow, or the reason for the failure of resource reservation.
应理解,本申请实施例中,为了描述方便,将与流相关的信息中除第一时延信息以外其他信息均称为流的信息。例如,可以将与流相关的目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求、资源预留失败原因、流的标识或流的QoS参数等称为流的信息。It should be understood that, in the embodiments of the present application, for the convenience of description, information other than the first delay information in the information related to the stream is referred to as the information of the stream. For example, you can transfer the destination address, source address, maximum frame size, maximum frame interval, frame priority, frame's priority, and maximum allowable delay for a single frame of a stream from the stream service provider to the stream service receiver. The reliability requirements, reasons for resource reservation failure, flow identification, or flow QoS parameters are called flow information.
S3202,UPF网元向SMF网元发送第一时延信息。相应地,SMF网元从UPF网元接收第一时延信息。此外,UPF网元还可以向SMF网元发送流的信息。S3202, the UPF network element sends the first delay information to the SMF network element. Accordingly, the SMF network element receives the first delay information from the UPF network element. In addition, the UPF network element can also send flow information to the SMF network element.
例如,UPF网元1903从TSN收到流服务提供者广播声明消息后,将该流服务提供者广播声明消息转发给SMF网元1905。该流服务提供者广播声明消息中携带第一时延信息和流的信息。For example, after the UPF network element 1903 receives the stream service provider broadcast announcement message from the TSN, it forwards the stream service provider broadcast announcement message to the SMF network element 1905. The stream service provider broadcast announcement message carries first delay information and stream information.
例如,UPF网元1903从TSN收到流服务提供者广播声明消息后,获取该流服务提供者广播声明消息中的第一时延信息和流的信息,并将第一时延信息和流的信息发给SMF网元1905。For example, after receiving the broadcast service announcement message from the TSN, the UPF network element 1903 obtains the first delay information and the flow information in the broadcast service provider broadcast declaration message, and changes the first delay information and the flow information. The information is sent to SMF network element 1905.
S3203,SMF网元从PCF网元获取流对应的PCC规则。S3203, the SMF network element obtains the PCC rule corresponding to the flow from the PCF network element.
例如,SMF网元向PCF网元发送流的信息。该流的信息可以包括流的标识信息或流的QoS参数等。相应地,PCF网元从SMF网元接收流的信息。For example, the SMF network element sends flow information to the PCF network element. The flow information may include flow identification information or flow QoS parameters. Accordingly, the PCF network element receives the flow information from the SMF network element.
PCF网元向SMF网元发送该流对应的PCC规则。相应地,SMF网元从PCF网元接收流对应的PCC规则。The PCF network element sends the PCC rule corresponding to the flow to the SMF network element. Accordingly, the SMF network element receives the PCC rule corresponding to the flow from the PCF network element.
应理解,S3203不是必须要执行的步骤。这个步骤是为了实现SMF网元获取流对应的PCC规则,本申请实施例并不限制SMF网元获取流对应的PCC规则的实现方式。It should be understood that S3203 is not a required step. This step is to implement the PCC rule corresponding to the SMF network element acquisition flow, and the embodiment of the present application does not limit the implementation of the PCC rule corresponding to the SMF network element acquisition flow.
S3205,SMF网元根据流对应的PCC规则,确定第一目标时延,第一目标时延是指流从UPF网元至UE的传输时延。S3205, the SMF network element determines the first target delay according to the PCC rule corresponding to the flow. The first target delay refers to the transmission delay of the flow from the UPF network element to the UE.
本申请实施例中,第一目标时延也可以称为流在UPF网元与UE之间传输的累计时延。In the embodiment of the present application, the first target delay may also be referred to as a cumulative delay of the flow transmission between the UPF network element and the UE.
第一目标时延的一种示例可以是流从UPF网元到UE的最大传输时延。例如,SMF网元可以根据PCC规则中的5QI,确定该流从UPF网元到UE的最大传输时延。例如,SMF网元可以将5QI对应的UPF网元和UE之间的PDB,作为流从UPF网元传输至UE 的最大传输时延。An example of the first target delay may be the maximum transmission delay of the flow from the UPF network element to the UE. For example, the SMF network element may determine the maximum transmission delay of the flow from the UPF network element to the UE according to the 5QI in the PCC rule. For example, the SMF network element may use the PDB between the UPF network element corresponding to the 5QI and the UE as the maximum transmission delay for the stream to be transmitted from the UPF network element to the UE.
可选地,SMF网元获取PCC规则后,可以触发PDU会话修改过程,以便于为该流建立一个QoS流,实现针对该流的资源预留。Optionally, after obtaining the PCC rules, the SMF network element may trigger a PDU session modification process, so as to establish a QoS flow for the flow and implement resource reservation for the flow.
S3206,SMF网元根据第一时延和第一目标时延,确定第二时延,第二时延是指流从流服务提供者至UPF网元的传输时延。S3206. The SMF network element determines a second delay according to the first delay and the first target delay. The second delay refers to a transmission delay of the stream from the stream service provider to the UPF network element.
例如,SMF网元根据流服务提供者广播声明消息中携带的第一时延信息指示的第一时延,和S3205中确定的最大传输时延,确定第二时延。For example, the SMF network element determines the second delay according to the first delay indicated by the first delay information carried in the broadcast announcement message of the streaming service provider and the maximum transmission delay determined in S3205.
若第一时延记为Accumulated Latency 1,第一目标时延记为T1,第二时延记为Accumulated Latency 2,则Accumulated Latency 2=Accumulated Latency 1+T1。If the first delay is recorded as Accumulated Latency1, the first target delay is recorded as T1, and the second delay is recorded as Accumulated Latency2, then AccumulatedLatency2 = AccumulatedLatency1 + T1.
S3207,SMF网元向UE发送第二时延信息,第二时延信息用于指示第二时延。相应地,UE从SMF网元接收第二时延信息。S3207: The SMF network element sends the second delay information to the UE, and the second delay information is used to indicate the second delay. Accordingly, the UE receives the second delay information from the SMF network element.
例如,SMF网元向UE发送SMF网元从UE接收的流服务提供者广播声明消息,该流服务提供者广播声明消息消息携带的第一时延信息修改为第二时延信息。For example, the SMF network element sends to the UE a streaming service provider broadcast announcement message received by the SMF network element from the UE, and the first delay information carried in the broadcast service announcement broadcast message message is modified to the second delay information.
或者,SMF网元可以通过其他方式向UE发送第二时延信息。Alternatively, the SMF network element may send the second delay information to the UE in another manner.
S3208,UE根据第二时延和第二目标时延,确定第三时延,第二目标时延是指流从UE传输至TSN网络中作为UE的下一跳的目标网元的时延,第三时延是指流从流服务提供者至TSN中作为UE的下一跳的目标网元的时延。S3208. The UE determines a third delay according to the second delay and the second target delay. The second target delay refers to a delay in transmitting a stream from the UE to the target network element in the TSN network as the next hop of the UE. The third delay refers to the delay from the flow service provider to the target network element that is the next hop of the UE in the TSN.
例如,第二目标时延为流从UE 1901至TSN中作为UE 1901的下一跳的目标网元的累计传输时延;第三时延为流从通信设备108至该下一跳网元之间的累计传输时延。其中,该下一跳网元可以是通信设备1907或可以是UE 1901至通信设备1907之间的通信设备。For example, the second target delay is the cumulative transmission delay of the target network element from the UE 1901 to the TSN as the next hop of the UE; the third delay is the delay from the communication device 108 to the next hop network element. Cumulative transmission delay. The next-hop network element may be a communication device 1907 or a communication device between the UE 1901 and the communication device 1907.
UE根据第二时延和第二目标时延确定第三时延的一种实现方式中可以包括:UE将第二目标时延累加到第二时延中。例如,若将第二目标时延记为T2,将第二时延记为Accumulated Latency 2,将第三时延记为Accumulated Latency 3,则Accumulated Latency 3=Accumulated Latency 2+T2。An implementation manner in which the UE determines the third delay according to the second delay and the second target delay may include: the UE cumulatively adds the second target delay to the second delay. For example, if the second target delay is recorded as T2, the second delay is recorded as AccumulatedLatency2, and the third delay is recorded as AccumulatedLatency3, then AccumulatedLatency3 = AccumulatedLatency2 + T2.
其中,第二目标时延可以是UE从所述目标网元获取的,或者配置好的,或者通过其他方式获取的。本申请实施例对UE获取第二目标时延的方式不作限制。The second target delay may be obtained by the UE from the target network element, or configured, or obtained by other methods. The embodiment of the present application does not limit the manner in which the UE obtains the second target delay.
S3209,UE向所述目标网元发送第三时延信息。S3209: The UE sends third delay information to the target network element.
例如,UE将其从SMF网元接收的流服务提供者广播声明消息中的第二时延信息修改为第三时延信息,并向所述目标网元发送修改后的流服务提供者广播声明消息。For example, the UE modifies the second delay information in the streaming service provider broadcast announcement message it receives from the SMF network element to the third delay information, and sends the modified streaming service provider broadcast announcement to the target network element. Message.
如果所述目标网元为流服务接受者,则所述目标网元可以判断对该流是否感兴趣,如果感兴趣,判断第三时延能否满足该流的延时需求。如果可以满足,向UE发送第三时延信息。If the target network element is a recipient of a stream service, the target network element may determine whether the stream is interested, and if interested, determine whether the third delay can meet the delay requirement of the stream. If it can be satisfied, send the third delay information to the UE.
例如,该目标网元向UE发送流服务接受者准备消息,该流服务接受者准备消息中包括流的标识信息和第三时延信息。然后UE可以向UPF网元转发流服务接受者准备消息,UPF网元再向UPF网元在TSN中的下一跳网元转发流服务接受者准备消息。For example, the target network element sends a stream service receiver preparation message to the UE, and the stream service receiver preparation message includes flow identification information and third delay information. The UE may then forward the stream service receiver preparation message to the UPF network element, and the UPF network element forwards the stream service receiver preparation message to the next hop network element of the UPF network element in the TSN.
图32所示的通信方法中,由SMF网元从UPF网元获知流从流服务提供者至UE之间的第一时延,根据流的PCC规则确定流在UPF网元与UE之间传输的第一目标时延,以及根据第一时延和第一目标时延确定流从流服务提供者传输至UE的第二时延,并向UE发送第二时延;UE根据第二时延和流从UE至TSN中作为UE的下一跳的网元之间的第 二目标时延确定流从流服务提供者至该下一跳网元之间的第三时延。In the communication method shown in FIG. 32, the SMF network element learns the first delay between the flow service provider and the UE from the UPF network element, and determines that the flow is transmitted between the UPF network element and the UE according to the PCC rule of the flow. The first target delay, and determine the second delay for transmitting the stream from the streaming service provider to the UE according to the first delay and the first target delay, and send the second delay to the UE; the UE according to the second delay The second target delay between the flow from the UE to the network element that is the next hop of the UE in the TSN determines the third delay between the flow from the flow service provider to the next hop network element.
应理解,图32中所示的各个消息的名称仅是一种示例。只要能实现该通信方法中的相应功能的消息都属于本申请实施例的保护范围。It should be understood that the names of the respective messages shown in FIG. 32 are merely examples. As long as the messages capable of implementing the corresponding functions in the communication method belong to the protection scope of the embodiment of the present application.
图32所示的通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为UE的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。The communication method shown in FIG. 32 can not only obtain the accumulated delay of the stream transmitted from the streaming service provider to the target network element as the UE's next hop in the TSN network, but also the method of obtaining the accumulated delay is simpler because the communication The method makes it unnecessary for the UE, the UPF network element, and each device between the UE and the UPF network element to synchronize with the master clock source, and the cumulative delay can also be calculated.
此外,图32所示的通信方法中,将3GPP系统看做TSN网络的一个网桥,可以接收来自TSN网络中作为该网桥的上一跳节点的流预留协议消息(SRP消息),并提供处理SRP消息的方法,将SRP消息发送到TSN中作为该网桥的下一跳节点,从而可以实现3GPP网络和TSN网络的互通场景下对URLLC业务流的时延需求的保障和带宽资源的预留。In addition, in the communication method shown in FIG. 32, the 3GPP system is regarded as a bridge of the TSN network, and can receive a stream reservation protocol message (SRP message) from the previous hop node in the TSN network as the bridge, and Provides a method for processing SRP messages, and sends the SRP message to the TSN as the next hop node of the bridge, so that the latency requirements of the URLLC service flow and the bandwidth resources can be guaranteed in the interworking scenario of 3GPP network and TSN network Reserved.
图33为本申请一个实施例的通信方法的示意性流程图。应理解,图33示出了该通信方法的步骤或操作,但这些步骤或操作仅是示例,本申请实施例还可以执行其他操作或者图33中的各个操作的变形。此外,图33中的各个步骤可以按照与图33呈现的不同的顺序来执行,并且有可能并非要执行图33中的全部操作。FIG. 33 is a schematic flowchart of a communication method according to an embodiment of the present application. It should be understood that FIG. 33 shows the steps or operations of the communication method, but these steps or operations are merely examples, and the embodiment of the present application may also perform other operations or a modification of each operation in FIG. 33. In addition, each step in FIG. 33 may be performed in a different order than that presented in FIG. 33, and it is possible that not all operations in FIG. 33 are to be performed.
S3301,UE从TSN接收第一时延信息,第一时延信息用于指示第一时延,第一时延是指该流从TSN中的流服务提供者传输至该UE的累计时延。S3301: The UE receives first delay information from the TSN. The first delay information is used to indicate the first delay. The first delay refers to a cumulative delay in which the stream is transmitted from the stream service provider in the TSN to the UE.
例如,UE 1901从TSN中作为UE 1901的上一跳的网元接收流服务提供者广播声明消息,该消息可以用于广播一个流以及流对应的QoS需求,该消息中包括流的标识信息和第一时延信息。此时,第一时延是指流从作为流服务提供者的通信设备1907传输至UE1901的累计时延。UE 1901的上一跳网元可以是通信设备1907,也可以是UE 1901与通信设备1907之间的设备或网元。For example, UE1901 receives a stream service provider broadcast announcement message from the TSN as the previous hop of the UE1901. This message can be used to broadcast a stream and the QoS requirements corresponding to the stream. The message includes the flow identification information and First delay information. At this time, the first delay refers to a cumulative delay in which a stream is transmitted from the communication device 1907 as a stream service provider to the UE 1901. The previous hop network element of the UE 1901 may be a communication device 1907, or may be a device or a network element between the UE 1901 and the communication device 1907.
可选地,该消息中还可以包括以下一种或多种信息:目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求或资源预留失败原因。Optionally, the message may further include one or more of the following information: destination address, source address, maximum frame size, maximum frame interval, frame priority, and a single frame of the stream is transmitted from the stream service provider to the stream The maximum allowable delay of the service receiver, the reliability requirement of the flow, or the reason for the failure of resource reservation.
应理解,本申请实施例中,为了描述方便,将与流相关的信息中除第一时延信息以外其他信息均称为流的信息。例如,可以将与流相关的目标地址、源地址、最大帧的大小、最大帧间隔、帧的优先级、流的单个帧从流服务提供者传输到流服务接受者的最大允许时延、流的可靠性需求、资源预留失败原因、流的标识或流的QoS参数等称为流的信息。It should be understood that, in the embodiments of the present application, for the convenience of description, information other than the first delay information in the information related to the stream is referred to as the information of the stream. For example, you can transfer the destination address, source address, maximum frame size, maximum frame interval, frame priority, frame's priority, and maximum allowable delay for a single frame of a stream from the stream service provider to the stream service receiver. The reliability requirements, reasons for resource reservation failure, flow identification, or flow QoS parameters are called flow information.
S3302,UE向SMF网元发送第一时延信息。相应地,SMF网元从UE接收第一时延信息。此外,UE还可以向SMF网元发送流的信息。S3302: The UE sends first delay information to the SMF network element. Accordingly, the SMF network element receives the first delay information from the UE. In addition, the UE can also send flow information to the SMF network element.
例如,UE 1901从TSN收到流服务提供者广播声明消息后,将该流服务提供者广播声明消息转发给SMF网元1905。该流服务提供者广播声明消息中携带第一时延信息和流的信息。For example, after receiving the stream service provider broadcast announcement message from the TSN, the UE 1901 forwards the stream service provider broadcast announcement message to the SMF network element 1905. The stream service provider broadcast announcement message carries first delay information and stream information.
例如,UE 1901从TSN收到流服务提供者广播声明消息后,获取该流服务提供者广播声明消息中的第一时延信息和流的信息,并将第一时延信息和流的信息发给SMF网元1905。For example, after receiving a broadcast service provider broadcast announcement message from the TSN, the UE 1901 obtains the first delay information and stream information in the broadcast service provider broadcast announcement message, and sends the first delay information and stream information. To SMF network element 1905.
S3303,SMF网元从PCF网元获取流对应的PCC规则。S3303. The SMF network element obtains a PCC rule corresponding to the flow from the PCF network element.
例如,SMF网元向PCF网元发送流的信息。该流的信息可以包括流的标识信息或流 的QoS参数等。相应地,PCF网元从SMF网元接收流的信息。For example, the SMF network element sends flow information to the PCF network element. The flow information may include flow identification information or flow QoS parameters. Accordingly, the PCF network element receives the flow information from the SMF network element.
PCF网元向SMF网元发送该流对应的PCC规则。相应地,SMF网元从PCF网元接收流对应的PCC规则。The PCF network element sends the PCC rule corresponding to the flow to the SMF network element. Accordingly, the SMF network element receives the PCC rule corresponding to the flow from the PCF network element.
应理解,S3303不是必须要执行的步骤。这个步骤是为了实现SMF网元获取流对应的PCC规则,本申请实施例并不限制SMF网元获取流对应的PCC规则的实现方式。It should be understood that S3303 is not a required step. This step is to implement the PCC rule corresponding to the SMF network element acquisition flow, and the embodiment of the present application does not limit the implementation of the PCC rule corresponding to the SMF network element acquisition flow.
S3305,SMF网元根据流对应的PCC规则,确定第一目标时延,第一目标时延是指流从UE至UPF网元的传输时延。S3305, the SMF network element determines a first target delay according to the PCC rule corresponding to the flow. The first target delay refers to a transmission delay of the flow from the UE to the UPF network element.
本申请实施例中,第一目标时延也可以称为流在UE与UPF网元之间传输的累计时延。In the embodiment of the present application, the first target delay may also be referred to as a cumulative delay of the flow transmission between the UE and the UPF network element.
第一目标时延的一种示例可以是流从UE到UPF网元的最大传输时延。例如,SMF网元可以根据PCC规则中的5QI,确定该流从UE到UPF网元的最大传输时延。例如,SMF网元可以将5QI对应的UPF和UE之间的PDB,作为流从UE传输至UPF的最大传输时延。An example of the first target delay may be the maximum transmission delay of the flow from the UE to the UPF network element. For example, the SMF network element may determine the maximum transmission delay of the flow from the UE to the UPF network element according to the 5QI in the PCC rule. For example, the SMF network element may use the PDB between the UPF corresponding to the 5QI and the UE as the maximum transmission delay for the stream to be transmitted from the UE to the UPF.
可选地,SMF网元获取PCC规则后,可以触发PDU会话修改过程,以便于为该流建立一个QoS流,实现针对该流的资源预留。Optionally, after obtaining the PCC rules, the SMF network element may trigger a PDU session modification process, so as to establish a QoS flow for the flow and implement resource reservation for the flow.
S3306,SMF网元根据第一时延和第一目标时延,确定第二时延,第二时延是指流从流服务提供者至UE的传输时延。S3306. The SMF network element determines a second delay according to the first delay and the first target delay. The second delay refers to a transmission delay of the stream from the stream service provider to the UE.
例如,SMF网元根据流服务提供者广播声明消息中携带的第一时延信息指示的第一时延,和S3305中确定的最大传输时延,确定第二时延。For example, the SMF network element determines the second delay according to the first delay indicated by the first delay information carried in the broadcast announcement message of the streaming service provider and the maximum transmission delay determined in S3305.
若第一时延记为Accumulated Latency 1,第一目标时延记为T1,第二时延记为Accumulated Latency 2,则Accumulated Latency 2=Accumulated Latency 1+T1。If the first delay is recorded as Accumulated Latency1, the first target delay is recorded as T1, and the second delay is recorded as Accumulated Latency2, then AccumulatedLatency2 = AccumulatedLatency1 + T1.
S3307,SMF网元向UPF网元发送第二时延信息,第二时延信息用于指示第二时延。相应地,UPF网元从SMF网元接收第二时延信息。S3307: The SMF network element sends the second delay information to the UPF network element, and the second delay information is used to indicate the second delay. Accordingly, the UPF network element receives the second delay information from the SMF network element.
例如,SMF网元向UPF网元发送修改后的流服务提供者广播声明消息,修改后的流服务提供者广播声明消息消息携带的第一时延信息修改为第二时延信息。For example, the SMF network element sends a modified stream service provider broadcast announcement message to the UPF network element, and the first delay information carried in the modified stream service provider broadcast announcement message is modified to the second delay information.
或者,SMF网元可以通过其他方式向UPF网元发送第二时延信息。Alternatively, the SMF network element may send the second delay information to the UPF network element in other ways.
S3308,UPF网元根据第二时延和第二目标时延,确定第三时延,第二目标时延是指流从UPF网元传输至TSN网络中作为UPF网元的下一跳的目标网元的时延,第三时延是指流从流服务提供者至TSN中作为UPF网元的下一跳的目标网元的时延。S3308. The UPF network element determines the third delay according to the second delay and the second target delay. The second target delay refers to the transmission of the stream from the UPF network element to the TSN network as the target of the next hop of the UPF network element. Network element delay. The third delay refers to the delay from the stream service provider to the target network element that is the next hop of the UPF network element in the TSN.
例如,第二目标时延为流从UPF网元1903至TSN中作为UPF网元1903的下一跳的目标网元的累计传输时延;第三时延为流从通信设备1907至该目标跳网元之间的累计传输时延。其中,该目标网元可以是通信设备1908或可以是UPF网元至通信设备1908之间的通信设备。For example, the second target delay is the cumulative transmission delay of the flow from the UPF network element 1903 to the target network element that is the next hop of the UPF network element 1903; the third delay is the flow from the communication device 1907 to the target hop. Cumulative transmission delay between network elements. The target network element may be a communication device 1908 or a communication device between a UPF network element and the communication device 1908.
UPF网元根据第二时延和第二目标时延确定第三时延的一种实现方式中可以包括:UPF网元将第二目标时延累加到第二时延中,得到第三时延。例如,若将第二目标时延记为T2,将第二时延记为Accumulated Latency 2,将第三时延记为Accumulated Latency 3,则Accumulated Latency 3=Accumulated Latency 2+T2。An implementation manner in which the UPF network element determines the third delay according to the second delay and the second target delay may include: the UPF network element adds the second target delay to the second delay to obtain the third delay . For example, if the second target delay is recorded as T2, the second delay is recorded as AccumulatedLatency2, and the third delay is recorded as AccumulatedLatency3, then AccumulatedLatency3 = AccumulatedLatency2 + T2.
其中,第二目标时延可以是UPF网元从所述目标网元获取的,或者配置好的,或者通过其他方式获取的。本申请实施例对UPF网元获取第二目标时延的方式不作限制。The second target delay may be obtained by the UPF network element from the target network element, or configured, or obtained by other methods. This embodiment of the present application does not limit the manner in which the UPF network element obtains the second target delay.
S3309,UPF网元向所述目标网元发送第三时延信息。S3309: The UPF network element sends third delay information to the target network element.
例如,UPF网元将其从UE接收的流服务提供者广播声明消息发送给目标网元,该流服务提供者广播声明消息中携带的第一时延信息修改为携带第三时延信息。For example, the UPF network element sends a broadcast service provider broadcast announcement message it receives from the UE to the target network element, and the first delay information carried in the broadcast service announcement broadcast message is modified to carry the third delay information.
图33所示的通信方法中,由SMF网元从UE获知流从流服务提供者至UE之间的第一时延,根据流的PCC规则确定流在UE与UPF网元之间传输的第一目标时延,以及根据第一时延和第一目标时延确定流从流服务提供者传输至UPF网元的第二时延,并向UPF网元发送第二时延;UPF网元根据第二时延和流从UPF网元至TSN中作为UPF网元的下一跳的网元之间的第二目标时延确定流从流服务提供者至该下一跳网元之间的第三时延。In the communication method shown in FIG. 33, the SMF network element learns from the UE the first delay between the stream service provider and the UE, and determines the first time the stream is transmitted between the UE and the UPF network element according to the PCC rule of the stream. A target delay, and a second delay for transmitting a stream from a streaming service provider to a UPF network element based on the first delay and the first target delay, and sending the second delay to the UPF network element; the UPF network element is based on The second target delay and the second target delay between the flow from the UPF network element to the network element that is the next hop of the UPF network element in the TSN determine the first flow between the flow service provider and the next hop network element. Three delays.
应理解,图33中所示的各个消息的名称仅是一种示例。只要能实现该通信方法中的相应功能的消息都属于本申请实施例的保护范围。It should be understood that the names of the respective messages shown in FIG. 33 are merely examples. As long as the messages capable of implementing the corresponding functions in the communication method belong to the protection scope of the embodiment of the present application.
图33所示的通信方法不仅可以得到流从流服务提供者传输至TSN网络中作为UPF网元的下一跳的目标网元的累计时延,而且获取该累计时延的方法较为简单,因为该通信方法使得不需要UE、UPF网元以及UE与UPF网元之间的每个设备均与主时钟源做同步,也可以计算得到该累计时延。The communication method shown in FIG. 33 can not only obtain the accumulated delay of the stream transmitted from the stream service provider to the target network element as the next hop of the UPF network element in the TSN network, but also the method of obtaining the accumulated delay is relatively simple because This communication method makes it unnecessary for the UE, the UPF network element, and each device between the UE and the UPF network element to synchronize with the main clock source, and the cumulative delay can also be calculated.
此外,图33所示的通信方法中,将3GPP系统看做TSN网络的一个网桥,可以接收来自TSN网络中作为该网桥的上一跳节点的流预留协议消息(SRP消息),并提供处理SRP消息的方法,将SRP消息发送到TSN中作为该网桥的下一跳节点,从而可以实现3GPP网络和TSN网络的互通场景下对URLLC业务流的时延需求的保障和带宽资源的预留。In addition, in the communication method shown in FIG. 33, the 3GPP system is regarded as a bridge of the TSN network, and can receive a stream reservation protocol message (SRP message) from the previous hop node in the TSN network as the bridge, and Provides a method for processing SRP messages, and sends the SRP message to the TSN as the next hop node of the bridge, so that the latency requirements of the URLLC service flow and the bandwidth resources can be guaranteed in the interworking scenario of the 3GPP network and the TSN network. Reserved.
在图20至图33所示的任一通信方法中,可选地,还可以包括:SMF网元向UPF网元发送流的带宽需求信息。相应地,UPF网元从SMF网元接收流的带宽需求信息,且根据流的带宽需求信息为流预留带宽资源。In any of the communication methods shown in FIG. 20 to FIG. 33, optionally, it may further include: the SMF network element sends the bandwidth requirement information of the flow to the UPF network element. Accordingly, the UPF network element receives the bandwidth requirement information of the flow from the SMF network element, and reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
也就是说,在SMF网元确定能够为流预留带宽资源的情况下,SMF网元可以向UPF网元发送流的带宽需求消息,以便于UPF网元根据该带宽需求信息为该流预留带宽资源,从而可以使得该流传输至UPF网元时,UPF网元上可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。In other words, when the SMF network element determines that it can reserve bandwidth resources for the flow, the SMF network element can send the flow bandwidth demand message to the UPF network element, so that the UPF network element reserves the flow according to the bandwidth demand information. Bandwidth resources, so that when the stream is transmitted to the UPF network element, the UPF network element can have corresponding bandwidth resources to transmit the stream, which can further improve the transmission reliability of the stream.
可选地,在图20至图33所示的任一通信方法还可以包括:SMF网元向UE对应的接入网设备发送流的带宽需求信息。相应地,该接入网设备接收该带宽需求信息,并根据该带宽需求信息为流预留带宽。Optionally, any of the communication methods shown in FIG. 20 to FIG. 33 may further include: the SMF network element sends the bandwidth requirement information of the flow to the access network device corresponding to the UE. Correspondingly, the access network device receives the bandwidth demand information and reserves bandwidth for the flow according to the bandwidth demand information.
也就是说,在SMF网元确定能够为流预留带宽资源的情况下,SMF网元可以向为该UE服务的接入网设备发送流的带宽需求消息,以便于该接入网设备根据该带宽需求信息为该流预留带宽资源,从而可以使得接入网中可以有相应的带宽资源来传输该流,进而可以提高流的传输可靠性。In other words, when the SMF network element determines that it can reserve bandwidth resources for the flow, the SMF network element may send a flow bandwidth demand message to the access network device serving the UE, so that the access network device may The bandwidth requirement information reserves bandwidth resources for the stream, so that the access network can have corresponding bandwidth resources to transmit the stream, which can further improve the transmission reliability of the stream.
可选地,SMF网元向UE对应的接入网设备发送流的带宽需求信息的情况下,在图20至图33所示的任一通信方法还可以包括:SMF网元从接入网设备接收第一信息,第一信息用于指示接入网设备根据流的带宽需求信息为流预留带宽资源是否成功。Optionally, in a case where the SMF network element sends the bandwidth requirement information of the flow to the access network device corresponding to the UE, in any of the communication methods shown in FIG. 20 to FIG. 33, the SMF network element may further include: The first information is received, and the first information is used to indicate whether the access network device successfully reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
例如,SMF网元可以在向UE或UPF网元发送任一时延信息之前,检测是否从接入网设备接收了第一信息。若SMF网元接收了第一信息并且第一信息指示AN设备为流预留资源成功,则SMF网元可以向UE或UPF网元发送需要发送的时延信息,否则,SMF网元可以不向UE或UPF网元发送需要发送的时延信息。For example, the SMF network element may detect whether the first information is received from the access network device before sending any delay information to the UE or the UPF network element. If the SMF network element receives the first information and the first information indicates that the AN device successfully reserves resources for the stream, the SMF network element may send the delay information to the UE or the UPF network element, otherwise, the SMF network element may not The UE or the UPF network element sends the delay information that needs to be sent.
该实现方式中,SMF网元在确定接入网设备能够为流预留带宽资源成功的情况下, 才执行后续相关操作,可以提高SMF网元的执行效率。In this implementation manner, the SMF network element performs subsequent related operations only after determining that the access network device can successfully reserve bandwidth resources for the flow, which can improve the execution efficiency of the SMF network element.
图18是本申请一个实施例的通信装置的示意性结构图。应理解,图18示出的通信装置1800仅是示例,本申请实施例的通信装置还可包括其他模块或单元,或者包括与图18中的各个模块的功能相似的模块,或者并非要包括图18中所有模块。FIG. 18 is a schematic structural diagram of a communication device according to an embodiment of the present application. It should be understood that the communication device 1800 shown in FIG. 18 is merely an example, and the communication device in the embodiment of the present application may further include other modules or units, or include modules similar in function to each module in FIG. All modules in 18.
图18所示的通信装置1800可以包括接收模块1810、处理模块1820和发送模块1830。其中,通信装置1800包括的各个模块可以通过软件和/或硬件方式实现。The communication device 1800 shown in FIG. 18 may include a receiving module 1810, a processing module 1820, and a sending module 1830. Each module included in the communication device 1800 may be implemented in software and / or hardware.
例如,所述接收模块1810可以是接收器,所述发送模块1830可以是发送器,所述处理模块1820可以是处理器,其中,接收器和发送器可以集成在一起,称为收发器。For example, the receiving module 1810 may be a receiver, the sending module 1830 may be a transmitter, and the processing module 1820 may be a processor, wherein the receiver and the transmitter may be integrated together, which is called a transceiver.
又如,该处理模块1820可以是处理器,该接收模块1810和发送模块1830可以是通信接口。这种情况下,该通信装置1800可以是芯片。As another example, the processing module 1820 may be a processor, and the receiving module 1810 and the sending module 1830 may be communication interfaces. In this case, the communication device 1800 may be a chip.
可选地,通信装置1800还可以包括存储器,用于存储处理器执行的程序代码。Optionally, the communication device 1800 may further include a memory for storing a program code executed by the processor.
在一种可能的实现方式中,通信装置1800可以用于执行图2至图7中任意一个所描述的通信方法中由SMF网元执行的步骤。In a possible implementation manner, the communication device 1800 may be configured to perform steps performed by the SMF network element in the communication method described in any one of FIG. 2 to FIG. 7.
这种情况下,该通信装置可以是SMF网元,或者,可以是能够集成在SMF网元中的芯片。In this case, the communication device may be an SMF network element, or may be a chip capable of being integrated in the SMF network element.
例如,通信装置1800可以通过所述接收模块1810从UPF网元接收流的第一时延信息,所述第一时延信息用于指示所述流从TSN中的流服务提供者传输至所述UPF网元的第一时延;通过所述处理模块1820根据所述流的PCC规则确定所述流从所述UPF网元传输至UE的第三时延;通过所述处理模块1820根据所述第一时延和所述第三时延,确定所述流从所述TSN中的所述流服务提供者传输至所述UE的第二时延;通过所述发送模块1830向所述UPF网元发送第二时延信息,所述第二时延信息用于指示所述第二时延。For example, the communication device 1800 may receive first delay information of a stream from a UPF network element through the receiving module 1810, where the first delay information is used to instruct the stream to be transmitted from a stream service provider in the TSN to the stream. The first delay of the UPF network element; the third delay of the transmission of the stream from the UPF network element to the UE is determined by the processing module 1820 according to the PCC rule of the flow; and the processing module 1820 according to the A first delay and the third delay, determining a second delay in which the stream is transmitted from the stream service provider in the TSN to the UE; to the UPF network through the sending module 1830 Yuan sends second delay information, and the second delay information is used to indicate the second delay.
可选地,第三时延可以是流从UPF网元传输至UE的最大传输时延。Optionally, the third delay may be a maximum transmission delay of the flow transmission from the UPF network element to the UE.
可选地,具体可以通过所述处理模块将所述第一时延与所述第三时延之和,确定为所述第二时延。Optionally, the sum of the first delay and the third delay may be specifically determined as the second delay by the processing module.
可选地,可以通过所述处理模块根据所述PCC规则确定能为所述流预留带宽资源。Optionally, the processing module may determine that the bandwidth resource can be reserved for the flow according to the PCC rule.
可选地,可以通过所述发送模块向所述UPF网元发送所述流的带宽需求信息。Optionally, the bandwidth requirement information of the flow may be sent to the UPF network element through the sending module.
可选地,可以通过所述发送模块向所述UE对应的接入网设备发送所述流的带宽需求信息。Optionally, the bandwidth requirement information of the stream may be sent to the access network device corresponding to the UE through the sending module.
可选地,可以通过所述接收模块从所述接入网设备接收第一信息,所述第一信息用于指示所述接入网设备根据所述流的带宽需求信息为所述流预留带宽资源成功。Optionally, the receiving module may receive first information from the access network device, and the first information is used to instruct the access network device to reserve the flow according to the bandwidth requirement information of the flow. Bandwidth resource succeeded.
可选地,可以通过所述发送模块向PCF网元发送所述流的信息,所述流的信息用于所述流的PCC规则的确定;通过所述接收模块从所述PCF网元接收所述PCC规则。Optionally, the flow information may be sent to a PCF network element through the sending module, and the flow information is used to determine a PCC rule of the flow; and the receiving module receives the flow information from the PCF network element through the receiving module. The PCC rules are described.
可选地,所述流的信息可以包括以下至少一项:所述流的标识ID,所述流的源地址和目的地址,传输所述流的最大帧的大小和用于传输所述流的帧之间的间隔,所述流的优先级,所述流的单个帧从流服务提供者传输到流服务接受者的最大允许时延或所述流的可靠性需求。Optionally, the information of the stream may include at least one of the following: an identification ID of the stream, a source address and a destination address of the stream, a size of a maximum frame for transmitting the stream, and a The interval between frames, the priority of the stream, the maximum allowable delay for a single frame of the stream to be transmitted from the stream service provider to the receiver of the stream service, or the reliability requirements of the stream.
在另一些可能的实现方式中,通信装置1800可以用于用于执行图8至图10中任意一个所描述的通信方法中由SMF网元执行的步骤。这种情况下,通信装置1800可以是SMF网元,或,可以是能够集成在SMF网元中的芯片。In some other possible implementation manners, the communication device 1800 may be configured to execute steps performed by the SMF network element in the communication method described in any one of FIG. 8 to FIG. 10. In this case, the communication device 1800 may be an SMF network element, or may be a chip capable of being integrated in the SMF network element.
例如,通信装置1800可以通过接收模块1810从UE接收流的第一时延信息,所述第一时延信息用于指示第一时延;通过处理模块1820根据所述流的PCC规则确定所述流从所述UE传输至UPF网元的最大传输时延;通过处理模块1820根据所述第一时延和所述最大传输时延,确定所述流从所述UE传输至所述UPF网元的第二时延;通过发送模块1830向所述UPF网元发送第二时延信息,所述第二时延信息用于指示所述第二时延。For example, the communication device 1800 may receive the first delay information of the flow from the UE through the receiving module 1810, where the first delay information is used to indicate the first delay; and the processing module 1820 determines the flow according to the PCC rule of the flow. The maximum transmission delay of the flow from the UE to the UPF network element; the processing module 1820 determines the transmission of the flow from the UE to the UPF network element according to the first delay and the maximum transmission delay Sending a second delay information to the UPF network element through a sending module 1830, where the second delay information is used to indicate the second delay.
可选地,可以具体通过所述处理模块1820将所述第一时延与所述最大传输时延相加,并减去所述流从所述UE传输至所述UPF网元的传输时延的默认值所得到的值,确定为所述第二时延。Optionally, the first delay and the maximum transmission delay may be specifically added through the processing module 1820, and a transmission delay in which the stream is transmitted from the UE to the UPF network element may be subtracted The value obtained by using the default value of is determined as the second delay.
可选地,可以通过所述处理模块根据所述PCC规则确定能为所述流预留带宽资源。Optionally, the processing module may determine that the bandwidth resource can be reserved for the flow according to the PCC rule.
可选地,可以通过所述发送模块1830向所述UPF网元发送所述流的带宽需求信息。Optionally, the bandwidth requirement information of the flow may be sent to the UPF network element through the sending module 1830.
可选地,可以通过所述发送模块1830向所述UE对应的接入网设备发送所述流的带宽需求信息。Optionally, the bandwidth requirement information of the stream may be sent to the access network device corresponding to the UE through the sending module 1830.
可选地,可以通过所述接收模块1810从所述接入网设备接收第一信息,所述第一信息用于指示所述接入网设备根据所述流的带宽需求信息为所述流预留带宽资源成功。Optionally, first information may be received from the access network device through the receiving module 1810, where the first information is used to instruct the access network device to prepare the flow according to the bandwidth requirement information of the flow. Reserve bandwidth resources successfully.
可选地,可以通过所发送模块1830向PCF网元发送所述流的信息,所述流的信息用于所述流的PCC规则的确定;所述SMF网元从所述PCF网元接收所述PCC规则。Optionally, the flow information may be sent to the PCF network element through the sending module 1830, and the flow information is used for determining the PCC rule of the flow; the SMF network element receives the flow information from the PCF network element. The PCC rules are described.
可选地,所述流的信息可以包括以下至少一项:所述流的标识ID,所述流的源地址和目的地址,传输所述流的最大帧的大小和用于传输所述流的帧之间的间隔或所述流的优先级。Optionally, the information of the stream may include at least one of the following: an identification ID of the stream, a source address and a destination address of the stream, a size of a maximum frame for transmitting the stream, and a The interval between frames or the priority of the stream.
在另一些可能的实现方式中,通信装置1800可以用于用于执行图11至图13中任意一个所描述的通信方法中由SMF网元执行的步骤。这种情况下,通信装置1800可以是SMF网元,或,可以是能够集成在SMF网元中的芯片。In some other possible implementation manners, the communication device 1800 may be configured to execute steps performed by the SMF network element in the communication method described in any one of FIG. 11 to FIG. 13. In this case, the communication device 1800 may be an SMF network element, or may be a chip capable of being integrated in the SMF network element.
例如,通信装置1800可以通过接收模块1810从UE接收流的信息;通过所述处理模块1820根据所述流的信息和所述流的PCC规则,确定所述流从所述UE传输至用户面功能UPF网元的最大传输时延;通过所述发送模块1830向所述UE发送第一时延信息,所述第一时延信息用于指示所述最大传输时延。For example, the communication device 1800 may receive stream information from the UE through the receiving module 1810; and the processing module 1820 determines that the stream is transmitted from the UE to the user plane function according to the stream information and the PCC rule of the stream The maximum transmission delay of the UPF network element; sending first delay information to the UE through the sending module 1830, where the first delay information is used to indicate the maximum transmission delay.
可选地,所述流的信息可以包括以下一项或多项:所述流的标识ID,所述流的源地址和目的地址,传输所述流的最大帧的大小和用于传输所述流的帧之间的间隔,所述流的优先级,UE确定的流从UE传输至UPF网元的时延信息。Optionally, the information of the stream may include one or more of the following: an identification ID of the stream, a source address and a destination address of the stream, a size of a maximum frame used to transmit the stream, and The interval between frames of the flow, the priority of the flow, and the delay information transmitted by the UE from the UE to the UPF network element.
可选地,可以通过所述处理模块1820根据所述PCC规则确定所述UPF网元能为所述流预留带宽资源。Optionally, the processing module 1820 may determine that the UPF network element can reserve bandwidth resources for the flow according to the PCC rule.
可选地,可以通过所述发送模块1830向所述UPF网元发送所述流的带宽需求信息。Optionally, the bandwidth requirement information of the flow may be sent to the UPF network element through the sending module 1830.
可选地,可以通过所述发送模块1830向所述UE对应的接入网设备发送所述流的带宽需求信息。Optionally, the bandwidth requirement information of the stream may be sent to the access network device corresponding to the UE through the sending module 1830.
可选地,可以通过所述接收模块1810从所述接入网设备接收第一信息,所述第一信息用于指示所述接入网设备根据所述流的带宽需求信息为所述流预留带宽资源成功。Optionally, first information may be received from the access network device through the receiving module 1810, where the first information is used to instruct the access network device to prepare the flow according to the bandwidth requirement information of the flow. Reserve bandwidth resources successfully.
可选地,可以通过所述发送模块1830向PCF网元发送所述流的信息,所述流的信息用于所述流的PCC规则的确定;通过所述接收模块1810从所述PCF网元接收所述PCC规则。Optionally, the flow information may be sent to a PCF network element through the sending module 1830, and the flow information is used to determine a PCC rule for the flow; and the receiving module 1810 is used to determine Receive the PCC rule.
可选地,所述流的信息可以包括以下至少一项:所述流的标识ID,所述流的源地址和目的地址,传输所述流的最大帧的大小和用于传输所述流的帧之间的间隔或所述流的优先级。Optionally, the information of the stream may include at least one of the following: an identification ID of the stream, a source address and a destination address of the stream, a size of a maximum frame for transmitting the stream, and a The interval between frames or the priority of the stream.
在另一些可能的实现方式中,通信装置1800可以用于用于执行图2至图7中任意一个所描述的通信方法中由UPF网元执行的步骤。这种情况下,通信装置1800可以是UPF网元,或,可以是能够集成在UPF网元中的芯片。In some other possible implementation manners, the communication device 1800 may be configured to execute steps performed by a UPF network element in the communication method described in any one of FIG. 2 to FIG. 7. In this case, the communication device 1800 may be a UPF network element, or may be a chip capable of being integrated in the UPF network element.
例如,通信装置1800可以通过所述接收模块1810从TSN接收流的第一时延信息,所述第一时延信息用于指示所述流从所述TSN中的流服务提供者传输至所述UPF网元的第一时延;通过所述发送模块1830向SMF网元发送所述第一时延信息,所述第一时延信息用于第二时延的确定,所述第二时延为所述流从所述TSN网络中的所述流服务提供者传输至终端设备UE的时延;通过所述接收模块1810从所述SMF网元接收第二时延信息,所述第二时延信息用于指示所述第二时延;通过所述发送模块1830向所述UE发送所述第二时延信息。For example, the communication device 1800 may receive first delay information of a stream from a TSN through the receiving module 1810, and the first delay information is used to instruct the stream to be transmitted from a stream service provider in the TSN to the stream. The first delay of the UPF network element; sending the first delay information to the SMF network element through the sending module 1830, where the first delay information is used for determining a second delay, and the second delay A time delay for the stream to be transmitted from the stream service provider in the TSN network to a terminal device UE; and receiving second delay information from the SMF network element through the receiving module 1810, the second time The delay information is used to indicate the second delay; the second delay information is sent to the UE through the sending module 1830.
可选地,可以通过所述接收模块1810从所述SMF网元接收所述流的带宽需求信息;通过所述处理模块1820根据所述流的带宽需求信息为所述流预留带宽资源。Optionally, the bandwidth requirement information of the flow may be received from the SMF network element through the receiving module 1810; and the processing module 1820 may reserve bandwidth resources for the flow according to the bandwidth requirement information of the flow.
可选地,可以通过所述接收模块从所述SMF网元接收第一信息,所述第一信息用于指示所述UE对应的接入网设备根据所述流的带宽需求信息为所述流预留带宽资源成功。Optionally, first information may be received from the SMF network element through the receiving module, and the first information is used to instruct an access network device corresponding to the UE to provide the stream according to the bandwidth requirement information of the stream. The bandwidth resource reservation was successful.
在另一些可能的实现方式中,通信装置1800可以用于用于执行图8至图10中任意一个所描述的通信方法中由UE执行的步骤。这种情况下,通信装置1800可以是UE,或,可以是能够集成在UE中的芯片。In some other possible implementation manners, the communication device 1800 may be configured to execute steps performed by the UE in the communication method described in any one of FIG. 8 to FIG. 10. In this case, the communication device 1800 may be a UE, or may be a chip capable of being integrated in the UE.
例如,通信装置1800可以通过所述发送模块1830向SMF网元发送流的信息,所述流的信息用于所述流从所述UE传输至UPF网元的最大传输时延的确定;通过所述接收模块1810从所述SMF网元接收第一时延信息,所述第一时延信息用于指示所述最大传输时延;通过所述处理模块1810根据所述最大传输时延,确定所述流从所述UE传输至所述UPF网元的目标时延;通过所述发送模块1830向UPF网元发送第二时延信息,所述第二时延信息用于指示所述目标时延。For example, the communication device 1800 may send stream information to an SMF network element through the sending module 1830, and the stream information is used to determine a maximum transmission delay of the stream from the UE to the UPF network element; The receiving module 1810 receives first delay information from the SMF network element, and the first delay information is used to indicate the maximum transmission delay; and the processing module 1810 determines the maximum transmission delay according to the maximum transmission delay. The target delay of the stream being transmitted from the UE to the UPF network element; and sending the second delay information to the UPF network element through the sending module 1830, where the second delay information is used to indicate the target delay .
在另一些可能的实现方式中,通信装置1800可以用于用于执行图14至图17中任意一个所描述的通信方法中由UPF网元执行的步骤。这种情况下,通信装置1800可以是UPF网元,或,可以是能够集成在UPF网元中的芯片。In some other possible implementation manners, the communication device 1800 may be configured to execute steps performed by a UPF network element in the communication method described in any one of FIG. 14 to FIG. 17. In this case, the communication device 1800 may be a UPF network element, or may be a chip capable of being integrated in the UPF network element.
例如,通信装置1800可以通过所述接收模块1810从TSN接收流的第一时延信息,所述第一时延信息用于指示所述流从TSN中的流服务提供者传输至所述UPF网元的第一时延;通过所述发送模块1830向SMF网元发送流的信息,所述流的信息用于所述流从所述UPF网元传输至UE的第三时延的确定;通过所述处理模块1820从所述SMF网元接收第三时延信息,所述第三时延信息用于指示所述第三时延;通过所述处理模块1820根据所述第一时延和所述第三时延,确定所述流从所述TSN网络中的所述流服务提供者传输至所述UE的第二时延;通过所述发送模块1830向所述UE发送第二时延信息,所述第二时延信息用于指示所述第二时延。For example, the communication device 1800 may receive the first delay information of the stream from the TSN through the receiving module 1810, and the first delay information is used to instruct the stream to be transmitted from the stream service provider in the TSN to the UPF network. The first delay of the element; sending the flow information to the SMF network element through the sending module 1830, the flow information is used to determine the third delay of the flow from the UPF network element to the UE; The processing module 1820 receives third delay information from the SMF network element, and the third delay information is used to indicate the third delay; and the processing module 1820 uses the first delay and the The third delay, determining a second delay in which the stream is transmitted from the stream service provider in the TSN network to the UE; and sending the second delay information to the UE through the sending module 1830 , The second delay information is used to indicate the second delay.
可选地,可以具体通过所述处理模块1820将所述第一时延与所述第三时延之和,确定为所述第二时延。Optionally, the processing module 1820 may specifically determine the sum of the first delay and the third delay as the second delay.
可选地,可以通过所述接收模块1810从所述SMF网元接收所述流的带宽需求信息;通过所述处理模块1820根据所述流的带宽需求信息为所述流预留带宽资源。Optionally, the bandwidth requirement information of the flow may be received from the SMF network element through the receiving module 1810; and the processing module 1820 may reserve bandwidth resources for the flow according to the bandwidth requirement information of the flow.
可选地,通过所述接收模块1810从所述SMF网元接收第一信息,所述第一信息用于指示所述UE对应的接入网设备根据所述流的带宽需求信息为所述流预留带宽资源成功。Optionally, first information is received from the SMF network element through the receiving module 1810, where the first information is used to instruct an access network device corresponding to the UE to provide the stream according to the bandwidth requirement information of the stream. The bandwidth resource reservation was successful.
可选地,所述流的信息可以包括以下至少一项:所述流的标识ID,所述流的源地址和目的地址,传输所述流的最大帧的大小和用于传输所述流的帧之间的间隔,所述流的优先级,所述流的单个帧从流服务提供者传输到流服务接受者的最大允许时延或所述流的可靠性需求。Optionally, the information of the stream may include at least one of the following: an identification ID of the stream, a source address and a destination address of the stream, a size of a maximum frame for transmitting the stream, and a The interval between frames, the priority of the stream, the maximum allowable delay for a single frame of the stream to be transmitted from the stream service provider to the receiver of the stream service, or the reliability requirements of the stream.
在另一种可能的实现方式中,通信装置1800可以用于执行图24或图30中所描述的通信方法中由SMF网元执行的步骤。这种情况下,该通信装置可以是SMF网元,或者,可以是能够集成在SMF网元中的芯片。In another possible implementation manner, the communication device 1800 may be configured to execute the steps performed by the SMF network element in the communication method described in FIG. 24 or FIG. 30. In this case, the communication device may be an SMF network element, or may be a chip capable of being integrated in the SMF network element.
例如,通信装置1800可以通过接收模块1810从第一通信设备接收流的第一时延信息,所述第一时延信息用于指示所述流从TSN中的流服务提供者传输至所述第一通信设备的第一时延;通过处理模块1820根据所述流的PCC规则确定所述流从所述第一通信设备传输至第二通信设备的第一目标时延;通过处理模块1820根据所述第一时延、所述第一目标时延和第二目标时延,确定所述流从所述流服务提供者传输至所述TSN中作为所述第二通信设备的下一跳的目标网元的第三时延,所述第二目标时延为所述流从所述第二通信设备传输至所述目标网元的时延;通过发送模块1830向所述第一通信设备发送第三时延信息,所述第三时延信息用于指示所述第三时延;其中,所述第一通信设备为UPF网元且所述第二通信设备为UE,或,所述第一通信设备为所述UE且所述第二通信设备为所述UPF网元。For example, the communication device 1800 may receive the first delay information of the stream from the first communication device through the receiving module 1810, where the first delay information is used to instruct the stream to be transmitted from the stream service provider in the TSN to the first A first delay of a communication device; determining a first target delay of the flow from the first communication device to a second communication device by the processing module 1820 according to the PCC rule of the flow; The first delay, the first target delay, and the second target delay are used to determine a target of the stream to be transmitted from the streaming service provider to the TSN as a next hop of the second communication device. A third delay of the network element, and the second target delay is a delay in which the stream is transmitted from the second communication device to the target network element; sending the first delay to the first communication device through the sending module 1830 Three delay information, the third delay information is used to indicate the third delay; wherein the first communication device is a UPF network element and the second communication device is a UE; or The communication device is the UE and the second communication device is the UPF NE.
可选地,具体通过所述处理模块1820将所述第一时延、所述第一目标时延和所述第二目标时延之和作为所述第三时延。Optionally, the processing module 1820 specifically uses the sum of the first delay, the first target delay, and the second target delay as the third delay.
可选地,所述第一目标时延为所述流在所述UPF网元与所述UE之间的最大传输时延。Optionally, the first target delay is a maximum transmission delay of the flow between the UPF network element and the UE.
可选地,还通过处理模块1820根据所述PCC规则确定能为所述流预留带宽资源。Optionally, it is further determined by the processing module 1820 that the bandwidth resource can be reserved for the flow according to the PCC rule.
可选地,还通过发送模块1830向所述UPF网元发送所述流的带宽需求信息。Optionally, the bandwidth requirement information of the flow is also sent to the UPF network element through a sending module 1830.
可选地,还通过发送模块1830向所述UE对应的接入网设备发送所述流的带宽需求信息。Optionally, the bandwidth requirement information of the stream is also sent to the access network device corresponding to the UE through the sending module 1830.
可选地,还通过接收模块1810从所述接入网设备接收第一信息,所述第一信息用于指示所述接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。Optionally, first information is further received from the access network device through a receiving module 1810, where the first information is used to instruct the access network device to reserve bandwidth for the flow according to the bandwidth requirement information of the flow Whether the resource was successful.
可选地,还通过发送模块向PCF网元发送所述流的信息,所述流的信息用于所述流的PCC规则的确定;还通过接收模块1810从所述PCF网元接收所述PCC规则。Optionally, the flow information is also sent to the PCF network element through a sending module, and the flow information is used for determining a PCC rule of the flow; the PCC is also received from the PCF network element through a receiving module 1810. rule.
可选地,所述流的信息可以包括以下至少一项:所述流的标识ID,所述流的源地址和目的地址,传输所述流的最大帧的大小和用于传输所述流的帧之间的间隔,所述流的优先级,所述流的单个帧从Talker传输到Listener的最大允许时延或所述流的可靠性需求。Optionally, the information of the stream may include at least one of the following: an identification ID of the stream, a source address and a destination address of the stream, a size of a maximum frame for transmitting the stream, and a The interval between frames, the priority of the stream, the maximum allowable delay in transmitting a single frame of the stream from the Talker to the Listener, or the reliability requirement of the stream.
在另一种可能的实现方式中,通信装置1800可以用于执行图20、图22、图26、图28、图32和图33中任意一个所描述的通信方法中由SMF网元执行的步骤。这种情况下,通信装置1800可以是SMF网元,或,可以是能够集成在SMF网元中的芯片。In another possible implementation manner, the communication device 1800 may be configured to perform the steps performed by the SMF network element in the communication method described in any one of FIG. 20, FIG. 22, FIG. 26, FIG. 28, FIG. 32, and FIG. 33. . In this case, the communication device 1800 may be an SMF network element, or may be a chip capable of being integrated in the SMF network element.
例如,通信装置1800通过接收模块1810从UPF网元或UE接收流的第一时延信息, 所述第一时延信息用于指示所述流从TSN中的流服务提供者传输至第一通信设备的第一时延;通过处理模块1820根据所述流的PCC规则确定所述流在所述UPF网元与UE之间传输的第一目标时延;通过处理模块1820根据所述第一时延和所述第一目标时延,确定所述流从所述TSN中的所述流服务提供者传输至第二通信设备的第二时延;通过发送模块1830向所述UPF网元或所述UE发送第二时延信息,所述第二时延信息用于指示所述第二时延;其中,所述第一通信设备为所述UPF网元且所述第二通信设备为所述UE,或,所述第一通信设备为所述UE且所述第二通信设备为所述UPF网元。For example, the communication device 1800 receives the first delay information of the flow from the UPF network element or the UE through the receiving module 1810, and the first delay information is used to instruct the flow to be transmitted from the stream service provider in the TSN to the first communication. The first delay of the device; the processing module 1820 determines the first target delay of the flow transmitted between the UPF network element and the UE according to the PCC rule of the flow; and the processing module 1820 according to the first time And the first target delay to determine a second delay in which the stream is transmitted from the stream service provider in the TSN to a second communication device; the sending module 1830 sends the second delay to the UPF network element or the Said UE sends second delay information, said second delay information is used to indicate said second delay; wherein said first communication device is said UPF network element and said second communication device is said UE, or the first communication device is the UE and the second communication device is the UPF network element.
可选地,具体通过处理模块1820将所述第一时延和第一目标时延的和作为所述第二时延。Optionally, the processing module 1820 specifically uses the sum of the first delay and the first target delay as the second delay.
可选地,所述第一目标时延为所述流在所述UPF网元与所述UE之间的最大传输时延。Optionally, the first target delay is a maximum transmission delay of the flow between the UPF network element and the UE.
可选地,还通过处理模块1820根据所述PCC规则确定能为所述流预留带宽资源。Optionally, it is further determined by the processing module 1820 that the bandwidth resource can be reserved for the flow according to the PCC rule.
可选地,还通过发送模块1830向所述UPF网元发送所述流的带宽需求信息。Optionally, the bandwidth requirement information of the flow is also sent to the UPF network element through a sending module 1830.
可选地,还通过发送模块1830向所述UE对应的接入网设备发送所述流的带宽需求信息。Optionally, the bandwidth requirement information of the stream is also sent to the access network device corresponding to the UE through the sending module 1830.
可选地,还通过接收模块1810从所述接入网设备接收第一信息,所述第一信息用于指示所述接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。Optionally, first information is further received from the access network device through a receiving module 1810, where the first information is used to instruct the access network device to reserve bandwidth for the flow according to the bandwidth requirement information of the flow Whether the resource was successful.
可选地,还通过发送模块向PCF网元发送所述流的信息,所述流的信息用于所述流的PCC规则的确定;还通过接收模块1810从所述PCF网元接收所述PCC规则。Optionally, the flow information is also sent to the PCF network element through a sending module, and the flow information is used for determining a PCC rule of the flow; the PCC is also received from the PCF network element through a receiving module 1810. rule.
可选地,所述流的信息可以包括以下至少一项:所述流的标识ID,所述流的源地址和目的地址,传输所述流的最大帧的大小和用于传输所述流的帧之间的间隔,所述流的优先级,所述流的单个帧从流服务提供者传输到流服务接受者的最大允许时延或所述流的可靠性需求。Optionally, the information of the stream may include at least one of the following: an identification ID of the stream, a source address and a destination address of the stream, a size of a maximum frame for transmitting the stream, and a The interval between frames, the priority of the stream, the maximum allowable delay for a single frame of the stream to be transmitted from the stream service provider to the receiver of the stream service, or the reliability requirements of the stream.
在另一些可能的实现方式中,通信装置1800可以用于执行图23所描述的通信方法中由UPF网元执行的步骤。这种情况下,通信装置1800可以是UPF网元,或,可以是能够集成在UPF网元中的芯片。In some other possible implementation manners, the communication device 1800 may be configured to perform the steps performed by the UPF network element in the communication method described in FIG. 23. In this case, the communication device 1800 may be a UPF network element, or may be a chip capable of being integrated in the UPF network element.
例如,通信装置1800可以通过接收模块1810从TSN接收流的第一时延信息,所述第一时延信息用于指示所述流从所述TSN中的流服务提供者传输至所述UPF网元的第一时延;通过发送模块1830向SMF网元发送所述流的信息,所述流的信息用于所述流对应的服务质量参数的确定;通过接收模块1810从所述SMF网元接收所述服务质量参数;通过处理模块1820根据所述服务质量参数确定所述流从所述UPF网元传输至所述UE的第一目标时延;通过处理模块1820根据所述第一时延和所述第一目标时延,确定第二时延,所述第二时延是指所述流从所述流服务提供者传输至所述UE的时延;通过所述发送模块向所述UE发送第二时延信息,所述第二时延信息用于指示所述第二时延。For example, the communication device 1800 may receive the first delay information of the stream from the TSN through the receiving module 1810, and the first delay information is used to instruct the stream to be transmitted from the stream service provider in the TSN to the UPF network. The first delay of the element; sending the flow information to the SMF network element through the sending module 1830, the flow information is used to determine the quality of service parameters corresponding to the flow; and the receiving module 1810 Receiving the quality of service parameter; determining a first target delay for the stream to be transmitted from the UPF network element to the UE by the processing module 1820 according to the quality of service parameter; and processing the module 1820 according to the first delay And the first target delay to determine a second delay, where the second delay refers to a delay in transmitting the stream from the streaming service provider to the UE; and to the UE through the sending module. The UE sends second delay information, where the second delay information is used to indicate the second delay.
可选地,具体通过所述处理模块1820将第一时延和所述第一目标时延之和作为所述第二时延。Optionally, the processing module 1820 specifically uses the sum of the first delay and the first target delay as the second delay.
可选地,所述第一目标时延为所述流在所述UPF网元与所述UE之间的最大传输时延。Optionally, the first target delay is a maximum transmission delay of the flow between the UPF network element and the UE.
可选地,还通过所述接收模块1810从所述SMF网元接收所述流的带宽需求信息;还通过所述处理模块1820根据所述流的带宽需求信息为所述流预留带宽资源。Optionally, the receiving module 1810 also receives the bandwidth requirement information of the stream from the SMF network element; and the processing module 1820 further reserves bandwidth resources for the stream according to the bandwidth requirement information of the stream.
可选地,还通过接收模块1810从所述SMF网元接收第一信息,所述第一信息用于指 示所述UE对应的接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。Optionally, first information is further received from the SMF network element through a receiving module 1810, where the first information is used to instruct an access network device corresponding to the UE to predict the flow according to the bandwidth requirement information of the flow. Whether the reserved bandwidth resources are successful.
在另一些可能的实现方式中,通信装置1800可以用于执行图25或27所描述的通信方法中由UPF网元执行的步骤。这种情况下,通信装置1800可以是UPF网元,或,可以是能够集成在UPF网元中的芯片。In some other possible implementation manners, the communication device 1800 may be configured to perform the steps performed by the UPF network element in the communication method described in FIG. 25 or 27. In this case, the communication device 1800 may be a UPF network element, or may be a chip capable of being integrated in the UPF network element.
通信装置1800可以用于通过接收模块1810从TSN或UE接收流的第一时延信息,所述第一时延信息用于指示所述流从所述TSN中的流服务提供者传输至第一通信设备的第一时延;通过发送模块1830向SMF网元发送所述流的信息,所述流的信息用于所述流对应的服务质量参数的确定;通过接收模块1810从所述SMF网元接收所述流对应的服务质量参数;通过处理模块1820根据所述流对应的服务质量参数确定第一目标时延,所述第一目标时延是指所述流在终端设备UE与所述UPF网元之间传输的时延;通过处理模块1820根据所述第一时延、所述第一目标时延和第二目标时延,确定第三时延,所述第二目标时延是指所述流从第二通信设备传输至所述TSN网络中作为所述第二通信设备的下一跳的目标网元的时延,所述第三时延是指所述流从所述流服务提供者传输至所述目标网元的时延;通过发送模块1830发送第三时延信息,所述第三时延信息用于指示所述第三时延;其中,所述第一通信设备为所述UPF网元且所述第二通信设备为所述UE,或,所述第一通信设备为所述UE且所述第二通信设备为所述UPF网元。The communication device 1800 may be configured to receive the first delay information of the stream from the TSN or the UE through the receiving module 1810, where the first delay information is used to instruct the stream to be transmitted from the stream service provider in the TSN to the first The first delay of the communication device; sending the flow information to the SMF network element through the sending module 1830, the flow information is used to determine the quality of service parameters corresponding to the flow; and the receiving module 1810 from the SMF network Receiving a quality of service parameter corresponding to the flow; processing module 1820 determines a first target delay according to the quality of service parameter corresponding to the flow, where the first target delay refers to the flow between the terminal device UE and the Delay of transmission between UPF network elements; the processing module 1820 determines a third delay according to the first delay, the first target delay, and the second target delay, and the second target delay is Refers to a delay in transmitting the flow from the second communication device to the target network element as the next hop of the second communication device in the TSN network, and the third delay refers to the flow from the flow to the The delay of the service provider transmitting to the target network element; The third delay information is sent through the sending module 1830, where the third delay information is used to indicate the third delay; wherein the first communication device is the UPF network element and the second communication device is The UE, or the first communication device is the UE and the second communication device is the UPF network element.
可选地,具体通过处理模块1820将第一时延、所述第一目标时延和所述第二目标时延之和作为所述第三时延。Optionally, the processing module 1820 specifically uses the sum of the first delay, the first target delay, and the second target delay as the third delay.
可选地,所述第一目标时延为所述流在所述UPF网元与所述UE之间的最大传输时延。Optionally, the first target delay is a maximum transmission delay of the flow between the UPF network element and the UE.
可选地,还通过接收模块1810从所述SMF网元接收所述流的带宽需求信息;还通过处理模块1820根据所述流的带宽需求信息为所述流预留带宽资源。Optionally, the bandwidth requirement information of the flow is also received from the SMF network element through the receiving module 1810; and the bandwidth resource is reserved for the flow according to the bandwidth requirement information of the flow through the processing module 1820.
可选地,还通过接收模块1810从所述SMF网元接收第一信息,所述第一信息用于指示所述UE对应的接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。Optionally, first information is further received from the SMF network element through a receiving module 1810, where the first information is used to instruct an access network device corresponding to the UE to predict the flow according to the bandwidth requirement information of the flow Whether the reserved bandwidth resources are successful.
在另一些可能的实现方式中,通信装置1800可以用于执行图26、图28、图29或图33所描述的通信方法中由UPF网元执行的步骤。这种情况下,通信装置1800可以是UPF网元,或,可以是能够集成在UPF网元中的芯片。In some other possible implementation manners, the communication device 1800 may be configured to execute the steps performed by the UPF network element in the communication method described in FIG. 26, FIG. 28, FIG. 29, or FIG. 33. In this case, the communication device 1800 may be a UPF network element, or may be a chip capable of being integrated in the UPF network element.
通信装置1800可以用于通过接收模块1810从UE或SMF网元接收流的第二时延信息,所述第二时延信息用于指示所述流从时间敏感网络TSN中的流服务提供者传输至所述UPF网元的第二时延;通过处理模块1820根据所述第二时延和第二目标时延,确定第三时延,所述第二目标时延是指所述流从所述UPF网元传输至所述TSN网络中作为所述UPF网元的下一跳的目标网元的时延,所述第三时延是指所述流从所述流服务提供者传输至所述目标网元的时延;通过发送模块1830向所述目标网元发送第三时延信息,所述第三时延信息用于指示所述第三时延。The communication device 1800 may be configured to receive the second delay information of the stream from the UE or the SMF network element through the receiving module 1810, where the second delay information is used to instruct the stream to be transmitted from a stream service provider in a time-sensitive network TSN A second delay to the UPF network element; the processing module 1820 determines a third delay according to the second delay and a second target delay, where the second target delay refers to the flow from A delay of the transmission of the UPF network element to the target network element that is the next hop of the UPF network element in the TSN network, and the third delay refers to the transmission of the flow from the flow service provider to all The delay of the target network element; and sending the third delay information to the target network element through the sending module 1830, where the third delay information is used to indicate the third delay.
可选地,具体通过处理模块1820将所述第二时延和所述第二目标时延之和作为所述第三时延。Optionally, a processing module 1820 specifically uses the sum of the second delay and the second target delay as the third delay.
可选地,还通过接收模块1810从所述SMF网元接收所述流的带宽需求信息;还通过处理模块1820根据所述流的带宽需求信息为所述流预留带宽资源。Optionally, the bandwidth requirement information of the flow is also received from the SMF network element through the receiving module 1810; and the bandwidth resource is reserved for the flow according to the bandwidth requirement information of the flow through the processing module 1820.
可选地,还通过接收模块1810从所述SMF网元接收第一信息,所述第一信息用于指示所述UE对应的接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。Optionally, first information is further received from the SMF network element through a receiving module 1810, where the first information is used to instruct an access network device corresponding to the UE to predict the flow according to the bandwidth requirement information of the flow. Whether the reserved bandwidth resources are successful.
在另一些可能的实现方式中,通信装置1800可以用于执行图20、图22、图23或图32所描述的通信方法中由UE执行的步骤。这种情况下,通信装置1800可以是UE,或,可以是能够集成在UE中的芯片。In some other possible implementation manners, the communication device 1800 may be configured to perform steps performed by a UE in the communication method described in FIG. 20, FIG. 22, FIG. 23, or FIG. 32. In this case, the communication device 1800 may be a UE, or may be a chip capable of being integrated in the UE.
例如,通信装置1800可以用于通过接收模块1810从SMF网元或UPF网元接收流的第二时延信息,所述第二时延信息用于指示所述流从TSN中的流服务提供者传输至所述UE的第二时延;通过处理模块1820根据所述第二时延和第二目标时延,确定第三时延,所述第二目标时延是指所述流从所述UE传输至所述TSN网络中作为所述UE的下一跳的目标网元的时延,所述第三时延是指所述流从所述流服务提供者传输至所述目标网元的时延;通过发送模块1830向所述目标网元发送第三时延信息,所述第三时延信息用于指示所述第三时延。For example, the communication device 1800 may be configured to receive the second delay information of the flow from the SMF network element or the UPF network element through the receiving module 1810, where the second delay information is used to indicate that the flow is from a flow service provider in the TSN. A second delay transmitted to the UE; a third delay is determined by the processing module 1820 according to the second delay and a second target delay, where the second target delay refers to the flow from the A delay of the UE transmitting to the target network element that is the next hop of the UE in the TSN network, and the third delay refers to the transmission of the stream from the stream service provider to the target network element Time delay; sending third delay information to the target network element through a sending module 1830, where the third time delay information is used to indicate the third time delay.
可选地,具体通过处理模块1820将所述第二时延和所述第二目标时延之和作为所述第三时延。Optionally, a processing module 1820 specifically uses the sum of the second delay and the second target delay as the third delay.
在另一些可能的实现方式中,通信装置1800可以用于执行图21或图31所描述的通信方法中由UE执行的步骤。这种情况下,通信装置1800可以是UE,或,可以是能够集成在UE中的芯片。In other possible implementation manners, the communication device 1800 may be configured to perform steps performed by a UE in the communication method described in FIG. 21 or FIG. 31. In this case, the communication device 1800 may be a UE, or may be a chip capable of being integrated in the UE.
例如,通信装置1800可以用于通过接收模块1810接收流的第一时延信息,所述第一时延信息用于指示所述流从时间敏感网络TSN中的流服务提供者传输至第一通信设备的第一时延;通过发送模块1830向会话管理功能SMF网元发送所述流的信息,所述流的信息用于所述流对应的服务质量参数的确定;通过接收模块1810从所述SMF网元接收所述流对应的服务质量参数;通过处理模块1820根据所述流对应的服务质量参数确定第一目标时延,所述第一目标时延是指所述流在所述UE与用户面功能UPF网元之间传输的时延;通过处理模块1820根据所述第一时延、所述第一目标时延和第二目标时延,确定第三时延,所述第二目标时延是指所述流从第二通信设备传输至所述TSN网络中作为所述第二通信设备的下一跳的目标网元的时延,所述第三时延是指所述流从所述流服务提供者传输至所述目标网元的时延;通过发送模块1830发送第三时延信息,所述第三时延信息用于指示所述第三时延;其中,所述第一通信设备为所述UPF网元且所述第二通信设备为所述UE,或,所述第一通信设备为所述UE且所述第二通信设备为所述UPF网元。For example, the communication device 1800 may be configured to receive the first delay information of the flow through the receiving module 1810, where the first delay information is used to instruct the flow to be transmitted from the streaming service provider in the time-sensitive network TSN to the first communication. The first delay of the device; sending the flow information to the session management function SMF network element through the sending module 1830, and the flow information is used to determine the quality of service parameters corresponding to the flow; The SMF network element receives the quality of service parameter corresponding to the flow; the processing module 1820 determines a first target delay according to the quality of service parameter corresponding to the flow, where the first target delay refers to the flow between the UE and the UE. Delay of transmission between user plane functions UPF network elements; the processing module 1820 determines a third delay according to the first delay, the first target delay, and the second target delay, and the second target The delay refers to a delay in which the flow is transmitted from the second communication device to the target network element in the TSN network that is the next hop of the second communication device, and the third delay refers to the flow from The streaming service provider transmits The delay of the target network element; sending third delay information through a sending module 1830, where the third delay information is used to indicate the third delay; wherein the first communication device is the UPF network And the second communication device is the UE, or the first communication device is the UE and the second communication device is the UPF network element.
可选地,具体通过处理模块1820将所述第一时延、第一目标时延和所述第二目标时延之和作为所述第三时延。Optionally, the processing module 1820 specifically uses the sum of the first delay, the first target delay, and the second target delay as the third delay.
可选地,所述第一目标时延为所述流在所述UPF网元与所述UE之间的最大传输时延。Optionally, the first target delay is a maximum transmission delay of the flow between the UPF network element and the UE.
在另一些可能的实现方式中,通信装置1800可以用于执行图29所描述的通信方法中由UE执行的步骤。这种情况下,通信装置1800可以是UE,或,可以是能够集成在UE中的芯片。In other possible implementations, the communication device 1800 may be configured to perform steps performed by the UE in the communication method described in FIG. 29. In this case, the communication device 1800 may be a UE, or may be a chip capable of being integrated in the UE.
例如,通信装置1800可以用于通过接收模块1810接收流的第一时延信息,所述第一时延信息用于指示所述流从TSN中的流服务提供者传输至所述UE的第一时延;通过发送模块1830向SMF网元发送所述流的信息,所述流的信息用于所述流对应的服务质量参数 的确定;通过接收模块1810从所述SMF网元接收所述流对应的服务质量参数;通过处理模块1820根据所述流对应的服务质量参数确定第一目标时延,所述第一目标时延是指所述流在所述UE与用户面功能UPF网元之间传输的时延;通过处理模块1820根据所述第一时延和所述第一目标时延,确定第二时延,所述第二时延是指所述流从所述流服务提供者传输至所述UPF网元的时延;通过发送模块1830向所述UPF网元发送第二时延信息,所述第二时延信息用于指示所述第二时延。For example, the communication device 1800 may be configured to receive first delay information of a stream through the receiving module 1810, where the first delay information is used to indicate that the stream is transmitted from a stream service provider in the TSN to the first of the UE. Time delay; sending the flow information to the SMF network element through the sending module 1830, the flow information is used to determine the quality of service parameters corresponding to the flow; receiving the flow from the SMF network element through the receiving module 1810 Corresponding quality of service parameters; the first target delay is determined by the processing module 1820 according to the quality of service parameters corresponding to the flow, and the first target delay refers to the flow between the UE and the user plane function UPF network element The delay between transmissions; the processing module 1820 determines a second delay according to the first delay and the first target delay, where the second delay refers to the flow from the flow service provider A delay transmitted to the UPF network element; and sending a second delay information to the UPF network element through a sending module 1830, where the second delay information is used to indicate the second delay.
可选地,具体通过处理模块1820将第一时延和第一目标时延之和确定为所述第二时延。Optionally, the sum of the first delay and the first target delay is specifically determined as the second delay by the processing module 1820.
可选地,所述第一目标时延为所述流在所述UPF网元与所述UE之间的最大传输时延。Optionally, the first target delay is a maximum transmission delay of the flow between the UPF network element and the UE.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art may realize that the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and are not repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not implemented. 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, which may be 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, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately 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 embodiment of the present application may be a central processing unit (CPU), and the processor may also be other general-purpose 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 gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机 存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application is essentially a part that contributes to the existing technology or a part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application. The aforementioned storage media include: U disks, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks or compact discs and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of this application, but the scope of protection of this application is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in this application. It should be covered by the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (46)

  1. 一种通信方法,其特征在于,包括:A communication method, comprising:
    会话管理功能SMF网元从用户面功能UPF网元接收流的第一时延信息,所述第一时延信息用于指示所述流从时间敏感网络TSN中的流服务提供者传输至所述UPF网元的第一时延;The session management function SMF network element receives the first delay information of the flow from the user plane function UPF network element, and the first delay information is used to instruct the flow to be transmitted to the flow service provider in the time-sensitive network TSN from the flow service provider. The first delay of the UPF network element;
    所述SMF网元根据所述流的策略与计费控制PCC规则确定所述流从所述UPF网元传输至终端设备UE的第三时延;Determining, by the SMF network element, a third delay in transmitting the flow from the UPF network element to a terminal device UE according to a policy and charging control PCC rule of the flow;
    所述SMF网元根据所述第一时延和所述第三时延,确定所述流从所述TSN中的所述流服务提供者传输至所述UE的第二时延;Determining, by the SMF network element, a second delay for transmitting the stream from the stream service provider in the TSN to the UE according to the first delay and the third delay;
    所述SMF网元向所述UPF网元发送第二时延信息,所述第二时延信息用于指示所述第二时延。The SMF network element sends second delay information to the UPF network element, and the second delay information is used to indicate the second delay.
  2. 根据权利要求1所述的通信方法,其特征在于,所述SMF网元根据所述第一时延和所述第三时延,确定所述流从所述TSN中的所述流服务提供者传输至所述UE的第二时延,包括:The communication method according to claim 1, wherein the SMF network element determines the stream from the stream service provider in the TSN according to the first delay and the third delay. The second delay transmitted to the UE includes:
    所述SMF网元将所述第一时延与所述第三时延之和,确定为所述第二时延。The SMF network element determines the sum of the first delay and the third delay as the second delay.
  3. 一种通信方法,其特征在于,包括:A communication method, comprising:
    会话管理功能SMF网元从终端设备UE接收流的第一时延信息,所述第一时延信息用于指示第一时延;A session management function SMF network element receives first delay information of a stream from a terminal device UE, where the first delay information is used to indicate the first delay;
    所述SMF网元根据所述流的策略与计费控制PCC规则确定所述流从所述UE传输至用户面功能UPF网元的第三时延;Determining, by the SMF network element, a third delay in transmitting the flow from the UE to a user plane function UPF network element according to a policy and charging control PCC rule of the flow;
    所述SMF网元根据所述第一时延和所述第三时延,确定所述流从所述UE传输至所述UPF网元的第二时延;Determining, by the SMF network element, a second delay for transmitting the stream from the UE to the UPF network element according to the first delay and the third delay;
    所述SMF网元向所述UPF网元发送第二时延信息,所述第二时延信息用于指示所述第二时延。The SMF network element sends second delay information to the UPF network element, and the second delay information is used to indicate the second delay.
  4. 根据权利要求3所述的通信方法,其特征在于,所述SMF网元根据所述第一时延和所述第三时延,确定所述流从所述UE传输至所述UPF的第二时延,包括:The communication method according to claim 3, wherein the SMF network element determines a second transmission of the stream from the UE to the UPF according to the first delay and the third delay. Delay, including:
    所述SMF网元将所述第一时延与所述第三时延相加,并减去所述流从所述UE传输至所述UPF网元的传输时延的默认值所得到的值,确定为所述第二时延。A value obtained by adding, by the SMF network element, the first delay and the third delay, and subtracting a default value of a transmission delay of the stream from the UE to the UPF network element Is determined as the second delay.
  5. 一种通信方法,其特征在于,包括:A communication method, comprising:
    会话管理功能SMF网元从终端设备UE接收流的信息;The session management function SMF network element receives flow information from the terminal device UE;
    所述SMF网元根据所述流的信息和所述流的策略与计费控制PCC规则,确定所述流从所述UE传输至用户面功能UPF网元的第三时延;Determining, by the SMF network element, a third time delay for transmitting the flow from the UE to a user plane function UPF network element according to the flow information and the policy and charging control PCC rules of the flow;
    所述SMF网元向所述UE发送第一时延信息,所述第一时延信息用于指示所述第三时延。The SMF network element sends first delay information to the UE, where the first delay information is used to indicate the third delay.
  6. 一种通信方法,其特征在于,包括:A communication method, comprising:
    会话管理功能SMF网元从第一通信设备接收流的第一时延信息,所述第一时延信息用于指示所述流从时间敏感网络TSN中的流服务提供者传输至所述第一通信设备的第一 时延;The session management function SMF network element receives first delay information of a stream from a first communication device, where the first delay information is used to instruct the stream to be transmitted from a stream service provider in a time-sensitive network TSN to the first First delay of communication equipment;
    所述SMF网元根据所述流的策略与计费控制PCC规则确定所述流从所述第一通信设备传输至第二通信设备的第一目标时延;Determining, by the SMF network element, a first target delay in transmitting the flow from the first communication device to the second communication device according to a policy and charging control PCC rule of the flow;
    所述SMF网元根据所述第一时延、所述第一目标时延和第二目标时延,确定所述流从所述流服务提供者传输至所述TSN中作为所述第二通信设备的下一跳的目标网元的第三时延,所述第二目标时延为所述流从所述第二通信设备传输至所述目标网元的时延;Determining, by the SMF network element, that the stream is transmitted from the stream service provider to the TSN as the second communication according to the first delay, the first target delay, and the second target delay A third delay of a target network element of a next hop of the device, where the second target delay is a delay of the stream being transmitted from the second communication device to the target network element;
    所述SMF网元向所述第一通信设备发送第三时延信息,所述第三时延信息用于指示所述第三时延;Sending, by the SMF network element, third delay information to the first communication device, where the third delay information is used to indicate the third delay;
    其中,所述第一通信设备为用户面功能UPF网元且所述第二通信设备为终端设备UE,或,所述第一通信设备为所述UE且所述第二通信设备为所述UPF网元。The first communication device is a user plane function UPF network element and the second communication device is a terminal device UE, or the first communication device is the UE and the second communication device is the UPF Network element.
  7. 一种通信方法,其特征在于,包括:A communication method, comprising:
    会话管理功能SMF网元从用户面功能UPF网元或终端设备UE接收流的第一时延信息,所述第一时延信息用于指示所述流从时间敏感网络TSN中的流服务提供者传输至第一通信设备的第一时延;The session management function SMF network element receives the first delay information of the flow from the user plane function UPF network element or the terminal device UE, and the first delay information is used to instruct the flow from a flow service provider in a time-sensitive network TSN A first delay transmitted to the first communication device;
    所述SMF网元根据所述流的策略与计费控制PCC规则确定所述流在所述UPF网元与终端设备UE之间传输的第一目标时延;Determining, by the SMF network element, a first target delay for transmitting the flow between the UPF network element and a terminal device UE according to a policy and charging control PCC rule of the flow;
    所述SMF网元根据所述第一时延和所述第一目标时延,确定所述流从所述TSN中的所述流服务提供者传输至第二通信设备的第二时延;Determining, by the SMF network element, a second delay for transmitting the stream from the stream service provider in the TSN to a second communication device according to the first delay and the first target delay;
    所述SMF网元向所述UPF网元或所述UE发送第二时延信息,所述第二时延信息用于指示所述第二时延;Sending, by the SMF network element, the second delay information to the UPF network element or the UE, where the second delay information is used to indicate the second delay;
    其中,所述第一通信设备为所述UPF网元且所述第二通信设备为所述UE,或,所述第一通信设备为所述UE且所述第二通信设备为所述UPF网元。Wherein, the first communication device is the UPF network element and the second communication device is the UE, or the first communication device is the UE and the second communication device is the UPF network yuan.
  8. 根据权利要求1至7中任一项所述的通信方法,其特征在于,所述通信方法还包括:The communication method according to any one of claims 1 to 7, wherein the communication method further comprises:
    所述SMF网元根据所述PCC规则确定能为所述流预留带宽资源。The SMF network element determines that a bandwidth resource can be reserved for the flow according to the PCC rule.
  9. 根据权利要求1至8中任一项所述的通信方法,其特征在于,所述通信方法还包括:The communication method according to any one of claims 1 to 8, wherein the communication method further comprises:
    所述SMF网元向所述UPF网元发送所述流的带宽需求信息。The SMF network element sends the flow bandwidth requirement information to the UPF network element.
  10. 根据权利要求1至9中任一项所述的通信方法,其特征在于,所述通信方法还包括:The communication method according to any one of claims 1 to 9, wherein the communication method further comprises:
    所述SMF网元向所述UE对应的接入网设备发送所述流的带宽需求信息。Sending, by the SMF network element, the bandwidth requirement information of the flow to an access network device corresponding to the UE.
  11. 根据权利要求10所述的通信方法,其特征在于,所述通信方法还包括:The communication method according to claim 10, wherein the communication method further comprises:
    所述SMF网元从所述接入网设备接收第一信息,所述第一信息用于指示所述接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。The SMF network element receives first information from the access network device, and the first information is used to indicate whether the access network device successfully reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
  12. 根据权利要求1至11中任一项所述的通信方法,其特征在于,所述通信方法还包括:The communication method according to any one of claims 1 to 11, wherein the communication method further comprises:
    所述SMF网元向策略控制功能PCF网元发送所述流的信息,所述流的信息用于所述流的PCC规则的确定;The SMF network element sends the flow information to a policy control function PCF network element, and the flow information is used for determining a PCC rule of the flow;
    所述SMF网元从所述PCF网元接收所述PCC规则。The SMF network element receives the PCC rule from the PCF network element.
  13. 一种通信方法,其特征在于,包括:A communication method, comprising:
    用户面功能UPF网元从时间敏感网络TSN接收流的第一时延信息,所述第一时延信息用于指示所述流从所述TSN中的流服务提供者传输至所述UPF网元的第一时延;The user plane function UPF network element receives the first delay information of the flow from the time-sensitive network TSN, and the first delay information is used to instruct the flow to be transmitted from the stream service provider in the TSN to the UPF network element. First delay
    所述UPF网元向会话管理功能SMF网元发送所述第一时延信息,所述第一时延信息用于第二时延的确定,所述第二时延为所述流从所述TSN网络中的所述流服务提供者传输至终端设备UE的时延;The UPF network element sends the first delay information to a session management function SMF network element, the first delay information is used for determining a second delay, and the second delay is for the flow from the A delay in transmission of the stream service provider to the terminal device UE in the TSN network;
    所述UPF网元从所述SMF网元接收第二时延信息,所述第二时延信息用于指示所述第二时延;Receiving, by the UPF network element, second delay information from the SMF network element, where the second delay information is used to indicate the second delay;
    所述UPF网元向所述UE发送所述第二时延信息。Sending, by the UPF network element, the second delay information to the UE.
  14. 一种通信方法,其特征在于,包括:A communication method, comprising:
    用户面功能UPF网元从时间敏感网络TSN接收流的第一时延信息,所述第一时延信息用于指示所述流从所述TSN中的流服务提供者传输至所述UPF网元的第一时延;The user plane function UPF network element receives the first delay information of the flow from the time-sensitive network TSN, and the first delay information is used to instruct the flow to be transmitted from the stream service provider in the TSN to the UPF network element. First delay
    所述UPF网元向会话管理功能SMF网元发送所述流的信息,所述流的信息用于所述流对应的服务质量参数的确定;The UPF network element sends the flow information to the session management function SMF network element, and the flow information is used to determine a quality of service parameter corresponding to the flow;
    所述UPF网元从所述SMF网元接收所述服务质量参数;Receiving, by the UPF network element, the quality of service parameter from the SMF network element;
    所述UPF网元根据所述服务质量参数确定所述流从所述UPF网元传输至终端设备UE的第一目标时延;Determining, by the UPF network element according to the quality of service parameter, a first target delay in transmitting the stream from the UPF network element to a terminal device UE;
    所述UPF网元根据所述第一时延和所述第一目标时延,确定第二时延,所述第二时延是指所述流从所述流服务提供者传输至所述UE的时延;Determining, by the UPF network element, a second delay according to the first delay and the first target delay, where the second delay refers to the transmission of the stream from the stream service provider to the UE Delay
    所述UPF网元向所述UE发送第二时延信息,所述第二时延信息用于指示所述第二时延。The UPF network element sends second delay information to the UE, where the second delay information is used to indicate the second delay.
  15. 一种通信方法,其特征在于,包括:A communication method, comprising:
    用户面功能UPF网元从时间敏感网络TSN或终端设备UE接收流的第一时延信息,所述第一时延信息用于指示所述流从所述TSN中的流服务提供者传输至第一通信设备的第一时延;The user plane function UPF network element receives the first delay information of the stream from the time-sensitive network TSN or the terminal device UE, and the first delay information is used to instruct the stream to be transmitted from the stream service provider in the TSN to the first A first delay of a communication device;
    所述UPF网元向会话管理功能SMF网元发送所述流的信息,所述流的信息用于所述流对应的服务质量参数的确定;The UPF network element sends the flow information to the session management function SMF network element, and the flow information is used to determine a quality of service parameter corresponding to the flow;
    所述UPF网元从所述SMF网元接收所述流对应的服务质量参数;Receiving, by the UPF network element, the quality of service parameter corresponding to the flow from the SMF network element;
    所述UPF网元根据所述流对应的服务质量参数确定第一目标时延,所述第一目标时延是指所述流在终端设备UE与所述UPF网元之间传输的时延;Determining, by the UPF network element, a first target delay according to a service quality parameter corresponding to the flow, where the first target delay refers to a delay in transmitting the flow between a terminal device UE and the UPF network element;
    所述UPF网元根据所述第一时延、所述第一目标时延和第二目标时延,确定第三时延,所述第二目标时延是指所述流从第二通信设备传输至所述TSN网络中作为所述第二通信设备的下一跳的目标网元的时延,所述第三时延是指所述流从所述流服务提供者传输至所述目标网元的时延;The UPF network element determines a third delay according to the first delay, the first target delay, and the second target delay. The second target delay refers to the flow from the second communication device. A delay of transmission to the target network element that is the next hop of the second communication device in the TSN network, the third delay refers to the transmission of the stream from the stream service provider to the target network Yuan delay
    所述UPF网元发送第三时延信息,所述第三时延信息用于指示所述第三时延;Sending, by the UPF network element, third delay information, where the third delay information is used to indicate the third delay;
    其中,所述第一通信设备为所述UPF网元且所述第二通信设备为所述UE,或,所述第一通信设备为所述UE且所述第二通信设备为所述UPF网元。Wherein, the first communication device is the UPF network element and the second communication device is the UE, or the first communication device is the UE and the second communication device is the UPF network yuan.
  16. 一种通信方法,其特征在于,包括:A communication method, comprising:
    用户面功能UPF网元从终端设备UE或会话管理功能SMF网元接收流的第二时延信 息,所述第二时延信息用于指示所述流从时间敏感网络TSN中的流服务提供者传输至所述UPF网元的第二时延;The user plane function UPF network element receives the second delay information of the flow from the terminal device UE or the session management function SMF network element, and the second delay information is used to instruct the flow from the flow service provider in the time-sensitive network TSN A second delay transmitted to the UPF network element;
    所述UPF网元根据所述第二时延和第二目标时延,确定第三时延,所述第二目标时延是指所述流从所述UPF网元传输至所述TSN网络中作为所述UPF网元的下一跳的目标网元的时延,所述第三时延是指所述流从所述流服务提供者传输至所述目标网元的时延;Determining, by the UPF network element, a third delay according to the second delay and the second target delay, where the second target delay refers to the transmission of the stream from the UPF network element to the TSN network As the delay of the target network element of the next hop of the UPF network element, the third delay refers to the delay of the transmission of the flow from the flow service provider to the target network element;
    所述UPF网元向所述目标网元发送第三时延信息,所述第三时延信息用于指示所述第三时延。The UPF network element sends third delay information to the target network element, and the third delay information is used to indicate the third delay.
  17. 根据权利要求13至16中任一项所述的通信方法,其特征在于,所述通信方法包括:The communication method according to any one of claims 13 to 16, wherein the communication method comprises:
    所述UPF网元从所述SMF网元接收所述流的带宽需求信息;Receiving, by the UPF network element, the bandwidth requirement information of the flow from the SMF network element;
    所述UPF网元根据所述流的带宽需求信息为所述流预留带宽资源。The UPF network element reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
  18. 根据权利要求13至17中任一项所述的通信方法,其特征在于,所述通信方法还包括:The communication method according to any one of claims 13 to 17, wherein the communication method further comprises:
    所述UPF网元从所述SMF网元接收第一信息,所述第一信息用于指示所述UE对应的接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。The UPF network element receives first information from the SMF network element, and the first information is used to indicate whether an access network device corresponding to the UE reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow. success.
  19. 一种通信方法,其特征在于,包括:A communication method, comprising:
    终端设备UE向会话管理功能SMF网元发送流的信息,所述流的信息用于所述流从所述UE传输至用户面功能UPF网元的第三时延的确定;The terminal device UE sends flow information to the session management function SMF network element, and the flow information is used to determine a third delay of the flow transmitted from the UE to the user plane function UPF network element;
    所述UE从所述SMF网元接收第一时延信息,所述第一时延信息用于指示所述第三时延;Receiving, by the UE, first delay information from the SMF network element, where the first delay information is used to indicate the third delay;
    所述UE根据所述第三时延,确定所述流从所述UE传输至所述UPF网元的目标时延;Determining, by the UE, a target delay for transmitting the stream from the UE to the UPF network element according to the third delay;
    所述UE向所述UPF网元发送第二时延信息,所述第二时延信息用于指示所述目标时延。Sending, by the UE, second delay information to the UPF network element, where the second delay information is used to indicate the target delay.
  20. 一种通信方法,其特征在于,包括:A communication method, comprising:
    终端设备UE从会话管理功能SMF网元或用户面功能UPF网元接收流的第二时延信息,所述第二时延信息用于指示所述流从时间敏感网络TSN中的流服务提供者传输至所述UE的第二时延;The terminal device UE receives the second delay information of the flow from the session management function SMF network element or the user plane function UPF network element, and the second delay information is used to instruct the flow from the flow service provider in the time-sensitive network TSN A second delay transmitted to the UE;
    所述UE根据所述第二时延和第二目标时延,确定第三时延,所述第二目标时延是指所述流从所述UE传输至所述TSN网络中作为所述UE的下一跳的目标网元的时延,所述第三时延是指所述流从所述流服务提供者传输至所述目标网元的时延;Determining, by the UE, a third delay according to the second delay and a second target delay, where the second target delay refers to the transmission of the stream from the UE to the TSN network as the UE The delay of the target network element of the next hop of the, the third delay refers to the delay of the stream being transmitted from the stream service provider to the target network element;
    所述UE向所述目标网元发送第三时延信息,所述第三时延信息用于指示所述第三时延。Sending, by the UE, third delay information to the target network element, where the third delay information is used to indicate the third delay.
  21. 一种通信方法,其特征在于,包括:A communication method, comprising:
    终端设备UE接收流的第一时延信息,所述第一时延信息用于指示所述流从时间敏感网络TSN中的流服务提供者传输至第一通信设备的第一时延;A terminal device UE receives first delay information of a flow, where the first delay information is used to indicate a first delay in transmitting the flow from a streaming service provider in a time-sensitive network TSN to a first communication device;
    所述UE向会话管理功能SMF网元发送所述流的信息,所述流的信息用于所述流对应的服务质量参数的确定;Sending, by the UE, the flow information to a session management function SMF network element, where the flow information is used to determine a quality of service parameter corresponding to the flow;
    所述UE从所述SMF网元接收所述流对应的服务质量参数;Receiving, by the UE, a quality of service parameter corresponding to the flow from the SMF network element;
    所述UE根据所述流对应的服务质量参数确定第一目标时延,所述第一目标时延是指 所述流在所述UE与用户面功能UPF网元之间传输的时延;Determining, by the UE, a first target delay according to a quality of service parameter corresponding to the flow, where the first target delay refers to a delay in transmitting the flow between the UE and a user plane function UPF network element;
    所述UE根据所述第一时延、所述第一目标时延和第二目标时延,确定第三时延,所述第二目标时延是指所述流从第二通信设备传输至所述TSN网络中作为所述第二通信设备的下一跳的目标网元的时延,所述第三时延是指所述流从所述流服务提供者传输至所述目标网元的时延;Determining, by the UE, a third delay according to the first delay, the first target delay, and the second target delay, where the second target delay refers to the transmission of the stream from the second communication device to A delay of a target network element that is a next hop of the second communication device in the TSN network, and the third delay refers to a time during which the stream is transmitted from the stream service provider to the target network element Delay
    所述UE发送第三时延信息,所述第三时延信息用于指示所述第三时延;Sending, by the UE, third delay information, where the third delay information is used to indicate the third delay;
    其中,所述第一通信设备为所述UPF网元且所述第二通信设备为所述UE,或,所述第一通信设备为所述UE且所述第二通信设备为所述UPF网元。Wherein, the first communication device is the UPF network element and the second communication device is the UE, or the first communication device is the UE and the second communication device is the UPF network yuan.
  22. 一种通信方法,其特征在于,包括:A communication method, comprising:
    终端设备UE接收流的第一时延信息,所述第一时延信息用于指示所述流从时间敏感网络TSN中的流服务提供者传输至所述UE的第一时延;A terminal device UE receives first delay information of a stream, where the first delay information is used to indicate a first delay of the stream being transmitted from a stream service provider in a time-sensitive network TSN to the UE;
    所述UE向会话管理功能SMF网元发送所述流的信息,所述流的信息用于所述流对应的服务质量参数的确定;Sending, by the UE, the flow information to a session management function SMF network element, where the flow information is used to determine a quality of service parameter corresponding to the flow;
    所述UE从所述SMF网元接收所述流对应的服务质量参数;Receiving, by the UE, a quality of service parameter corresponding to the flow from the SMF network element;
    所述UE根据所述流对应的服务质量参数确定第一目标时延,所述第一目标时延是指所述流在所述UE与用户面功能UPF网元之间传输的时延;Determining, by the UE, a first target delay according to a quality of service parameter corresponding to the flow, where the first target delay refers to a delay in transmitting the flow between the UE and a user plane function UPF network element;
    所述UE根据所述第一时延和所述第一目标时延,确定第二时延,所述第二时延是指所述流从所述流服务提供者传输至所述UPF网元的时延;Determining, by the UE, a second delay according to the first delay and the first target delay, where the second delay refers to the transmission of the stream from the stream service provider to the UPF network element Delay
    所述UE向所述UPF网元发送第二时延信息,所述第二时延信息用于指示所述第二时延。Sending, by the UE, second delay information to the UPF network element, where the second delay information is used to indicate the second delay.
  23. 一种通信方法,其特征在于,包括:A communication method, comprising:
    用户面功能UPF网元从时间敏感网络TSN接收流的第一时延信息,所述第一时延信息用于指示所述流从TSN中的流服务提供者传输至所述UPF网元的第一时延;The user plane function UPF network element receives the first delay information of the flow from the time-sensitive network TSN, and the first delay information is used to instruct the flow to be transmitted from the stream service provider in the TSN to the first time of the UPF network element. A delay
    所述UPF网元向会话管理功能SMF网元发送流的信息,所述流的信息用于所述流从所述UPF网元传输至终端设备UE的第三时延的确定;Sending, by the UPF network element, session information to a session management function SMF network element, where the flow information is used for determining a third delay in transmitting the flow from the UPF network element to a terminal device UE;
    所述UPF网元从所述SMF网元接收第三时延信息,所述第三时延信息用于指示所述第三时延;Receiving, by the UPF network element, third delay information from the SMF network element, where the third delay information is used to indicate the third delay;
    所述UPF网元根据所述第一时延和所述第三时延,确定所述流从所述TSN网络中的所述流服务提供者传输至所述UE的第二时延;Determining, by the UPF network element according to the first delay and the third delay, a second delay in which the stream is transmitted from the stream service provider in the TSN network to the UE;
    所述UPF网元向所述UE发送第二时延信息,所述第二时延信息用于指示所述第二时延。The UPF network element sends second delay information to the UE, where the second delay information is used to indicate the second delay.
  24. 根据权利要求23所述的通信方法,其特征在于,所述UPF网元根据所述第一时延和所述第三时延,确定所述流从所述TSN网络中的所述流服务提供者传输至所述UE的第二时延,包括:The communication method according to claim 23, wherein the UPF network element determines that the stream is provided from the stream service in the TSN network according to the first delay and the third delay. The second delay of transmission from the UE to the UE includes:
    所述UPF网元将所述第一时延与所述第三时延之和,确定为所述第二时延。The UPF network element determines the sum of the first delay and the third delay as the second delay.
  25. 根据权利要求23或24所述的通信方法,其特征在于,所述通信方法包括:The communication method according to claim 23 or 24, wherein the communication method comprises:
    所述UPF网元从所述SMF网元接收所述流的带宽需求信息;Receiving, by the UPF network element, the bandwidth requirement information of the flow from the SMF network element;
    所述UPF网元根据所述流的带宽需求信息为所述流预留带宽资源。The UPF network element reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
  26. 根据权利要求23至25中任一项所述的通信方法,其特征在于,所述通信方法还 包括:The communication method according to any one of claims 23 to 25, wherein the communication method further comprises:
    所述UPF网元从所述SMF网元接收第一信息,所述第一信息用于指示所述UE对应的接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。The UPF network element receives first information from the SMF network element, and the first information is used to indicate whether an access network device corresponding to the UE reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow. success.
  27. 一种通信装置,其特征在于,包括接收模块,处理模块和发送模块;并且,A communication device, comprising a receiving module, a processing module, and a sending module; and,
    通过所述接收模块从用户面功能UPF网元接收流的第一时延信息,所述第一时延信息用于指示所述流从时间敏感网络TSN中的流服务提供者传输至所述UPF网元的第一时延;Receiving the first delay information of the flow from the user plane function UPF network element through the receiving module, where the first delay information is used to instruct the flow to be transmitted from the flow service provider in the time-sensitive network TSN to the UPF The first delay of the network element;
    通过所述处理模块根据所述流的策略与计费控制PCC规则确定所述流从所述UPF网元传输至终端设备UE的第三时延,以及通过所述处理模块根据所述第一时延和所述第三输时延,确定所述流从所述TSN中的所述流服务提供者传输至所述UE的第二时延;Determining, by the processing module, a third delay of the transmission of the flow from the UPF network element to the terminal device UE according to the policy and charging control PCC rules of the flow, and according to the first timing, by the processing module The delay and the third input delay to determine a second delay in which the stream is transmitted from the stream service provider in the TSN to the UE;
    通过所述发送模块向所述UPF网元发送第二时延信息,所述第二时延信息用于指示所述第二时延。Sending second delay information to the UPF network element through the sending module, where the second delay information is used to indicate the second delay.
  28. 根据权利要求27所述的通信装置,其特征在于,具体通过所述处理模块将所述第一时延与所述第三输时延之和,确定为所述第二时延。The communication device according to claim 27, wherein the sum of the first delay and the third input delay is determined as the second delay by the processing module.
  29. 一种通信装置,其特征在于,包括接收模块、处理模块和发送模块;并且,A communication device, comprising a receiving module, a processing module, and a sending module; and
    通过所述接收模块从终端设备UE接收流的第一时延信息,所述第一时延信息用于指示第一时延;Receiving the first delay information of the stream from the terminal device UE through the receiving module, where the first delay information is used to indicate the first delay;
    通过所述处理模块根据所述流的策略与计费控制PCC规则确定所述流从所述UE传输至用户面功能UPF网元的第三时延,以及根据所述第一时延和所述第三时延,确定所述流从所述UE传输至所述UPF网元的第二时延;Determining, by the processing module according to the policy and charging control PCC rules of the flow, a third delay for transmitting the flow from the UE to a user plane function UPF network element, and according to the first delay and the A third delay, determining a second delay in transmitting the stream from the UE to the UPF network element;
    通过所述发送模块向所述UPF网元发送第二时延信息,所述第二时延信息用于指示所述第二时延。Sending second delay information to the UPF network element through the sending module, where the second delay information is used to indicate the second delay.
  30. 根据权利要求29所述的通信装置,其特征在于,具体通过所述处理模块将所述第一时延与所述第三时延相加,并减去所述流从所述UE传输至所述UPF网元的传输时延的默认值所得到的值,确定为所述第二时延。The communication device according to claim 29, characterized in that the first delay and the third delay are specifically added by the processing module, and the stream is transmitted from the UE to all of them by subtracting the stream. The value obtained from the default value of the transmission delay of the UPF network element is determined as the second delay.
  31. 一种通信装置,其特征在于,包括接收模块,处理模块和发送模块;并且,A communication device, comprising a receiving module, a processing module, and a sending module; and,
    通过所述接收模块从终端设备UE接收流的信息;Receiving stream information from a terminal device UE through the receiving module;
    通过所述处理模块根据所述流的信息和所述流的策略与计费控制PCC规则,确定所述流从所述UE传输至用户面功能UPF网元的第三时延;Determining, by the processing module according to the flow information and the policy and charging control PCC rules of the flow, a third delay in transmitting the flow from the UE to a user plane function UPF network element;
    通过所述发送模块向所述UE发送第一时延信息,所述第一时延信息用于指示所述第三时延。Sending first delay information to the UE through the sending module, where the first delay information is used to indicate the third delay.
  32. 一种通信装置,其特征在于,包括:接收模块、处理模块和发送模块;并且,A communication device, comprising: a receiving module, a processing module, and a sending module; and
    通过所述接收模块从第一通信设备接收流的第一时延信息,所述第一时延信息用于指示所述流从时间敏感网络TSN中的流服务提供者传输至所述第一通信设备的第一时延;Receiving first delay information of a stream from a first communication device through the receiving module, where the first delay information is used to instruct the stream to be transmitted from a stream service provider in a time-sensitive network TSN to the first communication First delay of equipment;
    通过所述处理模块根据所述流的策略与计费控制PCC规则确定所述流从所述第一通信设备传输至第二通信设备的第一目标时延;Determining, by the processing module, a first target delay in transmitting the flow from the first communication device to the second communication device according to a policy and charging control PCC rule of the flow;
    通过所述处理模块根据所述第一时延、所述第一目标时延和第二目标时延,确定所述流从所述流服务提供者传输至所述TSN中作为所述第二通信设备的下一跳的目标网元的第三时延,所述第二目标时延为所述流从所述第二通信设备传输至所述目标网元的时延;Determining, by the processing module, that the stream is transmitted from the stream service provider to the TSN as the second communication according to the first delay, the first target delay, and the second target delay A third delay of a target network element of a next hop of the device, where the second target delay is a delay of the stream being transmitted from the second communication device to the target network element;
    通过所述发送模块向所述第一通信设备发送第三时延信息,所述第三时延信息用于指示所述第三时延;Sending third delay information to the first communication device through the sending module, where the third delay information is used to indicate the third delay;
    其中,所述第一通信设备为用户面功能UPF网元且所述第二通信设备为终端设备UE,或,所述第一通信设备为所述UE且所述第二通信设备为所述UPF网元。The first communication device is a user plane function UPF network element and the second communication device is a terminal device UE, or the first communication device is the UE and the second communication device is the UPF Network element.
  33. 一种通信装置,其特征在于,包括:接收模块,处理模块和发送模块;并且,A communication device, comprising: a receiving module, a processing module, and a sending module; and,
    通过所述接收模块从用户面功能UPF网元或终端设备UE接收流的第一时延信息,所述第一时延信息用于指示所述流从时间敏感网络TSN中的流服务提供者传输至第一通信设备的第一时延;Receiving the first delay information of the flow from the user plane function UPF network element or the terminal device UE through the receiving module, where the first delay information is used to instruct the flow to be transmitted from a streaming service provider in a time-sensitive network TSN A first time delay to a first communication device;
    通过所述处理模块根据所述流的策略与计费控制PCC规则确定所述流在所述UPF网元与终端设备UE之间传输的第一目标时延;Determining, by the processing module, a first target delay in transmitting the flow between the UPF network element and a terminal device UE according to a policy and charging control PCC rule of the flow;
    通过所述处理模块根据所述第一时延和所述第一目标时延,确定所述流从所述TSN中的所述流服务提供者传输至第二通信设备的第二时延;Determining, by the processing module, a second delay for transmitting the stream from the stream service provider in the TSN to a second communication device according to the first delay and the first target delay;
    通过所述发送模块向所述UPF网元或所述UE发送第二时延信息,所述第二时延信息用于指示所述第二时延;Sending second delay information to the UPF network element or the UE through the sending module, where the second delay information is used to indicate the second delay;
    其中,所述第一通信设备为所述UPF网元且所述第二通信设备为所述UE,或,所述第一通信设备为所述UE且所述第二通信设备为所述UPF网元。Wherein, the first communication device is the UPF network element and the second communication device is the UE, or the first communication device is the UE and the second communication device is the UPF network yuan.
  34. 根据权利要求27至33中任一项所述的通信装置,其特征在于,通过所述处理模块根据所述PCC规则确定能为所述流预留带宽资源。The communication device according to any one of claims 27 to 33, wherein the processing module determines that a bandwidth resource can be reserved for the flow according to the PCC rule.
  35. 根据权利要求27至34中任一项所述的通信装置,其特征在于,通过所述发送模块向策略控制功能PCF网元发送所述流的信息,所述流的信息用于所述流的PCC规则的确定;The communication device according to any one of claims 27 to 34, wherein the flow module sends the flow information to a policy control function PCF network element through the sending module, and the flow information is used for the flow. Determination of PCC rules;
    通过所述接收模块从所述PCF网元接收所述PCC规则。Receiving the PCC rule from the PCF network element through the receiving module.
  36. 一种通信装置,其特征在于,包括接收模块和发送模块;并且,A communication device, comprising a receiving module and a transmitting module; and
    通过所述接收模块从时间敏感网络TSN接收流的第一时延信息,所述第一时延信息用于指示所述流从所述TSN中的流服务提供者传输至所述UPF网元的第一时延;Receiving, by the receiving module, first delay information of a stream from a time-sensitive network TSN, where the first delay information is used to instruct the stream to be transmitted from a stream service provider in the TSN to the UPF network element First delay
    通过所述发送模块向会话管理功能SMF网元发送所述第一时延信息,所述第一时延信息用于第二时延的确定,所述第二时延为所述流从所述TSN网络中的所述流服务提供者传输至终端设备UE的时延;Sending the first delay information to a session management function SMF network element through the sending module, where the first delay information is used for determining a second delay, and the second delay is for the flow from the A delay in transmission of the stream service provider to the terminal device UE in the TSN network;
    通过所述接收模块从所述SMF网元接收第二时延信息,所述第二时延信息用于指示所述第二时延;Receiving second delay information from the SMF network element through the receiving module, where the second delay information is used to indicate the second delay;
    通过所述发送模块向所述UE发送所述第二时延信息。Sending the second delay information to the UE through the sending module.
  37. 一种通信装置,其特征在于,包括:接收模块、处理模块和发送模块;并且,A communication device, comprising: a receiving module, a processing module, and a sending module; and
    通过所述接收模块从时间敏感网络TSN接收流的第一时延信息,所述第一时延信息用于指示所述流从所述TSN中的流服务提供者传输至所述UPF网元的第一时延;Receiving first delay information of a stream from a time-sensitive network TSN through the receiving module, where the first delay information is used to instruct the stream to be transmitted from a stream service provider in the TSN to the UPF network element First delay
    通过所述发送模块向会话管理功能SMF网元发送所述流的信息,所述流的信息用于所述流对应的服务质量参数的确定;Sending the flow information to the session management function SMF network element through the sending module, where the flow information is used to determine a quality of service parameter corresponding to the flow;
    通过所述接收模块从所述SMF网元接收所述服务质量参数;Receiving the quality of service parameter from the SMF network element through the receiving module;
    通过所述处理模块根据所述服务质量参数确定所述流从所述UPF网元传输至所述UE的第一目标时延;Determining, by the processing module, a first target delay in transmitting the stream from the UPF network element to the UE according to the quality of service parameter;
    通过所述处理模块根据所述第一时延和所述第一目标时延,确定第二时延,所述第二时延是指所述流从所述流服务提供者传输至所述UE的时延;Determining, by the processing module, a second delay according to the first delay and the first target delay, where the second delay refers to the transmission of the stream from the stream service provider to the UE Delay
    通过所述发送模块向所述UE发送第二时延信息,所述第二时延信息用于指示所述第二时延。Sending second delay information to the UE through the sending module, where the second delay information is used to indicate the second delay.
  38. 一种通信装置,其特征在于,包括:接收模块,处理模块和发送模块;并且A communication device, comprising: a receiving module, a processing module, and a sending module; and
    通过所述接收模块从时间敏感网络TSN或终端设备UE接收流的第一时延信息,所述第一时延信息用于指示所述流从所述TSN中的流服务提供者传输至第一通信设备的第一时延;Receiving the first delay information of the stream from the time-sensitive network TSN or the terminal device UE through the receiving module, where the first delay information is used to instruct the stream to be transmitted from the stream service provider in the TSN to the first First delay of communication equipment;
    通过所述发送模块向会话管理功能SMF网元发送所述流的信息,所述流的信息用于所述流对应的服务质量参数的确定;Sending the flow information to the session management function SMF network element through the sending module, where the flow information is used to determine a quality of service parameter corresponding to the flow;
    通过所述接收模块从所述SMF网元接收所述流对应的服务质量参数;Receiving a quality of service parameter corresponding to the flow from the SMF network element through the receiving module;
    通过所述处理模块根据所述流对应的服务质量参数确定第一目标时延,所述第一目标时延是指所述流在终端设备UE与所述UPF网元之间传输的时延;Determining, by the processing module, a first target delay according to a quality of service parameter corresponding to the flow, where the first target delay refers to a delay in transmitting the flow between a terminal device UE and the UPF network element;
    通过所述处理模块根据所述第一时延、所述第一目标时延和第二目标时延,确定第三时延,所述第二目标时延是指所述流从第二通信设备传输至所述TSN网络中作为所述第二通信设备的下一跳的目标网元的时延,所述第三时延是指所述流从所述流服务提供者传输至所述目标网元的时延;Determining, by the processing module, a third delay according to the first delay, the first target delay, and the second target delay, where the second target delay refers to the flow from the second communication device A delay of transmission to the target network element that is the next hop of the second communication device in the TSN network, the third delay refers to the transmission of the stream from the stream service provider to the target network Yuan delay
    通过所述发送模块发送第三时延信息,所述第三时延信息用于指示所述第三时延;Sending third delay information through the sending module, where the third delay information is used to indicate the third delay;
    其中,所述第一通信设备为所述UPF网元且所述第二通信设备为所述UE,或,所述第一通信设备为所述UE且所述第二通信设备为所述UPF网元。Wherein, the first communication device is the UPF network element and the second communication device is the UE, or the first communication device is the UE and the second communication device is the UPF network yuan.
  39. 一种通信装置,其特征在于,包括:接收模块,处理模块和发送模块;并且,A communication device, comprising: a receiving module, a processing module, and a sending module; and,
    通过所述接收模块从终端设备UE或会话管理功能SMF网元接收流的第二时延信息,所述第二时延信息用于指示所述流从时间敏感网络TSN中的流服务提供者传输至所述UPF网元的第二时延;Receiving the second delay information of the flow from the terminal device UE or the session management function SMF network element through the receiving module, where the second delay information is used to instruct the flow to be transmitted from a flow service provider in a time-sensitive network TSN A second delay to the UPF network element;
    通过所述处理模块根据所述第二时延和第二目标时延,确定第三时延,所述第二目标时延是指所述流从所述UPF网元传输至所述TSN网络中作为所述UPF网元的下一跳的目标网元的时延,所述第三时延是指所述流从所述流服务提供者传输至所述目标网元的时延;Determining, by the processing module, a third delay according to the second delay and a second target delay, where the second target delay refers to the transmission of the stream from the UPF network element to the TSN network As the delay of the target network element of the next hop of the UPF network element, the third delay refers to the delay of the transmission of the flow from the flow service provider to the target network element;
    通过所述发送模块向所述目标网元发送第三时延信息,所述第三时延信息用于指示所述第四时延。Sending third delay information to the target network element through the sending module, where the third delay information is used to indicate the fourth delay.
  40. 一种通信装置,其特征在于,包括发送模块、接收模块和处理模块;并且,A communication device, comprising a sending module, a receiving module, and a processing module; and,
    通过所述发送模块向会话管理功能SMF网元发送流的信息,所述流的信息用于所述流从所述UE传输至用户面功能UPF网元的第三时延的确定;Sending the flow information to the session management function SMF network element through the sending module, where the flow information is used to determine a third delay of the flow being transmitted from the UE to the user plane function UPF network element;
    通过所述接收模块从所述SMF网元接收第一时延信息,所述第一时延信息用于指示所述第三时延;Receiving first delay information from the SMF network element through the receiving module, where the first delay information is used to indicate the third delay;
    通过所述处理模块根据所述第三时延,确定所述流从所述UE传输至所述UPF网元的目标时延;Determining, by the processing module according to the third delay, a target delay for transmitting the stream from the UE to the UPF network element;
    通过所述发送模块向所述UPF网元发送第二时延信息,所述第二时延信息用于指示所述目标时延。Sending second delay information to the UPF network element through the sending module, where the second delay information is used to indicate the target delay.
  41. 一种通信装置,其特征在于,包括:接收模块,处理模块和发送模块;并且,A communication device, comprising: a receiving module, a processing module, and a sending module; and,
    通过所述接收模块从会话管理功能SMF网元或用户面功能UPF网元接收流的第二时延信息,所述第二时延信息用于指示所述流从时间敏感网络TSN中的流服务提供者传输至所述UE的第二时延;Receiving the second delay information of the flow from the session management function SMF network element or the user plane function UPF network element through the receiving module, where the second delay information is used to instruct the flow from the flow service in the time-sensitive network TSN A second delay of transmission from the provider to the UE;
    通过所述处理模块根据所述第二时延和第二目标时延,确定第三时延,所述第二目标时延是指所述流从所述UE传输至所述TSN网络中作为所述UE的下一跳的目标网元的时延,所述第三时延是指所述流从所述流服务提供者传输至所述目标网元的时延;Determining, by the processing module, a third delay according to the second delay and a second target delay, where the second target delay refers to the transmission of the stream from the UE to the TSN network as a destination. The delay of the target network element of the next hop of the UE, and the third delay refers to a delay of the stream being transmitted from the stream service provider to the target network element;
    通过所述发送模块向所述目标网元发送第三时延信息,所述第三时延信息用于指示所述第三时延。Sending third delay information to the target network element through the sending module, where the third delay information is used to indicate the third delay.
  42. 一种通信装置,其特征在于,包括:接收模块,处理模块和发送模块;并且,A communication device, comprising: a receiving module, a processing module, and a sending module; and,
    通过所述接收模块接收流的第一时延信息,所述第一时延信息用于指示所述流从时间敏感网络TSN中的流服务提供者传输至第一通信设备的第一时延;Receiving first delay information of a stream through the receiving module, where the first delay information is used to indicate a first delay of the stream being transmitted from a stream service provider in a time-sensitive network TSN to a first communication device;
    通过所述发送模块向会话管理功能SMF网元发送所述流的信息,所述流的信息用于所述流对应的服务质量参数的确定;Sending the flow information to the session management function SMF network element through the sending module, where the flow information is used to determine a quality of service parameter corresponding to the flow;
    通过所述接收模块从所述SMF网元接收所述流对应的服务质量参数;Receiving a quality of service parameter corresponding to the flow from the SMF network element through the receiving module;
    通过所述处理模块根据所述流对应的服务质量参数确定第一目标时延,所述第一目标时延是指所述流在所述UE与用户面功能UPF网元之间传输的时延;Determining, by the processing module, a first target delay according to a quality of service parameter corresponding to the flow, where the first target delay refers to a delay in transmitting the flow between the UE and a user plane function UPF network element ;
    通过所述处理模块根据所述第一时延、所述第一目标时延和第二目标时延,确定第三时延,所述第二目标时延是指所述流从第二通信设备传输至所述TSN网络中作为所述第二通信设备的下一跳的目标网元的时延,所述第三时延是指所述流从所述流服务提供者传输至所述目标网元的时延;Determining, by the processing module, a third delay according to the first delay, the first target delay, and the second target delay, where the second target delay refers to the flow from the second communication device A delay of transmission to the target network element that is the next hop of the second communication device in the TSN network, the third delay refers to the transmission of the stream from the stream service provider to the target network Yuan delay
    通过所述发送模块发送第三时延信息,所述第三时延信息用于指示所述第三时延;Sending third delay information through the sending module, where the third delay information is used to indicate the third delay;
    其中,所述第一通信设备为所述UPF网元且所述第二通信设备为所述UE,或,所述第一通信设备为所述UE且所述第二通信设备为所述UPF网元。Wherein, the first communication device is the UPF network element and the second communication device is the UE, or the first communication device is the UE and the second communication device is the UPF network yuan.
  43. 一种通信装置,其特征在于,包括:接收模块、处理模块和发送模块;并且,A communication device, comprising: a receiving module, a processing module, and a sending module; and
    通过所述接收模块接收流的第一时延信息,所述第一时延信息用于指示所述流从时间敏感网络TSN中的流服务提供者传输至所述UE的第一时延;Receiving first delay information of a stream through the receiving module, where the first delay information is used to indicate a first delay of the stream being transmitted from a stream service provider in a time-sensitive network TSN to the UE;
    通过所述发送模块向会话管理功能SMF网元发送所述流的信息,所述流的信息用于所述流对应的服务质量参数的确定;Sending the flow information to the session management function SMF network element through the sending module, where the flow information is used to determine a quality of service parameter corresponding to the flow;
    通过所述接收模块从所述SMF网元接收所述流对应的服务质量参数;Receiving a quality of service parameter corresponding to the flow from the SMF network element through the receiving module;
    通过所述处理模块根据所述流对应的服务质量参数确定第一目标时延,所述第一目标时延是指所述流在所述UE与用户面功能UPF网元之间传输的时延;Determining, by the processing module, a first target delay according to a quality of service parameter corresponding to the flow, where the first target delay refers to a delay in transmitting the flow between the UE and a user plane function UPF network element ;
    通过所述处理模块根据所述第一时延和所述第一目标时延,确定第二时延,所述第二时延是指所述流从所述流服务提供者传输至所述UPF网元的时延;Determining, by the processing module, a second delay according to the first delay and the first target delay, where the second delay refers to the transmission of the stream from the stream service provider to the UPF Network element delay
    通过所述发送模块向所述UPF网元发送第二时延信息,所述第二时延信息用于指示所述第二时延。Sending second delay information to the UPF network element through the sending module, where the second delay information is used to indicate the second delay.
  44. 一种通信装置,其特征在于,包括接收模块、发送模块和处理模块;并且,A communication device, comprising a receiving module, a sending module, and a processing module; and
    通过所述接收模块从时间敏感网络TSN接收流的第一时延信息,所述第一时延信息用于指示所述流从TSN中的流服务提供者传输至所述UPF网元的第一时延;Receiving, by the receiving module, first delay information of a stream from a time-sensitive network TSN, where the first delay information is used to indicate that the stream is transmitted from a stream service provider in the TSN to the first of the UPF network element Delay
    通过所述发送模块向会话管理功能SMF网元发送流的信息,所述流的信息用于所述流从所述UPF网元传输至终端设备UE的第三时延的确定;Sending the flow information to the session management function SMF network element through the sending module, where the flow information is used to determine a third delay for the flow to be transmitted from the UPF network element to the terminal device UE;
    通过所述接收模块从所述SMF网元接收第三时延信息,所述第三时延信息用于指示所述第三时延;Receiving third delay information from the SMF network element through the receiving module, where the third delay information is used to indicate the third delay;
    通过所述处理模块根据所述第一时延和所述第三时延,确定所述流从所述TSN网络中的所述流服务提供者传输至所述UE的第二时延;Determining, by the processing module, a second delay for transmitting the stream from the stream service provider in the TSN network to the UE according to the first delay and the third delay;
    通过所述发送模块向所述UE发送第二时延信息,所述第二时延信息用于指示所述第二时延。Sending second delay information to the UE through the sending module, where the second delay information is used to indicate the second delay.
  45. 根据权利要求36至39或44中任一项所述的通信装置,其特征在于,通过所述接收模块从所述SMF网元接收第一信息,所述第一信息用于指示所述UE对应的接入网设备根据所述流的带宽需求信息为所述流预留带宽资源是否成功。The communication device according to any one of claims 36 to 39 or 44, wherein first information is received from the SMF network element through the receiving module, and the first information is used to indicate that the UE corresponds to Whether the successful access network device reserves bandwidth resources for the flow according to the bandwidth requirement information of the flow.
  46. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储用于通信装置执行的程序代码,所述程序代码包括用于执行权利要求1至26中任一项所述的通信方法的指令。A computer-readable storage medium, characterized in that the computer-readable storage medium stores program code for execution by a communication device, where the program code includes a program for executing any one of claims 1 to 26. Communication method instructions.
PCT/CN2019/100063 2018-08-13 2019-08-09 Communication method and communication appratus WO2020034911A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP19850563.8A EP3823324A4 (en) 2018-08-13 2019-08-09 Communication method and communication appratus
US17/174,975 US11937128B2 (en) 2018-08-13 2021-02-12 Communication method and communications apparatus for determining latency of transmission between network elements

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201810918006 2018-08-13
CN201810918006.5 2018-08-13
CN201811169219.9A CN110830268B (en) 2018-08-13 2018-10-08 Communication method and communication device
CN201811169219.9 2018-10-08

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/174,975 Continuation US11937128B2 (en) 2018-08-13 2021-02-12 Communication method and communications apparatus for determining latency of transmission between network elements

Publications (1)

Publication Number Publication Date
WO2020034911A1 true WO2020034911A1 (en) 2020-02-20

Family

ID=69524704

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/100063 WO2020034911A1 (en) 2018-08-13 2019-08-09 Communication method and communication appratus

Country Status (1)

Country Link
WO (1) WO2020034911A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113630816A (en) * 2020-05-06 2021-11-09 华为技术有限公司 Data transmission method and device
CN113747483A (en) * 2020-05-29 2021-12-03 华为技术有限公司 Method, device and system for counting user quantity of service flow
CN113950039A (en) * 2020-07-15 2022-01-18 华为技术有限公司 Information transmission method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394324A (en) * 2008-09-12 2009-03-25 武汉理工大学 Hybrid unidirectional time delay estimation method suitable for network control system
CN102843257A (en) * 2012-08-15 2012-12-26 无锡北邮感知技术产业研究院有限公司 Path estimating method and device
CN106230661A (en) * 2016-08-01 2016-12-14 北京大学 Network data delay control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394324A (en) * 2008-09-12 2009-03-25 武汉理工大学 Hybrid unidirectional time delay estimation method suitable for network control system
CN102843257A (en) * 2012-08-15 2012-12-26 无锡北邮感知技术产业研究院有限公司 Path estimating method and device
CN106230661A (en) * 2016-08-01 2016-12-14 北京大学 Network data delay control method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HUAWEI ET AL: "TS 23.502: Delay time generation for PDU session during han- dover, S2-174616", SA WG2 MEETING #122, vol. SA WG2, 20 June 2017 (2017-06-20), San Jose Del Cabo, Mexico, pages 1 - 11, XP051309668 *
NOKIA ET AL: "Introducing support for UE and UPF Residence Time for TSC Deter- ministic QoS,", SA WG2 MEETING #132 S2-1903654, vol. SA WG2, 2 April 2019 (2019-04-02), pages 1 - 4, XP051719800 *
See also references of EP3823324A4

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113630816A (en) * 2020-05-06 2021-11-09 华为技术有限公司 Data transmission method and device
CN113747483A (en) * 2020-05-29 2021-12-03 华为技术有限公司 Method, device and system for counting user quantity of service flow
CN113747483B (en) * 2020-05-29 2023-07-07 华为技术有限公司 User quantity statistics method, device and system for service flow
CN113950039A (en) * 2020-07-15 2022-01-18 华为技术有限公司 Information transmission method, device and storage medium

Similar Documents

Publication Publication Date Title
CN110830268B (en) Communication method and communication device
WO2020034911A1 (en) Communication method and communication appratus
US8369288B2 (en) Method and apparatus for bearer processing
CN111436113B (en) Method for supporting clock synchronization and communication equipment
JP2022513083A (en) Time-dependent networking Communication methods and equipment
TW200536301A (en) Time-hopping systems and techniques for wireless communications
TW201228312A (en) Method and apparatus for requesting and sharing network performance information (NPI)
WO2022126563A1 (en) Network resource selection method, and terminal device and network device
CN112566149A (en) Method, communication device and communication system for configuring service
WO2019165882A1 (en) Method for acquiring slice information, and relay device
WO2014137160A1 (en) Slot-based d2d communication method and apparatus
US9049579B2 (en) Method and apparatus for setting terminal connection control information in a mobile communication system
WO2022027666A1 (en) Time synchronization method and apparatus
WO2016106755A1 (en) Method, device and system for supporting multimedia broadcast multicast service transmission
CN114731460B (en) Multicast session establishment method and network equipment
TW202015440A (en) Wireless communication method and device
WO2022170773A1 (en) Communication method and apparatus for multicast/broadcast services
WO2022242234A1 (en) Packet transmission method and apparatus
CN117793688A (en) New method for external parameter provisioning for AF sessions
WO2023133827A1 (en) Communication method and apparatus, network element, chip, storage medium, product, and program
WO2023104123A1 (en) Communication method and apparatus, and device
EP4262244A1 (en) Method and device for determining mec access point
WO2023179231A1 (en) Cell information configuration method and apparatus, and readable storage medium and chip system
WO2023051381A1 (en) Application server determination method and apparatus
WO2023179262A1 (en) Cell information configuration method and apparatus, and readable storage medium and chip system

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019850563

Country of ref document: EP

Effective date: 20210215