Method, apparatus, medium, and electronic device for terminal dynamic policy

After a terminal accesses the roaming network, the roaming policy is obtained and merged or modified with the routing policy executed by the terminal to generate a new routing policy. This solves the problem of inconsistency between the roaming policy and the routing policy executed by the terminal, and improves the efficiency and accuracy of routing policy switching.

CN116347421BActive Publication Date: 2026-02-03CHINA TELECOM CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111590469.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-23
Publication Date
2026-02-03
Estimated Expiration
2041-12-23

AI Technical Summary

Technical Problem

When a terminal device roams the network, the routing policies of the home location and the roaming location are often inconsistent, leading to network usage problems.

Method used

After a terminal accesses the roaming network, the roaming policy is obtained and merged or modified with the routing policy executed by the terminal to generate a new routing policy, which is then sent to the terminal for execution.

Benefits of technology

This solves the problem of inconsistency between roaming policies and terminal-executed routing policies, avoids network issues, and improves the efficiency and accuracy of routing policy switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116347421B_ABST
    Figure CN116347421B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, device, medium and equipment for implementing terminal dynamic policy, and relates to the technical field of communication. The method for implementing terminal dynamic policy comprises the following steps: detecting that a terminal accesses a roaming network, and a routing policy executed by the terminal is inconsistent with a roaming policy, the roaming network and the roaming policy having a corresponding relationship; obtaining a new routing policy based on the roaming policy and the routing policy executed by the terminal; sending the new routing policy to the terminal, and the terminal executes the new routing policy. The present disclosure can improve the switching efficiency of the terminal policy, and reduce the occurrence rate of network problems when the terminal uses different networks in different areas.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the field of communication technology, and in particular, to a method for implementing terminal dynamic policy, an apparatus for implementing terminal dynamic policy, a computer readable medium and an electronic device. BACKGROUND

[0002] With the development of network and the improvement of traffic convenience, people can connect to the network in different places and enjoy the convenience brought by the network.

[0003] In the process of network connection and communication, the same terminal device can be in the home place and connected to the home network, or in the roaming place and connected to the roaming network. For terminal devices in different home places, the routing policy corresponding to the home place will be executed. Currently, when entering the roaming place, the policy of the roaming place is generally different, thereby conflicting with the originally executed routing policy, resulting in various problems when the user uses the terminal to access the network.

[0004] It should be noted that the information disclosed in the above background section is only used to strengthen the understanding of the background of the present disclosure, and therefore can include information that does not constitute prior art known to those of ordinary skill in the art. SUMMARY

[0005] The purpose of the embodiments of the present disclosure is to provide a method, apparatus, medium and electronic device for implementing terminal dynamic policy, which can realize accurate classification storage of indexes and improve index retrieval efficiency.

[0006] The first aspect of the embodiments of the present disclosure provides a method for implementing terminal dynamic policy, comprising:

[0007] detecting that a terminal accesses a roaming network, and that the routing policy executed by the terminal is inconsistent with the roaming place policy, the roaming network and the roaming place policy having a corresponding relationship;

[0008] obtaining a new routing policy based on the roaming place policy and the routing policy executed by the terminal;

[0009] sending the new routing policy to the terminal, and the terminal executing the new routing policy.

[0010] According to the embodiments of the present disclosure, the present disclosure further provides a method for implementing terminal dynamic policy, before the step of detecting that a terminal accesses a roaming network and that the routing policy executed by the terminal is inconsistent with the roaming place policy, the method further comprises:

[0011] obtaining a plurality of roaming place policies, and storing the plurality of roaming place policies in a network policy library, the network policy library further comprising a region identifier corresponding to the roaming place policy.

[0012] According to embodiments of this disclosure, this disclosure also proposes an implementation method for a terminal dynamic policy, wherein the step of detecting that the terminal accesses a roaming network and that the routing policy executed by the terminal is inconsistent with the roaming policy includes:

[0013] Obtain the area identifier corresponding to the network accessed by the terminal, and identify the area identifier corresponding to the accessed network to determine that the terminal has accessed a roaming network;

[0014] If the policy list sent by the terminal has not changed, it is determined that the routing policy executed by the terminal is inconsistent with the roaming policy.

