WO2023165199A1 - Communication method, apparatus, and device - Google Patents

Communication method, apparatus, and device Download PDF

Info

Publication number
WO2023165199A1
WO2023165199A1 PCT/CN2022/136240 CN2022136240W WO2023165199A1 WO 2023165199 A1 WO2023165199 A1 WO 2023165199A1 CN 2022136240 W CN2022136240 W CN 2022136240W WO 2023165199 A1 WO2023165199 A1 WO 2023165199A1
Authority
WO
WIPO (PCT)
Prior art keywords
qos flow
service
qos
network element
data packet
Prior art date
Application number
PCT/CN2022/136240
Other languages
French (fr)
Chinese (zh)
Inventor
蒋成堃
李汉成
周汉
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023165199A1 publication Critical patent/WO2023165199A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/08Load balancing or load distribution
    • H04W28/09Management thereof
    • H04W28/0958Management thereof based on metrics or performance parameters
    • H04W28/0967Quality of Service [QoS] parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/24Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A communication method, an apparatus, and a device, which are used for ensuring user experience. The method comprises: before receiving a first indication from a user plane network element, an AN device can send, by means of a third QoS flow, a first service data packet of a first service received by means of a first QoS flow, and cache a second service data packet of the first service received by means of a second QoS flow; and upon receiving the first indication, the second service data packet can be sent by means of the third QoS flow; wherein the first QoS flow and the second QoS flow are QoS flows between the user plane network element and the AN device, and correspond to the third QoS flow between the AN device and a terminal device. Consequently, the AN device can first send the first service data packet received by means of the first QoS flow according to the first indication, and then send the second service data packet received by means of the the second QoS flow, and thereby service data packets of the first service received by means of two QoS flows can be sent in order, and user experience can further be ensured.

Description

