Method, device, electronic device, and storage medium for issuing diversion strategy

By obtaining terminal location information, it determines whether it is within the MEC area and issuing diversion strategies in the area, the problem of timely issuing diversion strategies in 5G communications is solved, and the efficiency of network and service integration is improved.

CN115134858BActive Publication Date: 2025-08-19CHINA TELECOM CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210640807.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-08
Publication Date
2025-08-19
Estimated Expiration
2042-06-08

AI Technical Summary

Technical Problem

In 5G communication technology, how to timely issue diversion strategies when the terminal moves to the MEC area to achieve deep integration of network and services and commercial deployment of edge computing.

Method used

By obtaining the location information of the target terminal, it is determined whether it is in the MEC area corresponding to the target UPF, and a pre-save diversion policy information is sent within the area, and the diversion policy information is stopped outside the area.

Benefits of technology

It realizes the timely issuance of diversion strategies when the terminal moves to the MEC area, meets the timely customization needs of diversion strategies, and improves the efficiency of network and service integration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115134858B_ABST
    Figure CN115134858B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a method, device, electronic device, and storage medium for issuing a diversion policy. The method includes: obtaining location information reported by a target terminal; determining, based on the location information, whether the target terminal is within the MEC (Mobile Edge Computing) area corresponding to the target UPF; if the target terminal is within the MEC area, issuing pre-saved diversion policy information corresponding to the target terminal; and if the target terminal is outside the MEC area, stopping issuing pre-saved diversion policy information corresponding to the target terminal. The embodiments of the present application can meet the need for timely issuing a diversion policy when a terminal moves to the MEC area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device, electronic device, and storage medium for issuing a diversion strategy. Background Art

[0002] In the field of 5G (5th Generation Mobile Communication Technology), how the UPF (User Plane Function) diverts user data streams to the MEC (Mobile Edge Computing) platform is the first step in truly realizing the deep integration of networks and services and their practical applications. It is also a key step in realizing the commercial deployment of 5G edge computing.

[0003] When a user moves to the MEC area, the AMF (Authentication Management Function) notifies the MEC / APP (Application) of the user's location information through the NEF (NEF Network Element Function). The MEC / APP interacts with the NEF (NEF Network Element Function) through the N33 interface and informs the PCF (Policy Control Function) of the diversion rules.

[0004] How to ensure that the terminal's diversion strategy is issued in a timely manner is an urgent problem that needs to be solved. Summary of the Invention

[0005] The technical problem to be solved by the embodiments of the present application is to provide a method, device, electronic device and storage medium for issuing a diversion strategy to obtain customized information of the diversion strategy when the terminal moves to the MEC area, thereby meeting the demand for timely issuing the diversion strategy when the terminal moves to the MEC area.

[0006] In a first aspect, an embodiment of the present application provides a method for issuing a diversion policy, which is applied to a target UPF (User Plane Function) system, including:

[0007] Obtain the location information reported by the target terminal;

[0008] Determine, based on the location information, whether the target terminal is in the MEC (Mobile Edge Computing) area corresponding to the target UPF;

[0009] When the target terminal is within the MEC area, issuing pre-saved diversion policy information corresponding to the target terminal;

[0010] When the target terminal is outside the MEC area, stop sending the pre-saved diversion policy information corresponding to the target terminal.

[0011] Optionally, before obtaining the location information reported by the target terminal, the method further includes:

[0012] Obtaining traffic diversion policy information of at least one terminal;

[0013] Determining whether the diversion strategy information meets a preset condition;

[0014] When it is determined that the diversion strategy information meets the preset condition, the pre-processed diversion strategy information is saved.

[0015] Optionally, determining that the diversion strategy information meets the preset condition includes:

[0016] Performing authentication processing on the at least one terminal to obtain an authentication result;

[0017] If the authentication result indicates that the at least one terminal is successfully authenticated, identifying whether the diversion policy information includes preset diversion policy information;

[0018] In a case where the pre-set diversion policy information is included in the diversion policy information, it is determined that the diversion policy information satisfies the preset condition.

