Strategy management method and device, computer equipment and storage medium
By managing policy associations based on the type of contracted service through PCF network elements, the problem of inflexible policy associations in home-based and temporary contracted services is solved, enabling timely release of network resources and meeting user renewal needs, thereby improving resource utilization and user satisfaction.
Patent Information
- Application Number
- CN202511191654.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-25
- Publication Date
- 2025-12-02
AI Technical Summary
In existing technologies, the triggering method for policy-related deletion of home-based contracts is inflexible, resulting in the inability to release network resources in a timely manner, low effective resource utilization, and the inability to renew temporary contract services in a timely manner after the package expires.
The PCF network element responds to the service termination message, determines the management policy based on the type of subscribed service, and sends the display update and associated deletion policies to the AMF network element to achieve flexible management of policy associations, including display updates and policy retention to support user renewals.
It enabled the timely release of invalid network resources, improved resource utilization, and provided users with a channel to resubscribe, thereby increasing user satisfaction.
Smart Images

Figure CN121056899A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of mobile communication technology, specifically to a policy management method, apparatus, computer device, and storage medium. Background Technology
[0002] With the development of mobile communication technology, operators, in order to optimize mobile networks, are not only pursuing important directions such as network function upgrades and network speed improvements, but also further considering the flexibility and practicality of policy management. Taking home-based subscription as an example, after a user terminal completes its subscription, the AMF (Access and Mobility Management Function) network element and the PCF (Policy Control Function) network element establish policy associations (e.g., AM (Access and Mobility) policy associations). However, the deletion of policy associations corresponding to home-based subscriptions is triggered by re-login or location updates. Even if the home-based subscription plan has ended, because the user terminal's location has not been updated or the operation has been offline and then re-login, the AM policy association cache for that user terminal will still be retained in the AMF and PCF network elements, occupying the capacity of the AM policy association. This leads to the problem of network resources not being released in a timely manner and low effective resource utilization. Therefore, how to achieve flexible policy management that can both release invalid network resources in a timely manner and meet the service needs of different subscribed services is a critical problem that urgently needs to be solved. Summary of the Invention
[0003] Therefore, it is necessary to provide a strategy management method, apparatus, computer equipment, and storage medium that enables flexible strategy management in response to the above-mentioned technical problems.
[0004] Firstly, this application provides a policy management method applied to PCF network elements, the method comprising:
[0005] In response to the service termination message sent by the detection end for the subscribed service of the target terminal, the service type of the subscribed service is determined;
[0006] Determine the target management strategy based on the type of business;
[0007] Based on the target management strategy, the strategy association of the target terminal is managed; where the strategy association is located between the AMF network element and the PCF network element and is associated with the contracted service.
[0008] In one embodiment, the service types include home-based contract services and temporary contract services.
[0009] In one embodiment, determining the target management strategy based on the business type includes:
[0010] When the business type is a home-based contract business, the target management strategy includes the first display update strategy and the associated deletion strategy.
[0011] In one embodiment, the policy association for managing target terminals is based on a target management policy, including:
[0012] Send a first display update policy and an association deletion policy to the AMF network element so that the AMF network element displays the first identifier on the target terminal based on the first display update policy and deletes the policy association based on the association deletion policy; wherein, the first identifier is used to indicate the termination of the subscribed service.
[0013] In one embodiment, determining the target management strategy based on the business type includes:
[0014] When the business type is temporary contract business, obtain the triggering method of the strategy association for establishing temporary contract business;
[0015] Determine the target management strategy based on the triggering method and / or the termination method in the business termination message.
[0016] In one embodiment, the target management strategy is determined based on the triggering method and / or the termination method in the service termination message, including:
[0017] When the triggering method is "move to target area" and the termination method in the service termination message is "the contracted resources have been used up", the target management strategy is determined to include the second display update strategy.
[0018] In one embodiment, the policy association for managing target terminals is based on a target management policy, including:
[0019] A second display update policy is sent to the AMF network element so that the AMF network element displays the second identifier on the target terminal based on the second display update policy, and retains the policy association; wherein, the second identifier is used to indicate that the subscribed resources have been used up.
[0020] Secondly, this application provides a policy management device configured in a PCF network element, the device comprising:
[0021] The first determining module is used to determine the service type of the subscribed service in response to the service termination message sent by the detection end for the subscribed service of the target terminal.
[0022] The second determination module is used to determine the target management strategy based on the business type;
[0023] The management module is used to manage the policy associations of target terminals based on the target management policy; wherein, the policy association is the policy association located between the AMF network element and the PCF network element and associated with the contracted service.
[0024] Thirdly, this application also provides a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0025] In response to the service termination message sent by the detection end for the subscribed service of the target terminal, the service type of the subscribed service is determined;
[0026] Determine the target management strategy based on the type of business;
[0027] Based on the target management strategy, the strategy association of the target terminal is managed; where the strategy association is located between the AMF network element and the PCF network element and is associated with the contracted service.
[0028] Fourthly, this application also provides a computer-readable storage medium on which a computer program is stored, and which, when executed by a processor, performs the following steps:
[0029] In response to the service termination message sent by the detection end for the subscribed service of the target terminal, the service type of the subscribed service is determined;
[0030] Determine the target management strategy based on the type of business;
[0031] Based on the target management strategy, the strategy association of the target terminal is managed; where the strategy association is located between the AMF network element and the PCF network element and is associated with the contracted service.
[0032] Fifthly, this application also provides a computer program product comprising a computer program that, when executed by a processor, performs the following steps:
[0033] In response to the service termination message sent by the detection end for the subscribed service of the target terminal, the service type of the subscribed service is determined;
[0034] Determine the target management strategy based on the type of business;
[0035] Based on the target management strategy, the strategy association of the target terminal is managed; where the strategy association is located between the AMF network element and the PCF network element and is associated with the contracted service.
[0036] The aforementioned policy management method, apparatus, computer equipment, and storage medium, in response to a service termination message for a subscribed service sent by the detection end to a target terminal, determine the service type of the subscribed service. Based on the service type, a target management policy is determined. Based on the target management policy, the policy association of the target terminal is managed; wherein, the policy association is a policy association located between the AMF network element and the PCF network element and associated with the subscribed service. In this application, when the PCF network element receives a service termination message for a subscribed service to a target terminal, it can determine the target management policy based on the service type of the subscribed service and manage the policy association of the target terminal based on the target management policy. This improves the flexibility of policy association management, enabling timely release of invalid network resources and maintaining policy associations even when the subscribed service is a special service (e.g., a temporary subscribed service), reserving a channel for users to re-subscribe, meeting user needs, and improving user satisfaction. Attached Figure Description
[0037] Figure 1 This is an application environment diagram of a strategy management method provided in this embodiment;
[0038] Figure 2 This is a flowchart illustrating the first strategy management method provided in this embodiment;
[0039] Figure 3 This is a flowchart illustrating the policy association process for managing target terminals provided in this embodiment;
[0040] Figure 4 This is a flowchart illustrating the process of determining the target management strategy provided in this embodiment;
[0041] Figure 5 This is a flowchart illustrating the second strategy management method provided in this embodiment;
[0042] Figure 6 This is a structural block diagram of a strategy management device provided in this embodiment;
[0043] Figure 7 This is an internal structural diagram of the computer device provided in this embodiment. Detailed Implementation
[0044] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0045] With the development of mobile communication technology, operators, in order to optimize mobile networks, are not only pursuing important directions such as network function upgrades and network speed improvements, but also further considering the flexibility and practicality of policy management. Taking home-based subscription as an example, after a user terminal completes the subscription, the AMF (Access and Mobility Management Function) network element and the PCF (Policy Control Function) network element establish a policy association (e.g., AM (Access and Mobility) policy association). However, the deletion of the policy association corresponding to the home-based subscription is triggered by re-login or location update. Even if the home-based subscription plan has ended (i.e., the subscription service has ended), because the user terminal's location has not been updated or the operation has been offline and then re-login, the AM policy association cache of the user terminal will still be retained in the AMF and PCF network elements, occupying the capacity of the AM policy association. This leads to the problem that network resources cannot be released in a timely manner and the effective resource utilization rate is low. For example, consider a temporary subscription service customized for a museum. When the AMF (Agency Management Function) network element detects a user terminal entering the subscription service's associated area, it establishes an AM policy association with the local PCF (Public Security Function) network element. This allows the PCF network element to immediately send the corresponding display policy to the AMF network element through the associated channel after the user scans the code, providing the subscription service. However, once the subscription service's corresponding package expires, the AM association policy is deleted. This results in a situation where, in a temporary subscription scenario, the user hasn't left the associated area and wants to renew the service, but scanning the code again lacks the corresponding channel to send the policy, preventing renewal. Therefore, achieving flexible policy management that promptly releases invalid network resources while meeting the service needs of different subscription services is a crucial challenge that urgently needs to be addressed.
[0046] The strategy management method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, when the detection terminal detects the termination of the subscribed service of the target terminal, it sends a service termination message to the PCF network element. The PCF network element responds to the service termination message sent by the detection terminal for the subscribed service of the target terminal and determines the service type of the subscribed service. Based on the service type, the PCF network element determines the target management policy. Based on the target management policy, the PCF network element manages the policy association of the target terminal. Here, the policy association is a policy association located between the AMF network element and the PCF network element, and associated with the subscribed service. In this application, the policy association is an AM policy association, a dynamic, one-to-one control channel established to serve the subscribed service of the target terminal.
[0047] Among them, the AMF (Access and Mobility Management Function) network element is responsible for user terminal authentication, authorization, registration, mobility management and connection management functions.
[0048] PCF (Policy Control Function) network elements support a unified policy framework to manage network behavior, provide policy rules for network entities to implement, and access subscription information from a unified data warehouse.
[0049] In one embodiment, Figure 2 This is a flowchart illustrating a strategy management method provided in an embodiment of this application, applied to... Figure 1 Taking the PCF network element as an example, this method includes the following steps:
[0050] S201, in response to the service termination message sent by the detection end for the subscribed service of the target terminal, determine the service type of the subscribed service.
[0051] In this context, the detection terminal refers to a device with contracted service detection capabilities. Optionally, in this embodiment, the detection terminal can be the operator's IT (Information Technology) system. The target terminal refers to the user terminal that requires policy control. The contracted service refers to a service contract signed between the user terminal and the operator. This could be a service package actively purchased by the user terminal (e.g., a high-speed, high-priority, 100GB data package), or a temporarily contracted service package (e.g., a data package usable locally or in a specific region (e.g., a museum, amusement park, etc.)). The service type refers to the type of contracted service.
[0052] Optionally, the service types in this embodiment mainly include home-based contracted services and temporary contracted services. Home-based contracted services refer to service packages subscribed to by the user terminal and the home network, and these generally have a longer duration. Temporary contracted services refer to service packages signed up temporarily, and generally have characteristics such as short duration and regional restrictions.
[0053] Optionally, in this embodiment, when the detection terminal detects the termination of the subscribed service, it sends a service termination message for the target terminal to the PCF network element. In this embodiment, the detection terminal can send the service termination message for the target terminal to the PCF network element directly or through other devices or network element devices.
[0054] One optional implementation method for determining the service type of a contracted service in this embodiment is to determine the service type based on a package list. The package list records the service types of various contracted services; therefore, the service type can be determined based on the contracted service.
[0055] Another optional implementation of determining the service type of the contracted service in this embodiment is to send a first query request for the contracted service to the query device, so that the query device can provide feedback on the service type of the contracted service to the PCF network element based on the first query request.
[0056] S202, Determine the target management strategy based on the business type.
[0057] Among them, the target management strategy refers to the management strategy associated with the contracted business.
[0058] As an optional implementation of this application, a target management strategy is determined based on a package list and service type. The package list stores the service type and management strategy for each contracted service.
[0059] Another optional implementation of this application involves performing a policy association update analysis on the business types, and determining the target management strategy based on the update analysis results. The update analysis results may include deletion, retention, etc.
[0060] Another optional implementation of this application is to send a second query request carrying a service type to the query device, so that the query device can feed back the target management strategy to the PCF network element based on the second query request.
[0061] S203 manages the policy associations of target terminals based on the target management strategy.
[0062] Among them, the policy association is the policy association located between the AMF network element and the PCF network element and associated with the contracted service.
[0063] Optionally, in this embodiment, a request message is generated based on the target management policy. The request message is sent to the AMF network element so that the AMF network element manages the policy association of the target terminal based on the request message.
[0064] The aforementioned policy management method, in response to a service termination message for a subscribed service sent by the detection end to the target terminal, determines the service type of the subscribed service. Based on the service type, a target management policy is determined. Based on the target management policy, the policy association of the target terminal is managed; wherein, the policy association is a policy association located between the AMF network element and the PCF network element and associated with the subscribed service. In this application, when the PCF network element receives a service termination message for a subscribed service to the target terminal, it can determine the target management policy based on the service type of the subscribed service and manage the policy association of the target terminal based on the target management policy. This improves the flexibility of policy association management, enabling timely release of invalid network resources and maintaining policy associations even when the subscribed service is a special service (e.g., a temporary subscribed service), reserving a channel for users to re-subscribe, meeting user needs, and improving user satisfaction.
[0065] In one embodiment, when the service type is a home-based contract service, the target management strategy is determined to include a first display update strategy and an association deletion strategy. Based on this, such as Figure 3 As shown, an optional implementation method for managing the policy association of target terminals based on the target management strategy includes:
[0066] S301, send the first display label update policy and the association deletion policy to the AMF network element, so that the AMF network element displays the first identifier on the target terminal based on the first display label update policy, and deletes the policy association based on the association deletion policy.
[0067] The first identifier indicates the termination of the subscribed service. The first identifier update policy is the policy used to update the displayed identifier on the target terminal. The association deletion policy is the policy used to instruct the AMF network element to delete the policy association of the subscribed service.
[0068] For example, user terminal A in a certain province purchases a "VIP Card for Display Services." After subscribing to this service on the PCF network element in that province, the user terminal will display "XX Operator VIP" and use the guaranteed data allowance provided by the VIP card. At this time, the AMF network element and the PCF network element have established an AM policy association for user terminal A. After the IT system detects that the VIP card has expired or the guaranteed data allowance has been used up, it notifies the PCF network element to delete the subscribed service for user terminal A and update the display. The PCF network element generates a first display update policy and an association deletion policy, and sends the first display update policy and the association deletion policy to the AMF network element, notifying the AMF to delete the AM policy association for the UE and update the display of user terminal A (e.g., from "XX Operator VIP" to "XX Operator").
[0069] In this embodiment, a first display label update policy and an association deletion policy are sent to the AMF network element. This enables the AMF network element to display a first identifier on the target terminal based on the first display label update policy, and to delete policy associations based on the association deletion policy. The first identifier indicates the termination of the subscribed service. Based on this embodiment, when the service type is a home-based subscription service, the AMF network element can display the first identifier on the target terminal based on the first display label update policy, and delete policy associations based on the association deletion policy. This not only achieves timely deletion of policy associations, releasing the network resources occupied by the policy associations, but also updates the display label on the target terminal in a timely manner based on the first display label update policy to display the first identifier, prompting the user that the subscribed service has terminated.
[0070] In one embodiment, when the business type is a temporary contract business, in order to determine the target management strategy, such as... Figure 4 As shown, based on the business type, the optional implementation methods for the target management strategy include:
[0071] S401, when the business type is temporary contract business, obtain the trigger method for establishing the strategy association of temporary contract business.
[0072] Among them, the triggering method refers to the triggering method for establishing a strategy association with the temporary contract business.
[0073] Optionally, in this embodiment, the triggering method includes triggering upon moving to the target area.
[0074] S402, determine the target management strategy based on the triggering method and / or the termination method in the service termination message.
[0075] The termination methods include the expiration of the contracted business or the exhaustion of the contracted resources corresponding to the contracted business.
[0076] Optionally, in this embodiment, when the triggering method is to move to the target area and the termination method in the service termination message is that the contracted resources have been used up, the target management strategy is determined to include the second display update strategy.
[0077] Based on the above embodiments, an optional implementation of the policy association for managing target terminals, based on the target management strategy, involves sending a second display update policy to the AMF network element. This causes the AMF network element to display a second identifier on the target terminal based on the second display update policy, while retaining the policy association. The second identifier indicates that the subscribed resources have been used up. For example, user B, whose home region is in the first region, enters the museum area in the second region. After entering the museum area, an AM policy association is established between the AMF network element and the PCF network element in the second region for user terminal B. User terminal B scans a code in the museum area to apply for a display service and subscribes to a temporary service on the PCF network element. The PCF network element sends a display policy to the AMF network element through the association channel of user terminal B. The AMF network element controls user terminal B to display "XX Museum" while enjoying the high-speed experience and data allowance of the package. When the data allowance expires, the IT system notifies the PCF to delete the temporary subscription service. The PCF network element generates a second display update policy and sends it to the AMF network element. The AMF network element controls user terminal B to update the display based on the second display update policy, displaying the second identifier. After seeing the second sign, the user, having not yet completed their visit, scanned the code again to request the sign display service. Because the AM policy association was previously retained, the PCF network element could still issue a sign display policy based on this AM policy association after the user re-scanned the code. After the user finished their visit and left the museum, the AMF network element initiated the deletion of the AM policy association for user terminal B.
[0078] In this embodiment, when the service type is a temporary subscription service, the triggering method for establishing the policy association of the temporary subscription service is obtained. Based on the triggering method and / or the termination method in the service termination message, the target management policy is determined, increasing the flexibility of the target management policy. When the service type is a temporary subscription service, based on the target management policy, the method for managing the policy association of the target terminal is to send a second display update policy to the AMF network element, so that the AMF network element displays a second identifier on the target terminal based on the second display update policy, and retains the policy association; wherein, the second identifier is used to indicate that the subscription resources have been used up. With the policy association retained, the user can continue to renew the temporary subscription service based on the retained policy association; the policy association is only deleted when the user leaves the target area.
[0079] In one embodiment, such as Figure 5 As shown, an optional implementation of a strategy management method includes:
[0080] S501, in response to the service termination message sent by the detection end for the subscribed service of the target terminal, determines the service type of the subscribed service.
[0081] S502, when the business type is a home-based contracted business, the target management strategy is determined to include the first display update strategy and the associated deletion strategy.
[0082] S503, a first display update policy and an association deletion policy are sent to the AMF network element, so that the AMF network element displays the first identifier on the target terminal based on the first display update policy, and deletes the policy association based on the association deletion policy. The first identifier is used to indicate the termination of the subscribed service.
[0083] S504, when the business type is temporary contract business, obtain the triggering method for establishing the strategy association of temporary contract business.
[0084] S505, when the triggering method is "move to target area trigger" and the termination method in the service termination message is "the contracted resources have been used up", the target management strategy is determined to include the second display update strategy.
[0085] S506, a second display update policy is sent to the AMF network element so that the AMF network element displays the second identifier on the target terminal based on the second display update policy, and retains the policy association. The second identifier is used to indicate that the subscribed resources have been used up.
[0086] The policy management method in this embodiment, in response to a service termination message for a subscribed service sent by the detection end to a target terminal, determines the service type of the subscribed service. Based on the service type, a target management policy is determined. Based on the target management policy, the policy association of the target terminal is managed; wherein, the policy association is a policy association located between the AMF network element and the PCF network element and associated with the subscribed service. In this application, when the PCF network element receives a service termination message for a subscribed service to a target terminal, it can determine the target management policy based on the service type of the subscribed service and manage the policy association of the target terminal based on the target management policy. This improves the flexibility of policy association management, enabling timely release of invalid network resources and maintaining policy associations even when the subscribed service is a special service (e.g., a temporary subscribed service), reserving a channel for users to re-subscribe, meeting user needs, and improving user satisfaction.
[0087] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0088] Based on the same inventive concept, this application also provides a strategy management device for implementing the strategy management method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more strategy management device embodiments provided below can be found in the limitations of the strategy management method described above, and will not be repeated here.
[0089] In one embodiment, by Figure 6 A structural block diagram of a policy management device in one embodiment is shown. Figure 6 As shown, a strategy management device 1 is provided, which includes: a first determination module 10, a second determination module 20, and a management module 30, wherein:
[0090] The first determining module 10 is used to determine the service type of the subscribed service in response to the service termination message sent by the detection end for the subscribed service of the target terminal.
[0091] The second determining module 20 is used to determine the target management strategy based on the business type;
[0092] The management module 30 is used to manage the policy association of target terminals based on the target management policy; wherein, the policy association is a policy association located between the AMF network element and the PCF network element and associated with the contracted service.
[0093] In one embodiment, the service types include home-based contract services and temporary contract services.
[0094] In one embodiment, the upper Figure 6 The second determining module is also specifically used for:
[0095] When the business type is a home-based contract business, the target management strategy includes the first display update strategy and the associated deletion strategy.
[0096] In one embodiment, the upper Figure 6 The management module is also specifically used for:
[0097] Send a first display update policy and an association deletion policy to the AMF network element so that the AMF network element displays the first identifier on the target terminal based on the first display update policy and deletes the policy association based on the association deletion policy; wherein, the first identifier is used to indicate the termination of the subscribed service.
[0098] In one embodiment, the upper Figure 6 The second determining module is also specifically used for:
[0099] When the business type is temporary contract business, obtain the triggering method of the strategy association for establishing temporary contract business;
[0100] Determine the target management strategy based on the triggering method and / or the termination method in the business termination message.
[0101] In one embodiment, the upper Figure 6 The second determining module is also specifically used for:
[0102] When the triggering method is "move to target area" and the termination method in the service termination message is "the contracted resources have been used up", the target management strategy is determined to include the second display update strategy.
[0103] In one embodiment, the upper Figure 6 The management module is also specifically used for:
[0104] A second display update policy is sent to the AMF network element so that the AMF network element displays the second identifier on the target terminal based on the second display update policy, and retains the policy association; wherein, the second identifier is used to indicate that the subscribed resources have been used up.
[0105] In one embodiment, a computer device is provided, which may be a platform-side device, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores policy management information. The network interface communicates with an external user via a network connection. When the computer program is executed by the processor, it implements a policy management method.
[0106] Those skilled in the art will understand that Figure 7The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specifically, the computer device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0107] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0108] In response to the service termination message sent by the detection end for the subscribed service of the target terminal, the service type of the subscribed service is determined;
[0109] Determine the target management strategy based on the type of business;
[0110] Based on the target management strategy, the strategy association of the target terminal is managed; where the strategy association is located between the AMF network element and the PCF network element and is associated with the contracted service.
[0111] In one embodiment, when the processor executes the computer program, it also performs the following steps: the service type includes home-based contracted services and temporary contracted services.
[0112] In one embodiment, when the processor executes the computer program, it further performs the following steps: determining a target management strategy based on the business type, including:
[0113] When the business type is a home-based contract business, the target management strategy includes the first display update strategy and the associated deletion strategy.
[0114] In one embodiment, when the processor executes the computer program, it further performs the following steps: managing policy associations of target terminals based on target management policies, including:
[0115] Send a first display update policy and an association deletion policy to the AMF network element so that the AMF network element displays the first identifier on the target terminal based on the first display update policy and deletes the policy association based on the association deletion policy; wherein, the first identifier is used to indicate the termination of the subscribed service.
[0116] In one embodiment, when the processor executes the computer program, it further performs the following steps: determining a target management strategy based on the business type, including:
[0117] When the business type is temporary contract business, obtain the triggering method of the strategy association for establishing temporary contract business;
[0118] Determine the target management strategy based on the triggering method and / or the termination method in the business termination message.
[0119] In one embodiment, when the processor executes the computer program, it further performs the following steps: determining a target management strategy based on the triggering method and / or the termination method in the business termination message, including:
[0120] When the triggering method is "move to target area" and the termination method in the service termination message is "the contracted resources have been used up", the target management strategy is determined to include the second display update strategy.
[0121] In one embodiment, when the processor executes the computer program, it further performs the following steps: managing policy associations of target terminals based on target management policies, including:
[0122] A second display update policy is sent to the AMF network element so that the AMF network element displays the second identifier on the target terminal based on the second display update policy, and retains the policy association; wherein, the second identifier is used to indicate that the subscribed resources have been used up.
[0123] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0124] In response to the service termination message sent by the detection end for the subscribed service of the target terminal, the service type of the subscribed service is determined;
[0125] Determine the target management strategy based on the type of business;
[0126] Based on the target management strategy, the strategy association of the target terminal is managed; where the strategy association is located between the AMF network element and the PCF network element and is associated with the contracted service.
[0127] In one embodiment, when the computer program is executed by the processor, it also performs the following steps: the service type includes home-based contracted services and temporary contracted services.
[0128] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: determining a target management strategy based on the business type, including:
[0129] When the business type is a home-based contract business, the target management strategy includes the first display update strategy and the associated deletion strategy.
[0130] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: managing policy associations of target terminals based on target management policies, including:
[0131] Send a first display update policy and an association deletion policy to the AMF network element so that the AMF network element displays the first identifier on the target terminal based on the first display update policy and deletes the policy association based on the association deletion policy; wherein, the first identifier is used to indicate the termination of the subscribed service.
[0132] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: determining a target management strategy based on the business type, including:
[0133] When the business type is temporary contract business, obtain the triggering method of the strategy association for establishing temporary contract business;
[0134] Determine the target management strategy based on the triggering method and / or the termination method in the business termination message.
[0135] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: determining a target management strategy based on the triggering method and / or the termination method in the business termination message, including:
[0136] When the triggering method is "move to target area" and the termination method in the service termination message is "the contracted resources have been used up", the target management strategy is determined to include the second display update strategy.
[0137] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: managing policy associations of target terminals based on target management policies, including:
[0138] A second display update policy is sent to the AMF network element so that the AMF network element displays the second identifier on the target terminal based on the second display update policy, and retains the policy association; wherein, the second identifier is used to indicate that the subscribed resources have been used up.
[0139] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0140] In response to the service termination message sent by the detection end for the subscribed service of the target terminal, the service type of the subscribed service is determined;
[0141] Determine the target management strategy based on the type of business;
[0142] Based on the target management strategy, the strategy association of the target terminal is managed; where the strategy association is located between the AMF network element and the PCF network element and is associated with the contracted service.
[0143] In one embodiment, when the computer program is executed by the processor, it also performs the following steps: the service type includes home-based contracted services and temporary contracted services.
[0144] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: determining a target management strategy based on the business type, including:
[0145] When the business type is a home-based contract business, the target management strategy includes the first display update strategy and the associated deletion strategy.
[0146] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: managing policy associations of target terminals based on target management policies, including:
[0147] Send a first display update policy and an association deletion policy to the AMF network element so that the AMF network element displays the first identifier on the target terminal based on the first display update policy and deletes the policy association based on the association deletion policy; wherein, the first identifier is used to indicate the termination of the subscribed service.
[0148] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: determining a target management strategy based on the business type, including:
[0149] When the business type is temporary contract business, obtain the triggering method of the strategy association for establishing temporary contract business;
[0150] Determine the target management strategy based on the triggering method and / or the termination method in the business termination message.
[0151] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: determining a target management strategy based on the triggering method and / or the termination method in the business termination message, including:
[0152] When the triggering method is "move to target area" and the termination method in the service termination message is "the contracted resources have been used up", the target management strategy is determined to include the second display update strategy.
[0153] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: managing policy associations of target terminals based on target management policies, including:
[0154] A second display update policy is sent to the AMF network element so that the AMF network element displays the second identifier on the target terminal based on the second display update policy, and retains the policy association; wherein, the second identifier is used to indicate that the subscribed resources have been used up.
[0155] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these. The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as the combinations of these technical features are not contradictory, they should be considered within the scope of this specification.
[0156] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A strategy management method, characterized in that, The method, applied to the policy control function (PCF) network element, includes: In response to a service termination message sent by the detection terminal for the subscribed service of the target terminal, the service type of the subscribed service is determined; Determine the target management strategy based on the business type; Based on the target management policy, the policy association of the target terminal is managed; wherein, the policy association is a policy association located between the Access and Mobility Management Function (AMF) network element and the PCF network element, and is associated with the subscribed service.
2. The method according to claim 1, characterized in that, The business types include home-based contracting services and temporary contracting services.
3. The method according to claim 2, characterized in that, The step of determining the target management strategy based on the business type includes: When the business type is a home-based contracted business, the target management strategy is determined to include a first display update strategy and an association deletion strategy.
4. The method according to claim 3, characterized in that, The policy association management of the target terminal based on the target management policy includes: The first display update policy and the association deletion policy are sent to the AMF network element so that the AMF network element displays the first identifier on the target terminal based on the first display update policy and deletes the policy association based on the association deletion policy; wherein, the first identifier is used to indicate that the subscribed service has ended.
5. The method according to claim 2, characterized in that, The step of determining the target management strategy based on the business type includes: When the business type is a temporary contract business, obtain the triggering method for establishing the strategy association of the temporary contract business; The target management strategy is determined based on the triggering method and / or the termination method in the service termination message.
6. The method according to claim 5, characterized in that, The step of determining the target management strategy based on the triggering method and / or the termination method in the service termination message includes: If the triggering method is to move to the target area and the termination method in the service termination message is that the contracted resources have been used up, then the target management strategy is determined to include the second display update strategy.
7. The method according to claim 6, characterized in that... The policy association management of the target terminal based on the target management policy includes: The second display update policy is sent to the AMF network element so that the AMF network element displays the second identifier on the target terminal based on the second display update policy, and retains the policy association; wherein, the second identifier is used to indicate that the subscribed resources have been used up.
8. A strategy management device, characterized in that, Configured in a PCF network element, the device includes: The first determining module is used to determine the service type of the subscribed service in response to a service termination message sent by the detection terminal for the subscribed service of the target terminal. The second determining module is used to determine the target management strategy based on the business type. The management module is used to manage the policy association of the target terminal based on the target management policy; wherein the policy association is a policy association located between the AMF network element and the PCF network element and associated with the subscribed service.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.
11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.