A ue policy management method and related device

By having the UE discard or reject the associated indication message of the target UPSI when receiving the management UE policy command from the PCF network element, and feeding back the UPSI list through the AMF network element, the problem of UE policy storage being out of sync with the PCF network element is solved, and effective policy management is achieved.

CN118804368BActive Publication Date: 2026-07-03CHINA TELECOM CORP LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA TELECOM CORP LTD
Filing Date
2023-04-14
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

In 5G networks, the UE policies stored in the core network and user equipment (UE) are out of sync. This causes the UE to be unable to process the policy issued by the PCF network element requiring the UE to delete the policy corresponding to a certain user equipment policy segment identifier (UPSI).

Method used

After receiving the management UE policy command message from the PCF network element, if the target UPSI is not found in the stored UE policy, the UE discards or rejects the associated indication message of the UPSI, and sends a management UE policy command rejection message to the PCF network element through the AMF network element, including the UPSI list, to synchronize the policy storage of the UE and the PCF network element.

Benefits of technology

This solution resolves the issue of UEs being unable to process UPSI deletion policies issued by PCF network elements, ensuring the synchronization and effectiveness of UE policy management and preventing policy processing errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118804368B_ABST
    Figure CN118804368B_ABST
Patent Text Reader

Abstract

The embodiment of the disclosure provides a UE policy management method and related equipment, and belongs to the technical field of communication. The method can be executed by a user equipment (UE), and includes: receiving a management UE policy command message sent by a policy control function (PCF) network element through an access and mobility management function (AMF) network element, wherein the management UE policy command message comprises a UE policy, the UE policy comprises a target user equipment policy section identifier (UPSI), and a policy section corresponding to the target UPSI is empty; if the target UPSI does not exist in the UE policy stored by the UE, discarding or rejecting an association indication message of the target UPSI in the UE policy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of communication technology, and more specifically, to a user equipment (UE) policy management method, a UE, an electronic device, and a computer-readable storage medium. Background Technology

[0002] In 5G networks, policy control related to UE access selection and Protocol Data Unit (PDU) session selection is called UE policy. The network can configure two types of policies for the UE: Access Network Discovery and Selection Policy (ANDSP) for non-3GPP access; and UE Route Selection Policy (URSP) related to application and PDU sessions. The UE will follow the ANDSP and URSP rules provided by the network. The network-side core network equipment that provides UE policies can be network-side devices, such as Policy Control Function (PCF) network elements.

[0003] The current specification presents a problem where the core network perceives a discrepancy between the UE policies stored by the UE and those actually stored by the UE. When adding, modifying, or deleting UE policies, the PCF network element sends the UE policy to the UE, which then processes the received policy. However, when the PCF network element sends a policy requiring the UE to delete a policy corresponding to a specific UE Policy Section Identifier (UPSI), the UE cannot process the deletion if it does not have that UPSI.

[0004] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0005] This disclosure provides a UE policy management method, a UE, an electronic device, and a computer-readable storage medium, which can solve the problem that when a PCF network element issues a policy requiring the UE to delete a policy corresponding to a certain UPSI, the UE cannot process the policy because the UE does not have the UPSI.

[0006] Other features and advantages of this disclosure will become apparent from the following detailed description, or may be learned in part from practice of this disclosure.

[0007] According to one aspect of this disclosure, a UE policy management method is provided, the method being executed by a user equipment (UE), comprising: receiving a management UE policy command message sent by a policy control function (PCF) network element through an access and mobility management function (AMF) network element, the management UE policy command message including a UE policy, the UE policy including a target UE policy fragment identifier (UPSI), the policy segment corresponding to the target UPSI being empty; if the target UPSI is not found in the UE policy stored by the UE, then discarding the association indication message of the target UPSI in the UE policy, or rejecting the association indication message of the target UPSI in the UE policy.

[0008] In an exemplary embodiment, discarding the associated indication message of the target UPSI in the UE policy includes: discarding the associated indication message of the target UPSI in the UE policy when executing the UE policy, and executing other indication messages in the UE policy, wherein the other indication messages are indication messages other than the associated indication message of the target UPSI in the UE policy.