[0015] According to embodiments of this disclosure, this disclosure also proposes an implementation method for a terminal dynamic policy, wherein the step of obtaining a new routing policy based on the roaming policy and the routing policy executed by the terminal includes:

[0016] Based on the roaming policy, the routing policy executed by the terminal is modified to obtain a new routing policy. The modification methods include, but are not limited to, adding, deleting, and replacing.

[0017] According to embodiments of this disclosure, this disclosure also proposes an implementation method for a terminal dynamic policy. Before the step of obtaining a new routing policy based on the roaming policy and the routing policy executed by the terminal, the method further includes:

[0018] Based on the area identifier corresponding to the network accessed by the terminal, query the roaming policy corresponding to the area identifier from the network policy database;

[0019] Based on the policy identifier sent by the terminal, the routing policy executed by the terminal is obtained from the unified database, and the policy identifier corresponds to the routing policy executed by the terminal.

[0020] According to embodiments of this disclosure, this disclosure also proposes an implementation method for a terminal dynamic policy. After the step of sending the new routing policy to the terminal and the terminal executing the new routing policy, the method further includes:

[0021] Obtain the area identifier corresponding to the network accessed by the terminal, and identify the area identifier corresponding to the accessed network to determine that the terminal has accessed its home network;

[0022] The routing policy corresponding to the home network is sent to the terminal, and the terminal executes the routing policy corresponding to the home network.

[0023] According to embodiments of this disclosure, this disclosure also proposes an implementation method for implementing a terminal dynamic policy, wherein the area identifier includes, but is not limited to, a public land mobile network identifier and a tracking area list.

[0024] According to a second aspect of the present disclosure, an apparatus for implementing a terminal dynamic strategy is provided, comprising:

[0025] The network policy detection module is used to detect that a terminal accesses a roaming network and that the routing policy executed by the terminal is inconsistent with the roaming policy, wherein the roaming network and the roaming policy have a corresponding relationship;

[0026] The routing policy update module is used to obtain a new routing policy based on the roaming policy and the routing policy executed by the terminal;

[0027] A routing policy sending module is used to send the new routing policy to the terminal, and the terminal executes the new routing policy.

[0028] According to embodiments of this disclosure, this disclosure also proposes an implementation method for a device for implementing a terminal dynamic strategy, the device further comprising:

[0029] The network policy library module is used to acquire multiple roaming policies and store the multiple roaming policies in the network policy library. The network policy library also includes the area identifiers corresponding to the roaming policies.

[0030] According to embodiments of this disclosure, this disclosure also proposes an implementation method for a device for implementing a terminal dynamic policy, a network policy detection module, used to obtain the area identifier corresponding to the terminal accessing the network, and identify the area identifier corresponding to the accessed network to determine that the terminal has accessed a roaming network;

[0031] If the policy list sent by the terminal has not changed, it is determined that the routing policy executed by the terminal is inconsistent with the roaming policy.

[0032] According to embodiments of this disclosure, this disclosure also proposes an implementation method for a device for implementing a dynamic terminal policy, a routing policy update module, used to modify the routing policy executed by the terminal based on the roaming policy to obtain a new routing policy, wherein the modification methods include, but are not limited to, adding, deleting, and replacing.

[0033] According to embodiments of this disclosure, this disclosure also proposes an implementation method for a device for implementing a terminal dynamic strategy, the device further comprising:

[0034] The policy acquisition module is used to query the network policy database for the roaming policy corresponding to the area identifier based on the area identifier of the network accessed by the terminal before the step of obtaining a new routing policy based on the roaming policy and the routing policy executed by the terminal.

[0035] Based on the policy identifier sent by the terminal, the routing policy executed by the terminal is obtained from the unified database, and the policy identifier corresponds to the routing policy executed by the terminal.

[0036] According to embodiments of this disclosure, this disclosure also proposes an implementation method for a device for implementing a terminal dynamic strategy, the device comprising:

[0037] The home policy configuration module is used to obtain the area identifier corresponding to the network accessed by the terminal after the step of sending the new routing policy to the terminal and the terminal executing the new routing policy, and to identify the area identifier corresponding to the accessed network to determine that the terminal has accessed the home network.

