A policy verification and adjustment method, device and equipment

By using a policy verification platform to perform real-time simulation and deduction of policies generated by PCF, the problem of lack of feasibility verification for PCF-generated policies is solved, thereby improving the feasibility of policies and network operating efficiency.

CN116232909BActive Publication Date: 2026-04-21CHINA MOBILE COMM LTD RES INST +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA MOBILE COMM LTD RES INST
Filing Date
2021-12-06
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

In existing technologies, the policies generated by PCF lack a feasibility verification process, which leads to negative impacts on the network after the policies are issued and a long adjustment cycle.

Method used

The policy verification platform is constructed using knowledge graphs, pre-set simulation software, or intelligent orchestration methods to verify policies, generate verification results, and feed them back to the PCF so that the PCF can adjust its policies.

Benefits of technology

Real-time simulation and deduction of PCF generation strategies were achieved, which improved the feasibility of the strategies, reduced the negative impact on the network, and improved the network operating efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116232909B_ABST
    Figure CN116232909B_ABST
Patent Text Reader

Abstract

This invention provides a method, apparatus, and device for verifying and adjusting policies. The method includes: receiving a policy generated by a Policy Control Function (PCF); verifying the policy according to a verification method corresponding to a preset construction type of a policy verification platform to obtain a verification result; and sending the verification result to the PCF. Through this technical solution, the feasibility of policies generated by the PCF can be verified, reducing the negative impact on the network caused by inappropriate policies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a method, apparatus, and device for verifying and adjusting a strategy. Background Technology

[0002] The PCF (Policy Control Function) generates policies and directly distributes them to the SMF (Session Management Function) / AMF (Access Management Function), but it lacks a process for verifying the feasibility of the policies.

[0003] In existing technologies, it is impossible to verify PCF policies. Root cause analysis can only be performed by identifying the negative impacts after policy implementation and then repeatedly adjusting the policy. However, the impact of inappropriate policies on the existing network and customers is usually significant, and the policy adjustment cycle is very long. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to provide a method, apparatus and equipment for verifying and adjusting a policy, which can realize the feasibility verification of the policy generated by PCF and reduce the negative impact on the network caused by improper policy issuance.

[0005] To solve the above-mentioned technical problems, the technical solution of the present invention is as follows:

[0006] A strategy verification method, applied to a strategy verification platform, the method comprising:

[0007] Receive the policy generated by the Policy Control Function (PCF);

[0008] The strategy is verified according to the verification method corresponding to the preset construction type of the strategy verification platform to obtain the verification result;

[0009] The verification result is sent to the PCF.

[0010] Optionally, receive policies generated by the Policy Control Function (PCF), including:

[0011] The first message sent by the Policy Control Function (PCF) is received through the P1 interface. The first message carries the policy generated by the PCF and includes at least one of the following fields: policy configuration form, different types of policy representation, and policy expression form.

[0012] Optionally, sending the verification result to the PCF includes:

[0013] A second message is sent to the PCF via the P2 interface. The second message carries the verification result and includes at least one of the following fields: a flag indicating whether the strategy is feasible and information on why the strategy is not feasible.

[0014] Optionally, the construction type of the policy verification platform includes at least one of the following:

[0015] Constructed using knowledge graphs;

[0016] It is constructed by using a pre-defined simulation software to interact with the upper-level logic and physical network.

[0017] It is built using an intelligent orchestration method.

[0018] Optionally, when the policy verification platform is constructed using a knowledge graph, the policy is verified according to the verification method corresponding to the preset construction type of the policy verification platform to obtain the verification result, including:

[0019] The strategy is used to extract key features to obtain key features;

[0020] The key features are generated into N-tuples according to the preset format of the preset programming language, where N is a positive integer;

[0021] According to the verification rules of the knowledge graph, the strategy represented by the N-tuple is subjected to conflict verification and / or consistency detection to obtain the verification result.

[0022] Optionally, when the policy verification platform is constructed using a preset simulation software upper-layer logic and physical network interaction method, the policy is verified according to the verification method corresponding to the preset construction type of the policy verification platform to obtain the verification result, including:

[0023] According to the configuration file requirements of the preset simulation software, the strategy is converted into a target configuration file;

[0024] The target configuration file is simulated and verified in the simulation environment of the preset simulation software to obtain the verification results.

[0025] Optionally, when the policy verification platform is built using an intelligent orchestration method, the policy is verified according to the verification method corresponding to the preset construction type of the policy verification platform to obtain the verification result, including:

[0026] Convert the strategy into a target expression;

[0027] The target expression is calculated in a twin constructed using intelligent orchestration to obtain the calculation result;

[0028] The calculation result is verified according to the second preset judgment rule to obtain the verification result.

[0029] Embodiments of the present invention also provide a strategy adjustment method applied to a policy control function (PCF), the method comprising:

[0030] Send the policy to the policy verification platform;

[0031] The system receives the verification result returned by the policy verification platform after verifying the policy; the verification result is obtained by verifying the policy according to the verification method corresponding to the preset construction type of the policy verification platform.

[0032] The strategy is adjusted based on the verification results to obtain the adjusted strategy.

[0033] Optional methods for adjusting the strategy also include:

[0034] The system interacts with the core network elements according to the adjusted strategy.

[0035] Embodiments of the present invention also provide a policy verification platform, comprising:

[0036] The transceiver module is used to receive policies generated by the Policy Control Function (PCF).

[0037] The processing module is used to perform verification processing on the strategy according to the verification method corresponding to the preset construction type of the strategy verification platform, and obtain the verification result;

[0038] The transceiver module is also used to send the verification result to the PCF.

[0039] Embodiments of the present invention also provide a policy control function (PCF), including:

[0040] The transceiver module is used to send policies to the policy verification platform and receive verification results from the policy verification platform after verifying the policies. The verification results are obtained by verifying the policies according to the verification method corresponding to the preset construction type of the policy verification platform.

[0041] The processing module is used to adjust the strategy based on the verification results to obtain the adjusted strategy.

[0042] Embodiments of the present invention also provide a communication device, including: a processor and a memory storing a computer program, wherein the computer program, when executed by the processor, performs the method described above.

[0043] Embodiments of the present invention also provide a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the method described above.

[0044] The above-described solution of the present invention has at least the following beneficial effects:

[0045] The policy generated by PCF is verified by the policy verification platform according to the verification method corresponding to the preset construction type of the policy verification platform, and the verification result is obtained. The verification result is sent to PCF. In this way, the policy generated by PCF can be simulated and deduced in real time, thereby improving the feasibility of the policy generated by PCF and improving the efficiency of network operation. Attached Figure Description

[0046] Figure 1 This is a flowchart of the strategy verification method provided in the embodiments of the present invention;

[0047] Figure 2 This is a flowchart illustrating a specific implementation of the strategy verification method according to an embodiment of the present invention.

[0048] Figure 3 This is a flowchart illustrating the implementation of the QoS adjustment method based on service experience awareness according to an embodiment of the present invention.

[0049] Figure 4 This is a schematic diagram of the module block of the network access indicator device according to an embodiment of the present invention. Detailed Implementation

[0050] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this invention will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.

[0051] like Figure 1 As shown, an embodiment of the present invention provides a policy verification method applied to a policy verification platform, the method comprising:

[0052] Step 11: Receive the policy generated by the Policy Control Function (PCF);

[0053] Step 12: Verify the strategy according to the verification method corresponding to the preset construction type of the strategy verification platform to obtain the verification result;

[0054] Step 13: Send the verification result to the PCF.

[0055] In embodiments of the present invention, the policy generated by the PCF is verified by a policy verification platform according to the verification method corresponding to the preset construction type of the policy verification platform, and the verification result is obtained; the verification result is sent to the PCF; thereby realizing real-time simulation and deduction of the policy generated by the PCF, improving the feasibility of the policy generated by the PCF, and improving the efficiency of network operation.

[0056] In an optional embodiment of the present invention, step 11 may include:

[0057] The first message sent by the Policy Control Function (PCF) is received through the P1 interface. The first message carries the policy generated by the PCF and includes at least one of the following fields: policy configuration form, different types of policy representation, and policy expression form.

[0058] In this embodiment, the P1 interface is added to enable interaction between the PCF and the policy verification platform. The P1 interface transmits the generated policies to the policy verification platform more quickly and also allows for real-time reception of simulation results from the platform. The interface output messages include: policy configuration formats, different representations of policies, and abstract mathematical forms. Policy configuration formats can include, for example, configurations for policies related to application and service data flow detection, gating, QoS (Quality of Service), flow-based charging, flow control, usage monitoring control, access network information reporting, and RAN (Radio Access Network) support information. Different representations of policies include, but are not limited to: information obtained from the AF (Access Function), such as session, media, and subscription-related information; information obtained from the UDR (Unified Data Warehouse Function); information obtained from the AMF, such as UE-related and access-related information; information obtained from the SMF; information obtained from the NWDAF (Network Intelligent Analysis Function); information obtained from the NEF (Network Open Function); information obtained from the CHF (Charging Function); and policy contexts pre-configured by the PCF. The abstract mathematical form can be the data expression of the above policies, and the appropriate expression can be selected according to the specific policy. This interface can adapt to policy formats that require real-time policy verification, enabling PCF policies to be verified on diverse network elements, platforms, or other functionalities that require real-time verification. This output message has greater generalization and adaptability.

[0059] In an optional embodiment of the present invention, step 13 may include:

[0060] A second message is sent to the PCF via the P2 interface. This second message carries the verification result and includes at least one of the following fields: a flag indicating whether the strategy is feasible and information explaining why the strategy is infeasible. The flag indicating whether the strategy is feasible can be, for example, a character like 1 or 0, but is not limited to these characters, and is used to indicate whether the strategy is feasible after verification. The information explaining why the strategy is infeasible indicates the reason why the strategy is infeasible if it is not feasible after verification, so that the PCF can adjust its strategy accordingly based on the flag and the corresponding reason information.

[0061] In this embodiment, the P2 interface is added for two purposes: firstly, to receive messages transmitted by the PCF, and secondly, to quickly transmit the simulation-derived strategy feasibility conclusions to the PCF. The P2 interface output messages include:

[0062]

[0063] In an optional embodiment of the present invention, the construction type of the policy verification platform includes at least one of the following:

[0064] Constructed using knowledge graphs;

[0065] It is constructed by using a pre-defined simulation software to interact with the upper-level logic and physical network.

[0066] It is built using an intelligent orchestration method.

[0067] In this embodiment, the policy verification platform can be constructed using various methods, such as the construction method based on OWL (Web Ontology Language) and knowledge graph, the construction method based on the interaction between the upper-layer logic and physical network of NS3 simulation software, and the construction method based on intelligent orchestration. However, due to the differences between the construction language and the network configuration language, in order for the policy verification platform to correctly identify and execute the policy, it is necessary to automatically convert and parse the PCF policy, and convert the PCF policy into a form that the policy verification platform can simulate, verify, and deduce.

[0068] In an optional embodiment of the present invention, when the policy verification platform is constructed using a knowledge graph, step 12 may include:

[0069] Step 121: Extract key features from the strategy to obtain key features;

[0070] Step 122: Generate N-tuples from the key features according to a preset format of a preset programming language, where N is a positive integer;

[0071] Step 123: According to the verification rules of the knowledge graph, perform conflict verification and / or consistency detection on the strategy represented by the N-tuple to obtain the verification result.

[0072] In this embodiment, if the policy verification platform is built using the OWL (Web Ontology Language), the policy generated by the PCF is converted into the OWL language representation form, that is, the key information is extracted and characterized by N-tuples, namely <individual, class, property, relationship, function, rule, constraint, axiom, event>, etc. The knowledge graph is used to verify the N-tuple policy. The knowledge graph can automatically identify the configuration file, extract its information, and use the principles of conflict detection and consistency detection of the knowledge graph to verify the policy. For example, if A < B, B < C, C < A appear during the PCF policy simulation, which conflicts with A < B and B < C => A < C, then it indicates that the policy is unreasonable.