[0019] Optionally, the sending of pre-saved diversion policy information corresponding to the target terminal includes:

[0020] Obtaining a target terminal identifier corresponding to the target terminal;

[0021] According to the target terminal identifier and the MEC area, searching for the diversion policy information corresponding to the target terminal from the pre-stored diversion policy information;

[0022] Send the diversion strategy information corresponding to the target terminal.

[0023] Optionally, the stopping of issuing the pre-saved diversion policy information corresponding to the target terminal includes:

[0024] Determining whether there is diversion policy information corresponding to the target terminal identifier and the MEC area in the pre-stored diversion policy information;

[0025] When the pre-stored diversion policy information contains diversion policy information corresponding to the target terminal identifier and the MEC area, the diversion policy information corresponding to the target terminal is stopped from being issued.

[0026] In a second aspect, an embodiment of the present application provides a diversion policy issuing device, which is applied to a target UPF (User Plane Function) system, including:

[0027] A location information acquisition module is used to obtain the location information reported by the target terminal;

[0028] An MEC area determination module is configured to determine, based on the location information, whether the target terminal is within the MEC (Mobile Edge Computing) area corresponding to the target UPF;

[0029] A traffic diversion policy issuing module, configured to issue pre-saved traffic diversion policy information corresponding to the target terminal when the target terminal is within the MEC area;

[0030] The diversion policy stopping module is used to stop sending the pre-saved diversion policy information corresponding to the target terminal when the target terminal is outside the MEC area.

[0031] Optionally, the device further comprises:

[0032] A traffic diversion strategy information acquisition module, configured to acquire traffic diversion strategy information of at least one terminal;

[0033] A diversion strategy information determination module, used to determine whether the diversion strategy information meets the preset conditions;

[0034] The diversion strategy information saving module is used to save the pre-processed diversion strategy information when it is determined that the diversion strategy information meets the preset condition.

[0035] Optionally, the diversion strategy information determination module includes:

[0036] an authentication result obtaining unit, configured to perform authentication processing on the at least one terminal to obtain an authentication result;

[0037] A diversion policy identification unit is configured to identify whether the diversion policy information includes preset diversion policy information when the authentication result indicates that the at least one terminal is successfully authenticated;

[0038] The preset condition determination unit is configured to determine, when the diversion strategy information includes the preset diversion strategy information, whether the diversion strategy information satisfies the preset condition.

[0039] Optionally, the diversion strategy issuing module includes:

[0040] A terminal identification obtaining unit, configured to obtain a target terminal identification corresponding to the target terminal;

[0041] A traffic diversion policy search unit, configured to search for traffic diversion policy information corresponding to the target terminal from pre-stored traffic diversion policy information according to the target terminal identifier and the MEC area;

[0042] The diversion strategy issuing unit is used to issue the diversion strategy information corresponding to the target terminal.

[0043] Optionally, the diversion strategy stopping module includes:

[0044] A diversion strategy determination unit, configured to determine whether there is diversion strategy information corresponding to the target terminal identifier and the MEC area in the pre-stored diversion strategy information;

[0045] The diversion policy stopping sending unit is used to stop sending the diversion policy information corresponding to the target terminal when there is diversion policy information corresponding to the target terminal identifier and the MEC area in the pre-stored diversion policy information.

[0046] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0047] A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above-mentioned methods for issuing a diversion strategy when executing the program.

[0048] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute any of the above-mentioned diversion policy issuance methods.

[0049] Compared with the prior art, the embodiments of the present application have the following advantages:

[0050] In an embodiment of the present application, by obtaining the location information reported by the target terminal, it is determined whether the target terminal is within the MEC (Mobile Edge Computing) area corresponding to the target UPF based on the location information. If the target terminal is within the MEC area, the diversion policy information corresponding to the target terminal is issued. If the target terminal is outside the MEC area, the diversion policy information corresponding to the target terminal is stopped. By pre-saving the customized diversion policy information when the terminal is located in the MEC area, the embodiment of the present application can promptly issue the diversion policy to the terminal when the terminal moves into the MEC area, thereby meeting the requirement of promptly issuing the diversion policy when the terminal moves into the MEC area.