[0038] The routing policy corresponding to the home network is sent to the terminal, and the terminal executes the routing policy corresponding to the home network.

[0039] According to embodiments of this disclosure, this disclosure also proposes an implementation method for a device for implementing a terminal dynamic strategy, wherein the area identifier includes, but is not limited to, a public terrestrial mobile network identifier and a tracking area list.

[0040] According to a third aspect of the present disclosure, a computer-readable medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method for a terminal dynamic strategy as described in the first aspect of the above embodiments.

[0041] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the terminal dynamic strategy method as described in the first aspect of the above embodiments.

[0042] The technical solutions provided in this disclosure can include the following beneficial effects:

[0043] In some embodiments of this disclosure, when a terminal accesses a roaming network and the routing policy executed by the terminal is inconsistent with the roaming location's policy, a new routing policy is obtained based on the roaming location's policy and the terminal's executed routing policy. This new routing policy is then sent to the terminal for execution. Implementing these embodiments, on the one hand, by modifying the terminal's executed routing policy accordingly when accessing a roaming network and encountering routing policy conflicts, to comply with the specific policy requirements of the roaming location, network problems can be avoided or the problem incidence rate reduced. On the other hand, no manual operation is required; the new routing policy is directly obtained based on the roaming location's policy and the terminal's executed routing policy, improving the efficiency of switching routing policies executed by the terminal.

[0044] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0045] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0046] Figure 1 The illustration shows an exemplary scenario in which a method and apparatus for implementing a dynamic terminal strategy can be applied according to embodiments of the present disclosure;

[0047] Figure 2 This schematic diagram illustrates the structure of a computer system suitable for implementing the terminal device of the present disclosure.

[0048] Figure 3 A flowchart illustrating a method for implementing a terminal dynamic policy according to an embodiment of the present disclosure is shown schematically.

[0049] Figure 4 A flowchart illustrating a method for implementing a terminal dynamic policy according to an embodiment of the present disclosure is shown schematically.

[0050] Figure 5 A flowchart illustrating a method for implementing a terminal dynamic policy according to an embodiment of the present disclosure is shown schematically.

[0051] Figure 6 The diagram illustrates the interaction of a terminal during a routing policy update process according to an embodiment of the present disclosure.

[0052] Figure 7This schematic diagram illustrates a structural block diagram of an apparatus for implementing a dynamic terminal strategy according to one embodiment of the present disclosure. Detailed Implementation

[0053] 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 examples set forth herein; rather, these embodiments are provided to make this disclosure more comprehensive and complete, and to fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a full understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced with one or more of the specific details omitted, or other methods, components, apparatus, steps, etc., can be employed. In other instances, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of this disclosure.

[0054] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0055] Figure 1 The illustration shows a schematic diagram of an exemplary system architecture for implementing a method and apparatus for dynamic terminal strategies that can be applied to embodiments of the present disclosure.

[0056] like Figure 1 As shown, system architecture 100 may include one or more of terminal devices 101, 102, and 103, belonging to Policy Control Function (PCF) network element 104. Terminal devices 101, 102, and 103 can be various electronic devices, including but not limited to desktop computers, laptops, smartphones, and tablets. It should be understood that... Figure 1 The number of terminal devices and network elements shown is merely illustrative. Depending on implementation needs, any number of terminal devices and network elements can be included.

[0057] Figure 2 A schematic diagram of the structure of a computer system suitable for implementing the terminal device of the present disclosure is shown.

[0058] It should be noted that,Figure 2 The computer system 200 of the terminal device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.

[0059] like Figure 2 As shown, the computer system 200 includes a central processing unit (CPU) 201, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 202 or programs loaded from storage section 208 into random access memory (RAM) 203. The RAM 203 also stores various programs and data required for system operation. The CPU 201, ROM 202, and RAM 203 are interconnected via a bus 204. An input / output (I / O) interface 205 is also connected to the bus 204.