[0073] In addition, if the policy generated by the PCF is a scheduling path and is characterized by the relationship in the N-tuple, it is <attribute: nodes a, b, c, d, f have forwarding capabilities, relationship: a->b->c->d->f, constraint: c||->b&f||->a>. However, the relationship representation of nodes a, b, c, d, f in the constructed knowledge graph is: c->a->d->f->b. According to the consistency detection, the triple information of the PCF scheduling path and the representation information in the knowledge graph are inconsistent, so it can be determined that the policy generated by the PCF is infeasible.

[0074] In an optional embodiment of the present invention, when the policy verification platform is built by using the upper-layer logic of the preset simulation software to interact with the physical network, step 12 may include:

[0075] Step 124, convert the policy into a target configuration file according to the configuration file requirements of the preset simulation software;

[0076] Step 125, perform simulation verification on the target configuration file in the simulation environment of the preset simulation software to obtain a verification result.

[0077] In this embodiment, if the policy verification platform is built using the interaction between the upper-layer logic and physical network of the NS3 simulation software, then the policy generated by PCF is converted into a configuration file consistent with the NS3 simulation software, the converted configuration information is simulated and verified in the NS3 simulation environment, and the simulation results are viewed in the simulation software. In one feasible example, the policy generated by the PCF is a billing policy. Based on the billing data in the billing event, a CDR (Call Detail Record) is generated. One billing message generates one CDR. A single billing event can generate one CDR, that is, the relationship between the event and the CDR is 1:1. Multiple events can generate one CDR, that is, the relationship between the event and the CDR is N:1, but the final implementation adopts a 1:1 correspondence. Each billing event exists in only one CDR, that is, there is no 1:N relationship between the event and the CDR (N>1). The relationship between the CDR and the billing event is converted into an application layer recognizable target file of the NS3 simulation software. This target file uses socket-like programming to realize the downward transmission of data packets. The data packets are passed down to the network device through the protocol stack (TCP / IP). The network device includes MAC layer and physical layer protocols. In this way, the data packets flow like in a real network, with data frames being converted into binary streams, and finally becoming signals transmitted to the destination node through the medium channel.

[0078] In an optional embodiment of the present invention, when the policy verification platform is constructed using an intelligent orchestration approach, step 12 may include:

[0079] Step 126: Convert the strategy into a target expression;

[0080] Step 127: Calculate the target expression in a twin constructed using intelligent orchestration to obtain the calculation result;

[0081] Step 128: Verify the calculation result according to the second preset judgment rule to obtain the verification result.

[0082] In this embodiment, if the policy verification platform adopts a construction method based on intelligent orchestration, the policy generated by PCF is converted into mathematical expressions such as matrices, vectors, and tuples, calculated within the constructed digital twin, and the feasibility of the result is determined. For example, the path from node A to node B can be mathematically represented as a vector. The distance from node B to node C can be mathematically represented as a vector: To determine whether a route from node A to node C is reachable, a data expression can be used. Judgment. In one feasible instance, such as the policy generated by PCF being a Quality of Service (QoS) transmission rate adjustment policy, the QoS is transmitted according to a target transmission rate, and the target transmission rate of the QoS is converted into a vector. This vector The data is inserted into a digital twin for calculation to obtain a verification result on whether the target transmission rate is feasible.

[0083] The specific implementation of the above method is explained below with reference to the specific implementation process, such as... Figure 2 As shown:

[0084] Step 21, PCF generation strategy;

[0085] Step 22: Send the policy to the policy verification platform;

[0086] Step 23: The policy verification platform converts and parses the PCF policy, and uses the converted information combined with real-time physical network data to drive inference, simulation and verification on the platform.

[0087] Step 24: If the strategy is feasible, send the "Y" field to the PCF;

[0088] Step 25: The PCF distributes the policy to the Session Management Function (SMF) / Mobility Management Function (AMF);

[0089] Step 26: If the strategy is not feasible, send the field "N" along with the reason why it is not feasible;

[0090] Step 27: After receiving the information, PCF optimizes and adjusts its strategy.