一种通信方法、装置及设备A communication method, device and equipment
相关申请的交叉引用Cross References to Related Applications
本申请要求在2022年03月02日提交中国专利局、申请号为202210199840.X、申请名称为“一种通信方法、装置及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202210199840.X and the application title "a communication method, device and equipment" submitted to the China Patent Office on March 2, 2022, the entire contents of which are incorporated herein by reference In this application.
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种通信方法、装置及设备。The present application relates to the technical field of communication, and in particular to a communication method, device and equipment.
背景技术Background technique
移动通信系统(例如,第5代(the 5th generation,5G)通信系统)可应用于在工业网络、商业网络等多种场景中。在一些应用场景中,例如,在扩展现实(extended reality,XR)场景或流媒体应用场景中,移动通信系统传输的数据量较大,可能会导致拥塞。当移动通信系统中发生拥塞时,会导致数据包转发时延较大,从而影响用户体验。Mobile communication systems (for example, the 5th generation (5G) communication system) can be applied in various scenarios such as industrial networks and commercial networks. In some application scenarios, for example, in extended reality (extended reality, XR) scenarios or streaming media application scenarios, the amount of data transmitted by the mobile communication system is large, which may cause congestion. When congestion occurs in a mobile communication system, it will cause a large delay in data packet forwarding, thereby affecting user experience.
目前,可通过以下两种方式来保证用户体验:Currently, the user experience can be guaranteed in the following two ways:
1)、用户选择订阅高质量(也可以称为高要求)的服务质量(quality of service,QoS)流(flow)。例如,用户选择订阅最大数据突发量(maximum data burst volume,MDBV)较大的QoS流。这样,当发生拥塞时,通过该高质量的QoS流将传输数据的时延控制在用户期望的时延范围之内,从而可满足用户的需求。但是,更高的质量往往意味着费用更高;因此,该方式需要用户付出更高的费用。1) The user chooses to subscribe to a high-quality (also called high-demand) service (quality of service, QoS) flow (flow). For example, a user chooses to subscribe to a QoS flow with a larger maximum data burst volume (MDBV). In this way, when congestion occurs, the high-quality QoS stream can control the time delay of transmitting data within the time delay range expected by the user, thereby meeting the needs of the user. However, higher quality often means higher cost; therefore, this method requires users to pay more.
2)、降低QoS流的负载程度。QoS流的负载较低,可以避免出现拥塞。但是,采用该方式,QoS流会经常处于轻载状态,从而造成资源浪费。2) Reduce the load of the QoS flow. QoS flows are less loaded to avoid congestion. However, with this approach, the QoS flow will often be in a light load state, resulting in waste of resources.
因此,本领域需要一种能够保证用户体验的通信方案。Therefore, there is a need in the art for a communication solution that can guarantee user experience.
发明内容Contents of the invention
本申请提供一种通信方法、装置及设备,用以保证用户体验。The present application provides a communication method, device and equipment to ensure user experience.
第一方面,本申请实施例提供了一种通信方法。该方法包括:AN设备通过第一QoS流接收第一业务的第一业务数据包,并通过第二QoS流接收第一业务的第二业务数据包。其中,第一QoS流和第二QoS流均为用户面网元和AN设备之间的QoS流,且均与AN设备和终端设备之间的第三QoS流对应。在接收到来自用户面网元的第一指示之前,AN设备可通过第三QoS流发送第一业务数据包,并缓存第二业务数据包;在接收到第一指示之后,AN设备可通过第三QoS流发送第二业务数据包。In a first aspect, the embodiment of the present application provides a communication method. The method includes: the AN device receives the first service data packet of the first service through the first QoS flow, and receives the second service data packet of the first service through the second QoS flow. Wherein, both the first QoS flow and the second QoS flow are QoS flows between the user plane network element and the AN device, and both correspond to the third QoS flow between the AN device and the terminal device. Before receiving the first instruction from the user plane network element, the AN device can send the first service data packet through the third QoS flow, and buffer the second service data packet; after receiving the first instruction, the AN device can send the first service data packet through the third QoS flow The third QoS flow sends the second service data packet.
通过该方法,AN设备和UPF之间的第一QoS流和第二QoS流均可传输第一业务;这样,当正在传输第一业务的第一QoS流满足发生拥塞的条件时,通过第二QoS流传输第一业务的剩余业务数据包。当第一QoS流满足发生拥塞的条件时,第二QoS流的服务质量很可能高于第一QoS流。因此,通过该方法可以降低第一业务的传输时延,从而提高用户体验。Through this method, both the first QoS flow and the second QoS flow between the AN device and the UPF can transmit the first service; thus, when the first QoS flow that is transmitting the first service satisfies the condition of congestion, the second The QoS flow transmits the remaining service data packets of the first service. When the first QoS flow satisfies the condition of congestion, the service quality of the second QoS flow is likely to be higher than that of the first QoS flow. Therefore, the method can reduce the transmission delay of the first service, thereby improving user experience.
另外,第一QoS流和第二QoS流传输数据包的速度可能不同。例如,当第一QoS流满足发生拥塞的条件时,第二QoS流的服务质量很可能高于第一QoS流的服务质量(例如,第二QoS流的负载比第一QoS流的负载低;或者,第二QoS流的最大数据突发量大于第一QoS流的最大数据突发量),从而导致第二QoS流传输数据包的速度可能会大于第一QoS传输数据包的速度。这样,AN设备接收数据包的顺序和UPF发送数据包的顺序可能并不相同。在该方法中,AN设备可根据第一指示先发送通过第一QoS流接收的第一业务数据包,再发送通过第二QoS流接收的第二业务数据包,从而可以对通过两条QoS流接收到的第一业务的业务数据包进行保序发送。这样,即便AN设备接收数据包的顺序和UPF发送数据包的顺序不同,AN设备发送数据包的顺序和UPF发送数据包的顺序是相同的,从而使得终端设备可以按照正确的顺序接收到业务数据包,避免业务数据包的乱序,进而可以保证用户体验。In addition, the speed at which data packets are transmitted by the first QoS flow and the second QoS flow may be different. For example, when the first QoS flow satisfies the condition of congestion, the quality of service of the second QoS flow is likely to be higher than the quality of service of the first QoS flow (for example, the load of the second QoS flow is lower than the load of the first QoS flow; Or, the maximum data burst size of the second QoS flow is greater than the maximum data burst size of the first QoS flow), so that the speed at which data packets are transmitted by the second QoS flow may be greater than the speed at which data packets are transmitted by the first QoS flow. In this way, the order in which the AN device receives data packets may be different from the order in which the UPF sends data packets. In this method, the AN device can first send the first service data packet received through the first QoS flow according to the first instruction, and then send the second service data packet received through the second QoS flow, so that the two QoS flows can be compared. The received service data packets of the first service are sent in order. In this way, even if the order in which AN devices receive data packets is different from the order in which UPF sends data packets, the order in which AN devices send data packets is the same as the order in which UPF sends data packets, so that terminal devices can receive service data in the correct order packets to avoid out-of-order service data packets, thereby ensuring user experience.
在一种可能的设计中,AN设备可以接收第三QoS流的配置信息。其中,第三QoS流的配置信息中可包含第一信息,第一信息可以指示第一QoS流和第二QoS流均与第三QoS流对应。在该设计中,AN设备可通过第三QoS流的配置信息中的第一信息,确定第一QoS流和第二QoS流均与第三QoS流对应,从而可将通过第一QoS流和第二QoS流接收的业务数据包映射到第三QoS流中。In a possible design, the AN device may receive configuration information of the third QoS flow. Wherein, the configuration information of the third QoS flow may include first information, and the first information may indicate that both the first QoS flow and the second QoS flow correspond to the third QoS flow. In this design, the AN device can determine that both the first QoS flow and the second QoS flow correspond to the third QoS flow through the first information in the configuration information of the third QoS flow, so that the first QoS flow and the second QoS flow can be The service data packets received by the second QoS flow are mapped to the third QoS flow.
在一种可能的设计中,第一信息可包括:第一QoS流的标识和第二QoS流的标识。通过该设计,可以方便的指示第一QoS流和第二QoS流均与第三QoS流对应。In a possible design, the first information may include: an identifier of the first QoS flow and an identifier of the second QoS flow. Through this design, it can be conveniently indicated that both the first QoS flow and the second QoS flow correspond to the third QoS flow.
在一种可能的设计中,AN设备可通过如下步骤来通过第三QoS流发送第二业务数据包:AN设备在抢占资源之后,将抢占的资源添加到第三QoS流占用的资源中;然后,AN设备可通过第三QoS流发送第二业务数据包。In a possible design, the AN device may send the second service data packet through the third QoS flow through the following steps: after preempting the resources, the AN device adds the preempted resources to the resources occupied by the third QoS flow; and then , the AN device may send the second service data packet through the third QoS flow.
当AN设备通过两个QoS流接收来自用户面网元的第一业务的业务数据包时,AN设备和终端设备之间的第三QoS流的资源很可能不足以承载第一业务的业务数据包。例如,若第一QoS流发生拥塞,与其对应的第三QoS流很可能也会发生拥塞。又例如,当第一QoS流和第二QoS流同时传输第一业务的业务数据包时,AN设备接收到的第一业务的业务数据包较多,第三QoS流的资源不足以承载这些业务数据包。通过该设计,AN设备可将抢占的资源添加到第三QoS流占用的资源中,从而为第三QoS流分配更多的资源,进而可以避免第三QoS流发生拥塞,可以提高用户体验。When the AN device receives the service data packet of the first service from the user plane network element through two QoS flows, the resources of the third QoS flow between the AN device and the terminal device may not be sufficient to carry the service data packet of the first service . For example, if the first QoS flow is congested, the corresponding third QoS flow is likely to be congested as well. For another example, when the first QoS flow and the second QoS flow transmit the service data packets of the first service at the same time, the AN device receives more service data packets of the first service, and the resources of the third QoS flow are insufficient to carry these services data pack. Through this design, the AN device can add the preempted resources to the resources occupied by the third QoS flow, thereby allocating more resources for the third QoS flow, thereby avoiding congestion of the third QoS flow and improving user experience.
在一种可能的设计中,当满足以下条件至少一项时,AN设备可释放抢占的资源:In a possible design, when at least one of the following conditions is met, the AN device can release the preempted resources:
条件A:AN设备接收到来自用户面网元的第二指示;其中,第二指示用于指示停止通过第二QoS流传输第一业务的业务数据包。Condition A: The AN device receives a second instruction from a user plane network element; wherein, the second instruction is used to instruct to stop transmitting the service data packet of the first service through the second QoS flow.
条件B:在第一时间内,AN设备未通过第二QoS流接收到第一业务的业务数据包。Condition B: within the first time period, the AN device does not receive the service data packet of the first service through the second QoS flow.
通过该设计,当第二QoS流不再用于传输第一业务的业务数据包时,第一QoS流的拥塞很可能已经消除。此时,AN设备释放抢占的资源,可以避免第三QoS流占用不必要的资源而导致资源浪费。Through this design, when the second QoS flow is no longer used to transmit the service data packets of the first service, the congestion of the first QoS flow is probably eliminated. At this time, the AN device releases the preempted resources, which can prevent the third QoS flow from occupying unnecessary resources and causing waste of resources.
在一种可能的设计中,第一指示可以用于指示停止通过第一QoS流传输第一业务的业务数据包。通过该设计,AN设备可方便的获知用户面网元已停止通过第一QoS流传输第一业务的业务数据包。In a possible design, the first indication may be used to indicate to stop transmitting the service data packets of the first service through the first QoS flow. Through this design, the AN device can conveniently know that the user plane network element has stopped transmitting the service data packets of the first service through the first QoS flow.
在一种可能的设计中,AN设备可检测第一QoS流是否满足发生拥塞的条件;当检测到第一QoS流满足发生拥塞的条件时,AN设备可向第一控制面网元或用户面网元发送用 于指示第一QoS流发生拥塞的信息。In a possible design, the AN device can detect whether the first QoS flow satisfies the condition of congestion; when it detects that the first QoS flow meets the condition of congestion, the AN device can send The network element sends information used to indicate congestion of the first QoS flow.
在该设计中,AN设备在检测到第一QoS流满足发生拥塞的条件时,可通知第一控制面网元或用户面网元。这样,当AN设备通知第一控制面网元第一QoS流满足发生拥塞的条件时,第一控制面网元可向用户面网元发送第二QoS流的配置信息,从而使得用户面网元能够通过第二QoS流传输第一业务的业务数据包,从而降低第一业务的传输时延,提高用户体验。当AN设备通知用户面网元第一QoS流满足发生拥塞的条件时,用户面网元能够通过第二QoS流传输第一业务的业务数据包,从而降低第一业务的传输时延,提高用户体验用户面网元。In this design, the AN device may notify the first control plane network element or the user plane network element when detecting that the first QoS flow satisfies the congestion condition. In this way, when the AN device notifies the first control plane network element that the first QoS flow satisfies the condition of congestion, the first control plane network element can send the configuration information of the second QoS flow to the user plane network element, so that the user plane network element The service data packets of the first service can be transmitted through the second QoS flow, thereby reducing the transmission delay of the first service and improving user experience. When the AN device notifies the user plane network element that the first QoS flow satisfies the congestion condition, the user plane network element can transmit the service data packets of the first service through the second QoS flow, thereby reducing the transmission delay of the first service and improving user Experience user plane network elements.
在一种可能的设计中,发生拥塞的条件可以包括以下至少一项:In a possible design, the conditions for occurrence of congestion may include at least one of the following:
与第一QoS流对应的第三QoS流的转发延迟大于或等于第一阈值;The forwarding delay of the third QoS flow corresponding to the first QoS flow is greater than or equal to the first threshold;
与第一QoS流对应的第三QoS流的队列增长速度大于或等于第二阈值;The queue growth rate of the third QoS flow corresponding to the first QoS flow is greater than or equal to the second threshold;
与第一QoS流对应的第三QoS流的入口流量和第三QoS流的出口流量的比值大于或等于第三阈值;The ratio of the ingress traffic of the third QoS flow corresponding to the first QoS flow to the egress traffic of the third QoS flow is greater than or equal to a third threshold;
单位时间内通过第一QoS流接收的业务数据包的数据量大于或等于第四阈值。The data volume of service data packets received through the first QoS flow per unit time is greater than or equal to the fourth threshold.
在一种可能的设计中,在接收到来自用户面网元的第二指示之前,AN设备可缓存通过第一QoS流接收的第一业务的第三业务数据包;在接收到第二指示之后,AN设备可通过第三QoS流发送第三业务数据包。In a possible design, before receiving the second indication from the user plane network element, the AN device may buffer the third service data packet of the first service received through the first QoS flow; after receiving the second indication , the AN device may send the third service data packet through the third QoS flow.
可选的,第二指示可以用于指示停止通过第二QoS流传输第一业务的业务数据包。Optionally, the second indication may be used to indicate to stop transmitting the service data packets of the first service through the second QoS flow.
第一QoS流和第二QoS流传输数据包的速度可能不同。例如,当用户面网元从第二QoS流切换回第一QoS流,通过第一QoS流传输第一业务的业务数据包时,第二QoS流的服务质量可能低于第一QoS流的服务质量。这样,AN设备接收数据包的顺序和UPF发送数据包的顺序可能并不相同。在该设计中,AN设备可根据第二指示先发送通过第二QoS流接收的第二业务数据包,再发送通过第一QoS流接收的第三业务数据包,从而可以对通过两条QoS流接收到的第一业务的业务数据包进行保序发送。这样,即便AN设备接收数据包的顺序和UPF发送数据包的顺序不同,AN设备发送数据包的顺序和UPF发送数据包的顺序是相同的,从而使得终端设备可以按照正确的顺序接收到业务数据包,避免业务数据包的乱序,进而可以保证用户体验。The first QoS flow and the second QoS flow may transmit data packets at different speeds. For example, when the user plane network element switches from the second QoS flow back to the first QoS flow, and transmits the service data packets of the first service through the first QoS flow, the service quality of the second QoS flow may be lower than that of the first QoS flow quality. In this way, the order in which the AN device receives data packets may be different from the order in which the UPF sends data packets. In this design, the AN device can first send the second service data packet received through the second QoS flow according to the second instruction, and then send the third service data packet received through the first QoS flow, so that the two QoS flows can The received service data packets of the first service are sent in order. In this way, even if the order in which AN devices receive data packets is different from the order in which UPF sends data packets, the order in which AN devices send data packets is the same as the order in which UPF sends data packets, so that terminal devices can receive service data in the correct order packets to avoid out-of-order service data packets, thereby ensuring user experience.
在一种可能的设计中,AN设备可检测第一QoS流是否满足拥塞消除的条件;当检测到第一QoS流满足拥塞消除的条件时,AN设备可在向用户面网元发送用于指示第一QoS流中的拥塞已消除的信息之后,通过第一QoS流接收第一业务的第三业务数据包。In a possible design, the AN device can detect whether the first QoS flow satisfies the condition of congestion elimination; when it detects that the first QoS flow meets the condition of congestion elimination, the AN device can send an indication to the user plane network element After the information that the congestion in the first QoS flow has been eliminated, the third service data packet of the first service is received through the first QoS flow.
通过该设计,当第一QoS流满足拥塞消除的条件时,用户面网元可以从第二QoS流切换回第一QoS流,通过第一QoS流来继续传输第一业务的业务数据包。这样,可以减少通过第二QoS流传输的数据量。一般情况下,第二QoS流的服务质量要高于第一QoS流,因此,第二QoS流的收费标准也会高于第一QoS流的收费标准。通过该方法,可以通过减少通过第二QoS流传输的数据量来降低传输第一业务所需的费用。Through this design, when the first QoS flow satisfies the condition of congestion elimination, the user plane network element can switch from the second QoS flow back to the first QoS flow, and continue to transmit the service data packets of the first service through the first QoS flow. In this way, the amount of data transmitted through the second QoS flow can be reduced. Generally, the service quality of the second QoS flow is higher than that of the first QoS flow, therefore, the charging standard of the second QoS flow is also higher than that of the first QoS flow. Through this method, the cost required for transmitting the first service can be reduced by reducing the amount of data transmitted through the second QoS flow.
在一种可能的设计中,拥塞消除的条件可包括以下至少一项:In a possible design, the conditions for congestion removal may include at least one of the following:
与第一QoS流对应的第三QoS流的转发延迟小于或等于第五阈值;The forwarding delay of the third QoS flow corresponding to the first QoS flow is less than or equal to the fifth threshold;
与第一QoS流对应的第三QoS流的队列增长速度小于或等于第六阈值;The queue growth rate of the third QoS flow corresponding to the first QoS flow is less than or equal to the sixth threshold;
与第一QoS流对应的第三QoS流的入口流量和第三QoS流的出口流量的比值小于或等于第七阈值;The ratio of the ingress traffic of the third QoS flow corresponding to the first QoS flow to the egress traffic of the third QoS flow is less than or equal to the seventh threshold;
单位时间内通过第一QoS流接收的业务数据包的数据量小于或等于第八阈值。The data volume of service data packets received through the first QoS flow per unit time is less than or equal to the eighth threshold.
第二方面,本申请实施例提供了一种通信方法。该方法包括:In a second aspect, the embodiment of the present application provides a communication method. The method includes:
用户面网元可通过第一QoS流传输第一业务的业务数据包。当第一QoS流满足发生拥塞的条件时,用户面网元可向AN设备发送第一指示,并通过第二QoS流传输第一业务的业务数据包。其中,第一指示可以用于指示停止通过第一QoS流传输第一业务的业务数据包。第一QoS流和第二QoS流均为用户面网元和AN设备之间的QoS流,且均与AN设备和终端设备之间的第三QoS流对应。The user plane network element can transmit the service data packet of the first service through the first QoS flow. When the first QoS flow satisfies the congestion condition, the user plane network element may send the first indication to the AN device, and transmit the service data packets of the first service through the second QoS flow. Wherein, the first indication may be used to indicate to stop transmitting the service data packets of the first service through the first QoS flow. Both the first QoS flow and the second QoS flow are QoS flows between the user plane network element and the AN device, and both correspond to the third QoS flow between the AN device and the terminal device.
通过该方法,AN设备和用户面网元之间的第一QoS流和第二QoS流均可传输第一业务;这样,当正在传输第一业务的第一QoS流满足发生拥塞的条件时,通过第二QoS流传输第一业务的剩余业务数据包。当第一QoS流满足发生拥塞的条件时,第二QoS流的服务质量很可能高于第一QoS流。因此,通过该方法,可以降低第一业务的传输时延,从而提高用户体验。Through this method, both the first QoS flow and the second QoS flow between the AN device and the user plane network element can transmit the first service; thus, when the first QoS flow that is transmitting the first service satisfies the condition of congestion, The remaining service data packets of the first service are transmitted through the second QoS flow. When the first QoS flow satisfies the condition of congestion, the service quality of the second QoS flow is likely to be higher than that of the first QoS flow. Therefore, through this method, the transmission delay of the first service can be reduced, thereby improving user experience.
在一种可能的设计中,用户面网元可通过如下实现方式之一确定第一QoS流是否满足发生拥塞的条件:In a possible design, the user plane network element can determine whether the first QoS flow satisfies the condition for congestion through one of the following implementation methods:
实现方式1:用户面网元检测第一QoS流是否满足发生拥塞的条件。Implementation mode 1: The user plane network element detects whether the first QoS flow satisfies a condition for congestion.
可选的,用户面网元可接收来自第一控制面网元的用于指示发生拥塞的条件的信息,从而可检测第一QoS流是否满足发生拥塞的条件。通过该方法,用户面网元可方便的获取到用于指示发生拥塞的条件的信息。Optionally, the user plane network element may receive information indicating the congestion condition from the first control plane network element, so as to detect whether the first QoS flow satisfies the congestion condition. Through this method, the network element of the user plane can conveniently obtain the information used to indicate the condition of congestion.
实现方式2,用户面网元可接收来自AN设备的用于指示第一QoS流发生拥塞的信息。In implementation manner 2, the user plane network element may receive information from the AN device indicating that the first QoS flow is congested.
通过该设计,用户面网元可灵活的获知第一QoS流是否满足发生拥塞的条件。Through this design, the user plane network element can flexibly know whether the first QoS flow satisfies the condition of congestion.
在一种可能的设计中,第一指示可包含在通过第一QoS流传输的第一业务的业务数据包中。通过该设计,用户面网元可通过第一业务的业务数据包发送第一指示,无需构造额外的指示包,较为方便。In a possible design, the first indication may be included in a service data packet of the first service transmitted through the first QoS flow. With this design, the user plane network element can send the first indication through the service data packet of the first service, without constructing an additional indication packet, which is more convenient.
在一种可能的设计中,当第一QoS流满足发生拥塞的条件时,用户面网元可在向第一控制面网元发送用于指示第一QoS流发生拥塞的信息之后,接收来自第一控制面网元的第二QoS流的配置信息。通过该设计,当第一QoS流不满足发生拥塞的条件时,用户面网元可通过第一QoS流传输第一业务的业务数据包;当第一QoS流满足发生拥塞的条件时,用户面网元才获取第二QoS流的配置信息。这样,无需在所有时刻都为第一业务在用户面网元和AN设备之间建立两个QoS流,从而可以节约用户面网元和AN设备之间的资源。In a possible design, when the first QoS flow satisfies the condition for congestion, the user plane network element may receive information from the first control plane network element after sending information indicating that the first QoS flow is congested. Configuration information of the second QoS flow of a control plane network element. Through this design, when the first QoS flow does not meet the conditions for congestion, the user plane network element can transmit the service data packets of the first service through the first QoS flow; when the first QoS flow meets the conditions for congestion, the user plane network element The network element obtains the configuration information of the second QoS flow. In this way, there is no need to establish two QoS flows between the user plane network element and the AN device for the first service at all times, thereby saving resources between the user plane network element and the AN device.
在一种可能的设计中,当第一QoS流满足拥塞消除的条件时,用户面网元可通过第一QoS流传输第一业务的业务数据包。通过该设计,当第一QoS流满足拥塞消除的条件时,用户面网元可以从第二QoS流切换回第一QoS流,通过第一QoS流来继续传输第一业务的业务数据包。这样,可以减少通过第二QoS流传输的数据量。一般情况下,第二QoS流的服务质量要高于第一QoS流,因此,第二QoS流的收费标准也会高于第一QoS流的收费标准。通过该设计,可以通过减少通过第二QoS流传输的数据量来降低传输第一业务所需的费用。In a possible design, when the first QoS flow satisfies the congestion elimination condition, the user plane network element may transmit the service data packet of the first service through the first QoS flow. Through this design, when the first QoS flow satisfies the condition of congestion elimination, the user plane network element can switch from the second QoS flow back to the first QoS flow, and continue to transmit the service data packets of the first service through the first QoS flow. In this way, the amount of data transmitted through the second QoS flow can be reduced. Generally, the service quality of the second QoS flow is higher than that of the first QoS flow, therefore, the charging standard of the second QoS flow is also higher than that of the first QoS flow. Through this design, the cost required for transmitting the first service can be reduced by reducing the amount of data transmitted through the second QoS flow.
在一种可能的设计中,用户面网元可通过以下实施方式之一来确定第一QoS流是否满足拥塞消除的条件:In a possible design, the user plane network element may determine whether the first QoS flow satisfies the congestion elimination condition through one of the following implementation manners:
实施方式1:用户面网元检测第一QoS流是否满足拥塞消除的条件。Embodiment 1: The user plane network element detects whether the first QoS flow satisfies the congestion elimination condition.
实施方式2:用户面网元可接收来自AN设备的用于指示第一QoS流中的拥塞已消除的信息。Embodiment 2: The user plane network element may receive information from the AN device indicating that the congestion in the first QoS flow has been eliminated.
通过该设计,用户面网元可灵活的获知第一QoS流是否满足拥塞消除的条件。Through this design, the user plane network element can flexibly know whether the first QoS flow satisfies the condition of congestion elimination.
在一种可能的设计中,当第一QoS流满足拥塞消除的条件时,用户面网元可通过第二QoS流向AN设备发送第二指示;第二指示用于指示停止通过第二QoS流传输第一业务的业务数据包。通过该设计,用户面网元可通知AN设备停止通过第二QoS流传输第一业务的业务数据包。In a possible design, when the first QoS flow satisfies the condition of congestion elimination, the user plane network element can send a second indication to the AN device through the second QoS flow; the second indication is used to instruct to stop transmission through the second QoS flow A service data packet of the first service. With this design, the user plane network element can notify the AN device to stop transmitting the service data packets of the first service through the second QoS flow.
在一种可能的设计中,拥塞消除的条件可包括以下至少一项:In a possible design, the conditions for congestion removal may include at least one of the following:
第一QoS流的转发延迟小于或等于第九阈值;The forwarding delay of the first QoS flow is less than or equal to the ninth threshold;
第一QoS流的队列增长速度小于或等于第十阈值;The queue growth rate of the first QoS flow is less than or equal to the tenth threshold;
第一QoS流的入口流量和第一QoS流的出口流量的比值小于或等于第十一阈值。The ratio of the ingress traffic of the first QoS flow to the egress traffic of the first QoS flow is less than or equal to the eleventh threshold.
在一种可能的设计中,发生拥塞的条件可包括以下至少一项:In a possible design, the conditions for occurrence of congestion may include at least one of the following:
第一QoS流的转发延迟大于或等于第十二阈值;The forwarding delay of the first QoS flow is greater than or equal to a twelfth threshold;
第一QoS流的队列增长速度大于或等于第十三阈值;The queue growth rate of the first QoS flow is greater than or equal to the thirteenth threshold;
第一QoS流的入口流量和第一QoS流的出口流量的比值大于或等于第十四阈值。A ratio of the ingress traffic of the first QoS flow to the egress traffic of the first QoS flow is greater than or equal to a fourteenth threshold.
在一种可能的设计中,用户面网元可向策略控制功能网元发送第一数据量信息和第二数据量信息。其中,第一数据量信息用于指示通过第一QoS流传输的数据量,第二数据量信息用于指示通过第二QoS流传输的数据量。通过该设计,策略控制功能网元可获取到通过第一QoS流传输的数据量和通过第二QoS流传输的数据量,从而可以实现对第一业务的精确计费。In a possible design, the user plane network element may send the first data amount information and the second data amount information to the policy control function network element. Wherein, the first data amount information is used to indicate the data amount transmitted through the first QoS flow, and the second data amount information is used to indicate the data amount transmitted through the second QoS flow. Through this design, the policy control function network element can obtain the data volume transmitted through the first QoS flow and the data volume transmitted through the second QoS flow, so that accurate charging for the first service can be realized.
第三方面,本申请实施例提供了一种通信方法。该方法包括:In a third aspect, the embodiment of the present application provides a communication method. The method includes:
终端设备可在获取第一业务的QoS需求之后,检测第三QoS流的QoS参数是否满足第一业务的QoS需求。其中,第三QoS流为终端设备和接入网AN设备之间用于承载第一业务的QoS流。当检测到第三QoS流的QoS参数不满足第一业务的QoS需求时,终端设备可向第一控制面网元发送第一请求。其中,第一请求用于请求为第一业务在用户面网元和AN设备之间设置至少两条QoS流,且至少两条QoS流均与第三QoS流对应。After acquiring the QoS requirement of the first service, the terminal device may detect whether the QoS parameter of the third QoS flow satisfies the QoS requirement of the first service. Wherein, the third QoS flow is a QoS flow for carrying the first service between the terminal device and the access network AN device. When detecting that the QoS parameter of the third QoS flow does not meet the QoS requirement of the first service, the terminal device may send the first request to the first control plane network element. Wherein, the first request is used to request to set at least two QoS flows between the user plane network element and the AN device for the first service, and the at least two QoS flows both correspond to the third QoS flow.
通过该方法,终端设备在检测到第三QoS流的QoS参数不满足第一业务的QoS需求之后,才请求第一控制面网元为第一业务在用户面网元和AN设备之间设置至少两条QoS流,且至少两条QoS流均与第三QoS流对应。当第三QoS流的QoS参数不满足第一业务的QoS需求时,与第三QoS流对应的用户面网元和AN设备之间的第一QoS流很可能也不满足第一业务的QoS需求。此时,终端设备请求第一控制面网元为第一业务在用户面网元和AN设备之间设置至少两个QoS流,从而可以在至少两个QoS流的一个QoS流发生拥塞时,通过另一个QoS流传输第一业务的业务数据包,进而可以降低第一业务的传输时延,从而提高用户体验。Through this method, the terminal device requests the first control plane network element to set at least Two QoS flows, and at least two QoS flows correspond to the third QoS flow. When the QoS parameters of the third QoS flow do not meet the QoS requirements of the first service, the first QoS flow between the user plane network element corresponding to the third QoS flow and the AN device probably does not meet the QoS requirements of the first service . At this time, the terminal device requests the first control plane network element to set at least two QoS flows between the user plane network element and the AN device for the first service, so that when a QoS flow of the at least two QoS flows is congested, through Another QoS stream transmits the service data packets of the first service, thereby reducing the transmission delay of the first service, thereby improving user experience.
在一种可能的设计中,第三QoS流的QoS参数包括以下至少一项:In a possible design, the QoS parameters of the third QoS flow include at least one of the following:
通过第三QoS流传输的第一业务的业务数据包的传输时延;The transmission delay of the service data packets of the first service transmitted through the third QoS flow;
通过第三QoS流传输的第一业务的业务数据包的丢包率;The packet loss rate of the service data packets of the first service transmitted through the third QoS stream;
通过第三QoS流传输的第一业务的业务数据包的抖动。The jitter of the service data packets of the first service transmitted through the third QoS flow.
在一种可能的设计中,第一请求可为PDU会话建立请求或PDU会话修改请求。In a possible design, the first request may be a PDU session establishment request or a PDU session modification request.
第四方面,本申请实施例提供了一种通信方法。该方法包括:In a fourth aspect, the embodiment of the present application provides a communication method. The method includes:
终端设备可检测来自接入网AN设备的信号的信号强度;当信号强度小于或等于第十五阈值时,终端设备可向第一控制面网元发送第一请求。其中,第一请求用于请求为第一业务在用户面网元和AN设备之间设置至少两条服务质量QoS流,在AN设备和终端设备之间设置一条QoS流。The terminal device may detect the signal strength of the signal from the AN device of the access network; when the signal strength is less than or equal to the fifteenth threshold, the terminal device may send a first request to the first control plane network element. Wherein, the first request is used to request to set at least two QoS flows between the user plane network element and the AN device for the first service, and to set one QoS flow between the AN device and the terminal device.
通过该方法,终端设备在检测到来自AN设备的信号的信号强度小于或等于第十五阈值时,才请求第一控制面网元为第一业务在用户面网元和AN设备之间设置至少两条QoS流,且至少两条QoS流均与第三QoS流对应。当终端设备在检测到来自AN设备的信号的信号强度小于或等于第十五阈值时,用户面网元和AN设备之间的网络资源很可能也不满足第一业务的QoS需求。此时,终端设备请求第一控制面网元为第一业务在用户面网元和AN设备之间设置至少两个QoS流,从而可以在一个QoS流发生拥塞时,通过另一个QoS流传输第一业务的业务数据包,进而可以降低第一业务的传输时延,从而提高用户体验。With this method, the terminal device requests the first control plane network element to set at least Two QoS flows, and at least two QoS flows correspond to the third QoS flow. When the terminal device detects that the signal strength of the signal from the AN device is less than or equal to the fifteenth threshold, the network resources between the user plane network element and the AN device may not meet the QoS requirement of the first service. At this time, the terminal device requests the first control plane network element to set at least two QoS flows between the user plane network element and the AN device for the first service, so that when one QoS flow is congested, the second QoS flow can be transmitted through another QoS flow. The service data packets of a service can further reduce the transmission delay of the first service, thereby improving user experience.
在一种可能的设计中,第一请求为PDU会话建立请求。In a possible design, the first request is a PDU session establishment request.
第五方面,本申请实施例提供了一种通信方法。该方法包括:In a fifth aspect, the embodiment of the present application provides a communication method. The method includes:
第一控制面网元可获取第一服务质量QoS流的配置信息、第二QoS流的配置信息和第三QoS流的配置信息。其中,第三QoS流的配置信息中包含第一信息,第一信息用于指示第一QoS流和第二QoS流均与第三QoS流对应。第一控制面网元可向用户面网元发送第一QoS流的配置信息和第二QoS流的配置信息;向接入网AN设备发送第三QoS流的配置信息。其中,第一QoS流和第二QoS流均为用户面网元和AN设备之间的QoS流,第三QoS流为AN设备和终端设备之间的QoS流。The first control plane network element may acquire configuration information of the first QoS flow, configuration information of the second QoS flow, and configuration information of the third QoS flow. Wherein, the configuration information of the third QoS flow includes first information, and the first information is used to indicate that both the first QoS flow and the second QoS flow correspond to the third QoS flow. The first control plane network element may send the configuration information of the first QoS flow and the configuration information of the second QoS flow to the user plane network element; send the configuration information of the third QoS flow to the AN device of the access network. Wherein, both the first QoS flow and the second QoS flow are QoS flows between the user plane network element and the AN device, and the third QoS flow is the QoS flow between the AN device and the terminal device.
在一些可能的方式中,第一控制面网元可同时向用户面网元发送第一QoS流的配置信息和第二QoS流的配置信息;也就是说,第一控制面网元可预先配置两个QoS流。用户面网元在初始传输第一业务的业务数据包时,默认使用第一QoS流;当第一QoS流发生拥塞时,用户面网元通过第二QoS流传输第一业务的业务数据包。In some possible manners, the first control plane network element may simultaneously send the configuration information of the first QoS flow and the configuration information of the second QoS flow to the user plane network element; that is, the first control plane network element may preconfigure Two QoS flows. When the user plane network element initially transmits the service data packet of the first service, the first QoS flow is used by default; when the first QoS flow is congested, the user plane network element transmits the service data packet of the first service through the second QoS flow.
在另一些可能的方式中,第一控制面网元可先向用户面网元发送第一QoS流的配置信息;然后通过下文的方式N1或方式N2来向用户面网元发送第二QoS流的配置信息。In some other possible ways, the first control plane network element can first send the configuration information of the first QoS flow to the user plane network element; and then send the second QoS flow to the user plane network element through the following method N1 or method N2 configuration information.
通过该方法,第一控制面网元可为第一业务在AN设备和UPF之间配置两个QoS流(即第一QoS流和第二QoS流),在AN设备和终端设备之间配置一个QoS流(第三QoS流)。这样,当第一QoS流发生拥塞时,可通过第二QoS流传输第一业务的剩余业务数据包。当第一QoS流满足发生拥塞的条件时,第二QoS流的服务质量很可能高于第一QoS流。因此,通过该方法,可以降低第一业务的传输时延,从而提高用户体验。Through this method, the first control plane network element can configure two QoS flows (ie, the first QoS flow and the second QoS flow) between the AN device and the UPF for the first service, and configure one QoS flow between the AN device and the terminal device. QoS flow (third QoS flow). In this way, when congestion occurs in the first QoS flow, the remaining service data packets of the first service can be transmitted through the second QoS flow. When the first QoS flow satisfies the condition of congestion, the service quality of the second QoS flow is likely to be higher than that of the first QoS flow. Therefore, through this method, the transmission delay of the first service can be reduced, thereby improving user experience.
在一种可能的设计中,第一控制面网元可在获取发生拥塞的条件之后,向用户面网元发送用于指示发生拥塞的条件的信息。通过该设计,第一控制面网元可灵活配置发生拥塞的条件。In a possible design, the first control plane network element may send information indicating the congestion condition to the user plane network element after acquiring the congestion condition. Through this design, the first control plane network element can flexibly configure congestion conditions.
在一种可能的设计中,发生拥塞的条件可包括以下至少一项:In a possible design, the conditions for occurrence of congestion may include at least one of the following:
第一QoS流的转发延迟大于或等于第十二阈值;The forwarding delay of the first QoS flow is greater than or equal to a twelfth threshold;
第一QoS流的队列增长速度大于或等于第十三阈值;The queue growth rate of the first QoS flow is greater than or equal to the thirteenth threshold;
第一QoS流的入口流量和第一QoS流的出口流量的比值大于或等于第十四阈值;The ratio of the ingress traffic of the first QoS flow to the egress traffic of the first QoS flow is greater than or equal to a fourteenth threshold;
与第一QoS流对应的第三QoS流的转发延迟大于或等于第一阈值;The forwarding delay of the third QoS flow corresponding to the first QoS flow is greater than or equal to the first threshold;
与第一QoS流对应的第三QoS流的队列增长速度大于或等于第二阈值;The queue growth rate of the third QoS flow corresponding to the first QoS flow is greater than or equal to the second threshold;
与第一QoS流对应的第三QoS流的入口流量和第三QoS流的出口流量的比值大于或等于第三阈值;The ratio of the ingress traffic of the third QoS flow corresponding to the first QoS flow to the egress traffic of the third QoS flow is greater than or equal to a third threshold;
单位时间内通过第一QoS流接收的业务数据包的数据量大于或等于第四阈值。The data volume of service data packets received through the first QoS flow per unit time is greater than or equal to the fourth threshold.
在一种可能的设计中,用户面网元可通过如下方式之一来发送第二QoS流的配置信息:In a possible design, the user plane network element can send the configuration information of the second QoS flow in one of the following ways:
方式N1:第一控制面网元可在接收来自用户面网元或AN设备的用于指示第一QoS流发生拥塞的信息之后,发送第二QoS流的配置信息。Manner N1: the first control plane network element may send the configuration information of the second QoS flow after receiving the information indicating that the first QoS flow is congested from the user plane network element or the AN device.
通过该方式N1,当第一QoS流不满足发生拥塞的条件时,用户面网元可通过第一QoS流传输第一业务的业务数据包;当第一QoS流满足发生拥塞的条件时,第一控制面网元才向用户面网元发送第二QoS流的配置信息。这样,无需在所有时刻都为第一业务在用户面网元和AN设备之间建立两个QoS流,从而可以节约用户面网元和AN设备之间的资源。Through this method N1, when the first QoS flow does not meet the conditions for congestion, the user plane network element can transmit the service data packets of the first service through the first QoS flow; when the first QoS flow meets the conditions for congestion, the second A control plane network element sends the configuration information of the second QoS flow to the user plane network element. In this way, there is no need to establish two QoS flows between the user plane network element and the AN device for the first service at all times, thereby saving resources between the user plane network element and the AN device.
方式N2:在接收来自终端设备的用于请求设置第二QoS流的请求之后,第一控制面网元可获取终端设备的签约信息,并根据签约信息,确定为终端设备设置第二QoS流。然后,第一控制面网元可发送第二QoS流的配置信息。Mode N2: After receiving the request from the terminal device for setting the second QoS flow, the first control plane network element may obtain the subscription information of the terminal device, and determine to set the second QoS flow for the terminal device according to the subscription information. Then, the first control plane network element may send configuration information of the second QoS flow.
通过该方式N2,当接收到来自终端设备的用于请求设置第二QoS流的请求,并确定可为终端设备设置第二QoS流时,第一控制面网元才向用户面网元发送第二QoS流的配置信息。这样,无需在所有时刻都为第一业务在用户面网元和AN设备之间建立两个QoS流,从而可以节约用户面网元和AN设备之间的资源。Through this method N2, when receiving a request from the terminal device for setting the second QoS flow and confirming that the second QoS flow can be set for the terminal device, the first control plane network element sends the first control plane network element to the user plane network element. Configuration information of the second QoS flow. In this way, there is no need to establish two QoS flows between the user plane network element and the AN device for the first service at all times, thereby saving resources between the user plane network element and the AN device.
在一种可能的设计中,第一控制面网元为策略控制功能网元时,第一控制面网元还可接收来自用户面网元的第一数据量信息和第二数据量信息,并根据第一QoS流的计费标准、第二QoS流的计费标准、第一数据量信息和第二数据量信息进行计费。其中,第一数据量信息用于指示通过第一QoS流传输的数据量,第二数据量信息用于指示通过第二QoS流传输的数据量。In a possible design, when the first control plane network element is a policy control function network element, the first control plane network element may also receive the first data volume information and the second data volume information from the user plane network element, and Charging is performed according to the charging standard of the first QoS flow, the charging standard of the second QoS flow, the first data amount information, and the second data amount information. Wherein, the first data amount information is used to indicate the data amount transmitted through the first QoS flow, and the second data amount information is used to indicate the data amount transmitted through the second QoS flow.
通过该设计,策略控制功能网元可根据第一QoS流的计费标准、第二QoS流的计费标准、第一数据量信息和第二数据量信息进行计费,从而可以实现对第一业务的精确计费。Through this design, the policy control function network element can perform charging according to the charging standard of the first QoS flow, the charging standard of the second QoS flow, the first data amount information, and the second data amount information, so that the first Accurate billing of business.
第六方面,本申请实施例提供了一种通信装置,包括用于执行以上任一方面中各个步骤的单元。In a sixth aspect, the embodiment of the present application provides a communication device, including a unit for performing each step in any one of the above aspects.
第七方面,本申请实施例提供了一种通信设备,包括至少一个处理元件和至少一个存储元件,其中该至少一个存储元件用于存储程序和数据,该至少一个处理元件用于读取并执行存储元件存储的程序和数据,以使得本申请以上任一方面提供的方法被实现。In the seventh aspect, the embodiment of the present application provides a communication device, including at least one processing element and at least one storage element, wherein the at least one storage element is used to store programs and data, and the at least one processing element is used to read and execute The program and data stored in the storage element enable the method provided by any one of the above aspects of the present application to be realized.
第八方面,本申请实施例提供了一种通信系统,包括:用于执行第一方面提供的方法的AN设备,用于执行第二方面提供的方法的用户面网元,以及用于执行第三方面或第四方面提供的方法的终端设备。In an eighth aspect, an embodiment of the present application provides a communication system, including: an AN device for performing the method provided in the first aspect, a user plane network element for performing the method provided in the second aspect, and a network element for performing the first aspect The terminal device of the method provided in the third aspect or the fourth aspect.
第九方面,本申请实施例还提供了一种计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行上述任一方面提供的方法。In a ninth aspect, the embodiment of the present application further provides a computer program, which, when the computer program is run on a computer, causes the computer to execute the method provided in any one of the above aspects.
第十方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,当所述计算机程序被计算机执行时,使得所述计算机执行上述任一方面提供的方法。In the tenth aspect, the embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a computer, the computer executes any one of the above-mentioned method provided.
第十一方面,本申请实施例还提供了一种芯片,所述芯片用于读取存储器中存储的计算机程序,执行上述任一方面提供的方法。In an eleventh aspect, the embodiment of the present application further provides a chip, the chip is used to read a computer program stored in a memory, and execute the method provided in any one of the above aspects.
第十二方面,本申请实施例还提供了一种芯片系统,该芯片系统包括处理器,用于支持计算机装置实现上述任一方面提供的方法。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器用于保存该计算机装置必要的程序和数据。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。In a twelfth aspect, an embodiment of the present application further provides a chip system, where the chip system includes a processor, configured to support a computer device to implement the method provided in any one of the above aspects. In a possible design, the chip system further includes a memory, and the memory is used to store necessary programs and data of the computer device. The system-on-a-chip may consist of chips, or may include chips and other discrete devices.
上述第六方面至第十二方面中任一方面可以达到的技术效果可以参照上述第一方面至第五方面中任一方面中任一种可能设计可以达到的技术效果说明,重复之处不予论述。The technical effects that can be achieved by any one of the sixth to twelfth aspects can be described with reference to the technical effects that can be achieved by any possible design of any one of the first to fifth aspects, and the repetitions will not be repeated. discuss.
附图说明Description of drawings
图1为本申请实施例提供的一种通信系统的架构图;FIG. 1 is an architecture diagram of a communication system provided by an embodiment of the present application;
图2为本申请实施例提供的一种通信方法的流程图;FIG. 2 is a flowchart of a communication method provided by an embodiment of the present application;
图3为本申请实施例的一种应用场景示意图;FIG. 3 is a schematic diagram of an application scenario of an embodiment of the present application;
图4为本申请实施例提供的另一种通信方法的流程图;FIG. 4 is a flow chart of another communication method provided by the embodiment of the present application;
图5为本申请实施例提供的另一种通信方法中对业务数据包进行传输的流程图;FIG. 5 is a flow chart of transmitting service data packets in another communication method provided by the embodiment of the present application;
图6为本申请实施例提供的又一种通信方法的流程图;FIG. 6 is a flowchart of another communication method provided by the embodiment of the present application;
图7为本申请实施例提供的再一种通信方法的流程图;FIG. 7 is a flowchart of another communication method provided by the embodiment of the present application;
图8为本申请实施例提供的一种通信装置的结构图;FIG. 8 is a structural diagram of a communication device provided by an embodiment of the present application;
图9为本申请实施例提供的一种通信设备的结构图。FIG. 9 is a structural diagram of a communication device provided by an embodiment of the present application.
具体实施方式Detailed ways
本申请提供一种通信方法、装置及设备,用以保证用户体验。其中,方法、装置和设备是基于同一技术构思的,由于解决问题的原理相似,因此装置、设备与方法的实施可以相互参见,重复之处不再赘述。The present application provides a communication method, device and equipment to ensure user experience. Among them, the method, device and equipment are based on the same technical conception. Since the principles of solving the problems are similar, the implementation of the device, device and method can be referred to each other, and the repetition will not be repeated.
通过本申请实施例提供的方案,接入网(access network,AN)设备可以通过第一QoS流接收来自用户面网元的第一业务的第一业务数据包;当第一QoS流满足发生阻塞的条件时,用户面网元通过第二QoS流传输第一业务的第二业务数据包,相应的,AN设备通过第二QoS流接收第一业务的第二业务数据包。其中,第一QoS流和第二QoS流均为用户面网元和AN设备之间的QoS流,且均与AN设备和终端设备之间的第三QoS流对应。此外,当第一QoS流满足发生阻塞的条件时,用户面网元向AN设备发送第一指示;其中,第一指示可以用于指示停止通过第一QoS流传输所述第一业务的业务数据包。在接收到来自用户面网元的第一指示之前,AN设备可通过第三QoS流发送第一业务数据包,并缓存第二业务数据包;在接收到第一指示之后,AN设备可通过第三QoS流发送第二业务数据包。Through the solution provided by the embodiment of the present application, the access network (access network, AN) device can receive the first service data packet of the first service from the user plane network element through the first QoS flow; when the first QoS flow satisfies the blocking occurrence When the condition is met, the user plane network element transmits the second service data packet of the first service through the second QoS flow, and correspondingly, the AN device receives the second service data packet of the first service through the second QoS flow. Wherein, both the first QoS flow and the second QoS flow are QoS flows between the user plane network element and the AN device, and both correspond to the third QoS flow between the AN device and the terminal device. In addition, when the first QoS flow satisfies the blocking condition, the user plane network element sends a first indication to the AN device; wherein, the first indication may be used to indicate to stop transmitting the service data of the first service through the first QoS flow Bag. Before receiving the first instruction from the user plane network element, the AN device can send the first service data packet through the third QoS flow, and buffer the second service data packet; after receiving the first instruction, the AN device can send the first service data packet through the third QoS flow The third QoS flow sends the second service data packet.
通过该方案,用户面网元和AN设备之间有两个可用于传输第一业务的QoS流;当第一QoS流发生拥塞时,用户面网元可通过第二QoS流传输第一业务,从而可以降低第一业务的传输时延,进而可保证用户体验。Through this solution, there are two QoS flows that can be used to transmit the first service between the user plane network element and the AN device; when the first QoS flow is congested, the user plane network element can transmit the first service through the second QoS flow, Therefore, the transmission delay of the first service can be reduced, thereby ensuring user experience.
另外,第一QoS流和第二QoS流传输数据包的速度可能不同。例如,当第一QoS流满足发生拥塞的条件时,第二QoS流的服务质量很可能高于第一QoS流的服务质量(例 如,第二QoS流的负载比第一QoS流的负载低;或者,第二QoS流的最大数据突发量大于第一QoS流的最大数据突发量),从而导致第二QoS流传输数据包的速度可能会大于第一QoS传输数据包的速度。这样,AN设备接收数据包的顺序和UPF发送数据包的顺序可能并不相同。在该方法中,AN设备可根据第一指示先发送通过第一QoS流接收的第一业务数据包,再发送通过第二QoS流接收的第二业务数据包,从而可以对通过两条QoS流接收到的第一业务的业务数据包进行保序发送。这样,即便AN设备接收数据包的顺序和UPF发送数据包的顺序不同,AN设备发送数据包的顺序和UPF发送数据包的顺序是相同的,从而使得终端设备可以按照正确的顺序接收到业务数据包,避免业务数据包的乱序,进而可以保证用户体验。In addition, the speed at which data packets are transmitted by the first QoS flow and the second QoS flow may be different. For example, when the first QoS flow satisfies the condition of congestion, the quality of service of the second QoS flow is likely to be higher than the quality of service of the first QoS flow (for example, the load of the second QoS flow is lower than the load of the first QoS flow; Or, the maximum data burst size of the second QoS flow is greater than the maximum data burst size of the first QoS flow), so that the speed at which data packets are transmitted by the second QoS flow may be greater than the speed at which data packets are transmitted by the first QoS flow. In this way, the order in which the AN device receives data packets may be different from the order in which the UPF sends data packets. In this method, the AN device can first send the first service data packet received through the first QoS flow according to the first instruction, and then send the second service data packet received through the second QoS flow, so that the two QoS flows can be compared. The received service data packets of the first service are sent in order. In this way, even if the order in which AN devices receive data packets is different from the order in which UPF sends data packets, the order in which AN devices send data packets is the same as the order in which UPF sends data packets, so that terminal devices can receive service data in the correct order packets to avoid out-of-order service data packets, thereby ensuring user experience.
以下,对本申请实施例中的部分用语进行解释说明,以便于本领域技术人员理解。In the following, some terms used in the embodiments of the present application are explained, so as to facilitate the understanding of those skilled in the art.
1)、通信设备,泛指具有通信功能的设备。示例性的,所述通信设备可以但不限于为终端设备、AN设备、接入点、核心网(core network,CN)设备等。1) Communication equipment, generally refers to equipment with communication functions. Exemplarily, the communication device may be, but not limited to, a terminal device, an AN device, an access point, a core network (core network, CN) device, and the like.
2)、微突发,是指端口在非常短的时间(毫秒级别)内收到非常多的突发数据。典型的微突发的持续时间通常在1毫秒-100毫秒之间,以至于瞬时突发速率达到平均速率的数十倍甚至数百倍。2) Micro-burst means that the port receives a lot of burst data in a very short time (millisecond level). The duration of a typical microburst is usually between 1 millisecond and 100 milliseconds, so that the instantaneous burst rate reaches tens or even hundreds of times of the average rate.
3)、拥塞,是指到达用户面的通信设备(例如,AN设备、UPF和终端设备中的至少一项)的数据包过多,使得该通信设备来不及处理,以致引起该通信设备乃至整个网络性能下降的现象。3) Congestion refers to too many data packets arriving at a communication device on the user plane (for example, at least one of AN device, UPF, and terminal device), making it too late for the communication device to process, causing the communication device and even the entire network to performance degradation.
发生拥塞的原因在于网络负载大于网络资源容量和处理能力。例如,当存在以下情况至少一项时,会发生拥塞:网络带宽容量不足、发生微突发、用户面的通信设备的存储空间不足等。Congestion occurs because the network load is greater than the network resource capacity and processing power. For example, congestion occurs when there is at least one of the following conditions: insufficient network bandwidth capacity, occurrence of microbursts, insufficient storage space of communication equipment on the user plane, and the like.
4)、会话,为移动通信系统中的会话管理网元针对终端设备建立的终端设备、接入网设备、用户面网元以及DN之间的连接,用于传输所述终端设备和所述DN之间的用户面数据,例如协议数据单元(protocol data unit,PDU)会话。4) Session, which is the connection between the terminal device, the access network device, the user plane network element and the DN established by the session management network element in the mobile communication system for the terminal device, and is used to transmit the terminal device and the DN User plane data between, such as protocol data unit (protocol data unit, PDU) session.
终端设备可以与移动通信系统(例如,5G通信系统)建立一个或者多个PDU会话,每个PDU会话中可以建立一个或者多个QoS流。QoS流可以是PDU会话中区分业务流的最小粒度。The terminal device can establish one or more PDU sessions with a mobile communication system (for example, a 5G communication system), and one or more QoS flows can be established in each PDU session. QoS flow can be the smallest granularity for distinguishing service flows in a PDU session.
5)、QoS流,用于传输一个业务中同一QoS需求(可靠性或时延)的数据。5). The QoS flow is used to transmit data with the same QoS requirement (reliability or delay) in one service.
移动通信系统通过QoS流来对QoS进行管理。对于每一个业务流,移动通信系统可根据业务的QoS需求选择对应的QoS流。QoS流包括保证比特率(guaranteed bit rate,GBR)QoS流和不保证比特率(non-guaranteed bit rate,non-GBR)QoS流。The mobile communication system manages QoS through QoS flows. For each service flow, the mobile communication system can select the corresponding QoS flow according to the QoS requirement of the service. QoS flow includes guaranteed bit rate (guaranteed bit rate, GBR) QoS flow and non-guaranteed bit rate (non-guaranteed bit rate, non-GBR) QoS flow.
一个终端设备可以与移动通信系统建立一个或者多个PDU会话;每个PDU会话中可以建立一个或者多个QoS流。每个QoS流由一个QoS流标识(QoS flow identifier,QFI)来标识,QFI在一个PDU会话中唯一标识一个QoS流。A terminal device can establish one or more PDU sessions with the mobile communication system; one or more QoS flows can be established in each PDU session. Each QoS flow is identified by a QoS flow identifier (QFI), and QFI uniquely identifies a QoS flow in a PDU session.
一个QoS流的配置信息(也可称为参数)可包括以下至少一项:5G QoS指示符(5G QoS identifier,5QI)、分配保持优先级(allocation and retention priority,ARP)、保证流比特速率(guaranteed flow bit rate,GFBR)和最大流比特速率(maximum flow bit rate,MFBR)、QoS通知控制(QoS notification control,QNC)、反转QoS属性(reflective QoS attribute,RQA)。The configuration information (also referred to as parameters) of a QoS flow may include at least one of the following: 5G QoS indicator (5G QoS identifier, 5QI), allocation and retention priority (allocation and retention priority, ARP), guaranteed flow bit rate ( Guaranteed flow bit rate (GFBR) and maximum flow bit rate (maximum flow bit rate, MFBR), QoS notification control (QoS notification control, QNC), reverse QoS attribute (reflective QoS attribute, RQA).
具体的,QoS流的配置信息的定义如下:Specifically, the configuration information of the QoS flow is defined as follows:
5QI:用于索引到移动通信系统为一个QoS流设置的5G QoS特征。5QI分为标准化的5QI、预配置的5QI和动态分配的5QI。其中,标准化的5QI所对应的5G QoS特征可与一组标准化的5G QoS特征值一一对应;预配置的5QI所对应的5G QoS特征值可预配置在相应的设备(例如,AN设备或用户面网元)中;动态分配的5QI所对应的5G QoS特征可包含在QoS配置文件(QoS profile)中发送给相应的设备(例如,AN设备或用户面网元)。QoS特征可包括以下至少一项:资源类型(resource type,其中,资源类型分为GBR资源和non-GBR资源)、优先级级别(priority level)、数据包时延预算(packet delay budget,例如,数据包从终端设备到用户面网元的时延)、数据包错误概率(packet error rate)、MFBR、平均窗口(averaging window,用于计算GBR对应的速率)。5QI: Used to index to the 5G QoS characteristics set by the mobile communication system for a QoS flow. 5QI is divided into standardized 5QI, pre-configured 5QI and dynamically allocated 5QI. Among them, the 5G QoS features corresponding to the standardized 5QI can correspond to a set of standardized 5G QoS feature values; the 5G QoS feature values corresponding to the pre-configured 5QI can be pre-configured The 5G QoS characteristics corresponding to the dynamically assigned 5QI can be included in the QoS profile (QoS profile) and sent to the corresponding device (for example, AN device or user plane network element). The QoS feature may include at least one of the following: resource type (resource type, wherein the resource type is divided into GBR resource and non-GBR resource), priority level (priority level), packet delay budget (packet delay budget, for example, The delay of the data packet from the terminal device to the user plane network element), the packet error rate (packet error rate), MFBR, and the averaging window (used to calculate the rate corresponding to GBR).
ARP:包含优先等级、抢占能力和被抢占能力等。ARP: includes priority level, preemption capability and preemption capability, etc.
RQA:用于指示使用对应QoS流传输的业务使用反转QoS。RQA: It is used to indicate that the service transmitted using the corresponding QoS flow uses reverse QoS.
QNC:用于指示AN设备在QoS流的使用期内当GFBR不能被满足时是否通知CN设备。QNC: It is used to indicate whether the AN device notifies the CN device when the GFBR cannot be satisfied during the service period of the QoS flow.
GFBR:用于指示期望提供给GBR QoS流的比特率。GFBR: Used to indicate the bit rate expected to be provided to the GBR QoS flow.
MFBR:用于指示限制提供给GBR QoS流的比特率,即提供给GBR QoS流的最大比特率。如超过该比特率,数据包可以被丢弃。MFBR: used to indicate to limit the bit rate provided to the GBR QoS flow, that is, the maximum bit rate provided to the GBR QoS flow. If this bit rate is exceeded, packets can be dropped.
SMF可以对QoS流进行控制。具体的,SMF可以在PDU会话建立流程或PDU会话修改流程中,确定QoS流的配置信息,并向用户面网元和AN设备发送QoS流的配置信息。每个QoS流可满足一个或多个QoS规则。任一QoS规则可包含:关联的QoS流的QFI、数据包过滤器集、优先级等。SMF can control the QoS flow. Specifically, the SMF can determine the configuration information of the QoS flow during the PDU session establishment process or the PDU session modification process, and send the QoS flow configuration information to the user plane network element and the AN device. Each QoS flow can satisfy one or more QoS rules. Any QoS rule may contain: the QFI, packet filter set, priority, etc. of the associated QoS flow.
6)、抖动,是实时性传输的参数,用于描述延迟变化的程度,为最大延迟和最小延迟的时间差。6) Jitter is a parameter of real-time transmission and is used to describe the degree of delay change, which is the time difference between the maximum delay and the minimum delay.
当抖动在规定的范围之内时,不会因抖动影响服务质量。当抖动超出规定的范围时,会对业务的质量产生影响,例如会影响语音或影像的断续,进而影响语音或影响的含义。例如,A向B发送语音“我留,他不留”。假设每个词是一个分组,发送端将语音分割为6个分组,以均匀的时间间隔顺序发送。在传输过程中,每个分组的延迟可能不同,导致接收端收到分组时个分组之间的时间间隔与发送时的时间间隔不一致。B有可能会理解为“我留他?不留!”。从而造成语义上的误解。When the jitter is within the specified range, the quality of service will not be affected by the jitter. When the jitter exceeds the specified range, it will affect the quality of the service, for example, it will affect the discontinuity of voice or video, and then affect the meaning of voice or influence. For example, A sends a voice message "I stay, but he does not stay" to B. Assuming that each word is a packet, the sender divides the speech into 6 packets and sends them in sequence at even time intervals. During the transmission process, the delay of each packet may be different, causing the time interval between the packets when the receiving end receives the packets to be inconsistent with the time interval when sending them. B may understand it as "I keep him? No!". resulting in semantic misunderstandings.
7)、下行传输方向中,网络侧(例如,接入网设备或核心网)向终端设备发送的数据;上行传输方向中,终端设备向网络侧发送数据。7) In the downlink transmission direction, the data sent by the network side (for example, access network device or core network) to the terminal device; in the uplink transmission direction, the terminal device sends data to the network side.
本申请实施例中,对于名词的数目,除非特别说明,表示“单数名词或复数名词”,即“一个或多个”。“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。例如,A/B,表示:A或B。“以下至少一项(个)”或其类似表达,是指这些项(个)中的任意组合,包括单项(个)或复数项(个)的任意组合。In the embodiments of the present application, as for the number of nouns, unless otherwise specified, it means "singular noun or plural noun", that is, "one or more". "At least one" means one or more, and "plurality" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three kinds of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character "/" generally indicates that the contextual objects are an "or" relationship. For example, A/B means: A or B. "At least one (individual) of the following" or similar expressions refer to any combination of these items (individuals), including any combination of a single item (individuals) or a plurality of item (individuals).
另外,需要理解的是,在本申请的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不应理解为指示或暗示相对重要性,也不应理解为指示或暗示顺序。In addition, it should be understood that in the description of this application, words such as "first" and "second" are only used to distinguish the purpose of description, and should not be interpreted as indicating or implying relative importance, nor should they be understood as To indicate or imply an order.
另外,本申请实施例中的“大于或等于”可以被替换成“大于”,“小于或等于”可以被替换为“小于”。In addition, "greater than or equal to" in the embodiments of the present application may be replaced with "greater than", and "less than or equal to" may be replaced with "less than".
下面将结合附图,对本申请实施例应用的通信系统进行描述。The communication system applied in the embodiment of the present application will be described below with reference to the accompanying drawings.
图1示出了本申请实施例提供的通信方法适用的一种可能的通信系统的架构。如图1所示,所述通信系统包括三部分:终端设备(图中以用户设备(user equipment,UE)为例说明)、移动通信系统和数据网络(data network,DN)。其中,所述移动通信系统为终端设备提供接入服务和连接服务。FIG. 1 shows the architecture of a possible communication system to which the communication method provided by the embodiment of the present application is applicable. As shown in FIG. 1, the communication system includes three parts: terminal equipment (in the figure, user equipment (UE) is taken as an example), a mobile communication system and a data network (data network, DN). Wherein, the mobile communication system provides access service and connection service for terminal equipment.
终端设备为用户侧能够接收和发射无线信号的实体,需要通过移动通信系统访问DN。可选的,所述终端设备可以作为其他数据采集器或其他终端设备的中继设备,从而使这些设备能够通过移动通信系统与DN进行业务通信。The terminal device is an entity capable of receiving and transmitting wireless signals on the user side, and needs to access the DN through the mobile communication system. Optionally, the terminal device may serve as a relay device for other data collectors or other terminal devices, so that these devices can communicate with the DN through the mobile communication system.
在本申请中,终端设备又可以称为UE、移动台(mobile station,MS)、移动终端(mobile terminal,MT)等。目前,一些终端设备的举例为:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、车载设备、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。In this application, the terminal device may also be called UE, mobile station (mobile station, MS), mobile terminal (mobile terminal, MT) and so on. At present, some examples of terminal equipment are: mobile phone, tablet computer, notebook computer, palmtop computer, vehicle-mounted equipment, mobile Internet device (mobile internet device, MID), wearable device, virtual reality (virtual reality, VR) equipment, augmented reality (augmented reality, AR) equipment, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, smart grid ( Wireless terminals in smart grid, wireless terminals in transportation safety, wireless terminals in smart city, wireless terminals in smart home, etc.
移动通信系统可以接入至少一个DN,同一个DN也可以被至少一个移动通信系统接入。其中,所述移动通信系统可包括AN和CN两部分。A mobile communication system can access at least one DN, and the same DN can also be accessed by at least one mobile communication system. Wherein, the mobile communication system may include two parts, AN and CN.
部署在AN中的网络设备为AN设备,具体可以负责无线接入、空口侧的无线资源管理、QoS管理、数据压缩和加密、用户面数据转发等功能。The network devices deployed in the AN are AN devices, which are specifically responsible for functions such as wireless access, wireless resource management on the air interface side, QoS management, data compression and encryption, and user plane data forwarding.
AN设备作为无线接入网中的节点,还可以称为基站、无线接入网(radio access network,RAN)节点(或设备)、接入点(access point,AP)。目前,一些AN设备的举例为:新一代节点B(generation Node B,gNB)、传输接收点(transmission reception point,TRP)、演进型节点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)等。As a node in the radio access network, the AN device may also be called a base station, a radio access network (radio access network, RAN) node (or device), and an access point (access point, AP). At present, some examples of AN equipment are: new generation Node B (generation Node B, gNB), transmission reception point (transmission reception point, TRP), evolved Node B (evolved Node B, eNB), wireless network controller (radio network controller, RNC), node B (Node B, NB), base station controller (base station controller, BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved NodeB, or home Node B , HNB), or base band unit (base band unit, BBU), etc.
另外,在一种网络结构中,所述AN设备可以包括集中单元(centralized unit,CU)节点和分布单元(distributed unit,DU)节点。这种结构将AN设备的协议层拆分开,部分协议层的功能放在CU集中控制,剩下部分或全部协议层的功能分布在DU中,由CU集中控制DU。In addition, in a network structure, the AN device may include a centralized unit (centralized unit, CU) node and a distributed unit (distributed unit, DU) node. This structure separates the protocol layers of the AN device, and the functions of some protocol layers are placed in the CU for centralized control, and the remaining part or all of the functions of the protocol layers are distributed in the DU, and the CU centrally controls the DU.
部署在CN中的网元可以统称为CN设备。CN设备能够将终端设备接入到不同的数据网络,以及进行计费、移动性管理、会话管理、用户面转发等业务。在不同制式的移动通信系统中,具有相同功能的CN设备的名称可以存在差异。然而,本申请实施例不限定具有每个功能的CN设备的具体名称。下面以5G移动通信系统中的CN为例,对CN中的主要网元的功能进行具体介绍。5G移动通信系统的CN中的网元可以分为控制面网元和用户面网元两类。Network elements deployed in the CN may be collectively referred to as CN equipment. The CN device can connect terminal devices to different data networks, and perform services such as billing, mobility management, session management, and user plane forwarding. In mobile communication systems of different standards, names of CN devices with the same function may be different. However, the embodiment of the present application does not limit the specific name of the CN device with each function. Taking the CN in the 5G mobile communication system as an example, the functions of the main network elements in the CN are introduced in detail below. The network elements in the CN of the 5G mobile communication system can be divided into two types: control plane network elements and user plane network elements.
用户面网元包括用户面功能(user plane function,UPF),主要负责分组数据包转发、QoS控制、计费信息统计等。本申请实施例也可用于以下场景:现场传感器等设备通过UE以及AN接入核心网,通过UPF在用户面进行数据传输。The user plane network element includes a user plane function (UPF), which is mainly responsible for packet forwarding, QoS control, and accounting information statistics. The embodiments of the present application can also be used in the following scenarios: devices such as on-site sensors are connected to the core network through the UE and the AN, and data transmission is performed on the user plane through the UPF.
控制面网元主要负责业务流程交互、向用户面下发数据包转发策略、QoS控制策略等。控制面网元主要包括:接入和移动性管理功能(access and mobility management function,AMF)、会话管理功能(session management function,SMF)、策略控制功能(policy and charging function,PCF)、应用功能(application function,AF)、网络开放功能(network exposure function,NEF)、统一数据管理(unified data management,UDM)、认证服务器功能(authentication server function,AUSF)、网络切片选择功能(network slice selection function,NSSF)、网络功能仓储功能(network function(网络功能,NF)repository function,NRF)。The network elements of the control plane are mainly responsible for service process interaction, delivering data packet forwarding policies and QoS control policies to the user plane. The control plane network elements mainly include: access and mobility management function (access and mobility management function, AMF), session management function (session management function, SMF), policy control function (policy and charging function, PCF), application function ( application function (AF), network exposure function (NEF), unified data management (unified data management, UDM), authentication server function (authentication server function, AUSF), network slice selection function (network slice selection function, NSSF ), network function storage function (network function (network function, NF) repository function, NRF).
其中,AMF主要负责UE的接入管理和移动性管理,例如,负责UE的状态维护、UE的可达性管理、非移动性管理(mobility management,MM)非接入层(non-access-stratum,NAS)消息的转发等。Among them, AMF is mainly responsible for UE access management and mobility management, for example, responsible for UE state maintenance, UE reachability management, non-mobility management (mobility management, MM) non-access-stratum (non-access-stratum) , NAS) message forwarding, etc.
SMF主要负责UE的会话管理,例如,管理PDU会话的建立和删除、维护PDU会话上下文及用户面转发管道信息等。SMF is mainly responsible for UE session management, for example, managing the establishment and deletion of PDU sessions, maintaining PDU session context and user plane forwarding pipeline information, etc.
PCF主要负责策略控制,例如,生成和/或管理用户、会话、QoS流处理策略等。The PCF is mainly responsible for policy control, for example, generating and/or managing user, session, QoS flow processing policies, and the like.
AF主要负责提供各种业务服务,能够通过NEF与核心网进行交互,并和策略管理框架交互以进行策略管理等。AF is mainly responsible for providing various business services, and can interact with the core network through NEF, and interact with the policy management framework for policy management, etc.
NEF主要负责提供网络能力开放相关的框架、鉴权和接口,在移动通信系统的网络功能和其他网络功能之间传递信息。NEF is mainly responsible for providing frameworks, authentication and interfaces related to network capability opening, and transferring information between network functions and other network functions of the mobile communication system.
AUSF主要负责执行UE的安全认证。The AUSF is mainly responsible for performing UE security authentication.
NSSF主要负责为UE选择网络切片。NSSF is mainly responsible for selecting network slices for UE.
NRF主要负责为其他网元提供网络功能实体信息的存储功能和选择功能。The NRF is mainly responsible for providing storage and selection functions for network function entity information for other network elements.
UDM主要负责用户签约上下文管理。UDM is mainly responsible for user subscription context management.
DN是位于移动通信系统之外的网络。例如,所述DN可以是分组数据网络(packet data network,PDN),如因特网(Internet)、因特网协议(internet protocol,IP)多媒体业务(IP Multi-media Service,IMS)网络、某些应用专用的数据网络、以太网、IP本地网络等,本申请对此不作限定。DN上可部署多种业务,可为终端设备提供数据和/或语音等服务。DN is a network located outside the mobile communication system. For example, the DN may be a packet data network (packet data network, PDN), such as the Internet (Internet), Internet protocol (internet protocol, IP) multimedia service (IP Multi-media Service, IMS) network, some application-specific Data network, Ethernet, IP local network, etc., are not limited in this application. A variety of services can be deployed on the DN, which can provide data and/or voice services for terminal equipment.
图1中还展示了通信系统中多个网元之间的接口,下面对本申请实施例涉及的网元之间的相关接口进行说明。N1是UE和核心网控制面之间的接口,UE和AMF之间可以通过N1接口进行交互。N2是接入网设备和核心网控制面之间的接口,接入网设备与AMF之间可以通过N2接口进行交互。N3是接入网设备和UPF之间的通信接口,用于传输用户数据。N4是SMF和UPF之间的通信接口,用于对UPF进行策略配置等。N6是UPF与DN之间的通信端口。CN中的各个控制面网元之间的接口可以采用相应的服务化接口的方式实现,具体可以参见图1所示。FIG. 1 also shows the interfaces between multiple network elements in the communication system, and the related interfaces between the network elements involved in the embodiment of the present application will be described below. N1 is the interface between the UE and the core network control plane, and the UE and the AMF can interact through the N1 interface. N2 is an interface between the access network device and the core network control plane, and the access network device and the AMF can interact through the N2 interface. N3 is a communication interface between the access network equipment and the UPF, and is used to transmit user data. N4 is a communication interface between SMF and UPF, and is used for policy configuration of UPF, etc. N6 is the communication port between UPF and DN. The interfaces between the network elements of the control plane in the CN may be implemented in the form of corresponding service-oriented interfaces, as shown in FIG. 1 for details.
需要说明的是,图1所示的通信系统并不构成本申请实施例能够适用的通信系统的限定。因此本申请实施例提供的通信方法还可以适用于各种制式的通信系统,例如:LTE通信系统、5G通信系统、6G通信系统以及未来通信系统、车到万物(vehicle to everything,V2X)、长期演进-车联网(LTE-vehicle,LTE-V)、车到车(vehicle to vehicle,V2V)、车联网、机器类通信(Machine Type Communications,MTC)、物联网(internet of things,IoT)、长期演进-机器到机器(LTE-machine to machine,LTE-M)、机器到机器(machine to machine,M2M)、物联网等。另外,还需要说明的是,本申请实施例也不对通信系统中各网元的名 称进行限定,例如,在不同制式的通信系统中,各网元可以有其它名称;又例如,当多个网元融合在同一物理设备中时,该物理设备也可以有其他名称。It should be noted that the communication system shown in FIG. 1 does not constitute a limitation to the applicable communication system of the embodiment of the present application. Therefore, the communication method provided by the embodiment of the present application can also be applied to communication systems of various standards, such as: LTE communication system, 5G communication system, 6G communication system and future communication system, vehicle to everything (V2X), long-term Evolution - Internet of Vehicles (LTE-vehicle, LTE-V), Vehicle to Vehicle (V2V), Internet of Vehicles, Machine Type Communications (Machine Type Communications, MTC), Internet of Things (Internet of Things, IoT), long-term Evolution - machine to machine (LTE-machine to machine, LTE-M), machine to machine (machine to machine, M2M), Internet of Things, etc. In addition, it should be noted that the embodiment of the present application does not limit the names of the network elements in the communication system. For example, in communication systems of different standards, each network element may have other names; When elements are fused in the same physical device, the physical device can also have other names.
下面结合附图对本申请提供的方案进行说明。The solutions provided by the present application will be described below in conjunction with the accompanying drawings.
本申请实施例提供了一种通信方法,该方法可应用于图1所示的通信系统中。下面参阅图2所示的流程图,以第一业务的业务数据包包括:数据包1、数据包2、数据包3、数据包4和数据包5为例,对该方法的流程进行具体说明。如图3所示,在该方法中,UPF和AN设备之间的至少两个QoS流(例如,第一QoS流和第二QoS流)可与AN设备和终端设备之间的一个QoS流(第三QoS流)对应,均可用于传输第一业务的业务数据包。下面以该至少两个QoS流为第一QoS流和第二QoS流为例进行说明。An embodiment of the present application provides a communication method, which can be applied to the communication system shown in FIG. 1 . Referring to the flow chart shown in Figure 2 below, taking the service data packets of the first service including: data packet 1, data packet 2, data packet 3, data packet 4 and data packet 5 as an example, the flow of the method will be described in detail . As shown in FIG. 3, in this method, at least two QoS flows (for example, a first QoS flow and a second QoS flow) between the UPF and the AN device can be connected with one QoS flow ( Corresponding to the third QoS flow), both can be used to transmit service data packets of the first service. In the following, description will be made by taking the at least two QoS flows as the first QoS flow and the second QoS flow as an example.
S201:UPF通过第一QoS流向AN设备发送第一业务的第一业务数据包。相应的,AN设备通过第一QoS流接收来自UPF的第一业务的第一业务数据包。S201: The UPF sends the first service data packet of the first service to the AN device through the first QoS flow. Correspondingly, the AN device receives the first service data packet of the first service from the UPF through the first QoS flow.
其中,第一业务可以但不限于包括以下至少一项:语音业务、数据业务或视频业务等。第一业务数据包可以包括:数据包1和数据包2。Wherein, the first service may include, but is not limited to, at least one of the following: a voice service, a data service, or a video service. The first service data package may include: data package 1 and data package 2 .
S202:当第一QoS流满足发生拥塞的条件(也就是说,第一QoS流发生拥塞)时,UPF向AN设备发送第一指示。其中,第一指示可以用于指示停止通过第一QoS流传输第一业务的业务数据包;换句话说,第一指示可以指示结束通过第一QoS流传输第一业务的业务数据包。相应的,AN设备接收来自UPF的第一指示。S202: When the first QoS flow satisfies a condition for congestion (that is, the first QoS flow is congested), the UPF sends a first indication to the AN device. Wherein, the first indication may be used to indicate to stop transmitting the service data packets of the first service through the first QoS flow; in other words, the first indication may indicate to stop transmitting the service data packets of the first service through the first QoS flow. Correspondingly, the AN device receives the first indication from the UPF.
其中,第一指示可以为用于指示停止通过第一QoS流传输第一业务的业务数据包的消息,也可以为消息中的信元。具体地,当第一指示为信元时,第一指示可以复用现有消息中的信元,也可以是现有消息中的新的信元。例如,该信元可以为第一指示字段,当该字段取值为第一值时,可以指示停止通过第一QoS流传输第一业务的业务数据包。Wherein, the first indication may be a message for instructing to stop transmitting the service data packet of the first service through the first QoS flow, or may be an information element in the message. Specifically, when the first indication is an information element, the first indication may reuse an information element in an existing message, or may be a new information element in an existing message. For example, the information element may be a first indication field, and when the value of the field is the first value, it may indicate to stop transmitting the service data packets of the first service through the first QoS flow.
S203:当第一QoS流满足发生拥塞的条件时,UPF通过第二QoS流向AN设备发送第一业务的第二业务数据包。相应的,AN设备通过第二QoS流接收来自UPF的第一业务的第二业务数据包。S203: When the first QoS flow satisfies the congestion condition, the UPF sends the second service data packet of the first service to the AN device through the second QoS flow. Correspondingly, the AN device receives the second service data packet of the first service from the UPF through the second QoS flow.
其中,第二业务数据包可包括:数据包3和数据包4。Wherein, the second service data package may include: data package 3 and data package 4 .
应理解,本申请对S202和S203的顺序不作限定,可以先执行S202,再执行S203;也可以先执行S203,再执行S202;还可以同时执行S202和S203。It should be understood that the present application does not limit the sequence of S202 and S203, S202 may be executed first, and then S203 may be executed; S203 may be executed first, and then S202 may be executed; S202 and S203 may also be executed simultaneously.
需要说明的是,当第一QoS流满足发生拥塞的条件时,第二QoS流的服务质量可能高于第一QoS流的服务质量。例如,第二QoS流的负载比第一QoS流的负载低;或,第二QoS流的最大数据突发量大于第一QoS流的最大数据突发量。这样,AN设备接收数据包的顺序和UPF发送数据包的顺序可能并不相同。例如,UPF通过第一QoS流依次发送数据包1和数据包2,然后,再通过第二QoS流依次发送数据包3和数据包4。但是,AN设备接收到的数据包的顺序可能为:数据包1、数据包3、数据包4和数据包2。It should be noted that when the first QoS flow satisfies the condition of congestion, the QoS of the second QoS flow may be higher than that of the first QoS flow. For example, the load of the second QoS flow is lower than that of the first QoS flow; or, the maximum data burst of the second QoS flow is greater than the maximum data burst of the first QoS flow. In this way, the order in which the AN device receives data packets may be different from the order in which the UPF sends data packets. For example, the UPF sequentially sends data packet 1 and data packet 2 through the first QoS flow, and then sequentially sends data packet 3 and data packet 4 through the second QoS flow. However, the sequence of data packets received by the AN device may be: data packet 1, data packet 3, data packet 4, and data packet 2.
S204:AN设备在接收到来自UPF的第一指示之前,通过第三QoS流发送第一业务数据包,缓存第二业务数据包。S204: Before receiving the first indication from the UPF, the AN device sends the first service data packet through the third QoS flow, and buffers the second service data packet.
如前所述,AN设备接收数据包的顺序和UPF发送数据包的顺序可能并不相同。AN设备在接收到通过第一QoS流传输的全部业务数据包之前,可能会接收到通过第二QoS流传输的业务数据包。此时,如果AN设备没有收到第一指示,则AN设备可以通过第三QoS流发送通过第一QoS流接收的业务数据包(即第一业务数据包),并缓存通过第二QoS 流接收的业务数据包(即第二业务数据包)。例如,AN设备在接收到第一指示之前,通过第一QoS流接收到数据包1和数据包2,通过第二QoS流接收到数据包3和数据包4。为了避免出现数据包的乱序,在接收到第一指示之前,AN设备会缓存通过第二QoS流接收的数据包3和数据包4,并通过第三QoS流向终端设备发送通过第一QoS流接收的数据包1和数据包2。As mentioned above, the order in which the AN device receives the data packets may not be the same as the order in which the UPF sends the data packets. The AN device may receive the service data packets transmitted through the second QoS flow before receiving all the service data packets transmitted through the first QoS flow. At this time, if the AN device does not receive the first instruction, the AN device can send the service data packet (that is, the first service data packet) received through the first QoS flow through the third QoS flow, and buffer the service data packet received through the second QoS flow The service data packet (that is, the second service data packet). For example, before receiving the first indication, the AN device receives data packet 1 and data packet 2 through the first QoS flow, and receives data packet 3 and data packet 4 through the second QoS flow. In order to avoid out-of-order data packets, before receiving the first instruction, the AN device will buffer the data packets 3 and 4 received through the second QoS flow, and send them to the terminal device through the third QoS flow through the first QoS flow Packet 1 and Packet 2 received.
S205:AN设备在接收到第一指示之后,通过第三QoS流发送第二业务数据包。S205: After receiving the first indication, the AN device sends the second service data packet through the third QoS flow.
例如,AN设备在接收到第一指示之后,可通过第三QoS流向终端设备发送缓存的数据包3和数据包4。For example, after receiving the first indication, the AN device may send the buffered data packet 3 and data packet 4 to the terminal device through the third QoS flow.
通过上述方法,AN设备和UPF之间的第一QoS流和第二QoS流均可传输第一业务;当正在传输第一业务的第一QoS流满足发生拥塞的条件时,UPF可通过第二QoS流传输第一业务的剩余业务数据包。当第一QoS流满足发生拥塞的条件时,第二QoS流的服务质量很可能高于第一QoS流。这样,通过第二QoS流传输第一业务的剩余业务数据包,可以降低第一业务的传输时延,从而提高用户体验。Through the above method, both the first QoS flow and the second QoS flow between the AN device and the UPF can transmit the first service; when the first QoS flow that is transmitting the first service meets the condition of congestion, the UPF can pass the second The QoS flow transmits the remaining service data packets of the first service. When the first QoS flow satisfies the condition of congestion, the service quality of the second QoS flow is likely to be higher than that of the first QoS flow. In this way, by transmitting the remaining service data packets of the first service through the second QoS flow, the transmission delay of the first service can be reduced, thereby improving user experience.
另外,在上述方法中,AN设备可根据第一指示先发送通过第一QoS流接收的第一业务数据包,再发送通过第二QoS流接收的第二业务数据包,从而可以对通过两条QoS流接收到的第一业务的业务数据包进行保序发送。这样,即便AN设备接收数据包的顺序和UPF发送数据包的顺序不同,AN设备发送数据包的顺序和UPF发送数据包的顺序是相同的,从而使得终端设备可以按照正确的顺序接收到业务数据包,避免业务数据包的乱序,进而可以保证用户体验。In addition, in the above method, the AN device can first send the first service data packet received through the first QoS flow according to the first instruction, and then send the second service data packet received through the second QoS flow, so that the two The service data packets of the first service received by the QoS flow are sent in order. In this way, even if the order in which AN devices receive data packets is different from the order in which UPF sends data packets, the order in which AN devices send data packets is the same as the order in which UPF sends data packets, so that terminal devices can receive service data in the correct order packets to avoid out-of-order service data packets, thereby ensuring user experience.
下面对图2所示实施例的一些可选实现方式进行说明。Some optional implementation manners of the embodiment shown in FIG. 2 are described below.
可选的,在S201之前,第一控制面网元可向UPF发送第一QoS流的配置信息。相应的,UPF可接收来自第一控制面网元的第一QoS流的配置信息。Optionally, before S201, the first control plane network element may send configuration information of the first QoS flow to the UPF. Correspondingly, the UPF may receive configuration information of the first QoS flow from the first control plane network element.
其中,第一控制面网元可以为以下之一:SMF、PCF、NEF。例如,当第一控制面网元为SMF时,SMF可以通过N4接口向UPF发送第一QoS流的配置信息;当第一控制面网元为PCF或NEF时,第一控制面网元可通过第一控制面网元与SMF之间的接口,通过SMF向UPF转发第一QoS流的配置信息。Wherein, the first control plane network element may be one of the following: SMF, PCF, NEF. For example, when the first control plane network element is SMF, the SMF can send the configuration information of the first QoS flow to the UPF through the N4 interface; when the first control plane network element is PCF or NEF, the first control plane network element can pass The interface between the first control plane network element and the SMF forwards the configuration information of the first QoS flow to the UPF through the SMF.
可选的,第一控制面网元可以在针对第一业务的PDU会话建立流程或PDU会话修改流程中向UPF发送第一QoS流的配置信息。Optionally, the first control plane network element may send configuration information of the first QoS flow to the UPF during the PDU session establishment process or PDU session modification process for the first service.
此外,在向UPF发送第一QoS流的配置信息之前,第一控制面网元可以但不限于通过以下方式之一来获取第一QoS流的配置信息:In addition, before sending the configuration information of the first QoS flow to the UPF, the first control plane network element may, but not limited to, obtain the configuration information of the first QoS flow in one of the following ways:
方式一:第一控制面网元为第一业务配置第一QoS流,得到第一QoS流的配置信息。Way 1: The first control plane network element configures the first QoS flow for the first service, and obtains configuration information of the first QoS flow.
可选的,第一控制面网元可以根据第一业务的时延需求和吞吐率等信息,确定第一QoS流的配置信息。其中,第一控制面网元可以从AF获取第一业务的时延需求和吞吐率等信息;也可以根据第一业务的签约信息,从UDM获取第一业务的时延需求和吞吐率等信息;还可以从AF获取第一业务的时延需求和吞吐率中的部分信息,从UDM获取第一业务的时延需求和吞吐率中的其他信息。Optionally, the first control plane network element may determine configuration information of the first QoS flow according to information such as delay requirements and throughput of the first service. Among them, the first control plane network element can obtain information such as the delay requirement and throughput rate of the first service from the AF; it can also obtain information such as the delay requirement and throughput rate of the first service from the UDM according to the subscription information of the first service ; It is also possible to obtain part of the delay requirement and throughput information of the first service from the AF, and obtain other information of the delay requirement and throughput rate of the first service from the UDM.
例如,第一业务的时延需求小于或等于10毫秒(ms)。第一控制面网元可以对该时延需求进行分解,确定UPF和AN设备之间的时延需求小于或等于2ms,AN设备和终端设备之间的时延需求小于或等于8ms。然后,第一控制面网元可选择传输时延小于或等于2ms的配 置信息(例如,5QI或QoS配置)作为第一QoS流的配置信息,例如,可选择吞吐率与MFBR的比值小于或等于2的配置信息。For example, the delay requirement of the first service is less than or equal to 10 milliseconds (ms). The first control plane network element may decompose the delay requirement, and determine that the delay requirement between the UPF and the AN device is less than or equal to 2ms, and the delay requirement between the AN device and the terminal device is less than or equal to 8ms. Then, the first control plane network element can select configuration information (for example, 5QI or QoS configuration) with a transmission delay less than or equal to 2ms as the configuration information of the first QoS flow, for example, the ratio of throughput to MFBR can be selected to be less than or equal to 2 configuration information.
方式二:第一控制面网元接收来自第二控制面网元的第一QoS流的配置信息。Manner 2: The first control plane network element receives configuration information of the first QoS flow from the second control plane network element.
其中,第二控制面网元可以是PCF或NEF,第一控制面网元可以是SMF。例如,第二控制面网元是PCF或NEF,PCF或NEF可在生成第一QoS流的配置信息之后,将第一QoS流的配置信息发送给SMF。Wherein, the second control plane network element may be PCF or NEF, and the first control plane network element may be SMF. For example, the second control plane network element is a PCF or NEF, and the PCF or NEF may send the configuration information of the first QoS flow to the SMF after generating the configuration information of the first QoS flow.
其中,所述第二控制面网元生成第一QoS流的配置信息的方式可以参考方式一,此处不再赘述。For the manner in which the second control plane network element generates the configuration information of the first QoS flow, reference may be made to manner 1, which will not be repeated here.
可选的,在S202中,UPF可以但不限于通过以下实现方式之一向AN设备发送第一指示。Optionally, in S202, the UPF may, but not limited to, send the first indication to the AN device through one of the following implementation manners.
实现方式一:UPF通过第一QoS流向AN设备发送第一指示。Implementation mode 1: the UPF sends the first indication to the AN device through the first QoS flow.
在一些可能的方式中,UPF可通过第一QoS流中的消息向AN设备发送第一指示;其中,第一指示包含第一业务的指示信息(例如,第一业务的业务标识)。例如,当UPF确定第一QoS流满足发生拥塞的条件时,UPF已通过第一QoS流向AN设备发送数据包1和数据包2,则UPF可通过第一QoS流向AN设备发送作为第一指示的结束消息(也可以称为结束包)。其中,该结束消息中可包含第一业务的业务标识。该示例与步骤S201-S203结合的一个示例为,UPF通过第一QoS流依次发送数据包1、数据包2和第一指示,然后,再通过第二QoS流依次发送数据包3和数据包4。AN设备可能依次接收到数据包1、数据包3、数据包4、数据包2和第一指示。AN设备在接收到第一指示前,可缓存数据包3和数据包4。In some possible manners, the UPF may send the first indication to the AN device through a message in the first QoS flow; wherein, the first indication includes indication information of the first service (for example, a service identifier of the first service). For example, when the UPF determines that the first QoS flow satisfies the condition for congestion, and the UPF has sent data packets 1 and 2 to the AN device through the first QoS flow, the UPF may send the first indication to the AN device through the first QoS flow. End message (also called end packet). Wherein, the end message may include the service identifier of the first service. An example of combining this example with steps S201-S203 is that the UPF sequentially sends data packet 1, data packet 2 and the first indication through the first QoS flow, and then sequentially sends data packet 3 and data packet 4 through the second QoS flow . The AN device may receive data packet 1, data packet 3, data packet 4, data packet 2 and the first indication in sequence. The AN device may cache data packets 3 and 4 before receiving the first indication.
在另一些可能的方式中,UPF可通过第一QoS流中的第一业务的业务数据包向AN设备发送第一指示;也就是说,第一指示可包含在通过第一QoS流传输的第一业务的业务数据包中。In some other possible manners, the UPF may send the first indication to the AN device through the service data packet of the first service in the first QoS flow; that is, the first indication may be included in the first QoS flow transmitted In the service data packet of a service.
例如,当UPF确定第一QoS流满足发生拥塞的条件时,UPF已通过第一QoS流向AN设备发送数据包1,则UPF可在数据包2中携带第一指示,并通过第一QoS流向AN设备发送数据包2。该示例与步骤S201-S203结合的一个示例为,UPF通过第一QoS流依次发送数据包1和携带第一指示的数据包2,然后,再通过第二QoS流依次发送数据包3和数据包4。AN设备可能依次接收到数据包1、数据包3、数据包4和包含第一指示的数据包2。AN设备在接收到第一指示前,可缓存数据包3和数据包4。For example, when the UPF determines that the first QoS flow satisfies the condition of congestion, and the UPF has sent data packet 1 to the AN device through the first QoS flow, the UPF can carry the first indication in the data packet 2 and send the first QoS flow to the AN device. Device sends packet 2. An example of combining this example with steps S201-S203 is that UPF sequentially sends data packet 1 and data packet 2 carrying the first indication through the first QoS flow, and then sequentially sends data packet 3 and data packet through the second QoS flow 4. The AN device may sequentially receive data packet 1, data packet 3, data packet 4, and data packet 2 containing the first indication. The AN device may cache data packets 3 and 4 before receiving the first indication.
可选的,当第一指示包含在通过第一QoS流传输的第一业务的业务数据包中时,第一指示可以包含在通过第一QoS流传输的第一业务的业务数据包的包头(例如,通用分组无线服务(general packet radio service,GPRS)隧道协议用户面(GPRS tunneling protocol user plane,GTPU)头)中。另外,该包含第一指示的业务数据包可以为UPF通过第一QoS流发送的第一业务的最后一个业务数据包。Optionally, when the first indication is included in the service data packet of the first service transmitted through the first QoS flow, the first indication may be included in the header of the service data packet of the first service transmitted through the first QoS flow ( For example, in a general packet radio service (general packet radio service, GPRS) tunneling protocol user plane (GPRS tunneling protocol user plane, GTPU) header). In addition, the service data packet containing the first indication may be the last service data packet of the first service sent by the UPF through the first QoS flow.
实现方式二:UPF通过UPF和AN设备之间除第一QoS流之外的其他QoS流向AN设备发送第一指示。下面以UPF通过UPF和AN设备之间的第二QoS流向AN设备发送第一指示为例进行说明。Implementation mode 2: the UPF sends the first indication to the AN device through other QoS flows between the UPF and the AN device except the first QoS flow. The following describes by taking the UPF sending the first indication to the AN device through the second QoS flow between the UPF and the AN device as an example.
在一些可能的方式中,UPF可通过第二QoS流中的消息向AN设备发送第一指示;其中,该第一指示可包括第一业务的指示信息(例如,第一业务的业务标识)和第一QoS流 的指示信息(例如,第一QoS流的标识)。可选的,该第一指示还可包含通过第一QoS流传输的第一业务的最后一个业务数据包的指示信息(例如,该业务数据包的序号)。例如,当UPF确定第一QoS流满足发生拥塞的条件时,UPF已通过第一QoS流向AN设备发送数据包1和数据包2,UPF可通过第二QoS流向AN设备发送作为第一指示的结束消息,该结束消息中可包含第一业务的业务标识和第一QoS流的标识。In some possible manners, the UPF may send the first indication to the AN device through a message in the second QoS flow; where the first indication may include indication information of the first service (for example, the service identifier of the first service) and Indication information of the first QoS flow (for example, the identifier of the first QoS flow). Optionally, the first indication may also include indication information of the last service data packet of the first service transmitted through the first QoS flow (for example, the sequence number of the service data packet). For example, when UPF determines that the first QoS flow satisfies the condition of congestion, UPF has sent data packet 1 and data packet 2 to the AN device through the first QoS flow, and UPF can send the end of the first indication to the AN device through the second QoS flow message, the end message may include the service identifier of the first service and the identifier of the first QoS flow.
另外,在该可能的方式中,UPF通过第二QoS流发送第一指示和通过第二QoS流发送第一业务的第二业务数据包的顺序不限。例如,UPF可以先通过第二QoS流发送第一指示,再通过第二QoS流发送第一业务的第二业务数据包。又例如,UPF可以先通过第二QoS流发送第一业务的第二业务数据包,再通过第二QoS流发送第一指示。又例如,UPF可以通过第二QoS流依次发送数据包3、第一指示和数据包4。In addition, in this possible manner, the order in which the UPF sends the first indication through the second QoS flow and the second service data packet of the first service through the second QoS flow is not limited. For example, the UPF may first send the first indication through the second QoS flow, and then send the second service data packet of the first service through the second QoS flow. For another example, the UPF may first send the second service data packet of the first service through the second QoS flow, and then send the first indication through the second QoS flow. For another example, the UPF may sequentially send the data packet 3, the first indication, and the data packet 4 through the second QoS flow.
该可能的方式与步骤S203-S204结合时,AN设备在接收到来自UPF的第一指示之前,通过第三QoS流发送第一业务数据包,缓存第二业务数据包。并且,在接收到来自UPF的第一指示之后,且接收到通过第一QoS流传输的第一业务的最后一个业务数据包之前,AN设备仍通过第三QoS流发送第一业务数据包,并缓存第二业务数据包。例如,UPF通过第一QoS流依次发送数据包1和数据包2,然后,再通过第二QoS流依次发送第一指示、数据包3和数据包4。AN设备可能依次接收到数据包1、第一指示、数据包3、数据包4和数据包2;其中,第一指示可指示:通过第一QoS流传输的第一业务的最后一个业务数据包为数据包2。AN设备在接收到数据包2之前,可缓存数据包3和数据包4;在接收到数据包2之后,AN设备才通过第三QoS流发送数据包3和数据包4。When this possible method is combined with steps S203-S204, the AN device sends the first service data packet through the third QoS flow and buffers the second service data packet before receiving the first instruction from the UPF. And, after receiving the first indication from the UPF and before receiving the last service data packet of the first service transmitted through the first QoS flow, the AN device still sends the first service data packet through the third QoS flow, and Buffering the second service data packet. For example, the UPF sequentially sends data packet 1 and data packet 2 through the first QoS flow, and then sends the first indication, data packet 3 and data packet 4 sequentially through the second QoS flow. The AN device may sequentially receive data packet 1, first indication, data packet 3, data packet 4, and data packet 2; wherein, the first indication may indicate: the last service data packet of the first service transmitted through the first QoS flow for packet 2. The AN device may buffer the data packet 3 and the data packet 4 before receiving the data packet 2; after receiving the data packet 2, the AN device sends the data packet 3 and the data packet 4 through the third QoS flow.
在另一些可能的方式中,UPF可通过第二QoS流中的第一业务的业务数据包向AN设备发送第一指示;也就是说,第一指示可包含在通过第二QoS流传输的第一业务的业务数据包中。其中,该第一指示可包括第一QoS流的指示信息(例如,第一QoS流的标识)。可选的,该第一指示还可包含通过第一QoS流传输的第一业务的最后一个业务数据包的指示信息(例如,该业务数据包的序号)。In some other possible manners, the UPF may send the first indication to the AN device through the service data packet of the first service in the second QoS flow; that is, the first indication may be included in the first indication transmitted through the second QoS flow. In the service data packet of a service. Wherein, the first indication may include indication information of the first QoS flow (for example, an identifier of the first QoS flow). Optionally, the first indication may also include indication information of the last service data packet of the first service transmitted through the first QoS flow (for example, the sequence number of the service data packet).
例如,当UPF确定第一QoS流满足发生拥塞的条件时,UPF已通过第一QoS流向AN设备发送数据包1和数据包2,UPF可在数据包3中携带第一指示,并通过第二QoS流向AN设备发送数据包3。该示例与步骤S201-S204结合时,AN设备在接收到来自UPF的第一指示之前,通过第三QoS流发送第一业务数据包,缓存第二业务数据包。并且,在接收到来自UPF的第一指示之后,且接收到通过第一QoS流传输的第一业务的最后一个业务数据包之前,AN设备仍通过第三QoS流发送第一业务数据包,并缓存第二业务数据包。例如,UPF通过第一QoS流依次发送数据包1和数据包2,然后,再通过第二QoS流依次发送携带第一指示的数据包3和数据包4。AN设备可能依次接收到数据包1、携带第一指示的数据包3、数据包4和数据包2。其中,第一指示可指示:通过第一QoS流传输的第一业务的最后一个业务数据包为数据包2。AN设备在接收到数据包2之前,可缓存数据包3和数据包4;在接收到数据包2之后,AN设备才通过第三QoS流发送数据包3和数据包4。For example, when the UPF determines that the first QoS flow satisfies the condition for congestion, and the UPF has already sent data packets 1 and 2 to the AN device through the first QoS flow, the UPF may carry the first indication in the data packet 3, and pass the second The QoS flow sends packet 3 to the AN device. When this example is combined with steps S201-S204, the AN device sends the first service data packet through the third QoS flow and buffers the second service data packet before receiving the first instruction from the UPF. And, after receiving the first indication from the UPF and before receiving the last service data packet of the first service transmitted through the first QoS flow, the AN device still sends the first service data packet through the third QoS flow, and Buffering the second service data packet. For example, the UPF sequentially sends data packet 1 and data packet 2 through the first QoS flow, and then sequentially sends data packet 3 and data packet 4 carrying the first indication through the second QoS flow. The AN device may receive data packet 1, data packet 3 carrying the first indication, data packet 4, and data packet 2 in sequence. Wherein, the first indication may indicate that: the last service data packet of the first service transmitted through the first QoS flow is data packet 2. The AN device may buffer the data packet 3 and the data packet 4 before receiving the data packet 2; after receiving the data packet 2, the AN device sends the data packet 3 and the data packet 4 through the third QoS flow.
可选的,当第一指示可包含在通过第二QoS流传输的第一业务的业务数据包中时,该第一指示还可以包含在通过第二QoS流传输的第一业务的业务数据包的包头中。Optionally, when the first indication can be included in the service data packet of the first service transmitted through the second QoS flow, the first indication can also be included in the service data packet of the first service transmitted through the second QoS flow in the Baotou.
在又一些可能的方式中,UPF可通过第二QoS流中的第二业务的业务数据包向AN设备发送第一指示;也就是说,第一指示可包含在通过第二QoS流传输的第二业务的业务数 据包中。其中,该第一指示可包括第一业务的指示信息(例如,第一业务的业务标识)和第一QoS流的指示信息(例如,第一QoS流的标识)。In some other possible manners, the UPF may send the first indication to the AN device through the service data packet of the second service in the second QoS flow; that is, the first indication may be included in the first indication transmitted through the second QoS flow. In the service data packet of the second service. Wherein, the first indication may include indication information of the first service (eg, service identifier of the first service) and indication information of the first QoS flow (eg, identifier of the first QoS flow).
例如,当UPF确定第一QoS流满足发生拥塞的条件时,UPF已通过第一QoS流向AN设备发送数据包1和数据包2,UPF可在第二业务的业务数据包中携带第一指示,并通过第二QoS流向AN设备发送该第二业务的业务数据包。其中,第一指示可包含第一业务的业务标识和第一QoS流的标识。For example, when the UPF determines that the first QoS flow satisfies the condition of congestion, the UPF has sent the data packet 1 and the data packet 2 to the AN device through the first QoS flow, and the UPF may carry the first indication in the service data packet of the second service, And send the service data packet of the second service to the AN device through the second QoS flow. Wherein, the first indication may include a service identifier of the first service and an identifier of the first QoS flow.
其中,第二业务可以但不限于包括以下至少一项:语音业务、数据业务或视频业务等。Wherein, the second service may include, but is not limited to, at least one of the following: voice service, data service, or video service.
可选的,在S202和S203中,发生拥塞的条件可以包括但不限于以下至少一项:Optionally, in S202 and S203, the conditions for congestion may include but not limited to at least one of the following:
条件1:第一QoS流的转发延迟大于或等于第十二阈值;Condition 1: the forwarding delay of the first QoS flow is greater than or equal to the twelfth threshold;
条件2:第一QoS流的队列增长速度(queue buildup rate)大于或等于第十三阈值;Condition 2: the queue buildup rate of the first QoS flow is greater than or equal to the thirteenth threshold;
条件3:第一QoS流的入口流量和第一QoS流的出口流量的比值大于或等于第十四阈值;Condition 3: the ratio of the ingress traffic of the first QoS flow to the egress traffic of the first QoS flow is greater than or equal to the fourteenth threshold;
条件4:与第一QoS流对应的第三QoS流的转发延迟大于或等于第一阈值;Condition 4: the forwarding delay of the third QoS flow corresponding to the first QoS flow is greater than or equal to the first threshold;
条件5:与第一QoS流对应的第三QoS流的队列增长速度大于或等于第二阈值;Condition 5: the queue growth rate of the third QoS flow corresponding to the first QoS flow is greater than or equal to the second threshold;
条件6:与第一QoS流对应的第三QoS流的入口流量和第三QoS流的出口流量的比值大于或等于第三阈值;Condition 6: the ratio of the ingress traffic of the third QoS flow corresponding to the first QoS flow to the egress traffic of the third QoS flow is greater than or equal to the third threshold;
条件7:单位时间内通过第一QoS流接收的业务数据包的数据量大于或等于第四阈值。Condition 7: The data volume of service data packets received through the first QoS flow per unit time is greater than or equal to the fourth threshold.
需要指出的是,上述发生拥塞的条件也可以被替换为现有技术中QoS流的发生拥塞的条件,本申请对此不予限制。It should be pointed out that the above-mentioned conditions for occurrence of congestion may also be replaced by conditions for occurrence of QoS flow congestion in the prior art, which is not limited in this application.
在S202和S203中,UPF可以但不限于通过以下实现方式之一来确定第一QoS流是否满足发生拥塞的条件。In S202 and S203, the UPF may, but is not limited to, determine whether the first QoS flow satisfies a condition for congestion by using one of the following implementation manners.
实现方式1:UPF检测第一QoS流是否满足发生拥塞的条件。Implementation mode 1: The UPF detects whether the first QoS flow satisfies the condition for congestion.
在本实现方式1中,UPF可以但不限于通过以下步骤A1-A2,检测第一QoS流是否满足发生拥塞的条件。In this implementation mode 1, the UPF may, but not limited to, detect whether the first QoS flow satisfies the condition of congestion through the following steps A1-A2.
A1:UPF获取发生拥塞的条件。A1: UPF obtains the conditions for congestion.
在一些可能的方式中,UPF可以获取预先配置的发生拥塞的条件。In some possible ways, UPF can obtain pre-configured congestion occurrence conditions.
在另一些可能的方式中,UPF可以从第一控制面网元获取用于指示发生拥塞的条件的信息。In some other possible manners, the UPF may acquire information indicating a condition of congestion from the first control plane network element.
其中,第一控制面网元可以为以下之一:SMF、PCF、NEF。当第一控制面网元为SMF时,UPF可以通过N4接口接收来自SMF的用于指示发生拥塞的条件的信息。当第一控制面网元为PCF或NEF时,PCF或NEF可通过SMF向UPF转发用于指示发生拥塞的条件的信息。Wherein, the first control plane network element may be one of the following: SMF, PCF, NEF. When the first control plane network element is the SMF, the UPF may receive the information indicating the condition of congestion from the SMF through the N4 interface. When the first control plane network element is a PCF or NEF, the PCF or NEF may forward the information used to indicate the condition of congestion to the UPF through the SMF.
可选的,UPF可以在针对第一业务的PDU会话建立流程或PDU会话修改流程中,从第一控制面网元获取用于指示发生拥塞的条件的信息。例如,当SMF接收到针对第一业务的会话建立请求之后,为第一业务配置第一QoS流时,SMF可以向UPF发送用于指示发生拥塞的条件的信息。Optionally, in the PDU session establishment process or PDU session modification process for the first service, the UPF may acquire information indicating the condition of congestion from the first control plane network element. For example, when the SMF configures the first QoS flow for the first service after receiving the session establishment request for the first service, the SMF may send information indicating the condition of congestion to the UPF.
A2:UPF对第一QoS流进行检测,判断第一QoS流是否满足发生拥塞的条件。A2: The UPF detects the first QoS flow, and judges whether the first QoS flow satisfies the condition for congestion.
其中,UPF可检测第一QoS流是否满足条件1-条件3中任一项,下面对此进行说明。Wherein, the UPF may detect whether the first QoS flow satisfies any one of Condition 1-Condition 3, which will be described below.
可选的,对于条件1,UPF可检测接收到将通过第一QoS流传输的业务数据包的时刻 (下面简称为第一时刻),以及通过第一QoS流发送该业务数据包的时刻(下面简称为第二时刻),当第二时刻与第一时刻的差值大于或等于第十二阈值时,UPF可确定满足条件1;否则,UPF可确定不满足条件1。Optionally, for condition 1, the UPF may detect the moment when the service data packet to be transmitted through the first QoS flow (hereinafter referred to as the first moment) is received, and the moment when the service data packet is sent through the first QoS flow (hereinafter referred to as the second moment for short), when the difference between the second moment and the first moment is greater than or equal to the twelfth threshold, the UPF may determine that condition 1 is satisfied; otherwise, the UPF may determine that condition 1 is not satisfied.
可选的,对于条件2,UPF可检测将通过第一QoS流传输的业务数据包的流队列的增长速度,即将通过第一QoS流传输的业务数据包的队列增长速度。当该队列增长速度大于或等于第十三阈值时,UPF可确定满足条件2;否则,UPF可确定不满足条件2。当第一QoS流没有发生拥塞时,数据包发出速率大于或等于数据包进入队列的速率,因此,队列增长速率等于0或者小于一个很小的值。一旦第一QoS流发生拥塞,数据包进入第一QoS流的队列的速率会远大于数据包的发出速率;这样,队列里缓存的数据包的数量会快速增加,从而导致队列增长速率大于或等于第十三阈值。因此,可据此判断第一QoS流是否发生拥塞。Optionally, for condition 2, the UPF may detect the growth rate of the flow queue of service data packets to be transmitted through the first QoS flow, that is, the growth rate of the queue of service data packets to be transmitted through the first QoS flow. When the growth rate of the queue is greater than or equal to the thirteenth threshold, the UPF may determine that condition 2 is satisfied; otherwise, the UPF may determine that condition 2 is not satisfied. When no congestion occurs in the first QoS flow, the rate at which data packets are sent out is greater than or equal to the rate at which data packets enter the queue. Therefore, the growth rate of the queue is equal to 0 or less than a very small value. Once the first QoS flow is congested, the rate at which data packets enter the queue of the first QoS flow will be much greater than the sending rate of data packets; thus, the number of buffered data packets in the queue will increase rapidly, resulting in a queue growth rate greater than or equal to Thirteenth threshold. Therefore, it can be judged whether the first QoS flow is congested or not.
可选的,对于条件3,UPF可检测接收到将通过第一QoS流传输的业务数据包的总数据量(即入口流量),以及通过第一QoS流发送的业务数据包的总数据量(即出口流量),当入口流量和出口流量的比值大于或等于第十四阈值时,UPF可确定满足条件3;否则,UPF可确定不满足条件3。Optionally, for condition 3, the UPF may detect that the total data volume (that is, the ingress traffic) of the service data packets that will be transmitted through the first QoS flow is received, and the total data volume of the service data packets sent through the first QoS flow ( That is, the outlet flow), when the ratio of the inlet flow to the outlet flow is greater than or equal to the fourteenth threshold, the UPF may determine that condition 3 is satisfied; otherwise, the UPF may determine that condition 3 is not satisfied.
应理解,UPF也可以采用其他现有的方式检测第一QoS流是否满足发生拥塞的条件,本申请对此不予限制。It should be understood that the UPF may also use other existing methods to detect whether the first QoS flow satisfies the congestion condition, which is not limited in this application.
实现方式2:AN设备通知UPF第一QoS流满足发生拥塞的条件。Implementation mode 2: the AN device notifies the UPF that the first QoS flow meets the congestion condition.
具体的,当检测到第一QoS流满足发生拥塞的条件时,AN设备可向UPF发送用于指示第一QoS流发生拥塞的信息。相应的,UPF接收来自AN设备的用于指示第一QoS流发生拥塞的信息。Specifically, when it is detected that the first QoS flow satisfies the condition of congestion, the AN device may send information for indicating that the first QoS flow is congested to the UPF. Correspondingly, the UPF receives information from the AN device indicating that the first QoS flow is congested.
其中,AN设备可检测第一QoS流是否满足条件4-条件7中任一项,下面对此进行说明。Wherein, the AN device may detect whether the first QoS flow satisfies any one of Condition 4-Condition 7, which will be described below.
可选的,对于条件4,AN设备可检测将通过第三QoS流传输的业务数据包的时刻(下面简称为第三时刻),以及通过第三QoS流发送该业务数据包的时刻(下面简称为第四时刻),当第四时刻与第三时刻的差值大于或等于第一阈值时,AN设备可确定满足条件4;否则,AN设备可确定不满足条件4。Optionally, for condition 4, the AN device may detect the moment at which the service data packet will be transmitted through the third QoS flow (hereinafter referred to as the third moment), and the moment at which the service data packet is sent through the third QoS flow (hereinafter referred to as is the fourth moment), when the difference between the fourth moment and the third moment is greater than or equal to the first threshold, the AN device may determine that condition 4 is met; otherwise, the AN device may determine that condition 4 is not met.
可选的,对于条件5,AN设备可检测将通过第三QoS流传输的业务数据包的队列增长速度(例如,将通过第三QoS流传输的业务数据包的流队列的队列增长速率等),当该队列增长速度大于或等于第二阈值时,AN设备可确定满足条件5;否则,AN设备可确定不满足条件5。Optionally, for condition 5, the AN device may detect the queue growth rate of the service data packet to be transmitted through the third QoS flow (for example, the queue growth rate of the flow queue of the service data packet to be transmitted through the third QoS flow, etc.) , when the growth rate of the queue is greater than or equal to the second threshold, the AN device may determine that condition 5 is satisfied; otherwise, the AN device may determine that condition 5 is not satisfied.
可选的,对于条件6,AN设备可检测将通过第三QoS流传输的业务数据包的总数据量(即入口流量),以及通过第三QoS流发送的业务数据包的总数据量(即出口流量),当入口流量和出口流量的比值大于或等于第三阈值时,AN设备可确定满足条件6;否则,AN设备可确定不满足条件6。Optionally, for condition 6, the AN device may detect the total data volume of service data packets (ie, ingress traffic) to be transmitted through the third QoS flow, and the total data volume of service data packets sent through the third QoS flow (ie, outlet flow), when the ratio of the inlet flow to the outlet flow is greater than or equal to the third threshold, the AN device may determine that condition 6 is satisfied; otherwise, the AN device may determine that condition 6 is not satisfied.
在条件4-条件6中,第三QoS流和第一QoS流对应;因此,当第三QoS流发生拥塞时,第一QoS流很可能发生拥塞。例如,对于下行数据,当第三QoS流发生拥塞时,AN设备中第三QoS流的队列可能会越来越长,从而降低AN设备接收来自第一QoS流的数据包的速度,进而使得UPF中第一QoS流的队列越来越长,导致第一QoS流发生拥塞。In condition 4-condition 6, the third QoS flow corresponds to the first QoS flow; therefore, when the third QoS flow is congested, the first QoS flow is likely to be congested. For example, for downlink data, when the third QoS flow is congested, the queue of the third QoS flow in the AN device may become longer and longer, thereby reducing the speed at which the AN device receives data packets from the first QoS flow, thereby making the UPF The queue of the first QoS flow is getting longer and longer, resulting in congestion of the first QoS flow.
对于条件7,AN设备可检测在单位时间内通过第一QoS流接收的业务数据包的数据 量是否大于或等于第四阈值,也就是说,AN设备可检测到第一QoS流是否发生微突发。微突发是产生拥塞的原因之一,因此,AN设备可根据条件7判断第一QoS流是否发生拥塞。For condition 7, the AN device can detect whether the data volume of service data packets received through the first QoS flow within a unit time is greater than or equal to the fourth threshold, that is, the AN device can detect whether a microburst occurs in the first QoS flow hair. Microburst is one of the causes of congestion. Therefore, the AN device can judge whether the first QoS flow is congested according to condition 7.
应理解,AN设备也可以采用其他现有的方式检测第一QoS流是否满足发生拥塞的条件,本申请对此不予限制。It should be understood that the AN device may also use other existing methods to detect whether the first QoS flow satisfies the congestion condition, which is not limited in this application.
另外,在本实现方式2中,用于指示第一QoS流发生拥塞的信息可以为消息,也可以为消息中的信元,还可以为业务数据包中的指示信息。In addition, in this implementation mode 2, the information used to indicate that the first QoS flow is congested may be a message, or an information element in a message, or indication information in a service data packet.
具体地,当用于指示第一QoS流发生拥塞的信息为信元时,用于指示第一QoS流发生拥塞的信息可以复用现有消息中的信元,也可以是现有消息中的新的信元。例如,该信元可以为第二指示字段,当该字段取值为第二值时,可以指示第一QoS流发生拥塞。Specifically, when the information used to indicate the congestion of the first QoS flow is an information element, the information used to indicate the congestion of the first QoS flow can be multiplexed with the information element in the existing message, or can be the information element in the existing message. new cell. For example, the information element may be a second indication field, and when the field takes a second value, it may indicate that the first QoS flow is congested.
当用于指示第一QoS流发生拥塞的信息为业务数据包中的指示信息时,该指示信息可包含在业务数据包的包头(例如,GTPU头)中。例如,AN设备可以将第一QoS流所在的PDU会话的标识、第一QoS流的标识封装在业务数据包的GTPU头,并向UPF发送该业务数据包。When the information used to indicate the congestion of the first QoS flow is the indication information in the service data packet, the indication information may be included in the packet header (eg, GTPU header) of the service data packet. For example, the AN device may encapsulate the identifier of the PDU session where the first QoS flow resides and the identifier of the first QoS flow in the GTPU header of the service data packet, and send the service data packet to the UPF.
可选的,在S203之前,第一控制面网元可向UPF发送第二QoS流的配置信息。相应的,UPF接收来自第一控制面网元的第二QoS流的配置信息。Optionally, before S203, the first control plane network element may send configuration information of the second QoS flow to the UPF. Correspondingly, the UPF receives configuration information of the second QoS flow from the first control plane network element.
其中,第一控制面网元可以但不限于通过以下实施方式之一来向UPF发送第二QoS流的配置信息:Wherein, the first control plane network element may, but not limited to, send the configuration information of the second QoS flow to the UPF through one of the following implementation manners:
实施方式一:第一控制面网元在获取第二QoS流的配置信息之后,即向UPF发送第二QoS流的配置信息。Embodiment 1: After obtaining the configuration information of the second QoS flow, the first control plane network element sends the configuration information of the second QoS flow to the UPF.
在本实施方式一中,第一控制面网元可以但不限于通过以下方式之一获取第二QoS流的配置信息。In the first embodiment, the first control plane network element may, but is not limited to, acquire the configuration information of the second QoS flow in one of the following ways.
方式1:第一控制面网元为第一业务配置第二QoS流,得到第二QoS流的配置信息。Mode 1: The first control plane network element configures the second QoS flow for the first service, and obtains configuration information of the second QoS flow.
其中,第一控制面网元可以为SMF、PCF或NEF。Wherein, the first control plane network element may be SMF, PCF or NEF.
可选的,第一控制面网元可以根据第一QoS流的配置信息和以下至少一项,确定第二QoS流的配置信息:第一业务的时延预算、提供所述第一业务的服务器的吞吐率、所述第一业务的最大数据突发量。例如,第一控制面网元可根据第一业务的最大数据突发量以及第一QoS流的配置信息计算出延迟的最大抖动,并根据最大抖动以及第一业务的时延预算确定第二QoS流的配置信息。一个示例为,第一控制面网元可先确定第二QoS流的时延预算,其中,第二QoS流的时延预算小于第一业务的时延预算和最大抖动之差;然后,第一控制面网元可选择符合第二QoS流的时延预算的配置信息作为第二QoS流的配置信息。Optionally, the first control plane network element may determine the configuration information of the second QoS flow according to the configuration information of the first QoS flow and at least one of the following: the delay budget of the first service, the server providing the first service The throughput rate and the maximum data burst volume of the first service. For example, the first control plane network element can calculate the maximum delay jitter according to the maximum data burst of the first service and the configuration information of the first QoS flow, and determine the second QoS according to the maximum jitter and the delay budget of the first service Stream configuration information. An example is that the first control plane network element may first determine the delay budget of the second QoS flow, where the delay budget of the second QoS flow is smaller than the difference between the delay budget of the first service and the maximum jitter; then, the first The control plane network element may select configuration information conforming to the delay budget of the second QoS flow as the configuration information of the second QoS flow.
方式2:第一控制面网元接收来自第二控制面网元的第二QoS流的配置信息。Manner 2: The first control plane network element receives the configuration information of the second QoS flow from the second control plane network element.
第二控制面网元可以为PCF或NEF,第一控制面网元可以为SMF。例如,第二控制面网元是PCF或NEF,PCF或NEF可在生成第二QoS流的配置信息之后,将第二QoS流的配置信息发送给SMF。The second control plane network element may be PCF or NEF, and the first control plane network element may be SMF. For example, the second control plane network element is a PCF or NEF, and the PCF or NEF may send the configuration information of the second QoS flow to the SMF after generating the configuration information of the second QoS flow.
其中,所述第二控制面网元生成第二QoS流的配置信息的方式可以参考方式1,此处不再赘述。Wherein, the manner in which the second control plane network element generates the configuration information of the second QoS flow can refer to manner 1, which will not be repeated here.
在本实施方式一中,第一控制面网元可以同时向用户面网元发送第一QoS流的配置信息和第二QoS流的配置信息,也就是说,第一控制面网元可以预先为用户面网元配置第一 QoS流和第二QoS流。In the first embodiment, the first control plane network element can send the configuration information of the first QoS flow and the configuration information of the second QoS flow to the user plane network element at the same time, that is, the first control plane network element can pre-set The user plane network element configures the first QoS flow and the second QoS flow.
实施方式二:第一控制面网元在接收到来自终端设备的第一请求之后,向UPF发送第二QoS流的配置信息。Embodiment 2: After receiving the first request from the terminal device, the first control plane network element sends configuration information of the second QoS flow to the UPF.
其中,第一请求可用于请求为第一业务在UPF和AN设备之间设置至少两条QoS流(例如,上述第一QoS流和第二QoS流),且该至少两条QoS流均与第三QoS流对应。Wherein, the first request may be used to request to set at least two QoS flows (for example, the first QoS flow and the second QoS flow) between the UPF and the AN device for the first service, and the at least two QoS flows are related to the first QoS flow Three QoS flows correspond.
在本实施方式二中,对第一控制面网元接收来自终端设备的第一请求与获取第二QoS流的配置信息的执行顺序不限。例如,第一控制面网元可以在接收来自终端设备的第一请求之后,再获取第二QoS流的配置信息,从而向UPF发送获取的第二QoS流的配置信息;也可以先获取第二QoS流的配置信息,在接收到来自终端设备的第一请求之后,再向UPF发送第二QoS流的配置信息。其中,获取第二QoS流的配置信息的方式可以参考实施方式一,此处不再赘述。In the second embodiment, the order in which the first control plane network element receives the first request from the terminal device and acquires the configuration information of the second QoS flow is not limited. For example, the first control plane network element may obtain the configuration information of the second QoS flow after receiving the first request from the terminal device, so as to send the obtained configuration information of the second QoS flow to the UPF; or obtain the configuration information of the second QoS flow first. The configuration information of the QoS flow sends the configuration information of the second QoS flow to the UPF after receiving the first request from the terminal device. For the manner of acquiring the configuration information of the second QoS flow, reference may be made to Embodiment 1, which will not be repeated here.
另外,当第一控制面网元在接收来自终端设备的第一请求之后,获取第二QoS流的配置信息时,第一控制面网元在接收来自终端设备的第一请求之后,可以先从UDM获取该终端设备的签约信息;当根据签约信息确定可以为终端设备设置第二QoS流时,再获取第二QoS流的配置信息。例如,当终端设备的签约信息显示终端设备已订阅为第一业务在UPF和AN设备之间设置至少两条QoS流的服务,则第一控制面网元可在接收到第一请求之后,获取第二QoS流的配置信息。In addition, when the first control plane network element obtains the configuration information of the second QoS flow after receiving the first request from the terminal device, after receiving the first request from the terminal device, the first control plane network element may first obtain the configuration information from the The UDM obtains the subscription information of the terminal device; when it is determined according to the subscription information that the second QoS flow can be set for the terminal device, then obtains the configuration information of the second QoS flow. For example, when the subscription information of the terminal device shows that the terminal device has subscribed to the service of setting at least two QoS flows between the UPF and the AN device for the first service, the first control plane network element may, after receiving the first request, obtain Configuration information of the second QoS flow.
在本实施方式二中,终端设备可以但不限于通过以下实现方式之一,向第一控制面网元发送第一请求:In the second embodiment, the terminal device may, but not limited to, send the first request to the first control plane network element in one of the following implementation ways:
实现方式A:终端设备可根据第三QoS流是否满足第一业务的QoS需求来确定是否向第一控制面网元发送第一请求。Implementation A: The terminal device may determine whether to send the first request to the first control plane network element according to whether the third QoS flow satisfies the QoS requirement of the first service.
在本实现方式A中,终端设备可执行步骤B1-B3的操作。In this implementation manner A, the terminal device may perform the operations of steps B1-B3.
B1:终端设备获取第一业务的QoS需求。B1: The terminal device obtains the QoS requirement of the first service.
可选的,终端设备可在针对第一业务的会话建立流程或会话修改流程中,获取第一业务的QoS需求。例如,在PDU会话建立流程或PDU会话修改流程中,终端设备可以从提供第一业务的AF获取第一业务的QoS需求,也可以根据终端设备针对第一业务的签约数据,从UDM获取第一业务的QoS需求。Optionally, the terminal device may acquire the QoS requirements of the first service during the session establishment process or session modification process for the first service. For example, in the process of establishing a PDU session or modifying a PDU session, the terminal device can obtain the QoS requirements of the first service from the AF that provides the first service, or obtain the first Service QoS requirements.
其中,第一业务的QoS需求可以但不限于包括以下至少一项:第一业务的最大传输时延、第一业务的最大丢包率、第一业务的最大抖动。Wherein, the QoS requirements of the first service may include, but are not limited to, at least one of the following: maximum transmission delay of the first service, maximum packet loss rate of the first service, and maximum jitter of the first service.
B2:终端设备检测第三QoS流的QoS参数是否满足第一业务的QoS需求。B2: The terminal device detects whether the QoS parameters of the third QoS flow meet the QoS requirements of the first service.
可选的,第三QoS流的QoS参数可以但不限于包括以下至少一项:通过第三QoS流传输的第一业务的业务数据包的传输时延;通过第三QoS流传输的第一业务的业务数据包的丢包率;通过第三QoS流传输的第一业务的业务数据包的抖动。Optionally, the QoS parameters of the third QoS flow may include, but are not limited to, at least one of the following: the transmission delay of the service data packet of the first service transmitted through the third QoS flow; the transmission delay of the first service transmitted through the third QoS flow The packet loss rate of the service data packets; the jitter of the service data packets of the first service transmitted through the third QoS flow.
例如,终端设备获取的第一业务的QoS需求包括:第一业务的最大传输时延。终端设备可检测通过第三QoS流传输的第一业务的业务数据包中AN设备添加的时间戳,从而确定AN设备通过第三QoS流发送第一业务的业务数据包的时刻(下面简称为第五时刻);终端设备确定接收到该业务数据包的时刻(下面简称为第六时刻)。当第六时刻与第五时刻之差(即通过第三QoS流传输的第一业务的业务数据包的传输时延)大于第一业务的最大传输时延时,终端设备可确定第三QoS流的QoS参数不满足第一业务的QoS需求;否则,终端设备可确定第三QoS流的QoS参数满足第一业务的QoS需求。For example, the QoS requirement of the first service acquired by the terminal device includes: the maximum transmission delay of the first service. The terminal device can detect the time stamp added by the AN device in the service data packet of the first service transmitted through the third QoS flow, so as to determine the moment when the AN device sends the service data packet of the first service through the third QoS flow (hereinafter referred to as the first five moments); the terminal device determines the moment when the service data packet is received (hereinafter referred to as the sixth moment). When the difference between the sixth moment and the fifth moment (that is, the transmission delay of the service data packet of the first service transmitted through the third QoS flow) is greater than the maximum transmission delay of the first service, the terminal device can determine the third QoS flow The QoS parameters of the flow do not meet the QoS requirements of the first service; otherwise, the terminal device may determine that the QoS parameters of the third QoS flow meet the QoS requirements of the first service.
又例如,终端设备获取的第一业务的QoS需求包括:第一业务的最大丢包率和第一业务的最大抖动。终端设备可通过检测第一业务的数据包序号确定通过第三QoS流传输的第一业务的业务数据包的丢包率。终端设备可检测通过第三QoS流传输的第一业务的多个业务数据包的传输时延,最大传输时延和最小传输时延之差为通过第三QoS流传输的第一业务的业务数据包的抖动。当通过第三QoS流传输的第一业务的业务数据包的丢包率大于第一业务的最大丢包率,和/或,通过第三QoS流传输的第一业务的业务数据包的抖动大于第一业务的最大抖动时,终端设备可确定第三QoS流的QoS参数不满足第一业务的QoS需求;当通过第三QoS流传输的第一业务的业务数据包的丢包率小于或等于第一业务的最大丢包率,且通过第三QoS流传输的第一业务的业务数据包的抖动小于或等于第一业务的最大抖动时,终端设备可确定第三QoS流的QoS参数满足第一业务的QoS需求。一个示例为,第一业务的最大丢包率为10%,第一业务的最大抖动为5ms。终端设备通过第三QoS流接收到的第一业务的业务数据包的序号为1、2、4和5;因此,终端设备可确定序号为3的业务数据包丢失,通过第三QoS流传输的第一业务的业务数据包的丢包率为20%。终端设备接收到的序号为1、2、4和5的业务数据包的传输时延分别为5ms、7ms、4ms和1ms;因此,终端设备可确定通过第三QoS流传输的第一业务的业务数据包的抖动为6ms。此时,通过第三QoS流传输的第一业务的业务数据包的丢包率大于第一业务的最大丢包率,通过第三QoS流传输的第一业务的业务数据包的抖动大于第一业务的最大抖动,终端设备可确定第三QoS流的QoS参数不满足第一业务的QoS需求。For another example, the QoS requirements of the first service acquired by the terminal device include: the maximum packet loss rate of the first service and the maximum jitter of the first service. The terminal device may determine the packet loss rate of the service data packets of the first service transmitted through the third QoS flow by detecting the sequence number of the data packets of the first service. The terminal device can detect the transmission delay of multiple service data packets of the first service transmitted through the third QoS flow, and the difference between the maximum transmission delay and the minimum transmission delay is the service data of the first service transmitted through the third QoS flow Packet jitter. When the packet loss rate of the service data packets of the first service transmitted through the third QoS stream is greater than the maximum packet loss rate of the first service, and/or, the jitter of the service data packets of the first service transmitted through the third QoS stream is greater than When the maximum jitter of the first service is reached, the terminal device may determine that the QoS parameters of the third QoS flow do not meet the QoS requirements of the first service; when the packet loss rate of the service data packets of the first service transmitted through the third QoS flow is less than or equal to The maximum packet loss rate of the first service, and the jitter of the service data packets of the first service transmitted through the third QoS flow is less than or equal to the maximum jitter of the first service, the terminal device can determine that the QoS parameter of the third QoS flow satisfies the first QoS requirements of a service. An example is that the maximum packet loss rate of the first service is 10%, and the maximum jitter of the first service is 5ms. The serial numbers of the service data packets of the first service received by the terminal device through the third QoS flow are 1, 2, 4, and 5; therefore, the terminal device can determine that the service data packet with the sequence number 3 is lost, and the service data packets transmitted through the third QoS flow The packet loss rate of the service data packets of the first service is 20%. The transmission delays of the service data packets with sequence numbers 1, 2, 4 and 5 received by the terminal device are 5ms, 7ms, 4ms and 1ms respectively; therefore, the terminal device can determine the service of the first service transmitted through the third QoS flow The packet jitter is 6ms. At this time, the packet loss rate of the service data packets of the first service transmitted through the third QoS stream is greater than the maximum packet loss rate of the first service, and the jitter of the service data packets of the first service transmitted through the third QoS stream is greater than the first The maximum jitter of the service, the terminal device may determine that the QoS parameters of the third QoS flow do not meet the QoS requirements of the first service.
B3:当检测到第三QoS流的QoS参数不满足第一业务的QoS需求时,终端设备向第一控制面网元发送第一请求。相应的,第一控制面网元接收来自终端设备的第一请求。B3: When detecting that the QoS parameter of the third QoS flow does not meet the QoS requirement of the first service, the terminal device sends a first request to the first control plane network element. Correspondingly, the first control plane network element receives the first request from the terminal device.
可选的,在本实现方式A中,第一请求为PDU会话建立请求或PDU会话修改请求。Optionally, in this implementation manner A, the first request is a PDU session establishment request or a PDU session modification request.
通过实现方式A,终端设备在检测到第三QoS流的QoS参数不满足第一业务的QoS需求之后,才请求第一控制面网元为第一业务在UPF和AN设备之间设置至少两条QoS流,且至少两条QoS流均与第三QoS流对应。当第三QoS流的QoS参数不满足第一业务的QoS需求时,与第三QoS流对应的UPF和AN设备之间的第一QoS流很可能也不满足第一业务的QoS需求。此时,终端设备请求第一控制面网元为第一业务在UPF和AN设备之间设置至少两个QoS流,可以在至少两个QoS流的一个QoS流发生拥塞时,通过另一个QoS流传输第一业务的业务数据包,从而可以降低第一业务在AN设备和UPF之间的传输时延,进而可以降低第一业务的传输时延,提高用户体验。Through implementation A, the terminal device requests the first control plane network element to set at least two links between the UPF and the AN device for the first service after detecting that the QoS parameters of the third QoS flow do not meet the QoS requirements of the first service. QoS flows, and at least two QoS flows correspond to the third QoS flow. When the QoS parameter of the third QoS flow does not meet the QoS requirement of the first service, the first QoS flow between the UPF corresponding to the third QoS flow and the AN device probably also does not meet the QoS requirement of the first service. At this time, the terminal device requests the first control plane network element to set at least two QoS flows between the UPF and the AN device for the first service, and when one of the at least two QoS flows is congested, another QoS flow can be passed The service data packets of the first service are transmitted, thereby reducing the transmission delay of the first service between the AN device and the UPF, thereby reducing the transmission delay of the first service and improving user experience.
实现方式B:终端设备可根据空口状态来确定是否向第一控制面网元发送第一请求。Implementation B: The terminal device may determine whether to send the first request to the first control plane network element according to the state of the air interface.
在本实现方式B中,终端设备可执行步骤C1-C2的操作。In this implementation manner B, the terminal device may perform the operations of steps C1-C2.
C1:终端设备检测来自AN设备的信号的信号强度。C1: The terminal device detects the signal strength of the signal from the AN device.
其中,所述终端设备可检测来自AN设备的业务数据包(例如,第一业务数据包)的信号强度,也可以检测来自AN设备的控制信号(例如,包括下行控制信息(downlink control information,DCI)的信号、或参考信号)的信号强度。Wherein, the terminal device can detect the signal strength of the service data packet (for example, the first service data packet) from the AN device, and can also detect the control signal (for example, including downlink control information (DCI) ) signal, or reference signal) signal strength.
可选的,用于体现或表示信号强度的参数可以但不限于包括以下至少一项:参考信号接收功率(reference signal receiving power,RSRP)、参考信号接收质量(reference signal receiving quality,RSRQ)、或接收的信号强度指示(received signal strength indication,RSSI)。Optionally, the parameter used to reflect or represent the signal strength may include, but is not limited to, at least one of the following: reference signal received power (reference signal receiving power, RSRP), reference signal receiving quality (reference signal receiving quality, RSRQ), or Received signal strength indication (received signal strength indication, RSSI).
C2:当信号强度小于或等于第十五阈值时,终端设备向第一控制面网元发送第一请求。相应的,第一控制面网元接收来自终端设备的第一请求。C2: When the signal strength is less than or equal to the fifteenth threshold, the terminal device sends the first request to the first control plane network element. Correspondingly, the first control plane network element receives the first request from the terminal device.
其中,第十五阈值可以为预配置的,也可以为AN设备为终端设备配置之后发送给终端设备的。Wherein, the fifteenth threshold may be preconfigured, or may be sent to the terminal device after the AN device configures it for the terminal device.
可选的,在本实现方式B中,第一请求为PDU会话建立请求。Optionally, in this implementation manner B, the first request is a PDU session establishment request.
通过该实现方式B,终端设备在检测到来自AN设备的信号的信号强度小于或等于第十五阈值时,才请求第一控制面网元为第一业务在UPF和AN设备之间设置至少两条QoS流,且至少两条QoS流均与第三QoS流对应。当终端设备在检测到来自AN设备的信号的信号强度小于或等于第十五阈值时,UPF和AN设备之间的网络资源很可能也不满足第一业务的QoS需求。此时,终端设备请求第一控制面网元为第一业务在UPF和AN设备之间设置至少两个QoS流,可以在至少两个QoS流的一个QoS流发生拥塞时,通过另一个QoS流传输第一业务的业务数据包,从而可以降低第一业务在AN设备和UPF之间的传输时延,进而可以降低第一业务的传输时延,提高用户体验。Through this implementation B, the terminal device requests the first control plane network element to set at least two QoS flows, and at least two QoS flows correspond to the third QoS flow. When the terminal device detects that the signal strength of the signal from the AN device is less than or equal to the fifteenth threshold, the network resources between the UPF and the AN device probably do not meet the QoS requirement of the first service. At this time, the terminal device requests the first control plane network element to set at least two QoS flows between the UPF and the AN device for the first service, and when one of the at least two QoS flows is congested, another QoS flow can be passed The service data packets of the first service are transmitted, thereby reducing the transmission delay of the first service between the AN device and the UPF, thereby reducing the transmission delay of the first service and improving user experience.
通过该实施方式二,在接收到第一请求之后,第一控制面网元向UPF发送第二QoS流的配置信息。如上所述,在实现方式A和实现方式B中,终端设备在发送第一请求时,第一QoS流很可能会发生拥塞,此时,UPF和AN设备之间才建立两个用于传输第一业务的QoS流(即第一QoS流和第二QoS流),可以无需在所有时刻都为第一业务在UPF和AN设备之间建立至少两个QoS流,从而可以节约UPF和AN设备之间的资源。Through the second embodiment, after receiving the first request, the first control plane network element sends configuration information of the second QoS flow to the UPF. As mentioned above, in the implementations A and B, when the terminal device sends the first request, the first QoS flow is likely to be congested. The QoS flow of a service (ie, the first QoS flow and the second QoS flow) may not need to establish at least two QoS flows between the UPF and the AN equipment for the first service at all times, thereby saving the time between the UPF and the AN equipment. resources in between.
实施方式三:第一控制面网元可在接收到用于指示第一QoS流发生拥塞的信息之后,向UPF发送第二QoS流的配置信息。Embodiment 3: The first control plane network element may send the configuration information of the second QoS flow to the UPF after receiving the information indicating that the first QoS flow is congested.
在本实施方式三中,第一控制面网元可以通过以下方式之一接收用于指示第一QoS流发生拥塞的信息。In the third embodiment, the first control plane network element may receive the information indicating that the first QoS flow is congested in one of the following ways.
方式A:AN设备在检测到第一QoS流满足发生拥塞的条件之后,向第一控制面网元发送用于指示第一QoS流发生拥塞的信息。相应的,第一控制面网元接收来自AN设备的用于指示第一QoS流发生拥塞的信息。Mode A: After detecting that the first QoS flow satisfies a condition for congestion to occur, the AN device sends information for indicating that the first QoS flow is congested to the first control plane network element. Correspondingly, the first control plane network element receives information from the AN device indicating that congestion occurs in the first QoS flow.
其中,AN设备可以通过控制面向第一控制面网元发送用于指示第一QoS流发生拥塞的信息。例如,AN设备可通过AMF向第一控制面网元发送用于指示第一QoS流发生拥塞的信息。Wherein, the AN device may send information for indicating congestion of the first QoS flow to the first control plane network element through control. For example, the AN device may send information used to indicate congestion of the first QoS flow to the first control plane network element through the AMF.
可选的,AN设备还可以通过用户面网元向第一控制面网元发送用于指示第一QoS流发生拥塞的信息。其中,AN设备向用户面网元发送用于指示第一QoS流发生拥塞的信息的具体方式可参考实现方式2,此处不再赘述。另外,当用于指示第一QoS流发生拥塞的信息为业务数据包中的指示信息时,AN设备可以将第一QoS流所在的PDU会话的标识、第一QoS流的标识和第三指示封装在业务数据包的GTPU头,并向UPF发送该业务数据包。其中,第三指示用于请求为第一业务在UPF和AN设备之间设置至少两条QoS流(例如,上述第一QoS流和第二QoS流),且该至少两条QoS流均与第三QoS流对应。第三指示可以为GTPU头中的第六指示字段,当第六指示字段的取值为第六值时,第三指示用于请求为第一业务在UPF和AN设备之间设置至少两条QoS流,且该至少两条QoS流均与第三QoS流对应。Optionally, the AN device may also send information for indicating congestion of the first QoS flow to the first control plane network element through the user plane network element. Wherein, the specific manner for the AN device to send the information for indicating that the first QoS flow is congested to the user plane network element may refer to the implementation manner 2, which will not be repeated here. In addition, when the information used to indicate the congestion of the first QoS flow is the indication information in the service data packet, the AN device can encapsulate the identifier of the PDU session where the first QoS flow is located, the identifier of the first QoS flow, and the third indication In the GTPU header of the service data packet, and send the service data packet to the UPF. Wherein, the third indication is used to request to set at least two QoS flows (for example, the first QoS flow and the second QoS flow) between the UPF and the AN device for the first service, and the at least two QoS flows are both related to the first QoS flow. Three QoS flows correspond. The third indication may be the sixth indication field in the GTPU header. When the value of the sixth indication field is the sixth value, the third indication is used to request to set at least two QoS between UPF and AN equipment for the first service flow, and the at least two QoS flows correspond to the third QoS flow.
在本方式A中,AN设备检测第一QoS流是否满足发生拥塞的条件和用于指示第一QoS流发生拥塞的信息的具体内容可以参考实现方式2,此处不再赘述。In this mode A, the AN device detects whether the first QoS flow satisfies the congestion condition and the specific content of the information used to indicate that the first QoS flow is congested can refer to the implementation mode 2, which will not be repeated here.
方式B:UPF在检测到第一QoS流满足发生拥塞的条件之后,向第一控制面网元发送用于指示第一QoS流发生拥塞的信息。相应的,第一控制面网元接收来自UPF的用于指示第一QoS流发生拥塞的信息。Manner B: After detecting that the first QoS flow satisfies the condition of congestion, the UPF sends information indicating that the first QoS flow is congested to the first control plane network element. Correspondingly, the first control plane network element receives information from the UPF indicating that congestion occurs in the first QoS flow.
在本方式B中,UPF检测第一QoS流是否满足发生拥塞的条件的具体内容可以参考实现方式1,用于指示第一QoS流发生拥塞的信息的内容可参考实现方式2,此处不再赘述。In this method B, the specific content of UPF detecting whether the first QoS flow meets the congestion condition can refer to the implementation method 1, and the content of the information used to indicate that the first QoS flow is congested can refer to the implementation method 2, which is not repeated here repeat.
另外,在本实施方式三中,对第一控制面网元接收用于指示第一QoS流发生拥塞的信息与获取第二QoS流的配置信息的执行顺序不限。例如,第一控制面网元可以在接收用于指示第一QoS流发生拥塞的信息之后,再获取第二QoS流的配置信息;也可以先获取第二QoS流的配置信息,在接收到用于指示第一QoS流发生拥塞的信息之后,再向UPF发送第二QoS流的配置信息。其中,获取第二QoS流的配置信息的方式可以参考实施方式一,此处不再赘述。In addition, in the third embodiment, the execution sequence of receiving the information indicating congestion of the first QoS flow by the first control plane network element and acquiring the configuration information of the second QoS flow is not limited. For example, the first control plane network element may obtain the configuration information of the second QoS flow after receiving the information indicating that the first QoS flow is congested; After the information indicating that the first QoS flow is congested, the configuration information of the second QoS flow is sent to the UPF. For the manner of acquiring the configuration information of the second QoS flow, reference may be made to Embodiment 1, which will not be repeated here.
通过该实施方式三,在接收到用于指示第一QoS流发生拥塞的信息之后,第一控制面网元向UPF发送第二QoS流的配置信息;这样,当第一QoS流发生拥塞时,UPF和AN设备之间才会建立两个用于传输第一业务的QoS流(即第一QoS流和第二QoS流),可以无需在所有时刻都为第一业务在UPF和AN设备之间建立至少两个QoS流,从而可以节约UPF和AN设备之间的资源。Through the third embodiment, after receiving the information indicating that the first QoS flow is congested, the first control plane network element sends the configuration information of the second QoS flow to the UPF; thus, when the first QoS flow is congested, Only two QoS flows for transmitting the first service (ie, the first QoS flow and the second QoS flow) will be established between the UPF and the AN device, and it is not necessary to be between the UPF and the AN device for the first service at all times Establish at least two QoS flows, so that resources between UPF and AN equipment can be saved.
可选的,在S204之前,第一控制面网元可向AN设备发送第三QoS流的配置信息;相应的,AN设备接收来自第一控制面网元的第三QoS流的配置信息。Optionally, before S204, the first control plane network element may send the configuration information of the third QoS flow to the AN device; correspondingly, the AN device receives the configuration information of the third QoS flow from the first control plane network element.
其中,第三QoS流的配置信息中包含第一信息,第一信息用于指示第一QoS流和第二QoS流均与第三QoS流对应。Wherein, the configuration information of the third QoS flow includes first information, and the first information is used to indicate that both the first QoS flow and the second QoS flow correspond to the third QoS flow.
可选的,第一信息可包括:第一QoS流的标识(即第一QoS流的QFI)和第二QoS流的标识(即第二QoS流的QFI)。例如,第三QoS流的QoS profile中用于指示与第三QoS流对应的QoS流的字段中包含第一QoS流的标识和第二QoS流的标识。Optionally, the first information may include: an identifier of the first QoS flow (ie, the QFI of the first QoS flow) and an identifier of the second QoS flow (ie, the QFI of the second QoS flow). For example, the field used to indicate the QoS flow corresponding to the third QoS flow in the QoS profile of the third QoS flow includes the identifier of the first QoS flow and the identifier of the second QoS flow.
其中,第一控制面网元可以但不限于通过以下方式之一来获取第三QoS流的配置信息:Wherein, the first control plane network element may, but not limited to, obtain the configuration information of the third QoS flow in one of the following ways:
方式M1:第一控制面网元为第一业务配置第三QoS流,得到第三QoS流的配置信息。Mode M1: the first control plane network element configures the third QoS flow for the first service, and obtains configuration information of the third QoS flow.
例如,第一控制面网元可以根据第一业务的时延需求和吞吐率等信息,确定第三QoS流的配置信息。其中,第一控制面网元可以从AF获取第一业务的时延需求和吞吐率等信息;也可以根据第一业务的签约信息,从UDM获取第一业务的时延需求和吞吐率等信息;还可以从AF获取第一业务的时延需求和吞吐率中的部分信息,从UDM获取第一业务的时延需求和吞吐率中的其他信息。For example, the first control plane network element may determine the configuration information of the third QoS flow according to information such as the delay requirement and throughput rate of the first service. Among them, the first control plane network element can obtain information such as the delay requirement and throughput rate of the first service from the AF; it can also obtain information such as the delay requirement and throughput rate of the first service from the UDM according to the subscription information of the first service ; It is also possible to obtain part of the delay requirement and throughput information of the first service from the AF, and obtain other information of the delay requirement and throughput rate of the first service from the UDM.
例如,第一业务的时延需求小于或等于10毫秒(ms)。第一控制面网元可以对该时延需求进行分解,确定UPF和AN设备之间的时延需求小于或等于2ms,AN设备和终端设备之间的时延需求小于或等于8ms。然后,第一控制面网元可选择传输时延小于或等于8ms的配置信息作为第三QoS流的配置信息(例如,选择吞吐率与MFBR的比值小于或等于8的配置信息)。For example, the delay requirement of the first service is less than or equal to 10 milliseconds (ms). The first control plane network element may decompose the delay requirement, and determine that the delay requirement between the UPF and the AN device is less than or equal to 2ms, and the delay requirement between the AN device and the terminal device is less than or equal to 8ms. Then, the first control plane network element may select the configuration information whose transmission delay is less than or equal to 8 ms as the configuration information of the third QoS flow (for example, select the configuration information whose ratio of throughput to MFBR is less than or equal to 8).
方式M2:第一控制面网元接收来自第二控制面网元的第三QoS流的配置信息。Manner M2: the first control plane network element receives configuration information of the third QoS flow from the second control plane network element.
第二控制面网元可以是PCF或NEF,第一控制面网元可以是SMF。例如,第二控制面网元是PCF或NEF,PCF或NEF可在生成第三QoS流的配置信息之后,将第三QoS流的配置信息发送给SMF。The second control plane network element may be a PCF or NEF, and the first control plane network element may be an SMF. For example, the second control plane network element is a PCF or NEF, and the PCF or NEF may send the configuration information of the third QoS flow to the SMF after generating the configuration information of the third QoS flow.
其中,所述第二控制面网元生成第三QoS流的配置信息的方式可以参考方式M1,此处不再赘述。For the manner in which the second control plane network element generates the configuration information of the third QoS flow, reference may be made to manner M1, which will not be repeated here.
可选的,S205可以但不限于包括步骤D1-D3:Optionally, S205 may, but is not limited to, include steps D1-D3:
D1:AN设备抢占资源。D1: The AN device preempts resources.
其中,AN设备抢占的资源可为GBR资源,也可以为non-GBR资源,还可以一部分为GBR资源,一部分为non-GBR资源。Wherein, the resources seized by the AN device may be GBR resources or non-GBR resources, or some of them may be GBR resources and some of them may be non-GBR resources.
在一些可能的实现方式中,AN设备可以确定第一QoS流发生拥塞时,抢占资源。AN设备确定第一QoS流发生拥塞的方式可以参考上述实现方式2,此处不再赘述。In some possible implementation manners, the AN device may preempt resources when determining that the first QoS flow is congested. For the manner in which the AN device determines that the first QoS flow is congested, reference may be made to the foregoing implementation manner 2, which will not be repeated here.
在另一些可能的实现方式中,AN设备可以在接收到来自UPF的第一指示之后,抢占资源。其中,第一指示可以用于指示停止通过所述第一QoS流传输所述第一业务的业务数据包。第一指示的具体内容可参考对S202的说明,此处不再赘述。In other possible implementation manners, the AN device may preempt resources after receiving the first indication from the UPF. Wherein, the first indication may be used to indicate to stop transmitting the service data packets of the first service through the first QoS flow. For specific content of the first indication, reference may be made to the description of S202, which will not be repeated here.
D2:AN设备将抢占的资源添加到第三QoS流占用的资源中。D2: The AN device adds the preempted resources to the resources occupied by the third QoS flow.
例如,在步骤D1之前,AN设备已为第三QoS流分配资源1,也就是说,第三QoS流占用资源1;在步骤D1中,AN设备抢占的资源为资源2。在本步骤中,AN设备可将资源2添加到第三QoS流占用的资源中;这样,第三QoS流占用的资源包括资源1和资源2。For example, before step D1, the AN device has allocated resource 1 to the third QoS flow, that is, the third QoS flow occupies resource 1; in step D1, the resource seized by the AN device is resource 2. In this step, the AN device may add resource 2 to the resources occupied by the third QoS flow; thus, the resources occupied by the third QoS flow include resource 1 and resource 2.
D3:AN设备通过第三QoS流发送第二业务数据包。D3: The AN device sends the second service data packet through the third QoS flow.
例如,基于D2中的示例,AN设备可以在资源1和资源2上,通过第三QoS流发送第二业务数据包。For example, based on the example in D2, the AN device may send the second service data packet on resource 1 and resource 2 through the third QoS flow.
当AN设备通过两个QoS流接收来自用户面网元的第一业务的业务数据包时,AN设备和终端设备之间的第三QoS流的资源很可能不足以承载第一业务的业务数据包。例如,若第一QoS流发生拥塞,与其对应的第三QoS流很可能也会发生拥塞。又例如,当第一QoS流和第二QoS流同时传输第一业务的业务数据包时,AN设备接收到的第一业务的业务数据包较多,第三QoS流的资源不足以承载这些业务数据包。通过该方法,AN设备可将抢占的资源添加到第三QoS流占用的资源中,从而为第三QoS流分配更多的资源,进而可以避免第三QoS流发生拥塞,可以提高用户体验。When the AN device receives the service data packet of the first service from the user plane network element through two QoS flows, the resources of the third QoS flow between the AN device and the terminal device may not be sufficient to carry the service data packet of the first service . For example, if the first QoS flow is congested, the corresponding third QoS flow is likely to be congested as well. For another example, when the first QoS flow and the second QoS flow transmit the service data packets of the first service at the same time, the AN device receives more service data packets of the first service, and the resources of the third QoS flow are insufficient to carry these services data pack. Through this method, the AN device can add the preempted resources to the resources occupied by the third QoS flow, thereby allocating more resources for the third QoS flow, thereby avoiding congestion of the third QoS flow and improving user experience.
可选的,当满足以下条件至少一项时,AN设备可释放抢占的non-GBR资源(也就是说,AN设备可在第三QoS流占用的资源中删除抢占的non-GBR资源):Optionally, when at least one of the following conditions is met, the AN device may release the preempted non-GBR resource (that is, the AN device may delete the preempted non-GBR resource from the resources occupied by the third QoS flow):
条件A:AN设备接收到来自UPF的第二指示;其中,第二指示用于指示停止通过第二QoS流传输第一业务的业务数据包。Condition A: The AN device receives a second indication from the UPF; wherein, the second indication is used to instruct to stop transmitting the service data packets of the first service through the second QoS flow.
其中,第二指示可以为用于指示停止通过第二QoS流传输第一业务的业务数据包的消息,也可以为消息中的信元。具体地,当第二指示为信元时,第一指示可以复用现有消息中的信元,也可以是现有消息中的新的信元。例如,该信元可以为第三指示字段,当该字段取值为第三值时,可以指示停止通过第二QoS流传输第一业务的业务数据包。Wherein, the second indication may be a message for instructing to stop transmitting the service data packet of the first service through the second QoS flow, or may be an information element in the message. Specifically, when the second indication is an information element, the first indication may reuse an information element in an existing message, or may be a new information element in an existing message. For example, the information element may be a third indication field, and when the value of this field is a third value, it may indicate to stop transmitting the service data packet of the first service through the second QoS flow.
AN设备接收到来自UPF的第二指示的具体内容可参考下文的步骤F1,此处暂不展开。For the specific content of the AN device receiving the second indication from the UPF, please refer to step F1 below, which will not be expanded here.
条件B:在第一时间内,AN设备未通过第二QoS流接收到第一业务的业务数据包。Condition B: within the first time period, the AN device does not receive the service data packet of the first service through the second QoS flow.
其中,第一时间是时间段。该时间段可以是预先设置的,也可以是AN设备从其他设备接收到的(例如,在PDU会话建立流程或PDU会话修改流程中从第一控制面网元接收的)。Wherein, the first time is a time period. The time period may be preset, or may be received by the AN device from other devices (for example, received from the first control plane network element in the process of establishing a PDU session or modifying a process of a PDU session).
通过上述方法,当第二QoS流不再用于传输第一业务的业务数据包时,第一QoS流的拥塞很可能已经消除。此时,AN设备释放抢占的non-GBR资源,可以避免第三QoS流 占用不必要的资源而导致资源浪费。Through the above method, when the second QoS flow is no longer used to transmit the service data packets of the first service, the congestion of the first QoS flow is probably eliminated. At this time, the AN device releases the preempted non-GBR resources, which can avoid resource waste caused by unnecessary resource occupation by the third QoS flow.
可选的,上述方法还包括:当第一QoS流满足拥塞消除的条件(即第一QoS流的拥塞消除)时,UPF通过第一QoS流传输第一业务的第三业务数据包。也就是说,当第一QoS流满足拥塞消除的条件时,UPF可以从第二QoS流切换回第一QoS流,通过第一QoS流来继续传输第一业务的业务数据包。Optionally, the above method further includes: when the first QoS flow satisfies the congestion elimination condition (that is, the congestion elimination of the first QoS flow), the UPF transmits the third service data packet of the first service through the first QoS flow. That is to say, when the first QoS flow satisfies the condition of congestion elimination, the UPF can switch from the second QoS flow back to the first QoS flow, and continue to transmit the service data packets of the first service through the first QoS flow.
其中,拥塞消除的条件可以但不限于包括以下至少一项:Among them, the conditions for congestion elimination may include, but are not limited to, at least one of the following:
条件一:第一QoS流的转发延迟小于或等于第九阈值;Condition 1: the forwarding delay of the first QoS flow is less than or equal to the ninth threshold;
条件二:第一QoS流的队列增长速度小于或等于第十阈值;Condition 2: The queue growth rate of the first QoS flow is less than or equal to the tenth threshold;
条件三:第一QoS流的入口流量和第一QoS流的出口流量的比值小于或等于第十一阈值;Condition 3: the ratio of the ingress traffic of the first QoS flow to the egress traffic of the first QoS flow is less than or equal to the eleventh threshold;
条件四:与第一QoS流对应的第三QoS流的转发延迟小于或等于第五阈值;Condition 4: The forwarding delay of the third QoS flow corresponding to the first QoS flow is less than or equal to the fifth threshold;
条件五:与第一QoS流对应的第三QoS流的队列增长速度小于或等于第六阈值;Condition five: the queue growth rate of the third QoS flow corresponding to the first QoS flow is less than or equal to the sixth threshold;
条件六:与第一QoS流对应的第三QoS流的入口流量和第三QoS流的出口流量的比值小于或等于第七阈值;Condition six: the ratio of the ingress traffic of the third QoS flow corresponding to the first QoS flow to the egress traffic of the third QoS flow is less than or equal to the seventh threshold;
条件七:单位时间内通过第一QoS流接收的业务数据包的数据量小于或等于第八阈值。Condition seven: the data volume of service data packets received through the first QoS flow per unit time is less than or equal to the eighth threshold.
需要指出的是,上述拥塞消除的条件也可以被替换为现有技术中QoS流拥塞消除的条件,本申请对此不予限制。It should be pointed out that the above congestion elimination conditions may also be replaced by the QoS flow congestion elimination conditions in the prior art, which is not limited in this application.
需要说明的是,第一QoS流可以传输一个或多个业务的业务数据包(例如,第一业务的业务数据包和第三业务的业务数据包)。当第一QoS流满足发生拥塞的条件时,用户面网元可通过第二QoS流传输第一业务的业务数据包,通过第一QoS流继续传输第三业务的业务数据包。也就是说,当第一QoS流满足发生拥塞的条件时,第一QoS流仍可能传输业务数据包。因此,在第一QoS流满足发生拥塞的条件之后,第一QoS流传输的业务数据包可用于判断第一QoS流是否满足拥塞消除的条件。It should be noted that the first QoS flow may transmit service data packets of one or more services (eg, service data packets of the first service and service data packets of the third service). When the first QoS flow meets the congestion condition, the user plane network element can transmit the service data packets of the first service through the second QoS flow, and continue to transmit the service data packets of the third service through the first QoS flow. That is to say, when the first QoS flow satisfies the condition of congestion, the first QoS flow may still transmit service data packets. Therefore, after the first QoS flow satisfies the condition of congestion occurrence, the service data packets transmitted by the first QoS flow can be used to judge whether the first QoS flow satisfies the condition of congestion elimination.
通过该方法,当第一QoS流满足拥塞消除的条件时,UPF可以从第二QoS流切换回第一QoS流,通过第一QoS流来继续传输第一业务的业务数据包。这样,可以减少通过第二QoS流传输的数据量。一般情况下,第二QoS流的质量要高于第一QoS流,因此,第二QoS流的收费标准也会高于第一QoS流的收费标准。通过该方法,可以通过减少通过第二QoS流传输的数据量来降低传输第一业务所需的费用。Through this method, when the first QoS flow satisfies the condition of congestion elimination, the UPF can switch from the second QoS flow back to the first QoS flow, and continue to transmit the service data packets of the first service through the first QoS flow. In this way, the amount of data transmitted through the second QoS flow can be reduced. Generally, the quality of the second QoS flow is higher than that of the first QoS flow, therefore, the charging standard of the second QoS flow is also higher than that of the first QoS flow. Through this method, the cost required for transmitting the first service can be reduced by reducing the amount of data transmitted through the second QoS flow.
可选的,UPF可以但不限于通过以下实施方式之一来确定第一QoS流是否满足拥塞消除的条件。Optionally, the UPF may, but is not limited to, determine whether the first QoS flow satisfies the congestion elimination condition through one of the following implementation manners.
实施方式1:UPF检测第一QoS流是否满足拥塞消除的条件。Embodiment 1: The UPF detects whether the first QoS flow satisfies the congestion elimination condition.
在本实施方式1中,UPF可以但不限于通过以下步骤E1-E2,检测第一QoS流是否满足拥塞消除的条件。In Embodiment 1, the UPF may, but is not limited to, detect whether the first QoS flow satisfies the congestion elimination condition through the following steps E1-E2.
E1:UPF获取拥塞消除的条件。E1: UPF obtains the conditions for congestion elimination.
在一些可能的方式中,UPF可以获取预先配置的拥塞消除的条件。In some possible ways, the UPF can obtain pre-configured conditions for congestion relief.
在另一些可能的方式中,UPF可以从第一控制面网元获取用于指示拥塞消除的条件的信息。In some other possible manners, the UPF may acquire information indicating conditions for congestion elimination from the first control plane network element.
其中,第一控制面网元可以为以下之一:SMF、PCF、NEF。当第一控制面网元为SMF 时,UPF可以通过N4接口,接收来自SMF的用于指示拥塞消除的条件的信息。当第一控制面网元为PCF或NEF时,PCF或NEF可通过SMF向UPF转发用于指示拥塞消除的条件的信息。Wherein, the first control plane network element may be one of the following: SMF, PCF, NEF. When the first control plane network element is the SMF, the UPF may receive information from the SMF through the N4 interface indicating the condition for congestion elimination. When the first control plane network element is a PCF or NEF, the PCF or NEF may forward the information used to indicate the condition of congestion elimination to the UPF through the SMF.
可选的,UPF可以在针对第一业务的会话建立请求或会话修改流程中,从第一控制面网元获取用于指示拥塞消除的条件的信息。例如,当SMF接收到针对第一业务的会话建立请求之后,为第一业务配置第一QoS流时,SMF可以向UPF发送用于指示拥塞消除的条件的信息。Optionally, the UPF may obtain, from the first control plane network element during the session establishment request or session modification process for the first service, the information used to indicate the condition of congestion elimination. For example, when the SMF configures the first QoS flow for the first service after receiving the session establishment request for the first service, the SMF may send information for indicating the condition of congestion elimination to the UPF.
E2:UPF对第一QoS流进行检测,判断第一QoS流是否满足拥塞消除的条件。E2: The UPF detects the first QoS flow, and judges whether the first QoS flow satisfies the congestion elimination condition.
其中,UPF可检测第一QoS流是否满足条件一-条件三中任一项,下面对此进行说明。Wherein, the UPF may detect whether the first QoS flow satisfies any one of condition 1-condition 3, which will be described below.
可选的,对于条件一,UPF可检测接收到将通过第一QoS流传输的业务数据包的时刻(下面简称为第一时刻),以及通过第一QoS流发送该业务数据包的时刻(下面简称为第二时刻),当第二时刻与第一时刻的差值小于或等于第九阈值时,UPF可确定满足条件一;否则,UPF可确定不满足条件一。Optionally, for condition one, the UPF may detect the moment when the service data packet to be transmitted through the first QoS flow (hereinafter referred to as the first moment) is received, and the moment when the service data packet is sent through the first QoS flow (hereinafter referred to as the second moment), when the difference between the second moment and the first moment is less than or equal to the ninth threshold, the UPF may determine that condition one is met; otherwise, the UPF may determine that condition one is not satisfied.
可选的,对于条件二,UPF可检测将通过第一QoS流传输的业务数据包的流队列的增长速度,即将通过第一QoS流传输的业务数据包的队列增长速度。当该队列增长速度小于或等于第十阈值时,UPF可确定满足条件二;否则,UPF可确定不满足条件二。Optionally, for the second condition, the UPF may detect the growth rate of the flow queue of the service data packet to be transmitted through the first QoS flow, that is, the growth rate of the queue of the service data packet to be transmitted through the first QoS flow. When the growth rate of the queue is less than or equal to the tenth threshold, the UPF may determine that the second condition is met; otherwise, the UPF may determine that the second condition is not met.
可选的,对于条件三,UPF可检测接收到将通过第一QoS流传输的业务数据包的总数据量(即入口流量),以及通过第一QoS流发送的业务数据包的总数据量(即出口流量),当入口流量和出口流量的比值小于或等于第十一阈值时,UPF可确定满足条件三;否则,UPF可确定不满足条件三。Optionally, for the third condition, the UPF may detect the total data volume (that is, the ingress flow) of the service data packets received through the first QoS flow transmission, and the total data volume of the service data packets sent through the first QoS flow ( That is, the outlet flow), when the ratio of the inlet flow to the outlet flow is less than or equal to the eleventh threshold, the UPF may determine that the third condition is met; otherwise, the UPF may determine that the third condition is not met.
应理解,UPF也可以采用其他现有的方式检测第一QoS流是否满足拥塞消除的条件,本申请对此不予限制。It should be understood that the UPF may also use other existing methods to detect whether the first QoS flow satisfies the congestion elimination condition, which is not limited in this application.
实施方式2:AN设备通知UPF第一QoS流满足拥塞消除的条件。Embodiment 2: The AN device notifies the UPF that the first QoS flow satisfies the congestion elimination condition.
具体的,当检测到第一QoS流满足拥塞消除的条件时,AN设备可向UPF发送用于指示第一QoS流拥塞消除的信息。相应的,UPF接收来自AN设备的用于指示第一QoS流拥塞消除的信息。Specifically, when detecting that the first QoS flow satisfies the condition of congestion elimination, the AN device may send information for indicating congestion elimination of the first QoS flow to the UPF. Correspondingly, the UPF receives information from the AN device indicating that the first QoS flow congestion is eliminated.
其中,AN设备可检测第一QoS流是否满足条件四-条件七中任一项,下面对此进行说明。Wherein, the AN device may detect whether the first QoS flow satisfies any one of Condition 4-Condition 7, which will be described below.
可选的,对于条件四,AN设备可检测将通过第三QoS流传输的业务数据包的时刻(下面简称为第三时刻),以及通过第三QoS流发送该业务数据包的时刻(下面简称为第四时刻),当第四时刻与第三时刻的差值小于或等于第五阈值时,AN设备可确定满足条件四;否则,AN设备可确定不满足条件四。Optionally, for condition four, the AN device may detect the moment of the service data packet to be transmitted through the third QoS flow (hereinafter referred to as the third moment), and the moment of sending the service data packet through the third QoS flow (hereinafter referred to as is the fourth moment), when the difference between the fourth moment and the third moment is less than or equal to the fifth threshold, the AN device may determine that condition four is met; otherwise, the AN device may determine that condition four is not met.
可选的,对于条件五,AN设备可检测将通过第三QoS流传输的业务数据包的队列增长速度(例如,将通过第三QoS流传输的业务数据包的流队列的队列增长速率等),当该队列增长速度小于或等于第六阈值时,AN设备可确定满足条件五;否则,AN设备可确定不满足条件五。Optionally, for condition five, the AN device may detect the queue growth rate of the service data packet to be transmitted through the third QoS flow (for example, the queue growth rate of the flow queue of the service data packet to be transmitted through the third QoS flow, etc.) , when the growth rate of the queue is less than or equal to the sixth threshold, the AN device may determine that condition five is met; otherwise, the AN device may determine that condition five is not met.
可选的,对于条件六,AN设备可检测将通过第三QoS流传输的业务数据包的总数据量(即入口流量),以及通过第三QoS流发送的业务数据包的总数据量(即出口流量),当入口流量和出口流量的比值小于或等于第七阈值时,AN设备可确定满足条件六;否则,AN设备可确定不满足条件六。Optionally, for condition six, the AN device may detect the total data volume of service data packets (ie, ingress traffic) to be transmitted through the third QoS flow, and the total data volume of service data packets sent through the third QoS flow (ie, outlet flow), when the ratio of the inlet flow to the outlet flow is less than or equal to the seventh threshold, the AN device may determine that condition six is met; otherwise, the AN device may determine that condition six is not met.
对于条件七,AN设备可检测在单位时间内通过第一QoS流接收的业务数据包的数据量是否小于或等于第八阈值,也就是说,AN设备可检测到第一QoS流的微突发是否消除。微突发是产生拥塞的原因之一,因此,AN设备可根据条件七判断第一QoS流的拥塞是否消除。For condition seven, the AN device can detect whether the data volume of service data packets received through the first QoS flow per unit time is less than or equal to the eighth threshold, that is, the AN device can detect the microburst of the first QoS flow Whether to eliminate. Microburst is one of the causes of congestion, therefore, the AN device can judge whether the congestion of the first QoS flow is eliminated according to condition seven.
应理解,AN设备也可以采用其他现有的方式检测第一QoS流是否满足拥塞消除的条件,本申请对此不予限制。It should be understood that the AN device may also use other existing methods to detect whether the first QoS flow satisfies the congestion elimination condition, which is not limited in this application.
另外,在本实施方式2中,用于指示第一QoS流拥塞消除的信息可以为消息,也可以为消息中的信元。具体地,当用于指示第一QoS流拥塞消除的信息为信元时,用于指示第一QoS流拥塞消除的信息可以复用现有消息中的信元,也可以是现有消息中的新的信元。例如,该信元可以为第四指示字段,当该字段取值为第四值时,可以指示第一QoS流拥塞消除。In addition, in Embodiment 2, the information used to indicate congestion removal of the first QoS flow may be a message, or may be an information element in the message. Specifically, when the information used to indicate the congestion elimination of the first QoS flow is an information element, the information used to indicate the congestion elimination of the first QoS flow may multiplex the information element in the existing message, or may be an information element in the existing message. new cell. For example, the information element may be a fourth indication field, and when the value of this field is the fourth value, it may indicate congestion elimination of the first QoS flow.
可选的,当第一QoS流满足拥塞消除的条件时,上述方法还包括步骤F1-F3:Optionally, when the first QoS flow satisfies the condition of congestion elimination, the above method further includes steps F1-F3:
F1:UPF向AN设备发送第二指示。其中,第二指示可以用于指示停止通过第二QoS流传输第一业务的业务数据包;换句话说,第二指示可以指示结束通过第二QoS流传输第一业务的业务数据包。F1: The UPF sends a second indication to the AN device. Wherein, the second indication may be used to indicate to stop transmitting the service data packets of the first service through the second QoS flow; in other words, the second indication may indicate to stop transmitting the service data packets of the first service through the second QoS flow.
在F1中,UPF可以通过但不限于以下实施方式之一向AN设备发送第二指示。In F1, the UPF may send the second indication to the AN device through but not limited to one of the following implementation manners.
实施方式A:UPF通过第二QoS流向AN设备发送第二指示。Embodiment A: The UPF sends the second indication to the AN device through the second QoS flow.
在一些可能的方式中,UPF可通过第二QoS流中的消息向AN设备发送第二指示;其中,第二指示包含第一业务的指示信息(例如,第一业务的业务标识)。例如,当UPF确定第一QoS流满足拥塞消除的条件时,UPF已通过第二QoS流向AN设备发送数据包3和数据包4,则UPF可通过第二QoS流向AN设备发送作为第二指示的结束消息。其中,该结束消息中可包含第一业务的业务标识。In some possible manners, the UPF may send the second indication to the AN device through a message in the second QoS flow; wherein, the second indication includes indication information of the first service (for example, a service identifier of the first service). For example, when the UPF determines that the first QoS flow satisfies the condition of congestion elimination, and the UPF has sent the data packet 3 and the data packet 4 to the AN device through the second QoS flow, then the UPF may send the data packet as the second indication to the AN device through the second QoS flow. End message. Wherein, the end message may include the service identifier of the first service.
在另一些可能的方式中,UPF可通过第二QoS流中的第一业务的业务数据包向AN设备发送第二指示;也就是说,第二指示可包含在通过第二QoS流传输的第一业务的业务数据包中。In some other possible manners, the UPF may send the second indication to the AN device through the service data packet of the first service in the second QoS flow; that is, the second indication may be included in the first service transmitted through the second QoS flow. In the service data packet of a service.
例如,当UPF确定第一QoS流满足拥塞消除的条件时,UPF已通过第二QoS流向AN设备发送数据包3,则UPF可在数据包4中携带第二指示,并通过第二QoS流向AN设备发送数据包4。For example, when UPF determines that the first QoS flow satisfies the condition of congestion elimination, UPF has sent data packet 3 to the AN device through the second QoS flow, then UPF can carry the second indication in data packet 4, and pass the second QoS flow to the AN device The device sends packet 4.
可选的,当第二指示包含在通过第二QoS流传输的第一业务的业务数据包中时,第二指示可以包含在通过第二QoS流传输的第一业务的业务数据包的包头中。另外,该包含第二指示的业务数据包可以为UPF通过第二QoS流发送的第一业务的最后一个业务数据包。Optionally, when the second indication is included in the service data packet of the first service transmitted through the second QoS flow, the second indication may be included in the header of the service data packet of the first service transmitted through the second QoS flow . In addition, the service data packet containing the second indication may be the last service data packet of the first service sent by the UPF through the second QoS flow.
实施方式B:UPF通过UPF和AN设备之间除第二QoS流之外的其他QoS流向AN设备发送第二指示。下面以UPF通过UPF和AN设备之间的第一QoS流向AN设备发送第二指示为例进行说明。Embodiment B: The UPF sends the second indication to the AN device through other QoS flows between the UPF and the AN device except the second QoS flow. In the following, the UPF sends the second indication to the AN device through the first QoS flow between the UPF and the AN device as an example for description.
在一些可能的方式中,UPF可通过第一QoS流中的消息向AN设备发送第二指示;其中,该第二指示可包括第一业务的指示信息(例如,第一业务的业务标识)和第二QoS流的指示信息(例如,第二QoS流的标识)。例如,当UPF确定第一QoS流满足拥塞消除的条件时,UPF已通过第二QoS流向AN设备发送数据包3和数据包4,UPF可通过第一QoS流向AN设备发送作为第二指示的结束消息,该结束消息中可包含第一业务的业务标 识和第二QoS流的标识。In some possible manners, the UPF may send a second indication to the AN device through a message in the first QoS flow; where the second indication may include indication information of the first service (for example, the service identifier of the first service) and Indication information of the second QoS flow (for example, the identifier of the second QoS flow). For example, when UPF determines that the first QoS flow satisfies the condition of congestion elimination, UPF has sent data packet 3 and data packet 4 to the AN device through the second QoS flow, UPF can send the end of the second indication to the AN device through the first QoS flow message, the end message may include the service identifier of the first service and the identifier of the second QoS flow.
在另一些可能的方式中,UPF可通过第一QoS流中的第一业务的业务数据包向AN设备发送第二指示;也就是说,第二指示可包含在通过第一QoS流传输的第一业务的业务数据包中。其中,该第二指示可包括第二QoS流的指示信息(例如,第二QoS流的标识)。In some other possible manners, the UPF may send the second indication to the AN device through the service data packet of the first service in the first QoS flow; that is, the second indication may be included in the second indication transmitted through the first QoS flow. In the service data packet of a service. Wherein, the second indication may include indication information of the second QoS flow (for example, an identifier of the second QoS flow).
例如,第一业务的业务数据包还包括数据包5。当UPF确定第一QoS流满足拥塞消除的条件时,UPF已通过第二QoS流向AN设备发送数据包3和数据包4,UPF可在数据包4之后的数据包5中携带第二指示,并通过第一QoS流向AN设备发送数据包5。For example, the service data package of the first service also includes data package 5 . When the UPF determines that the first QoS flow meets the conditions for congestion elimination, the UPF has sent the data packet 3 and the data packet 4 to the AN device through the second QoS flow, and the UPF may carry the second indication in the data packet 5 after the data packet 4, and The data packet 5 is sent to the AN device through the first QoS flow.
可选的,当第二指示可包含在通过第一QoS流传输的第一业务的业务数据包中时,该第二指示还可以包含在通过第一QoS流传输的第一业务的业务数据包的包头中。Optionally, when the second indication can be included in the service data packet of the first service transmitted through the first QoS flow, the second indication can also be included in the service data packet of the first service transmitted through the first QoS flow in the Baotou.
在又一些可能的方式中,UPF可通过第一QoS流中的第二业务的业务数据包向AN设备发送第二指示;也就是说,第二指示可包含在通过第一QoS流传输的第二业务的业务数据包中。其中,该第二指示可包括第一业务的指示信息(例如,第一业务的业务标识)和第二QoS流的指示信息(例如,第二QoS流的标识)。In some other possible manners, the UPF may send the second indication to the AN device through the service data packet of the second service in the first QoS flow; that is, the second indication may be included in the second indication transmitted through the first QoS flow. In the service data packet of the second service. Wherein, the second indication may include indication information of the first service (for example, the service identifier of the first service) and indication information of the second QoS flow (for example, the identifier of the second QoS flow).
例如,当UPF确定第一QoS流满足拥塞消除的条件时,UPF已通过第二QoS流向AN设备发送数据包3和数据包4,UPF可在第二业务的业务数据包中携带第二指示,并通过第一QoS流向AN设备发送该第二业务的业务数据包。其中,第二指示可包含第一业务的业务标识和第二QoS流的标识。For example, when the UPF determines that the first QoS flow satisfies the condition of congestion elimination, the UPF has sent the data packet 3 and the data packet 4 to the AN device through the second QoS flow, and the UPF may carry the second indication in the service data packet of the second service, And send the service data packet of the second service to the AN device through the first QoS flow. Wherein, the second indication may include the service identifier of the first service and the identifier of the second QoS flow.
其中,第二业务可以但不限于包括以下至少一项:语音业务、数据业务或视频业务等。Wherein, the second service may include, but is not limited to, at least one of the following: voice service, data service, or video service.
可选的,在本实施方式B中,第二指示还可包含通过第二QoS流传输的第一业务的最后一个业务数据包的指示信息(例如,该业务数据包的序号)。Optionally, in Embodiment B, the second indication may also include indication information of the last service data packet of the first service transmitted through the second QoS flow (for example, the sequence number of the service data packet).
应理解,本申请对通过第一QoS流传输第一业务的第三业务数据包和向AN设备发送第二指示的顺序不作限定。可以先通过第一QoS流传输第一业务的第三业务数据包,再向AN设备发送第二指示;也可以先向AN设备发送第二指示,再通过第一QoS流传输第一业务的第三业务数据包;还可以在通过第一QoS流传输第一业务的第三业务数据包的同时,向AN设备发送第二指示。It should be understood that the present application does not limit the sequence of transmitting the third service data packet of the first service through the first QoS flow and sending the second indication to the AN device. The third service data packet of the first service can be transmitted through the first QoS flow first, and then the second instruction can be sent to the AN device; the second instruction can also be sent to the AN device first, and then the first service data packet of the first service can be transmitted through the first QoS flow. Three service data packets; the second indication may also be sent to the AN device while transmitting the third service data packet of the first service through the first QoS flow.
需要说明的是,当第一QoS流满足拥塞消除的条件时,第二QoS流的服务质量可能低于第一QoS流的服务质量。例如,第二QoS流的负载比第一QoS流的负载高;或,第二QoS流的最大数据突发量小于第一QoS流的最大数据突发量。这样,AN设备接收数据包的顺序和UPF发送数据包的顺序可能并不相同。例如,UPF通过第二QoS流依次发送数据包3和数据包4,然后,再通过第一QoS流发送数据包5(该数据包5可以为上述第三业务数据包);AN设备接收到的数据包的顺序可能为:数据包3、数据包5和数据包4。It should be noted that when the first QoS flow satisfies the congestion elimination condition, the service quality of the second QoS flow may be lower than the service quality of the first QoS flow. For example, the load of the second QoS flow is higher than the load of the first QoS flow; or, the maximum data burst of the second QoS flow is smaller than the maximum data burst of the first QoS flow. In this way, the order in which the AN device receives data packets may be different from the order in which the UPF sends data packets. For example, UPF sends data packet 3 and data packet 4 sequentially through the second QoS flow, and then sends data packet 5 through the first QoS flow (the data packet 5 may be the above-mentioned third service data packet); The sequence of packets may be: packet 3, packet 5, and packet 4.
F2:在接收到来自UPF的第二指示之前,AN设备缓存通过第一QoS流接收的第一业务的第三业务数据包。F2: Before receiving the second indication from the UPF, the AN device buffers the third service data packet of the first service received through the first QoS flow.
如前所述,AN设备接收数据包的顺序和UPF发送数据包的顺序可能并不相同。AN设备在接收到通过第二QoS流传输的全部业务数据包之前,接收到通过第一QoS流传输的业务数据包。此时,如果AN设备没有收到第二指示,则AN设备可以通过第三QoS流发送通过第二QoS流接收的业务数据包(即第二业务数据包),并缓存通过第一QoS流接收的业务数据包(即第三业务数据包)。例如,AN设备在接收到第二指示之前,通过第二QoS流接收到数据包3和数据包4,通过第一QoS流接收到数据包5。为了避免出现数据包的乱序,在接收到第二指示之前,AN设备会缓存通过第一QoS流接收的数据包5,并 通过第三QoS流向终端设备发送通过第二QoS流接收的数据包3和数据包4。As mentioned above, the order in which the AN device receives the data packets may not be the same as the order in which the UPF sends the data packets. The AN device receives the service data packets transmitted through the first QoS flow before receiving all the service data packets transmitted through the second QoS flow. At this time, if the AN device does not receive the second instruction, the AN device can send the service data packet (that is, the second service data packet) received through the second QoS flow through the third QoS flow, and buffer the service data packet received through the first QoS flow. The service data packet (that is, the third service data packet). For example, before receiving the second indication, the AN device receives data packets 3 and 4 through the second QoS flow, and receives data packet 5 through the first QoS flow. In order to avoid out-of-order data packets, before receiving the second instruction, the AN device will buffer the data packets received through the first QoS flow, and send the data packets received through the second QoS flow to the terminal device through the third QoS flow 3 and packet 4.
F3:在接收到第二指示之后,AN设备通过第三QoS流发送第三业务数据包。F3: After receiving the second indication, the AN device sends the third service data packet through the third QoS flow.
可选的,对于上述实施方式A,在接收到第二指示之后,AN设备即可通过第三QoS流发送第三业务数据包。例如,AN设备在接收到第二指示之后,可通过第三QoS流向终端设备发送缓存的数据包5。Optionally, for the foregoing embodiment A, after receiving the second indication, the AN device may send the third service data packet through the third QoS flow. For example, after receiving the second indication, the AN device may send the buffered data packet 5 to the terminal device through the third QoS flow.
可选的,对于上述实施方式B,当第二指示包含通过第二QoS流传输的第一业务的最后一个业务数据包的指示信息(例如,该业务数据包的序号)时,在接收到通过第二QoS流传输的第一业务的最后一个业务数据包之前,AN设备缓存通过第一QoS流接收的第一业务的第三业务数据包;在接收到通过第二QoS流传输的第一业务的最后一个业务数据包之后,AN设备可通过第三QoS流发送第三业务数据包。例如,UPF通过第二QoS流依次发送数据包3和数据包4,再通过第一QoS流发送第二指示和数据包5。AN设备可能依次接收到:数据包3、第二指示、数据包5和数据包4。第二指示中包含数据包4的序号。为了避免出现数据包的乱序,在接收到数据包4之前,AN设备会缓存通过第一QoS流接收的数据包5;在接收到数据包4之后,才通过第三QoS流依次发送数据包4和数据包5。Optionally, for the above embodiment B, when the second indication includes indication information (for example, the sequence number of the service data packet) of the last service data packet of the first service transmitted through the second QoS flow, upon receiving the Before the last service data packet of the first service transmitted by the second QoS flow, the AN device buffers the third service data packet of the first service received through the first QoS flow; after receiving the first service transmitted through the second QoS flow After the last service data packet of , the AN device may send a third service data packet through the third QoS flow. For example, the UPF sends data packet 3 and data packet 4 sequentially through the second QoS flow, and then sends the second indication and data packet 5 through the first QoS flow. The AN device may receive in sequence: data packet 3 , the second indication, data packet 5 and data packet 4 . The second indication includes the sequence number of the data packet 4 . In order to avoid out-of-order data packets, before receiving data packet 4, the AN device will cache data packet 5 received through the first QoS flow; after receiving data packet 4, it will send data packets sequentially through the third QoS flow 4 and packet 5.
通过上述方法,AN设备可根据第二指示先发送通过第二QoS流接收的第二业务数据包,再发送通过第一QoS流接收的第三业务数据包,从而可以对通过两条QoS流接收到的第一业务的业务数据包进行保序发送。这样,即便AN设备接收数据包的顺序和UPF发送数据包的顺序不同,AN设备发送数据包的顺序和UPF发送数据包的顺序是相同的,从而使得终端设备可以按照正确的顺序接收到业务数据包,避免了业务数据包的乱序,进而可以保证用户体验。Through the above method, the AN device can first send the second service data packet received through the second QoS flow according to the second instruction, and then send the third service data packet received through the first QoS flow, so that The received service data packets of the first service are sent in order. In this way, even if the order in which AN devices receive data packets is different from the order in which UPF sends data packets, the order in which AN devices send data packets is the same as the order in which UPF sends data packets, so that terminal devices can receive service data in the correct order package, avoiding the out-of-sequence of business data packets, thereby ensuring user experience.
可选的,上述方法还包括步骤G1-G2:Optionally, the above method also includes steps G1-G2:
G1:UPF向PCF发送第一数据量信息和第二数据量信息。其中,第一数据量信息可以用于指示通过第一QoS流传输的数据量,第二数据量信息可以用于指示通过第二QoS流传输的数据量。相应的,PCF接收来自UPF的第一数据量信息和第二数据量信息。G1: The UPF sends the first data volume information and the second data volume information to the PCF. Wherein, the first data amount information may be used to indicate the data amount transmitted through the first QoS flow, and the second data amount information may be used to indicate the data amount transmitted through the second QoS flow. Correspondingly, the PCF receives the first data amount information and the second data amount information from the UPF.
其中,UPF可以统计通过第一QoS流传输的第一业务的数据量,从而得到第一数据量信息;统计通过第二QoS流传输的第一业务的数据量,从而得到第二数据量信息。UPF可以根据预定周期(例如,每24小时一次)统计并上报第一数据量信息和第二数据量信息;也可以实时统计第一数据量信息和第二数据量信息,再以预定周期上报第一数据量信息和第二数据量信息。The UPF may count the data volume of the first service transmitted through the first QoS flow, thereby obtaining the first data volume information; count the data volume of the first service transmitted through the second QoS stream, thereby obtaining the second data volume information. The UPF can count and report the first data volume information and the second data volume information according to a predetermined period (for example, once every 24 hours); it can also collect the first data volume information and the second data volume information in real time, and then report the first data volume information in a predetermined period A data volume information and a second data volume information.
G2:PCF根据第一QoS流的计费标准、第二QoS流的计费标准、第一数据量信息和第二数据量信息进行计费。G2: The PCF performs charging according to the charging standard of the first QoS flow, the charging standard of the second QoS flow, the first data volume information, and the second data volume information.
可选的,PCF可以根据第一QoS流的计费标准(也可以称为订阅价格)和第二QoS流的计费标准,对第一数据量信息所指示的数据量和第二数据量信息所指示的数据量进行加权计算,得到计费信息。Optionally, the PCF may calculate the data volume indicated by the first data volume information and the second data volume information according to the charging standard of the first QoS flow (also referred to as subscription price) and the charging standard of the second QoS flow. The indicated data volume is weighted and calculated to obtain billing information.
例如,第一QoS流的计费标准为x元/吉比特(Gbits),第二QoS流的计费标准为y元/Gbits,第一数据量信息所指示的数据量为m Gbits,第二数据量信息所指示的数据量为n Gbits,则PCF可确定费用为x*m+y*n元。For example, the charging standard of the first QoS flow is x yuan/gigabit (Gbits), the charging standard of the second QoS flow is y yuan/Gbits, the data volume indicated by the first data amount information is m Gbits, and the second If the data volume indicated by the data volume information is n Gbits, the PCF can determine that the fee is x*m+y*n yuan.
通过该方法,PCF根据第一QoS流的计费标准、第二QoS流的计费标准、第一数据量信息和第二数据量信息进行计费,从而可以实现对第一业务的精确计费。Through this method, the PCF charges according to the charging standard of the first QoS flow, the charging standard of the second QoS flow, the first data amount information and the second data amount information, so that the accurate charging of the first service can be realized .
下面分别通过图4-图7所示的方法详细介绍图2所示的方法的具体的实现方式。其中,图4-图5所示的方法主要介绍其中的可能的情况一,即基于从AF获取的信息为第一业务在UPF和AN设备之间配置至少两个QoS流,在AN设备和终端设备之间配置一个QoS流;图6-图7所示的方法主要介绍其中的可能的情况二,即当用于传输第一业务的QoS流不满足第一业务的QoS需求时,为第一业务在UPF和AN设备之间配置至少两个QoS流,在AN设备和终端设备之间配置一个QoS流。The specific implementation manner of the method shown in FIG. 2 will be introduced in detail below through the methods shown in FIGS. 4-7 respectively. Among them, the methods shown in Fig. 4-Fig. 5 mainly introduce the possible case 1, that is, configure at least two QoS flows between the UPF and the AN device for the first service based on the information obtained from the AF, and configure at least two QoS flows between the AN device and the terminal Configure a QoS flow between devices; the methods shown in Figure 6-7 mainly introduce the second possible situation, that is, when the QoS flow used to transmit the first service does not meet the QoS requirements of the first service, the first Configure at least two QoS flows between UPF and AN equipment, and configure one QoS flow between AN equipment and terminal equipment.
下面结合图4-图5,以终端设备为UE为例,介绍上述可能的情况一的实现方式。The implementation of the above possible situation 1 will be introduced below with reference to FIG. 4-FIG. 5 and taking the terminal device as an example.
图4所示的方法可以适用于图1所示的通信系统中。如图4所示,本申请实施例提供的通信方法可包括以下流程:The method shown in FIG. 4 can be applied to the communication system shown in FIG. 1 . As shown in Figure 4, the communication method provided by the embodiment of the present application may include the following procedures:
S401:AF获取第一业务的时延需求和吞吐率等信息。S401: The AF obtains information such as a delay requirement and a throughput rate of the first service.
AF可以在针对第一业务的会话建立流程或会话修改流程中,获取用于传输第一业务的时延需求和吞吐率等信息。其中,第一业务的具体内容可参考S201,此处不再赘述。The AF may acquire information such as delay requirements and throughput rates for transmitting the first service during the session establishment process or session modification process for the first service. Wherein, for the specific content of the first service, reference may be made to S201, which will not be repeated here.
S402:AF向SMF发送第一业务的时延需求和吞吐率等信息。S402: The AF sends information such as the delay requirement and throughput rate of the first service to the SMF.
可选的,AF可以通过现有的消息(例如,PDU会话建立流程或PDU会话修改流程中的消息)向SMF发送第一业务的时延需求和吞吐率等信息,也可以通过专用消息向SMF发送第一业务的时延需求和吞吐率等信息。Optionally, the AF can send information such as the delay requirement and throughput rate of the first service to the SMF through an existing message (for example, the message in the PDU session establishment process or the PDU session modification process), or send the information to the SMF through a dedicated message Send information such as delay requirements and throughput rates of the first service.
S403:SMF确定用于传输第一业务的QoS流的配置信息。S403: The SMF determines the configuration information of the QoS flow used to transmit the first service.
可选的,用于传输第一业务的QoS流可以包括:UPF和AN设备之间的第一QoS流和第二QoS流,以及AN设备和UE之间的第三QoS流。其中,第一QoS流和第二QoS流均与第三QoS流对应。Optionally, the QoS flow used to transmit the first service may include: a first QoS flow and a second QoS flow between the UPF and the AN device, and a third QoS flow between the AN device and the UE. Wherein, both the first QoS flow and the second QoS flow correspond to the third QoS flow.
其中,SMF确定第一QoS流的配置信息的方式可参考图2所示方法中的方式一或方式二;SMF确定第二QoS流的配置信息的方式可参考图2所示方法中的方式1或方式2;SMF确定第三QoS流的配置信息的方式可参考图2所示的方法中的方式M1或方式M2,此处不再赘述。Wherein, the manner in which the SMF determines the configuration information of the first QoS flow can refer to the manner 1 or the manner 2 in the method shown in Figure 2; the manner in which the SMF determines the configuration information of the second QoS flow can refer to the manner 1 in the method shown in Figure 2 Or mode 2; the manner in which the SMF determines the configuration information of the third QoS flow may refer to mode M1 or mode M2 in the method shown in FIG. 2 , which will not be repeated here.
S404:SMF可确定发生拥塞的条件。S404: The SMF may determine a condition for occurrence of congestion.
其中,发生拥塞的条件的具体内容可参考图2所示的方法中对S202和S203的说明,此处不再赘述。Wherein, for the specific content of the condition of congestion, refer to the description of S202 and S203 in the method shown in FIG. 2 , which will not be repeated here.
S405:SMF向UPF发送第一QoS流的配置信息、第二QoS流的配置信息以及用于指示发生拥塞的条件的信息。S405: The SMF sends the configuration information of the first QoS flow, the configuration information of the second QoS flow, and the information used to indicate the condition of congestion to the UPF.
其中,SMF向UPF发送第一QoS流的配置信息的方式可参考图2所示方法中对“第一控制面网元可向UPF发送第一QoS流的配置信息”的说明;SMF向UPF发送第二QoS流的配置信息的方式可参考图2所示方法中对“第一控制面网元可向UPF发送第二QoS流的配置信息”的说明;SMF向UPF发送用于指示发生拥塞的条件的信息的方式可参考图2所示方法中的步骤A1,此处不再赘述。Wherein, the way for the SMF to send the configuration information of the first QoS flow to the UPF can refer to the description of "the first control plane network element can send the configuration information of the first QoS flow to the UPF" in the method shown in Figure 2; the SMF sends the configuration information of the first QoS flow to the UPF For the configuration information of the second QoS flow, refer to the description of "the first control plane network element can send the configuration information of the second QoS flow to the UPF" in the method shown in Figure 2; For the manner of condition information, reference may be made to step A1 in the method shown in FIG. 2 , which will not be repeated here.
可选的,SMF还可以确定拥塞消除的条件,并向UPF发送用于指示拥塞消除的条件的信息。其中,拥塞消除的条件的具体内容可参考图2所示的方法中的条件一至条件三;SMF向UPF发送用于指示拥塞消除的条件的信息的方式可参考图2所示的方法中的步骤E1,此处不再赘述。Optionally, the SMF may also determine the condition of congestion elimination, and send information indicating the condition of congestion elimination to the UPF. Wherein, the specific content of the condition of congestion elimination can refer to the condition 1 to condition 3 in the method shown in Figure 2; E1, no more details here.
S406:SMF向AN设备发送第三QoS流的配置信息。S406: The SMF sends configuration information of the third QoS flow to the AN device.
其中,SMF向AN设备发送第三QoS流的配置信息的方式可参考图2所示方法中对“第 一控制面网元可向AN设备发送第三QoS流的配置信息”的说明,此处不再赘述。Wherein, the manner in which the SMF sends the configuration information of the third QoS flow to the AN device can refer to the description of "the first control plane network element can send the configuration information of the third QoS flow to the AN device" in the method shown in FIG. 2 , here No longer.
另外,第三QoS流的配置信息可以包含在QoS profile中。SMF可以通过AMF向AN设备发送第三QoS流的配置信息。In addition, the configuration information of the third QoS flow can be included in the QoS profile. The SMF may send the configuration information of the third QoS flow to the AN device through the AMF.
此外,第三QoS流的配置信息还可以标识第三QoS流是优化的QoS流,也就是说,标识该QoS流对应至少两条AN和UPF之间的QoS流。In addition, the configuration information of the third QoS flow may also identify that the third QoS flow is an optimized QoS flow, that is, identify that the QoS flow corresponds to at least two QoS flows between the AN and the UPF.
S407:用户面的通信设备(包括UPF、AN设备和UE)根据第一QoS流是否发生拥塞,传输业务数据包。S407: The communication device on the user plane (including the UPF, the AN device and the UE) transmits the service data packet according to whether the first QoS flow is congested.
其中,S407的具体实现过程可参考下文对图5的说明,此处暂不展开。Wherein, for the specific implementation process of S407, refer to the description of FIG. 5 below, which will not be expanded here.
S408:UPF确定第一数据量信息和第二数据量信息。其中,第一数据量信息用于指示通过第一QoS流传输的数据量,第二数据量信息用于指示通过第二QoS流传输的数据量。S408: The UPF determines the first data volume information and the second data volume information. Wherein, the first data amount information is used to indicate the data amount transmitted through the first QoS flow, and the second data amount information is used to indicate the data amount transmitted through the second QoS flow.
S409:UPF向PCF发送第一数据量信息和第二数据量信息。S409: The UPF sends the first data volume information and the second data volume information to the PCF.
S410:PCF根据第一数据量信息和第二数据量信息进行计费。S410: The PCF performs charging according to the first data volume information and the second data volume information.
其中,S408-S410的具体内容可参考步骤G1-G2,此处不再赘述。Wherein, the specific content of S408-S410 can refer to steps G1-G2, which will not be repeated here.
下面以上行传输方向为例,参考图5对S407的实现过程进行举例说明。Taking the uplink transmission direction as an example, the implementation process of S407 will be illustrated with reference to FIG. 5 .
S501:UPF通过第一QoS流向AN设备发送第一业务的第一业务数据包。S501: The UPF sends the first service data packet of the first service to the AN device through the first QoS flow.
S501的具体内容可参考S201,此处不再赘述。For the specific content of S501, reference may be made to S201, which will not be repeated here.
S502:UPF检测到第一QoS流发生拥塞。S502: The UPF detects that the first QoS flow is congested.
其中,UPF检测第一QoS流是否发生拥塞的方法可以参考图2所示方法中的实现方式1,此处不再赘述。Wherein, the method for the UPF to detect whether the first QoS flow is congested can refer to the implementation mode 1 in the method shown in FIG. 2 , which will not be repeated here.
另外,S502也可以被替换为UPF确定第一QoS流发生拥塞,确定的方式可以参考图2所示方法中的实现方式1或实现方式2,此处不再赘述。In addition, S502 may also be replaced by the UPF determining that the first QoS flow is congested, and the determination method may refer to the implementation mode 1 or the implementation mode 2 in the method shown in FIG. 2 , which will not be repeated here.
S503:当第一QoS流发生拥塞时,UPF向AN设备发送第一指示。其中,第一指示可以指示停止通过第一QoS传输第一业务的业务数据包。S503: When congestion occurs in the first QoS flow, the UPF sends a first indication to the AN device. Wherein, the first indication may indicate to stop transmitting the service data packets of the first service through the first QoS.
S504:当第一QoS流发生拥塞时,UPF通过第二QoS流向AN设备发送第一业务的第二业务数据包。S504: When congestion occurs in the first QoS flow, the UPF sends the second service data packet of the first service to the AN device through the second QoS flow.
S505:AN设备在接收到来自UPF的第一指示之前,通过第三QoS流向UE发送第一业务数据包,缓存第二业务数据包。S505: Before receiving the first indication from the UPF, the AN device sends the first service data packet to the UE through the third QoS flow, and buffers the second service data packet.
S506:AN设备在接收到第一指示之后,通过第三QoS流发送第二业务数据包。S506: After receiving the first indication, the AN device sends the second service data packet through the third QoS flow.
其中,S503-S506的具体内容可参考S202-S205,此处不再赘述。Wherein, for the specific content of S503-S506, reference may be made to S202-S205, which will not be repeated here.
应理解,当第一QoS流没有发生拥塞时,步骤S502-S506是可选的步骤;此时,在S501之后,AN设备可通过第三QoS流发送第一业务数据包。It should be understood that, when the first QoS flow is not congested, steps S502-S506 are optional steps; at this time, after S501, the AN device may send the first service data packet through the third QoS flow.
S507:UPF检测到第一QoS流的拥塞消除。S507: The UPF detects that the congestion of the first QoS flow is eliminated.
其中,UPF检测第一QoS流的拥塞是否消除的方法可以参考图2所示方法中的实施方式1,此处不再赘述。Wherein, the method for the UPF to detect whether the congestion of the first QoS flow is eliminated may refer to Embodiment 1 in the method shown in FIG. 2 , which will not be repeated here.
另外,S507也可以被替换为UPF确定第一QoS流的拥塞消除,确定的方式可以参考图2所示方法中的实施方式1和实施方式2,此处不再赘述。In addition, S507 may also be replaced by the UPF determining the congestion elimination of the first QoS flow. For the determination method, reference may be made to Embodiment 1 and Embodiment 2 in the method shown in FIG. 2 , which will not be repeated here.
S508:当第一QoS流的拥塞消除时,UPF向AN设备发送第二指示。其中,第二指示可以指示停止通过第二QoS流传输第一业务的业务数据包。S508: When the congestion of the first QoS flow is eliminated, the UPF sends a second indication to the AN device. Wherein, the second instruction may indicate to stop transmitting the service data packets of the first service through the second QoS flow.
S509:当第一QoS流的拥塞消除时,UPF通过第一QoS流向AN设备发送第一业务 的第三业务数据包。S509: When the congestion of the first QoS flow is eliminated, the UPF sends the third service data packet of the first service to the AN device through the first QoS flow.
S510:AN设备在接收到来自UPF的第二指示之前,缓存第三业务数据包。S510: The AN device caches the third service data packet before receiving the second indication from the UPF.
S511:AN设备在接收到第二指示之后,通过第三QoS流发送第三业务数据包。S511: After receiving the second indication, the AN device sends the third service data packet through the third QoS flow.
S508-S511的具体内容可参考图2所示方法中的步骤F1-F3,此处不再赘述。For specific content of S508-S511, reference may be made to steps F1-F3 in the method shown in FIG. 2 , which will not be repeated here.
可以理解,当第一QoS流的拥塞没有消除时,该方法可以不包含S507-S511。It can be understood that, when the congestion of the first QoS flow has not been eliminated, the method may not include S507-S511.
可以理解的是,对上行传输方向也可以采用类似的处理方式。例如,对于上行传输方向,AN设备的操作和图5所示方法中的UPF的操作相同,UPF的操作和图5所示方法中的AN设备的操作相同,此处不再赘述。It can be understood that a similar processing manner can also be adopted for the uplink transmission direction. For example, for the uplink transmission direction, the operation of the AN device is the same as that of the UPF in the method shown in FIG. 5 , and the operation of the UPF is the same as that of the AN device in the method shown in FIG. 5 , which will not be repeated here.
可选的,图4所示的本申请实施例中,S402-S406中的SMF也可以被替换为NEF或PCF。Optionally, in the embodiment of the present application shown in FIG. 4 , the SMF in S402-S406 may also be replaced by NEF or PCF.
当SMF被替换为NEF或PCF时,在S405中,NEF或PCF可以通过SMF向UFP发送第一QoS流的配置信息、第二QoS流的配置信息以及用于指示发生拥塞的条件的信息。在S406中,NEF或PCF可以通过SMF向AN设备发送第三QoS流的配置信息;还可以通过AMF向AN设备发送第三QoS流的配置信息。When the SMF is replaced by the NEF or the PCF, in S405, the NEF or the PCF may send the configuration information of the first QoS flow, the configuration information of the second QoS flow and the information indicating the condition of congestion to the UFP through the SMF. In S406, the NEF or the PCF may send the configuration information of the third QoS flow to the AN device through the SMF; and may also send the configuration information of the third QoS flow to the AN device through the AMF.
通过该方法,移动通信系统(例如,5G系统)为第一业务在UPF和AN设备之间(即N3接口上)配置了至少两个QoS流,在AN设备和UE之间配置了一个QoS流;并且,UPF和AN设备之间的至少两个QoS流与AN设备和UE之间的一个QoS流对应。这样,当UPF和AN设备之间的一个QoS流发生拥塞时,可以通过UPF和AN设备之间的其他QoS流来传输第一业务的业务数据包,使得第一业务的业务数据包能够得到及时的调度和传输,从而可以降低第一业务的传输时延,提高用户体验。并且,由于网络侧资源较为丰富,本方法可以通过在UPF和AN设备之间灵活配置QoS流,来满足不同QoS要求的业务。Through this method, the mobile communication system (for example, 5G system) configures at least two QoS flows between the UPF and the AN device (that is, on the N3 interface) for the first service, and configures one QoS flow between the AN device and the UE and, at least two QoS flows between the UPF and the AN device correspond to one QoS flow between the AN device and the UE. In this way, when a QoS flow between the UPF and the AN device is congested, the service data packets of the first service can be transmitted through other QoS flows between the UPF and the AN device, so that the service data packets of the first service can be received in a timely manner. The scheduling and transmission of the first service can reduce the transmission delay of the first service and improve user experience. Moreover, since the resources on the network side are relatively abundant, this method can satisfy services with different QoS requirements by flexibly configuring QoS flows between the UPF and the AN equipment.
另外,当UPF和AN设备之间的至少两个QoS流(例如,第一QoS流和第二QoS流)用于传输第一业务的业务数据包时,AN设备可以在接收到停止通过第一QoS流传输第一业务的业务数据包的第一指示之前,向UE发送通过第一QoS流接收的业务数据包,缓存通过第二QoS流接收的业务数据包;在接收到第一指示之后,向UE发送通过第二QoS流接收的业务数据包。这样,AN设备可以对通过上述至少两个QoS流接收的业务数据包进行保序发送,从而提高用户体验。而且,该方法中,AN设备对业务数据包进行保序操作,无需UE进行处理;因此,不涉及对UE的修改,只需要对网络侧进行配置即可,具有配置简单的优点。In addition, when at least two QoS flows (for example, the first QoS flow and the second QoS flow) between the UPF and the AN device are used to transmit the service data packets of the first service, the AN device may stop passing the first Before the QoS flow transmits the first indication of the service data packet of the first service, send the service data packet received through the first QoS flow to the UE, and cache the service data packet received through the second QoS flow; after receiving the first indication, Send the service data packet received through the second QoS flow to the UE. In this way, the AN device can send the service data packets received through the at least two QoS flows in order, thereby improving user experience. Moreover, in this method, the AN device performs sequence-preserving operations on the service data packets without UE processing; therefore, no modification to the UE is involved, and only configuration on the network side is required, which has the advantage of simple configuration.
此外,在该方法中,AN设备在得知AN设备和UE之间的至少两个QoS流用于传输第一业务的业务数据包(例如,AN设备接收到第一指示)时,可对AN设备和UE之间的第三QoS流的资源进行配置(例如,为第三QoS流抢占non-GBR资源),从而可以保证第一业务的业务数据包的准时发送,进而可以保证第一业务的QoS需求,提高用户体验。In addition, in this method, when the AN device knows that at least two QoS flows between the AN device and the UE are used to transmit the service data packets of the first service (for example, the AN device receives the first indication), it can send the AN device Configure the resources of the third QoS flow between the UE and the UE (for example, preempt non-GBR resources for the third QoS flow), so as to ensure the timely transmission of the service data packets of the first service, and then ensure the QoS of the first service demand and improve user experience.
下面结合图6-图7,以终端设备为UE为例,介绍上述可能的情况二的实现方式。其中,图6所示方法介绍了情况二的第一种实现方式:终端设备在检测到网络状态不能满足第一业务的QoS需求时,请求为第一业务在UPF和AN设备之间配置至少两个QoS流,在AN设备和终端设备之间配置一个QoS流。图7所示方法介绍了情况二的第二种实现方式:AN设备或UPF检测到用于传输第一业务的第一QoS流发生拥塞时,请求为第一业务 在UPF和AN设备之间配置至少两个QoS流,在AN设备和终端设备之间配置一个QoS流。The implementation of the above-mentioned possible situation 2 is introduced below with reference to FIG. 6-FIG. 7 and taking the terminal device as an example. Among them, the method shown in Figure 6 introduces the first implementation of the second situation: when the terminal device detects that the network status cannot meet the QoS requirements of the first service, it requests to configure at least two Configure a QoS flow between the AN device and the terminal device. The method shown in Figure 7 introduces the second implementation of case 2: when the AN device or UPF detects that the first QoS flow used to transmit the first service is congested, it requests that the first service be configured between the UPF and the AN device At least two QoS flows, one QoS flow is configured between the AN device and the terminal device.
图6所示的方法可以适用于图1所示的通信系统中。如图6所示,本申请实施例提供的通信方法可包括以下流程:The method shown in FIG. 6 can be applied to the communication system shown in FIG. 1 . As shown in Figure 6, the communication method provided by the embodiment of the present application may include the following procedures:
S601:UE向SMF发送第一请求。S601: The UE sends a first request to the SMF.
第一请求可用于请求为第一业务在UPF和AN设备之间设置至少两条QoS流(例如,图2所示方法中的第一QoS流和第二QoS流),且该至少两条QoS流均与AN设备和UE之间的QoS流(例如,图2所示方法中的第三QoS流)对应。The first request may be used to request to set at least two QoS flows (for example, the first QoS flow and the second QoS flow in the method shown in FIG. 2 ) between the UPF and the AN device for the first service, and the at least two QoS flows Each flow corresponds to a QoS flow between the AN device and the UE (for example, the third QoS flow in the method shown in FIG. 2 ).
可选的,第一请求可以为PDU会话建立流程或PDU会话修改流程中的消息。例如,该第一请求可以为PDU会话建立请求或PDU会话修改请求,当该第一请求中的第五指示字段(该字段也可称为优化启动项)的取值为第五值时,表明请求为第一业务在UPF和AN设备之间设置至少两条QoS流,且该至少两条QoS流均与AN设备和UE之间的QoS流对应。Optionally, the first request may be a message in a PDU session establishment process or a PDU session modification process. For example, the first request may be a PDU session establishment request or a PDU session modification request, and when the value of the fifth indication field (this field may also be referred to as an optimization start item) in the first request is the fifth value, it indicates It is requested to set at least two QoS flows between the UPF and the AN device for the first service, and the at least two QoS flows correspond to the QoS flows between the AN device and the UE.
在一些可能的实现方式中,UE可在检测到第三QoS流的QoS参数不满足第一业务的QoS需求时,向SMF发送第一请求。其中,UE检测到第三QoS流的QoS参数是否满足第一业务的QoS需求的具体内容可参考图2所示方法中的实现方式A,此处不再赘述。In some possible implementation manners, when detecting that the QoS parameter of the third QoS flow does not meet the QoS requirement of the first service, the UE may send the first request to the SMF. Wherein, the UE detects whether the QoS parameters of the third QoS flow meet the QoS requirement of the first service may refer to the implementation mode A in the method shown in FIG. 2 , which will not be repeated here.
在另一些可能的实现方式中,UE可在检测到来自AN设备的信号的信号强度小于或等于第十五阈值时,向SMF发送第一请求。其中,UE检测到来自AN设备的信号的信号强度是否小于或等于第十五阈值的具体内容可参考图2所示方法中的实现方式B,此处不再赘述。In some other possible implementation manners, the UE may send the first request to the SMF when detecting that the signal strength of the signal from the AN device is less than or equal to the fifteenth threshold. For details about whether the UE detects whether the signal strength of the signal from the AN device is less than or equal to the fifteenth threshold, reference may be made to implementation B in the method shown in FIG. 2 , which will not be repeated here.
S602:SMF根据签约信息确定是否可以为第一业务配置第二QoS流。S602: The SMF determines whether the second QoS flow can be configured for the first service according to the subscription information.
可选的,SMF可以从UDM获取该UE的签约信息,也可通过PCF或NEF从UDM获取UE的签约信息。当UE的签约信息显示UE已订阅为第一业务在UPF和AN设备之间设置至少两条QoS流的服务,则SMF确定可为第一业务配置第二QoS流,并执行后续流程;当UE的签约信息显示UE未订阅为第一业务在UPF和AN设备之间设置至少两条QoS流的服务,则SMF可为第一业务配置第一QoS流和第三QoS流,并执行后续会话建立流程或会话修改流程。Optionally, the SMF may obtain the subscription information of the UE from the UDM, or obtain the subscription information of the UE from the UDM through the PCF or NEF. When the subscription information of the UE shows that the UE has subscribed to the service of setting at least two QoS flows between the UPF and the AN device for the first service, the SMF determines that the second QoS flow can be configured for the first service, and performs subsequent procedures; when the UE If the subscription information shows that the UE has not subscribed to the service of setting at least two QoS flows between the UPF and the AN device for the first service, the SMF can configure the first QoS flow and the third QoS flow for the first service, and perform subsequent session establishment A process or session modifies a process.
此外,也可以由PCF或NEF根据从UDM获取UE的签约信息确定是否可以为第一业务配置第二QoS流,并通知SMF确定结果。其中,PCF或NEF确定是否可以为第一业务配置第二QoS流的方式与SMF确定的方式相同,此处不再赘述。In addition, the PCF or NEF may also determine whether the second QoS flow can be configured for the first service according to the subscription information of the UE obtained from the UDM, and notify the SMF of the determination result. Wherein, the PCF or the NEF determines whether the second QoS flow can be configured for the first service in the same way as the SMF, and will not be repeated here.
S603:SMF确定用于传输第一业务的QoS流的配置信息。S603: The SMF determines the configuration information of the QoS flow used to transmit the first service.
S604:SMF确定发生拥塞的条件。S604: The SMF determines a condition for occurrence of congestion.
S605:SMF向UPF发送第一QoS流的配置信息、第二QoS流的配置信息以及用于指示发生拥塞的条件的信息。S605: The SMF sends configuration information of the first QoS flow, configuration information of the second QoS flow, and information for indicating a condition of congestion to the UPF.
S606:SMF向AN设备发送第三QoS流的配置信息。S606: The SMF sends configuration information of the third QoS flow to the AN device.
S607:用户面的通信设备(包括UPF、AN设备和UE)根据第一QoS流是否发生拥塞,传输业务数据包。S607: The communication device on the user plane (including the UPF, the AN device and the UE) transmits the service data packet according to whether the first QoS flow is congested.
S608:UPF确定第一数据量信息和第二数据量信息。其中,第一数据量信息用于指示通过第一QoS流传输的数据量,第二数据量信息用于指示通过第二QoS流传输的数据量。S608: The UPF determines the first data volume information and the second data volume information. Wherein, the first data amount information is used to indicate the data amount transmitted through the first QoS flow, and the second data amount information is used to indicate the data amount transmitted through the second QoS flow.
S609:UPF向PCF发送第一数据量信息和第二数据量信息。S609: The UPF sends the first data volume information and the second data volume information to the PCF.
S610:PCF根据第一数据量信息和第二数据量信息进行计费。S610: The PCF performs charging according to the first data volume information and the second data volume information.
其中,S603-S610的具体内容可参考S403-S410,此处不再赘述。Wherein, for the specific content of S603-S610, reference may be made to S403-S410, which will not be repeated here.
可选的,图6所示的本申请实施例中,S601-S606中的SMF也可以被替换为NEF或PCF。替换的具体方式可参考对图4的说明,此处不再赘述。Optionally, in the embodiment of the present application shown in FIG. 6 , the SMF in S601-S606 may also be replaced by NEF or PCF. For a specific manner of replacement, reference may be made to the description of FIG. 4 , which will not be repeated here.
图6所示的方法可以实现图4所示方法的效果,此处不再赘述。The method shown in FIG. 6 can realize the effect of the method shown in FIG. 4 , and details are not repeated here.
另外,在图6所示的方法中,UE检测到当前的QoS流不能满足第一业务的QoS需求时,才请求SMF为第一业务在UPF和AN设备之间配置至少两个QoS流,无需在所有时刻都为第一业务在UPF和AN设备之间配置至少两个QoS流,从而可以节约UPF和AN设备之间的资源。In addition, in the method shown in Figure 6, when the UE detects that the current QoS flow cannot meet the QoS requirements of the first service, it requests the SMF to configure at least two QoS flows between the UPF and the AN device for the first service. At least two QoS flows are configured between the UPF and the AN device for the first service at all times, thereby saving resources between the UPF and the AN device.
图7所示的方法可以适用于图1所示的通信系统中。如图7所示,本申请实施例提供的通信方法可包括以下流程:The method shown in FIG. 7 can be applied to the communication system shown in FIG. 1 . As shown in Figure 7, the communication method provided by the embodiment of the present application may include the following process:
S701:SMF获取用于指示第一QoS流发生拥塞的信息。S701: The SMF acquires information used to indicate congestion of the first QoS flow.
在一些可能的方式中,S701可包括S701a:AN设备向SMF发送用于指示第一QoS流发生拥塞的信息。具体内容可参考图2所示方法中的方式A,此处不再赘述。In some possible manners, S701 may include S701a: the AN device sends information for indicating congestion of the first QoS flow to the SMF. For specific content, refer to mode A in the method shown in FIG. 2 , which will not be repeated here.
在另一些可能的方式中,S701可包括S701b:UPF向SMF发送用于指示第一QoS流发生拥塞的信息。具体内容可参考图2所示方法中的方式B,此处不再赘述。In some other possible manners, S701 may include S701b: the UPF sends to the SMF information for indicating that the first QoS flow is congested. For specific content, reference may be made to mode B in the method shown in FIG. 2 , which will not be repeated here.
S702:SMF确定用于传输第一业务的QoS流的配置信息。S702: The SMF determines the configuration information of the QoS flow used to transmit the first service.
S703:SMF确定发生拥塞的条件。S703: The SMF determines a condition for occurrence of congestion.
S704:SMF向UPF发送第一QoS流的配置信息、第二QoS流的配置信息以及用于指示发生拥塞的条件的信息。S704: The SMF sends configuration information of the first QoS flow, configuration information of the second QoS flow, and information for indicating a condition of congestion to the UPF.
S705:SMF向AN设备发送第三QoS流的配置信息。S705: The SMF sends configuration information of the third QoS flow to the AN device.
S706:用户面的通信设备(包括UPF、AN设备和UE)根据第一QoS流是否发生拥塞,传输业务数据包。S706: The communication device on the user plane (including the UPF, the AN device and the UE) transmits the service data packet according to whether the first QoS flow is congested.
S707:UPF确定第一数据量信息和第二数据量信息。其中,第一数据量信息用于指示通过第一QoS流传输的数据量,第二数据量信息用于指示通过第二QoS流传输的数据量。S707: The UPF determines the first data volume information and the second data volume information. Wherein, the first data amount information is used to indicate the data amount transmitted through the first QoS flow, and the second data amount information is used to indicate the data amount transmitted through the second QoS flow.
S708:UPF向PCF发送第一数据量信息和第二数据量信息。S708: The UPF sends the first data volume information and the second data volume information to the PCF.
S709:PCF根据第一数据量信息和第二数据量信息进行计费。S709: The PCF performs charging according to the first data volume information and the second data volume information.
其中,S702-S709的具体内容可参考S403-S410,此处不再赘述。Wherein, for the specific content of S702-S709, reference may be made to S403-S410, which will not be repeated here.
可选的,图7所示的本申请实施例中,S701-S705中的SMF也可以被替换为NEF或PCF。替换的具体方式可参考对图4的说明,此处不再赘述。Optionally, in the embodiment of the present application shown in FIG. 7 , the SMF in S701-S705 may also be replaced by NEF or PCF. For a specific manner of replacement, reference may be made to the description of FIG. 4 , which will not be repeated here.
图7所示的方法可以实现图4所示方法的效果,此处不再赘述。The method shown in FIG. 7 can realize the effect of the method shown in FIG. 4 , and details are not repeated here.
另外,在图7所示的方法中,当AN设备或UPF检测到第一QoS流发生拥塞时,才会触发SMF为第一业务在UPF和AN设备之间配置至少两个QoS流,无需在所有时刻都为第一业务在UPF和AN设备之间配置至少两个QoS流,从而可以节约UPF和AN设备之间的资源。In addition, in the method shown in Figure 7, when the AN device or UPF detects that the first QoS flow is congested, the SMF will be triggered to configure at least two QoS flows between the UPF and the AN device for the first service. At least two QoS flows are configured between the UPF and the AN device for the first service at all times, thereby saving resources between the UPF and the AN device.
基于与图2至图7方法实施例相同的发明构思,本申请实施例通过图8提供了一种通信装置,可用于执行上述方法实施例中相关步骤的功能。所述功能可以通过硬件实现,也可以通过软件或者硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能 相对应的模块。该通信装置的结构如图8所示,包括通信单元801和处理单元802。所述通信装置800可以应用于图1所示的通信系统中的AN设备、UPF或终端设备,并可以实现以上本申请实施例以及实例提供的通信方法。下面对所述通信装置800中的各个单元的功能进行介绍。Based on the same inventive concept as the method embodiments in FIG. 2 to FIG. 7 , the embodiment of the present application provides a communication device through FIG. 8 , which can be used to perform the functions of the relevant steps in the above method embodiments. The functions described above may be realized by hardware, or may be realized by software or hardware executes corresponding software. The hardware or software includes one or more modules corresponding to the above functions. The structure of the communication device is shown in FIG. 8 , including a communication unit 801 and a processing unit 802 . The communication apparatus 800 can be applied to AN equipment, UPF or terminal equipment in the communication system shown in FIG. 1 , and can implement the communication methods provided in the above embodiments and examples of the present application. The function of each unit in the communication device 800 is introduced below.
所述通信单元801,用于接收和发送数据。The communication unit 801 is configured to receive and send data.
当所述通信装置800应用于UPF或AN设备(在所述AN设备与核心网中的网元进行交互的场景中)时,所述通信单元801可以通过物理接口、通信模块、通信接口、输入输出接口实现。所述通信装置800可以通过该通信单元连接网线或电缆,进而与其他设备建立物理连接。When the communication device 800 is applied to UPF or AN equipment (in the scenario where the AN equipment interacts with network elements in the core network), the communication unit 801 can use physical interfaces, communication modules, communication interfaces, input The output interface is implemented. The communication device 800 can be connected with a network cable or cable through the communication unit, and then establish a physical connection with other devices.
当所述通信装置800应用于终端设备和AN设备(在所述AN设备与终端设备进行交互的场景中)时,所述通信单元801可以通过收发器实现,例如,移动通信模块。其中,移动通信模块可以包括至少一个天线、至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。所述AN设备可以通过所述移动通信模块与接入的终端设备进行通信。When the communication apparatus 800 is applied to a terminal device and an AN device (in the scenario where the AN device interacts with the terminal device), the communication unit 801 may be implemented by a transceiver, for example, a mobile communication module. Wherein, the mobile communication module may include at least one antenna, at least one filter, a switch, a power amplifier, a low noise amplifier (low noise amplifier, LNA) and the like. The AN device can communicate with the accessed terminal device through the mobile communication module.
所述处理单元802可用于支持所述通信装置800执行上述方法实施例中的处理动作。所述处理单元802可以是通过处理器实现。例如,所述处理器可以为中央处理单元(central processing unit,CPU),还可以是其它通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其它可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。The processing unit 802 may be configured to support the communication device 800 to execute the processing actions in the foregoing method embodiments. The processing unit 802 may be implemented by a processor. For example, the processor can be a central processing unit (central processing unit, CPU), and can also be other general processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC) , field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. A general-purpose processor can be a microprocessor, or any conventional processor.
在一种实施方式中,所述通信装置800应用于图2-图7任一项所示的本申请实施例中的AN设备中。下面对该实施方式中的所述处理单元802的具体功能进行介绍。In an implementation manner, the communication apparatus 800 is applied to the AN device in the embodiment of the present application shown in any one of FIG. 2 to FIG. 7 . The specific functions of the processing unit 802 in this embodiment will be introduced below.
所述处理单元802,用于:通过通信单元801通过第一QoS流接收第一业务的第一业务数据包;通过通信单元801通过第二QoS流接收所述第一业务的第二业务数据包;其中,所述第一QoS流和所述第二QoS流均为用户面网元和所述AN设备之间的QoS流,且均与所述AN设备和终端设备之间的第三QoS流对应;在接收到来自所述用户面网元的第一指示之前,通过通信单元801通过所述第三QoS流发送所述第一业务数据包,缓存所述第二业务数据包;在接收到所述第一指示之后,通过通信单元801通过所述第三QoS流发送所述第二业务数据包。The processing unit 802 is configured to: receive the first service data packet of the first service through the first QoS flow through the communication unit 801; receive the second service data packet of the first service through the second QoS flow through the communication unit 801 ; Wherein, both the first QoS flow and the second QoS flow are QoS flows between the user plane network element and the AN device, and both are connected to the third QoS flow between the AN device and the terminal device Corresponding; before receiving the first instruction from the user plane network element, the communication unit 801 sends the first service data packet through the third QoS flow, and caches the second service data packet; after receiving After the first indication, the communication unit 801 sends the second service data packet through the third QoS flow.
可选的,所述处理单元802具体用于:通过通信单元801接收所述第三QoS流的配置信息;其中,所述第三QoS流的配置信息中包含第一信息,所述第一信息用于指示所述第一QoS流和所述第二QoS流均与所述第三QoS流对应。Optionally, the processing unit 802 is specifically configured to: receive configuration information of the third QoS flow through the communication unit 801; wherein, the configuration information of the third QoS flow includes first information, and the first information It is used to indicate that both the first QoS flow and the second QoS flow correspond to the third QoS flow.
可选的,所述第一信息包括:所述第一QoS流的标识和所述第二QoS流的标识。Optionally, the first information includes: an identifier of the first QoS flow and an identifier of the second QoS flow.
可选的,所述处理单元802具体用于:抢占资源;将所述抢占的资源添加到所述第三QoS流占用的资源中;通过通信单元801通过所述第三QoS流发送所述第二业务数据包。Optionally, the processing unit 802 is specifically configured to: preempt resources; add the preempted resources to resources occupied by the third QoS flow; send the first QoS flow through the communication unit 801 Two business data packets.
可选的,所述处理单元802具体用于:当满足以下条件至少一项时,释放所述抢占的资源:Optionally, the processing unit 802 is specifically configured to: release the preempted resource when at least one of the following conditions is met:
通过通信单元801接收到来自所述用户面网元的第二指示;其中,所述第二指示用于指示停止通过所述第二QoS流传输所述第一业务的业务数据包;receiving a second instruction from the user plane network element through the communication unit 801; wherein the second instruction is used to instruct to stop transmitting the service data packet of the first service through the second QoS flow;
在第一时间内,未通过所述第二QoS流接收到所述第一业务的业务数据包。Within the first time period, no service data packet of the first service is received through the second QoS flow.
可选的,所述第一指示用于指示停止通过所述第一QoS流传输所述第一业务的业务数据包。Optionally, the first indication is used to indicate to stop transmitting the service data packets of the first service through the first QoS flow.
可选的,所述处理单元802具体用于:检测所述第一QoS流是否满足发生拥塞的条件;当检测到所述第一QoS流满足所述发生拥塞的条件时,通过通信单元801向第一控制面网元或所述用户面网元发送用于指示所述第一QoS流发生拥塞的信息。Optionally, the processing unit 802 is specifically configured to: detect whether the first QoS flow satisfies the condition for congestion; The first control plane network element or the user plane network element sends information for indicating that the first QoS flow is congested.
可选的,所述发生拥塞的条件包括以下至少一项:Optionally, the conditions for the occurrence of congestion include at least one of the following:
与所述第一QoS流对应的所述第三QoS流的转发延迟大于或等于第一阈值;The forwarding delay of the third QoS flow corresponding to the first QoS flow is greater than or equal to a first threshold;
与所述第一QoS流对应的所述第三QoS流的队列增长速度大于或等于第二阈值;The queue growth rate of the third QoS flow corresponding to the first QoS flow is greater than or equal to a second threshold;
与所述第一QoS流对应的所述第三QoS流的入口流量和所述第三QoS流的出口流量的比值大于或等于第三阈值;The ratio of the ingress traffic of the third QoS flow corresponding to the first QoS flow to the egress traffic of the third QoS flow is greater than or equal to a third threshold;
单位时间内通过所述第一QoS流接收的业务数据包的数据量大于或等于第四阈值。A data volume of service data packets received through the first QoS flow per unit time is greater than or equal to a fourth threshold.
可选的,所述处理单元802具体用于:在接收到来自所述用户面网元的第二指示之前,缓存通过所述第一QoS流接收的所述第一业务的第三业务数据包;在接收到所述第二指示之后,通过通信单元801通过所述第三QoS流发送所述第三业务数据包。Optionally, the processing unit 802 is specifically configured to: before receiving the second indication from the user plane network element, cache the third service data packet of the first service received through the first QoS flow ; After receiving the second indication, sending the third service data packet through the communication unit 801 through the third QoS flow.
可选的,所述第二指示用于指示停止通过所述第二QoS流传输所述第一业务的业务数据包。Optionally, the second indication is used to indicate to stop transmitting the service data packets of the first service through the second QoS flow.
可选的,所述处理单元802具体用于:检测所述第一QoS流是否满足拥塞消除的条件;当检测到所述第一QoS流满足所述拥塞消除的条件时,通过通信单元801向所述用户面网元发送用于指示所述第一QoS流中的拥塞已消除的信息;通过通信单元801通过所述第一QoS流接收所述第一业务的第三业务数据包。Optionally, the processing unit 802 is specifically configured to: detect whether the first QoS flow satisfies the condition for congestion elimination; The user plane network element sends information indicating that the congestion in the first QoS flow has been eliminated; and the communication unit 801 receives the third service data packet of the first service through the first QoS flow.
可选的,所述拥塞消除的条件包括以下至少一项:Optionally, the conditions for congestion elimination include at least one of the following:
与所述第一QoS流对应的所述第三QoS流的转发延迟小于或等于第五阈值;The forwarding delay of the third QoS flow corresponding to the first QoS flow is less than or equal to a fifth threshold;
与所述第一QoS流对应的所述第三QoS流的队列增长速度小于或等于第六阈值;The queue growth rate of the third QoS flow corresponding to the first QoS flow is less than or equal to a sixth threshold;
与所述第一QoS流对应的所述第三QoS流的入口流量和所述第三QoS流的出口流量的比值小于或等于第七阈值;A ratio of the ingress traffic of the third QoS flow corresponding to the first QoS flow to the egress traffic of the third QoS flow is less than or equal to a seventh threshold;
单位时间内通过所述第一QoS流接收的业务数据包的数据量小于或等于第八阈值。The data volume of service data packets received through the first QoS flow per unit time is less than or equal to the eighth threshold.
在一种实施方式中,所述通信装置800应用于图2-图7任一项所示的本申请实施例中的UPF。下面对该实施方式中的所述处理单元802的具体功能进行介绍。In an implementation manner, the communication device 800 is applied to the UPF in the embodiment of the present application shown in any one of FIG. 2 to FIG. 7 . The specific functions of the processing unit 802 in this embodiment will be introduced below.
处理单元802,用于:通过通信单元801通过QoS流传输第一业务的业务数据包;当所述第一QoS流满足发生拥塞的条件时,通过通信单元801向AN设备发送第一指示;其中,所述第一指示用于指示停止通过所述第一QoS流传输所述第一业务的业务数据包;当所述第一QoS流满足所述发生拥塞的条件时,通过通信单元801通过第二QoS流传输所述第一业务的业务数据包;其中,所述第一QoS流和所述第二QoS流均为所述用户面网元和所述AN设备之间的QoS流,且均与所述AN设备和终端设备之间的第三QoS流对应。The processing unit 802 is configured to: transmit the service data packets of the first service through the QoS flow through the communication unit 801; when the first QoS flow meets the congestion condition, send the first indication to the AN device through the communication unit 801; wherein , the first indication is used to instruct to stop transmitting the service data packets of the first service through the first QoS flow; Two QoS flows transmit the service data packets of the first service; wherein, the first QoS flow and the second QoS flow are both QoS flows between the user plane network element and the AN device, and both It corresponds to the third QoS flow between the AN device and the terminal device.
可选的,所述处理单元802具体用于:检测所述第一QoS流是否满足所述发生拥塞的条件。Optionally, the processing unit 802 is specifically configured to: detect whether the first QoS flow satisfies the congestion occurrence condition.
可选的,所述处理单元802具体用于:通过通信单元801接收来自第一控制面网元的用于指示所述发生拥塞的条件的信息。Optionally, the processing unit 802 is specifically configured to: receive, through the communication unit 801, information indicating the condition for occurrence of congestion from the first control plane network element.
可选的,所述处理单元802具体用于:通过通信单元801接收来自所述AN设备的用 于指示所述第一QoS流发生拥塞的信息。Optionally, the processing unit 802 is specifically configured to: receive, through the communication unit 801, information from the AN device indicating that congestion occurs in the first QoS flow.
可选的,所述第一指示包含在通过所述第一QoS流传输的所述第一业务的业务数据包中。Optionally, the first indication is included in a service data packet of the first service transmitted through the first QoS flow.
可选的,所述处理单元802具体用于:当所述第一QoS流满足所述发生拥塞的条件时,通过通信单元801向第一控制面网元发送用于指示所述第一QoS流发生拥塞的信息;通过通信单元801接收来自所述第一控制面网元的所述第二QoS流的配置信息。Optionally, the processing unit 802 is specifically configured to: when the first QoS flow satisfies the congestion condition, send a message indicating the first QoS flow to the first control plane network element through the communication unit 801. Congestion occurrence information: receiving configuration information of the second QoS flow from the first control plane network element through the communication unit 801 .
可选的,所述处理单元802具体用于:当所述第一QoS流满足拥塞消除的条件时,通过通信单元801通过所述第一QoS流传输所述第一业务的业务数据包。Optionally, the processing unit 802 is specifically configured to: when the first QoS flow satisfies a condition for congestion elimination, the communication unit 801 transmits the service data packet of the first service through the first QoS flow.
可选的,所述处理单元802具体用于:检测所述第一QoS流是否满足所述拥塞消除的条件;或,通过通信单元801接收来自所述AN设备的用于指示所述第一QoS流中的拥塞已消除的信息。Optionally, the processing unit 802 is specifically configured to: detect whether the first QoS flow satisfies the congestion elimination condition; or, receive a message indicating the first QoS flow from the AN device through the communication unit 801 Information that the congestion in the stream has been resolved.
可选的,所述处理单元802具体用于:当所述第一QoS流满足所述拥塞消除的条件时,通过通信单元801通过所述第二QoS流向所述AN设备发送第二指示;所述第二指示用于指示停止通过所述第二QoS流传输所述第一业务的业务数据包。Optionally, the processing unit 802 is specifically configured to: when the first QoS flow satisfies the congestion elimination condition, send a second indication to the AN device through the second QoS flow through the communication unit 801; The second instruction is used to instruct to stop transmitting the service data packets of the first service through the second QoS flow.
可选的,所述拥塞消除的条件包括以下至少一项:Optionally, the conditions for congestion elimination include at least one of the following:
所述第一QoS流的转发延迟小于或等于第九阈值;The forwarding delay of the first QoS flow is less than or equal to a ninth threshold;
所述第一QoS流的队列增长速度小于或等于第十阈值;The queue growth rate of the first QoS flow is less than or equal to the tenth threshold;
所述第一QoS流的入口流量和所述第一QoS流的出口流量的比值小于或等于第十一阈值。A ratio of the ingress traffic of the first QoS flow to the egress traffic of the first QoS flow is less than or equal to an eleventh threshold.
可选的,所述发生拥塞的条件包括以下至少一项:Optionally, the conditions for the occurrence of congestion include at least one of the following:
所述第一QoS流的转发延迟大于或等于第十二阈值;The forwarding delay of the first QoS flow is greater than or equal to a twelfth threshold;
所述第一QoS流的队列增长速度大于或等于第十三阈值;The queue growth rate of the first QoS flow is greater than or equal to a thirteenth threshold;
所述第一QoS流的入口流量和所述第一QoS流的出口流量的比值大于或等于第十四阈值。A ratio of the ingress traffic of the first QoS flow to the egress traffic of the first QoS flow is greater than or equal to a fourteenth threshold.
可选的,所述处理单元802具体用于:通过通信单元801向策略控制功能网元发送第一数据量信息和第二数据量信息;其中,所述第一数据量信息用于指示通过所述第一QoS流传输的数据量,所述第二数据量信息用于指示通过所述第二QoS流传输的数据量。Optionally, the processing unit 802 is specifically configured to: send the first data amount information and the second data amount information to the policy control function network element through the communication unit 801; The amount of data transmitted by the first QoS flow, the second data amount information is used to indicate the amount of data transmitted by the second QoS flow.
在一种实施方式中,所述通信装置800应用于图2-图7任一项所示的本申请实施例中的终端设备。下面对该实施方式中的所述处理单元802的具体功能进行介绍。In an implementation manner, the communication apparatus 800 is applied to the terminal device in the embodiment of the present application shown in any one of FIG. 2 to FIG. 7 . The specific functions of the processing unit 802 in this embodiment will be introduced below.
处理单元802,用于:获取第一业务的服务质量QoS需求;检测第三QoS流的QoS参数是否满足所述第一业务的QoS需求;其中,所述第三QoS流为所述终端设备和接入网AN设备之间用于承载所述第一业务的QoS流;当检测到所述第三QoS流的QoS参数不满足所述第一业务的QoS需求时,通过通信单元801向第一控制面网元发送第一请求;其中,所述第一请求用于请求为所述第一业务在用户面网元和所述AN设备之间设置至少两条QoS流,且所述至少两条QoS流均与所述第三QoS流对应。The processing unit 802 is configured to: obtain the QoS requirements of the first service; detect whether the QoS parameters of the third QoS flow meet the QoS requirements of the first service; wherein, the third QoS flow is the terminal device and The QoS flow used to carry the first service between AN devices in the access network; when it is detected that the QoS parameter of the third QoS flow does not meet the QoS requirement of the first service, send The control plane network element sends a first request; wherein, the first request is used to request to set at least two QoS flows between the user plane network element and the AN device for the first service, and the at least two All QoS flows correspond to the third QoS flow.
可选的,所述第三QoS流的QoS参数包括以下至少一项:Optionally, the QoS parameters of the third QoS flow include at least one of the following:
通过所述第三QoS流传输的所述第一业务的业务数据包的传输时延;The transmission delay of the service data packets of the first service transmitted through the third QoS flow;
通过所述第三QoS流传输的所述第一业务的业务数据包的丢包率;A packet loss rate of service data packets of the first service transmitted through the third QoS flow;
通过所述第三QoS流传输的所述第一业务的业务数据包的抖动。The jitter of the service data packets of the first service transmitted through the third QoS flow.
可选的,所述第一请求为PDU会话建立请求或PDU会话修改请求。Optionally, the first request is a PDU session establishment request or a PDU session modification request.
在一种实施方式中,所述通信装置800应用于图2-图7任一项所示的本申请实施例中的终端设备。下面对该实施方式中的所述处理单元802的具体功能进行介绍。In an implementation manner, the communication apparatus 800 is applied to the terminal device in the embodiment of the present application shown in any one of FIG. 2 to FIG. 7 . The specific functions of the processing unit 802 in this embodiment will be introduced below.
处理单元802,用于:检测来自接入网AN设备的信号的信号强度;当所述信号强度小于或等于第十五阈值时,通过通信单元801向第一控制面网元发送第一请求;其中,所述第一请求用于请求为第一业务在用户面网元和所述AN设备之间设置至少两条服务质量QoS流,在所述AN设备和所述终端设备之间设置一条QoS流。The processing unit 802 is configured to: detect the signal strength of the signal from the AN device of the access network; when the signal strength is less than or equal to the fifteenth threshold, send a first request to the first control plane network element through the communication unit 801; Wherein, the first request is used to request to set at least two QoS flows between the user plane network element and the AN device for the first service, and set one QoS flow between the AN device and the terminal device. flow.
可选的,所述第一请求为PDU会话建立请求。Optionally, the first request is a PDU session establishment request.
需要说明的是,本申请以上实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。It should be noted that the division of modules in the above embodiments of the present application is schematic, and is only a logical function division. In actual implementation, there may be other division methods. In addition, each function in each embodiment of the present application Units can be integrated into one processing unit, or physically exist separately, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .
基于相同的技术构思,本申请实施例通过图9所示提供了一种通信设备,可用于执行上述方法实施例中相关的步骤。所述通信设备可以应用于图1所示的通信系统中的UPF、AN设备或终端设备,可以实现以上本申请实施例以及实例提供的通信方法,具有图8所示的通信装置的功能。参阅图9所示,所述通信设备900包括:通信模块901、处理器902以及存储器903。其中,所述通信模块901、所述处理器902以及所述存储器903之间相互连接。Based on the same technical concept, the embodiment of the present application provides a communication device as shown in FIG. 9 , which can be used to execute the relevant steps in the foregoing method embodiments. The communication device can be applied to UPF, AN equipment or terminal equipment in the communication system shown in FIG. 1 , can implement the communication methods provided in the above embodiments and examples of the present application, and has the functions of the communication device shown in FIG. 8 . Referring to FIG. 9 , the communication device 900 includes: a communication module 901 , a processor 902 and a memory 903 . Wherein, the communication module 901 , the processor 902 and the memory 903 are connected to each other.
可选的,所述通信模块901、所述处理器902以及所述存储器903之间通过总线904相互连接。所述总线904可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图9中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Optionally, the communication module 901 , the processor 902 and the memory 903 are connected to each other through a bus 904 . The bus 904 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus or the like. The bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 9 , but it does not mean that there is only one bus or one type of bus.
所述通信模块901,用于接收和发送数据,实现与其他设备之间的通信交互。例如,所述通信模块901可以通过物理接口、通信模块、通信接口、输入输出接口实现。The communication module 901 is configured to receive and send data to realize communication interaction with other devices. For example, the communication module 901 may be implemented through a physical interface, a communication module, a communication interface, or an input/output interface.
所述处理器902可用于支持所述通信设备900执行上述方法实施例中的处理动作。当所述通信设备900用于实现上述方法实施例时,处理器902还可用于实现上述处理单元802的功能。所述处理器902可以是CPU,还可以是其它通用处理器、DSP、ASIC、FPGA或者其它可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是 微处理器,也可以是任何常规的处理器。The processor 902 may be configured to support the communication device 900 to execute the processing actions in the foregoing method embodiments. When the communication device 900 is used to implement the foregoing method embodiments, the processor 902 may also be configured to implement the functions of the foregoing processing unit 802 . The processor 902 may be a CPU, or other general-purpose processors, DSP, ASIC, FPGA or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. A general-purpose processor can be a microprocessor, or any conventional processor.
在一种实施方式中,所述通信设备900应用于图2-图7任一项所示的本申请实施例中的AN设备。所述处理器902具体用于:In an implementation manner, the communication device 900 is applied to the AN device in the embodiment of the present application shown in any one of FIG. 2 to FIG. 7 . The processor 902 is specifically configured to:
通过所述通信模块901通过第一QoS流接收第一业务的第一业务数据包;通过所述通信模块901通过第二QoS流接收所述第一业务的第二业务数据包;其中,所述第一QoS流和所述第二QoS流均为用户面网元和所述AN设备之间的QoS流,且均与所述AN设备和终端设备之间的第三QoS流对应;在接收到来自所述用户面网元的第一指示之前,通过所述通信模块901通过所述第三QoS流发送所述第一业务数据包,缓存所述第二业务数据包;在接收到所述第一指示之后,通过所述通信模块901通过所述第三QoS流发送所述第二业务数据包。Receive the first service data packet of the first service through the first QoS flow through the communication module 901; receive the second service data packet of the first service through the second QoS flow through the communication module 901; wherein, the Both the first QoS flow and the second QoS flow are QoS flows between the user plane network element and the AN device, and both correspond to the third QoS flow between the AN device and the terminal device; Before the first instruction from the user plane network element, the communication module 901 sends the first service data packet through the third QoS flow, and caches the second service data packet; After an instruction, the communication module 901 sends the second service data packet through the third QoS flow.
在一种实施方式中,所述通信设备900应用于图2-图7任一项所示的本申请实施例中的用户面网元。所述处理器902具体用于:In an implementation manner, the communication device 900 is applied to a user plane network element in the embodiment of the present application shown in any one of FIG. 2 to FIG. 7 . The processor 902 is specifically configured to:
通过所述通信模块901通过QoS流传输第一业务的业务数据包;当所述第一QoS流满足发生拥塞的条件时,通过所述通信模块901向AN设备发送第一指示;其中,所述第一指示用于指示停止通过所述第一QoS流传输所述第一业务的业务数据包;当所述第一QoS流满足所述发生拥塞的条件时,通过所述通信模块901通过第二QoS流传输所述第一业务的业务数据包;其中,所述第一QoS流和所述第二QoS流均为所述用户面网元和所述AN设备之间的QoS流,且均与所述AN设备和终端设备之间的第三QoS流对应。The service data packet of the first service is transmitted through the QoS flow through the communication module 901; when the first QoS flow satisfies the condition of congestion, a first indication is sent to the AN device through the communication module 901; wherein, the The first indication is used to indicate to stop transmitting the service data packets of the first service through the first QoS flow; The QoS flow transmits the service data packets of the first service; wherein, the first QoS flow and the second QoS flow are both QoS flows between the user plane network element and the AN device, and are both related to The third QoS flow correspondence between the AN device and the terminal device.
在一种实施方式中,所述通信设备900应用于图2-图7任一项所示的本申请实施例中的终端设备。所述处理器902具体用于:In an implementation manner, the communication device 900 is applied to the terminal device in the embodiment of the present application shown in any one of FIG. 2 to FIG. 7 . The processor 902 is specifically configured to:
获取第一业务的服务质量QoS需求;检测第三QoS流的QoS参数是否满足所述第一业务的QoS需求;其中,所述第三QoS流为所述终端设备和接入网AN设备之间用于承载所述第一业务的QoS流;当检测到所述第三QoS流的QoS参数不满足所述第一业务的QoS需求时,通过所述通信模块901向第一控制面网元发送第一请求;其中,所述第一请求用于请求为所述第一业务在用户面网元和所述AN设备之间设置至少两条QoS流,且所述至少两条QoS流均与所述第三QoS流对应。Obtaining the QoS requirements of the first service; detecting whether the QoS parameters of the third QoS flow meet the QoS requirements of the first service; wherein, the third QoS flow is between the terminal device and the access network AN device The QoS flow used to bear the first service; when it is detected that the QoS parameter of the third QoS flow does not meet the QoS requirement of the first service, send it to the first control plane network element through the communication module 901 A first request; wherein, the first request is used to request to set at least two QoS flows between the user plane network element and the AN device for the first service, and the at least two QoS flows are both related to the set corresponding to the third QoS flow.
在一种实施方式中,所述通信设备900应用于图2-图7任一项所示的本申请实施例中的终端设备。所述处理器902具体用于:In an implementation manner, the communication device 900 is applied to the terminal device in the embodiment of the present application shown in any one of FIG. 2 to FIG. 7 . The processor 902 is specifically configured to:
检测来自接入网AN设备的信号的信号强度;当所述信号强度小于或等于第十五阈值时,通过所述通信模块901向第一控制面网元发送第一请求;其中,所述第一请求用于请求为第一业务在用户面网元和所述AN设备之间设置至少两条服务质量QoS流,在所述AN设备和所述终端设备之间设置一条QoS流。Detecting the signal strength of a signal from an AN device in an access network; when the signal strength is less than or equal to a fifteenth threshold, sending a first request to a first control plane network element through the communication module 901; wherein, the first A request is used to request to set at least two QoS flows between the user plane network element and the AN device for the first service, and to set one QoS flow between the AN device and the terminal device.
所述处理器902的具体功能可以参考以上本申请实施例以及实例提供的通信方法中的描述,以及图8所示本申请实施例中对所述通信装置800的具体功能描述,此处不再赘述。For the specific functions of the processor 902, refer to the descriptions in the above embodiments of the application and the communication methods provided in the examples, as well as the specific function description of the communication device 800 in the embodiment of the application shown in FIG. 8 , which will not be repeated here. repeat.
所述存储器903,用于存放程序指令和数据等。具体地,程序指令可以包括程序代码,该程序代码包括计算机操作指令。存储器903可能包含RAM,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。处理器902执行存储器903所存放的程序指令,并使用所述存储器903中存储的数据,实现上述功能,从而实现上述本申请实施例提供的通信方法。The memory 903 is used to store program instructions and data. Specifically, the program instructions may include program codes including computer operation instructions. The memory 903 may include a RAM, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The processor 902 executes the program instructions stored in the memory 903, and uses the data stored in the memory 903 to implement the above functions, thereby realizing the communication method provided by the above embodiments of the present application.
可以理解,本申请图9中的存储器903可以是易失性存储器或非易失性存储器,或可 包括易失性和非易失性存储器两者。其中,非易失性存储器可以是ROM、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是RAM,其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 903 in FIG. 9 of the present application may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the non-volatile memory can be ROM, programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM) , EEPROM) or flash memory. Volatile memory can be RAM, which acts as external cache memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (Static RAM, SRAM), Dynamic Random Access Memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM ) and Direct Memory Bus Random Access Memory (Direct Rambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.
基于以上实施例,本申请实施例还提供了一种计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行以上实施例提供的方法。Based on the above embodiments, an embodiment of the present application further provides a computer program that, when the computer program is run on a computer, causes the computer to execute the method provided in the above embodiments.
基于以上实施例,本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,所述计算机程序被计算机执行时,使得计算机执行以上实施例提供的方法。Based on the above embodiments, the embodiments of the present application also provide a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a computer, the computer executes the method provided in the above embodiments .
其中,存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。Wherein, the storage medium may be any available medium that can be accessed by a computer. By way of example but not limitation: computer-readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or may be used to carry or store information in the form of instructions or data structures desired program code and any other medium that can be accessed by a computer.
基于以上实施例,本申请实施例还提供了一种芯片,所述芯片用于读取存储器中存储的计算机程序,实现以上实施例提供的方法。Based on the above embodiments, an embodiment of the present application further provides a chip, the chip is used to read a computer program stored in a memory, and implement the method provided in the above embodiments.
基于以上实施例,本申请实施例提供了一种芯片系统,该芯片系统包括处理器,用于支持计算机装置实现以上实施例中各设备所涉及的功能。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器用于保存该计算机装置必要的程序和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。Based on the above embodiments, an embodiment of the present application provides a chip system, where the chip system includes a processor, configured to support a computer device to implement functions involved in each device in the above embodiments. In a possible design, the chip system further includes a memory, and the memory is used to store necessary programs and data of the computer device. The system-on-a-chip may consist of chips, or may include chips and other discrete devices.
综上所述,本申请实施例提供了一种通信方法、装置及设备,在该方法中,AN设备通过第一QoS流接收来自用户面网元的第一业务的第一业务数据包;当第一QoS流满足发生阻塞的条件时,用户面网元通过第二QoS流传输第一业务的第二业务数据包,相应的,AN设备通过第二QoS流接收第一业务的第二业务数据包。其中,第一QoS流和第二QoS流均为用户面网元和AN设备之间的QoS流,且均与AN设备和终端设备之间的第三QoS流对应。此外,当第一QoS流满足发生阻塞的条件时,用户面网元向AN设备发送第一指示;其中,第一指示可以用于指示停止通过第一QoS流传输所述第一业务的业务数据包。在接收到来自用户面网元的第一指示之前,AN设备可通过第三QoS流发送第一业务数据包,并缓存第二业务数据包;在接收到第一指示之后,AN设备可通过第三QoS流发送第二业务数据包。这样,AN设备可以对通过两条QoS流接收到的第一业务的业务数据包进行保序发送,从而可以保证用户体验。To sum up, the embodiments of the present application provide a communication method, device, and device, in which the AN device receives the first service data packet of the first service from the user plane network element through the first QoS flow; when When the first QoS flow meets the blocking condition, the user plane network element transmits the second service data packet of the first service through the second QoS flow, and correspondingly, the AN device receives the second service data of the first service through the second QoS flow Bag. Wherein, both the first QoS flow and the second QoS flow are QoS flows between the user plane network element and the AN device, and both correspond to the third QoS flow between the AN device and the terminal device. In addition, when the first QoS flow satisfies the blocking condition, the user plane network element sends a first indication to the AN device; wherein, the first indication may be used to indicate to stop transmitting the service data of the first service through the first QoS flow Bag. Before receiving the first instruction from the user plane network element, the AN device can send the first service data packet through the third QoS flow, and buffer the second service data packet; after receiving the first instruction, the AN device can send the first service data packet through the third QoS flow The third QoS flow sends the second service data packet. In this way, the AN device can send the service data packets of the first service received through the two QoS flows in order, thereby ensuring user experience.
在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。In each embodiment of the present application, if there is no special explanation and logical conflict, the terms and/or descriptions between different embodiments are consistent and can be referred to each other, and the technical features in different embodiments are based on their inherent Logical relationships can be combined to form new embodiments.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产 品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Apparently, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims (30)

  1. 一种通信方法,应用于接入网AN设备,其特征在于,包括:A communication method applied to an access network AN device, characterized in that it includes:
    通过第一服务质量QoS流接收第一业务的第一业务数据包;receiving a first service data packet of a first service through a first quality of service QoS flow;
    通过第二QoS流接收所述第一业务的第二业务数据包;其中,所述第一QoS流和所述第二QoS流均为用户面网元和所述AN设备之间的QoS流,且均与所述AN设备和终端设备之间的第三QoS流对应;receiving a second service data packet of the first service through a second QoS flow; wherein, both the first QoS flow and the second QoS flow are QoS flows between a user plane network element and the AN device, And both correspond to the third QoS flow between the AN device and the terminal device;
    在接收到来自所述用户面网元的第一指示之前,通过所述第三QoS流发送所述第一业务数据包,缓存所述第二业务数据包;Before receiving the first indication from the user plane network element, sending the first service data packet through the third QoS flow, and buffering the second service data packet;
    在接收到所述第一指示之后,通过所述第三QoS流发送所述第二业务数据包。After receiving the first indication, sending the second service data packet through the third QoS flow.
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    接收所述第三QoS流的配置信息;其中,所述第三QoS流的配置信息中包含第一信息,所述第一信息用于指示所述第一QoS流和所述第二QoS流均与所述第三QoS流对应。receiving configuration information of the third QoS flow; wherein, the configuration information of the third QoS flow includes first information, and the first information is used to indicate that both the first QoS flow and the second QoS flow are Corresponding to the third QoS flow.
  3. 如权利要求2所述的方法,其特征在于,所述第一信息包括:所述第一QoS流的标识和所述第二QoS流的标识。The method according to claim 2, wherein the first information includes: an identifier of the first QoS flow and an identifier of the second QoS flow.
  4. 如权利要求1至3任一项所述的方法,其特征在于,通过所述第三QoS流发送所述第二业务数据包,包括:The method according to any one of claims 1 to 3, wherein sending the second service data packet through the third QoS flow includes:
    抢占资源;Seize resources;
    将所述抢占的资源添加到所述第三QoS流占用的资源中;adding the preempted resources to the resources occupied by the third QoS flow;
    通过所述第三QoS流发送所述第二业务数据包。sending the second service data packet through the third QoS flow.
  5. 如权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, further comprising:
    当满足以下条件至少一项时,释放所述抢占的资源:When at least one of the following conditions is met, the preempted resources are released:
    接收到来自所述用户面网元的第二指示;其中,所述第二指示用于指示停止通过所述第二QoS流传输所述第一业务的业务数据包;receiving a second instruction from the user plane network element; wherein the second instruction is used to instruct to stop transmitting the service data packets of the first service through the second QoS flow;
    在第一时间内,未通过所述第二QoS流接收到所述第一业务的业务数据包。Within the first time period, no service data packet of the first service is received through the second QoS flow.
  6. 如权利要求1至5任一项所述的方法,其特征在于,所述第一指示用于指示停止通过所述第一QoS流传输所述第一业务的业务数据包。The method according to any one of claims 1 to 5, wherein the first indication is used to indicate to stop transmitting the service data packets of the first service through the first QoS flow.
  7. 如权利要求1至6任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 6, wherein the method further comprises:
    检测所述第一QoS流是否满足发生拥塞的条件;Detecting whether the first QoS flow satisfies a condition for congestion;
    当检测到所述第一QoS流满足所述发生拥塞的条件时,向第一控制面网元或所述用户面网元发送用于指示所述第一QoS流发生拥塞的信息。When it is detected that the first QoS flow satisfies the congestion occurrence condition, sending information for indicating that the first QoS flow is congested to the first control plane network element or the user plane network element.
  8. 如权利要求7所述的方法,其特征在于,所述发生拥塞的条件包括以下至少一项:The method according to claim 7, wherein the conditions for the occurrence of congestion include at least one of the following:
    与所述第一QoS流对应的所述第三QoS流的转发延迟大于或等于第一阈值;The forwarding delay of the third QoS flow corresponding to the first QoS flow is greater than or equal to a first threshold;
    与所述第一QoS流对应的所述第三QoS流的队列增长速度大于或等于第二阈值;The queue growth rate of the third QoS flow corresponding to the first QoS flow is greater than or equal to a second threshold;
    与所述第一QoS流对应的所述第三QoS流的入口流量和所述第三QoS流的出口流量的比值大于或等于第三阈值;The ratio of the ingress traffic of the third QoS flow corresponding to the first QoS flow to the egress traffic of the third QoS flow is greater than or equal to a third threshold;
    单位时间内通过所述第一QoS流接收的业务数据包的数据量大于或等于第四阈值。A data volume of service data packets received through the first QoS flow per unit time is greater than or equal to a fourth threshold.
  9. 如权利要求1至8任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 8, wherein the method further comprises:
    在接收到来自所述用户面网元的第二指示之前,缓存通过所述第一QoS流接收的所述第一业务的第三业务数据包;Before receiving the second indication from the user plane network element, buffer the third service data packet of the first service received through the first QoS flow;
    在接收到所述第二指示之后,通过所述第三QoS流发送所述第三业务数据包。After receiving the second indication, sending the third service data packet through the third QoS flow.
  10. 如权利要求9所述的方法,其特征在于,所述第二指示用于指示停止通过所述第二QoS流传输所述第一业务的业务数据包。The method according to claim 9, wherein the second instruction is used to instruct to stop transmitting the service data packets of the first service through the second QoS flow.
  11. 如权利要求1至10任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 10, further comprising:
    检测所述第一QoS流是否满足拥塞消除的条件;Detecting whether the first QoS flow satisfies the condition for congestion elimination;
    当检测到所述第一QoS流满足所述拥塞消除的条件时,向所述用户面网元发送用于指示所述第一QoS流中的拥塞已消除的信息;When detecting that the first QoS flow satisfies the congestion elimination condition, sending information indicating that the congestion in the first QoS flow has been eliminated to the user plane network element;
    通过所述第一QoS流接收所述第一业务的第三业务数据包。receiving a third service data packet of the first service through the first QoS flow.
  12. 如权利要求11所述的方法,其特征在于,所述拥塞消除的条件包括以下至少一项:The method according to claim 11, wherein the conditions for the congestion elimination include at least one of the following:
    与所述第一QoS流对应的所述第三QoS流的转发延迟小于或等于第五阈值;The forwarding delay of the third QoS flow corresponding to the first QoS flow is less than or equal to a fifth threshold;
    与所述第一QoS流对应的所述第三QoS流的队列增长速度小于或等于第六阈值;The queue growth rate of the third QoS flow corresponding to the first QoS flow is less than or equal to a sixth threshold;
    与所述第一QoS流对应的所述第三QoS流的入口流量和所述第三QoS流的出口流量的比值小于或等于第七阈值;A ratio of the ingress traffic of the third QoS flow corresponding to the first QoS flow to the egress traffic of the third QoS flow is less than or equal to a seventh threshold;
    单位时间内通过所述第一QoS流接收的业务数据包的数据量小于或等于第八阈值。The data volume of service data packets received through the first QoS flow per unit time is less than or equal to the eighth threshold.
  13. 一种通信方法,应用于用户面网元,其特征在于,包括:A communication method applied to a user plane network element, characterized in that it includes:
    通过第一服务质量QoS流传输第一业务的业务数据包;Transmitting the service data packets of the first service through the first quality of service QoS flow;
    当所述第一QoS流满足发生拥塞的条件时,向接入网AN设备发送第一指示;其中,所述第一指示用于指示停止通过所述第一QoS流传输所述第一业务的业务数据包;When the first QoS flow satisfies the condition of congestion, send a first indication to the access network AN device; where the first indication is used to indicate to stop transmitting the first service through the first QoS flow business data package;
    当所述第一QoS流满足所述发生拥塞的条件时,通过第二QoS流传输所述第一业务的业务数据包;When the first QoS flow meets the congestion condition, transmit the service data packets of the first service through the second QoS flow;
    其中,所述第一QoS流和所述第二QoS流均为所述用户面网元和所述AN设备之间的QoS流,且均与所述AN设备和终端设备之间的第三QoS流对应。Wherein, both the first QoS flow and the second QoS flow are QoS flows between the user plane network element and the AN device, and both are related to the third QoS flow between the AN device and the terminal device. stream correspondence.
  14. 如权利要求13所述的方法,其特征在于,所述方法还包括:The method of claim 13, further comprising:
    检测所述第一QoS流是否满足所述发生拥塞的条件。Detect whether the first QoS flow satisfies the congestion occurrence condition.
  15. 如权利要求14所述的方法,其特征在于,所述方法还包括:The method of claim 14, further comprising:
    接收来自第一控制面网元的用于指示所述发生拥塞的条件的信息。The information indicating the condition of occurrence of congestion is received from the first control plane network element.
  16. 如权利要求13所述的方法,其特征在于,所述方法还包括:The method of claim 13, further comprising:
    接收来自所述AN设备的用于指示所述第一QoS流发生拥塞的信息。receiving information from the AN device indicating that congestion occurs on the first QoS flow.
  17. 如权利要求13至16任一项所述的方法,其特征在于,所述第一指示包含在通过所述第一QoS流传输的所述第一业务的业务数据包中。The method according to any one of claims 13 to 16, wherein the first indication is included in a service data packet of the first service transmitted through the first QoS flow.
  18. 如权利要求13至17任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 13 to 17, further comprising:
    当所述第一QoS流满足所述发生拥塞的条件时,向第一控制面网元发送用于指示所述第一QoS流发生拥塞的信息;When the first QoS flow satisfies the congestion condition, send information indicating that the first QoS flow is congested to a first control plane network element;
    接收来自所述第一控制面网元的所述第二QoS流的配置信息。Receive configuration information of the second QoS flow from the first control plane network element.
  19. 如权利要求13至18任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 13 to 18, further comprising:
    当所述第一QoS流满足拥塞消除的条件时,通过所述第一QoS流传输所述第一业务的业务数据包。When the first QoS flow satisfies the congestion elimination condition, the service data packet of the first service is transmitted through the first QoS flow.
  20. 如权利要求19所述的方法,其特征在于,所述方法还包括:The method of claim 19, further comprising:
    检测所述第一QoS流是否满足所述拥塞消除的条件;或Detecting whether the first QoS flow satisfies the condition for congestion removal; or
    接收来自所述AN设备的用于指示所述第一QoS流中的拥塞已消除的信息。receiving information from the AN device indicating that congestion in the first QoS flow has been resolved.
  21. 如权利要求19或20所述的方法,其特征在于,当所述第一QoS流满足所述拥塞消除的条件时,所述方法还包括:The method according to claim 19 or 20, wherein when the first QoS flow satisfies the condition of congestion elimination, the method further comprises:
    通过所述第二QoS流向所述AN设备发送第二指示;所述第二指示用于指示停止通过所述第二QoS流传输所述第一业务的业务数据包。Sending a second indication to the AN device through the second QoS flow; the second indication is used to instruct to stop transmitting the service data packets of the first service through the second QoS flow.
  22. 如权利要求19至21任一项所述的方法,其特征在于,所述拥塞消除的条件包括以下至少一项:The method according to any one of claims 19 to 21, wherein the conditions for the congestion elimination include at least one of the following:
    所述第一QoS流的转发延迟小于或等于第九阈值;The forwarding delay of the first QoS flow is less than or equal to a ninth threshold;
    所述第一QoS流的队列增长速度小于或等于第十阈值;The queue growth rate of the first QoS flow is less than or equal to the tenth threshold;
    所述第一QoS流的入口流量和所述第一QoS流的出口流量的比值小于或等于第十一阈值。A ratio of the ingress traffic of the first QoS flow to the egress traffic of the first QoS flow is less than or equal to an eleventh threshold.
  23. 如权利要求13至22任一项所述的方法,其特征在于,所述发生拥塞的条件包括以下至少一项:The method according to any one of claims 13 to 22, wherein the conditions for the occurrence of congestion include at least one of the following:
    所述第一QoS流的转发延迟大于或等于第十二阈值;The forwarding delay of the first QoS flow is greater than or equal to a twelfth threshold;
    所述第一QoS流的队列增长速度大于或等于第十三阈值;The queue growth rate of the first QoS flow is greater than or equal to a thirteenth threshold;
    所述第一QoS流的入口流量和所述第一QoS流的出口流量的比值大于或等于第十四阈值。A ratio of the ingress traffic of the first QoS flow to the egress traffic of the first QoS flow is greater than or equal to a fourteenth threshold.
  24. 如权利要求13至23任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 13 to 23, further comprising:
    向策略控制功能网元发送第一数据量信息和第二数据量信息;其中,所述第一数据量信息用于指示通过所述第一QoS流传输的数据量,所述第二数据量信息用于指示通过所述第二QoS流传输的数据量。sending the first data amount information and the second data amount information to the policy control function network element; wherein the first data amount information is used to indicate the amount of data transmitted through the first QoS flow, and the second data amount information It is used to indicate the amount of data transmitted through the second QoS flow.
  25. 一种通信方法,应用于终端设备,其特征在于,包括:A communication method applied to a terminal device, characterized in that it includes:
    获取第一业务的服务质量QoS需求;Obtain the service quality QoS requirements of the first service;
    检测第三QoS流的QoS参数是否满足所述第一业务的QoS需求;其中,所述第三QoS流为所述终端设备和接入网AN设备之间用于承载所述第一业务的QoS流;Detecting whether the QoS parameters of the third QoS flow meet the QoS requirements of the first service; wherein, the third QoS flow is the QoS used to carry the first service between the terminal device and the access network AN device flow;
    当检测到所述第三QoS流的QoS参数不满足所述第一业务的QoS需求时,向第一控制面网元发送第一请求;其中,所述第一请求用于请求为所述第一业务在用户面网元和所述AN设备之间设置至少两条QoS流,且所述至少两条QoS流均与所述第三QoS流对应。When it is detected that the QoS parameter of the third QoS flow does not meet the QoS requirement of the first service, a first request is sent to the first control plane network element; A service sets at least two QoS flows between the user plane network element and the AN device, and the at least two QoS flows are both corresponding to the third QoS flow.
  26. 如权利要求25所述的方法,其特征在于,所述第三QoS流的QoS参数包括以下至少一项:The method according to claim 25, wherein the QoS parameters of the third QoS flow include at least one of the following:
    通过所述第三QoS流传输的所述第一业务的业务数据包的传输时延;The transmission delay of the service data packets of the first service transmitted through the third QoS flow;
    通过所述第三QoS流传输的所述第一业务的业务数据包的丢包率;A packet loss rate of service data packets of the first service transmitted through the third QoS flow;
    通过所述第三QoS流传输的所述第一业务的业务数据包的抖动。The jitter of the service data packets of the first service transmitted through the third QoS flow.
  27. 一种通信方法,应用于终端设备,其特征在于,包括:A communication method applied to a terminal device, characterized in that it includes:
    检测来自接入网AN设备的信号的信号强度;Detecting the signal strength of the signal from the AN device of the access network;
    当所述信号强度小于或等于第十五阈值时,向第一控制面网元发送第一请求;其中,所述第一请求用于请求为第一业务在用户面网元和所述AN设备之间设置至少两条服务质量QoS流,在所述AN设备和所述终端设备之间设置一条QoS流。When the signal strength is less than or equal to the fifteenth threshold, send a first request to the first control plane network element; wherein, the first request is used to request a first service between the user plane network element and the AN device Set at least two quality of service QoS flows between them, and set one QoS flow between the AN device and the terminal device.
  28. 如权利要求25至27中任一项所述的方法,其特征在于,所述第一请求为协议数据 单元PDU会话建立请求。The method according to any one of claims 25 to 27, wherein the first request is a protocol data unit (PDU) session establishment request.
  29. 一种通信装置,其特征在于,包括:A communication device, characterized by comprising:
    通信单元,用于接收和发送数据;a communication unit for receiving and sending data;
    处理单元,用于通过所述通信单元,执行如权利要求1-28任一项所述的方法。A processing unit, configured to execute the method according to any one of claims 1-28 through the communication unit.
  30. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行权利要求1-28任一项所述的方法。A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program is run on a computer, the computer is made to execute the computer program described in any one of claims 1-28. described method.
PCT/CN2022/136240 2022-03-02 2022-12-02 Communication method, apparatus, and device WO2023165199A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210199840.X 2022-03-02
CN202210199840.XA CN116761220A (en) 2022-03-02 2022-03-02 Communication method, device and equipment

Publications (1)

Publication Number Publication Date
WO2023165199A1 true WO2023165199A1 (en) 2023-09-07

Family

ID=87882921

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/136240 WO2023165199A1 (en) 2022-03-02 2022-12-02 Communication method, apparatus, and device

Country Status (2)

Country Link
CN (1) CN116761220A (en)
WO (1) WO2023165199A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109600664A (en) * 2017-09-30 2019-04-09 华为技术有限公司 Business transmitting method and device
CN110249597A (en) * 2017-02-03 2019-09-17 华为技术有限公司 A kind of QoS flow processing method, equipment and communication system
CN112423314A (en) * 2019-08-21 2021-02-26 华为技术有限公司 Method, equipment and system for notifying service quality information
US20220038941A1 (en) * 2018-09-27 2022-02-03 Apple Inc. Uplink In-Order Delivery for QOS Flow Offloaded in 5GC Multi-RAT Dual Connectivity

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110249597A (en) * 2017-02-03 2019-09-17 华为技术有限公司 A kind of QoS flow processing method, equipment and communication system
CN109600664A (en) * 2017-09-30 2019-04-09 华为技术有限公司 Business transmitting method and device
US20220038941A1 (en) * 2018-09-27 2022-02-03 Apple Inc. Uplink In-Order Delivery for QOS Flow Offloaded in 5GC Multi-RAT Dual Connectivity
CN112423314A (en) * 2019-08-21 2021-02-26 华为技术有限公司 Method, equipment and system for notifying service quality information

Also Published As

Publication number Publication date
CN116761220A (en) 2023-09-15

Similar Documents

Publication Publication Date Title
CN109314710B (en) System and method for quality of service monitoring, policy enforcement and charging in a communication network
WO2019228214A1 (en) Method and apparatus for establishing radio bearer and monitoring service flow
WO2021032131A1 (en) User plane information reporting method and apparatus
US20170295591A1 (en) Wireless Data Priority Services
EP3447978A1 (en) Data transmission method and device
KR20210103557A (en) Methods and communication devices to support time-sensitive communication quality of service
WO2020083263A1 (en) Data transmission method, apparatus and device in a wifi network
US20160105894A1 (en) eMBMS Management Method, Multimedia Broadcast Multicast Service Coordination Entity, and Base Station
WO2010099718A1 (en) Method and equipment for controlling data tranmission, and system thereof
WO2022116939A1 (en) Data transmission method, access network device, user plane function network element, and storage medium
EP4088434A1 (en) Tsc-5g qos mapping with consideration of assistance traffic information and pcc rules for tsc traffic mapping and 5g qos flows binding
CN113938904A (en) Data transmission method and device
EP3962157A1 (en) Mdbv determining method, apparatus, and system
WO2021204278A1 (en) Flow control method and apparatus
US9609543B1 (en) Determining a transmission order of data packets in a wireless communication system
WO2022047803A1 (en) Communication method and apparatus
EP2713554A1 (en) Method, user equipment and base station for controlling uplink application layer service
WO2023165199A1 (en) Communication method, apparatus, and device
WO2022188686A1 (en) Communication method and device
US20220225382A1 (en) Method for Reporting Buffer Status Report and Communications Apparatus
Yazdani et al. A fair access mechanism based on TXOP in IEEE 802.11 e wireless networks
WO2016090607A1 (en) Backhaul terminal, base station and flow control method for wireless network
WO2023185769A1 (en) Communication method, communication apparatus, and communication system
WO2022151107A1 (en) Signal sending and receiving method and apparatus, and communication system
WO2024032211A1 (en) Congestion control method and apparatus

Legal Events

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

Ref document number: 22929626

Country of ref document: EP

Kind code of ref document: A1