[0060] The following components are connected to the (I / O) interface 205: an input section 206 including a keyboard, mouse, etc.; an output section 207 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 208 including a hard disk, etc.; and a communication section 209 including a network interface card such as a LAN card, modem, etc. The communication section 209 performs communication processing via a network such as the Internet. A drive 210 is also connected to the (I / O) interface 205 as needed. A removable medium 211, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 210 as needed so that computer programs read from it can be installed into the storage section 208 as needed.

[0061] In particular, according to embodiments of this disclosure, the processes described below with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium. When the computer program is executed by a central processing unit (CPU), it performs the various functions defined in the methods and apparatus of this disclosure.

[0062] It should be noted that the computer-readable medium disclosed herein may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0063] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0064] The units described in the embodiments of this disclosure can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the unit itself.

[0065] Please see Figure 3 , Figure 3 A flowchart illustrating a method for implementing a terminal dynamic policy according to an embodiment of this disclosure is shown schematically. Figure 3 As shown, the method for implementing dynamic terminal policies may include:

[0066] S320. It is detected that the terminal accesses the roaming network, and the routing policy executed by the terminal is inconsistent with the roaming policy. The roaming network and the roaming policy have a corresponding relationship.

[0067] S330. Based on the roaming policy and the routing policy executed by the terminal, a new routing policy is obtained.

[0068] S340. The new routing policy is sent to the terminal, and the terminal executes the new routing policy.

[0069] Implementation Figure 2 The terminal dynamic policy method shown involves obtaining a new routing policy based on the roaming policy and the terminal's routing policy when the terminal accesses a roaming network and the routing policy executed by the terminal is inconsistent with the roaming location policy. The new routing policy is then sent to the terminal for execution. Implementing embodiments of this disclosure, on the one hand, by modifying the terminal's routing policy accordingly when accessing a roaming network and encountering routing policy conflicts to comply with the specific policy requirements of the roaming location, network problems can be avoided or the problem incidence rate reduced. On the other hand, it eliminates the need for manual operation, directly obtaining a new routing policy based on the roaming location policy and the terminal's routing policy, thus improving the efficiency of terminal-executed routing policy switching.

[0070] The technical solutions of this disclosure can be applied to various communication systems, such as: Global System of Mobile Communication (GSM), Code Division Multiple Access (CDMA), Wide Band Code Division Multiple Access (WCDMA), General Packet Radio Service (GPRS), Long Term Evolution (LTE), and LTE Frequency Division Duplex (FDD).

[0071] The steps described above in this example implementation will now be explained in more detail.

[0072] In step S320, it is detected that the terminal accesses the roaming network and the routing policy executed by the terminal is inconsistent with the roaming policy. The roaming network and the roaming policy have a corresponding relationship.

[0073] User Equipment Route Selection Policy (URSP) is the routing policy executed by a user's terminal. The routing policy executed by the terminal can be a pre-configured policy within the terminal or received from the user's Home Policy Control Function (PCF). However, under normal circumstances, in non-3GPP standards, the terminal executes the routing policy issued by the Home PCF; a pre-configured routing policy is only used when the terminal does not receive a routing policy from the Home PCF. The URSP can be used by the user equipment to determine whether a detected application can be associated with an established Protocol Data Unit (PDU) session, whether it can be offloaded to 3GPP access outside the PDU session, or whether it can trigger the establishment of a new PDU session. The terminal can also use URSP to select matching slices, DNNs, session and service continuity modes, and other parameters to access the 5G network.

[0074] Different regions have different local policies, and each region typically has specific policy requirements. A terminal corresponds to only one home location, and the routing policy executed by the user terminal matches that home location. When a user uses the network in another region, they connect to a roaming network, also known as a visited network. The region corresponding to this roaming network is the roaming location, which has its own local policies and specific policy requirements.

[0075] In step S330, a new routing policy is obtained based on the roaming policy and the routing policy executed by the terminal.

[0076] In this embodiment, the roaming policy and the routing policy executed by the terminal in its home location may be the same or not entirely the same, i.e., partially the same and partially different. A new routing policy is obtained based on the roaming policy and the routing policy executed by the terminal. This can be achieved by merging the roaming policy and the routing policy executed by the terminal into a new routing policy. The merged routing policy includes all routing policies executed by the roaming location and the current terminal. Alternatively, it can be based on the roaming policy, retaining all policies executed by the current terminal, comparing the current terminal's policy with the roaming policy, and adding the portions included in the roaming policy but not included in the terminal's policy to the terminal's policy.