[0091] Step 28: Then send the adjusted strategy to the strategy verification platform again for simulation and deduction, and repeat steps 22 and 23 until the strategy is feasible;

[0092] Step 29, proceed with steps 24 and 25;

[0093] Step 23 involves converting and parsing the PCF policy, and then using the converted information combined with real-time physical network data to drive inference, simulation, and verification on the platform. Therefore, the policy verification platform needs to possess the following three functions: The platform should interact with the physical network in real time and perform virtual-physical mapping. The platform should have the capability to simulate and extrapolate policies issued in the physical network, verifying the feasibility of the policy based on real-time data synchronized to the verification platform. The platform should be able to automatically convert and parse the PCF policy, transforming it into a form that the policy verification platform can simulate, verify, and extrapolate.

[0094] like Figure 3As shown, a specific implementation example is illustrated in detail, taking QoS adjustment based on business experience awareness as an example. The specific process is as follows:

[0095] Step 31: The NWDAF (Network Data Analysis Function) collects user wireless performance KPIs (such as Reference Signal Received Power RSRP and Reference Signal Received Quality RSRQ) from the gNB / OMC (Operation and Maintenance Center), collects user service performance KPIs (such as rate and latency) from the UPF (User Plane Function), and collects interactive service MoS (Maintenance and Operation Subsystem) from the AF (Application Function).

[0096] Step 32: Based on the data collected in Step 31, NWDAF constructs a machine learning / deep learning model for business awareness.

[0097] Step 33: Send the perception results to the policy control function (PCF).

[0098] Step 34: PCF generates QoS adjustment policies based on the NWDAF perception results and network conditions.

[0099] Step 35: PCF sends the generated QoS adjustment policy to the policy verification platform via the P1 interface.

[0100] Step 36: The policy verification platform receives PCF messages through the P2 interface, converts and parses the PCF policy, and performs inference, simulation and verification on the platform based on the converted information and real-time physical network data to determine whether the policy is feasible.

[0101] Step 37: If the strategy is feasible, the strategy verification platform sends the message "Y" to the PCF via the P2 interface.

[0102] Step 38: PCF triggers SMF (Session Management Function) to perform QoS adjustment according to the generated policy.

[0103] Step 39: SMF notifies UPF (User Plane Functions) to make QoS adjustments.

[0104] Step 40: If the policy verification platform verifies that the policy is not feasible, the policy verification platform sends the message "N + reason for infeasibility" to the PCF through the P2 interface.

[0105] Step 41: PCF re-optimizes and adjusts the QoS policy based on the reasons for infeasibility.

[0106] Step 42, then repeat steps 35 and 36 until the strategy is feasible, then proceed to steps 37, 38 and 39.

[0107] The above embodiments of the present invention use a policy verification platform to perform real-time simulation and deduction of policies generated by PCF, thereby solving the negative impact on the network caused by improper policy distribution, and realizing real-time verification of policies generated by PCF so that PCF can adjust policies in real time to meet the actual needs of the network.

[0108] Embodiments of the present invention also provide a strategy adjustment method applied to a policy control function (PCF), the method comprising:

[0109] Send the policy to the policy verification platform;

[0110] The system receives the verification result returned by the policy verification platform after verifying the policy; the verification result is obtained by verifying the policy according to the verification method corresponding to the preset construction type of the policy verification platform.

[0111] The strategy is adjusted based on the verification results to obtain the adjusted strategy.

[0112] In an optional embodiment of the present invention, the method for adjusting the strategy further includes: interacting with network elements of the core network according to the adjusted strategy.

[0113] In an optional embodiment of the present invention, receiving the verification result fed back by the policy verification platform after verifying the policy may include:

[0114] The second message sent by the policy verification platform is received through the P2 interface. The second message carries the verification result and includes at least one of the following fields: a flag indicating whether the policy is feasible and information on why the policy is not feasible.

