一种业务流处理方法、装置及系统A service flow processing method, device and system
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求在2021年03月31日提交中国专利局、申请号为202110352126.5、申请名称为“一种业务流处理方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number of 202110352126.5 and the application title of "a business flow processing method, device and system" filed with the China Patent Office on March 31, 2021, the entire contents of which are incorporated by reference in in this application.
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种业务流处理方法、装置及系统。The present application relates to the field of communication technologies, and in particular, to a service flow processing method, device, and system.
背景技术Background technique
随着通信技术的发展,终端设备经常通过多接入协议数据单元(Protocol Data Unit,PDU)会话实现业务流在不同接入技术或不同接入网设备之间的迁移或并发,其中,对于业务流在多接入技术之间移动或并发的场景,经常需要基于链路的状态进行选路或调整分流比例,因此,需要用户面网元例如,UPF实时掌握链路状态,及时进行分流模式调整。With the development of communication technologies, terminal devices often realize the migration or concurrency of service flows between different access technologies or different access network devices through multiple access protocol data unit (Protocol Data Unit, PDU) sessions. In scenarios where traffic moves or is concurrent between multiple access technologies, it is often necessary to select routes or adjust the offload ratio based on the link status. Therefore, user plane network elements, such as UPF, are required to grasp the link status in real time and adjust the offload mode in time. .
然而,在用户设备(User Equipment,终端设备)辅助(assistance)分流模式(即终端设备基于当前状态进行自主分流,不采用网络侧分配的分流模式)的场景中,现有技术并没有揭示如何处理业务流。However, in a scenario in which a user equipment (User Equipment, terminal equipment) assists (assistance) offloading mode (that is, the terminal device performs autonomous offloading based on the current state and does not adopt the offloading mode allocated by the network side), the prior art does not disclose how to deal with it. business flow.
发明内容SUMMARY OF THE INVENTION
本申请提供一种终端设备辅助分流模式的场景中的业务流处理方法、装置及系统。The present application provides a service flow processing method, apparatus and system in the scenario of terminal equipment-assisted offloading mode.
第一方面,本申请提供一种业务流处理方法,该方法包括:In a first aspect, the present application provides a service flow processing method, the method comprising:
终端设备接收来自会话管理网元的第一策略信息,所述第一策略信息包括上行业务流的第一处理方法;若所述终端设备满足第一条件,所述终端设备确定所述上行业务流的第二处理方法;所述终端设备向用户面网元发送第一通知信息,所述第一通知信息用于通知用户面网元确定所述上行业务流对应的下行业务流的处理方法。The terminal device receives the first policy information from the session management network element, where the first policy information includes the first processing method of the upstream service flow; if the terminal device satisfies the first condition, the terminal device determines the upstream service flow The terminal device sends first notification information to the user plane network element, where the first notification information is used to notify the user plane network element to determine the processing method of the downlink service flow corresponding to the upstream service flow.
基于上述方案,本申请实施例中终端设备在满足第一条件,进入辅助分流模式后(即采用第二处理方法处理对应的业务流后),该终端设备通过向该用户面网元发送该第一通知信息,来辅助该用户面网元决策是否更新对应的下行业务流的分流模式,以及基于该终端设备的请求(即根据该第一通知信息的内容),确定下行分流策略。有效避免该用户面网元在信息不足的情况下盲目确定下行分流策略,使得该终端设备与该用户面网元在对业务流处理时,相互之间的协调性更好,适应性更强。Based on the above solution, in the embodiment of the present application, after the terminal device satisfies the first condition and enters the auxiliary offload mode (that is, after using the second processing method to process the corresponding service flow), the terminal device sends the first condition to the user plane network element by sending the first A notification message to assist the user plane network element in deciding whether to update the offload mode of the corresponding downlink service flow, and determine the downlink offload policy based on the request of the terminal device (ie, according to the content of the first notification message). This effectively prevents the user plane network element from blindly determining the downlink offload strategy when the information is insufficient, so that the terminal equipment and the user plane network element have better coordination and adaptability when processing the service flow.
作为一种可能的实现方法,所述第一策略信息还包括第一指示信息,所述第一指示信息用于指示所述终端设备可以确定所述上行业务流的处理方法。As a possible implementation method, the first policy information further includes first indication information, where the first indication information is used to indicate that the terminal device can determine a processing method for the upstream service flow.
基于上述方案,本申请实施例中当该第一策略信息中还包括该第一指示信息时,可以理解为该终端设备可以进行辅助分流模式。Based on the above solution, when the first policy information further includes the first indication information in this embodiment of the present application, it can be understood that the terminal device can perform an auxiliary offload mode.
作为一种可能的实现方法,所述第一通知信息包括:所述终端设备确定采用所述第二处理方法处理所述上行业务流的原因信息;和/或,所述终端设备确定所述第二处理方法有 效的第一时长信息。As a possible implementation method, the first notification information includes: the terminal device determines the reason information for using the second processing method to process the upstream service flow; and/or, the terminal device determines the first The second processing method is effective first duration information.
基于上述方案,本申请实施例中当该第一通知信息中包括该终端设备采用该第二处理方法处理该上行业务流的原因信息时,可以使接收到该第一通知信息的用户面网元知晓该终端设备采用该第二处理方法处理该上行业务流的原因,从而更好的确定自身执行该第三处理方法的内容,甚至是按照该第三处理方法进行业务流处理的时间和/或时长等。和/或,当该第一通知信息中包括该终端设备采用该第二处理方法的第一时长信息时,可以使接收到该第一通知信息的用户面网元知晓该终端设备采用该第二处理方法处理该上行业务流的时间信息,从而更好的确定自身执行该第三处理方法的时间和/或时长等。Based on the above solution, in the embodiment of the present application, when the first notification information includes the reason information that the terminal device uses the second processing method to process the upstream service flow, the user plane network element that receives the first notification information can be enabled Knowing the reason why the terminal device uses the second processing method to process the upstream service flow, so as to better determine the content of the third processing method performed by itself, and even the time and/or time for processing the service flow according to the third processing method time etc. And/or, when the first notification information includes the first duration information that the terminal device adopts the second processing method, the user plane network element that receives the first notification information can be made aware that the terminal device adopts the second processing method. The processing method processes the time information of the upstream service flow, so as to better determine the time and/or duration of executing the third processing method by itself.
作为一种可能的实现方法,所述第一通知信息还包括:所述第二处理方法的信息。基于上述方案,本申请实施例中当该第一通知信息中包括该第二处理方法的信息时,可以使接收到该第一通知信息的用户面网元知晓该第二处理方法的内容,而更好的确定自身执行该第三处理方法的内容。As a possible implementation method, the first notification information further includes: information of the second processing method. Based on the above solution, in this embodiment of the present application, when the first notification information includes the information of the second processing method, the user plane network element that receives the first notification information can be made aware of the content of the second processing method, and It is better to determine the content of executing the third processing method by itself.
作为一种可能的实现方法,该第二处理方法的信息,包括:该下行业务流对应的上行业务流的描述信息和分流信息;或者,该下行业务流的流描述信息和分流信息。As a possible implementation method, the information of the second processing method includes: description information and distribution information of the upstream service flow corresponding to the downstream service flow; or, flow description information and distribution information of the downstream service flow.
其中,该上行业务流对应的下行业务流,是指包括源目的IP互换后形成的业务流,例如,源目的IP互换后形成的下行业务流为该源目的IP上行流的对应下行业务流;或者,该上行业务流对应的下行业务流,是指包括属于相同QoS flow的上下行业务流。作为一种可能的实现方法,所述方法还包括:所述终端设备接收来自所述用户面网元的第二通知信息,所述第二通知信息包括第二指示信息,所述第二指示信息用于指示所述用户面网元是否改变所述下行业务流的处理方法。The downstream service flow corresponding to the upstream service flow refers to the service flow formed after the source-destination IP exchange is included. For example, the downstream service flow formed after the source-destination IP exchange is the corresponding downstream service of the source-destination IP upstream flow or, the downstream service flow corresponding to the upstream service flow refers to including the upstream and downstream service flows belonging to the same QoS flow. As a possible implementation method, the method further includes: receiving, by the terminal device, second notification information from the user plane network element, where the second notification information includes second indication information, and the second indication information A processing method for indicating whether the user plane network element changes the downlink service flow.
基于上述方案,本申请实施例中该终端设备可以根据来自该用户面网元的第二通知信息确定该用户面网元是否配合改变处理业务流的方法,例如,确定该用户面网元是否同意进入辅助分流模式,适应性更强。Based on the above solution, in this embodiment of the present application, the terminal device may determine whether the user plane network element cooperates with changing the method of processing the service flow according to the second notification information from the user plane network element, for example, determine whether the user plane network element agrees Enter the auxiliary shunt mode, which is more adaptable.
作为一种可能的实现方法,如所述第二指示信息指示所述用户面网元没有改变所述下行业务流的处理方法,所述第二通知消息还包括:不改变所述下行业务流的处理方法的第二时长信息。As a possible implementation method, if the second indication information indicates that the user plane network element does not change the processing method of the downlink service flow, the second notification message further includes: The second duration information of the processing method.
作为一种可能的实现方法,所述方法还包括:在所述第二时长信息指定的时间内,所述终端设备不再向所述用户面网元发送所述第一通知信息。As a possible implementation method, the method further includes: within the time specified by the second duration information, the terminal device no longer sends the first notification information to the user plane network element.
基于上述方案,本申请实施例中该终端设备接收到的该第二通知信息中指示不向该用户面网元发送该第一通知信息的时长信息后,可以有效避免该终端设备在该用户面网元拒绝配合该终端设备采用相同的分流模式后,一直给该用户面网元发送该第一通知信息的问题,节约了信令开销。Based on the above solution, in the embodiment of the present application, after the second notification information received by the terminal device indicates that the duration information of the first notification information is not to be sent to the user plane network element, the terminal device can be effectively prevented from being in the user plane. After the network element refuses to cooperate with the terminal device to adopt the same offloading mode, the problem of sending the first notification information to the user plane network element all the time saves signaling overhead.
作为一种可能的实现方法,所述方法还包括:若所述终端设备满足第二条件,所述终端设备确定采用所述第一处理方法处理所述上行业务流。As a possible implementation method, the method further includes: if the terminal device satisfies the second condition, the terminal device determines to use the first processing method to process the upstream service flow.
基于上述方案,本申请实施例中该终端设备在满足第二条件后,确定采用该第一处理方法处理该上行业务流,即该终端设备在满足第二条件后,可以恢复主分流模式。作为一种可能的实现方法,所述方法还包括:所述终端设备向所述用户面网元发送第三通知信息,用于通知所述终端设备采用所述第一处理方法处理所述上行业务流。Based on the above solution, in this embodiment of the present application, after satisfying the second condition, the terminal device determines to use the first processing method to process the upstream service flow, that is, the terminal device can resume the main offload mode after meeting the second condition. As a possible implementation method, the method further includes: the terminal device sends third notification information to the user plane network element, which is used to notify the terminal device to use the first processing method to process the uplink service flow.
基于上述方案,本申请实施例中该终端设备在满足第二条件,可以恢复主分流模式后,向该用户面网元发送该第三通知信息,从而可以使该用户面网元在接收到该第三通知信息 后,恢复该第一处理方法处理该上行业务流,提供了一种支持用户面网元协同该终端设备一起恢复主模式进行下行业务流分流的方案,适应性更强。Based on the above solution, in the embodiment of the present application, after the terminal device satisfies the second condition and can restore the main offload mode, it sends the third notification information to the user plane network element, so that the user plane network element can receive the After the third notification information, the first processing method is restored to process the upstream service flow, which provides a solution that supports the user plane network element to cooperate with the terminal device to restore the main mode to perform downstream service flow offloading, which is more adaptable.
第二方面,本申请提供一种业务流处理方法,该方法包括:In a second aspect, the present application provides a service flow processing method, the method comprising:
用户面网元接收来自会话管理网元的第二策略信息,所述第二策略信息包括终端设备的下行业务流的第四处理方法;用户面网元采用所述第四处理方法处理所述下行业务流;用户面网元接收来自所述终端设备的第一通知信息,所述第一通知信息用于通知用户面网元确定所述下行业务流的处理方法;用户面网元根据所述第一通知信息确定采用第三处理方法处理所述下行业务流。The user plane network element receives second policy information from the session management network element, where the second policy information includes a fourth processing method for the downlink service flow of the terminal device; the user plane network element uses the fourth processing method to process the downlink service flow; the user plane network element receives the first notification information from the terminal device, and the first notification information is used to notify the user plane network element to determine the processing method of the downlink service flow; the user plane network element according to the first notification information A notification message determines that the third processing method is used to process the downlink service flow.
基于上述方案,本申请实施例中该用户面网元可以根据来自该终端设备发送的该第一通知信息,来辅助该用户面网元决策是否更新对应的下行业务流的分流模式,以及基于该终端设备的请求(即根据该第一通知信息的内容),确定下行分流策略。有效避免该用户面网元在信息不足的情况下盲目确定下行分流策略,使得该终端设备与该用户面网元在对业务流处理时,相互之间的协调性,适应性更强。Based on the above solution, in this embodiment of the present application, the user plane network element may assist the user plane network element in deciding whether to update the offload mode of the corresponding downlink service flow according to the first notification information sent from the terminal device, and based on the According to the request of the terminal device (that is, according to the content of the first notification information), the downlink offload policy is determined. This effectively prevents the user plane network element from blindly determining the downlink offload strategy when the information is insufficient, so that the terminal equipment and the user plane network element have stronger coordination and adaptability when processing the service flow.
作为一种可能的实现方法,所述第二策略信息还包括第二指示信息,所述第二指示信息用于指示所述用户面可以修改所述下行业务流的处理方法。As a possible implementation method, the second policy information further includes second indication information, where the second indication information is used to indicate that the user plane can modify the processing method of the downlink service flow.
基于上述方案,本申请实施例中当该第二策略信息中还包括该第二指示信息时,可以理解为该网络设备可以进行辅助分流模式。Based on the above solution, in this embodiment of the present application, when the second policy information further includes the second indication information, it can be understood that the network device can perform an auxiliary offload mode.
作为一种可能的实现方法,所述第一通知信息包括:所述终端设备确定采用第二处理方法处理所述上行业务流的原因信息。As a possible implementation method, the first notification information includes: the terminal device determines the reason information for using the second processing method to process the upstream service flow.
基于上述方案,本申请实施例中当该第一通知信息中包括该终端设备采用该第二处理方法处理该上行业务流的原因信息时,可以使接收到该第一通知信息的用户面网元知晓该终端设备采用该第二处理方法处理该上行业务流的原因,从而更好的确定自身执行该第三处理方法的内容,甚至是按照该第三处理方法进行业务流处理的时间和/或时长等。Based on the above solution, in the embodiment of the present application, when the first notification information includes the reason information that the terminal device uses the second processing method to process the upstream service flow, the user plane network element that receives the first notification information can be enabled Knowing the reason why the terminal device uses the second processing method to process the upstream service flow, so as to better determine the content of the third processing method performed by itself, and even the time and/or time for processing the service flow according to the third processing method time etc.
作为一种可能的实现方法,所述用户面网元根据所述原因信息和第二指示信息确定所述第三处理方法。As a possible implementation method, the user plane network element determines the third processing method according to the cause information and the second indication information.
作为一种可能的实现方法,所述用户面网元根据所述原因信息和所述用户面网元本地策略确定所述第三处理方法。As a possible implementation method, the user plane network element determines the third processing method according to the cause information and the local policy of the user plane network element.
作为一种可能的实现方法,所述用户面网元根据所述原因信息、第二指示信息以及所述用户面网元本地策略确定所述下行业务流的处理方法。As a possible implementation method, the user plane network element determines the processing method of the downlink service flow according to the reason information, the second indication information and the local policy of the user plane network element.
作为一种可能的实现方法,该第一通知信息还包括:该下行业务流对应的上行业务流的描述信息和分流信息;或者,该下行业务流的流描述信息和分流信息。As a possible implementation method, the first notification information further includes: description information and offload information of the upstream service flow corresponding to the downlink service flow; or, flow description information and offload information of the downlink service flow.
其中,该上行业务流对应的下行业务流,是指包括源目的IP互换后形成的业务流,例如,源目的IP互换后形成的下行业务流为该源目的IP上行流的对应下行业务流;或者,该上行业务流对应的下行业务流,是指包括属于相同QoS flow的上下行业务流。The downstream service flow corresponding to the upstream service flow refers to the service flow formed after the source-destination IP exchange is included. For example, the downstream service flow formed after the source-destination IP exchange is the corresponding downstream service of the source-destination IP upstream flow or, the downstream service flow corresponding to the upstream service flow refers to including the upstream and downstream service flows belonging to the same QoS flow.
基于上述方案,本申请实施例中当该第一通知信息中包括该下行业务流对应的上行业务流的描述信息和分流信息;或者,该下行业务流的流描述信息和分流信息时,可以使接收到该第一通知信息的用户面网元知晓该第二处理方法的内容,而更好的确定自身执行该第三处理方法的内容。Based on the above solution, in the embodiment of the present application, when the first notification information includes the description information and the offload information of the upstream service flow corresponding to the downlink service flow; or, when the flow description information and the offload information of the downlink service flow, the The user plane network element that has received the first notification information knows the content of the second processing method, and better determines the content of the third processing method to be executed by itself.
作为一种可能的实现方法,所述用户面网元根据所述上行业务流的描述信息和分流信 息,或者所述下行业务流的流描述信息和分流信息所述确定所述下行业务流的处理方法。As a possible implementation method, the user plane network element determines the processing of the downlink service flow according to the description information and the offload information of the uplink service flow, or the flow description information and the offload information of the downlink service flow. method.
作为一种可能的实现方法,该用户面网元根据该上行或下行业务流的描述信息和分流信息确定该第三处理方法。As a possible implementation method, the user plane network element determines the third processing method according to the description information and offload information of the uplink or downlink service flow.
作为一种可能的实现方法,当所述第一通知信息中包含的描述信息为所述下行业务流时,所述用户面网元直接基于所述描述信息确定所述下行业务流。As a possible implementation method, when the description information included in the first notification information is the downlink service flow, the user plane network element directly determines the downlink service flow based on the description information.
作为一种可能的实现方法,当所述第一通知信息中包含的描述信息为所述下行业务流对应的上行业务流时,所述用户面网元将所述上行业务流的描述信息映射成下行业务流描述信息,基于所述下行业务流描述信息确定下行业务流。As a possible implementation method, when the description information included in the first notification information is the upstream service flow corresponding to the downstream service flow, the user plane network element maps the description information of the upstream service flow into Downlink service flow description information, and the downlink service flow is determined based on the downlink service flow description information.
作为一种可能的实现方法,所述第三处理方法的优先级高于所述第四处理方法。As a possible implementation method, the priority of the third processing method is higher than that of the fourth processing method.
作为一种可能的实现方法,所述方法还包括:确定采用所述第三处理方法的第二时长信息。As a possible implementation method, the method further includes: determining second duration information using the third processing method.
作为一种可能的实现方法,所述第一通知信息还包括:所述终端设备确定所述第二处理方法有效的第一时长信息。当该第一通知信息中包括该终端设备采用该第二处理方法的第一时长信息时,可以使接收到该第一通知信息的用户面网元知晓该终端设备采用该第二处理方法处理该上行业务流的时间信息,从而更好的确定自身执行该第三处理方法的时间和/或时长等。As a possible implementation method, the first notification information further includes: first duration information for which the terminal device determines that the second processing method is valid. When the first notification information includes the first duration information that the terminal device adopts the second processing method, the user plane network element receiving the first notification information can be made aware that the terminal device adopts the second processing method to process the Time information of the upstream service flow, so as to better determine the time and/or duration of the third processing method performed by itself.
作为一种可能的实现方法,基于所述第一时长信息确认所述第二时长信息。As a possible implementation method, the second duration information is confirmed based on the first duration information.
作为一种可能的实现方法,所述用户面网元向用户面网元发送第二通知信息,所述第二通知信息包括第二指示信息,所述第二指示信息用于指示所述用户面网元是否改变所述下行业务流的处理方法。As a possible implementation method, the user plane network element sends second notification information to the user plane network element, where the second notification information includes second indication information, and the second indication information is used to indicate the user plane Whether the network element changes the processing method of the downlink service flow.
基于上述方案,本申请实施例中该终端设备可以根据来自该用户面网元的第二通知信息确定该用户面网元是否配合改变处理业务流的方法,例如,确定该用户面网元是否同意进入辅助分流模式,适应性更强。Based on the above solution, in this embodiment of the present application, the terminal device may determine whether the user plane network element cooperates with changing the method of processing the service flow according to the second notification information from the user plane network element, for example, determine whether the user plane network element agrees Enter the auxiliary shunt mode, which is more adaptable.
作为一种可能的实现方法,如所述第二指示信息指示所述用户面网元没有改变所述下行业务流的处理方法,所述第二通知消息还包括:不改变所述下行业务流的处理方法的第二时长信息。As a possible implementation method, if the second indication information indicates that the user plane network element does not change the processing method of the downlink service flow, the second notification message further includes: The second duration information of the processing method.
作为一种可能的实现方法,所述方法还包括:在所述第二时长信息指定的时间内,所述用户面网元不接收来自所述终端设备发送的所述第一通知信息。As a possible implementation method, the method further includes: within the time specified by the second duration information, the user plane network element does not receive the first notification information sent from the terminal device.
基于上述方案,本申请实施例中该终端设备接收到的该第二通知信息中指示不向该用户面网元发送该第一通知信息的时长信息后,可以有效避免该终端设备在该用户面网元拒绝配合该终端设备采用相同的分流模式后,一直给该用户面网元发送该第一通知信息的问题,节约了信令开销。Based on the above solution, in the embodiment of the present application, after the second notification information received by the terminal device indicates that the duration information of the first notification information is not to be sent to the user plane network element, the terminal device can be effectively prevented from being in the user plane. After the network element refuses to cooperate with the terminal device to adopt the same offloading mode, the problem of sending the first notification information to the user plane network element all the time saves signaling overhead.
作为一种可能的实现方法,所述方法还包括:所述用户面网元接收来自所述终端设备的第三通知信息,所述第三通知信息用于通知所述终端设备采用第一处理方法处理所述业务流。As a possible implementation method, the method further includes: receiving, by the user plane network element, third notification information from the terminal device, where the third notification information is used to notify the terminal device to adopt the first processing method The traffic flow is processed.
基于上述方案,本申请实施例中该终端设备在满足第二条件,可以恢复主分流模式后,向该用户面网元发送该第三通知信息,从而可以使该用户面网元在接收到该第三通知信息后,恢复该第一处理方法处理该上行业务流,提供了一种支持用户面网元协同该终端设备一起恢复主模式进行下行业务流分流的方案,适应性更强。Based on the above solution, in the embodiment of the present application, after the terminal device satisfies the second condition and can restore the main offload mode, it sends the third notification information to the user plane network element, so that the user plane network element can receive the After the third notification information, the first processing method is restored to process the upstream service flow, which provides a solution that supports the user plane network element to cooperate with the terminal device to restore the main mode to perform downstream service flow offloading, which is more adaptable.
作为一种可能的实现方法,所述方法还包括:所述用户面网元采用所述第四处理方法 处理所述业务流。As a possible implementation method, the method further includes: the user plane network element uses the fourth processing method to process the service flow.
第三方面,本申请提供一种业务流处理方法,该方法包括:In a third aspect, the present application provides a service flow processing method, the method comprising:
终端设备接收来自会话管理网元的第一策略信息,所述第一策略信息包括上行业务流的第一处理方法;所述终端设备在满足第一条件后,所述终端设备确定所述上行业务流或下行业务流的第二处理方法,并采用所述第二处理方法处理所述上行业务流;所述终端设备确定满足第二条件,恢复所述第一处理方法处理所述上行业务流;所述终端设备向用户面网元发送第一通知信息,所述第一通知信息用于通知所述终端设备采用第一处理方法处理所述业务流。The terminal device receives the first policy information from the session management network element, where the first policy information includes the first processing method of the upstream service flow; after the terminal device satisfies the first condition, the terminal device determines the upstream service a second processing method for a flow or a downstream service flow, and the second processing method is used to process the upstream service flow; the terminal device determines that the second condition is satisfied, and restores the first processing method to process the upstream service flow; The terminal device sends first notification information to the user plane network element, where the first notification information is used to notify the terminal device to use the first processing method to process the service flow.
基于上述方案,本申请实施例中该终端设备在满足第二条件,可以恢复主分流模式后,向该用户面网元发送该第三通知信息,从而可以使该用户面网元在接收到该第三通知信息后,恢复该第一处理方法处理该上行业务流,提供了一种支持用户面网元协同该终端设备一起恢复主模式进行下行业务流分流的方案,适应性更强。Based on the above solution, in the embodiment of the present application, after the terminal device satisfies the second condition and can restore the main offload mode, it sends the third notification information to the user plane network element, so that the user plane network element can receive the After the third notification information, the first processing method is restored to process the upstream service flow, which provides a solution that supports the user plane network element to cooperate with the terminal device to restore the main mode to perform downstream service flow offloading, which is more adaptable.
作为一种可能的实现方法,所述第一策略信息还包括第一指示信息,所述第一指示信息用于指示所述终端设备可以确定所述上行业务流的处理方法。As a possible implementation method, the first policy information further includes first indication information, where the first indication information is used to indicate that the terminal device can determine a processing method for the upstream service flow.
作为一种可能的实现方法,所述第一通知信息包括:所述终端设备恢复所述第一处理方法处理所述上行业务流的原因信息。As a possible implementation method, the first notification information includes: reason information for the terminal device to resume processing the upstream service flow by the first processing method.
作为一种可能的实现方法,所述第一通知信息还包括:所述第一处理方法的信息。As a possible implementation method, the first notification information further includes: information of the first processing method.
作为一种可能的实现方法,所述方法还包括:所述终端设备接收来自所述用户面网元的第二通知信息,所述第二通知信息包括第三指示信息,所述第三指示信息用于指示所述用户面网元是否改变所述下行业务流的处理方法。As a possible implementation method, the method further includes: receiving, by the terminal device, second notification information from the user plane network element, where the second notification information includes third indication information, and the third indication information A processing method for indicating whether the user plane network element changes the downlink service flow.
第四方面,本申请提供一种业务流处理方法,该方法包括:In a fourth aspect, the present application provides a service flow processing method, the method comprising:
用户面网元接收来自会话管理网元的第二策略信息,所述第二策略信息包括终端设备的下行业务流的第三处理方法;用户面网元采用第四处理方法处理所述下行业务流;用户面网元接收来自所述终端设备的第一通知信息,所述第一通知信息用于通知所述终端设备恢复采用第一处理方法处理所述业务流;用户面网元根据所述第一通知信息恢复采用所述第三处理方法处理所述下行业务流。The user plane network element receives the second policy information from the session management network element, where the second policy information includes the third processing method for the downlink service flow of the terminal device; the user plane network element uses the fourth processing method to process the downlink service flow ; the user plane network element receives the first notification information from the terminal equipment, and the first notification information is used to notify the terminal equipment to resume using the first processing method to process the service flow; the user plane network element according to the first processing method A notification message resumes using the third processing method to process the downlink service flow.
基于上述方案,本申请实施例中该终端设备在满足第二条件,可以恢复主分流模式后,向该用户面网元发送该第三通知信息,从而可以使该用户面网元在接收到该第三通知信息后,恢复该第一处理方法处理该上行业务流,提供了一种支持用户面网元协同该终端设备一起恢复主模式进行下行业务流分流的方案,适应性更强。Based on the above solution, in the embodiment of the present application, after the terminal device satisfies the second condition and can restore the main offload mode, it sends the third notification information to the user plane network element, so that the user plane network element can receive the After the third notification information, the first processing method is restored to process the upstream service flow, which provides a solution that supports the user plane network element to cooperate with the terminal device to restore the main mode to perform downstream service flow offloading, which is more adaptable.
作为一种可能的实现方法,所述第二策略信息还包括第二指示信息,所述第二指示信息用于指示所述用户面可以确定所述下行业务流的处理方法。As a possible implementation method, the second policy information further includes second indication information, where the second indication information is used to indicate that the user plane can determine a processing method for the downlink service flow.
作为一种可能的实现方法,所述第一通知信息包括:所述终端设备恢复采用第一处理方法处理所述上行业务流的原因信息。As a possible implementation method, the first notification information includes: reason information for the terminal device to resume using the first processing method to process the upstream service flow.
作为一种可能的实现方法,所述用户面网元采用第四处理方法处理所述下行业务流之前,所述用户面网元接收来自所述终端设备的第三通知信息,所述第三通知信息用于通知用户面网元确定所述下行业务流的第四处理方法;用户面网元根据所述第三通知信息确定所述第四处理方法。As a possible implementation method, before the user plane network element adopts the fourth processing method to process the downlink service flow, the user plane network element receives third notification information from the terminal device, and the third notification information The information is used to notify the user plane network element to determine the fourth processing method of the downlink service flow; the user plane network element determines the fourth processing method according to the third notification information.
作为一种可能的实现方法,所述第三通知信息包括:所述终端设备确定第二处理方法 处理所述上行业务流或下行业务流的原因信息。As a possible implementation method, the third notification information includes: the terminal device determines the reason information for the second processing method to process the upstream service flow or the downstream service flow.
作为一种可能的实现方法,所述用户面网元根据所述终端设备确定第二处理方法处理所述上行业务流或下行业务流的原因信息和第二指示信息确定所述第四处理方法。As a possible implementation method, the user plane network element determines the fourth processing method according to the reason information and the second indication information that the terminal device determines the second processing method to process the upstream service flow or the downstream service flow.
作为一种可能的实现方法,所述用户面网元根据所述终端设备确定第二处理方法处理所述上行业务流或下行业务流的原因信息和所述用户面网元本地策略确定所述第四处理方法。As a possible implementation method, the user plane network element determines the second processing method according to the terminal device to determine the reason information for processing the upstream service flow or the downstream service flow and the local policy of the user plane network element to determine the first Four processing methods.
作为一种可能的实现方法,所述用户面网元根据所述终端设备确定第二处理方法处理所述上行业务流或下行业务流的原因信息、第二指示信息以及所述用户面网元本地策略确定所述第四处理方法。As a possible implementation method, the user plane network element determines, according to the terminal device, the second processing method for processing the upstream service flow or the downstream service flow, the reason information, the second indication information, and the local network element of the user plane. A policy determines the fourth processing method.
作为一种可能的实现方法,所述第一通知信息和/或所述第三通知信息,还包括:所述下行业务流对应的上行业务流的描述信息和分流信息。As a possible implementation method, the first notification information and/or the third notification information further includes: description information and offload information of the upstream service flow corresponding to the downstream service flow.
作为一种可能的实现方法,所述第一通知信息和/或所述第三通知信息,还包括:所述下行业务流的描述信息和分流信息。As a possible implementation method, the first notification information and/or the third notification information further includes: description information and offload information of the downlink service flow.
作为一种可能的实现方法,所述第四处理方法的优先级高于所述第三处理方法。As a possible implementation method, the priority of the fourth processing method is higher than that of the third processing method.
作为一种可能的实现方法,所述第三通知信息还包括:所述终端设备确定所述第二处理方法有效的第一时长信息。As a possible implementation method, the third notification information further includes: first duration information for which the terminal device determines that the second processing method is valid.
作为一种可能的实现方法,所述方法还包括:确定采用所述第四处理方法的第二时长信息。As a possible implementation method, the method further includes: determining second duration information using the fourth processing method.
作为一种可能的实现方法,基于所述第一时长信息确认所述第二时长信息。As a possible implementation method, the second duration information is confirmed based on the first duration information.
作为一种可能的实现方法,所述用户面网元向终端设备发送第二通知信息,所述第二通知信息包括第三指示信息,所述第三指示信息用于指示所述用户面网元是否改变所述下行业务流的处理方法。As a possible implementation method, the user plane network element sends second notification information to the terminal device, where the second notification information includes third indication information, and the third indication information is used to indicate the user plane network element Whether to change the processing method of the downlink service flow.
作为一种可能的实现方法,如所述第三指示信息指示所述用户面网元没有改变所述下行业务流的处理方法,所述第二通知消息还包括:不改变所述下行业务流的处理方法的第二时长信息。As a possible implementation method, if the third indication information indicates that the user plane network element does not change the processing method of the downlink service flow, the second notification message further includes: The second duration information of the processing method.
作为一种可能的实现方法,所述方法还包括:在所述第二时长信息指定的时间内,所述用户面网元不接收来自所述终端设备发送的所述第三通知信息。As a possible implementation method, the method further includes: within the time specified by the second duration information, the user plane network element does not receive the third notification information sent from the terminal device.
第五方面,本申请实施例提供一种业务流处理装置,该装置可以是终端设备,还可以是用于终端设备的芯片。该装置具有实现上述第一方面或执行上述第一方面中任意可能的实现方式中的任一方法。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a fifth aspect, an embodiment of the present application provides a service flow processing apparatus, and the apparatus may be a terminal device or a chip used for the terminal device. The apparatus has any method for implementing the above-mentioned first aspect or performing any of the possible implementation manners of the above-mentioned first aspect. This function can be implemented by hardware or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions.
第六方面,本申请实施例提供一种业务流处理装置,该装置可以是用户面网元,还可以是用于用户面网元的芯片。该装置具有实现上述第二方面或执行上述第二方面中任意可能的实现方式中的任一方法。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a sixth aspect, an embodiment of the present application provides a service flow processing apparatus, and the apparatus may be a user plane network element or a chip used for the user plane network element. The apparatus has any method of implementing the above second aspect or performing any of the possible implementations of the above second aspect. This function can be implemented by hardware or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions.
第七方面,本申请实施例提供一种业务流处理装置,该装置可以是终端设备,还可以是用于终端设备的芯片。该装置具有实现上述第三方面或执行上述第三方面中任意可能的实现方式中的任一方法。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。 该硬件或软件包括一个或多个与上述功能相对应的模块。In a seventh aspect, an embodiment of the present application provides a service flow processing apparatus, and the apparatus may be a terminal device or a chip used for the terminal device. The apparatus has any method of implementing the above third aspect or performing any of the possible implementations of the above third aspect. This function can be implemented by hardware or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions.
第八方面,本申请实施例提供一种业务流处理装置,该装置可以是用户面网元,还可以是用于用户面网元的芯片。该装置具有实现上述第四方面或执行上述第四方面中任意可能的实现方式中的任一方法。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In an eighth aspect, an embodiment of the present application provides a service flow processing apparatus, and the apparatus may be a user plane network element or a chip used for a user plane network element. The apparatus has any method for implementing the above-mentioned fourth aspect or any possible implementation manner of the above-mentioned fourth aspect. This function can be implemented by hardware or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions.
第九方面,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得处理器执行上述第一方面至第四方面中任一方面;或执行上述第一方面至第四方面中任意可能的实现方式中的任一方法。In a ninth aspect, an embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium runs on a computer, the processor causes the processor to execute the first to fourth aspects above any one of the aspects; or perform any method in any possible implementation manners of the first aspect to the fourth aspect above.
第十方面,本申请实施例还提供一种计算机程序产品,该计算机产品包括计算机程序,当计算机程序运行时,使得处理器执行上述第一方面至第四方面中任一方面;或执行上述第一方面至第四方面中任意可能的实现方式中的任一方法。In a tenth aspect, an embodiment of the present application further provides a computer program product, the computer product includes a computer program, when the computer program runs, the processor causes the processor to execute any one of the first to fourth aspects above; Any method of any possible implementation of the one aspect to the fourth aspect.
第十一方面,本申请实施例还提供一种芯片系统,包括处理器和存储器。存储器用于存储计算机程序;处理器用于从所述存储器调用并运行所述计算机程序,使得安装有所述芯片系统的设备执行上述第一方面至第四方面中任一方面;或执行上述第一方面至第四方面中任意可能的实现方式中的任一方法。In an eleventh aspect, an embodiment of the present application further provides a chip system, including a processor and a memory. The memory is used to store a computer program; the processor is used to call and run the computer program from the memory, so that the device installed with the chip system executes any one of the first to fourth aspects; or executes the first aspect A method of any of the possible implementations of the aspect to the fourth aspect.
第十二方面,本申请实施例还提供一种业务流处理系统,包括会话管理网元和用户面网元等。In a twelfth aspect, an embodiment of the present application further provides a service flow processing system, including a session management network element, a user plane network element, and the like.
会话管理网元,用于向所述用户面网元发送策略信息,所述策略信息包括终端设备的下行业务流的处理方法;a session management network element, configured to send policy information to the user plane network element, where the policy information includes a method for processing downlink service flows of the terminal device;
用户面网元,用于接收来自所述会话管理网元的所述策略信息;采用所述第四处理方法处理所述下行业务流;接收来自所述终端设备的第一通知信息,所述第一通知信息用于通知用户面网元确定所述下行业务流的处理方法;根据所述第一通知信息确定采用第三处理方法处理所述下行业务流。a user plane network element, configured to receive the policy information from the session management network element; use the fourth processing method to process the downlink service flow; receive the first notification information from the terminal device, the first notification information A notification information is used to notify the user plane network element to determine the processing method of the downlink service flow; according to the first notification information, it is determined to use the third processing method to process the downlink service flow.
附图说明Description of drawings
图1为现有业务流在不同接入技术或不同接入网设备之间传输场景示意图;FIG. 1 is a schematic diagram of an existing service flow transmission scenario between different access technologies or different access network devices;
图2为本申请提供的第一种业务流处理系统示意图;2 is a schematic diagram of a first service flow processing system provided by the present application;
图3为本申请提供的第二种业务流处理系统示意图;3 is a schematic diagram of a second service flow processing system provided by the present application;
图4为本申请提供的第一种业务流处理方法流程示意图;4 is a schematic flowchart of a first service flow processing method provided by the present application;
图5为本申请提供的第一业务流处理场景一流程示意图;5 is a schematic flowchart of a first service flow processing scenario-1 provided by the present application;
图6为本申请提供的第二种业务流处理方法流程示意图;6 is a schematic flowchart of a second service flow processing method provided by the present application;
图7为本申请提供的第二业务流处理场景一流程示意图;7 is a schematic flowchart of a second service flow processing scenario provided by the present application;
图8为本申请提供的一种业务流处理装置示意图;FIG. 8 is a schematic diagram of a service flow processing apparatus provided by the present application;
图9为本申请提供的另一种业务流处理装置示意图。FIG. 9 is a schematic diagram of another service flow processing apparatus provided by the present application.
具体实施方式Detailed ways
为了更清楚、完整介绍本申请的技术方案,以下结合附图对本申请实施例进行说明。In order to introduce the technical solutions of the present application more clearly and completely, the embodiments of the present application are described below with reference to the accompanying drawings.
随着通信技术的发展,终端设备经常通过多接入协议数据单元(Protocol Data Unit,PDU)会话实现业务流在不同接入技术或不同接入网设备之间的迁移或并发。With the development of communication technologies, terminal devices often implement migration or concurrency of service flows between different access technologies or different access network devices through multiple access protocol data unit (Protocol Data Unit, PDU) sessions.
示例性的,如图1所示,PDU会话(Session)A可以先通过第一技术传输,后续该PDU Session A再通过第二技术传输;或者,该PDU Session A同时使用该第一技术与该第二技术传输,以扩大带宽。其中,本申请实施例中该第一技术和/或该第二技术的内容包括且并不限定为3GPP接入技术,non3GPP接入技术,LTE接入技术,5GRAN接入技术,可信non3GPP接入技术,非可信non3GPP接入技术,WLAN接入技术,固网接入技术等。例如,第一接入技术为3GPP接入技术,第二接入技术为non3GPP接入技术;或者,第一接入技术为5G/NR接入技术,第二接入技术为WLAN接入技术。Exemplarily, as shown in FIG. 1 , the PDU Session A may be transmitted through the first technology first, and then the PDU Session A may be transmitted through the second technology; or, the PDU Session A uses the first technology and the The second technology is transmitted to expand the bandwidth. Wherein, the content of the first technology and/or the second technology in the embodiments of this application includes but is not limited to 3GPP access technology, non3GPP access technology, LTE access technology, 5GRAN access technology, trusted non3GPP access technology Access technology, untrusted non3GPP access technology, WLAN access technology, fixed network access technology, etc. For example, the first access technology is a 3GPP access technology, and the second access technology is a non-3GPP access technology; or, the first access technology is a 5G/NR access technology, and the second access technology is a WLAN access technology.
其中,对于业务流在多接入技术之间移动或并发的场景,经常需要基于链路的状态进行选路或调整分流比例,因此,需要用户面网元功能实时掌握链路状态,及时进行分流模式调整。Among them, for scenarios where service flows move or concurrently between multiple access technologies, it is often necessary to select a route or adjust the distribution ratio based on the status of the link. Therefore, the user plane network element function needs to grasp the link status in real time and perform flow distribution in time. Mode adjustment.
而对于业务流多接入技术之间移动或并发的场景下,经常还会出现终端设备基于自身当前状态进行自主分流,不采用网络侧分配的情况,称之为终端设备辅助(终端设备-assistance)分流模式。例如,当终端设备处于低电量时,终端设备可能选择将业务流全部移动到一种接入技术侧传输,然后将另一侧接入侧信号关闭,以此节省电量。In the scenario of mobile or concurrent service flow between multiple access technologies, there is often a situation in which the terminal device performs autonomous traffic distribution based on its current state without using network-side allocation, which is called terminal device assistance (terminal device-assistance). ) shunt mode. For example, when the terminal device is in a low power state, the terminal device may choose to move all traffic flows to one access technology side for transmission, and then turn off the signal on the access side of the other side, so as to save power.
但是,目前针对终端设备辅助分流模式的情况,并未揭示终端设备在进入辅助模式后用户面网元的具体行为,并且,由于终端设备进行分流模式的调整属于自主行为,因此,用户面网元无法配合终端设备的请求对下行业务流进行相应的分流调整。However, at present, for the situation of the auxiliary offload mode of the terminal device, the specific behavior of the user plane network element after the terminal device enters the auxiliary mode is not disclosed, and since the adjustment of the offload mode by the terminal device is an autonomous behavior, the user plane network element The downstream service flow cannot be adjusted accordingly according to the request of the terminal device.
为解决该问题,本申请实施例提供一种业务流分流方法。本申请实施例的技术方案可以应用于各种通信系统,例如:长期演进(long term evolution,LTE)系统、LTE频分双工(freq终端设备ncy division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)、通用移动通信系统(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwide interoperability for microwave access,WIMAX)通信系统、第五代(5th generation,5G)系统或新无线(new radio,NR),或者应用于未来的通信系统或其它类似的通信系统等,如6G系统等。To solve this problem, an embodiment of the present application provides a service flow distribution method. The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: long term evolution (LTE) system, LTE frequency division duplex (freq terminal equipment ncy division duplex, FDD) system, LTE time division duplex ( time division duplex (TDD), universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WIMAX) communication system, 5th generation (5G) system or new wireless (new radio, NR), or applied to future communication systems or other similar communication systems, such as 6G systems.
以5G系统(也可以称为New Radio系统)为例,具体来说,本申请实施例针对现有业务流分流过程,用户面网元无法配合终端设备的请求对下行业务流进行相应的分流调整的问题,提供了相应的业务分流方案,有效完善业务流分流机制。Taking the 5G system (also referred to as the New Radio system) as an example, specifically, the embodiments of the present application are directed to the existing service flow offloading process, and the user plane network element cannot perform corresponding offload adjustment on the downlink service flow in cooperation with the request of the terminal device. It provides a corresponding business diversion scheme to effectively improve the business diversion mechanism.
为便于理解本申请实施例,首先以图2中示出的通信系统为例详细说明本申请实施例适用的通信系统。如图2所示,该通信系统包括终端设备200、会话管理网元210以及用户面网元220。其中,该终端设备200可有多个。To facilitate understanding of the embodiments of the present application, firstly, a communication system applicable to the embodiments of the present application is described in detail by taking the communication system shown in FIG. 2 as an example. As shown in FIG. 2 , the communication system includes a terminal device 200 , a session management network element 210 and a user plane network element 220 . Wherein, there may be multiple terminal devices 200 .
终端设备200,是一种向用户提供语音和/或数据连通性的设备,也可以称为用户设备(user equipment,终端设备)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。本申请的实施例中的终端可以是手机(mobile phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制 (industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等等。The terminal device 200 is a device that provides voice and/or data connectivity to a user, and may also be referred to as user equipment (user equipment, terminal equipment), access terminal, subscriber unit, subscriber station, mobile station, mobile station, A remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user equipment. The terminal in the embodiments of the present application may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (virtual reality, VR) terminal, an augmented reality (augmented reality, AR) terminal, industrial Wireless terminal in industrial control, wireless terminal in self driving, wireless terminal in remote medical, wireless terminal in smart grid, transportation safety Wireless terminals in smart cities, wireless terminals in smart cities, wireless terminals in smart homes, and so on.
所述会话管理网元210,主要负责用户发起业务时网络侧建立相应的会话连接,为用户提供具体服务。The session management network element 210 is mainly responsible for establishing a corresponding session connection on the network side when a user initiates a service, so as to provide a specific service for the user.
其中,本申请实施例中所述会话管理网元210可以是SMF,也可以是其他具有本申请实施例中所述会话管理网元的功能的网元,在此并不进行限定。Wherein, the session management network element 210 described in the embodiment of the present application may be an SMF, or may be another network element having the function of the session management network element described in the embodiment of the present application, which is not limited herein.
例如,基于SMF与用户面网元之间的接口向用户面网元下发数据包转发策略、QoS策略等。For example, based on the interface between the SMF and the user plane network element, the data packet forwarding policy, the QoS policy, etc. are delivered to the user plane network element.
用户面网元220,主要负责分组数据包的转发、QoS控制、计费信息统计等。The user plane network element 220 is mainly responsible for packet data packet forwarding, QoS control, charging information statistics, and the like.
其中,本申请实施例中所述用户面网元可以是UPF,也可以是其他具有本申请实施例中所述用户面网元的功能的网元,在此并不进行限定。The user plane network element described in the embodiments of the present application may be UPF, or may be other network elements having the functions of the user plane network elements described in the embodiments of the present application, which are not limited herein.
其中,本申请实施例中该终端设备可以从4G通信系统中切换至5G通信系统,或者,也可以从5G通信系统中切换至4G通信系统,具体并不进行限定。Wherein, in this embodiment of the present application, the terminal device may be switched from a 4G communication system to a 5G communication system, or may be switched from a 5G communication system to a 4G communication system, which is not specifically limited.
进一步的,本申请实施例中该通信系统中还可以包含其他设备,具体并不限于下述几种:Further, in the embodiment of the present application, the communication system may also include other devices, which are not limited to the following:
示例性的,该通信系统中还可以包含如图3所示的(无线)接入网络(radio access network,(R)AN)网元230、策略控制功能(policy control function,PCF)网元240、网络开放功能(Network Exposure Function,NEF)/应用功能(Application Function,AF)网元250、移动性管理功能(access and mobility management function,AMF)网元260以及统一数据管理(unified data management,UDM)网元270等。Exemplarily, the communication system may also include a (radio access network, (R)AN) network element 230 and a policy control function (PCF) network element 240 as shown in FIG. 3 . , Network Exposure Function (NEF)/Application Function (AF) network element 250, access and mobility management function (AMF) network element 260, and unified data management (UDM) ) network element 270, etc.
其中,该RAN网元230:用于为特定区域的授权终端设备提供入网功能,并能够根据终端设备的级别,业务的需求等使用不同质量的传输隧道。The RAN network element 230 is used to provide a network access function for authorized terminal equipment in a specific area, and can use transmission tunnels of different qualities according to the level of the terminal equipment, service requirements, and the like.
RAN网元能够管理无线资源,为终端设备提供接入服务,进而完成控制信号和终端设备数据在终端设备和核心网之间的转发。本申请中的RAN设备,是一种为终端设备提供无线通信功能的设备,RAN设备也称为接入网设备。本申请中的RAN设备包括但不限于:5G中的下一代基站(g nodeB,gNB)、演进型节点B(evolved node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved nodeB,或home node B,HNB)、基带单元(baseBand unit,BBU)、传输点(transmitting and receiving point,TRP)、发射点(transmitting point,TP)、移动交换中心等。The RAN network element can manage radio resources, provide access services for terminal equipment, and then complete the forwarding of control signals and terminal equipment data between the terminal equipment and the core network. The RAN device in this application is a device that provides a wireless communication function for a terminal device, and the RAN device is also called an access network device. The RAN equipment in this application includes but is not limited to: next-generation base station (g nodeB, gNB), evolved node B (evolved node B, eNB), radio network controller (radio network controller, RNC), node B in 5G (node B, NB), base station controller (BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved nodeB, or home node B, HNB), baseband unit (baseBand unit, BBU), transmission point (transmitting and receiving point, TRP), transmitting point (transmitting point, TP), mobile switching center, etc.
该PCF网元240,主要用于根据AF的请求信息、运营商策略、用户签约信息等生成控制策略,控制网络行为;下发控制策略至控制面网元进行策略执行。The PCF network element 240 is mainly used to generate a control policy according to the request information of the AF, operator policy, user subscription information, etc., to control network behavior, and deliver the control policy to the control plane network element for policy execution.
该NEF/AF网元250,主要用于发起网络预留请求,携带业务描述信息(如IP五元组、应用IP等)和请求的网络资源(可以是AF和运营商事先协商好的标识,如单网络片选择辅助信息(Single Network Slice Selection Assistance Information,S-NSSAI))。The NEF/AF network element 250 is mainly used for initiating a network reservation request, carrying service description information (such as IP quintuple, application IP, etc.) and the requested network resources (it can be an identifier negotiated by the AF and the operator in advance, For example, Single Network Slice Selection Assistance Information (S-NSSAI)).
该AMF网元260,主要用于移动网络中的移动性管理,如用户位置更新、用户注册网络、用户切换等。The AMF network element 260 is mainly used for mobility management in the mobile network, such as user location update, user registration network, user handover, and the like.
该UDM网元270,主要负责管理终端设备的签约信息的网元。The UDM network element 270 is a network element mainly responsible for managing subscription information of terminal equipment.
其中,在图3所示的系统架构中,各个网元之间的接口名称及功能如下:Among them, in the system architecture shown in Figure 3, the interface names and functions between each network element are as follows:
(1)N7,是指PCF与SMF之间的接口,用于PDU会话以及业务数据流控制策略下发。(1) N7, refers to the interface between PCF and SMF, used for PDU session and service data flow control policy delivery.
(2)N15,是指PCF与AMF之间的接口,用于终端设备移动性以及网络选择控制策略下发。(2) N15, refers to the interface between PCF and AMF, used for terminal equipment mobility and network selection control policy delivery.
(3)N5,是指AF与PCF之间的接口,用于应用业务请求(携带业务对于带宽、资源抢占优先级等服务质量QoS的要求)下发以及网络事件(如用户无线接入网络类型,3G,4G等接入方式)上报。(3) N5, refers to the interface between AF and PCF, which is used for application service request (carrying service requirements for quality of service such as bandwidth, resource preemption priority, etc.) and network events (such as user wireless access network type) , 3G, 4G and other access methods) report.
(4)N4,是指SMF与用户面网元之间的接口,用于控制面与用户面之间传递信息,包括控制面向用户面的转发规则、QoS控制规则、流量统计规则等的下发以及用户面的信息(如用户面所检测到的应用信息,使用量监控信息等)上报。(4) N4 refers to the interface between the SMF and the user plane network element, which is used to transmit information between the control plane and the user plane, including controlling the distribution of forwarding rules, QoS control rules, and traffic statistics rules for the user plane. And user plane information (such as application information detected by the user plane, usage monitoring information, etc.) is reported.
(5)N11,是指SMF与AMF之间的接口,用于传递RAN和用户面网元之间的用户面隧道信息、传递发送给终端设备的控制消息、传递发送给RAN的无线资源控制信息等。(5) N11 refers to the interface between SMF and AMF, which is used to transfer user plane tunnel information between RAN and user plane network elements, transfer control messages sent to terminal equipment, and transfer radio resource control information sent to RAN. Wait.
(6)N2,是指AMF与RAN之间的接口,用于传递核心网侧至RAN的无线承载控制信息等。(6) N2 refers to the interface between the AMF and the RAN, and is used to transmit radio bearer control information from the core network side to the RAN.
(7)N1,是指AMF与终端设备之间的接口,接入无关,用于向终端设备传递QoS控制规则等。(7) N1, which refers to the interface between the AMF and the terminal device, irrespective of access, and is used to transmit QoS control rules and the like to the terminal device.
本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。应理解,图2与图3仅为便于理解而示例的简化示意图,该通信系统中还可以包括其他网络设备或者还可以包括其他终端,图2与图3中未予以画出。The network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. The evolution of the architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems. It should be understood that FIG. 2 and FIG. 3 are only simplified schematic diagrams for easy understanding, and the communication system may also include other network devices or other terminals, which are not shown in FIG. 2 and FIG. 3 .
需要说明的是,本申请实施例中的“网元”也可以称为实体、设备、装置或模块等,本申请并未特别限定。并且,在本申请中,为了便于理解和说明,在对部分描述中省略“网元”这一描述,例如,将UPF网元简称UPF,此情况下,该“UPF网元”应理解为UPF网元或UPF实体,以下,省略对相同或相似情况的说明。可以理解的是,上述网元或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。It should be noted that, the "network element" in this embodiment of the present application may also be referred to as an entity, a device, an apparatus, or a module, etc., which is not particularly limited in the present application. In addition, in this application, in order to facilitate understanding and description, the description of "network element" is omitted in some descriptions. For example, a UPF network element is referred to as UPF. In this case, the "UPF network element" should be understood as UPF. A network element or a UPF entity, hereinafter, the description of the same or similar situations is omitted. It can be understood that the above network elements or functions may be network elements in hardware devices, software functions running on dedicated hardware, or virtualized functions instantiated on a platform (eg, a cloud platform).
本申请实施例一种可选的实施方式,上述网元或者功能可以由一个设备实现,也可以由多个设备共同实现,还可以是一个设备内的一个功能模块,本申请实施例对此不作具体限定。其中,功能相同或相近的网元可以联合设置。This embodiment of the present application is an optional implementation manner. The foregoing network element or function may be implemented by one device, or may be jointly implemented by multiple devices, or may be a functional module in one device, which is not implemented in this embodiment of the present application. Specific restrictions. Among them, network elements with the same or similar functions can be set jointly.
以下再对本申请实施例中涉及的部分用语进行解释说明,以便于理解。Part of the terms involved in the embodiments of the present application will be explained below to facilitate understanding.
1)终端设备辅助(终端设备-assistance)分流模式,本申请实施例中该辅助分流模式用来表示终端设备基于内部状态进行自主分流,即终端设备为上行业务流选择一条或多条传输链路。1) Terminal equipment-assistance (terminal equipment-assistance) offloading mode, in the embodiment of the present application, the auxiliary offloading mode is used to indicate that the terminal device performs autonomous offloading based on the internal state, that is, the terminal device selects one or more transmission links for the upstream service flow .
2)上行业务流对应的下行业务流,是指包括源目的IP互换后形成的业务流,例如,源目的IP互换后形成的下行业务流为该源目的IP上行流的对应下行业务流;或者,该上行业务流对应的下行业务流,是指包括属于相同QoS flow的上下行业务流。2) The downstream service flow corresponding to the upstream service flow refers to the service flow formed after the source-destination IP exchange is included. For example, the downstream service flow formed after the source-destination IP exchange is the corresponding downstream service flow of the source-destination IP upstream flow. ; Or, the downstream service flow corresponding to the upstream service flow refers to including the upstream and downstream service flows belonging to the same QoS flow.
此外,本申请实施例一种可选的实施方式,当该终端设备执行该辅助分流模式时,该终端设备通知用户面网元将下行业务流的分流方式与上行分流方式保持一致。In addition, in an optional implementation manner of the embodiment of the present application, when the terminal device executes the auxiliary offload mode, the terminal device notifies the user plane network element to keep the offload mode of the downlink service flow consistent with the uplink offload mode.
另外,本申请实施例中的术语“系统”和“网络”可被互换使用。“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中,A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。以下至少一项(个)下或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In addition, the terms "system" and "network" in the embodiments of the present application may be used interchangeably. "At least one" means one or more, and "plurality" means two or more. "And/or", which describes the relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone, where A , B can be singular or plural. The character "/" generally indicates that the associated objects are an "or" relationship. The following at least one item(s) or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (a) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c may be single or multiple .
除非有相反的说明,本申请实施例提及“第一”、“第二”等序数词是用于对多个对象进行区分,不用于限定多个对象的顺序、时序、优先级或者重要程度。此外,本申请实施例和权利要求书及附图中的术语“包括”和“具有”不是排他的。例如,包括了一系列步骤或模块的过程、方法、系统、产品或设备,不限定于已列出的步骤或模块,还可以包括没有列出的步骤或模块。Unless stated to the contrary, ordinal numbers such as “first” and “second” mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, sequence, priority, or importance of multiple objects . In addition, the terms "comprising" and "having" in the embodiments and claims of the present application and the drawings are not exclusive. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, and may also include unlisted steps or modules.
具体的,如图4所示,本申请实施例提供的一种业务流处理方法的步骤如下:Specifically, as shown in FIG. 4 , the steps of a service flow processing method provided by an embodiment of the present application are as follows:
S400、终端设备接收来自会话管理网元的第一策略信息,该第一策略信息包括上行业务流的第一处理方法。S400. The terminal device receives first policy information from the session management network element, where the first policy information includes a first processing method for an upstream service flow.
本申请实施例一种可选的方式,该第一处理方法可以理解为该会话管理网元指示该终端设备进行业务流处理的主分流模式。In an optional manner of the embodiment of the present application, the first processing method may be understood as a primary offload mode in which the session management network element instructs the terminal device to perform service flow processing.
示例性的,假设分流模式包括主备模式(Active-Standby),最小时延模式(Smallest Delay),负载均衡模式(Load-Balancing),优先级模式(priority-based)等。Exemplarily, it is assumed that the offloading mode includes an active-standby mode (Active-Standby), a minimal delay mode (Smallest Delay), a load-balancing mode (Load-Balancing), a priority-based mode, and the like.
其中,该第一处理方法为主备模式(Active-Standby),则表示该会话管理网元指示该终端设备将该主备模式作为主分流模式进行业务流分流。Wherein, the first processing method is an active-standby mode (Active-Standby), which means that the session management network element instructs the terminal device to use the active-standby mode as an active-standby mode to offload service flows.
进一步的,该第一策略信息还包括第一指示信息,该第一指示信息用于指示该终端设备可以确定该上行业务流的处理方法。Further, the first policy information further includes first indication information, where the first indication information is used to indicate that the terminal device can determine the processing method of the upstream service flow.
S401、该终端设备确定满足第一条件。S401. The terminal device determines that the first condition is satisfied.
本申请实施例一种可选的方式,该终端设备确定满足第一条件,可以理解为该终端设备确定满足进入辅助分流模式。In an optional manner of the embodiment of the present application, if the terminal device determines that the first condition is satisfied, it may be understood that the terminal device determines that it is satisfied to enter the auxiliary offload mode.
需要说明的是,本申请实施例该第一条件并不限定为进入辅助分流模式,或者满足辅助分流模式等,任何适用于本申请实施例的分流模式都属于本申请实施例保护范围。It should be noted that the first condition in this embodiment of the present application is not limited to entering the auxiliary distribution mode, or satisfying the auxiliary distribution mode, etc. Any distribution mode applicable to the embodiment of the application belongs to the protection scope of the embodiment of the application.
本申请实施例一种可选的方式,该第一条件可以为该终端设备的内部条件。In an optional manner of the embodiment of the present application, the first condition may be an internal condition of the terminal device.
例如,该终端设备可以根据当前自身的状态,确定是否满足第一条件,即确定是否触发该终端设备进入辅助分流模式。For example, the terminal device may determine whether the first condition is satisfied according to the current state of the terminal device, that is, determine whether to trigger the terminal device to enter the auxiliary offload mode.
进一步的,该终端设备可以根据当前自身的状态,确定自身的哪些业务流进入辅助分流模式,即确定进入辅助分流模式的目标业务流。Further, the terminal device may determine, according to the current state of its own, which service flows of itself enter the auxiliary offloading mode, that is, determine the target service flows that enter the auxiliary offloading mode.
示例性的,当该终端设备的电量低于电量阈值时,则触发业务流1~3进入辅助分流模式。其中,假设该电量阈值为10%,当前该终端设备的电量为9%。该终端设备确定自身的电量低于电量阈值9%,因此,该终端设备触发该业务流1~3进入辅助分流模式。Exemplarily, when the power of the terminal device is lower than the power threshold, the service flows 1 to 3 are triggered to enter the auxiliary offload mode. Wherein, it is assumed that the power threshold is 10%, and the current power of the terminal device is 9%. The terminal device determines that its own power is lower than the power threshold by 9%. Therefore, the terminal device triggers the service flows 1 to 3 to enter the auxiliary offload mode.
S402、该终端设备确定该上行业务流或下行业务流的第二处理方法。S402. The terminal device determines a second processing method for the upstream service flow or the downstream service flow.
本申请实施例一种可选的方式,该终端设备确定该上行业务流或下行业务流的该第二处理方法,可以理解为该终端设备确定该上行业务或下行业务流进入辅助分流模式的分流方案。In an optional manner in this embodiment of the present application, the terminal device determines the second processing method for the upstream service flow or the downstream service flow, which may be understood as the terminal device determining that the upstream service or the downstream service flow enters the offloading mode of the auxiliary offloading mode Program.
其中,该终端设备中的该上行业务流或下行业务流进入辅助分流模式后,该终端设备对于该上行业务流不在使用主分流模式分流,而是由该终端设备自己决定分流方式。Wherein, after the upstream service flow or the downstream service flow in the terminal device enters the auxiliary offloading mode, the terminal device does not use the primary offloading mode for the upstream service flow, but decides the offloading mode by the terminal device itself.
例如,该终端设备选择一侧接入技术传输该上行业务流,或者按该终端设备确定的分流比例在两个接入技术传输该上行业务流。For example, the terminal device selects one access technology to transmit the upstream service flow, or transmits the upstream service flow in two access technologies according to the distribution ratio determined by the terminal device.
进一步的,本申请实施例中该终端设备确定该上行业务流或下行业务流的第二处理方法时,需要根据该第一策略信息中的第一指示信息,确定该终端设备可以确定该上行业务流或下行业务流的处理方法。Further, in the embodiment of the present application, when the terminal device determines the second processing method for the upstream service flow or the downstream service flow, it needs to determine that the terminal device can determine the upstream service according to the first indication information in the first policy information. Flow or downstream traffic flow processing method.
S403、该终端设备向用户面网元发送第一通知信息,该第一通知信息用于通知用户面网元确定该上行业务流对应的下行业务流的第三处理方法。S403: The terminal device sends first notification information to the user plane network element, where the first notification information is used to notify the user plane network element of a third processing method for determining the downlink service flow corresponding to the upstream service flow.
可以理解的,该终端设备向用户面网元发送第一通知信息,目的在于辅助用户面网元决策是否更新对应业务流的分流模式。It can be understood that the terminal device sends the first notification information to the user plane network element to assist the user plane network element in deciding whether to update the offload mode of the corresponding service flow.
本申请实施例一种可选的实施方式,所述终端设备向用户面网元发送第一通知信息,目的在于请求用户面网元针对该下行业务流也采用与该终端设备相同的分流方式。In an optional implementation manner of the embodiment of the present application, the terminal device sends the first notification information to the user plane network element to request the user plane network element to also use the same offloading method as the terminal device for the downlink service flow.
其中,该第一通知信息可以为本申请业务流分流方法过程中提出的新消息;或者,该第一通知信息可以是对该终端设备向该用户面网元发送的请求的改进。例如,该第一通知信息可以为PMF请求消息。Wherein, the first notification information may be a new message proposed in the process of the service flow offloading method of the application; or, the first notification information may be an improvement of the request sent by the terminal device to the user plane network element. For example, the first notification information may be a PMF request message.
其中,该第三处理方法可能为与该终端设备请求的分流方法一致,也可能为该用户面网元根据实际情况确定的其他分流方法。The third processing method may be the same as the offload method requested by the terminal device, or may be another offload method determined by the user plane network element according to the actual situation.
S404、该用户面网元接收来自会话管理网元的第二策略信息,该第二策略信息包括终端设备的下行业务流的第四处理方法。S404. The user plane network element receives second policy information from the session management network element, where the second policy information includes a fourth processing method for the downlink service flow of the terminal device.
本申请实施例一种可选的方式,用户面网元基于上行或下行业务流描述查找对应的下行业务流第二策略信息。如果上述第二策略信息不含有第二指示,则用户面网元基于第四处理方法处理业务流。否则,用户面网元基于终端设备发送的原因值与本地策略中的至少一个确定基于第三处理方法或第四处理方法处理业务流。例如,当第二策略包含第二指示时,用户面网元基于第一通知消息中的流描述与分流信息确定第三处理方法,并基于第三处理方法处理下行业务流。此外,用户面网元为上述第三处理方案设置有效期,当超过有效期后,用户面网元基于第四处理方法处理下行业务流。In an optional manner of the embodiment of the present application, the user plane network element searches for the second policy information of the corresponding downstream service flow based on the description of the upstream or downstream service flow. If the above-mentioned second policy information does not contain the second indication, the user plane network element processes the service flow based on the fourth processing method. Otherwise, the user plane network element determines, based on at least one of the cause value sent by the terminal device and the local policy, to process the service flow based on the third processing method or the fourth processing method. For example, when the second policy includes the second indication, the user plane network element determines a third processing method based on the flow description and offload information in the first notification message, and processes the downlink service flow based on the third processing method. In addition, the user plane network element sets a validity period for the above-mentioned third processing solution, and when the validity period expires, the user plane network element processes the downlink service flow based on the fourth processing method.
本申请实施例一种可选的方式,该第四处理方法可以理解为该会话管理网元指示该用户面网元进行业务流处理的主分流模式。In an optional manner of the embodiment of the present application, the fourth processing method may be understood as a primary offload mode in which the session management network element instructs the user plane network element to perform service flow processing.
S405、该用户面网元采用该第四处理方法处理该下行业务流。S405. The user plane network element uses the fourth processing method to process the downlink service flow.
S406、该用户面网元接收来自该终端设备的第一通知信息。S406. The user plane network element receives the first notification information from the terminal device.
S407、该用户面网元根据该第一通知信息确定该第三处理方法。本申请实施例一种可选的方式,该用户面网元结合该第一通知信息,自身当前状态,确定该第三处理方法。S407. The user plane network element determines the third processing method according to the first notification information. In an optional manner of the embodiment of the present application, the user plane network element determines the third processing method in combination with the first notification information and the current state of itself.
本申请实施例一种可选的方式,该用户面网元结合该第一通知信息,该第二策略信息以及自身当前状态,确定该第三处理方法。In an optional manner of the embodiment of the present application, the user plane network element determines the third processing method by combining the first notification information, the second policy information, and its own current state.
其中,若该用户面网元根据该第一通知信息,将自身对该下行业务流也采用与该终端设备相同的分流方式,则该第三处理方法可以为该第二处理方法;若该用户面网元根据该 第一通知信息,确定自身对该下行业务流不采用与该终端设备相同的分流方式,则该第三处理方法可以为该第四处理方法,或者还可以是根据实际情况确定的其他处理方法,本申请实施例在此不进行限定。The third processing method may be the second processing method if the user plane network element adopts the same offloading method for the downlink service flow as the terminal device according to the first notification information; if the user The plane network element determines, according to the first notification information, that it does not adopt the same offloading method as the terminal device for the downlink service flow, then the third processing method may be the fourth processing method, or may also be determined according to the actual situation other processing methods, which are not limited in the embodiments of the present application.
通过上述方法,本申请实施例中终端设备在满足第一条件,进入辅助分流模式后(即采用第二处理方法处理对应的业务流后),该终端设备通过向该用户面网元发送该第一通知信息,来辅助该用户面网元决策是否更新对应的下行业务流的分流模式,以及基于该终端设备的请求(即根据该第一通知信息的内容),确定下行分流策略。有效避免该用户面网元在信息不足的情况下盲目确定下行分流策略,使得该终端设备与该用户面网元在对业务流处理时,相互之间的协调性更好,适应性更强。需要说明的是,上述图4该的业务流分流的步骤,并不构成对本申请实施例的限定,例如,上述S404~S405与S400~S403并没有先后顺序的区分,该S404~S405可以在该S400~S403的任意步骤之前执行。此外,本申请实施例在执行该业务流分流方法的过程中,可以根据实际情况,对上述步骤进行适应性调整变形等。Through the above method, in the embodiment of the present application, after the terminal device satisfies the first condition and enters the auxiliary offload mode (that is, after using the second processing method to process the corresponding service flow), the terminal device sends the first condition to the user plane network element by sending the first A notification message to assist the user plane network element in deciding whether to update the offload mode of the corresponding downlink service flow, and determine the downlink offload policy based on the request of the terminal device (ie, according to the content of the first notification message). This effectively prevents the user plane network element from blindly determining the downlink offload strategy when the information is insufficient, so that the terminal equipment and the user plane network element have better coordination and adaptability when processing the service flow. It should be noted that the steps of service flow distribution in the above-mentioned FIG. 4 do not constitute a limitation on the embodiments of the present application. For example, the above-mentioned S404-S405 and S400-S403 are not distinguished in order, and the S404-S405 can be performed in this Any steps of S400 to S403 are executed before. In addition, in the process of executing the service flow offloading method in the embodiment of the present application, the above steps may be adaptively adjusted and deformed according to the actual situation.
进一步的,本申请实施例一种可选的方式,该第一通知信息可以包括下列内容中的部分或全部:Further, in an optional manner in this embodiment of the present application, the first notification information may include part or all of the following contents:
内容1:该终端设备采用该第二处理方法处理该上行业务流或下行业务流的原因信息。Content 1: The terminal device uses the second processing method to process the reason information for the upstream service flow or the downstream service flow.
其中,该原因信息可以为用来表示该终端设备的内部状态,或者用来表示该终端设备进入该辅助分流模式的原因,或表示链路状态,或接入技术状态,或用户喜好等。The reason information may be used to indicate the internal state of the terminal device, or the reason why the terminal device enters the auxiliary offload mode, or the link status, or the access technology status, or user preference.
例如,该原因信息包括低电量指示、低功耗指示、资源优化指示、链路拥塞指示、接入信号弱指示、或user preference指示等。For example, the reason information includes low battery indication, low power consumption indication, resource optimization indication, link congestion indication, weak access signal indication, or user preference indication, etc.
内容2:该终端设备采用该第二处理方法的第一时长信息。Content 2: The first duration information that the terminal device adopts the second processing method.
其中,该第一时长信息可以为具体的有效时长,例如,表示当前状态持续的有效时长,或该辅助分流模式持续的有效时长,或该终端设备发送的分流信息的有效时长。Wherein, the first duration information may be a specific valid duration, for example, indicating the duration of the current state, or the duration of the auxiliary offload mode, or the duration of offload information sent by the terminal device.
本申请实施例一种可选的实施方式,该有效时长可以通过设定定时器进行监控,例如,有效时长为5分钟,则将该定时器的计时时长设置为5分钟,当该定时器正常运行时,表示持续当前状态,或者持续该辅助分流模式等,当该定时器超时后,则终止当前状态,或者终止该辅助分流模式。In an optional implementation manner of this embodiment of the present application, the valid duration can be monitored by setting a timer. For example, if the valid duration is 5 minutes, the timing duration of the timer is set to 5 minutes. When the timer is normal When running, it means that the current state is continued, or the auxiliary distribution mode is continued. When the timer expires, the current state is terminated, or the auxiliary distribution mode is terminated.
该第一时长信息还可以为具体的时间点(例如3:00PM)或时间段(例如2:00PM-3:00PM)。The first duration information may also be a specific time point (eg, 3:00PM) or a time period (eg, 2:00PM-3:00PM).
内容3:该第二处理方法的信息。Content 3: Information of the second processing method.
该第二处理方法的信息可以为该业务流的业务流描述信息,分流信息等。The information of the second processing method may be service flow description information, distribution information and the like of the service flow.
本申请实施例一种可选的方式,该业务流描述信息可以是上行业务流或/和下行业务流的流描述信息。In an optional manner of the embodiment of the present application, the service flow description information may be flow description information of an upstream service flow or/and a downstream service flow.
该分流信息包括该终端设备请求的针对下行业务流的分流方案,或者是该终端设备使用的针对上行业务流的分流方案,具体包含接入技术指示,或者接入技术与分流比例信息。The offloading information includes the offloading scheme for the downlink service flow requested by the terminal device, or the offloading scheme for the upstream service flow used by the terminal device, and specifically includes access technology indication, or access technology and offloading ratio information.
其中,当该业务流描述信息为该下行业务流时,该用户面网元可以直接基于该描述信息确定该下行业务流。Wherein, when the service flow description information is the downlink service flow, the user plane network element may directly determine the downlink service flow based on the description information.
当该业务流描述信息为该下行业务流对应的上行业务流时,该用户面网元将该上行业务流的描述信息映射成下行业务流描述信息,基于该下行业务流描述信息确定下行业务流。When the service flow description information is the upstream service flow corresponding to the downstream service flow, the user plane network element maps the description information of the upstream service flow into the downstream service flow description information, and determines the downstream service flow based on the downstream service flow description information .
其中,当该第一通知信息中包含该终端设备采用该第二处理方法有效的第一时长信息时,本申请实施例一种可选的方式,该用户面网元在确定该第三处理方法后,还可以确定采用该第三处理方法处理该业务流的第二时长信息。Wherein, when the first notification information includes the valid first duration information that the terminal device adopts the second processing method, an optional method in this embodiment of the present application is that the user plane network element determines the third processing method when Afterwards, it may also be determined that the third processing method is used to process the second duration information of the service flow.
具体的,该第二时长信息,是该用户面网元基于该第一时长信息确认的,该第二时长信息可以小于或等于该第一时长信息。Specifically, the second duration information is confirmed by the user plane network element based on the first duration information, and the second duration information may be less than or equal to the first duration information.
本申请实施例一种可选的实施方式,本申请实施例中,该第三处理方法在有效时间内,该第三处理方法的优先级高于该第四处理方法。可以理解的,本申请实施例中,该用户面网元在进行业务流处理时,采用该第四处理方法,仅在指定的时长,或者具体时间内,优先采用该第三处理方法处理该业务流。An optional implementation manner of the embodiment of the present application, in the embodiment of the present application, within the valid time of the third processing method, the priority of the third processing method is higher than that of the fourth processing method. It can be understood that, in this embodiment of the present application, the user plane network element uses the fourth processing method when processing the service flow, and preferentially uses the third processing method to process the service only within a specified time period or a specific time. flow.
进一步的,本申请实施例中,该用户面网元在接收到该第一通知信息后,还可以向该终端设备发送第二通知信息,该第二通知信息包括第二指示信息,该第二指示信息用于指示该用户面网元是否改变该下行业务流的处理方法。Further, in this embodiment of the present application, after receiving the first notification information, the user plane network element may also send second notification information to the terminal device, where the second notification information includes second indication information, the second notification information The indication information is used to indicate whether the user plane network element changes the processing method of the downlink service flow.
其中,该第二通知信息可以理解为该用户面网元接收到该第一通知信息后反馈给该终端设备的响应信息。从而告知该终端设备,该用户面网元是否对该业务流采用与该终端设备一致的处理方法等。The second notification information may be understood as response information fed back to the terminal device by the user plane network element after receiving the first notification information. Thus, the terminal device is informed whether the user plane network element adopts the same processing method as the terminal device for the service flow, and the like.
本申请实施例一种可选的方式,该第二通知信息中可以包括下列内容中的部分或全部:In an optional manner of this embodiment of the present application, the second notification information may include some or all of the following contents:
内容1:该用户面网元采用该第三处理方法处理该上行业务流的原因信息。Content 1: The reason information that the user plane network element adopts the third processing method to process the upstream service flow.
其中,该原因信息可以为用来表示该用户面网元的内部状态,或者用来表示该用户面网元的策略信息等。The reason information may be used to indicate the internal state of the user plane network element, or policy information used to indicate the user plane network element, and the like.
例如,该原因信息包括该用户面网元不支持该终端设备的辅助分流模式等。For example, the reason information includes that the user plane network element does not support the auxiliary offload mode of the terminal device, and the like.
内容2:该用户面网元不改变该下行业务流的处理方法的第二时长信息。Content 2: The user plane network element does not change the second duration information of the processing method of the downlink service flow.
具体的,当该第二指示信息指示该用户面网元没有改变该下行业务流的处理方法时,该第二通知消息可以包括不改变该下行业务流的处理方法的第二时长信息。Specifically, when the second indication information indicates that the user plane network element does not change the processing method of the downlink service flow, the second notification message may include second duration information that does not change the processing method of the downlink service flow.
其中,该第二时长信息用于指示该终端设备在该第二时长信息指定的时间内,该终端设备不向该用户面网元发送该第一通知信息。The second duration information is used to instruct the terminal device not to send the first notification information to the user plane network element within the time specified by the second duration information.
进一步的,本申请实施例一种可选的方式,该终端设备满足第二条件,恢复采用该第一处理方法处理该上行业务流后,还可以向该用户面网元设备发送第三通知信息,该第三通知信息用于通知该终端设备采用第一处理方法处理该业务流。Further, in an optional manner in the embodiment of the present application, the terminal device satisfies the second condition, and after resuming to use the first processing method to process the upstream service flow, the terminal device may also send third notification information to the user plane network element device. , and the third notification information is used to notify the terminal device to use the first processing method to process the service flow.
从而,当该用户面网元接收到该第三通知信息后,恢复该第四处理方法处理该业务流。即该用户面网元在接收到该终端设备退出辅助分流模式后,该用户面网元恢复会话管理网元指示的主分流模式。Therefore, after the user plane network element receives the third notification information, the fourth processing method is restored to process the service flow. That is, after the user plane network element receives that the terminal device exits the auxiliary offload mode, the user plane network element restores the primary offload mode indicated by the session management network element.
需要说明的是,本申请实施例中该终端设备对业务流进行处理的第一次处理方法,可以为该终端设备进行业务流处理的主分流模式,也可以为其他分流模式,为了方便介绍, 后续示例用主分流模式进行代替。本申请实施例中该终端设备对业务流进行处理的第二次处理方法,可以为该终端设备进行业务流处理的辅助分流模式,也可以为其他分流模式,为了方便介绍,后续用辅助分流模式进行代替。本申请实施例中该用户面网元对业务流进行处理的第四次处理方法,可以为该用户面网元进行业务流处理的主分流模式,也可以为其他分流模式,为了方便介绍,后续用主分流模式进行代替。本申请实施例中该用户面网元对业务流进行处理的第三次处理方法,可以为该用户面网元进行业务流处理的辅助分流模式,也可以为其他分流模式,为了方便介绍,后续用辅助分流模式进行代替。It should be noted that, in the embodiment of the present application, the first processing method for the terminal device to process the service flow may be the main offload mode in which the terminal device performs the service flow processing, and may also be other offload modes. For the convenience of introduction, Subsequent examples use the main split mode instead. In the embodiment of the present application, the second processing method for processing the service flow by the terminal device may be an auxiliary offloading mode in which the terminal device performs service flow processing, or other offloading modes. For the convenience of introduction, the auxiliary offloading mode will be used subsequently. replace. In the embodiment of the present application, the fourth processing method for processing the service flow by the user plane network element may be the main offload mode in which the user plane network element performs the service flow processing, or may be other offload modes. For the convenience of introduction, follow-up Use the main split mode instead. In this embodiment of the present application, the third processing method for the user plane network element to process the service flow may be an auxiliary offload mode for the user plane network element to process the service flow, or may be other offload modes. For the convenience of introduction, follow-up Substitute with auxiliary split mode.
其中,为了更好的对上述图4所示的内容进行介绍,通过下述图5的示例进行举例说明。Wherein, in order to better introduce the content shown in FIG. 4 , the following example in FIG. 5 is used for illustration.
具体的,如图5所示,本申请实施例提供的一种业务流分流方法的步骤如下:Specifically, as shown in FIG. 5 , the steps of a service flow distribution method provided by an embodiment of the present application are as follows:
S500、终端设备向SMF发起PDU会话建立流程。S500. The terminal device initiates a PDU session establishment process to the SMF.
本申请实施例一种可选的实施方式,该终端设备发送PDU会话建立请求(PDU session establishment req终端设备st)消息给SMF,其中包含PDU会话标识,MA PDU请求指示,用以表示建立MA PDU会话。In an optional implementation manner of the embodiment of the present application, the terminal device sends a PDU session establishment request (PDU session establishment req terminal device st) message to the SMF, which includes a PDU session identifier and a MA PDU request indication to indicate that the MA PDU is established. session.
S501、该SMF向PCF发送策略请求。S501. The SMF sends a policy request to the PCF.
本申请实施例一种可选的实施方式,该策略请求中包含MA PDU会话指示,用以表示此PDU会话为MA PDU会话。In an optional implementation manner of the embodiment of the present application, the policy request includes an MA PDU session indication, which is used to indicate that the PDU session is an MA PDU session.
S502、该PCF向该SMF下发PCC规则,该PCC规则中包含策略信息。具体的,该PCC规则中包含业务流描述信息,分流模式,及终端设备辅助分流模式指示。S502. The PCF delivers a PCC rule to the SMF, where the PCC rule includes policy information. Specifically, the PCC rule includes service flow description information, an offload mode, and an indication of an auxiliary offload mode of a terminal device.
其中,该业务流描述信息可以包括一个或多个IP五元组信息(IP五元组信息包括源目的IP地址、源目的端口号、协议标识中的至少一个)、一个或多个MAC地址信息或VLAN标识信息、至少一个应用标识、SDF、或至少一个QFI等。The service flow description information may include one or more IP quintuple information (the IP quintuple information includes at least one of source and destination IP addresses, source and destination port numbers, and protocol identifiers), one or more MAC address information Or VLAN identification information, at least one application identification, SDF, or at least one QFI, etc.
终端设备辅助分流模式指示用以表示支持的终端设备辅助分流模式。该辅助分流模式包括并不限于主备模式(Active-Standby),最小时延模式(Smallest Delay),负载均衡模式(Load-Balancing),优先级模式(priority-based)。The terminal equipment auxiliary offload mode indication is used to indicate the supported terminal equipment auxiliary offload mode. The auxiliary offloading mode includes, but is not limited to, Active-Standby, Smallest Delay, Load-Balancing, and Priority-based.
其中,网络侧为业务流分配的分流模式称之为主模式。Among them, the distribution mode allocated by the network side for the service flow is called the main mode.
S503、该SMF基于该PCC规则确定第一策略信息以及第二策略信息。S503. The SMF determines the first policy information and the second policy information based on the PCC rule.
该第一策略信息包括该终端设备进行业务流处理的主分流模式;该第二策略信息包括该用户面网元进行业务流处理的主分流模式。The first policy information includes a primary offload mode in which the terminal device performs service flow processing; the second policy information includes a primary offload mode in which the user plane network element performs service flow processing.
此外,当该第一策略信息允许该终端设备进行辅助分流模式时,该第一策略信息中还可以包含第一指示信息,该第一指示信息用于指示该终端设备可以确定该上行业务流的处理方法,即至少该终端设备可以进行辅助分流模式。In addition, when the first policy information allows the terminal device to perform the auxiliary offload mode, the first policy information may further include first indication information, and the first indication information is used to indicate that the terminal device can determine the upstream service flow. The processing method, that is, at least the terminal device can perform the auxiliary offload mode.
当该第二策略信息允许该用户面网元配合该终端设备进行辅助分流模式时,该第二策略信息中还可以包含第二指示信息,该第二指示信息用于指示该用户面网元可以确定该下行业务流的处理方法。本申请实施例一种可选的实施方式,第一策略信息和/或第二策略信息可以为ATSSS rule规则,或者MAR(Multi-access rule)规则。When the second policy information allows the user plane network element to cooperate with the terminal device to perform the auxiliary offload mode, the second policy information may further include second indication information, and the second indication information is used to indicate that the user plane network element can Determine the processing method of the downlink service flow. In an optional implementation manner of the embodiment of the present application, the first policy information and/or the second policy information may be an ATSSS rule or a MAR (Multi-access rule) rule.
S504、该SMF将该第一策略信息发送给该终端设备。S504. The SMF sends the first policy information to the terminal device.
其中,该第一策略信息中还可以包含对应的业务流描述信息等。Wherein, the first policy information may further include corresponding service flow description information and the like.
S505、该SMF将该第二策略信息发送给该用户面网元。S505. The SMF sends the second policy information to the user plane network element.
其中,该第二策略信息中还可以包含对应的业务流描述信息等。Wherein, the second policy information may further include corresponding service flow description information and the like.
S506、该终端设备接收该第一策略信息。S506. The terminal device receives the first policy information.
本申请实施例一种可选的方式,该终端设备还可以存储该第一策略信息。In an optional manner of the embodiment of the present application, the terminal device may further store the first policy information.
进一步的,该终端设备根据该第一策略信息,采用主分流模式处理对应的业务流。Further, according to the first policy information, the terminal device adopts the main offload mode to process the corresponding service flow.
S507、该用户面网元接收该第二策略信息。S507. The user plane network element receives the second policy information.
本申请实施例一种可选的方式,该用户面网元还可以存储该第二策略信息。In an optional manner of the embodiment of the present application, the user plane network element may further store the second policy information.
进一步的,该用户面网元根据该第二策略信息,采用主分流模式处理对应的业务流。Further, according to the second policy information, the user plane network element adopts the main offload mode to process the corresponding service flow.
S508、该终端设备在满足第一条件后,确定进入辅助分流模式。S508: After the terminal device satisfies the first condition, it is determined to enter the auxiliary offload mode.
S509、该终端设备生成第一通知信息,该第一通知信息用于指示该终端设备执行辅助分流模式的时间。S509. The terminal device generates first notification information, where the first notification information is used to indicate the time when the terminal device executes the auxiliary offload mode.
本申请实施例一种可选的实施方式,本申请实施例该终端设备在生成该第一通知信息之前,还可以先确定该终端设备进入辅助分流模式的分流方案;然后,基于该终端设备进入辅助分流模式的分流方案生成第一通知信息。This embodiment of the present application is an optional implementation manner. In this embodiment of the present application, before generating the first notification information, the terminal device may further determine an offloading scheme for the terminal device to enter the auxiliary offloading mode; The offloading scheme of the auxiliary offloading mode generates first notification information.
其中,可以通过该第一通知信息中的辅助信息指示该终端设备执行辅助分流模式的时间。The time at which the terminal device executes the auxiliary offload mode may be indicated by the auxiliary information in the first notification information.
其中,该辅助信息可以包含有该终端设备采用辅助分流模式的第一时长信息以及该终端设备采用辅助分流模式的原因信息中的至少一个。Wherein, the auxiliary information may include at least one of first duration information that the terminal device adopts the auxiliary offload mode and reason information that the terminal device adopts the auxiliary offload mode.
其中,该第一时长信息可以为具体的有效时长,例如,表示当前状态持续的有效时长,或该辅助分流模式持续的有效时长,或该终端设备发送的分流信息的有效时长;或具体的时间点(例如3:00PM)或时间段(例如2:00PM-3:00PM)。Wherein, the first duration information may be a specific valid duration, for example, indicating the duration of the current state, or the duration of the auxiliary offload mode, or the duration of the offload information sent by the terminal device; or a specific duration point (eg 3:00PM) or time period (eg 2:00PM-3:00PM).
本申请实施例一种可选的实施方式,该有效时长可以通过设定定时器进行监控,当该定时器正常运行时,表示持续当前状态,或者持续该辅助分流模式等,当该定时器超时后,则终止当前状态,或者终止该辅助分流模式。In an optional implementation manner of the embodiment of the present application, the effective duration can be monitored by setting a timer. When the timer runs normally, it means that the current state is continued, or the auxiliary offload mode is continued. When the timer expires After that, the current state is terminated, or the auxiliary shunt mode is terminated.
进一步的,本申请实施例中该第一通知信息中还可以包含其他信息,具体并不限于业务流描述信息,分流信息等。Further, in this embodiment of the present application, the first notification information may further include other information, which is not specifically limited to service flow description information, distribution information, and the like.
其中,该业务流描述信息是上行业务流或/和下行业务流的流描述信息。该分流信息包括该终端设备请求的针对下行业务流的分流方案,或者是该终端设备使用的针对上行业务流的分流方案,具体包含接入技术指示,或者接入技术与分流比例信息。Wherein, the service flow description information is flow description information of an upstream service flow or/and a downstream service flow. The offloading information includes the offloading scheme for the downlink service flow requested by the terminal device, or the offloading scheme for the uplink service flow used by the terminal device, and specifically includes access technology indication, or access technology and offloading ratio information.
本申请实施例一种可选的实施方式,该第一通知信息为PMF请求。In an optional implementation manner of the embodiment of the present application, the first notification information is a PMF request.
S510、该终端设备向用户面网元发送该第一通知信息。S510. The terminal device sends the first notification information to the user plane network element.
S511、该用户面网元接收该第一通知信息。S511. The user plane network element receives the first notification information.
S512、该用户面网元在确定接受该第一通知信息后,根据该第一通知信息确定采用该辅助分流模式处理对应业务流的第二时间信息。S512: After determining to accept the first notification information, the user plane network element determines, according to the first notification information, to use the auxiliary offload mode to process the second time information of the corresponding service flow.
也就是说,该用户面网元根据该第一通知信息,确定是否可以进行该辅助分流模式,并在确定可以进行该辅助分流模式后,确定该用户面网元采用该辅助分流模式处理对应业务流的第二时长信息。That is to say, the user plane network element determines whether the auxiliary offload mode can be performed according to the first notification information, and after determining that the auxiliary offload mode can be performed, it is determined that the user plane network element adopts the auxiliary offload mode to process the corresponding service The second duration information of the stream.
其中,该第二时长信息可以小于或等于该第一通知信息指示的辅助分流模式执行时间。本申请实施例一种可选的实施方式,该用户面网元收到该第一通知信息,以及本地状态,确定是否接受该第一请求;或该用户面网元收到该第一通知信息,以及该第二策略信息,确定是否接受该第一请求;或该用户面网元收到该第一通知信息,本地状态以及该第二策 略信息,确定是否接受该第一请求。Wherein, the second duration information may be less than or equal to the execution time of the auxiliary offload mode indicated by the first notification information. An optional implementation manner of the embodiment of the present application, the user plane network element receives the first notification information and the local status, and determines whether to accept the first request; or the user plane network element receives the first notification information , and the second policy information, to determine whether to accept the first request; or the user plane network element receives the first notification information, the local status and the second policy information to determine whether to accept the first request.
示例性的,该用户面网元基于该第一通知信息中携带的业务流描述信息查找相应的下行业务流。Exemplarily, the user plane network element searches for a corresponding downlink service flow based on the service flow description information carried in the first notification information.
其中,当业务流描述表示下行业务流时,该用户面网元直接基于下行业务流描述信息确定下行业务流。当业务流描述表示上行业务流时,该用户面网元将其映射成下行业务流描述信息(例如源目的IP、源目的端口号、协议标识中的至少一个),基于下行业务流描述信息确定下行业务流。Wherein, when the service flow description indicates a downlink service flow, the user plane network element directly determines the downlink service flow based on the downlink service flow description information. When the service flow description indicates an upstream service flow, the user plane network element maps it into downstream service flow description information (for example, at least one of source and destination IP, source and destination port number, and protocol identifier), and determines based on the downstream service flow description information. Downstream traffic.
然后,该用户面网元确定该下行业务流对应的第二策略信息。当该第二策略信息中不包含辅助分流模式指示时,该用户面网元仍然使用主模式对下行业务分流。否则,当该第二策略信息中包含辅助分流模式指示时,该用户面网元采用该辅助分流模式处理该下行业务流。Then, the user plane network element determines the second policy information corresponding to the downlink service flow. When the secondary offload mode indication is not included in the second policy information, the user plane network element still uses the main mode to offload downlink services. Otherwise, when the second policy information includes an indication of an auxiliary offload mode, the user plane network element uses the auxiliary offload mode to process the downlink service flow.
S513、该用户面网元根据该第二时长信息执行该辅助分流模式。S513. The user plane network element executes the auxiliary offload mode according to the second duration information.
其中,本申请实施例一种可选的执行方式如下:Wherein, an optional execution mode of the embodiment of the present application is as follows:
该用户面网元在确定接受该第一通知信息后,该用户面网元根据该第一通知信息中包含的业务流信息,分流信息等,生成第三策略信息,其中,该第三策略信息包括该用户面网元进行业务流处理的辅助分流模式。After the user plane network element determines to accept the first notification information, the user plane network element generates third policy information according to the service flow information, traffic distribution information, etc. included in the first notification information, wherein the third policy information It includes an auxiliary offload mode in which the user plane network element performs service flow processing.
该用户面网元存储该第三策略信息,且设定该第三策略信息的优先级高于该第二策略信息的优先级。即,设定该辅助分流模式下的分流方案的优先级高于该主模式下的分流方案。The user plane network element stores the third policy information, and sets the priority of the third policy information higher than the priority of the second policy information. That is, the priority of the offloading solution in the auxiliary offloading mode is set higher than that of the offloading solution in the main mode.
进一步的,该用户面网元可以根据该第二时长信息设定该第三策略信息生效的定时器。其中,当该定时器未超时,该第三策略信息生效,因该第三策略信息的优先级高于该第二策略信息,因此,该用户面网元采用该辅助分流模式处理对应的业务流。当定时器超时后,该第三策略信息失效,该用户面网元采用该主模式处理对应的业务流。Further, the user plane network element may set a timer for the third policy information to take effect according to the second duration information. Wherein, when the timer does not expire, the third policy information takes effect. Because the priority of the third policy information is higher than that of the second policy information, the user plane network element uses the auxiliary offload mode to process the corresponding service flow . When the timer expires, the third policy information becomes invalid, and the user plane network element uses the main mode to process the corresponding service flow.
进一步的,该用户面网元在接收到该第一通知信息之后,或者,在确定该第二时长信息后,还可以向该终端设备反馈响应消息,该响应消息用于告知是否接受该第一通知信息。Further, after receiving the first notification information, or after determining the second duration information, the user plane network element may also feed back a response message to the terminal device, where the response message is used to inform whether to accept the first notification information or not. notification information.
本申请实施例一种可选的方式,该响应消息包含成功或拒绝指示,用以表示该用户面网元是否基于该终端设备发送的该第一通知信息修改了下行业务流分流规则。In an optional manner of the embodiment of the present application, the response message includes a success or rejection indication, which is used to indicate whether the user plane network element modifies the downlink service flow distribution rule based on the first notification information sent by the terminal device.
具体的,若该响应消息包含的是成功指示或接受指示,则用来表示该用户面网元基于该终端设备的第一通知信息修改了下行业务流分流规则。Specifically, if the response message contains a success indication or an acceptance indication, it is used to indicate that the user plane network element has modified the downlink service flow distribution rule based on the first notification information of the terminal device.
若该响应消息包含的是拒绝或失败指示,则用来表示该用户面网元拒绝基于该终端设备的第一通知信息修改下行业务流分流规则,继续使用主模式对下行业务流进行分流。If the response message contains a rejection or failure indication, it is used to indicate that the user plane network element refuses to modify the downlink service flow distribution rule based on the first notification information of the terminal device, and continues to use the main mode to distribute the downlink service flow.
本申请实施例另一种可选的方式,通过该响应消息的消息名称表示成功或失败。In another optional manner of the embodiment of the present application, success or failure is indicated by the message name of the response message.
具体的,当该用户面网元接受该终端设备发送的第一通知信息后,该用户面网元反馈该第一通知信息成功消息或该终端设备辅助分流模式成功消息。当该用户面网元拒绝该终端设备发送的第一通知信息后,该用户面网元反馈该第一通知信息失败消息或该终端设备辅助模式失败消息。Specifically, after the user plane network element accepts the first notification information sent by the terminal device, the user plane network element feeds back the first notification information success message or the terminal device auxiliary offload mode success message. After the user plane network element rejects the first notification information sent by the terminal device, the user plane network element feeds back the first notification information failure message or the terminal device auxiliary mode failure message.
此外,本申请实施例中该响应消息中还可以包含其他信息,具体并不限于下述几种:In addition, in this embodiment of the present application, the response message may also include other information, which is not limited to the following:
信息1:当该响应消息表示该用户面网元接受该终端设备的第一通知信息后,该响应消息中可以包含该用户面网元设定的执行该终端设备辅助分流模式的时间信息。Information 1: When the response message indicates that the user plane network element accepts the first notification information of the terminal device, the response message may include time information set by the user plane network element to execute the terminal device auxiliary offload mode.
例如,该响应消息中包含该用户面网元设定的定时器信息等。For example, the response message includes timer information and the like set by the user plane network element.
其中,该定时器用以表示在此定时器超时之前该终端设备不需要在针对相同业务流发起该第一通知信息。以及,还可以指示该终端设备在定时器超时后,且该终端设备中的该业务流依旧处于辅助分流模式时,再次发起第一通知信息,同步骤S510。The timer is used to indicate that the terminal device does not need to initiate the first notification information for the same service flow before the timer expires. In addition, the terminal device can also be instructed to send the first notification message again after the timer expires and the service flow in the terminal device is still in the auxiliary offload mode, which is the same as step S510.
信息2:当该响应消息表示该用户面网元拒绝该终端设备的第一通知信息后,该响应消息中可以包含该第二时长信息,用于指示该终端设备,在该第二时长信息指定的时间内,该用户面网元不接收来自该终端设备发送的该第一通知信息。信息3:该响应消息中还可以包含业务流描述信息,或分流信息等。Information 2: When the response message indicates that the user plane network element rejects the first notification information of the terminal device, the response message may include the second duration information, which is used to indicate that the terminal device is specified in the second duration information. Within the time period, the user plane network element does not receive the first notification information sent from the terminal device. Information 3: The response message may also include service flow description information, or distribution information, etc.
其中,该业务流描述信息或分流信息用来识别具体的业务流或具体的分流信息,用以表示被接受或拒绝的业务流或分流信息。Wherein, the service flow description information or the distribution information is used to identify the specific service flow or the specific distribution information, and is used to indicate the accepted or rejected service flow or the distribution information.
信息4:当该响应消息表示该用户面网元拒绝该终端设备的第一通知信息后,该响应消息中还可以该用户面网元拒绝的原因。Information 4: When the response message indicates that the user plane network element rejects the first notification information of the terminal device, the response message may also include the reason for the rejection by the user plane network element.
举例说明:for example:
终端设备收到的ATSSS rule中包含上行业务流1的流描述信息,与主分流模式为负载均衡模式,及辅助分流模式指示。The ATSSS rule received by the terminal device includes the flow description information of the upstream service flow 1, and the main offload mode is the load balancing mode, and the auxiliary offload mode indication.
其中,当终端设备电量低于5%时,终端设备进入辅助分流模式。此模式下,终端设备将上行业务流1的所有数据包通过3GPP侧传输,而不再使用主模式的负载均衡模式通过3GPP与non3GPP同时传输业务流1数据包。Wherein, when the power of the terminal device is lower than 5%, the terminal device enters the auxiliary shunt mode. In this mode, the terminal device transmits all the data packets of the upstream service flow 1 through the 3GPP side, instead of using the load balancing mode of the main mode to simultaneously transmit the service flow 1 data packets through 3GPP and non3GPP.
进一步的,终端设备确定进入辅助分流模式后,发送第一请求给用户面网元,其中,该第一请求中携带业务流1的流描述信息,分流信息为3GPP接入技术指示,有效期为5分钟,原因值为“低电量”。Further, after the terminal device determines to enter the auxiliary offload mode, it sends a first request to the user plane network element, wherein the first request carries the flow description information of the service flow 1, and the offload information is the 3GPP access technology indication, and the validity period is 5. minutes, the reason value is "low battery".
用户面网元收到来自该终端设备的第一请,其中,该第一请求中包含上行业务流1的流描述信息,分流信息为3GPP接入技术指示,有效期为5分钟,原因值为“低电量”。The user plane network element receives the first request from the terminal device, wherein the first request includes the flow description information of the upstream service flow 1, the offload information is the 3GPP access technology indication, the validity period is 5 minutes, and the reason value is " low power".
该用户面网元查找业务流1对应下行业务流,获取下行业务流的第一分流规则。The user plane network element searches for the downlink service flow corresponding to the service flow 1, and obtains the first distribution rule of the downlink service flow.
情况1:若该第一分流规则中包含的主分流模式为最小时延分流模式(Smallest Delay),及辅助分流模式指示。Case 1: If the primary offloading mode included in the first offloading rule is the smallest delay offloading mode (Smallest Delay), and the auxiliary offloading mode indication.
用户面网元基于辅助分流模式指示、低电量原因值确定修改下行分流模式。即用户面网元不再使用该第一分流规则中的最小时延模式为下行分流,而是基于终端设备发送的分流信息生成第二分流规则。上述第二分流规则为将下行业务流1全部分流到3GPP接入侧的分流规则。The user plane network element determines to modify the downlink offload mode based on the auxiliary offload mode indication and the low battery cause value. That is, the user plane network element no longer uses the minimum delay mode in the first offloading rule as downlink offloading, but generates the second offloading rule based on offloading information sent by the terminal device. The above-mentioned second offload rule is a offload rule for all offloading the downlink service flow 1 to the 3GPP access side.
此外,用户面网元基于终端设备发送的有效期或本地策略为该第二分流规则设置有效期为5分钟。当用户面网元收到业务流1的下行数据包时,用户面网元查找到包含最小时延分流模式的第一分流规则与全部分流到3GPP侧的第二分流规则。当该第二分流规则有效时,该第二分流规则的优先级高于该第一分流规则,因此用户面网元采用该第二分流规则为下行业务流1分流,即将业务流1的下行流全部通过3GPP接入侧隧道传输。In addition, the user plane network element sets the validity period for the second offload rule to 5 minutes based on the validity period sent by the terminal device or the local policy. When the user plane network element receives the downlink data packet of the service flow 1, the user plane network element finds the first offloading rule including the minimum delay offloading mode and the second offloading rule all of which are offloaded to the 3GPP side. When the second offloading rule is valid, the priority of the second offloading rule is higher than that of the first offloading rule, so the user plane network element adopts the second offloading rule to offload the downstream service flow 1, that is, the downstream traffic of the service flow 1 All are transmitted through the 3GPP access side tunnel.
情况二:若该第一分流规则中包含的主分流模式为最小时延分流模式,但不包含辅助分流模式指示。Case 2: If the primary offloading mode included in the first offloading rule is the smallest-delay offloading mode, but does not include an indication of the auxiliary offloading mode.
则用户面网元对于业务流1的下行数据包仍然采用最小时延模式进行分流。Then, the user plane network element still uses the minimum delay mode to offload the downlink data packets of the service flow 1.
具体的,如图6所示,本申请实施例提供的另一种业务流分流方法的步骤如下:Specifically, as shown in FIG. 6 , the steps of another service flow distribution method provided by the embodiment of the present application are as follows:
S600、终端设备接收来自会话管理网元的第一策略信息,该第一策略信息包括上行业务流的第一处理方法。S600. The terminal device receives first policy information from the session management network element, where the first policy information includes a first processing method for an upstream service flow.
本申请实施例一种可选的方式,该第一处理方法可以理解为该会话管理网元指示该终端设备进行业务流处理的主分流模式。In an optional manner of the embodiment of the present application, the first processing method may be understood as a primary offload mode in which the session management network element instructs the terminal device to perform service flow processing.
示例性的,假设分流模式包括主备模式(Active-Standby),最小时延模式(Smallest Delay),负载均衡模式(Load-Balancing),优先级模式(priority-based)等。Exemplarily, it is assumed that the offloading mode includes an active-standby mode (Active-Standby), a minimal delay mode (Smallest Delay), a load-balancing mode (Load-Balancing), a priority-based mode, and the like.
其中,该第一处理方法为主备模式(Active-Standby),则表示该会话管理网元指示该终端设备将该主备模式作为主分流模式进行业务流分流。Wherein, the first processing method is an active-standby mode (Active-Standby), which means that the session management network element instructs the terminal device to use the active-standby mode as an active-standby mode to offload service flows.
进一步的,该第一策略信息还包括第一指示信息,该第一指示信息用于指示该终端设备可以确定该上行业务流的处理方法。Further, the first policy information further includes first indication information, where the first indication information is used to indicate that the terminal device can determine the processing method of the upstream service flow.
S601、该终端设备确定满足第一条件。S601. The terminal device determines that the first condition is satisfied.
本申请实施例一种可选的方式,该终端设备确定满足第一条件,可以理解为该终端设备确定满足进入辅助分流模式。In an optional manner of the embodiment of the present application, if the terminal device determines that the first condition is satisfied, it may be understood that the terminal device determines that it is satisfied to enter the auxiliary offload mode.
需要说明的是,本申请实施例该第一条件并不限定为进入辅助分流模式,或者满足辅助分流模式等,任何适用于本申请实施例的分流模式都属于本申请实施例保护范围。It should be noted that the first condition in this embodiment of the present application is not limited to entering the auxiliary distribution mode, or satisfying the auxiliary distribution mode, etc. Any distribution mode applicable to the embodiment of the application belongs to the protection scope of the embodiment of the application.
本申请实施例一种可选的方式,该终端设备可以根据当前自身的状态,确定是否满足第一条件,即确定是否触发该终端设备进入辅助分流模式。In an optional manner of the embodiment of the present application, the terminal device may determine whether the first condition is satisfied according to the current state of the terminal device, that is, determine whether to trigger the terminal device to enter the auxiliary offload mode.
进一步的,该终端设备可以根据当前自身的状态,确定自身的哪些业务流进入辅助分流模式,即确定进入辅助分流模式的目标业务流。Further, the terminal device may determine, according to the current state of its own, which service flows of itself enter the auxiliary offloading mode, that is, determine the target service flows that enter the auxiliary offloading mode.
示例性的,当该终端设备的电量低于电量阈值时,则触发业务流1~3进入辅助分流模式。其中,假设该电量阈值为10%,当前该终端设备的电量为9%。该终端设备确定自身的电量低于电量阈值9%,因此,该终端设备触发该业务流1~3进入辅助分流模式。Exemplarily, when the power of the terminal device is lower than the power threshold, the service flows 1 to 3 are triggered to enter the auxiliary offload mode. Wherein, it is assumed that the power threshold is 10%, and the current power of the terminal device is 9%. The terminal device determines that its own power is lower than the power threshold by 9%. Therefore, the terminal device triggers the service flows 1 to 3 to enter the auxiliary offload mode.
S602、该终端设备确定该上行业务流的第二处理方法,并采用该第二处理方法处理该上行业务流。S602. The terminal device determines a second processing method for the upstream service flow, and uses the second processing method to process the upstream service flow.
本申请实施例一种可选的方式,该终端设备确定该上行业务流的该第二处理方法,可以理解为该终端设备确定该上行业务流进入辅助分流模式的分流方案。In an optional manner in this embodiment of the present application, the terminal device determines the second processing method for the upstream service flow, which may be understood as the terminal device determining the offload scheme in which the upstream service flow enters the auxiliary offload mode.
其中,该终端设备中的该上行业务流进入辅助分流模式后,该终端设备对于该上行业务流不在使用主分流模式分流,而是由该终端设备自己决定分流方式。Wherein, after the upstream service flow in the terminal device enters the auxiliary offloading mode, the terminal device does not use the primary offloading mode for the upstream service flow, but decides the offloading mode by the terminal device itself.
例如,该终端设备选择一侧接入技术传输该上行业务流,或者按该终端设备确定的分流比例在两个接入技术传输该上行业务流。For example, the terminal device selects one access technology to transmit the upstream service flow, or transmits the upstream service flow in two access technologies according to the distribution ratio determined by the terminal device.
进一步的,本申请实施例中该终端设备确定该上行业务流的第二处理方法时,需要根据该第一策略信息中的第一指示信息,确定该终端设备可以确定该上行业务流的处理方法。Further, in the embodiment of the present application, when the terminal device determines the second processing method of the upstream service flow, it needs to determine the processing method that the terminal device can determine the upstream service flow according to the first indication information in the first policy information. .
S603、该终端设备确定满足第二条件。S603. The terminal device determines that the second condition is satisfied.
本申请实施例一种可选的方式,该终端设备确定满足第二条件,可以理解为该终端设备确定恢复主分流模式。In an optional manner of the embodiment of the present application, if the terminal device determines that the second condition is satisfied, it may be understood that the terminal device determines to restore the main offload mode.
需要说明的是,本申请实施例该第二条件并不限定为进入主分流模式,或者满足主分流模式等,任何适用于本申请实施例的分流模式都属于本申请实施例保护范围。It should be noted that the second condition in this embodiment of the present application is not limited to entering the main branch mode, or satisfying the main branch mode, etc. Any branch mode applicable to the embodiment of the present application falls within the protection scope of the embodiment of the present application.
本申请实施例一种可选的方式,该终端设备可以根据当前自身的状态,确定是否满足第二条件,即确定是否触发该终端设备恢复主分流模式。In an optional manner of the embodiment of the present application, the terminal device may determine whether the second condition is satisfied according to the current state of the terminal device, that is, determine whether to trigger the terminal device to resume the main offload mode.
进一步的,该终端设备可以根据当前自身的状态,确定自身的哪些业务流恢复主分流模式,即确定恢复主分流模式的目标业务流。Further, the terminal device may determine which of its own service flows to restore to the main offload mode according to the current state of the terminal device, that is, to determine the target service flow for restoring the main offload mode.
示例性的,当该终端设备的电量高于电量阈值时,则触发业务流1~3恢复主分流模式。其中,假设该电量阈值为10%,当前该终端设备的电量为50%。该终端设备确定自身的电量高于电量阈值9%,因此,该终端设备触发该业务流1~3恢复主分流模式。Exemplarily, when the power of the terminal device is higher than the power threshold, the service flows 1 to 3 are triggered to resume the main offload mode. Wherein, it is assumed that the power threshold is 10%, and the current power of the terminal device is 50%. The terminal device determines that its own power is higher than the power threshold by 9%. Therefore, the terminal device triggers the service flows 1 to 3 to resume the main offload mode.
S604、该终端设备恢复该第一处理方法处理该上行业务流。S604. The terminal device restores the first processing method to process the upstream service flow.
S605、该终端设备向用户面网元发送第一通知信息,该第一通知信息用于通知该终端设备采用第一处理方法处理该业务流。S605: The terminal device sends first notification information to the user plane network element, where the first notification information is used to notify the terminal device to use the first processing method to process the service flow.
可以理解的,该终端设备向用户面网元发送第一通知信息,目的在于告知该用户面网元该终端设备已经恢复主分流模式。其中,该第一通知信息可以为本申请业务流分流方法过程中提出的新消息;或者,该第一通知信息可以是对该终端设备向该用户面网元发送的请求的改进。例如,该第一通知信息可以为PMF请求。It can be understood that the terminal device sends the first notification information to the user plane network element to inform the user plane network element that the terminal device has resumed the primary offload mode. Wherein, the first notification information may be a new message proposed in the process of the service flow offloading method of the application; or, the first notification information may be an improvement of the request sent by the terminal device to the user plane network element. For example, the first notification information may be a PMF request.
S606、该用户面网元接收来自会话管理网元的第二策略信息,该第二策略信息包括终端设备的下行业务流的第四处理方法。S606. The user plane network element receives second policy information from the session management network element, where the second policy information includes a fourth processing method for the downlink service flow of the terminal device.
本申请实施例一种可选的方式,该第四处理方法可以理解为该会话管理网元指示该用户面网元进行业务流处理的主分流模式。In an optional manner of the embodiment of the present application, the fourth processing method may be understood as a primary offload mode in which the session management network element instructs the user plane network element to perform service flow processing.
S607、该用户面网元采用第四处理方法处理该下行业务流。S607. The user plane network element uses the fourth processing method to process the downlink service flow.
本申请实施例一种可选的方式,该用户面网元在该终端设备进入辅助分流模式后,自身也采用辅助分流模式进行业务流处理。In an optional manner of the embodiment of the present application, after the terminal device enters the auxiliary offload mode, the user plane network element also uses the assistant offload mode to process the service flow.
本申请实施例中该第四处理方法可以为辅助分流模式。In this embodiment of the present application, the fourth processing method may be an auxiliary distribution mode.
S608、该用户面网元接收来自该终端设备的第一通知信息。S608. The user plane network element receives the first notification information from the terminal device.
S609、该用户面网元根据该第一通知信息恢复采用该第三处理方法处理该下行业务流。S609. The user plane network element resumes processing the downlink service flow by using the third processing method according to the first notification information.
通过上述方法,本申请实施例中该终端设备在满足第二条件,可以恢复主分流模式后,向该用户面网元发送该第三通知信息,从而可以使该用户面网元在接收到该第三通知信息后,恢复该第一处理方法处理该上行业务流,提供了一种支持用户面网元协同该终端设备一起恢复主模式进行下行业务流分流的方案,适应性更强。Through the above method, in this embodiment of the present application, after the terminal device satisfies the second condition and can restore the main offload mode, it sends the third notification information to the user plane network element, so that the user plane network element can receive the After the third notification information, the first processing method is restored to process the upstream service flow, which provides a solution that supports the user plane network element to cooperate with the terminal device to restore the main mode to perform downstream service flow offloading, which is more adaptable.
需要说明的是,上述图6该的业务流分流的步骤,并不构成对本申请实施例的限定,例如,上述S606与S600并没有先后顺序的区分,该S606可以在该S600之前执行。此外,本申请实施例在执行该业务流分流方法的过程中,可以根据实际情况,对上述步骤进行适应性调整变形等。It should be noted that the steps of service flow distribution shown in FIG. 6 above do not limit the embodiments of the present application. For example, the above S606 and S600 are not distinguished in order, and the S606 can be performed before the S600. In addition, in the process of executing the service flow offloading method in the embodiment of the present application, the above steps may be adaptively adjusted and deformed according to the actual situation.
进一步的,本申请实施例一种可选的方式,该第一通知信息除了用于指示该终端设备恢复采用第一处理方法处理该业务流以为,还可以包括下列内容中的部分或全部:Further, in an optional manner in this embodiment of the present application, in addition to instructing the terminal device to resume using the first processing method to process the service flow, the first notification information may also include some or all of the following contents:
内容1:该终端设备恢复该第一处理方法处理该上行业务流的原因信息。Content 1: Information on the reason why the terminal device restores the first processing method to process the upstream service flow.
其中,该原因信息可以为用来表示该终端设备的内部状态,或者用来表示该终端设备恢复主分流模式的原因,或表示链路状态,或接入技术状态,或用户喜好等。The reason information may be used to indicate the internal state of the terminal device, or the reason why the terminal device resumes the main offload mode, or the link status, or the access technology status, or user preference.
例如,该原因信息包括低电量指示、低功耗指示、资源优化指示、链路拥塞指示、接入信号弱指示、或user preference指示等。For example, the reason information includes low battery indication, low power consumption indication, resource optimization indication, link congestion indication, weak access signal indication, or user preference indication, etc.
内容2:该终端设备预计恢复该第一处理方法处理该上行业务流的第一时长信息。Content 2: The terminal device is expected to restore the first duration information for processing the upstream service flow by the first processing method.
其中,该第一时长信息可以为具体的有效时长,例如,表示当前状态持续的有效时长, 或该辅助分流模式持续的有效时长等。The first duration information may be a specific valid duration, for example, indicating the duration of the current state, or the duration of the auxiliary offload mode.
该第一时长信息还可以为具体的时间点(例如3:00PM)或时间段(例如2:00PM-3:00PM)。The first duration information may also be a specific time point (eg, 3:00PM) or a time period (eg, 2:00PM-3:00PM).
示例性的,该第一通知信息中包含的该第一时长信息为3:00PM,则意味着该终端设备在3:00PM将恢复第一处理方法处理该业务流,因此,该用户面设备可以在3:00PM也恢复第三处理方法处理该业务流。Exemplarily, the first duration information included in the first notification information is 3:00 PM, which means that the terminal device will resume the first processing method to process the service flow at 3:00 PM. Therefore, the user plane device can The third processing method is also resumed to process the traffic flow at 3:00 PM.
内容3:该第一处理方法的信息。Content 3: Information of the first processing method.
该第一处理方法的信息可以为该业务流的业务流描述信息,分流信息等。The information of the first processing method may be service flow description information, distribution information and the like of the service flow.
本申请实施例一种可选的方式,该业务流描述信息可以是上行业务流或/和下行业务流的流描述信息。In an optional manner of the embodiment of the present application, the service flow description information may be flow description information of an upstream service flow or/and a downstream service flow.
该分流信息包括该终端设备请求的针对下行业务流的分流方案,或者是该终端设备使用的针对上行业务流的分流方案,具体包含接入技术指示,或者接入技术与分流比例信息。The offloading information includes the offloading scheme for the downlink service flow requested by the terminal device, or the offloading scheme for the upstream service flow used by the terminal device, and specifically includes access technology indication, or access technology and offloading ratio information.
其中,当该业务流描述信息为该下行业务流时,该用户面网元可以直接基于该描述信息确定该下行业务流。Wherein, when the service flow description information is the downlink service flow, the user plane network element may directly determine the downlink service flow based on the description information.
当该业务流描述信息为该下行业务流对应的上行业务流时,该用户面网元将该上行业务流的描述信息映射成下行业务流描述信息,基于该下行业务流描述信息确定下行业务流。When the service flow description information is the upstream service flow corresponding to the downstream service flow, the user plane network element maps the description information of the upstream service flow into the downstream service flow description information, and determines the downstream service flow based on the downstream service flow description information .
进一步的,本申请实施例中,该用户面网元在接收到该第一通知信息后,还可以向该终端设备发送第二通知信息,该第二通知信息包括第二指示信息,该第二指示信息用于指示该用户面网元是否改变该下行业务流的处理方法。Further, in this embodiment of the present application, after receiving the first notification information, the user plane network element may also send second notification information to the terminal device, where the second notification information includes second indication information, the second notification information The indication information is used to indicate whether the user plane network element changes the processing method of the downlink service flow.
其中,该第二通知信息可以理解为该用户面网元接收到该第一通知信息后反馈给该终端设备的响应信息。从而告知该终端设备,该用户面网元是否对该业务流采用与该终端设备一致的处理方法等。The second notification information may be understood as response information fed back to the terminal device by the user plane network element after receiving the first notification information. Thus, the terminal device is informed whether the user plane network element adopts the same processing method as the terminal device for the service flow, and the like.
本申请实施例一种可选的方式,该第二通知信息中可以包括下列内容中的部分或全部:In an optional manner of this embodiment of the present application, the second notification information may include some or all of the following contents:
内容1:该用户面网元拒绝恢复该第三处理方法处理该上行业务流的原因信息。Content 1: The user plane network element refuses to restore the reason information for processing the upstream service flow by the third processing method.
其中,该原因信息可以为用来表示该用户面网元的内部状态,或者用来表示该用户面网元的策略信息等。The reason information may be used to indicate the internal state of the user plane network element, or policy information used to indicate the user plane network element, and the like.
内容2:该用户面网元不改变该下行业务流的处理方法的第二时长信息。Content 2: The user plane network element does not change the second duration information of the processing method of the downlink service flow.
具体的,当该第二指示信息指示该用户面网元没有改变该下行业务流的处理方法时,该第二通知消息可以包括不改变该下行业务流的处理方法的第二时长信息。Specifically, when the second indication information indicates that the user plane network element does not change the processing method of the downlink service flow, the second notification message may include second duration information that does not change the processing method of the downlink service flow.
其中,该第二时长信息用于指示该终端设备在该第二时长信息指定的时间内,该终端设备不向该用户面网元发送该第一通知信息。The second duration information is used to instruct the terminal device not to send the first notification information to the user plane network element within the time specified by the second duration information.
需要说明的是,本申请实施例中该终端设备对业务流进行处理的第一次处理方法,可以为该终端设备进行业务流处理的主分流模式,也可以为其他分流模式,为了方便介绍,后续示例用主分流模式进行代替。本申请实施例中该终端设备对业务流进行处理的第二次处理方法,可以为该终端设备进行业务流处理的辅助分流模式,也可以为其他分流模式,为了方便介绍,后续用辅助分流模式进行代替。本申请实施例中该用户面网元对业务流进 行处理的第四次处理方法,可以为该用户面网元进行业务流处理的主分流模式,也可以为其他分流模式,为了方便介绍,后续用主分流模式进行代替。本申请实施例中该用户面网元对业务流进行处理的第三次处理方法,可以为该用户面网元进行业务流处理的辅助分流模式,也可以为其他分流模式,为了方便介绍,后续用辅助分流模式进行代替。It should be noted that, in the embodiment of the present application, the first processing method for the terminal device to process the service flow may be the main offload mode in which the terminal device performs the service flow processing, and may also be other offload modes. For the convenience of introduction, Subsequent examples use the main split mode instead. In the embodiment of the present application, the second processing method for processing the service flow by the terminal device may be an auxiliary offloading mode in which the terminal device performs service flow processing, or other offloading modes. For the convenience of introduction, the auxiliary offloading mode will be used subsequently. replace. In the embodiment of the present application, the fourth processing method for processing the service flow by the user plane network element may be the main offload mode in which the user plane network element performs the service flow processing, or may be other offload modes. For the convenience of introduction, follow-up Use the main split mode instead. In this embodiment of the present application, the third processing method for the user plane network element to process the service flow may be an auxiliary offload mode for the user plane network element to process the service flow, or may be other offload modes. For the convenience of introduction, follow-up Substitute with auxiliary split mode.
其中,为了更好的对上述图6所示的内容进行介绍,提供下述实施例二进行详细说明,需要说明的是,下述实施例仅用于举例说明,并不构成对本申请实施例的限定。Among them, in order to better introduce the content shown in FIG. 6, the following embodiment 2 is provided for detailed description. It should be noted that the following embodiment is only used for illustration, and does not constitute the embodiment of the present application. limited.
实施例二、该第一通知信息为终止辅助分流模式的请求。Embodiment 2. The first notification information is a request to terminate the auxiliary offload mode.
具体的,如图7所示,本申请实施例提供的一种业务流分流方法的步骤如下:Specifically, as shown in FIG. 7 , the steps of a service flow distribution method provided by an embodiment of the present application are as follows:
S700、终端设备基于当前状态退出辅助分流模式。S700. The terminal device exits the auxiliary distribution mode based on the current state.
本申请实施例一种可选的实施方式,当该终端设备电量充足时(例如,电量超过20%)和/或链路状态不拥塞时,该终端设备退出辅助分流模式,即该终端设备恢复使用主模式分流上行业务流。In an optional implementation manner of this embodiment of the present application, when the power of the terminal device is sufficient (for example, the power exceeds 20%) and/or the link state is not congested, the terminal device exits the auxiliary offload mode, that is, the terminal device recovers Use main mode to offload upstream traffic.
S701、该终端设备向用户面网元发送第一通知信息,该第一通知信息为终止辅助分流模式的请求。S701. The terminal device sends first notification information to a user plane network element, where the first notification information is a request to terminate the auxiliary offload mode.
其中,该第一通知信息中包含辅助模式终止指示或恢复主模式指示,用来表示辅助分流模式终止,或表示该终端设备采用主模式分流上行业务流,或用来表示该终端设备请求下行业务流基于主模式分流。The first notification information includes an auxiliary mode termination indication or a recovery main mode indication, which is used to indicate that the auxiliary offload mode is terminated, or that the terminal device adopts the main mode to offload the upstream service flow, or is used to indicate that the terminal device requests a downlink service. Streams are split based on the main mode.
本申请实施例一种可选的实施方式,该第一通知信息可以为PMF请求。In an optional implementation manner of this embodiment of the present application, the first notification information may be a PMF request.
本申请实施例一种可选的实施方式,该第一通知信息中还可以包含业务流描述信息,用以表示针对上述业务流终止辅助分流模式,或针对上述业务流恢复主模式进行分流。In an optional implementation manner of the embodiment of the present application, the first notification information may further include service flow description information, which is used to indicate that the auxiliary offload mode is terminated for the above-mentioned service flow, or the offload is performed for the above-mentioned service flow recovery to the main mode.
S702、该用户面网元接收该第一通知信息。S702. The user plane network element receives the first notification information.
S703、该用户面网元根据该第一通知信息确定恢复主分流模式。S703. The user plane network element determines to restore the primary offload mode according to the first notification information.
本申请实施例一种可选的实施方式,该用户面网元收到该第一通知信息后,用户面网元基于上述信息更新下行业务流分流模式,即恢复主分流模式。In an optional implementation manner of the embodiment of the present application, after the user plane network element receives the first notification information, the user plane network element updates the downlink service flow offload mode based on the above information, that is, restores the main offload mode.
其中,该图7所示的分流方法可以与该图5所示的分流方法进行结合,例如,该用户面网元接收到终止辅助分流模式的指示后,将该第三策略信息设置为无效,从而恢复基于该第二策略信息中包含的主分流模式进行下行业务分流。即该用户面网元处于该辅助分流模式,且该辅助分流模式的执行时长还处于有效时长内,但是该用户面网元接收到了终止辅助分流模式的指示,则该用户面网元直接恢复主分流模式。The offloading method shown in FIG. 7 may be combined with the offloading method shown in FIG. 5 . For example, after receiving the instruction to terminate the auxiliary offloading mode, the user plane network element sets the third policy information to be invalid, Thus, downlink service offloading based on the primary offloading mode included in the second policy information is resumed. That is, the user plane NE is in the auxiliary offload mode, and the execution duration of the auxiliary offload mode is still within the valid duration, but the user plane NE receives an instruction to terminate the auxiliary offload mode, then the user plane NE directly resumes the main offload mode. Split mode.
其中,本申请实施例中该S700之前,还可以执行上述S500~S507的步骤,为简洁描述,可以参见上述场景一中的内容,在此不进行赘述。Wherein, before the S700 in this embodiment of the present application, the above steps S500 to S507 may also be performed. For the sake of brevity, reference may be made to the content in the above scenario 1, which will not be repeated here.
进一步的,该用户面网元在接收到该第一通知信息之后,还可以向该终端设备反馈响应消息,该响应消息用于告知是否接收该第一通知信息。Further, after receiving the first notification information, the user plane network element may also feed back a response message to the terminal device, where the response message is used to notify whether to receive the first notification information.
本申请实施例一种可选的方式,该响应消息包含成功或拒绝指示,用以表示该用户面网元是否基于该终端设备发送的该第一通知信息修改了下行业务流分流规则。In an optional manner of the embodiment of the present application, the response message includes a success or rejection indication, which is used to indicate whether the user plane network element modifies the downlink service flow distribution rule based on the first notification information sent by the terminal device.
具体的,若该响应消息包含的是成功指示或接受指示,则用来表示该用户面网元基于该终端设备的第一通知信息修改了下行业务流分流规则。Specifically, if the response message contains a success indication or an acceptance indication, it is used to indicate that the user plane network element has modified the downlink service flow distribution rule based on the first notification information of the terminal device.
若该响应消息包含的是拒绝或失败指示,则用来表示该用户面网元拒绝基于该终端设 备的第一通知信息修改下行业务流分流规则,继续使用辅助分流模式对下行业务流进行分流。If the response message contains a rejection or failure indication, it is used to indicate that the user plane network element refuses to modify the downlink service flow distribution rule based on the first notification information of the terminal device, and continues to use the auxiliary distribution mode to distribute the downlink service flow.
本申请实施例另一种可选的方式,通过该响应消息的消息名称表示成功或失败。In another optional manner of the embodiment of the present application, success or failure is indicated by the message name of the response message.
具体的,当该用户面网元接受该终端设备发送的第一通知信息后,该用户面网元反馈该第一通知信息成功消息或该终端设备恢复主分流模式成功消息。当该用户面网元拒绝该终端设备发送的第一通知信息后,该用户面网元反馈该第一通知信息失败消息或恢复主分流模式失败消息。Specifically, after the user plane network element accepts the first notification information sent by the terminal device, the user plane network element feeds back a success message of the first notification information or a success message of the terminal device restoring the primary offload mode. After the user plane network element rejects the first notification information sent by the terminal device, the user plane network element feeds back a failure message of the first notification information or a failure message of restoring the main offload mode.
此外,本申请实施例中该响应消息中还可以包含该用户面网元拒绝的原因。In addition, in this embodiment of the present application, the response message may further include the reason for the rejection of the user plane network element.
通过上述对本申请方案的介绍,可以理解的是,上述实现各设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。From the above introduction to the solution of the present application, it can be understood that, in order to realize the above functions, the above implementing devices include corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present invention can be implemented in hardware or a combination of hardware and computer software in conjunction with the units and algorithm steps of each example described in the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.
基于以上实施例,如图8所示,本申请实施例还提供了一种业务流处理装置,该装置包括处理器800、存储器801和通信接口802。Based on the above embodiments, as shown in FIG. 8 , an embodiment of the present application further provides a service flow processing apparatus, the apparatus including a processor 800 , a memory 801 and a communication interface 802 .
处理器800负责管理总线架构和通常的处理,存储器801可以存储处理器800在执行操作时所使用的数据。收发机通信接口802用于在处理器800的控制下接收和发送数据与存储器801进行数据通信。The processor 800 is responsible for managing the bus architecture and general processing, and the memory 801 may store data used by the processor 800 when performing operations. The transceiver communication interface 802 is used to receive and transmit data under the control of the processor 800 for data communication with the memory 801 .
所述处理器800可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。所述处理器800还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。存储器801可以包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The processor 800 may be a central processing unit (CPU), a network processor (NP), or a combination of CPU and NP. The processor 800 may further include a hardware chip. The above-mentioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a general-purpose array logic (generic array logic, GAL) or any combination thereof. The memory 801 may include: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk and other media that can store program codes.
所述处理器800、所述存储器801以及所述通信接口802之间相互连接。本申请实施例一种可选的实施方式,所述处理器800、所述存储器801以及所述通信接口802可以通过总线803相互连接;所述总线803可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The processor 800 , the memory 801 and the communication interface 802 are connected to each other. In an optional implementation manner of the embodiment of the present application, the processor 800, the memory 801, and the communication interface 802 may be connected to each other through a bus 803; the bus 803 may be a peripheral component interconnection standard (peripheral component) interconnect, PCI) bus or extended industry standard architecture (extended industry standard architecture, EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, and the like. For convenience of representation, only one thick line is used in FIG. 8, but it does not mean that there is only one bus or one type of bus.
其中,当所述业务流处理装置为终端设备时,处理器800,用于读取存储器801中的程序并执行如图4所示的S400~S404中所述终端设备执行的方法流程;或执行如图5所示的S500~S511中所述终端设备执行的方法流程;执行如图6所示的S600~S603中所述终端设备执行的方法流程;执行如图7所示的S700~S706中所述终端设备执行的方法流程。Wherein, when the service flow processing apparatus is a terminal device, the processor 800 is configured to read the program in the memory 801 and execute the method process performed by the terminal device in S400 to S404 shown in FIG. 4; or execute As shown in FIG. 5 , the method process performed by the terminal device described in S500 to S511 is performed; the method process performed by the terminal device described in S600 to S603 as shown in FIG. 6 is performed; The method flow performed by the terminal device.
其中,当所述业务流处理装置为用户面网元时,处理器800,用于读取存储器801中的程序并执行如图4所示的S400~S404中所述用户面网元执行的方法流程;或执行如图5 所示的S500~S511中所述用户面网元执行的方法流程;执行如图6所示的S600~S603中所述用户面网元执行的方法流程;执行如图7所示的S700~S706中所述用户面网元执行的方法流程。Wherein, when the service flow processing device is a user plane network element, the processor 800 is configured to read the program in the memory 801 and execute the method performed by the user plane network element in S400 to S404 shown in FIG. 4 . or execute the method flow of the user plane network element execution described in S500 to S511 shown in FIG. 5 ; execute the method flow of the user plane network element execution described in S600 to S603 shown in FIG. 6 ; The flow of the method performed by the user plane network element in S700 to S706 shown in 7.
如图9所示,本发明提供一种业务流处理装置,该业务流处理装置包括:至少一个处理单元900、至少一个存储单元901以及至少一个通信单元902,其中,所述通信单元902用于在所述处理单元900的控制下接收和发送数据,所述存储单元901存储有程序代码。As shown in FIG. 9, the present invention provides a service flow processing apparatus, the service flow processing apparatus includes: at least one processing unit 900, at least one storage unit 901 and at least one communication unit 902, wherein the communication unit 902 is used for Data is received and transmitted under the control of the processing unit 900, and the storage unit 901 stores program codes.
其中,本申请实施例一种可选的方式,所述业务流处理装置为终端设备,当所述程序代码被所述处理单元900执行时,使得所述处理单元900执行下列过程:Wherein, in an optional manner of the embodiment of the present application, the service flow processing apparatus is a terminal device, and when the program code is executed by the processing unit 900, the processing unit 900 is caused to perform the following process:
用于通过通信单元902,接收来自会话管理网元的第一策略信息,所述第一策略信息包括上行业务流的第一处理方法;若所述终端设备满足第一条件,确定所述上行业务流或下行业务流的第二处理方法;通过通信单元902向用户面网元发送第一通知信息,所述第一通知信息用于通知用户面网元确定所述上行业务流对应的下行业务流的第三处理方法。for receiving, through the communication unit 902, the first policy information from the session management network element, where the first policy information includes the first processing method of the upstream service flow; if the terminal device satisfies the first condition, determine the upstream service The second processing method for the flow or downlink service flow; the first notification information is sent to the user plane network element through the communication unit 902, and the first notification information is used to notify the user plane network element to determine the downlink service flow corresponding to the upstream service flow. the third treatment method.
作为一种可能的实现方法,所述第一策略信息还包括第一指示信息,所述第一指示信息用于指示所述终端设备可以确定所述上行业务流的处理方法。As a possible implementation method, the first policy information further includes first indication information, where the first indication information is used to indicate that the terminal device can determine a processing method for the upstream service flow.
作为一种可能的实现方法,所述第一通知信息包括:所述终端设备确定所述第二处理方法处理所述上行业务流的原因信息;和/或,所述终端设备确定所述第二处理方法有效的第一时长信息。As a possible implementation method, the first notification information includes: the terminal device determines the reason information for the second processing method to process the upstream service flow; and/or, the terminal device determines the second The first duration information for which the processing method is valid.
作为一种可能的实现方法,所述第一通知信息还包括:所述第二处理方法的信息。As a possible implementation method, the first notification information further includes: information of the second processing method.
作为一种可能的实现方法,该第二处理方法的信息,包括:该下行业务流对应的上行业务流的描述信息和分流信息;或者,该下行业务流的流描述信息和分流信息。As a possible implementation method, the information of the second processing method includes: description information and distribution information of the upstream service flow corresponding to the downstream service flow; or, flow description information and distribution information of the downstream service flow.
作为一种可能的实现方法,所述方法处理单元900还用于:As a possible implementation method, the method processing unit 900 is further configured to:
接收来自所述用户面网元的第二通知信息,所述第二通知信息包括第二指示信息,所述第二指示信息用于指示所述用户面网元是否改变所述下行业务流的处理方法。Receive second notification information from the user plane network element, where the second notification information includes second indication information, and the second indication information is used to indicate whether the user plane network element changes the processing of the downlink service flow method.
作为一种可能的实现方法,如所述第二指示信息指示所述用户面网元没有改变所述下行业务流的处理方法,所述第二通知消息还包括:不改变所述下行业务流的处理方法的第二时长信息。As a possible implementation method, if the second indication information indicates that the user plane network element does not change the processing method of the downlink service flow, the second notification message further includes: The second duration information of the processing method.
作为一种可能的实现方法,所述方法还包括:在所述第二时长信息指定的时间内,所述终端设备不向所述用户面网元发送所述第一通知信息。As a possible implementation method, the method further includes: within the time specified by the second duration information, the terminal device does not send the first notification information to the user plane network element.
作为一种可能的实现方法,所述方法处理单元900还用于:As a possible implementation method, the method processing unit 900 is further configured to:
若所述终端设备满足第二条件,确定采用所述第一处理方法处理所述上行业务流。If the terminal device satisfies the second condition, it is determined to use the first processing method to process the upstream service flow.
作为一种可能的实现方法,所述方法处理单元900还用于:As a possible implementation method, the method processing unit 900 is further configured to:
向所述用户面网元发送第三通知信息,用于通知所述终端设备采用所述第一处理方法处理所述上行业务流。Send third notification information to the user plane network element to notify the terminal device to use the first processing method to process the upstream service flow.
其中,本申请实施例一种可选的方式,所述业务流处理装置为用户面网元,当所述程序代码被所述处理单元900执行时,使得所述处理单元900执行下列过程:In an optional manner of the embodiment of the present application, the service flow processing apparatus is a user plane network element, and when the program code is executed by the processing unit 900, the processing unit 900 is caused to perform the following process:
用于通过通信单元902,接收来自会话管理网元的第二策略信息,所述第二策略信息包括终端设备的下行业务流的第四处理方法;采用所述第四处理方法处理所述下行业务流;通过通信单元902接收来自所述终端设备的第一通知信息,所述第一通知信息用于通知用 户面网元确定所述下行业务流的第三处理方法;根据所述第一通知信息确定所述第三处理方法。for receiving, through the communication unit 902, second policy information from the session management network element, where the second policy information includes a fourth processing method for the downlink service flow of the terminal device; using the fourth processing method to process the downlink service flow; receiving first notification information from the terminal device through the communication unit 902, where the first notification information is used to notify the user plane network element to determine the third processing method for the downlink service flow; according to the first notification information The third processing method is determined.
作为一种可能的实现方法,所述第二策略信息还包括第二指示信息,所述第二指示信息用于指示所述用户面可以确定所述下行业务流的处理方法。As a possible implementation method, the second policy information further includes second indication information, where the second indication information is used to indicate that the user plane can determine a processing method for the downlink service flow.
作为一种可能的实现方法,所述第一通知信息包括:所述终端设备确定第二处理方法处理所述上行业务流的原因信息。As a possible implementation method, the first notification information includes: the terminal device determines the reason information for the second processing method to process the upstream service flow.
作为一种可能的实现方法,所述方法处理单元900具体用于:As a possible implementation method, the method processing unit 900 is specifically used for:
根据所述原因信息和第二指示信息确定所述第三处理方法。作为一种可能的实现方法,该第一通知信息还包括:The third processing method is determined according to the reason information and the second indication information. As a possible implementation method, the first notification information further includes:
该下行业务流对应的上行业务流的描述信息和分流信息;或者,该下行业务流的流描述信息和分流信息。Description information and offload information of the upstream service flow corresponding to the downlink service flow; or, flow description information and offload information of the downlink service flow.
作为一种可能的实现方法,所述方法处理单元900具体用于:As a possible implementation method, the method processing unit 900 is specifically used for:
该用户面网元根据该上行或下行业务流的描述信息和分流信息确定该第三处理方法。The user plane network element determines the third processing method according to the description information and offload information of the uplink or downlink service flow.
作为一种可能的实现方法,所述第三处理方法的优先级高于所述第四处理方法。As a possible implementation method, the priority of the third processing method is higher than that of the fourth processing method.
作为一种可能的实现方法,所述方法处理单元900还用于:As a possible implementation method, the method processing unit 900 is further configured to:
确定采用所述第三处理方法的第二时长信息。Determine the second duration information using the third processing method.
作为一种可能的实现方法,所述第一通知信息还包括:所述终端设备确定所述第二处理方法有效的第一时长信息。As a possible implementation method, the first notification information further includes: first duration information for which the terminal device determines that the second processing method is valid.
作为一种可能的实现方法,所述方法处理单元900具体用于:As a possible implementation method, the method processing unit 900 is specifically used for:
基于所述第一时长信息确认所述第二时长信息。The second duration information is confirmed based on the first duration information.
作为一种可能的实现方法,所述方法处理单元900还用于:As a possible implementation method, the method processing unit 900 is further configured to:
向用户面网元发送第二通知信息,所述第二通知信息包括第二指示信息,所述第二指示信息用于指示所述用户面网元是否改变所述下行业务流的处理方法。Send second notification information to the user plane network element, where the second notification information includes second indication information, where the second indication information is used to indicate whether the user plane network element changes the processing method of the downlink service flow.
作为一种可能的实现方法,如所述第二指示信息指示所述用户面网元没有改变所述下行业务流的处理方法,所述第二通知消息还包括:不改变所述下行业务流的处理方法的第二时长信息。As a possible implementation method, if the second indication information indicates that the user plane network element does not change the processing method of the downlink service flow, the second notification message further includes: The second duration information of the processing method.
作为一种可能的实现方法,所述方法处理单元900还用于:As a possible implementation method, the method processing unit 900 is further configured to:
在所述第二时长信息指定的时间内,不接收来自所述终端设备发送的所述第一通知信息。Within the time specified by the second duration information, the first notification information sent from the terminal device is not received.
作为一种可能的实现方法,所述方法处理单元900还用于:As a possible implementation method, the method processing unit 900 is further configured to:
接收来自所述终端设备的第三通知信息,所述第三通知信息用于通知所述终端设备采用第一处理方法处理所述业务流。Receive third notification information from the terminal device, where the third notification information is used to notify the terminal device to use the first processing method to process the service flow.
作为一种可能的实现方法,所述方法处理单元900还用于:As a possible implementation method, the method processing unit 900 is further configured to:
恢复所述第四处理方法处理所述业务流。The fourth processing method is resumed to process the service flow.
如图9所示,本发明提供一种业务流处理装置,该业务流处理装置包括:至少一个处理单元900、至少一个存储单元901以及至少一个通信单元902,其中,所述通信单元902用于在所述处理单元900的控制下接收和发送数据,所述存储单元901存储有程序代码。As shown in FIG. 9, the present invention provides a service flow processing apparatus, the service flow processing apparatus includes: at least one processing unit 900, at least one storage unit 901 and at least one communication unit 902, wherein the communication unit 902 is used for Data is received and transmitted under the control of the processing unit 900, and the storage unit 901 stores program codes.
其中,本申请实施例一种可选的方式,所述业务流处理装置为终端设备,当所述程序代码被所述处理单元900执行时,使得所述处理单元900执行下列过程:Wherein, in an optional manner of the embodiment of the present application, the service flow processing apparatus is a terminal device, and when the program code is executed by the processing unit 900, the processing unit 900 is caused to perform the following process:
用于通过通信单元902,接收来自会话管理网元的第一策略信息,所述第一策略信息包括上行业务流的第一处理方法;在满足第一条件后,确定所述上行业务流或下行业务流的第二处理方法,并采用所述第二处理方法处理所述上行业务流;确定满足第二条件,恢复所述第一处理方法处理所述上行业务流;通过通信单元902向用户面网元发送第一通知信息,所述第一通知信息用于通知所述终端设备采用第一处理方法处理所述业务流。for receiving, through the communication unit 902, the first policy information from the session management network element, where the first policy information includes the first processing method of the upstream service flow; after satisfying the first condition, determine the upstream service flow or the downstream service flow a second processing method for the service flow, and use the second processing method to process the upstream service flow; determine that the second condition is satisfied, restore the first processing method to process the upstream service flow; send the communication unit 902 to the user plane The network element sends first notification information, where the first notification information is used to notify the terminal device to use the first processing method to process the service flow.
作为一种可能的实现方法,所述第一策略信息还包括第一指示信息,所述第一指示信息用于指示所述终端设备可以确定所述上行业务流的处理方法。As a possible implementation method, the first policy information further includes first indication information, where the first indication information is used to indicate that the terminal device can determine a processing method for the upstream service flow.
作为一种可能的实现方法,所述第一通知信息包括:所述终端设备恢复所述第一处理方法处理所述上行业务流的原因信息。As a possible implementation method, the first notification information includes: reason information for the terminal device to resume processing the upstream service flow by the first processing method.
作为一种可能的实现方法,所述第一通知信息还包括:所述第一处理方法的信息。As a possible implementation method, the first notification information further includes: information of the first processing method.
作为一种可能的实现方法,所述方法处理单元900还用于:As a possible implementation method, the method processing unit 900 is further configured to:
接收来自所述用户面网元的第二通知信息,所述第二通知信息包括第三指示信息,所述第三指示信息用于指示所述用户面网元是否改变所述下行业务流的处理方法。Receive second notification information from the user plane network element, where the second notification information includes third indication information, where the third indication information is used to indicate whether the user plane network element changes the processing of the downlink service flow method.
如图9所示,本发明提供一种业务流处理装置,该业务流处理装置包括:至少一个处理单元900、至少一个存储单元901以及至少一个通信单元902,其中,所述通信单元902用于在所述处理单元900的控制下接收和发送数据,所述存储单元901存储有程序代码。As shown in FIG. 9, the present invention provides a service flow processing apparatus, the service flow processing apparatus includes: at least one processing unit 900, at least one storage unit 901 and at least one communication unit 902, wherein the communication unit 902 is used for Data is received and transmitted under the control of the processing unit 900, and the storage unit 901 stores program codes.
其中,本申请实施例一种可选的方式,所述业务流处理装置为用户面网元,当所述程序代码被所述处理单元900执行时,使得所述处理单元900执行下列过程:In an optional manner of the embodiment of the present application, the service flow processing apparatus is a user plane network element, and when the program code is executed by the processing unit 900, the processing unit 900 is caused to perform the following process:
用于通过通信单元902,接收来自会话管理网元的第二策略信息,所述第二策略信息包括终端设备的下行业务流的第三处理方法;采用第四处理方法处理所述下行业务流;通过通信单元902接收来自所述终端设备的第一通知信息,所述第一通知信息用于通知所述终端设备恢复采用第一处理方法处理所述业务流;根据所述第一通知信息恢复采用所述第三处理方法处理所述下行业务流。for receiving, through the communication unit 902, second policy information from the session management network element, where the second policy information includes a third processing method for the downlink service flow of the terminal device; using the fourth processing method to process the downlink service flow; Receive first notification information from the terminal device through the communication unit 902, where the first notification information is used to notify the terminal device to resume using the first processing method to process the service flow; resume using the first processing method according to the first notification information The third processing method processes the downlink service flow.
作为一种可能的实现方法,所述第二策略信息还包括第二指示信息,所述第二指示信息用于指示所述用户面可以确定所述下行业务流的处理方法。As a possible implementation method, the second policy information further includes second indication information, where the second indication information is used to indicate that the user plane can determine a processing method for the downlink service flow.
作为一种可能的实现方法,所述第一通知信息包括:所述终端设备恢复采用第一处理方法处理所述上行业务流的原因信息。As a possible implementation method, the first notification information includes: reason information for the terminal device to resume using the first processing method to process the upstream service flow.
作为一种可能的实现方法,所述用户面网元采用第四处理方法处理所述下行业务流之前,所述方法通信单元902还用于:As a possible implementation method, before the user plane network element adopts the fourth processing method to process the downlink service flow, the method communication unit 902 is further configured to:
接收来自所述终端设备的第三通知信息;所述第三通知信息用于通知用户面网元确定所述下行业务流的第四处理方法;receiving third notification information from the terminal device; the third notification information is used to notify a user plane network element to determine a fourth processing method for the downlink service flow;
所述方法处理单元900还用于:The method processing unit 900 is also used for:
根据所述第三通知信息确定所述第四处理方法。The fourth processing method is determined according to the third notification information.
作为一种可能的实现方法,所述第三通知信息包括:所述终端设备确定第二处理方法处理所述上行业务流的原因信息。As a possible implementation method, the third notification information includes: the terminal device determines the reason information for the second processing method to process the upstream service flow.
作为一种可能的实现方法,所述方法处理单元900具体用于:As a possible implementation method, the method processing unit 900 is specifically used for:
根据所述终端设备确定第二处理方法处理所述上行业务流或下行业务流的原因信息和第二指示信息确定所述第四处理方法。The fourth processing method is determined according to the reason information and the second indication information that the terminal device determines the second processing method to process the upstream service flow or the downstream service flow.
作为一种可能的实现方法,所述方法处理单元900具体用于:As a possible implementation method, the method processing unit 900 is specifically used for:
根据所述终端设备确定第二处理方法处理所述上行业务流或下行业务流的原因信息和所述用户面网元本地策略确定所述第四处理方法。The fourth processing method is determined according to the reason information for determining the second processing method by the terminal device to process the upstream service flow or the downstream service flow and the local policy of the user plane network element.
作为一种可能的实现方法,所述方法处理单元900具体用于:As a possible implementation method, the method processing unit 900 is specifically used for:
根据所述终端设备确定第二处理方法处理所述上行业务流或下行业务流的原因信息、第二指示信息以及所述用户面网元本地策略确定所述第四处理方法。The fourth processing method is determined according to the reason information for processing the upstream service flow or the downstream service flow, the second indication information and the local policy of the user plane network element determined by the terminal device in the second processing method.
作为一种可能的实现方法,所述第一通知信息和/或所述第三通知信息,还包括:所述下行业务流对应的上行业务流的描述信息和分流信息。As a possible implementation method, the first notification information and/or the third notification information further includes: description information and offload information of the upstream service flow corresponding to the downstream service flow.
作为一种可能的实现方法,所述第一通知信息和/或所述第三通知信息,还包括:所述下行业务流的描述信息和分流信息。As a possible implementation method, the first notification information and/or the third notification information further includes: description information and offload information of the downlink service flow.
作为一种可能的实现方法,所述第四处理方法的优先级高于所述第三处理方法。As a possible implementation method, the priority of the fourth processing method is higher than that of the third processing method.
作为一种可能的实现方法,所述第三通知信息还包括:所述终端设备确定所述第二处理方法有效的第一时长信息。As a possible implementation method, the third notification information further includes: first duration information for which the terminal device determines that the second processing method is valid.
作为一种可能的实现方法,所述方法处理单元900还用于:As a possible implementation method, the method processing unit 900 is further configured to:
确定采用所述第四处理方法的第二时长信息。Determine the second duration information using the fourth processing method.
作为一种可能的实现方法,所述方法处理单元900具体用于:As a possible implementation method, the method processing unit 900 is specifically used for:
基于所述第一时长信息确认所述第二时长信息。The second duration information is confirmed based on the first duration information.
作为一种可能的实现方法,所述方法通信单元902还用于:As a possible implementation method, the method communication unit 902 is further configured to:
向终端设备发送第二通知信息,所述第二通知信息包括第三指示信息,所述第三指示信息用于指示所述用户面网元是否改变所述下行业务流的处理方法。Send second notification information to the terminal device, where the second notification information includes third indication information, where the third indication information is used to indicate whether the user plane network element changes the processing method of the downlink service flow.
作为一种可能的实现方法,如所述第三指示信息指示所述用户面网元没有改变所述下行业务流的处理方法,所述第二通知消息还包括:不改变所述下行业务流的处理方法的第二时长信息。As a possible implementation method, if the third indication information indicates that the user plane network element does not change the processing method of the downlink service flow, the second notification message further includes: The second duration information of the processing method.
作为一种可能的实现方法,所述方法处理单元900还用于:As a possible implementation method, the method processing unit 900 is further configured to:
在所述第二时长信息指定的时间内,不接收来自所述终端设备发送的所述第三通知信息。During the time specified by the second duration information, the third notification information sent from the terminal device is not received.
上述图9所示的通信单元902和处理单元900的功能可以由处理器800运行存储器801中的程序执行,或者由处理器800单独执行。The functions of the communication unit 902 and the processing unit 900 shown in FIG. 9 may be executed by the processor 800 running the program in the memory 801 , or executed by the processor 800 alone.
图9所示的业务流处理装置,可以为上述实施例中的终端设备,或所述终端设备中的芯片;或可以为上述实施例中的用户面网元,或所述用户面网元中的芯片。The service flow processing apparatus shown in FIG. 9 may be the terminal device in the foregoing embodiment, or a chip in the terminal device; or may be the user plane network element in the foregoing embodiment, or the user plane network element in the foregoing embodiment. chip.
如上述图2所示,本发明提供一种业务流处理系统,该业务流处理系统包括:终端设备200、会话管理网元210以及用户面网元220;As shown in FIG. 2 above, the present invention provides a service flow processing system, and the service flow processing system includes: a terminal device 200, a session management network element 210, and a user plane network element 220;
本申请实施例一种可选的方式:An optional manner in this embodiment of the present application:
所述会话管理网元210,用于向所述终端设备发送第一策略信息,所述第一策略信息包括上行业务流的第一处理方法;以及,还用于向所述用户面网元发送第二策略信息,所述第二策略信息包括终端设备的下行业务流的第四处理方法;The session management network element 210 is configured to send first policy information to the terminal device, where the first policy information includes a first processing method for an upstream service flow; and is further configured to send to the user plane network element second policy information, where the second policy information includes a fourth method for processing downlink service flows of the terminal device;
所述终端设备200,用于接收来自会话管理网元的第一策略信息;若所述终端设备满足第一条件,确定所述上行业务流或下行业务流的第二处理方法;向用户面网元发送第一 通知信息,所述第一通知信息用于通知用户面网元确定所述上行业务流对应的下行业务流的第三处理方法;The terminal device 200 is configured to receive the first policy information from the session management network element; if the terminal device satisfies the first condition, determine the second processing method of the upstream service flow or the downstream service flow; The element sends first notification information, where the first notification information is used to notify the user plane network element to determine the third processing method of the downlink service flow corresponding to the uplink service flow;
所述用户面网元220,用于接收来自会话管理网元的第二策略信息;采用所述第四处理方法处理所述下行业务流;接收来自所述终端设备的第一通知信息,所述第一通知信息用于通知用户面网元确定所述下行业务流的第三处理方法;根据所述第一通知信息确定所述第三处理方法。The user plane network element 220 is configured to receive the second policy information from the session management network element; use the fourth processing method to process the downlink service flow; receive the first notification information from the terminal device, the The first notification information is used to notify the user plane network element to determine the third processing method of the downlink service flow; the third processing method is determined according to the first notification information.
本申请实施例另一种可选的方式:Another optional manner in this embodiment of the present application:
所述会话管理网元210,用于向所述终端设备发送第一策略信息,所述第一策略信息包括上行业务流的第一处理方法;以及,还用于向所述用户面网元发送第二策略信息,所述第二策略信息包括终端设备的下行业务流的第三处理方法;The session management network element 210 is configured to send first policy information to the terminal device, where the first policy information includes a first processing method for an upstream service flow; and is further configured to send to the user plane network element second policy information, where the second policy information includes a third method for processing downlink service flows of the terminal device;
所述终端设备200,用于接收来自会话管理网元的第一策略信息;在满足第一条件后,确定所述上行业务流或下行业务流的第二处理方法,并采用所述第二处理方法处理所述上行业务流;确定满足第二条件,恢复所述第一处理方法处理所述上行业务流;向用户面网元发送第一通知信息,所述第一通知信息用于通知所述终端设备采用第一处理方法处理所述业务流;The terminal device 200 is configured to receive the first policy information from the session management network element; after satisfying the first condition, determine the second processing method of the upstream service flow or the downstream service flow, and adopt the second processing method The method processes the upstream service flow; determines that the second condition is satisfied, and restores the first processing method to process the upstream service flow; sends first notification information to a user plane network element, where the first notification information is used to notify the The terminal device uses the first processing method to process the service flow;
所述用户面网元220,用于接收来自会话管理网元的第二策略信息;采用第四处理方法处理所述下行业务流;接收来自所述终端设备的第一通知信息,所述第一通知信息用于通知所述终端设备恢复采用第一处理方法处理所述业务流;根据所述第一通知信息恢复采用所述第三处理方法处理所述下行业务流。The user plane network element 220 is configured to receive the second policy information from the session management network element; use the fourth processing method to process the downlink service flow; receive the first notification information from the terminal equipment, the first The notification information is used to notify the terminal device to resume using the first processing method to process the service flow; and to resume using the third processing method to process the downlink service flow according to the first notification information.
在一些可能的实施方式中,本发明实施例提供的业务流分流方法的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序代码在计算机设备上运行时,所述程序代码用于使所述计算机设备执行本说明书中描述的根据本发明各种示例性实施方式的业务流分流方法中的步骤。In some possible implementations, various aspects of the service flow distribution method provided by the embodiments of the present invention may also be implemented in the form of a program product, which includes program code, and when the program code runs on a computer device, all The program code is used to cause the computer device to execute the steps in the service flow offloading method according to various exemplary embodiments of the present invention described in this specification.
所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
根据本发明的实施方式的用于执行业务流分流的程序产品,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在服务器设备上运行。然而,本发明的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被信息传输、装置或者器件使用或者与其结合使用。A program product for performing traffic offloading according to an embodiment of the present invention may adopt a portable compact disk read only memory (CD-ROM) and include program codes, and may run on a server device. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an information transmission, apparatus, or device.
可读信号介质可以包括在基带中或者作为小区一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由周期网络动作系统、装置或者器件使用或 者与其结合使用的程序。A readable signal medium may include a data signal propagated in baseband or as part of a cell, carrying readable program code therein. Such propagated data signals may take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium can also be any readable medium, other than a readable storage medium, that can transmit, propagate, or transport a program for use by or in connection with a periodic network action system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、有线、光缆、RF等,或者上述的任意合适的组合。Program code embodied on a readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本发明操作的程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算设备,或者,可以连接到外部计算设备。Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural Programming Language - such as the "C" language or similar programming language. The program code may execute entirely on the user computing device, partly on the user device, as a stand-alone software package, partly on the user computing device and partly on a remote computing device, or entirely on the remote computing device or server execute on. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device.
本申请实施例针对终端设备执行业务流分流方法还提供一种计算设备可读存储介质,即断电后内容不丢失。该存储介质中存储软件程序,包括程序代码,当所述程序代码在计算设备上运行时,该软件程序在被一个或多个处理器读取并执行时可实现本申请实施例上面任何一种业务流分流的方案。Embodiments of the present application further provide a computing device-readable storage medium for a terminal device to perform a service flow offloading method, that is, content is not lost after a power failure. Software programs are stored in the storage medium, including program codes. When the program codes are run on a computing device, the software programs can implement any of the above embodiments of the present application when read and executed by one or more processors. A solution for business flow diversion.
本申请实施例针对网络设备执行业务流分流方法还提供一种计算设备可读存储介质,即断电后内容不丢失。该存储介质中存储软件程序,包括程序代码,当所述程序代码在计算设备上运行时,该软件程序在被一个或多个处理器读取并执行时可实现本申请实施例上面任何一种业务流分流的方案。The embodiments of the present application further provide a computing device-readable storage medium for a network device to perform a service flow offloading method, that is, the content is not lost after a power failure. Software programs are stored in the storage medium, including program codes. When the program codes are run on a computing device, the software programs can implement any of the above embodiments of the present application when read and executed by one or more processors. A solution for business flow diversion.
以上参照示出根据本申请实施例的方法、装置(系统)和/或计算机程序产品的框图和/或流程图描述本申请。应理解,可以通过计算机程序指令来实现框图和/或流程图示图的一个块以及框图和/或流程图示图的块的组合。可以将这些计算机程序指令提供给通用计算机、专用计算机的处理器和/或其它可编程数据处理装置,以产生机器,使得经由计算机处理器和/或其它可编程数据处理装置执行的指令创建用于实现框图和/或流程图块中所指定的功能/动作的方法。The present application is described above with reference to block diagrams and/or flowchart illustrations illustrating methods, apparatus (systems) and/or computer program products according to embodiments of the present application. It will be understood that a block of the block diagrams and/or flowchart illustrations, and combinations of blocks of the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a general purpose computer, a processor of a special purpose computer and/or other programmable data processing apparatus to produce a machine such that the instructions executed via the computer processor and/or other programmable data processing apparatus create a Methods of implementing the functions/acts specified in the block diagrams and/or flowchart blocks.
相应地,还可以用硬件和/或软件(包括固件、驻留软件、微码等)来实施本申请。更进一步地,本申请可以采取计算机可使用或计算机可读存储介质上的计算机程序产品的形式,其具有在介质中实现的计算机可使用或计算机可读程序代码,以由指令执行系统来使用或结合指令执行系统而使用。在本申请上下文中,计算机可使用或计算机可读介质可以是任意介质,其可以包含、存储、通信、传输、或传送程序,以由指令执行系统、装置或设备使用,或结合指令执行系统、装置或设备使用。Accordingly, the present application may also be implemented in hardware and/or software (including firmware, resident software, microcode, etc.). Still further, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by an instruction execution system or Used in conjunction with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium can be any medium that can contain, store, communicate, transmit, or transmit a program for use by, or in connection with, an instruction execution system, apparatus, or device. device or equipment use.
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包括这些改动和变型在内。Although the application has been described in conjunction with specific features and embodiments thereof, it will be apparent that various modifications and combinations can be made therein without departing from the spirit and scope of the application. Accordingly, this specification and drawings are merely exemplary illustrations of the application as defined by the appended claims, and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of this application. Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.