[0009] In an exemplary embodiment, the rejection of the associated indication message of the target UPSI in the UE policy includes: sending a management UE policy command rejection message to the PCF network element through the AMF network element.

[0010] In an exemplary embodiment, the management UE policy command rejection message includes: a process transaction identifier, a management UE policy command rejection message identifier, and a UE policy segment management result.

[0011] In an exemplary embodiment, the management UE policy command rejection message further includes a UPSI list, which contains UPSIs in the UE policy stored by the UE.

[0012] According to another aspect of this disclosure, a UE is provided, comprising: a receiving unit, configured to receive a management UE policy command message sent by a PCF network element through an AMF network element, the management UE policy command message including a UE policy, the UE policy including a target UPSI, and the policy segment corresponding to the target UPSI being empty; and an execution unit, configured to, if the target UPSI is not found in the UE policy stored in the UE, discard the association indication message of the target UPSI in the UE policy, or reject the association indication message of the target UPSI in the UE policy.

[0013] In an exemplary embodiment, the execution unit is further configured to: discard the associated indication message of the target UPSI in the UE policy when executing the UE policy, and execute other indication messages in the UE policy, wherein the other indication messages are indication messages other than the associated indication message of the target UPSI in the UE policy.

[0014] In an exemplary embodiment, the execution unit is further configured to: send a management UE policy command rejection message to the PCF network element through the AMF network element.

[0015] In an exemplary embodiment, the management UE policy command rejection message includes: a process transaction identifier, a management UE policy command rejection message identifier, and a UE policy segment management result.

[0016] In an exemplary embodiment, the management UE policy command rejection message further includes a UPSI list, which contains UPSIs in the UE policy stored by the UE.

[0017] According to another aspect of this disclosure, an electronic device is provided, comprising: one or more processors; and a storage device configured to store one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the UE policy management method as described in the above embodiments.

[0018] According to another aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the UE policy management method as described in the above embodiments.

[0019] The UE policy management method provided in this disclosure allows the PCF network element to send a UE policy management command message carrying the UE policy to the UE via the AMF network element. This UE policy includes a target UPSI, and the policy segment corresponding to the target UPSI is empty. This means the PCF network element believes that the UE has a policy corresponding to the target UPSI and instructs the UE to delete the policy content corresponding to the target UPSI. When the UE executes the UE policy in the UE policy management command message, it cannot find the target UPSI in its stored UE policies. In this case, the UE discards the association indication message for the target UPSI or rejects the association indication message for the target UPSI. This solves the problem that when the PCF network element issues a policy requiring the UE to delete a policy corresponding to a certain UPSI, the UE cannot process the request because the UE does not have that UPSI.

[0020] 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

[0021] 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, and are not intended to unduly limit this disclosure.

[0022] Figure 1 This is a flowchart illustrating a UE policy management method according to an exemplary embodiment;

[0023] Figure 2 This is a flowchart illustrating another UE policy management method according to an exemplary embodiment;

[0024] Figure 3 This is a flowchart illustrating yet another UE policy management method according to an exemplary embodiment;

[0025] Figure 4 This is a schematic diagram of the structure of a user equipment (UE) according to an exemplary embodiment;

[0026] Figure 5 This is a schematic diagram illustrating the structure of an electronic device suitable for implementing exemplary embodiments of the present disclosure, according to an exemplary embodiment. Detailed Implementation

[0027] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, they are provided so that this disclosure will be more comprehensive and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0028] 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.

[0029] It should be noted that the ordinal numbers such as "first" and "second" mentioned in the embodiments of this disclosure are used to distinguish multiple objects, and are not used to limit the order, timing, priority or importance of multiple objects. Furthermore, the descriptions of "first" and "second" do not limit the objects to necessarily being different.

[0030] The current specification presents a problem where the core network perceives a discrepancy between the UE policies stored in the UE and those actually stored by the UE. For example, during PCF element reselection scenarios when Access and Mobility Management Function (AMF) elements are redirected, the AMF element will re-initiate the UE policy association establishment process. The UE may not have sent its UE Policy Container (which may contain Policy Section ID, OSID, and ANDSP indications supported by the UE) to the new PCF element. The new PCF element will then assume the UE is initially registered and has not stored any UPSI. When the new PCF element retrieves the UPSI from the Unified Data Repository (UDR) element, it will default to the UE policies already stored in the UE, leading to a discrepancy between the UE policies in the PCF element and those stored by the UE.