[0115] Here, the flag indicating whether a strategy is feasible is, for example, a 1 or a 0, but not limited to these flag characters, used to indicate whether the strategy is feasible after verification; the reason why a strategy is not feasible is used to indicate the reason why the strategy is not feasible after verification, so that PCF can adjust the corresponding strategy according to the flag and the corresponding reason why the strategy is not feasible.

[0116] In one feasible instance, a flag indicating whether a strategy is feasible is set to 1, which means that the strategy is feasible and therefore does not need to be adjusted; otherwise, a flag indicating whether a strategy is feasible is set to 0, which means that the strategy is not feasible and needs to be adjusted.

[0117] When policy adjustments are needed, the system can further retrieve information from fields indicating why a policy is infeasible, and then adjust the policy accordingly. This effectively mitigates the negative impact on the network caused by inappropriate policies.

[0118] It should be noted that this method is a PCF-side method corresponding to the method on the strategy verification platform side mentioned above. All implementation methods in the above method embodiments are applicable to the embodiments of this method and can achieve the same technical effect.

[0119] like Figure 4 As shown, embodiments of the present invention also provide a strategy verification platform 40, comprising:

[0120] Transceiver module 41 is used to receive policies generated by the policy control function PCF;

[0121] Processing module 42 is used to perform verification processing on the strategy according to the verification method corresponding to the preset construction type of the strategy verification platform, and obtain the verification result;

[0122] The transceiver module 41 is also used to send the verification result to the PCF.

[0123] Optionally, receive policies generated by the Policy Control Function (PCF), including:

[0124] The first message sent by the Policy Control Function (PCF) is received through the P1 interface. The first message carries the policy generated by the PCF and includes at least one of the following fields: policy configuration form, different types of policy representation, and policy expression form.

[0125] Optionally, sending the verification result to the PCF includes:

[0126] A second message is sent to the PCF via the P2 interface. The second message carries the verification result and includes at least one of the following fields: a flag indicating whether the strategy is feasible and information on why the strategy is not feasible.

[0127] Optionally, the construction type of the policy verification platform includes at least one of the following:

[0128] Constructed using knowledge graphs;

[0129] It is constructed by using a pre-defined simulation software to interact with the upper-level logic and physical network.

[0130] It is built using an intelligent orchestration method.

[0131] Optionally, when the policy verification platform is constructed using a knowledge graph, the policy is verified according to the verification method corresponding to the preset construction type of the policy verification platform to obtain the verification result, including:

[0132] The strategy is used to extract key features to obtain key features;

[0133] The key features are generated into N-tuples according to the preset format of the preset programming language, where N is a positive integer;

[0134] According to the verification rules of the knowledge graph, the strategy represented by the N-tuple is subjected to conflict verification and / or consistency detection to obtain the verification result.

[0135] Optionally, when the policy verification platform is constructed using a preset simulation software upper-layer logic and physical network interaction method, the policy is verified according to the verification method corresponding to the preset construction type of the policy verification platform to obtain the verification result, including:

[0136] According to the configuration file requirements of the preset simulation software, the strategy is converted into a target configuration file;

[0137] The target configuration file is simulated and verified in the simulation environment of the preset simulation software to obtain the verification results.

[0138] Optionally, when the policy verification platform is built using an intelligent orchestration method, the policy is verified according to the verification method corresponding to the preset construction type of the policy verification platform to obtain the verification result, including:

[0139] Convert the strategy into a target expression;

[0140] The target expression is calculated in a twin constructed using intelligent orchestration to obtain the calculation result;

[0141] The calculation result is verified according to the second preset judgment rule to obtain the verification result.

[0142] It should be noted that this device is the same as the method on the strategy verification platform side mentioned above. All implementations of the above method are applicable to the embodiments of this device and can achieve the same technical effect.

[0143] Embodiments of the present invention also provide a policy control function (PCF), including:

[0144] The transceiver module is used to send policies to the policy verification platform and receive verification results from the policy verification platform after verifying the policies. The verification results are obtained by verifying the policies according to the verification method corresponding to the preset construction type of the policy verification platform.

[0145] The processing module is used to adjust the strategy based on the verification results to obtain the adjusted strategy.

[0146] Optionally, the transceiver module is also used to interact with network elements of the core network according to the adjusted strategy.