[0077] For example, the policy could be about the allowed service types, data rates, packet error rates, whether the service is real-time or non-real-time, etc. For instance, if the policy issued by the home PCF includes three aspects: A1, B1, and C2, and the roaming policy is D1 and E2, then the new route policy would be A1, B1, C2, D1, and E2; if the policy issued by the home PCF includes three aspects: A1, B1, and C2, and the roaming policy is B2 and C1, then the new routing policy would be A1, B2, and C1.

[0078] It is understandable that when roaming policies and the home location policies executed by the terminal are merged, they can be based on preset rules to achieve a certain purpose. For example, the basic principle is to select the lowest quality of service and the strictest billing rules. Therefore, when the routing policy executed by the terminal represents voice-type services and the roaming policy represents streaming media-type services, when a new routing policy is obtained based on the roaming policy and the routing policy executed by the terminal, the streaming media-type services will be included as the content of the new policy. This embodiment of the disclosure does not impose any special restrictions on the preset rules.

[0079] In step S340, the new routing policy is sent to the terminal, and the terminal executes the new routing policy.

[0080] In this embodiment of the disclosure, the PCF is a standard 5GC network element, equivalent to the PCRF in the 4G PEC. The PCF obtains the user terminal subscription policy from the Unit Deployment Manager (UDM), and issues the Access and Mobility Management Function (AMF) and Session Management Function (SMF). The AMF and SMF then issue the policies to the user terminal equipment, the Radio Access Network (RAN), and the User Plane Function (UPF).

[0081] Since roaming policies differ across regions, it is necessary to obtain the roaming policy when a new routing policy is derived based on the roaming policy and the routing policy executed by the terminal. This is to facilitate the timely generation of the new policy based on the roaming policy and the routing policy executed by the terminal device.

[0082] Based on this, this disclosure also proposes an implementation method for implementing a dynamic terminal strategy. For example... Figure 4 As shown, before the step of detecting that the terminal accesses the roaming network and that the routing policy executed by the terminal is inconsistent with the roaming policy, the method further includes step S310:

[0083] In step S310, multiple roaming policies are obtained and stored in a network policy library. The network policy library also includes area identifiers corresponding to the roaming policies.

[0084] In this embodiment, the home PCF may request roaming policies for the region from PCFs in other roaming locations. For example, the home PCF may send a request to the PCFs in other roaming locations, download the roaming policies, and finally store the policies obtained by the home PCF in the network policy database. The network policy database is located in a network element, which is managed by a network element management system. Alternatively, the network element management system can directly configure the network policy database within the network element. The network element storing the network policy database can be dynamically accessed by the home PCF.

[0085] When storing policies in the network policy library, different policies can be stored with different identifiers. These identifiers can be Public Land Mobile Network Identity Documents (PLMN IDs) or Tracking Area (TA) lists. TAs are a new concept established by the Long Term Evolution (LTE) system for user equipment location management. When a user equipment is idle, the core network can determine its tracking area. When an idle user equipment needs to be paged, paging must be performed in all cells within the tracking area where the user equipment is registered. The LTE Tracking Area Identity is composed of the PLMN and the Tracking Area Code (TAC). Multiple TAs form a TA list, which is assigned to a single user equipment. When a user equipment moves within this TA list, it does not need to perform a TA update, reducing frequent interactions with the network. When a user equipment enters a new TA area not in its registered TA list, a TA update is required. The Mobility Management Entity (MME) reassigns a new set of Traveling Targets (TAs) to User Equipment (UEs). The newly assigned TAs may also include some TAs from the existing TA list; each cell belongs to only one TA. The identifier corresponding to the policy represents the relevant roaming policy and the roaming area.

[0086] By implementing embodiments of this disclosure, multiple roaming location policies are obtained and stored in a network policy database, which also includes area identifiers corresponding to the roaming location policies. This allows for the convenient acquisition of new routing policies after a terminal accesses a roaming network, based on the roaming location policies and the routing policies executed by the terminal, thus improving the ease and efficiency of routing policy switching.