[0031] When a PCF network element needs to add, modify, or delete UE policies, the PCF network element sends the UE policies to the UE. The UE will then perform the following operations on the received UE policies:

[0032] (1) If the UE policy received by the UE contains a certain UPSI and the content of the UE policy section corresponding to the UPSI is not empty, if the UE policy stored by the UE itself does not contain the UE policy section corresponding to the UPSI, then the UE saves the association indication of the UPSI.

[0033] (2) If the UE policy received by the UE contains a certain UPSI and the content of the UE policy section corresponding to the UPSI is not empty, if the UE itself already has the same UPSI in the UE policy stored, then the UE replaces the original UE policy section content.

[0034] (3) If the UE receives a UE policy containing a certain UPSI and the content of the UE policy section corresponding to the UPSI is empty, and the UE itself already has the same UPSI in its stored UE policy, then the UE deletes the UE policy section corresponding to the UPSI.

[0035] However, when the PCF network element issues a UE policy to delete a policy corresponding to a certain UPSI, but the UE does not have that UPSI, the UE cannot process the information.

[0036] To address the aforementioned issues, this disclosure proposes a UE policy management method, which adds a UE-side processing method. Specifically, when a PCF network element issues a policy to delete a UE policy corresponding to a certain UPSI in the UE, if the UE does not have that UPSI, the UE will discard or reject the association instruction of the target UPSI. This solves the problem that when a PCF network element issues a policy requiring the UE to delete a policy corresponding to a certain UPSI, the UE cannot process the request because the UE does not have that UPSI.

[0037] The UE policy management method provided in this disclosure can be applied to various communication systems. For example, GSM (Global System for Mobile Communications), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Termevolution), LTE Frequency Division Duplex, LTE Time Division Duplex, Universal Mobile Communications System, WIMAX (Worldwide Interoperability for Microwave Access), 5G, or future communication systems or other similar communication systems.

[0038] Figure 1 This is a flowchart illustrating a UE policy management method according to an exemplary embodiment. Figure 1 The UE policy management method provided in the embodiment can be executed by the UE. For example... Figure 1 As shown, the UE policy management method specifically includes the following steps S101 to S102.

[0039] Step S101: Receive the UE policy command message sent by the PCF network element through the AMF network element. The UE policy command message includes the UE policy, the UE policy includes the target UPSI, and the policy segment corresponding to the target UPSI is empty.

[0040] In this step, the PCF network element can send a MANAGE UE POLICY COMMAND message to the UE through the AMF network element. This MANAGE UE POLICY COMMAND message includes the UE policy, meaning that the PCF network element issues the UE policy to the UE through the MANAGE UE POLICY COMMAND message.

[0041] Specifically, UE policies are divided into one or more segments, each segment corresponding to an identifier, namely a UPSI, also known as a PSI. When the PCF network element needs to add, modify, or delete UE policies, it can divide the UE policy into multiple segments and send them to the UE via the MANAGE UE POLICY COMMAND message. Each segment is identified by a UPSI, which consists of a Public Land Mobile Network ID (PLMN ID) and a Policy Section Code (PSC). The PSC in the UPSI must be unique within the PLMN network corresponding to the PLMN ID in that PSI.

[0042] In this embodiment of the disclosure, the UE policy sent by the PCF network element to the UE through the MANAGE UE POLICY COMMAND message includes the target UPSI, and the policy segment corresponding to the target UPSI is empty. That is, the PCF network element believes that the UE policy stored by the UE includes the policy segment corresponding to the target UPSI, and wants to delete the policy corresponding to the target UPSI in the UE.

[0043] Step S102: If the target UPSI is not found in the UE policy stored in the UE, then the association indication message of the target UPSI in the UE policy is discarded, or the association indication message of the target UPSI in the UE policy is rejected.