[0147] Embodiments of the present invention also provide a communication device, including: a processor and a memory storing a computer program, wherein the computer program, when executed by the processor, performs the method described above. All implementations in the above method embodiments are applicable to this embodiment and can achieve the same technical effects.

[0148] Embodiments of the present invention also provide a computer-readable storage medium including instructions that, when executed on a computer, cause the computer to perform the method described above. All implementations in the above method embodiments are applicable to this embodiment and can achieve the same technical effects.

[0149] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0150] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

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

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

[0153] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0154] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0155] Furthermore, it should be noted that in the apparatus and method of the present invention, it is obvious that the components or steps can be decomposed and / or recombined. These decompositions and / or recombinations should be considered equivalent solutions of the present invention. Moreover, the steps performing the above-described series of processes can naturally be executed in the order described, but are not necessarily required to be executed in chronological order; some steps can be executed in parallel or independently of each other. Those skilled in the art will understand that all or any step or component of the method and apparatus of the present invention can be implemented in any computing device (including processors, storage media, etc.) or network of computing devices, in hardware, firmware, software, or a combination thereof. This is something that those skilled in the art can achieve by using their basic programming skills after reading the description of the present invention.

[0156] Therefore, the object of the present invention can also be achieved by running a program or a set of programs on any computing device. The computing device can be a known general-purpose device. Therefore, the object of the present invention can also be achieved simply by providing a program product containing program code implementing the method or apparatus. That is, such a program product also constitutes the present invention, and the storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any known storage medium or any storage medium developed in the future. It should also be noted that in the apparatus and method of the present invention, it is obvious that the components or steps can be decomposed and / or recombined. These decompositions and / or recombinations should be considered equivalent to the present invention. Furthermore, the steps performing the above series of processes can naturally be performed in the order described, but are not necessarily required to be performed in chronological order. Some steps can be performed in parallel or independently of each other.

[0157] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for verifying a strategy, characterized in that, The method, applied to a policy verification platform, includes: Receive the policy generated by the Policy Control Function (PCF); The strategy is verified according to the verification method corresponding to the preset construction type of the strategy verification platform to obtain the verification result; Send the verification result to the PCF; The strategy verification platform is constructed in at least one of the following types: It is constructed by using a pre-defined simulation software to interact with the upper-level logic and physical network. Build using intelligent orchestration; When the policy verification platform is constructed using a preset simulation software upper-layer logic and physical network interaction method, the policy is verified according to the verification method corresponding to the preset construction type of the policy verification platform to obtain the verification result, including: According to the configuration file requirements of the preset simulation software, the strategy is converted into a target configuration file; The target configuration file is simulated and verified in the simulation environment of the preset simulation software to obtain the verification results; When the policy verification platform is built using an intelligent orchestration method, the policy is verified according to the verification method corresponding to the preset construction type of the policy verification platform to obtain the verification result, including: Convert the strategy into a target expression; The target expression is calculated in a twin constructed using intelligent orchestration to obtain the calculation result; The calculation result is verified according to the second preset judgment rule to obtain the verification result.

2. The verification method for the strategy according to claim 1, characterized in that, The policies generated by the Policy Control Function (PCF) include: The first message sent by the Policy Control Function (PCF) is received through the P1 interface. The first message carries the policy generated by the PCF and includes at least one of the following fields: policy configuration form, different types of policy representation, and policy expression form.

3. The verification method for the strategy according to claim 1, characterized in that, Sending the verification result to the PCF includes: A second message is sent to the PCF via the P2 interface. The second message carries the verification result and includes at least one of the following fields: a flag indicating whether the strategy is feasible and information on why the strategy is not feasible.