[0087] This disclosure also proposes an implementation method for a terminal dynamic policy, wherein the step of detecting that the terminal accesses the roaming network and that the routing policy executed by the terminal is inconsistent with the roaming policy includes:

[0088] Obtain the area identifier corresponding to the network accessed by the terminal, and identify the area identifier corresponding to the accessed network to determine that the terminal has accessed a roaming network;

[0089] If the policy list sent by the terminal has not changed, it is determined that the routing policy executed by the terminal is inconsistent with the roaming policy.

[0090] In this embodiment, the region identifier corresponding to the terminal can be determined by the network the terminal is currently connecting to. The region identifier is used to determine whether to access a roaming network (i.e., a visited network). When issuing user equipment policies to the terminal, the user equipment policy is divided into one or more sections for transmission. Each section corresponds to an identifier, namely the Policy Section Identifier (PSI). When a change is detected in the policy list sent by the terminal, it indicates that the terminal is no longer connected to a network in the previous region. If it was previously connected to a network in its home region, it is now in a roaming region; if it was previously connected to a network in a roaming region, the terminal may now be in its home region or another roaming region. If the policy list sent by the terminal has not changed, the routing policy executed by the terminal has not changed, indicating that although the network the terminal is connected to has changed, the routing policy executed by the terminal has not changed, and the policy needs to be modified to meet the policy requirements of the network connection region.

[0091] This disclosure also proposes an implementation method for a terminal dynamic policy. Before the step of obtaining a new routing policy based on the roaming policy and the routing policy executed by the terminal, the method further includes:

[0092] Based on the area identifier corresponding to the network accessed by the terminal, query the roaming policy corresponding to the area identifier from the network policy database;

[0093] Based on the policy identifier sent by the terminal, the routing policy executed by the terminal is obtained from the unified database, and the policy identifier corresponds to the routing policy executed by the terminal.

[0094] In this embodiment, before obtaining a new routing policy based on the roaming location policy and the routing policy executed by the terminal, it is necessary to first obtain the roaming location policy and the routing policy currently executed by the terminal. This can be done by accessing the network policy library based on the mapping between area identifiers and roaming policies in the network policy library, requesting the relevant roaming policy. For example, the home PCF queries the network policy library for special policy requirements for the visited network based on the PLMN ID or TA. The network policy library will return the special policy requirements for the visited location to the home PCF based on the received PLMN ID or TA information. The routing policy executed by the terminal can be obtained from the Unified Data Repository (UDR).

[0095] By implementing embodiments of this disclosure, roaming policies are first retrieved from the network policy library, and the routing policies executed by the terminal are retrieved from the unified database before new routing policies are obtained. This facilitates the rapid generation of new routing policies and improves the efficiency of policy modification.

[0096] Because the network to which the terminal device connects and the routing policy executed by the terminal can be constantly changing—that is, from the home location to the roaming location, from the roaming location back to the home location, and from one roaming location to another—the connected network and the executed routing policy also change as the terminal's location changes.

[0097] Based on this, this disclosure also proposes an implementation method for a terminal dynamic policy. After the step of sending the new routing policy to the terminal and the terminal executing the new routing policy, the method further includes:

[0098] Obtain the area identifier corresponding to the network accessed by the terminal, and identify the area identifier corresponding to the accessed network to determine that the terminal has accessed its home network;

[0099] The routing policy corresponding to the home network is sent to the terminal, and the terminal executes the routing policy corresponding to the home network.

[0100] In the embodiments of this disclosure, the area identifier corresponding to the terminal accessing the network can be obtained after each time the terminal device switches to a different network, or it can be obtained within a fixed time period. For example, the area identifier corresponding to the terminal accessing the network can be obtained every hour, or other time periods can be used; this disclosure does not impose any limitations on this.

[0101] After obtaining the area identifier corresponding to the terminal's access network and identifying the area identifier to determine that the terminal has accessed its home network, the policy corresponding to that home network can be directly sent to the terminal device, and the terminal executes the policy. Alternatively, the policy can be modified from the home location to the roaming location, similar to the aforementioned approach, by modifying the routing policy sent from the home location to the terminal based on the roaming policy to obtain a new policy. Correspondingly, the current terminal execution policy can be modified based on the home location policy to meet the home location policy requirements.