[0044] After receiving the UE policy from the PCF network element via the MANAGE UE POLICY COMMAND message, the UE needs to parse and execute the UE policy. If, during the execution of the UE policy, the UE finds that the target UPSI does not exist in its stored UE policies (i.e., the target UPSI cannot be found during UE policy execution), the UE can either discard the association indication message for the target UPSI or reject the association indication message for the target UPSI.

[0045] The UE policy management method provided in this disclosure allows the PCF network element to send a UE policy management command message carrying the UE policy to the UE via the AMF network element. This UE policy includes a target UPSI, and the policy segment corresponding to the target UPSI is empty. This means the PCF network element believes that the UE has a policy corresponding to the target UPSI and instructs the UE to delete the policy content corresponding to the target UPSI. When the UE executes the UE policy in the UE policy management command message, it cannot find the target UPSI in its stored UE policies. In this case, the UE discards the association indication message for the target UPSI or rejects the association indication message for the target UPSI. This solves the problem that when the PCF network element issues a policy requiring the UE to delete a policy corresponding to a certain UPSI, the UE cannot process the request because the UE does not have that UPSI.

[0046] In an exemplary embodiment, discarding the associated indication message of the target UPSI in the UE policy may include: discarding the associated indication message of the target UPSI in the UE policy when executing the UE policy, and executing other indication messages in the UE policy, wherein the other indication messages are indication messages other than the associated indication message of the target UPSI in the UE policy.

[0047] When a UE executes a received UE policy, it may find that the target UPSI is not present in its stored UE policies. If the PCF network element requires the UE to delete the policy corresponding to the target UPSI, the UE may discard the associated indication message of the target UPSI in the received UE policy.

[0048] Furthermore, as explained above, when the PCF network element needs to add, modify, or delete UE policies, it can divide the UE policy into multiple segments and send them to the UE via the MANAGE UE POLICY COMMAND message. Each segment is identified by a UPSI. Therefore, the UE policy sent by the PCF network element to the UE may include not only the target UPSI but also other UPSIs (i.e., UPSIs other than the target UPSI in the UE policy sent by the PCF network element). Thus, the UE needs to execute the indication information associated with these other UPSIs, which are indication messages other than the indication message associated with the target UPSI in the received UE policy.

[0049] For example, the UE policy received by the UE from the PCF network element includes a first UPSI, a second UPSI, a third UPSI, and a fourth UPSI. When the PCF network element sends the policy, the policy segment corresponding to the first UPSI is empty, the policy segment corresponding to the second UPSI is empty, the policy segment corresponding to the third UPSI is not empty, and the policy segment corresponding to the fourth UPSI is not empty. After receiving the UE policy from the PCF network element, the UE parses and executes the received UE policy. When executing a received UE policy, if the UE finds that its stored UE policies do not include the first UPSI (meaning the first UPSI can be considered the target UPSI), then the UE discards the association indication information of the first UPSI. If the UE finds that its stored UE policies contain a second UPSI and the UE policy section corresponding to the second UPSI is not empty, then the UE deletes the UE policy section content corresponding to the second UPSI. If the UE finds that its stored UE policies do not contain a UE policy section corresponding to a third UPSI, then the UE saves the association indication of the third UPSI, meaning the UE adds the UE policy section content corresponding to the third UPSI to its stored UE policies. If the UE finds that its stored UE policies contain a fourth UPSI and the UE policy section content corresponding to the fourth UPSI is different from the policy content corresponding to the fourth UPSI in the received UE policy, then the UE replaces the UE policy section content corresponding to the fourth UPSI in its stored UE policies.

[0050] Figure 2 This is a flowchart illustrating another UE policy management method according to an exemplary embodiment.

[0051] like Figure 2 As shown, the specific implementation of the UE policy management method can be as follows:

[0052] In step S201, the PCF network element sends a MANAGE UEPOLICY COMMAND message to the UE through the AMF network element.

[0053] The MANAGE UE POLICY COMMAND message includes UE policies, which include target UPSI and other UPSIs (i.e., UPSIs other than target UPSI in the UE policies sent by the PCF network element), and the policy segment corresponding to the target UPSI is empty.

