Method and system for flow processing, storage medium and electronic device
The SMF network element determines the scene state of the target terminal and obtains the diversion strategy, which solves the problem of limited application scope of diversion services in UL CL technology, and realizes the effective diversion processing of the target terminal traffic in roaming and local states.
Patent Information
- Application Number
- CN202211176548.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-26
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2042-09-26
AI Technical Summary
The application scope of diversion services in UL CL technology is limited, and it can only provide diversion services to users within the province located in the home province, and cannot meet the needs of cross-provincial roaming users.
The SMF network element determines the scene state (roaming state or local state) of the target terminal, obtains the corresponding target diversion strategy, and sends it to the target diversion UPF network element, so as to realize the diversion processing of the traffic data of the target terminal.
The application scope of diversion services in UL CL technology has been expanded, so that the traffic data sent by the target terminal in the roaming state and the local state can be diversioned, and the traffic processing capabilities of cross-provincial roaming users are improved.
Smart Images

Figure CN115942386B_ABST
Abstract
Description
Background Art
[0002] With the continuous evolution of 5G networks, UL CL (uplink classifier) technology can well meet users' needs for data not leaving the campus, local offloading, low latency, etc. By using UL CL technology to divert 5G uplink data, users can offload local traffic while accessing Internet services.
[0003] In the related art, the offload service in the UL CL technology has great limitations, for example, the offload service can only be provided to users within the province of the home province.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0005] The purpose of the present disclosure is to provide a method, system, electronic device and storage medium for traffic processing, so as to improve the application scope of offload services in UL CL technology.
[0006] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0007] According to one aspect of the present disclosure, a method for traffic processing is provided, including: a target terminal initiates a packet data unit PDU session request to a session management function SMF network element; the SMF network element determines the scene state of the target terminal according to the PDU session request, and obtains a target diversion strategy corresponding to the scene state; wherein the scene state is a roaming state or a local state; the SMF network element determines a target diversion user plane function UPF network element with a diversion function according to the target diversion strategy, and then sends the target diversion strategy to the target diversion UPF network element; the target diversion UPF network element performs diversion processing on the traffic data sent by the target terminal according to the target diversion strategy.
[0008] In one embodiment of the present disclosure, when the target terminal is located in a roaming area, the SMF network element includes an intermediate SMF network element located in the roaming area and a home SMF network element located in the home area of the target terminal; wherein the target terminal initiates a packet data unit PDU session request to the session management function SMF network element, including: the target terminal initiates a first PDU session request carrying a roaming scenario label to the intermediate SMF network element through a roaming base station and a roaming access and mobility management function AMF network element; the intermediate SMF network element forwards the first PDU session request to the home SMF network element; when the target terminal is located in the home area, the SMF network element includes a home SMF network element located in the home area; wherein the target terminal initiates a packet data unit PDU session request to the session management function SMF network element, including: the target terminal initiates a second PDU session request carrying a local scenario label to the home SMF network element through the home base station and the home AMF network element.
[0009] In one embodiment of the present disclosure, the SMF network element determines the scene state of the target terminal according to the PDU session request, including: the home SMF network element determines that the scene state of the target terminal is a roaming state according to the roaming scene tag carried in the first PDU session request; or, the home SMF network element determines that the scene state of the target terminal is a local state according to the local scene tag carried in the second PDU session request.
[0010] In one embodiment of the present disclosure, when the scenario state is a roaming state, the target diversion strategy is a roaming diversion strategy; wherein, the SMF network element obtains the target diversion strategy corresponding to the scenario state, including: the home SMF network element sends a roaming policy acquisition request to the policy control function PCF network element; the home SMF network element receives the roaming diversion strategy returned by the PCF network element, and sends the roaming diversion strategy to the intermediate SMF network element; the intermediate SMF network element receives the roaming diversion strategy as the target diversion strategy.
[0011] In one embodiment of the present disclosure, when the target diversion strategy is a roaming diversion strategy, the target diversion UPF network element is a first diversion UPF network element for diverting traffic in a roaming location; wherein the roaming diversion strategy indicates that an intermediate UPF network element located in the roaming location is used as the first diversion UPF network element; the roaming diversion strategy also indicates: the first UPF network element located in the home location is used as the roaming main anchor point UPF network element, and the second UPF network element located in the roaming location is used as the roaming auxiliary anchor point UPF network element; wherein the target diversion UPF network element is based on the target diversion strategy. The traffic data sent by the terminal is diverted and processed, including: the intermediate UPF network element diverts the roaming intranet service flow data in the traffic data to the first UPF network element, and then forwards the roaming intranet service flow data to the intranet campus UPF network element located in the home location through the first UPF network element, so that the roaming intranet service flow data flows to the intranet campus data network through the intranet campus UPF network element; the intermediate UPF network element diverts the roaming public network service flow data in the traffic data to the second UPF network element, so that the roaming public network service flow data flows to the Internet data network through the second UPF network element.
[0012] In one embodiment of the present disclosure, when the scene state is a local state, the target diversion strategy is a local diversion strategy; wherein, the SMF network element obtains the target diversion strategy corresponding to the scene state, including: the belonging SMF network element sends a local policy acquisition request to the policy control function PCF network element; the belonging SMF network element receives the local diversion strategy returned by the PCF network element as the target diversion strategy.
[0013] In one embodiment of the present disclosure, when the target diversion strategy is a local diversion strategy, the target diversion UPF network element is a second diversion UPF network element used for local diversion; wherein, the local diversion strategy indicates that the intranet campus UPF network element located in the home location is used as the second diversion UPF network element; the local diversion strategy also indicates: the first UPF network element located in the home location is used as the local main anchor point UPF network element, and the intranet campus UPF network element is used as the local auxiliary anchor point UPF network element; wherein, the target diversion UPF network element performs diversion processing on the traffic data sent by the target terminal according to the target diversion strategy, including: the intranet campus UPF network element diverts the local public network service flow data in the traffic data to the first UPF network element, so that the local public network service flow data flows to the Internet data network through the first UPF network element; the intranet campus UPF network element diverts the local intranet service flow data in the traffic data to the intranet campus data network.
[0014] According to another aspect of the present disclosure, a system for traffic processing is provided, including: a target terminal, used to initiate a packet data unit PDU session request to a session management function SMF network element; the SMF network element, used to determine the scene state of the target terminal according to the PDU session request, and obtain a target diversion strategy corresponding to the scene state; wherein the scene state is a roaming state or a local state; the SMF network element is also used to determine a target diversion user plane function UPF network element with a diversion function according to the target diversion strategy, and then send the target diversion strategy to the target diversion UPF network element; the target diversion UPF network element is used to perform diversion processing on the traffic data sent by the target terminal according to the target diversion strategy.
[0015] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the method for traffic processing described above is implemented.
[0016] According to another aspect of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above-mentioned method for traffic processing by executing the executable instructions.
[0017] The method for traffic processing provided by the embodiment of the present disclosure can enable the SMF network element to determine whether the scene state of the target terminal is roaming or local according to the PDU session request, and then obtain the target diversion strategy corresponding to the scene state, and send the target diversion strategy to the target diversion UPF network element set therein, and use the target diversion UPF network element to divert the traffic data sent by the target terminal according to the target diversion strategy. It can be seen that through the method provided by the present disclosure, the diversion strategy for traffic in the roaming state and the local state can be set respectively, and the SMF network element can identify whether the target terminal is currently in the roaming state or the local state according to the PDU session request, and then determine the diversion strategy in different scene states for issuance, so that the traffic data sent by the target terminal in the roaming state and the local state can be diverted.
[0018] Furthermore, the method for traffic processing provided by the embodiment of the present disclosure can also configure the UPF network element with the diversion function as a UPF network element located in the roaming province in the roaming strategy, and configure the roaming main anchor point UPF network element as the first UPF network element located in the belonging place (such as the provincial core UPF network element of the belonging province), and configure the roaming auxiliary anchor point UPF network element as the second UPF network element located in the roaming place (such as the provincial core UPF network element of the roaming province), so that the traffic sent by the target terminal in the inter-provincial roaming is diverted in the current province. On the one hand, through the diversion of the intermediate UPF network element, the first UPF network element and the intranet park UPF network element, the target terminal in the inter-provincial roaming can also access the intranet services of the belonging province, which brings convenience to its access to the intranet services; on the other hand, through the diversion of the intermediate UPF network element and the second UPF network element, the traffic of the target terminal in the inter-provincial roaming to access the Internet can be directly exited in the current province, thereby improving access efficiency.
[0019] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0021] Figure 1 A flow chart of a method for traffic processing according to an embodiment of the present disclosure is shown;
[0022] Figure 2 A flow chart of a method for flow processing according to an embodiment of the present disclosure is shown;
[0023] Figure 3 A schematic flow chart showing a method for flow processing according to yet another embodiment of the present disclosure is shown;
[0024] Figure 4 A schematic flow chart showing a method for flow processing according to yet another embodiment of the present disclosure is shown;
[0025] Figure 5 An interactive schematic diagram of a method for traffic processing according to an embodiment of the present disclosure is shown;
[0026] Figure 6 A schematic flow chart showing a method for flow processing according to yet another embodiment of the present disclosure is shown;
[0027] Figure 7A block diagram showing a system for traffic processing according to an embodiment of the present disclosure; and
[0028] Figure 8 A structural block diagram of a computer device for traffic processing in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0029] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.
[0030] The features, structures or characteristics described in the present disclosure may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.
[0031] The accompanying drawings are only schematic diagrams of the present disclosure, and the same reference numerals in the drawings represent the same or similar parts, so their repeated description will be omitted. Some block diagrams shown in the accompanying drawings do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in at least one hardware module or integrated circuit, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0032] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and steps, nor must they be executed in the order described. For example, some steps can be decomposed, and some steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0033] In this specification, the terms "a", "an", "the", "said" and "at least one" are used to indicate the presence of at least one element / component / etc.; the terms "comprising", "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first", "second" and "third" etc. are used only as labels and are not intended to limit the quantity of their objects.
[0034] Figure 1 The method provided in the embodiment of the present disclosure can be executed by any electronic device, but the present disclosure is not limited thereto.
[0035] like Figure 1 The method for flow processing provided by the embodiment of the present disclosure may include the following steps:
[0036] Step S101: The target terminal initiates a PDU (Protocol Data Unit) session request to an SMF (Session Management Function) network element.
[0037] In this step, the target terminal may be a smart phone, a desktop computer, a tablet computer, a laptop computer, a smart speaker, a digital assistant, an AR (Augmented Reality) device, a VR (Virtual Reality) device, a smart wearable device, or a personal computer, such as a laptop computer and a desktop computer. Optionally, the operating system running on the target terminal may include but is not limited to an Android system, an IOS system, a Linux system, a Windows system, etc. It should be noted that the specific type of the target terminal is not limited in the embodiments of the present disclosure.
[0038] The PDU session request may be initiated by the target terminal located in the home location, or may be initiated from the current roaming location when the target terminal is in roaming state. When the target terminal is located in different regions, the target terminal may initiate different PDU session requests to the corresponding SMF network element through the base station deployed in its location, wherein the PDU session request may carry information indicating whether the target terminal is in roaming state; after initiating the PDU session request to the SMF network element, the SMF network element may be used to connect to the UPF (User plane function) network element deployed in the current location of the target terminal, and then connected to the DN (Data Network) through the UPF network element for data transmission.
[0039] Step S103, the SMF network element determines the scene state of the target terminal according to the PDU session request, and obtains the target diversion strategy corresponding to the scene state; wherein the scene state is a roaming state or a local state.
[0040] In this step, the SMF network element can determine the scene state of the target terminal based on the information carried in the PDU session request. For example, the PDU session request can carry additional information for indicating the current location of the target terminal, or information for indicating whether the target terminal is currently in a roaming state or a local state, so that the SMF network element determines the current scene state of the target terminal based on parsing the PDU session request. After determining the current scene state of the target terminal, the SMF network element can further determine the target diversion strategy corresponding to the scene state.
[0041] In some practical applications, different diversion strategies can be set for roaming status and local status respectively to better handle the traffic data sent by the target terminal or the traffic data sent by the DN to the target terminal in different scenarios. Among them, the SMF network element can determine the target diversion strategy from the diversion strategies corresponding to the roaming status and the local status respectively according to the scenario status of the target terminal.
[0042] Step S105, the SMF network element determines a target diversion UPF network element with diversion function according to the target diversion strategy, and then sends the target diversion strategy to the target diversion UPF network element.
[0043] Among them, the target diversion UPF network element can be configured as different UPF network elements in the diversion strategies corresponding to different scenario states. For example, in the diversion strategy corresponding to the roaming state, the target diversion UPF network element can be pre-configured as the first diversion UPF network element for diversion in the roaming location, and in the diversion strategy corresponding to the local state, the target diversion UPF network element can be pre-configured as the second diversion UPF network element for local diversion. In some practical applications, it can be determined which one or several network devices the first diversion UPF network element and the second diversion UPF network element are based on the actual device configuration.
[0044] In this step, after the SMF network element determines the target diversion strategy, it can further determine the target diversion UPF network element with diversion function according to the information set in the target diversion strategy, and then send the target diversion strategy or the diversion rules in the target diversion strategy to the target diversion UPF network element. The UPF network elements and diversion rules set for diversion in different diversion strategies can be different, so that traffic processing in different scenario states can be flexibly responded to.
[0045] Step S107: The target diversion UPF network element performs diversion processing on the traffic data sent by the target terminal according to the target diversion strategy.
[0046] Among them, the uplink traffic data sent by the target terminal can be diverted to the corresponding DN according to the content or characteristics of the uplink traffic data. For example, if the target terminal is located in a roaming area, the traffic data sent by the target terminal can be diverted using the target diversion strategy corresponding to the roaming state. The uplink traffic for accessing the private network campus can be diverted to the campus DN, and the uplink traffic for accessing the Internet can be diverted to the Internet DN (public network DN).
[0047] Through the method for traffic processing provided by the present disclosure, the SMF network element can determine whether the scene state of the target terminal is roaming or local according to the PDU session request, and then obtain the target diversion strategy corresponding to the scene state, and send the target diversion strategy to the target diversion UPF network element set therein, and use the target diversion UPF network element to divert the traffic data sent by the target terminal according to the target diversion strategy. It can be seen that through the method provided by the present disclosure, the diversion strategy for traffic in the roaming state and the local state can be set respectively, and the SMF network element can identify whether the target terminal is currently in the roaming state or the local state according to the PDU session request, and then determine the diversion strategy in different scene states for distribution, so that the traffic data sent by the target terminal in the roaming state and the local state can be diverted.
[0048] In some embodiments, when the target terminal is located in a roaming area, the SMF network elements involved in step S101 may include an intermediate SMF network element (I-SMF network element) located in the roaming area and a home SMF network element located in the home area of the target terminal.
[0049] Among them, step S101 can further include: the target terminal initiates a first PDU session request carrying a roaming scenario label to the intermediate SMF network element through the roaming base station and the roaming AMF (Access and Mobility Management Function) network element; the intermediate SMF network element forwards the first PDU session request to the home SMF network element.
[0050] Based on this, in some embodiments, "the SMF network element determines the scene state of the target terminal according to the PDU session request" in step S103 may further include: the belonging SMF network element determines that the scene state of the target terminal is a roaming state according to the roaming scene tag carried in the first PDU session request.
[0051] In this embodiment, the roaming base station may be a base station deployed in the roaming location where the target terminal is currently located, and the roaming AMF network element may be an AMF network element deployed in the roaming location where the target terminal is currently located; the home SMF network element may be an SMF network element deployed in the home location when the target terminal is registered, and the intermediate SMF may be an SMF network element deployed in the roaming location where the target terminal is currently located and managed by the above-mentioned home SMF network element.
[0052] If the target terminal is currently located in a roaming area, the session request (i.e., PDU session request) sent by the target terminal may carry a roaming scenario tag, which may be used to identify that the target terminal is currently located in a roaming area and is in a roaming state, so that the network element (such as an AMF network element, an SMF network element, etc.) that receives the session request can clearly understand that the target terminal is in a roaming state. As can be seen from this embodiment, when the target terminal initiates a session request carrying a roaming scenario tag in a roaming area, the session request may be sent to the home SMF network element through the base station, AMF network element, and intermediate SMF network element deployed in the roaming area, and the home SMF network element may determine the following information: the initiator of the session request (i.e., the target terminal) is currently located in a roaming area.
[0053] In some embodiments, when the target terminal is located at the home location, the SMF network element involved in step S101 may include a home SMF network element located at the home location.
[0054] Among them, step S101 may further include: the target terminal initiates a second PDU session request carrying a local scenario tag to the belonging SMF network element through the belonging base station and the belonging AMF network element.
[0055] Based on this, in some embodiments, "the SMF network element determines the scene state of the target terminal according to the PDU session request" in step S103 may further include: the home SMF network element determines that the scene state of the target terminal is a roaming state according to the roaming scene tag carried in the first PDU session request; or, the home SMF network element determines that the scene state of the target terminal is a local state according to the local scene tag carried in the second PDU session request.
[0056] In this embodiment, if the target terminal is currently located in the home location, the session request sent by the target terminal may carry a local scenario tag, which can be used to identify that the target terminal is currently located in the home location and is in a local state, so that the network element (such as AMF network element, SMF network element, etc.) that receives the session request can clearly understand that the target terminal is in a local state. It can be seen from this embodiment that when the target terminal initiates a session request carrying a local scenario tag in the home location, the session request can be sent to the home SMF network element through the base station and AMF network element deployed in the home location, and the home SMF network element can determine the following information: the initiator of the session request (i.e., the target terminal) is currently located in the home location.
[0057] In some embodiments, when the scenario state is a roaming state, the target offload strategy may be a pre-configured roaming offload strategy; in this case, the "SMF network element obtains a target offload strategy corresponding to the scenario state" in step S103 may further include:
[0058] The home SMF network element sends a roaming policy acquisition request to the PCF (Policy Control function) network element; the home SMF network element receives the roaming diversion policy returned by the PCF network element, and sends the roaming diversion policy to the intermediate SMF network element; the intermediate SMF network element receives the roaming diversion policy as the target diversion policy.
[0059] In this embodiment, after receiving the session request and identifying that the target terminal is currently in roaming state, the home SMF network element can first obtain the corresponding roaming diversion strategy from the PCF network element, and then send it to the intermediate SMF network element. The intermediate SMF network element can then send the roaming diversion strategy to the corresponding diversion UPF.
[0060] In some embodiments, when the target diversion strategy is a roaming diversion strategy, the target diversion UPF network element is the first diversion UPF network element used for diversion in the roaming location; in some practical applications, the roaming diversion strategy may be set or indicated as follows: the intermediate UPF (I-UPF) network element located in the roaming location is used as the first diversion UPF network element. The intermediate UPF network element may be managed by the intermediate SMF mentioned above. In addition, the roaming diversion strategy may also indicate: the first UPF network element located in the home location is used as the roaming primary anchor point UPF network element, and the second UPF network element located in the roaming location is used as the roaming secondary anchor point UPF network element.
[0061] In this embodiment, the roaming diversion strategy may pre-configure a first diversion UPF network element, a roaming main anchor UPF network element, and a roaming auxiliary anchor UPF network element that provide diversion functions for target terminals in a roaming state, wherein the roaming main anchor UPF network element and the roaming auxiliary anchor UPF network element may be used to direct the traffic data sent by the target terminal in a roaming state to a private network DN or an Internet DN; wherein the correspondence between the roaming main anchor UPF network element and the roaming auxiliary anchor UPF network element and the private network DN or the Internet DN may be set based on actual conditions, and may not be limited in the present disclosed embodiment. For example, in some practical applications, the first UPF network element as the roaming main anchor UPF network element may be a provincial core UPF network element of the affiliated province, which is used to direct the private network traffic in the traffic data to the campus private network, and the second UPF network element as the roaming auxiliary anchor UPF network element may be, for example, a provincial core UPF network element of the roaming province, which is used to direct the public network traffic in the traffic data to the Internet.
[0062] Based on this, in some embodiments, step S107 may further include: the intermediate UPF network element diverts the roaming intranet service flow data in the traffic data to the first UPF network element, and then forwards the roaming intranet service flow data to the intranet campus UPF network element located in the home location through the first UPF network element, so that the roaming intranet service flow data flows to the intranet campus data network through the intranet campus UPF network element; and the intermediate UPF network element diverts the roaming public network service flow data in the traffic data to the second UPF network element, so that the roaming public network service flow data flows to the Internet data network through the second UPF network element.
[0063] Among them, the roaming intranet service flow data can be the traffic data sent by the target terminal in the roaming state to access the private network campus (intranet) located in the home location, and the roaming public network service flow data can be the traffic data sent by the target terminal in the roaming state to access the Internet.
[0064] In this embodiment, the traffic emitted by the target terminal in inter-provincial roaming can be diverted in the current province. On the one hand, by diverting the traffic through the intermediate UPF network element, the first UPF network element and the intranet park UPF network element, the target terminal in inter-provincial roaming can also access the intranet services of the province to which it belongs, which brings convenience for its access to the intranet services. On the other hand, by diverting the traffic through the intermediate UPF network element and the second UPF network element, the traffic of the target terminal in inter-provincial roaming accessing the Internet can be directly discharged in the current province, thereby improving access efficiency.
[0065] In some embodiments, when the scene state is a local state, the target diversion strategy may be a pre-configured local diversion strategy; in this case, "the SMF network element obtains the target diversion strategy corresponding to the scene state" in step S103 may further include: the home SMF network element sends a local policy acquisition request to the policy control function PCF network element; the home SMF network element receives the local diversion strategy returned by the PCF network element as the target diversion strategy.
[0066] In some embodiments, when the target diversion strategy is a local diversion strategy, the target diversion UPF network element is a second diversion UPF network element used for local diversion; in some practical applications, the local diversion strategy may be set or indicated as follows: the intranet campus UPF network element located in the home location is used as the second diversion UPF network element. In addition, the local diversion strategy may also indicate: the first UPF network element located in the home location is used as the local primary anchor UPF network element, and the intranet campus UPF network element is used as the local secondary anchor UPF network element.
[0067] In this embodiment, the local diversion strategy may pre-configure a second diversion UPF network element, a local main anchor UPF network element, and a local auxiliary anchor UPF network element that provide diversion functions for the target terminal in the local state, wherein the local main anchor UPF network element and the local auxiliary anchor UPF network element may be used to direct the traffic data sent by the target terminal in the local state to the private network DN or the Internet DN; wherein the correspondence between the local main anchor UPF network element and the local auxiliary anchor UPF network element and the private network DN or the Internet DN may be set based on actual conditions, and may not be limited in the present disclosed embodiment. For example, in some practical applications, the first UPF network element as the local main anchor UPF network element may be the provincial core UPF of the province to which it belongs, which is used to direct the public network traffic in the traffic data to the Internet, while the intranet campus UPF network element may serve as both a diversion UPF and a local auxiliary anchor UPF network element to direct the private network traffic in the traffic data to the campus private network.
[0068] Based on this, in some embodiments, step S107 may further include: the intranet campus UPF network element diverts the local public network service flow data in the traffic data to the first UPF network element, so that the local public network service flow data flows to the Internet data network through the first UPF network element; and the intranet campus UPF network element diverts the local intranet service flow data in the traffic data to the intranet campus data network.
[0069] Among them, the local intranet business flow data can be the traffic data sent by the target terminal in the local state to access the private network campus (intranet) located in the home location, and the local public network business flow data can be the traffic data sent by the target terminal in the local state to access the Internet.
[0070] Through the settings of the roaming diversion strategy and the local diversion strategy in the above embodiments, it can be seen that in both diversion strategies, the provincial core UPF network element of the affiliated province can be used as the main anchor point (including the roaming main anchor point and the local main anchor point) UPF network element, and the provincial core UPF network element of the roaming province can be used as the roaming auxiliary anchor point UPF network element in the roaming diversion strategy, and the intranet campus UPF network element can be used as the local auxiliary anchor point UPF network element in the local diversion strategy. In this way, only the configuration of the auxiliary anchor point in the two diversion strategies can be different, thereby achieving the effect of saving configuration resources.
[0071] Figure 2 A flow chart of a method for flow processing according to an embodiment of the present disclosure is shown, and the flow chart is a situation when the target terminal is located in a roaming area; Figure 2 As shown, the method for traffic processing provided by the embodiment of the present disclosure may include the following steps.
[0072] Step S201: The target terminal located in the roaming area initiates a first PDU session request carrying a roaming scenario label to the intermediate SMF network element through the roaming base station and the roaming AMF network element.
[0073] Step S203: The intermediate SMF network element forwards the first PDU session request to the home SMF network element.
[0074] Step S205, the home SMF network element determines that the scene state of the target terminal is a roaming state according to the roaming scene label carried in the first PDU session request.
[0075] Step S207, the home SMF network element sends a roaming policy acquisition request to the policy control function PCF network element.
[0076] Step S209, the home SMF network element receives the roaming diversion policy returned by the PCF network element, and sends the roaming diversion policy to the intermediate SMF network element.
[0077] Step S211, the intermediate SMF network element receives the roaming diversion strategy as the target diversion strategy.
[0078] Step S213, the intermediate SMF network element determines the first diversion UPF network element for diversion in the roaming location according to the roaming diversion strategy, and then sends the target diversion strategy to the first diversion UPF network element.
[0079] Among them, the first diversion UPF network element can be an intermediate UPF network element located in the roaming area and managed by an intermediate SMF network element.
[0080] Step S215, the first diversion UPF network element (such as the intermediate UPF network element) determines to use the roaming main anchor point UPF network element to guide the roaming intranet service flow data according to the roaming diversion strategy, and determines to use the roaming auxiliary anchor point UPF network element to guide the roaming public network service flow data according to the roaming diversion strategy.
[0081] Among them, the roaming intranet service flow data can be the traffic data sent by the target terminal in the roaming state to access the private network park (intranet) located in the home location, and the roaming public network service flow data can be the traffic data sent by the target terminal in the roaming state to access the Internet. The roaming primary anchor point UPF network element can be the first UPF network element located in the home location (such as the provincial core UPF network element of the home province), and the roaming secondary anchor point UPF network element can be the second UPF network element located in the roaming location (such as the provincial core UPF network element of the roaming province).
[0082] In step S217, the first diversion UPF network element (such as the intermediate UPF network element) diverts the roaming intranet service flow data in the traffic data sent by the target terminal to the first UPF network element (such as the provincial core UPF network element of the belonging province), and then forwards the roaming intranet service flow data to the intranet campus UPF network element located in the belonging place through the first UPF network element, so that the roaming intranet service flow data flows to the intranet campus data network through the intranet campus UPF network element; and, the first diversion UPF network element diverts the roaming public network service flow data in the traffic data to the second UPF network element (such as the provincial core UPF network element of the roaming province), so that the roaming public network service flow data flows to the Internet data network through the second UPF network element.
[0083] Figure 2 For other contents of the embodiment, reference can be made to the other embodiments mentioned above.
[0084] Through the method shown in this embodiment, the traffic data sent by the target terminal in inter-provincial roaming can be diverted in the current roaming province. On the one hand, through the diversion of the intermediate UPF network element, the first UPF network element and the intranet park UPF network element, the target terminal in inter-provincial roaming can also access the intranet services of the belonging province, thereby facilitating its access to the intranet services; on the other hand, through the diversion of the intermediate UPF network element and the second UPF network element, the traffic of the target terminal in inter-provincial roaming accessing the Internet can be directly discharged in the current province, thereby improving access efficiency.
[0085] Figure 3 A flow chart of a method for flow processing according to another embodiment of the present disclosure is shown, and the flow chart is a case where the target terminal is located at the home location; Figure 3 As shown, the method for traffic processing provided by the embodiment of the present disclosure may include the following steps:
[0086] Step S301: The target terminal initiates a second PDU session request carrying a local scenario tag to the home SMF network element through the home base station and the home AMF network element.
[0087] Step S303: The home SMF network element determines that the scene state of the target terminal is a local state according to the local scene tag carried in the second PDU session request.
[0088] Step S305, the home SMF network element sends a local policy acquisition request to the policy control function PCF network element.
[0089] Step S307, the home SMF network element receives the local diversion strategy returned by the PCF network element as the target diversion strategy.
[0090] Step S309, the affiliated SMF network element determines the second diversion UPF network element for diversion at the affiliated location according to the local diversion strategy, and then sends the local diversion strategy to the second diversion UPF network element.
[0091] Among them, the second diversion UPF network element can be an intranet campus UPF network element located in the home location.
[0092] Step S311, the second diversion UPF network element (such as the intranet campus UPF network element) determines to use the local main anchor point UPF network element to divert local public network business flow data according to the local diversion strategy, and determines to use the local auxiliary anchor point UPF network element to divert local intranet business flow data according to the local diversion strategy.
[0093] Among them, the local intranet service flow data can be the traffic data sent by the target terminal in the local state to access the private network campus (intranet) located in the belonging place, and the local public network service flow data can be the traffic data sent by the target terminal in the local state to access the Internet. The local main anchor point UPF network element can be the first UPF network element located in the belonging place (such as the provincial core UPF network element of the belonging province), and the local auxiliary anchor point UPF network element can be the same as the second diversion UPF network element, that is, it can also be set to the intranet campus UPF network element located in the belonging place (that is, the intranet campus UPF network element can be used as both a diversion UPF and a local auxiliary anchor point UPF network element to direct the private network traffic in the traffic data to the campus private network).
[0094] Step S313, the second diversion UPF network element (such as the intranet campus UPF network element) diverts the local public network service flow data in the traffic data sent by the target terminal to the first UPF network element (such as the provincial core UPF network element of the province), so that the local public network service flow data flows to the Internet data network through the first UPF network element; and the second diversion UPF network element diverts the local intranet service flow data in the traffic data to the intranet campus data network.
[0095] Figure 3 For other contents of the embodiment, reference can be made to the other embodiments mentioned above.
[0096] Figure 4 A flow chart of a method for traffic processing according to another embodiment of the present disclosure is shown. The method in the flow chart can be executed by an SMF network element, including:
[0097] Step S401: The target terminal initiates a PDU session request carrying a roaming scenario tag or a local scenario tag.
[0098] Step S403, after the home SMF network element receives the PDU session request, it determines whether the target terminal is currently in roaming state according to the tag (roaming scene tag or local scene tag) carried in the PDU session request; if so, execute step S405; if not, execute step S411.
[0099] Step S405: If the home SMF network element determines that the target terminal is currently in roaming state, the home SMF network element obtains the roaming policy including the roaming diversion policy from the PCF network element, and sends the roaming policy to the intermediate SMF network element.
[0100] Step S407, the intermediate SMF network element sets the provincial core UPF of the belonging province as the current main anchor point (i.e., the roaming main anchor point) according to the roaming policy, sets the intermediate UPF network element located in the roaming province as the current diversion UPF network element (i.e., the first diversion UPF network element), and sets the provincial core UPF of the roaming province as the current secondary anchor point (i.e., the roaming secondary anchor point).
[0101] In step S409, the intermediate SMF network element sends the roaming diversion strategy in the roaming strategy to the intermediate UPF network element, so that the intermediate UPF network element diverts the traffic data sent by the target terminal in the roaming state according to the roaming diversion strategy.
[0102] Step S411, if the belonging SMF network element determines that the target terminal is currently in the local state, the belonging SMF network element obtains the local policy including the local diversion policy from the PCF network element, and sets the provincial core UPF of the belonging province as the current main anchor point (i.e., the local main anchor point) according to the local policy, and sets the intranet campus UPF network element located in the belonging province as the current diversion UPF network element (i.e., the second diversion UPF network element) and the current auxiliary anchor point (i.e., the local auxiliary anchor point) (that is, the second diversion UPF network element and the local auxiliary anchor point are both set together, and both are intranet campus UPF network elements).
[0103] Step S413, the affiliated SMF network element sends the local diversion policy in the local policy to the intranet campus UPF network element, so that the intranet campus UPF network element diverts the traffic data sent by the target terminal in the local state according to the local diversion policy.
[0104] Figure 4 For other contents of the embodiment, reference can be made to the other embodiments mentioned above.
[0105] Figure 5 An interactive schematic diagram of a method for traffic processing according to an embodiment of the present disclosure is shown, and the schematic diagram is a situation when a target terminal is located in a roaming area; Figure 5 The network includes: a target terminal 501 located in the roaming province, a gNB (5G base station) 502 in the roaming province, a roaming AMF network element 503, an intermediate SMF network element 504 located in the roaming province, an intermediate UPF network element 507 located in the roaming province, a provincial core UPF network element 508 in the roaming province, a home SMF network element 505 located in the home province, a PCF network element 506, a provincial core UPF network element 509 in the home province, and an intranet campus UPF network element 510. Figure 5 As shown, the traffic processing method provided by the embodiment of the present disclosure may include the following steps.
[0106] Step S501, the target terminal 501 sends a PDU session request to the intermediate SMF network element 504 through the gNB 502 and the roaming AMF network element 503. The PDU session request may carry a roaming scenario tag.
[0107] Step S503, the intermediate SMF network element 504 forwards the PDU session request carrying the roaming scenario label to the home SMF network element 505.
[0108] Step S505, the SMF network element 505 identifies that the target terminal 501 is currently in roaming state according to the roaming scenario tag in the PDU session request, and can send a request for obtaining the roaming diversion strategy to the PCF network element 506, and then obtain the roaming diversion strategy from the PCF network element 506.
[0109] Step S507, the home SMF network element 505 sends the acquired roaming diversion strategy to the intermediate SMF network element 504.
[0110] Step S509, after the intermediate SMF network element 504 receives the roaming diversion strategy, it can determine the following information according to the roaming diversion strategy: select the provincial core UPF network element 509 of the belonging province as the main anchor point, select the intermediate UPF network element 507 of the roaming province as the diversion UPF network element, and select the provincial core UPF network element 508 of the roaming province as the auxiliary anchor point.
[0111] Step S511, the intermediate SMF network element 504 can also send a PSA session request to the provincial core UPF network element 508 of the roaming province to obtain the user IP address.
[0112] In step S513, the intermediate SMF network element 504 transparently transmits the PDU session establishment acceptance message carrying the IP address to the gNB502 in the roaming province, and then the gNB502 in the roaming province transparently transmits it to the target terminal 501 to establish the PDU session.
[0113] After that, an N3 tunnel can be established between the gNB502 of the roaming province and the intermediate UPF network element 507, and an N3 tunnel can be established between the intermediate UPF network element 507 and the provincial core UPF network element 508 of the roaming province, between the intermediate UPF network element 507 and the provincial core UPF network element 509 of the belonging province, and between the provincial core UPF network element 509 of the belonging province and the intranet campus UPF network element 510 to realize data transmission.
[0114] After the above connection and configuration, when the target terminal 501 located in the roaming province sends uplink traffic data, the intermediate UPF network element can divert the uplink traffic data, which specifically includes the following steps.
[0115] In step S515, the intermediate UPF network element directs the public network service flow data in the uplink traffic data to the provincial core UPF network element 508 of the roaming province through the N3 tunnel; wherein, an N6 tunnel can be established between the provincial core UPF network element 508 of the roaming province and the Internet DN, so that the provincial core UPF network element 508 of the roaming province can use the N6 tunnel to direct the public network service flow data to the Internet DN, so that the public network traffic data can be directly exited in the roaming province, reducing traffic detours and improving access efficiency.
[0116] In step S517, the intermediate UPF network element directs the intranet service flow data in the uplink traffic data to the provincial core UPF network element 509 of the province to which it belongs through the N3 tunnel, and then the provincial core UPF network element 509 of the province to which it belongs directs the intranet service flow data to the intranet campus UPF network element 510 through the N3 tunnel; wherein, an N6 tunnel can also be established between the intranet campus UPF network element 510 and the intranet campus DN, so that the intranet campus UPF network element 510 can use the N6 tunnel to direct the intranet service flow data to the intranet campus DN, so as to realize the target terminal's access requirements to the intranet campus in the roaming state.
[0117] Figure 5 For other contents of the embodiment, reference can be made to the other embodiments mentioned above.
[0118] Figure 6 A flow chart of a method for flow processing according to another embodiment of the present disclosure is shown, and the flow chart is a case where the target terminal is located at the home location; Figure 6It includes: target terminal 601 located in the province, gNB (5G base station) 602 in the province, AMF network element 603, SMF network element 604 located in the province, PCF network element 605, provincial core UPF network element 606 in the province, and intranet park UPF network element 607. Figure 6 As shown, the traffic processing method provided by the embodiment of the present disclosure may include the following steps.
[0119] Step S601, the target terminal 601 sends a PDU session request to the home SMF network element 604 through the gNB 602 and the home AMF network element 603. The PDU session request may carry a local scenario tag.
[0120] Step S603, the SMF network element 604 identifies that the target terminal 601 is currently in the local state according to the local scenario tag in the PDU session request, and can send a request for obtaining the local diversion strategy to the PCF network element 605, and then obtain the local diversion strategy from the PCF network element 605.
[0121] Step S605, after the affiliated SMF network element 604 receives the local diversion strategy, it can determine the following information according to the local diversion strategy: select the main anchor point as the provincial core UPF network element 606 of the affiliated province, select the diversion UPF network element as the intranet campus UPF network element 607, and select the auxiliary anchor point as the intranet campus UPF network element 607.
[0122] Step S607, the home SMF network element 604 can also send a PSA session request to the provincial core UPF network element 606 of the home province to obtain the user IP address.
[0123] In step S609, the belonging SMF network element 604 transparently transmits the PDU session establishment acceptance message carrying the IP address to the gNB602 of the belonging province, and then the gNB602 of the belonging province transparently transmits it to the target terminal 601 to establish the PDU session.
[0124] After that, an N3 tunnel can be established between the gNB602 of the province to which it belongs and the intranet campus UPF network element 607, and an N3 tunnel can be established between the intranet campus UPF network element 607 and the provincial core UPF network element 606 of the province to which it belongs, to realize data transmission.
[0125] After the above connection and configuration, when the target terminal 601 located in the home province sends uplink traffic data, the intranet campus UPF network element 607 can divert the uplink traffic data, which specifically includes the following steps.
[0126] Step S611, the intranet campus UPF network element 607 directs the public network service flow data in the upstream traffic data to the provincial core UPF network element 606 of the province to which it belongs through the N3 tunnel; wherein, an N6 tunnel can be established between the provincial core UPF network element 606 of the province to which it belongs and the Internet DN, so that the provincial core UPF network element 606 of the province to which it belongs can use the N6 tunnel to direct the public network service flow data to the Internet DN.
[0127] Step S613, after the intranet campus UPF network element 607 identifies the intranet service flow data in the uplink traffic data, it can use the N6 tunnel established between the intranet campus DN and directly unload the intranet service flow data to the intranet campus DN.
[0128] Figure 6 For other contents of the embodiment, reference can be made to the other embodiments mentioned above.
[0129] It should be noted that the above figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0130] Figure 7 A block diagram of a system 700 for flow processing according to an embodiment of the present disclosure is shown; Figure 7 As shown, the system 700 for traffic processing includes: a target terminal 701, a session management function SMF network element 702, and a target offload user plane function UPF network element 703; in this system,
[0131] The target terminal 701 is used to initiate a packet data unit PDU session request to the session management function SMF network element 702; the SMF network element 702 is used to determine the scene state of the target terminal 701 according to the PDU session request, and obtain the target diversion strategy corresponding to the scene state; wherein the scene state is a roaming state or a local state; the SMF network element 702 is also used to determine a target diversion user plane function UPF network element 703 with a diversion function according to the target diversion strategy, and then send the target diversion strategy to the target diversion UPF network element 703; the target diversion UPF network element 703 is used to perform diversion processing on the traffic data sent by the target terminal 701 according to the target diversion strategy.
[0132] Through the system for traffic processing provided by the present disclosure, the SMF network element can determine whether the scene state of the target terminal is roaming or local according to the PDU session request, and then obtain the target diversion strategy corresponding to the scene state, and send the target diversion strategy to the target diversion UPF network element set therein, and use the target diversion UPF network element to divert the traffic data sent by the target terminal according to the target diversion strategy. It can be seen that through the method provided by the present disclosure, the diversion strategy for traffic in the roaming state and the local state can be set respectively, and the SMF network element can identify whether the target terminal is currently in the roaming state or the local state according to the PDU session request, and then determine the diversion strategy in different scene states for distribution, so that the traffic data sent by the target terminal in the roaming state and the local state can be diverted.
[0133] In some embodiments, when the target terminal 701 is located in a roaming area, the SMF network element 702 includes an intermediate SMF network element 702 located in the roaming area and a home SMF network element 702 located in the home area of the target terminal 701; wherein the target terminal 701 initiates a packet data unit PDU session request to the session management function SMF network element 702, including: the target terminal 701 initiates a first PDU carrying a roaming scenario tag to the intermediate SMF network element 702 through the roaming base station and the roaming access and mobility management function AMF network element Session request; the intermediate SMF network element 702 forwards the first PDU session request to the home SMF network element 702; when the target terminal 701 is located at the home location, the SMF network element 702 includes the home SMF network element 702 located at the home location; wherein, the target terminal 701 initiates a packet data unit PDU session request to the session management function SMF network element 702, including: the target terminal 701 initiates a second PDU session request carrying a local scenario tag to the home SMF network element 702 through the home base station and the home AMF network element.
[0134] In some embodiments, the SMF network element 702 determines the scene state of the target terminal 701 based on the PDU session request, including: the home SMF network element 702 determines that the scene state of the target terminal 701 is a roaming state based on the roaming scene tag carried in the first PDU session request; or, the home SMF network element 702 determines that the scene state of the target terminal 701 is a local state based on the local scene tag carried in the second PDU session request.
[0135] In some embodiments, when the scenario state is a roaming state, the target diversion strategy is a roaming diversion strategy; wherein, the SMF network element 702 obtains the target diversion strategy corresponding to the scenario state, including: the home SMF network element 702 sends a roaming policy acquisition request to the policy control function PCF network element; the home SMF network element 702 receives the roaming diversion strategy returned by the PCF network element, and sends the roaming diversion strategy to the intermediate SMF network element 702; the intermediate SMF network element 702 receives the roaming diversion strategy as the target diversion strategy.
[0136] In some embodiments, when the target diversion strategy is a roaming diversion strategy, the target diversion UPF network element 703 is a first diversion UPF network element for diverting traffic in the roaming location; wherein the roaming diversion strategy indicates that the intermediate UPF network element located in the roaming location is used as the first diversion UPF network element; the roaming diversion strategy also indicates: the first UPF network element located in the home location is used as the roaming main anchor point UPF network element, and the second UPF network element located in the roaming location is used as the roaming auxiliary anchor point UPF network element; wherein the target diversion UPF network element 703 is based on the target diversion strategy to the target The traffic data sent by terminal 701 is diverted and processed, including: the intermediate UPF network element diverts the roaming intranet service flow data in the traffic data to the first UPF network element, and then forwards the roaming intranet service flow data to the intranet campus UPF network element located in the home location through the first UPF network element, so that the roaming intranet service flow data flows to the intranet campus data network through the intranet campus UPF network element; the intermediate UPF network element diverts the roaming public network service flow data in the traffic data to the second UPF network element, so that the roaming public network service flow data flows to the Internet data network through the second UPF network element.
[0137] In some embodiments, when the scene state is a local state, the target diversion strategy is a local diversion strategy; wherein, the SMF network element 702 obtains the target diversion strategy corresponding to the scene state, including: the belonging SMF network element 702 sends a local policy acquisition request to the policy control function PCF network element; the belonging SMF network element 702 receives the local diversion strategy returned by the PCF network element as the target diversion strategy.
[0138] In some embodiments, when the target diversion strategy is a local diversion strategy, the target diversion UPF network element 703 is a second diversion UPF network element used for local diversion; wherein, the local diversion strategy indicates that the intranet campus UPF network element located in the home location is used as the second diversion UPF network element; the local diversion strategy also indicates: the first UPF network element located in the home location is used as the local main anchor point UPF network element, and the intranet campus UPF network element is used as the local auxiliary anchor point UPF network element; wherein, the target diversion UPF network element 703 performs diversion processing on the traffic data sent by the target terminal 701 according to the target diversion strategy, including: the intranet campus UPF network element diverts the local public network service flow data in the traffic data to the first UPF network element, so that the local public network service flow data flows to the Internet data network through the first UPF network element; the intranet campus UPF network element diverts the local intranet service flow data in the traffic data to the intranet campus data network.
[0139] Figure 7 For other contents of the embodiment, reference can be made to the other embodiments mentioned above.
[0140] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".
[0141] Figure 8 The block diagram of a computer device for flow processing in an embodiment of the present disclosure is shown. It should be noted that the electronic device shown in the figure is only an example and should not bring any limitation to the function and scope of use of the embodiment of the present invention.
[0142] Refer to the following Figure 8 An electronic device 800 according to this embodiment of the present invention will be described. Figure 8 The electronic device 800 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0143] like Figure 8 As shown, the electronic device 800 is in the form of a general computing device. The components of the electronic device 800 may include but are not limited to: at least one processing unit 810, at least one storage unit 820, and a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810).
[0144] The storage unit stores program codes, which can be executed by the processing unit 810, so that the processing unit 810 performs the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification. For example, the processing unit 810 can perform the following steps: Figure 1 The method shown in .
[0145] The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 8201 and / or a cache memory unit 8202 , and may further include a read-only memory unit (ROM) 8203 .
[0146] The storage unit 820 may also include a program / utility 8204 having a set (at least one) of program modules 8205, such program modules 8205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0147] Bus 830 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0148] The electronic device 800 may also communicate with one or more external devices 900 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 800, and / or communicate with any device that enables the electronic device 800 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 850. Furthermore, the electronic device 800 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 860. As shown, the network adapter 860 communicates with other modules of the electronic device 800 via a bus 830. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0149] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.
[0150] The program product for implementing the above method according to the embodiment of the present invention may adopt a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. 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 containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.
[0151] The program product may use 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, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0152] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. 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 above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0153] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0154] Program code for performing the 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., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0155] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0156] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0157] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0158] According to one aspect of the present disclosure, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in various optional implementations of the above-mentioned embodiments.
[0159] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.
Claims
1. A method for flow processing, characterized in that: include: The target terminal initiates a packet data unit PDU session request to the session management function SMF network element; The SMF network element determines the scene state of the target terminal according to the PDU session request, and obtains a target diversion strategy corresponding to the scene state; wherein the scene state is a roaming state or a local state; The SMF network element determines a target diversion user plane function UPF network element with a diversion function according to the target diversion strategy, and then sends the target diversion strategy to the target diversion UPF network element; The target diversion UPF network element performs diversion processing on the traffic data sent by the target terminal according to the target diversion strategy; Among them, if the target terminal is currently located in a roaming area, the PDU session request sent by the target terminal carries a roaming scenario tag, and the roaming scenario tag is used to identify that the target terminal is in a roaming state, so that the SMF network element clearly knows that the target terminal is in a roaming state; if the target terminal is currently located in a home area, the PDU session request sent by the target terminal carries a local scenario tag, and the local scenario tag is used to identify that the target terminal is in a local state, so that the SMF network element clearly knows that the target terminal is in a local state.
2. The method according to claim 1, characterized in that When the target terminal is located in a roaming location, the SMF network element includes an intermediate SMF network element located in the roaming location and a home SMF network element located in the home location of the target terminal; wherein the target terminal initiates a packet data unit PDU session request to the session management function SMF network element, including: The target terminal initiates a first PDU session request carrying a roaming scenario label to the intermediate SMF network element through the roaming base station and the roaming access and mobility management function AMF network element; the intermediate SMF network element forwards the first PDU session request to the home SMF network element; When the target terminal is located at the home location, the SMF network element includes a home SMF network element located at the home location; wherein the target terminal initiates a packet data unit PDU session request to the session management function SMF network element, including: The target terminal initiates a second PDU session request carrying a local scenario tag to the home SMF network element through the home base station and the home AMF network element.
3. The method according to claim 2, characterized in that The SMF network element determines the scene state of the target terminal according to the PDU session request, including: The home SMF network element determines that the scene state of the target terminal is a roaming state according to the roaming scene label carried in the first PDU session request; or, The home SMF network element determines that the scene state of the target terminal is a local state according to the local scene tag carried in the second PDU session request.
4. The method according to claim 2, characterized in that: When the scenario state is a roaming state, the target diversion strategy is a roaming diversion strategy; wherein the SMF network element obtains the target diversion strategy corresponding to the scenario state, including: The home SMF network element sends a roaming policy acquisition request to the policy control function PCF network element; The home SMF network element receives the roaming diversion policy returned by the PCF network element, and sends the roaming diversion policy to the intermediate SMF network element; The intermediate SMF network element receives the roaming diversion strategy as the target diversion strategy.
5. The method according to claim 4, characterized in that In the case where the target diversion strategy is a roaming diversion strategy, the target diversion UPF network element is a first diversion UPF network element for diverting traffic in a roaming location; wherein the roaming diversion strategy indicates that an intermediate UPF network element located in the roaming location is used as the first diversion UPF network element; The roaming offload strategy further indicates: using a first UPF network element located in the home location as a roaming primary anchor point UPF network element, and using a second UPF network element located in the roaming location as a roaming secondary anchor point UPF network element; The target diversion UPF network element performs diversion processing on the traffic data sent by the target terminal according to the target diversion strategy, including: The intermediate UPF network element distributes the roaming intranet service flow data in the traffic data to the first UPF network element, and then forwards the roaming intranet service flow data to the intranet campus UPF network element located in the home location through the first UPF network element, so that the roaming intranet service flow data flows to the intranet campus data network through the intranet campus UPF network element; and, The intermediate UPF network element diverts the roaming public network service flow data in the traffic data to the second UPF network element, so that the roaming public network service flow data flows to the Internet data network through the second UPF network element.
6. The method according to claim 2, characterized in that When the scene state is a local state, the target diversion strategy is a local diversion strategy; wherein the SMF network element obtains the target diversion strategy corresponding to the scene state, including: The home SMF network element sends a local policy acquisition request to the policy control function PCF network element; The home SMF network element receives the local diversion strategy returned by the PCF network element as the target diversion strategy.
7. The method according to claim 6, characterized in that In the case where the target diversion strategy is a local diversion strategy, the target diversion UPF network element is a second diversion UPF network element for local diversion; wherein the local diversion strategy indicates that the intranet park UPF network element located in the home location is used as the second diversion UPF network element; The local offload strategy also indicates: using the first UPF network element located in the home location as the local primary anchor point UPF network element, and using the intranet campus UPF network element as the local secondary anchor point UPF network element; The target diversion UPF network element performs diversion processing on the traffic data sent by the target terminal according to the target diversion strategy, including: The intranet campus UPF network element distributes the local public network service flow data in the traffic data to the first UPF network element, so that the local public network service flow data flows to the Internet data network through the first UPF network element; and The intranet campus UPF network element diverts the local intranet service flow data in the traffic data to the intranet campus data network.
8. A system for flow processing, characterized in that: include: The target terminal is used to initiate a packet data unit PDU session request to the session management function SMF network element; The SMF network element is used to determine the scene state of the target terminal according to the PDU session request, and obtain a target diversion strategy corresponding to the scene state; wherein the scene state is a roaming state or a local state; The SMF network element is also used to determine a target diversion user plane function UPF network element with a diversion function according to the target diversion strategy, and then send the target diversion strategy to the target diversion UPF network element; The target diversion UPF network element is used to perform diversion processing on the traffic data sent by the target terminal according to the target diversion strategy; Among them, if the target terminal is currently located in a roaming area, the PDU session request sent by the target terminal carries a roaming scenario tag, and the roaming scenario tag is used to identify that the target terminal is in a roaming state, so that the SMF network element clearly knows that the target terminal is in a roaming state; if the target terminal is currently located in a home area, the PDU session request sent by the target terminal carries a local scenario tag, and the local scenario tag is used to identify that the target terminal is in a local state, so that the SMF network element clearly knows that the target terminal is in a local state.
9. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the method for traffic processing according to any one of claims 1 to 7 is implemented.
10. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to implement the method for traffic processing as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Flow distribution method, core network element, electronic equipment and medium
CN115002769A