[0051] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 A flowchart of the steps of a method for issuing a diversion strategy provided in an embodiment of the present application;

[0053] Figure 2 A flowchart of a method for storing diversion strategy information provided in an embodiment of the present application;

[0054] Figure 3 A flowchart of a method for determining a preset condition provided in an embodiment of the present application;

[0055] Figure 4 A flowchart of another method for issuing a diversion strategy provided in an embodiment of the present application;

[0056] Figure 5 A flowchart of a method for stopping the issuance of a diversion strategy provided in an embodiment of the present application;

[0057] Figure 6 A schematic diagram of the structure of a diversion strategy issuing device provided in an embodiment of the present application;

[0058] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0059] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0060] The terms used in the embodiments of the present application are for the purpose of describing specific embodiments only and are not intended to limit the present application. The singular forms "a", "an", "the" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise.

[0061] Reference Figure 1 , shows a flow chart of the steps of a diversion strategy delivery method provided by an embodiment of the present application, the diversion strategy delivery method can be applied to the target UPF (User Plane Function, user plane function) system, such as Figure 1 As shown, the method for issuing the diversion strategy may include the following steps:

[0062] Step 101: Obtain location information reported by a target terminal.

[0063] The embodiments of the present application can be applied to a scenario where a diversion strategy for a target terminal is selected based on the relationship between the target terminal location and the MEC area of the target UPF.

[0064] The embodiments of the present application can be applied to a target UPF (User Plane Function) system, that is, the execution subject is the target UPF system.

[0065] UPF is an important part of the 3GPP (3rd Generation Partnership Project) 5G core network system architecture, and is mainly responsible for the routing and forwarding of user-plane data packets in the 5G core network.

[0066] In actual applications, each region corresponds to a UPF system, and the UPF system only manages the diversion policy for terminals within the region. For example, taking Province A as an example, Province A includes City xx and City xxx. City xx corresponds to the first UPF system, and City xxx corresponds to the second UPF system. In this case, the first UPF system only manages the diversion policy for terminals within the City xx area, and the second UPF system only manages the diversion policy for terminals within the City xxx area, and so on.

[0067] It can be understood that the above examples are merely examples listed for a better understanding of the technical solutions of the embodiments of the present application, and are not intended to be the sole limitation on the embodiments.

[0068] The target terminal may be a terminal device such as a mobile phone or a tablet computer. Specifically, the specific type of the target terminal may be determined according to actual conditions, and this embodiment does not impose any limitation on this.

[0069] In this embodiment, the target terminal can be a terminal that has subscribed to a location. In a specific implementation, the target UPF system can send a location subscription request to the target terminal in advance. After the user holding the target terminal accepts the request, the target UPF system can obtain the location information reported by the target terminal in real time.

[0070] In actual applications, the target UPF can obtain the location information reported by the target terminal once every preset time, such as obtaining the location information reported by the target terminal once every 30 minutes or 1 hour. The target UPF can also obtain the location information reported by the target terminal at set times, such as obtaining the location information reported by the target terminal at 12:00, 13:00, 14:00, etc. every day.

[0071] It can be understood that the above examples are merely examples listed for a better understanding of the technical solutions of the embodiments of the present application, and are not intended to be the sole limitation on the embodiments.

[0072] After the target UPF obtains the location information reported by the target terminal, step 102 is executed.

[0073] Step 102: Determine whether the target terminal is in the MEC (Mobile Edge Computing) area corresponding to the target UPF based on the location information.

[0074] MEC leverages wireless access networks to provide telecom users with IT services and cloud computing capabilities close to their locations. This creates a carrier-grade service environment with high performance, low latency, and high bandwidth. This accelerates the download of content, services, and applications across the network, allowing consumers to enjoy an uninterrupted, high-quality network experience. MEC improves user experience and conserves bandwidth resources. Furthermore, by bringing computing power down to mobile edge nodes, it facilitates third-party application integration.