[0054] In step S202, after the UE receives the management UE policy command message, it parses and executes the UE policy in the command message. When executing the UE policy, it discards the associated indication message of the target UPSI in the UE policy and executes other indication messages in the UE policy.

[0055] Among them, other indication messages are indication messages other than the associated indication messages of the target UPSI in the UE policy, or in other words, other indication messages refer to the associated indication messages of other UPSIs.

[0056] In an exemplary embodiment, rejecting the associated indication message of the target UPSI in the UE policy may include: sending a management UE policy command rejection message to the PCF network element through the AMF network element.

[0057] When a UE executes a received UE policy, it may find that the target UPSI is not present in its stored UE policies. However, the PCF network element requests the UE to delete the policy corresponding to the target UPSI. In this case, the UE can refuse to accept the MANAGEUE POLICY COMMAND message sent by the PCF network element and instead send a MANAGEUE POLICY COMMAND REJECT message to the PCF network element through the AMF network element. In other words, the UE will not execute the UE policy in the MANAGEUE POLICY COMMAND message.

[0058] As explained above, when the PCF network element needs to add, modify, or delete UE policies, it can divide the UE policy into multiple segments and send them to the UE via the MANAGE UE POLICY COMMAND message. Each segment is identified by a UPSI. Therefore, the UE policy sent by the PCF network element to the UE may include not only the target UPSI but also other UPSIs (i.e., UPSIs other than the target UPSI in the UE policy sent by the PCF network element). In this embodiment, the UE does not execute the UE policy in the MANAGE UE POLICY COMMAND message, that is, the UE does not execute the association indication of the target UPSI and the association indication of other UPSIs, and at the same time, it sends a MANAGE UE POLICY COMMAND REJECT message to the PCF network element through the AMF network element.

[0059] The UE policy command rejection message can include: Procedure transaction identity (PTI), MANAGE UE POLICY COMMANDREJECT message identity, and UE policy section management result.

[0060] The MANAGE UE POLICY COMMAND REJECT message sent by the UE to the PCF network element contains a PTI. Normally, this PTI is dynamically allocated by the UE and is released upon receiving a response message from the PCF network element.

[0061] If the UE cannot find the target UPSI when executing the received UE policy, and the policy segment corresponding to the target UPSI is empty when the PCF network element sends the UE policy, meaning the PCF network element believes the UE has a policy corresponding to the target UPSI and wants to delete the policy corresponding to the target UPSI in the UE, then it can be confirmed that the UE policy stored by the UE itself is out of sync with the UE policy that the PCF network element believes the UE has stored. In this case, the UE can inform the PCF network element which UPSIs it has. In an exemplary embodiment, the UE policy management command rejection message may also include a UPSI list, which contains the UPSIs in the UE policies stored by the UE.

[0062] Specifically, the MANAGE UE POLICY COMMAND REJECT message sent by the UE to the PCF network element may include a list of UPSIs. That is, the UE informs the PCF network element of the UPSIs in its stored UE policy. In this way, after receiving the UPSI list sent by the UE through the MANAGE UE POLICY COMMAND REJECT message, the PCF network element can know the UE policy stored by the UE, thus resolving the issue of inconsistency between the UE policy stored by the UE itself and the UE policy that the PCF network element believes the UE has stored.

[0063] Figure 3 This is a flowchart illustrating yet another UE policy management method according to an exemplary embodiment.

[0064] like Figure 3 As shown, the specific implementation of the UE policy management method can be as follows:

[0065] Step S301: The PCF network element sends a UE management policy command message to the UE through the AMF network element.

[0066] The UE policy command message includes UE policies, which include target UPSI and other UPSIs (i.e., UPSIs other than target UPSI in the UE policy sent by the PCF network element), and the policy segment corresponding to the target UPSI is empty.

[0067] In step S302, after receiving the management UE policy command message, the UE parses and executes the UE policy in the command message. When executing the UE policy, the UE rejects the association indication message of the target UPSI in the UE policy.

[0068] In step S303, the UE sends a Management UE Policy Command Rejection message, namely the MANAGE UEPOLICY COMMAND REJECT message, to the PCF network element through the AMF network element.

[0069] The MANAGE UE POLICY COMMAND REJECT message may include: PTI, UE policy command rejection message identifier, and UE policy segment management result.