[0102] Based on the above embodiments, it can also be concluded that... Figure 5The diagram illustrates the implementation process of the terminal dynamic policy. Step 1: First, a new network policy library is added and configured, storing roaming policies for each region. Step 2: It is determined whether the routing policy executed by the terminal needs to be updated. This involves first checking if the terminal is connected to a roaming network, and then checking if the terminal's routing policy has changed. Step 3: The home PCF retrieves the roaming policy from the network policy library and the currently executed routing policy from the unified database. Step 4: Based on the roaming policy and the terminal's currently executed routing policy, a new routing policy is modified and distributed to the terminal. Step 5: The terminal device executes the new routing policy.

[0103] like Figure 6 The diagram shows the interaction between the terminal and the routing policy during the update process. The interaction process is divided into home and roaming areas; please refer to the scheme in the aforementioned embodiment for details, which will not be repeated here.

[0104] It should be noted that although the steps of the method in this disclosure are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps may be omitted, multiple steps may be combined into one step, and / or a step may be broken down into multiple steps.

[0105] Furthermore, this example embodiment also provides an apparatus for implementing dynamic terminal policies. (See reference...) Figure 7 The device 700 includes:

[0106] The network policy detection module 710 is used to detect that the terminal accesses the roaming network and the routing policy executed by the terminal is inconsistent with the roaming policy, wherein the roaming network and the roaming policy have a corresponding relationship;

[0107] The routing policy update module 720 is used to obtain a new routing policy based on the roaming policy and the routing policy executed by the terminal;

[0108] The routing policy sending module 730 is used to send the new routing policy to the terminal, and the terminal executes the new routing policy.

[0109] According to embodiments of this disclosure, this disclosure also proposes an implementation method for a device for implementing a terminal dynamic strategy, the device further comprising:

[0110] The network policy library module is used to acquire multiple roaming policies and store the multiple roaming policies in the network policy library. The network policy library also includes the area identifiers corresponding to the roaming policies.

[0111] According to embodiments of this disclosure, this disclosure also proposes an implementation method for a device for implementing a terminal dynamic policy, wherein a network policy detection module 710 is used to obtain the area identifier corresponding to the terminal accessing the network, and identify the area identifier corresponding to the accessed network to determine that the terminal has accessed a roaming network.

[0112] If the policy list sent by the terminal has not changed, it is determined that the routing policy executed by the terminal is inconsistent with the roaming policy.

[0113] According to embodiments of this disclosure, this disclosure also proposes an implementation method for a device for implementing a dynamic terminal policy, wherein a routing policy update module 720 is used to modify the routing policy executed by the terminal based on the roaming policy to obtain a new routing policy, wherein the modification methods include, but are not limited to, adding, deleting, and replacing.

[0114] According to embodiments of this disclosure, this disclosure also proposes an implementation method for a device for implementing a terminal dynamic strategy, the device further comprising:

[0115] The policy acquisition module is used to query the network policy database for the roaming policy corresponding to the area identifier based on the area identifier of the network accessed by the terminal before the step of obtaining a new routing policy based on the roaming policy and the routing policy executed by the terminal.

[0116] Based on the policy identifier sent by the terminal, the routing policy executed by the terminal is obtained from the unified database, and the policy identifier corresponds to the routing policy executed by the terminal.

[0117] According to embodiments of this disclosure, this disclosure also proposes an implementation method for a device for implementing a terminal dynamic strategy, the device further comprising:

[0118] The home policy configuration module is used to obtain the area identifier corresponding to the network accessed by the terminal after the step of sending the new routing policy to the terminal and the terminal executing the new routing policy, and to identify the area identifier corresponding to the accessed network to determine that the terminal has accessed the home network.

[0119] The routing policy corresponding to the home network is sent to the terminal, and the terminal executes the routing policy corresponding to the home network.

[0120] According to embodiments of this disclosure, this disclosure also proposes an implementation method for a device for implementing a terminal dynamic strategy, wherein the area identifier includes, but is not limited to, a public terrestrial mobile network identifier and a tracking area list.