[0075] After obtaining the location information reported by the target terminal, it can be determined whether the target terminal is in the MEC area corresponding to the target UPF based on the location information.

[0076] When it is determined according to the location information that the target terminal is within the MEC area corresponding to the target UPF, step 103 is executed.

[0077] When it is determined based on the location information that the target terminal is outside the MEC area corresponding to the target UPF, step 104 is executed.

[0078] Step 103: When the target terminal is within the MEC area, the pre-saved diversion policy information corresponding to the target terminal is issued.

[0079] Step 104: When the target terminal is outside the MEC area, stop sending the pre-saved diversion policy information corresponding to the target terminal.

[0080] The target UPF system can pre-save the diversion strategy corresponding to each terminal. The diversion strategy can be uploaded by the platform corresponding to the terminal registration APP. The process of saving the diversion strategy corresponding to the terminal in the target UPF can be combined with Figure 2 Provide a detailed description.

[0081] Reference Figure 2 , shows a flow chart of the steps of a method for storing diversion strategy information provided by an embodiment of the present application, such as Figure 2 As shown, the method for saving diversion strategy information may include: step 201, step 202 and step 203.

[0082] Step 201: Obtain traffic diversion policy information of at least one terminal.

[0083] In this embodiment, the diversion policy information of at least one terminal can be information sent by the enterprise platform to the target UPF system. For example, taking the Tencent platform as an example, multiple terminals have registered accounts on the Tencent Video APP. At this time, the Tencent platform can send the diversion policy information of the multiple terminals to the target UPF system, etc. The multiple diversion policy information includes the diversion policy information corresponding to Tencent members, and the diversion policy information of non-Tencent members, etc.

[0084] In a specific implementation, the enterprise platform can timely configure diversion strategy information for at least one registered terminal based on the terminal of the account registered in the corresponding APP, and send the diversion strategy information to the target UPF system.

[0085] After the target UPF system obtains the diversion policy information of at least one terminal, step 202 is executed.

[0086] Step 202: Determine whether the diversion strategy information meets a preset condition.

[0087] The preset condition refers to a pre-set condition used to determine whether the diversion policy information meets the requirements for saving. In this example, the preset condition may be an authentication result, a necessary parameter, or other conditions.

[0088] After obtaining the diversion policy information of at least one terminal, it can be determined whether the diversion policy information meets the preset conditions. If so, step 203 is executed. If not, the corresponding diversion policy information can be fed back to the enterprise platform so that the enterprise platform can supplement relevant information.

[0089] Step 203: When it is determined that the diversion strategy information meets the preset condition, the pre-processed diversion strategy information is saved.

[0090] The diversion strategy information meets the preset conditions for successful authentication at the terminal, and the necessary diversion strategy information is saved. The process of determining whether the diversion strategy information meets the preset conditions can be combined with Figure 3 This is described in detail below.

[0091] Reference Figure 3 , shows a flowchart of the steps of a method for determining a preset condition provided by an embodiment of the present application, such as Figure 3 As shown, the preset condition determination method may include: step 301, step 302 and step 303.

[0092] Step 301: Authentication processing is performed on the at least one terminal to obtain an authentication result.