4. A method for adjusting a strategy, characterized in that, Applied to the policy control function (PCF), the method includes: Send the policy to the policy verification platform; The system receives the verification result returned by the policy verification platform after verifying the policy; the verification result is obtained by verifying the policy according to the verification method corresponding to the preset construction type of the policy verification platform. The strategy is adjusted based on the verification results to obtain the adjusted strategy. The strategy verification platform is constructed in at least one of the following types: It is constructed by using a pre-defined simulation software to interact with the upper-level logic and physical network. Build using intelligent orchestration; When the policy verification platform is constructed using a preset simulation software upper-layer logic and physical network interaction method, the policy is verified according to the verification method corresponding to the preset construction type of the policy verification platform to obtain the verification result, including: According to the configuration file requirements of the preset simulation software, the strategy is converted into a target configuration file; The target configuration file is simulated and verified in the simulation environment of the preset simulation software to obtain the verification results; When the policy verification platform is built using an intelligent orchestration method, the policy is verified according to the verification method corresponding to the preset construction type of the policy verification platform to obtain the verification result, including: Convert the strategy into a target expression; The target expression is calculated in a twin constructed using intelligent orchestration to obtain the calculation result; The calculation result is verified according to the second preset judgment rule to obtain the verification result.

5. The method for adjusting the strategy according to claim 4, characterized in that, Also includes: The system interacts with the core network elements according to the adjusted strategy.

6. A strategy verification platform, characterized in that, include: The transceiver module is used to receive policies generated by the Policy Control Function (PCF). The processing module is used to perform verification processing on the strategy according to the verification method corresponding to the preset construction type of the strategy verification platform, and obtain the verification result; The transceiver module is also used to send the verification result to the PCF; The strategy verification platform is constructed in at least one of the following types: It is constructed by using a pre-defined simulation software to interact with the upper-level logic and physical network. Build using intelligent orchestration; When the policy verification platform is constructed using a preset simulation software upper-layer logic and physical network interaction method, the policy is verified according to the verification method corresponding to the preset construction type of the policy verification platform to obtain the verification result, including: According to the configuration file requirements of the preset simulation software, the strategy is converted into a target configuration file; The target configuration file is simulated and verified in the simulation environment of the preset simulation software to obtain the verification results; When the policy verification platform is built using an intelligent orchestration method, the policy is verified according to the verification method corresponding to the preset construction type of the policy verification platform to obtain the verification result, including: Convert the strategy into a target expression; The target expression is calculated in a twin constructed using intelligent orchestration to obtain the calculation result; The calculation result is verified according to the second preset judgment rule to obtain the verification result.

7. A policy control function (PCF), characterized in that, include: The transceiver module is used to send policies to the policy verification platform; Receive the verification result fed back by the policy verification platform after verifying the policy; The verification result is obtained by verifying the strategy according to the verification method corresponding to the preset construction type of the strategy verification platform; The processing module is used to adjust the strategy based on the verification result to obtain the adjusted strategy; The strategy verification platform is constructed in at least one of the following types: It is constructed by using a pre-defined simulation software to interact with the upper-level logic and physical network. Build using intelligent orchestration; When the policy verification platform is constructed using a preset simulation software upper-layer logic and physical network interaction method, the policy is verified according to the verification method corresponding to the preset construction type of the policy verification platform to obtain the verification result, including: According to the configuration file requirements of the preset simulation software, the strategy is converted into a target configuration file; The target configuration file is simulated and verified in the simulation environment of the preset simulation software to obtain the verification results; When the policy verification platform is built using an intelligent orchestration method, the policy is verified according to the verification method corresponding to the preset construction type of the policy verification platform to obtain the verification result, including: Convert the strategy into a target expression; The target expression is calculated in a twin constructed using intelligent orchestration to obtain the calculation result; The calculation result is verified according to the second preset judgment rule to obtain the verification result.

8. A communication device, characterized in that, include: A processor, a memory storing a computer program, wherein the computer program, when executed by the processor, performs the method as described in any one of claims 1 to 3 or the method as described in any one of claims 4 to 5.

9. A computer-readable storage medium, characterized in that, A storage instruction that, when executed on a computer, causes the computer to perform the method as described in any one of claims 1 to 3 or the method as described in any one of claims 4 to 5.

Citation Information

Patent Citations

  • Operation order scheduling logic legality verification method based on knowledge graph

    CN112487789A

  • Network architecture and distribution strategy configuration method

    CN113556742A