[0070] In addition, the MANAGE UE POLICY COMMAND REJECT message can also include a UPSI list. If the UE cannot find the target UPSI when executing the received UE policy, and the policy segment corresponding to the target UPSI is empty when the PCF network element sends the UE policy, it can be confirmed that the UE policy stored by the UE itself is out of sync with the UE policy that the PCF network element believes the UE has stored. Because the MANAGE UE POLICY COMMAND REJECT message contains a UPSI list, the PCF network element can clearly identify the UE policy stored by the UE after receiving the UPSI list, thus resolving the problem of the UE policy stored by the UE itself being out of sync with the UE policy that the PCF network element believes the UE has stored.

[0071] Based on the same inventive concept, this disclosure provides a user equipment (UE) as described in the following embodiments. Since the principle by which this UE embodiment solves the problem is similar to that of the method embodiments described above, the implementation of this UE embodiment can be directly referred to in the implementation of the method embodiments described above, and repeated details will not be elaborated further.

[0072] Figure 4 This is a schematic diagram illustrating the structure of a user equipment (UE) according to an exemplary embodiment. Figure 4 As shown, the user equipment UE400 may include a receiving unit 401 and an execution unit 402.

[0073] The receiving unit 401 can be used to: receive a management UE policy command message sent by the PCF network element through the AMF network element. The management UE policy command message includes a UE policy, the UE policy includes a target UPSI, and the policy segment corresponding to the target UPSI is empty. The execution unit 402 can be used to: if the target UPSI does not exist in the UE policy stored in the UE, discard the association indication message of the target UPSI in the UE policy, or reject the association indication message of the target UPSI in the UE policy.

[0074] In an exemplary embodiment, the execution unit 402 may also be used to: discard the associated indication message of the target UPSI in the UE policy when executing the UE policy, and execute other indication messages in the UE policy, wherein the other indication messages are indication messages other than the associated indication message of the target UPSI in the UE policy.

[0075] In an exemplary embodiment, the execution unit 402 can also be used to: send a management UE policy command rejection message to the PCF network element through the AMF network element.

[0076] In an exemplary embodiment, the management UE policy command rejection message includes: a process transaction identifier, a management UE policy command rejection message identifier, and a UE policy segment management result.

[0077] In an exemplary embodiment, the management UE policy command rejection message also includes a UPSI list, which contains UPSIs stored in the UE policy.

[0078] In an exemplary embodiment, the execution unit 402 may also be used to: if the target UPSI is not present in the UE policy stored by the UE, determine that the UE policy stored by the UE is out of sync with the UE policy stored by the PCF network element.

[0079] Figure 5 This is a schematic diagram illustrating the structure of an electronic device suitable for implementing exemplary embodiments of the present disclosure, according to an exemplary embodiment. Referring below... Figure 5 To describe an electronic device 500 according to this embodiment of the present invention. Figure 5 The electronic device 500 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.

[0080] like Figure 5 As shown, the electronic device 500 is manifested in the form of a general-purpose computing device. The components of the electronic device 500 may include, but are not limited to: at least one processing unit 510, at least one storage unit 520, a bus 530 connecting different system components (including storage unit 520 and processing unit 510), and a display unit 540.

[0081] The storage unit stores program code, which can be executed by the processing unit 510, causing the processing unit 510 to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of the present invention. Specifically, when the electronic device 510 provided in this embodiment is a UE, the following steps in the above embodiment can be performed: Step S101, receiving a management UE policy command message sent by the PCF network element through the AMF network element, the management UE policy command message including a UE policy, the UE policy including a target UPSI, and the policy segment corresponding to the target UPSI being empty; Step S102, if the target UPSI is not found in the UE policy stored in the UE, then discarding the association indication message of the target UPSI in the UE policy, or rejecting the association indication message of the target UPSI in the UE policy.

[0082] Storage unit 520 may include a readable medium in the form of a volatile storage unit, such as random access memory (RAM) 5201 and / or cache memory 5202, and may further include a read-only memory (ROM) 5203.