[0093] In this embodiment, after the target UPF system obtains the diversion policy information corresponding to at least one terminal, it can perform authentication processing on the at least one terminal to obtain an authentication result. Specifically, the diversion policy information includes terminal identification information (such as the terminal's production identification code, etc.), IP address, and other information of the at least one terminal. By authenticating the terminal identification information and IP address, it is determined whether the at least one terminal is an illegal terminal. For example, if the terminal's IP address matches an IP address in a blacklist, it indicates that the terminal is an illegal terminal.

[0094] After authentication processing is performed on at least one terminal to obtain an authentication result, step 302 is executed.

[0095] Step 302: When the authentication result indicates that the at least one terminal is successfully authenticated, identify whether the diversion policy information includes preset diversion policy information.

[0096] Preset diversion policy information refers to pre-set diversion policy information required to save terminal diversion policy information. In this example, the preset diversion policy information can be information such as a mobile phone number and the diversion policy effective time. Specifically, the content of the preset diversion policy information can be determined according to business needs, and this embodiment does not impose any restrictions on this.

[0097] After obtaining the authentication result of at least one terminal, a terminal that has successfully been authenticated in the at least one terminal can be obtained according to the authentication result, and then it is identified whether the diversion policy information of the terminal that has successfully been authenticated includes the preset diversion policy information.

[0098] Of course, when the authentication result indicates that there is a terminal that fails authentication among at least one terminal, the terminal that fails authentication no longer executes subsequent processes.

[0099] Step 303: When the traffic diversion policy information includes the preset traffic diversion policy information, determine that the traffic diversion policy information meets the preset condition.

[0100] In a case where the traffic diversion policy information of at least one terminal includes preset traffic diversion policy information, it can be determined that the traffic diversion policy information of at least one terminal meets the preset condition.

[0101] After determining that the diversion policy information of at least one terminal meets the preset conditions, the diversion policy information of at least one terminal can be saved. The diversion policy information may include: terminal identification, IP address, diversion identification, and effective time, wherein the effective time indicates the effective period of the diversion policy, such as 10:00 am to 23:00 pm, etc.

[0102] When the target terminal is determined to be in the MEC area corresponding to the target UPF according to the location information reported by the target terminal, the diversion strategy matching the target terminal can be obtained from the pre-stored diversion strategy information, and the diversion strategy information corresponding to the target terminal can be issued. Figure 4 This is described in detail below.

[0103] Reference Figure 4 , shows a flowchart of another method for issuing a diversion strategy provided by an embodiment of the present application, such as Figure 4 As shown, the method for issuing the diversion strategy may include: step 401, step 402 and step 403.

[0104] Step 401: Acquire the target terminal identifier corresponding to the target terminal.

[0105] In this embodiment, after determining that the target terminal is within the MEC area corresponding to the target UPF, the target terminal identifier corresponding to the target terminal can be obtained.

[0106] After the target terminal identifier of the target terminal is acquired, step 402 is executed.

[0107] Step 402: According to the target terminal identifier and the MEC area, search for the diversion policy information corresponding to the target terminal from the pre-stored diversion policy information.

[0108] After obtaining the target terminal identifier corresponding to the target terminal, the diversion policy information corresponding to the target terminal can be searched from the pre-stored diversion policy information according to the target terminal identifier and the MEC area.

[0109] Step 403: Sending the diversion policy information corresponding to the target terminal.

[0110] After searching for the diversion policy information corresponding to the target terminal from the pre-stored diversion policy information, the diversion policy information corresponding to the target terminal can be issued. Specifically, the target UPF can issue the diversion policy information of the target terminal to the network element management system (Network Element, NE), and the network element can serve as the service node of the target terminal. For example, when the terminal data acquisition system receives the location change information of the terminal, such as the radius protocol billing start information sent by SMS, it queries the pre-configured information effective in the current area based on the terminal identification (i.e., MISDN, IMSI). If it exists, it requests NEF (Network Exposure Function) to issue the diversion policy to the network element and save the relevant information.

[0111] In this embodiment, after finding the diversion policy information corresponding to the target terminal, the diversion policy information can be sent to the service control unit. The service control unit can then generate a corresponding diversion policy for the target terminal based on the diversion policy information. The service control unit can then send the generated diversion policy to the NEF to request the NEF to issue the diversion policy to the network element.

[0112] When the target terminal is determined to be outside the MEC area corresponding to the target UPF according to the location information reported by the target terminal, it can be judged whether there is a diversion policy information corresponding to the target terminal in the pre-saved diversion policy information. If so, the diversion policy information corresponding to the target terminal is stopped from being issued. This process can be combined with Figure 5 This is described in detail below.

[0113] Reference Figure 5 , shows a flow chart of the steps of a method for stopping the issuance of a diversion strategy provided by an embodiment of the present application, such as Figure 5 As shown, the method for stopping issuing the diversion strategy may include: step 501 and step 502.

[0114] Step 501: Determine whether there is any diversion policy information corresponding to the target terminal identifier and the MEC area in the pre-stored diversion policy information.

[0115] In this embodiment, when it is determined based on the location information of the target terminal that the target terminal is located outside the MEC area corresponding to the target UPF, it can be determined whether the pre-stored diversion policy information contains the diversion policy information corresponding to the target terminal identifier and the MEC area, that is, whether the pre-stored diversion policy information contains the diversion policy information corresponding to the target terminal.

[0116] Step 502: If there is diversion policy information corresponding to the target terminal identifier and the MEC area in the pre-stored diversion policy information, stop issuing the diversion policy information corresponding to the target terminal.

[0117] If the pre-stored diversion policy information does not contain the diversion policy information corresponding to the target terminal identifier and MEC area, no corresponding processing is required.

[0118] If the pre-stored traffic diversion policy information corresponds to the target terminal identifier and MEC area, the traffic diversion policy information corresponding to the target terminal is stopped from being sent. For example, when receiving the terminal's online information, such as the RADIUS protocol billing end information sent by SMS, the corresponding traffic diversion policy information is queried. If it exists, the NEF stops sending the traffic diversion policy to the network element.

[0119] The method for issuing a diversion policy provided in an embodiment of the present application obtains the location information reported by the target terminal and, based on the location information, determines whether the target terminal is within the MEC (Mobile Edge Computing) area corresponding to the target UPF. If the target terminal is within the MEC area, the method issues the diversion policy information corresponding to the target terminal. If the target terminal is outside the MEC area, the method stops issuing the diversion policy information corresponding to the target terminal. By pre-saving the customized diversion policy information for the terminal when it is located in the MEC area, the embodiment of the present application can promptly issue the diversion policy to the terminal when the terminal moves into the MEC area, thereby meeting the requirement for promptly issuing the diversion policy when the terminal moves into the MEC area.

[0120] Reference Figure 6 , shows a schematic structural diagram of a diversion strategy issuing device provided in an embodiment of the present application, which can be applied to a target UPF (User Plane Function) system, such as Figure 6 As shown, the diversion strategy issuing device 600 may include the following modules:

[0121] The location information acquisition module 610 is used to obtain the location information reported by the target terminal;

[0122] An MEC area determination module 620 is configured to determine, based on the location information, whether the target terminal is within the MEC (Mobile Edge Computing) area corresponding to the target UPF;

[0123] The traffic diversion policy issuing module 630 is configured to issue pre-saved traffic diversion policy information corresponding to the target terminal when the target terminal is within the MEC area;

[0124] The diversion policy stopping module 640 is configured to stop sending pre-saved diversion policy information corresponding to the target terminal when the target terminal is outside the MEC area.

[0125] Optionally, the device further comprises:

[0126] A traffic diversion strategy information acquisition module, configured to acquire traffic diversion strategy information of at least one terminal;

[0127] A diversion strategy information determination module, used to determine whether the diversion strategy information meets the preset conditions;

[0128] The diversion strategy information saving module is used to save the pre-processed diversion strategy information when it is determined that the diversion strategy information meets the preset condition.

[0129] Optionally, the diversion strategy information determination module includes:

[0130] an authentication result obtaining unit, configured to perform authentication processing on the at least one terminal to obtain an authentication result;

[0131] A diversion policy identification unit is configured to identify whether the diversion policy information includes preset diversion policy information when the authentication result indicates that the at least one terminal is successfully authenticated;

[0132] The preset condition determination unit is configured to determine, when the diversion strategy information includes the preset diversion strategy information, whether the diversion strategy information satisfies the preset condition.

[0133] Optionally, the diversion strategy issuing module 630 includes:

[0134] A terminal identification obtaining unit, configured to obtain a target terminal identification corresponding to the target terminal;

[0135] A traffic diversion policy search unit, configured to search for traffic diversion policy information corresponding to the target terminal from pre-stored traffic diversion policy information according to the target terminal identifier and the MEC area;

[0136] The diversion strategy issuing unit is used to issue the diversion strategy information corresponding to the target terminal.

[0137] Optionally, the diversion strategy stopping module 640 includes:

[0138] A diversion strategy determination unit, configured to determine whether there is diversion strategy information corresponding to the target terminal identifier and the MEC area in the pre-stored diversion strategy information;

[0139] The diversion policy stopping sending unit is used to stop sending the diversion policy information corresponding to the target terminal when there is diversion policy information corresponding to the target terminal identifier and the MEC area in the pre-stored diversion policy information.

[0140] The diversion policy issuing device provided in the embodiment of the present application obtains the location information reported by the target terminal and determines whether the target terminal is within the MEC (Mobile Edge Computing) area corresponding to the target UPF based on the location information. If the target terminal is within the MEC area, the diversion policy information corresponding to the target terminal is issued. If the target terminal is outside the MEC area, the diversion policy information corresponding to the target terminal is stopped. By pre-saving the customized diversion policy information when the terminal is located in the MEC area, the embodiment of the present application can promptly issue the diversion policy to the terminal when the terminal moves into the MEC area, thereby meeting the requirement of promptly issuing the diversion policy when the terminal moves into the MEC area.

[0141] An embodiment of the present application further provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the above-mentioned diversion strategy delivery method when executed by the processor.

[0142] Figure 7 FIG. 7 is a schematic diagram showing the structure of an electronic device 700 according to an embodiment of the present invention. Figure 7 As shown, electronic device 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 702 or computer program instructions loaded from a storage unit 708 into a random access memory (RAM) 703. In RAM 703, various programs and data required for the operation of electronic device 700 can also be stored. CPU 701, ROM 702 and RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to bus 704.

[0143] Multiple components in the electronic device 700 are connected to the I / O interface 705, including an input unit 706, such as a keyboard, a mouse, a microphone, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a magnetic disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the electronic device 700 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0144] The various processes and procedures described above may be executed by the processing unit 701. For example, the method of any of the above embodiments may be implemented as a computer software program, which is tangibly contained in a computer-readable medium, such as the storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the CPU 701, one or more actions in the method described above may be performed.