[0121] The above-described device is used to execute the method provided in the foregoing embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.

[0122] These modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more Digital Signal Processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs). Alternatively, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a System-on-a-Chip (SOC).

[0123] Optionally, the present invention also provides a program product, such as a computer-readable storage medium, including a program that, when executed by a processor, is used to perform the above-described method embodiments.

[0124] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0125] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0126] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0127] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0128] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for implementing dynamic terminal strategies, characterized in that, include: The terminal is detected to be accessing a roaming network, and the routing policy executed by the terminal is inconsistent with the roaming policy. The roaming network and the roaming policy have a corresponding relationship. Based on the roaming policy and the routing policy executed by the terminal, a new routing policy is obtained; The new routing policy is sent to the terminal, and the terminal executes the new routing policy. Prior to the step of detecting that the terminal accesses the roaming network and that the routing policy executed by the terminal is inconsistent with the roaming policy, the method further includes: acquiring multiple roaming policies and storing the multiple roaming policies in a network policy library, wherein the network policy library also includes a region identifier corresponding to the roaming policy; The step of detecting that the terminal accesses the roaming network and that the routing policy executed by the terminal is inconsistent with the roaming policy includes: Obtain the area identifier corresponding to the network accessed by the terminal, and identify the area identifier corresponding to the accessed network to determine that the terminal has accessed a roaming network; If a change is detected in the policy list sent by the terminal, it is determined that the routing policy executed by the terminal is inconsistent with the roaming policy; wherein, when issuing user equipment policies to the terminal, the user equipment policies are segmented, and each segment corresponds to a policy segment identifier.

2. The method according to claim 1, characterized in that, The step of obtaining a new routing policy based on the roaming policy and the routing policy executed by the terminal includes: Based on the roaming policy, the routing policy executed by the terminal is modified to obtain a new routing policy. The modification methods include, but are not limited to, adding, deleting, and replacing.

3. The method according to claim 1, characterized in that, Before the step of obtaining a new routing policy based on the roaming policy and the routing policy executed by the terminal, the method further includes: Based on the area identifier corresponding to the network accessed by the terminal, query the roaming policy corresponding to the area identifier from the network policy database; Based on the policy identifier sent by the terminal, the routing policy executed by the terminal is obtained from the unified database, and the policy identifier corresponds to the routing policy executed by the terminal.

4. The method according to claim 1, characterized in that, After the step of sending the new routing policy to the terminal and the terminal executing the new routing policy, the method further includes: Obtain the area identifier corresponding to the network accessed by the terminal, and identify the area identifier corresponding to the accessed network to determine that the terminal has accessed its home network; The routing policy corresponding to the home network is sent to the terminal, and the terminal executes the routing policy corresponding to the home network.

5. The method according to claim 1, characterized in that, The area identifiers include, but are not limited to: public land mobile network identifiers and tracking area lists.

6. An apparatus for implementing dynamic terminal strategies, characterized in that, include: The network policy detection module is used to detect that a terminal accesses a roaming network and that the routing policy executed by the terminal is inconsistent with the roaming policy, wherein the roaming network and the roaming policy have a corresponding relationship; The routing policy update module is used to obtain a new routing policy based on the roaming policy and the routing policy executed by the terminal; A routing policy sending module is used to send the new routing policy to the terminal, and the terminal executes the new routing policy; The device further includes: The network policy library module is used to obtain multiple roaming policies and store the multiple roaming policies in the network policy library. The network policy library also includes the area identifiers corresponding to the roaming policies. The network policy detection module is also configured to execute: Obtain the area identifier corresponding to the network accessed by the terminal, identify the area identifier corresponding to the accessed network to determine that the terminal has accessed the roaming network; detect that the policy list sent by the terminal has changed, and determine that the routing policy executed by the terminal is inconsistent with the roaming policy; wherein, when issuing user equipment policies to the terminal, the user equipment policies are segmented, and each segment corresponds to a policy segment identifier.

7. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1 to 5.

8. An electronic device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the one or more processors to implement the method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Policy communication via control plane signaling

    CN110431805A