[0083] Storage unit 520 may also include a program / utility 5204 having a set (at least one) program module 5205, such program module 5205 including but not limited to: operating system, one or more application programs, other program modules and program data, each or some combination of these examples may include an implementation of a network environment.

[0084] Bus 530 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the various bus structures.

[0085] Electronic device 500 can also communicate with one or more external devices 570 (e.g., keyboard, pointing device, Bluetooth device, etc.), and with one or more devices that enable a user to interact with electronic device 500, and / or with any device that enables electronic device 500 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 550. Furthermore, electronic device 500 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 560. As shown, network adapter 560 communicates with other modules of electronic device 500 via bus 530. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0086] In exemplary embodiments of this disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the methods described above is stored. In some possible embodiments, various aspects of the invention may also be implemented as a program product comprising program code that, when the program product is run on a terminal device, causes the terminal device to perform the steps of the various exemplary embodiments of the invention described in the "Exemplary Methods" section of this specification.

[0087] According to embodiments of the present invention, a program product for implementing the above-described method may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0088] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A 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 readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable 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 devices, magnetic storage devices, or any suitable combination thereof.

[0089] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying 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. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting programs for use by or in conjunction with an instruction execution system, apparatus, or device.

[0090] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.

[0091] Program code for performing the operations of this invention can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0092] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0093] Furthermore, 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.

[0094] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, mobile terminal, or network device, etc.) to execute the methods according to the embodiments of this disclosure.

[0095] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the appended claims.

[0096] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A UE policy management method, characterized in that, The method is executed by a user equipment (UE), and the method includes: The system receives a UE policy command message sent by the Policy Control Function (PCF) network element through the Access and Mobility Management Function (AMF) network element. The UE policy command message includes a UE policy. The UE policy includes a Target User Equipment Policy Fragment Identifier (UPSI). The policy segment corresponding to the Target UPSI is empty, which indicates that the PCF network element believes that the UE has a policy corresponding to the Target UPSI and instructs the UE to delete the policy content corresponding to the Target UPSI. If the target UPSI is not found in the UE policy stored by the UE, then the association indication message of the target UPSI in the UE policy is discarded, or the association indication message of the target UPSI in the UE policy is rejected.

2. The method of claim 1, wherein, The associated indication message for the target UPSI in the discarding policy for the UE includes: When executing the UE policy, the associated indication message of the target UPSI in the UE policy is discarded, and other indication messages in the UE policy are executed. The other indication messages are indication messages other than the associated indication message of the target UPSI in the UE policy.

3. The method of claim 1, wherein, The rejection message associated with the target UPSI in the UE policy includes: The AMF network element sends a management UE policy command rejection message to the PCF network element.

4. The method of claim 3, wherein, The management UE policy command rejection message includes: process transaction identifier, management UE policy command rejection message identifier, and UE policy segment management result.

5. The method of claim 4, wherein, The management UE policy command rejection message also includes a UPSI list, which contains UPSIs stored in the UE policy.

6. A UE, comprising: The UE includes: The receiving unit is configured to receive a UE policy command message sent by the PCF network element through the AMF network element. The UE policy command message includes a UE policy. The UE policy includes a target UPSI, and the policy segment corresponding to the target UPSI is empty. This is used to indicate that the PCF network element believes that the UE has a policy corresponding to the target UPSI and instructs the UE to delete the policy content corresponding to the target UPSI. An execution unit is configured to, if the target UPSI is not found in the UE policy stored by the UE, discard the association indication message of the target UPSI in the UE policy, or reject the association indication message of the target UPSI in the UE policy.

7. The UE of claim 6, wherein, The execution unit is also used for: When executing the UE policy, the associated indication message of the target UPSI in the UE policy is discarded, and other indication messages in the UE policy are executed. The other indication messages are indication messages other than the associated indication message of the target UPSI in the UE policy.

8. The UE of claim 6, wherein, The execution unit is also used for: The AMF network element sends a management UE policy command rejection message to the PCF network element.

9. An electronic device, comprising: include: One or more processors; a storage device configured to store one or more programs, which when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5.

10. A computer-readable storage medium storing a computer program, characterized in that, The computer program, which when executed by a processor, implements the method of any one of claims 1-5.