[0145] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned diversion strategy delivery method when executed by a processor.

[0146] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0147] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0148] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminals (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal generate instructions for implementing the steps in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0149] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing terminal to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1The function specified in one or more boxes.

[0150] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal so that a series of operational steps are executed on the computer or other programmable terminal to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable terminal for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0151] Although preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they become aware of the basic inventive concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0152] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or terminal. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal comprising the element.

[0153] The above is a detailed introduction to a diversion strategy issuing method, a diversion strategy issuing device, an electronic device and a computer-readable storage medium provided by this application. Specific examples are used in this article to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method of this application and its core idea; at the same time, for general technical personnel in this field, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on this application.

Claims

1. A method for issuing a diversion strategy, applied to a target UPF (User Plane Function) system, characterized in that: include: Obtaining traffic diversion policy information of at least one terminal; The diversion strategy information is diversion strategy information allocated to the at least one terminal by the enterprise platform on which the at least one terminal is registered, and is sent by the enterprise platform to the target UPF system; Determining whether the diversion strategy information meets a preset condition; When it is determined that the diversion strategy information meets the preset condition, saving the pre-processed diversion strategy information; Obtain the location information reported by the target terminal; Determine, based on the location information, whether the target terminal is in the MEC (Mobile Edge Computing) area corresponding to the target UPF; When the target terminal is within the MEC area, issuing pre-saved diversion policy information corresponding to the target terminal; When the target terminal is outside the MEC area, stop issuing the pre-saved diversion policy information corresponding to the target terminal; The determining that the diversion strategy information meets the preset condition includes: Performing authentication processing on the at least one terminal to obtain an authentication result; If the authentication result indicates that the at least one terminal is successfully authenticated, identifying whether the diversion policy information includes preset diversion policy information; the preset diversion policy information refers to pre-set diversion policy information required to save the terminal diversion policy information, and the preset diversion policy information includes: a diversion policy effective time, and the diversion policy effective time indicates the effective period of the diversion policy; In a case where the pre-set diversion policy information is included in the diversion policy information, it is determined that the diversion policy information satisfies the preset condition.

2. The method according to claim 1, characterized in that The sending of the pre-stored diversion strategy information corresponding to the target terminal includes: Obtaining a target terminal identifier corresponding to the target terminal; According to the target terminal identifier and the MEC area, searching for the diversion policy information corresponding to the target terminal from the pre-stored diversion policy information; Send the diversion strategy information corresponding to the target terminal.

3. The method according to claim 1, characterized in that The stopping of issuing the pre-stored diversion policy information corresponding to the target terminal includes: Determining whether there is diversion policy information corresponding to the target terminal identifier and the MEC area in the pre-stored diversion policy information; When the pre-stored diversion policy information contains diversion policy information corresponding to the target terminal identifier and the MEC area, the diversion policy information corresponding to the target terminal is stopped from being issued.

4. A traffic diversion policy issuing device, applied to a target UPF (User Plane Function) system, characterized in that: include: A traffic diversion strategy information acquisition module, configured to acquire traffic diversion strategy information of at least one terminal; The diversion strategy information is diversion strategy information allocated to the at least one terminal by the enterprise platform on which the at least one terminal is registered, and is sent by the enterprise platform to the target UPF system; A diversion strategy information determination module, used to determine whether the diversion strategy information meets the preset conditions; A diversion strategy information saving module is used to save the pre-processed diversion strategy information when it is determined that the diversion strategy information meets the preset condition; A location information acquisition module is used to obtain the location information reported by the target terminal; An MEC area determination module is configured to determine, based on the location information, whether the target terminal is within the MEC (Mobile Edge Computing) area corresponding to the target UPF; A traffic diversion policy issuing module, configured to issue pre-saved traffic diversion policy information corresponding to the target terminal when the target terminal is within the MEC area; A diversion policy stopping module is configured to stop issuing pre-saved diversion policy information corresponding to the target terminal when the target terminal is outside the MEC area; The diversion strategy information determination module includes: an authentication result obtaining unit, configured to perform authentication processing on the at least one terminal to obtain an authentication result; a diversion policy identification unit configured to, when the authentication result indicates that the at least one terminal has been successfully authenticated, identify whether the diversion policy information includes preset diversion policy information; the preset diversion policy information refers to pre-set diversion policy information required for storing terminal diversion policy information, the preset diversion policy information including: a diversion policy effective time, the diversion policy effective time indicating a period during which the diversion policy is effective; The preset condition determination unit is configured to determine, when the diversion strategy information includes the preset diversion strategy information, whether the diversion strategy information satisfies the preset condition.

5. The device according to claim 4, characterized in that The diversion strategy issuing module includes: A terminal identification obtaining unit, configured to obtain a target terminal identification corresponding to the target terminal; A traffic diversion policy search unit, configured to search for traffic diversion policy information corresponding to the target terminal from pre-stored traffic diversion policy information according to the target terminal identifier and the MEC area; The diversion strategy issuing unit is used to issue the diversion strategy information corresponding to the target terminal.

6. The device according to claim 4, characterized in that The module for stopping issuing the diversion strategy includes: A diversion strategy determination unit, configured to determine whether there is diversion strategy information corresponding to the target terminal identifier and the MEC area in the pre-stored diversion strategy information; The diversion policy stopping sending unit is used to stop sending the diversion policy information corresponding to the target terminal when there is diversion policy information corresponding to the target terminal identifier and the MEC area in the pre-stored diversion policy information.

7. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the diversion strategy delivery method according to any one of claims 1 to 3 when executing the program.

8. A computer-readable storage medium, characterized in that When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method for issuing a diversion strategy according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Information processing method and related network device

    WO2021068706A1