A request processing method, apparatus, device and readable storage medium
By managing service producers to determine the attributes and relationships of intents when receiving intent creation requests, deciding whether to create an MOI, and adjusting or generating network management policies based on the attributes and relationships of the intents, the problem of useless MOIs in intent-driven network management is solved, achieving network resource conservation and improved management efficiency.
Patent Information
- Application Number
- CN202110933018.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-13
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2041-08-13
AI Technical Summary
In the existing technology, during the intent-driven network management process, the direct creation of intent management object instances (MOIs) by management service consumers may result in useless MOIs, causing a waste of network resources.
After receiving an intent creation request, the management service producer determines whether to create an MOI by judging the attributes of the intent and its relationship with existing intents. Based on the attributes and relationships of the intent, the producer adjusts or generates network management policies, including storing intent MOI information and management policies.
By creating targeted instances of intent-managed objects, network resources are saved, and the efficiency of network management and resource utilization are improved.
Smart Images

Figure CN115706740B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a request processing method, apparatus, device, and readable storage medium. Background Technology
[0002] Intent-based networking technology uses "user intents" for management. It can identify and receive user intents (including end users and network administrators) and configure and adjust accordingly.
[0003] Existing technologies propose intent-driven network and service deployment and optimization, as well as intent management. The intent-driven management process involves an MnS (Management Service) consumer and an MnS producer. The MnS consumer submits an intent request to the MnS producer, and the MnS producer supports the implementation of the intent based on this request; that is, the MnS producer manages services and / or network resources by using intents.
[0004] However, the existing technology directly creates the Management Object Instance (MOI) based on the request from the management service consumer, which may result in the creation of useless MOIs and a waste of network resources. Summary of the Invention
[0005] This application provides a request processing method, apparatus, device, and readable storage medium to save network resources.
[0006] In a first aspect, embodiments of this application provide a request processing method applied to a management service producer, characterized by comprising:
[0007] Receive an intent creation request sent by a management service consumer, the intent creation request including first information;
[0008] The first attribute in the first information is determined to be the first value;
[0009] If the first value meets the preset conditions, an intent MOI is created according to the intent creation request.
[0010] The first value includes one of the following:
[0011] Malice;
[0012] Not malicious;
[0013] Default value or default value.
[0014] The preset condition is that the first value is not malicious.
[0015] The method further includes:
[0016] The second attribute in the first information is determined to be the second value.
[0017] The step of determining the second attribute in the first information as the second value includes:
[0018] Send a query request to the first device;
[0019] Receive the second value fed back by the first device.
[0020] The second value is used to represent one of the following relationships:
[0021] Same, inherited, conflicting, related, and unrelated.
[0022] The step of determining the first attribute in the first information as the first value includes:
[0023] When the second value does not represent the same value, the first attribute in the first information is determined to be the first value.
[0024] The method further includes, after creating an Intent Management Object instance (MOI) based on the intent creation request:
[0025] Store the information of the intent MOI.
[0026] The information for storing the intent MOI includes:
[0027] A storage request is sent to a first device, the storage request carrying information of the intent MOI, for the purpose of causing the first device to store the information of the intent MOI.
[0028] The method further includes:
[0029] The second value determines the service or network management policy for which the intent to be created is to be determined.
[0030] The step of determining the service or network management policy to be created based on the second value includes:
[0031] If the second value represents the same thing, the existing policy will be used as the service or network management policy.
[0032] In the case where the second value represents inheritance, the sub-policy of the existing policy will be used as the service or network management policy;
[0033] In the event of a conflict indicated by the second value, the existing policy or a sub-policy of the existing policy shall be used as the service or network management policy, or the existing policy shall be adjusted to obtain the service or network management policy, or the service or network management policy shall be generated.
[0034] When the second value indicates a relevant condition, the existing strategy is adjusted to obtain the service or network management strategy.
[0035] If the second value is irrelevant, the service or network management policy is generated.
[0036] Wherein, in the case of a conflict with the second value, the method further includes:
[0037] Set the priority of the intent to be created.
[0038] The first information includes a third attribute and a fourth attribute. The third attribute includes coverage, intent requirements, and intent goals. The fourth attribute includes the intent name of the intent to be created.
[0039] The second value indicates that the intent name, coverage, intent requirements, and intent target of the intent to be created are the same as one or more of the name, coverage, intent requirements, and intent targets of an existing intent.
[0040] The second value represents inheritance when one or more of the following conditions are met: the scope of the intent to be created is within the scope of the existing intent, the intent goal of the intent to be created is smaller than the intent goal of the existing intent, and the intent requirement of the intent to be created is smaller than the intent requirement of the existing intent.
[0041] When the intention to be created and the existing intention need to achieve contradictory goals at the same time and in the same coverage area, and the network side cannot satisfy the intention to be created and the existing intention at the same time, the second value indicates a conflict;
[0042] The second value is considered relevant when one or more of the following conditions are met: the gap between the coverage of the intent to be created and the coverage of the existing intent meets the first requirement; the gap between the intent requirements of the intent to be created and the intent requirements of the existing intent meets the second requirement; and the gap between the intent target of the intent to be created and the intent target of the existing intent meets the third requirement.
[0043] The method further includes:
[0044] Store information about the service or network management policies.
[0045] The information storing the service or network management policy includes:
[0046] A storage request is sent to a first device, the storage request carrying information about the service or network management policy, so that the first device stores the information about the service or network management policy.
[0047] Secondly, embodiments of this application also provide a request processing method, applied to a management service producer, characterized in that it includes:
[0048] Receive an intent creation request sent by a management service consumer, the intent creation request including first information;
[0049] The second attribute in the first information is determined to be the second value;
[0050] If the second value meets the preset conditions, an MOI is created according to the intent creation request.
[0051] The step of determining the second attribute in the first information as the second value includes:
[0052] Send a query request to the first device;
[0053] Receive the second value fed back by the first device.
[0054] Wherein, the second value represents one of the following relationships:
[0055] Same, inherited, conflicting, related, and unrelated.
[0056] The preset condition is that the second value does not represent the same value.
[0057] The method further includes, after creating the MOI according to the intent creation request:
[0058] Store the information of the intent MOI.
[0059] The information for storing the intent MOI includes:
[0060] A storage request is sent to a first device, the storage request carrying information of the intent MOI, for the purpose of causing the first device to store the information of the intent MOI.
[0061] The method further includes:
[0062] The second value determines the service or network management policy for which the intent to be created is to be determined.
[0063] The step of determining the service or network management policy to be created based on the second value includes:
[0064] If the second value represents the same thing, the existing policy will be used as the service or network management policy.
[0065] In the case where the second value represents inheritance, the sub-policy of the existing policy will be used as the service or network management policy;
[0066] In the event of a conflict indicated by the second value, the existing policy or a sub-policy of the existing policy shall be used as the service or network management policy, or the existing policy shall be adjusted to obtain the service or network management policy, or the service or network management policy shall be generated.
[0067] When the second value indicates a relevant condition, the existing strategy is adjusted to obtain the service or network management strategy.
[0068] If the second value is irrelevant, the service or network management policy is generated.
[0069] Wherein, in the case of a conflict with the second value, the method further includes:
[0070] Set the priority of the intent to be created.
[0071] The first information includes a third attribute and a fourth attribute. The third attribute includes coverage, intent requirements, and intent goals. The fourth attribute includes the intent name of the intent to be created.
[0072] The second value indicates that the intent name, coverage, intent requirements, and intent target of the intent to be created are the same as one or more of the name, coverage, intent requirements, and intent targets of an existing intent.
[0073] The second value represents inheritance when one or more of the following conditions are met: the scope of the intent to be created is within the scope of the existing intent, the intent goal of the intent to be created is smaller than the intent goal of the existing intent, and the intent requirement of the intent to be created is smaller than the intent requirement of the existing intent.
[0074] When the intention to be created and the existing intention need to achieve contradictory goals at the same time and in the same coverage area, and the network side cannot satisfy the intention to be created and the existing intention at the same time, the second value indicates a conflict;
[0075] The second value is considered relevant when one or more of the following conditions are met: the gap between the coverage of the intent to be created and the coverage of the existing intent meets the first requirement; the gap between the intent requirements of the intent to be created and the intent requirements of the existing intent meets the second requirement; and the gap between the intent target of the intent to be created and the intent target of the existing intent meets the third requirement.
[0076] The method further includes:
[0077] Store information about the service or network management policies.
[0078] The information storing the service or network management policy includes:
[0079] A storage request is sent to a first device, the storage request carrying information about the service or network management policy, so that the first device stores the information about the service or network management policy.
[0080] Thirdly, embodiments of this application also provide a request processing apparatus, applied to a management service producer, including:
[0081] The first receiving module is used to receive an intent creation request sent by a management service consumer, wherein the intent creation request includes first information;
[0082] The first decision module is used to determine that the first attribute in the first information is the first value;
[0083] The first creation module is used to create an MOI according to the intent creation request when the first value meets the preset conditions.
[0084] Optionally, the first value includes one of the following:
[0085] Malice;
[0086] Not malicious;
[0087] Default value or default value.
[0088] Optionally, the preset condition is: the first value is not malicious.
[0089] Optionally, the device may further include:
[0090] The second decision module is used to determine that the second attribute in the first information is the second value.
[0091] Optionally, the second decision module includes:
[0092] The first sending submodule is used to send a query request to the first device;
[0093] The first receiving submodule is used to receive the second value fed back by the first device.
[0094] Optionally, the second value is used to represent one of the following relationships:
[0095] Same, inherited, conflicting, related, and unrelated.
[0096] Optionally, the first decision module is used to determine the first attribute in the first information as the first value when the second value does not represent the same value.
[0097] Optionally, the device further includes:
[0098] The first storage module is used to store the information of the intent MOI.
[0099] Optionally, the first storage module is configured to send a storage request to the first device, the storage request carrying information of the intent MOI, for the first device to store the information of the intent MOI.
[0100] Optionally, the device further includes:
[0101] The second creation module is used to determine the service or network management policy to be created based on the second value.
[0102] Optionally, the second creation module is used for:
[0103] If the second value represents the same thing, the existing policy will be used as the service or network management policy.
[0104] In the case where the second value represents inheritance, the sub-policy of the existing policy will be used as the service or network management policy;
[0105] In the event of a conflict indicated by the second value, the existing policy or a sub-policy of the existing policy shall be used as the service or network management policy, or the existing policy shall be adjusted to obtain the service or network management policy, or the service or network management policy shall be generated.
[0106] When the second value indicates a relevant condition, the existing strategy is adjusted to obtain the service or network management strategy.
[0107] If the second value is irrelevant, the service or network management policy is generated.
[0108] Optionally, the device further includes:
[0109] The settings module is used to set the priority of the intent to be created.
[0110] Optionally, the first information includes a third attribute and a fourth attribute, wherein the third attribute includes coverage, intent requirements and intent goals, and the fourth attribute includes the intent name of the intent to be created;
[0111] The second value indicates that the intent name, coverage, intent requirements, and intent target of the intent to be created are the same as one or more of the name, coverage, intent requirements, and intent targets of an existing intent.
[0112] The second value represents inheritance when one or more of the following conditions are met: the scope of the intent to be created is within the scope of the existing intent, the intent goal of the intent to be created is smaller than the intent goal of the existing intent, and the intent requirement of the intent to be created is smaller than the intent requirement of the existing intent.
[0113] When the intention to be created and the existing intention need to achieve contradictory goals at the same time and in the same coverage area, and the network side cannot satisfy the intention to be created and the existing intention at the same time, the second value indicates a conflict;
[0114] The second value is considered relevant when one or more of the following conditions are met: the gap between the coverage of the intent to be created and the coverage of the existing intent meets the first requirement; the gap between the intent requirements of the intent to be created and the intent requirements of the existing intent meets the second requirement; and the gap between the intent target of the intent to be created and the intent target of the existing intent meets the third requirement.
[0115] Optionally, the device may further include:
[0116] The second storage module is used to store information about the service or network management policies.
[0117] Optionally, the second storage module is configured to send a storage request to the first device, the storage request carrying information about the service or network management policy, so that the first device stores the information about the service or network management policy.
[0118] Fourthly, embodiments of this application also provide a request processing apparatus, applied to a management service producer, including:
[0119] The first receiving module is used to receive an intent creation request sent by a management service consumer, wherein the intent creation request includes first information;
[0120] The first decision module is used to determine that the second attribute in the first information is the second value;
[0121] The first creation module is used to create an MOI according to the intent creation request when the second value meets the preset conditions.
[0122] Optionally, the first decision module includes:
[0123] The first sending submodule is used to send a query request to the first device;
[0124] The first receiving submodule is used to receive the second value fed back by the first device.
[0125] Optionally, the second value represents one of the following relationships:
[0126] Same, inherited, conflicting, related, and unrelated.
[0127] Optionally, the preset condition is: the second value does not represent the same.
[0128] Optionally, the device further includes:
[0129] The first storage module is used to store the information of the intent MOI.
[0130] Optionally, the first storage module is configured to send a storage request to the first device, the storage request carrying information of the intent MOI, for the first device to store the information of the intent MOI.
[0131] Optionally, the device further includes:
[0132] The second creation module is used to determine the service or network management policy to be created based on the second value.
[0133] Optionally, the second creation module is used for:
[0134] If the second value represents the same thing, the existing policy will be used as the service or network management policy.
[0135] In the case where the second value represents inheritance, the sub-policy of the existing policy will be used as the service or network management policy;
[0136] In the event of a conflict indicated by the second value, the existing policy or a sub-policy of the existing policy shall be used as the service or network management policy, or the existing policy shall be adjusted to obtain the service or network management policy, or the service or network management policy shall be generated.
[0137] When the second value indicates a relevant condition, the existing strategy is adjusted to obtain the service or network management strategy.
[0138] If the second value is irrelevant, the service or network management policy is generated.
[0139] Optionally, the device further includes:
[0140] The settings module is used to set the priority of the intent to be created.
[0141] Optionally, the first information includes a third attribute and a fourth attribute, wherein the third attribute includes coverage, intent requirements and intent goals, and the fourth attribute includes the intent name of the intent to be created;
[0142] The second value indicates that the intent name, coverage, intent requirements, and intent target of the intent to be created are the same as one or more of the name, coverage, intent requirements, and intent targets of an existing intent.
[0143] The second value represents inheritance when one or more of the following conditions are met: the scope of the intent to be created is within the scope of the existing intent, the intent goal of the intent to be created is smaller than the intent goal of the existing intent, and the intent requirement of the intent to be created is smaller than the intent requirement of the existing intent.
[0144] When the intention to be created and the existing intention need to achieve contradictory goals at the same time and in the same coverage area, and the network side cannot satisfy the intention to be created and the existing intention at the same time, the second value indicates a conflict;
[0145] The second value is considered relevant when one or more of the following conditions are met: the gap between the coverage of the intent to be created and the coverage of the existing intent meets the first requirement; the gap between the intent requirements of the intent to be created and the intent requirements of the existing intent meets the second requirement; and the gap between the intent target of the intent to be created and the intent target of the existing intent meets the third requirement.
[0146] Optionally, the device further includes:
[0147] The second storage module is used to store information about the service or network management policies.
[0148] Optionally, the second storage module is further configured to send a storage request to the first device, the storage request carrying information about the service or network management policy, so that the first device stores the information about the service or network management policy.
[0149] Fifthly, embodiments of this application also provide a request processing apparatus for managing service producers, including: a processor and a transceiver;
[0150] The transceiver is used to receive an intent creation request sent by a management service consumer, the intent creation request including first information;
[0151] The processor is configured to determine that the first attribute in the first information is a first value; and if the first value meets a preset condition, to create an MOI according to the intent creation request.
[0152] Optionally, the first value includes one of the following:
[0153] Malice;
[0154] Not malicious;
[0155] Default value or default value.
[0156] Optionally, the preset condition is: the first value is not malicious.
[0157] Optionally, the processor is further configured to determine that the second attribute in the first information is a second value.
[0158] Optionally, the processor is further configured to send a query request to the first device and receive the second value fed back by the first device.
[0159] Optionally, the second value is used to represent one of the following relationships:
[0160] Same, inherited, conflicting, related, and unrelated.
[0161] Optionally, the processor is further configured to determine that the first attribute in the first information is the first value when the second value does not represent the same value.
[0162] Optionally, the processor is also used to store information about the intent MOI.
[0163] Optionally, the processor is further configured to send a storage request to the first device, the storage request carrying information of the intent MOI, for causing the first device to store the information of the intent MOI.
[0164] Optionally, the processor is further configured to determine the service or network management policy of the intent to be created based on the second value.
[0165] Optionally, the processor is further configured to:
[0166] If the second value represents the same thing, the existing policy will be used as the service or network management policy.
[0167] In the case where the second value represents inheritance, the sub-policy of the existing policy will be used as the service or network management policy;
[0168] In the event of a conflict indicated by the second value, the existing policy or a sub-policy of the existing policy shall be used as the service or network management policy, or the existing policy shall be adjusted to obtain the service or network management policy, or the service or network management policy shall be generated.
[0169] When the second value indicates a relevant condition, the existing strategy is adjusted to obtain the service or network management strategy.
[0170] If the second value is irrelevant, the service or network management policy is generated.
[0171] Optionally, the processor is also configured to set the priority of the intent to be created.
[0172] Optionally, the first information includes a third attribute and a fourth attribute, wherein the third attribute includes coverage, intent requirements and intent goals, and the fourth attribute includes the intent name of the intent to be created;
[0173] The second value indicates that the intent name, coverage, intent requirements, and intent target of the intent to be created are the same as one or more of the name, coverage, intent requirements, and intent targets of an existing intent.
[0174] The second value represents inheritance when one or more of the following conditions are met: the scope of the intent to be created is within the scope of the existing intent, the intent goal of the intent to be created is smaller than the intent goal of the existing intent, and the intent requirement of the intent to be created is smaller than the intent requirement of the existing intent.
[0175] When the intention to be created and the existing intention need to achieve contradictory goals at the same time and in the same coverage area, and the network side cannot satisfy the intention to be created and the existing intention at the same time, the second value indicates a conflict;
[0176] The second value is considered relevant when one or more of the following conditions are met: the gap between the coverage of the intent to be created and the coverage of the existing intent meets the first requirement; the gap between the intent requirements of the intent to be created and the intent requirements of the existing intent meets the second requirement; and the gap between the intent target of the intent to be created and the intent target of the existing intent meets the third requirement.
[0177] Optionally, the processor is also used to store information about the service or network management policy.
[0178] Optionally, the processor is further configured to send a storage request to the first device, the storage request carrying information about the service or network management policy, for causing the first device to store the information about the service or network management policy.
[0179] Sixthly, embodiments of this application also provide a request processing apparatus for managing service producers, including: a processor and a transceiver;
[0180] The transceiver is used to receive an intent creation request sent by a management service consumer, the intent creation request including first information;
[0181] The processor is configured to determine that the second attribute in the first information is a second value; and if the second value meets a preset condition, to create an MOI according to the intent creation request.
[0182] Optionally, the processor is further configured to:
[0183] Send a query request to the first device;
[0184] Receive the second value fed back by the first device.
[0185] Optionally, the second value represents one of the following relationships:
[0186] Same, inherited, conflicting, related, and unrelated.
[0187] Optionally, the preset condition is: the second value does not represent the same.
[0188] Optionally, the processor is also used to store information about the intent MOI.
[0189] Optionally, the processor is further configured to send a storage request to the first device, the storage request carrying information of the intent MOI, for causing the first device to store the information of the intent MOI.
[0190] Optionally, the processor is further configured to determine the service or network management policy of the intent to be created based on the second value.
[0191] Optionally, the processor is further configured to:
[0192] If the second value represents the same thing, the existing policy will be used as the service or network management policy.
[0193] In the case where the second value represents inheritance, the sub-policy of the existing policy will be used as the service or network management policy;
[0194] In the event of a conflict indicated by the second value, the existing policy or a sub-policy of the existing policy shall be used as the service or network management policy, or the existing policy shall be adjusted to obtain the service or network management policy, or the service or network management policy shall be generated.
[0195] When the second value indicates a relevant condition, the existing strategy is adjusted to obtain the service or network management strategy.
[0196] If the second value is irrelevant, the service or network management policy is generated.
[0197] Optionally, the processor is also configured to set the priority of the intent to be created.
[0198] Optionally, the first information includes a third attribute and a fourth attribute, wherein the third attribute includes coverage, intent requirements and intent goals, and the fourth attribute includes the intent name of the intent to be created;
[0199] The second value indicates that the intent name, coverage, intent requirements, and intent target of the intent to be created are the same as one or more of the name, coverage, intent requirements, and intent targets of an existing intent.
[0200] The second value represents inheritance when one or more of the following conditions are met: the scope of the intent to be created is within the scope of the existing intent, the intent goal of the intent to be created is smaller than the intent goal of the existing intent, and the intent requirement of the intent to be created is smaller than the intent requirement of the existing intent.
[0201] When the intention to be created and the existing intention need to achieve contradictory goals at the same time and in the same coverage area, and the network side cannot satisfy the intention to be created and the existing intention at the same time, the second value indicates a conflict;
[0202] The second value is considered relevant when one or more of the following conditions are met: the gap between the coverage of the intent to be created and the coverage of the existing intent meets the first requirement; the gap between the intent requirements of the intent to be created and the intent requirements of the existing intent meets the second requirement; and the gap between the intent target of the intent to be created and the intent target of the existing intent meets the third requirement.
[0203] Optionally, the processor is also used to store information about the service or network management policy.
[0204] Optionally, the processor is further configured to send a storage request to the first device, the storage request carrying information about the service or network management policy, for causing the first device to store the information about the service or network management policy.
[0205] In a seventh aspect, embodiments of this application also provide a communication device, including: a transceiver, a memory, a processor, and a program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps in the request processing method described above.
[0206] Eighthly, embodiments of this application also provide a readable storage medium storing a program that, when executed by a processor, implements the steps in the request processing method described above.
[0207] In this embodiment, the management service producer can decide whether to create an intent management object instance based on the value of the first attribute. Therefore, the solution using this embodiment can create intent management object instances more specifically based on the first attribute, thereby saving network resources compared to existing methods. Attached Figure Description
[0208] Figure 1This is one of the flowcharts of the request processing method provided in the embodiments of this application;
[0209] Figure 2 This is the second flowchart of the request processing method provided in the embodiments of this application;
[0210] Figure 3 This is the third flowchart of the request processing method provided in the embodiments of this application;
[0211] Figure 4 This is the fourth flowchart of the request processing method provided in the embodiments of this application;
[0212] Figure 5 This is the fifth flowchart of the request processing method provided in the embodiments of this application;
[0213] Figure 6 This is the sixth flowchart of the request processing method provided in the embodiments of this application;
[0214] Figure 7 This is one of the structural diagrams of the request processing apparatus provided in the embodiments of this application;
[0215] Figure 8 This is a second structural diagram of the request processing device provided in the embodiments of this application;
[0216] Figure 9 This is the third structural diagram of the request processing device provided in the embodiments of this application;
[0217] Figure 10 This is the fourth structural diagram of the request processing device provided in the embodiments of this application. Detailed Implementation
[0218] In the embodiments of this application, the term "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following associated objects have an "or" relationship.
[0219] In the embodiments of this application, the term "multiple" refers to two or more, and other quantifiers are similar.
[0220] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0221] See Figure 1 , Figure 1This is a flowchart of a request processing method provided in an embodiment of this application, applied to a management service producer, such as... Figure 1 As shown, it includes the following steps:
[0222] Step 101: Receive an intent creation request sent by the management service consumer, wherein the intent creation request includes first information.
[0223] In this embodiment, the first information includes multiple attributes, such as userLabel (intent label), intentExpectation (intent expectation), intentFulfilStatus (intent completion status), and judgeInfo (judgment information). The intent label refers to the intent name; intent expectation includes coverage, intent requirements, and intent goals; intent completion status refers to the completion status of the intent by the management service producer, including completed and incomplete. Here, judgeInfo is referred to as the first attribute of the first information, intentExpectation as the third attribute, and the intent label as the fourth attribute. The first attribute judgeInfo is used to represent the judgment result regarding the malice of the intent. Alternatively, the first attribute may also be used to represent the judgment result regarding the feasibility of the intent. The relationships between different intents can be determined through the content included in the third and fourth attributes and the values of each content.
[0224] Whether an intent is feasible can be understood as whether the intent can be realized, for example, whether the intent is within the network's service capabilities. If the intent is within the network's service capabilities, then the intent is considered feasible; otherwise, the intent is considered infeasible. Whether an intent is malicious can be understood as whether the goal or demand of the intent is malicious. For example, if the intent will have a negative impact on the operator's network, then the intent is considered malicious; otherwise, the intent is considered non-malicious.
[0225] Step 102: Determine the first attribute in the first information as the first value.
[0226] In this application embodiment, the first value includes one of the following:
[0227] Malicious; non-malicious; default value or default value.
[0228] Alternatively, in this embodiment of the application, the first value includes one of the following:
[0229] Feasible; Infeasible; Default value or default value.
[0230] Specifically, the management service provider can determine the first value based on the network's capabilities and first information. For example, if the network's available bandwidth is 100M, but the intention is to have 1000M bandwidth, the intention can be considered an unfeasible intention; or, if the intention will have a negative impact on the operator's network, such as requesting the shutdown of a device or the deletion of critical data, the intention can be considered a malicious intention.
[0231] In practical applications, the two values of the first value mentioned above can also be used in combination.
[0232] Step 103: If the first value meets the preset conditions, create an intent MOI according to the intent creation request.
[0233] In this embodiment of the application, the preset condition is: the first value is non-malicious. That is, when the first value is non-malicious, the management service producer can create an intent MOI according to the intent creation request.
[0234] Alternatively, the preset condition is: the first value is feasible. That is, when the first value is feasible, the management service producer can create an intent MOI according to the intent creation request.
[0235] Alternatively, the preset condition is that the first value is feasible and non-malicious. That is, when the first value is feasible and non-malicious, the management service producer can create an intent MOI according to the intent creation request.
[0236] As can be seen from the above description, in this embodiment, the management service producer can decide whether to create an intent management object instance based on the value of the first attribute. Therefore, the solution using this embodiment can create intent management object instances more specifically based on the first attribute, thereby saving network resources compared to existing methods.
[0237] In this embodiment, the first information may further include the attribute: relationInfo. In this embodiment, it is referred to as the second attribute, used to represent the relationship between the intent to be created and existing intents. Existing intents refer to intents for which an intent MOI has already been created or whose related information has already been stored.
[0238] Based on the above embodiments, the method of this application embodiment may further include:
[0239] The second attribute in the first information is determined to be the second value.
[0240] Here, the management service provider can determine the second value itself based on the intent database. Alternatively, the management service provider can request an independently configured intent database (which may be configured in the first device) to determine the second value. Specifically, the management service provider can send a query request to the first device and receive the second value from the first device.
[0241] The second value is used to represent one of the following relationships: same, inherited, conflicting, related, and unrelated.
[0242] In this context, "identical" refers to two intentions having one or more identical pieces of information; "inherited" refers to one intention being a sub-intention of another; "conflicting" refers to two intentions requiring conflicting goals to be achieved simultaneously in the same coverage area, and the network being unable to satisfy them at the same time; "related" refers to two intentions having one or more identical or similar pieces of information; and "irrelevant" refers to two intentions having completely different information. This information includes one or more of the intention name, coverage area, intention requirements, and intention goals.
[0243] Specifically, the second value indicates that the intent name, coverage, intent requirements, and intent goal of the intent to be created are the same as one or more of the same as those of an existing intent. For example, assuming that the coverage, intent requirements, and intent goal of the intent to be created are the same as those of an existing intent, the second value indicates that they are the same.
[0244] The second value represents inheritance when one or more of the following conditions are met: the scope of the intent to be created is within the scope of the existing intent; the intent goal of the intent to be created is smaller than the intent goal of the existing intent; and the intent requirement of the intent to be created is smaller than the intent requirement of the existing intent.
[0245] The second value indicates a conflict when the intended purpose to be created and the existing purpose need to achieve conflicting goals at the same time and in the same coverage area, and the network cannot simultaneously satisfy both the intended purpose to be created and the existing purpose. For example, when the intended purpose to be created and the existing purpose at the same time and in the same coverage area have the goals of increasing bandwidth and decreasing bandwidth, respectively, the second value indicates a conflict.
[0246] The second value indicates relevance when one or more of the following conditions are met: the gap between the coverage of the intent to be created and the coverage of the existing intent meets a first requirement; the gap between the intent requirement of the intent to be created and the intent requirement of the existing intent meets a second requirement; and the gap between the intent goal of the intent to be created and the intent goal of the existing intent meets a third requirement. The first, second, and third requirements can be set as needed.
[0247] Apart from the above situations, it can be assumed that the intent to be created is unrelated to the existing intent.
[0248] The step of determining the second attribute in the first information as the second value can be performed before or after step 102.
[0249] If executed before step 102, then in the embodiments of this application, the value of the second attribute is determined first, followed by the value of the first attribute. In this case, for step 102, when the second value does not represent the same value, the first attribute in the first information is determined to be the first value. In this approach, the relationship between the intent to be created and the existing intent can be determined first, and the feasibility of the intent can be determined based on the determination result. Since the feasibility of the existing intent is known information, this approach can directly utilize the information of the existing intent, thereby improving the efficiency of subsequent processing.
[0250] If executed after step 102, then in the embodiments of this application, the value of the first attribute is determined first, followed by the value of the second attribute. That is, feasibility is determined first, and then the relationship between the intent to be created and the existing intent is assessed. Therefore, for infeasible intents, this method allows them to be left unprocessed, thus saving subsequent processing resources.
[0251] Alternatively, if executed before step 102, then in the embodiments of this application, the value of the second attribute is determined first, followed by the value of the first attribute. In this case, for step 102, when the second value does not represent the same value, the first attribute in the first information is determined to be the first value. In this approach, the relationship between the intent to be created and the existing intent can be determined first, and the result of the determination can be used to decide whether to further determine its malice. Since the malice of the existing intent is known, this approach can directly utilize the information of the existing intent, thereby improving the efficiency of subsequent processing.
[0252] If executed after step 102, then in the embodiments of this application, the value of the first attribute is determined first, followed by the value of the second attribute. That is, malicious intent is determined first, and then the relationship between the intent to be created and the existing intent is determined. Therefore, for non-malicious intents, this method allows them to be left unprocessed, thus saving subsequent processing resources.
[0253] Based on the above embodiments, the method may further include:
[0254] Store the information of the intent MOI. The information of the intent MOI includes the creation time, the person who proposed the intent, etc.
[0255] Specifically, the management service producer can store the intent MOI information itself to update the intent database; the management service producer can also send a storage request to the first device, the storage request carrying the intent MOI information, so that the first device stores the intent MOI information.
[0256] Based on the above embodiments, the management service producer can also determine the service or network management policy of the intent to be created according to the second value, thereby providing a guarantee for the realization of the intent to be created.
[0257] Depending on the meaning of the second value, management service producers can define service or network management strategies in different ways to determine the intent to create the service:
[0258] (1) If the second value represents the same thing, the existing policy shall be used as the service or network management policy. An existing intent here refers to an intent that satisfies the above-mentioned "same" relationship with the intent to be created.
[0259] (2) In the case where the second value represents inheritance, the sub-policy of the existing policy is used as the service or network management policy. An existing intent here refers to an intent that satisfies the aforementioned "inheritance" relationship with the intent to be created. The intent to be created is a sub-intent of an existing intent.
[0260] (3) In cases where the second value indicates a conflict, an existing policy or a sub-policy of an existing policy is used as the service or network management policy, or the existing policy is adjusted to obtain the service or network management policy, or the service or network management policy is generated. In this case, although the intent to be created is in conflict with an existing intent, it may still have relationships such as sameness, relevance, irrelevance, or inheritance with other existing intents. Therefore, for this situation, the service or network management policy of the intent to be created can be determined by referring to the processing methods for relationships such as sameness, relevance, irrelevance, and inheritance.
[0261] In this scenario, priorities can be set for intents to be created, which can then be used to determine the priority of obtaining services or network management policies and the priority of policy execution. Intents with higher priority will be satisfied first. Priority can be configured for intents based on factors such as user level, the area covered by the intent, the difficulty of implementing the intent, and the magnitude of network modifications.
[0262] (4) When the second value indicates a relevant condition, the existing policy is adjusted to obtain the service or network management policy. Adjusting the existing policy means modifying it to suit the needs of the intent to be created.
[0263] (5) If the second value is irrelevant, generate the service or network management policy. That is, in this case, a new service or network management policy should be generated.
[0264] By utilizing existing intent-based service or network management policies as described above, the efficiency of intent-based policy configuration can be improved.
[0265] To facilitate subsequent processing, information about the service or network management policy can also be stored. Similarly, the management service provider can store the service or network management policy information itself, or request the first device to store the information. If requesting storage from the first device, the management service provider can send a storage request to the first device, the storage request carrying the service or network management policy information, to cause the first device to store the service or network management policy information.
[0266] See Figure 2 , Figure 2 This is a flowchart of a request processing method provided in an embodiment of this application, applied to a management service producer. For example... Figure 2 As shown, it includes the following steps:
[0267] Step 201: Receive an intent creation request sent by the management service consumer, wherein the intent creation request includes first information.
[0268] In this embodiment, the first information includes multiple attributes, such as userLabel (intent label), intentExpectation (intent expectation), intentFulfilStatus (intent completion status), and relationInfo (relationship information). The intent label refers to the intent name; intent expectation includes coverage, intent requirements, and intent goals; intent completion status refers to the completion status of the intent by the management service producer, including completed and incomplete. Intent expectation includes coverage, intent requirements, and intent goals. Here, relationInfo is used as the second attribute of the first information to represent the relationship between the intent to be created and existing intents. Existing intents refer to intents that have already had an intent MOI created or intents whose related information has been stored. intentExpectation is used as the third attribute, and the intent label is referred to as the fourth attribute.
[0269] Step 202: Determine the second attribute in the first information as the second value.
[0270] Here, the management service provider can determine the second value itself based on the intent database. Alternatively, the management service provider can request an independently configured intent database (which may be configured in the first device) to determine the second value. Specifically, the management service provider can send a query request to the first device and receive the second value from the first device.
[0271] The second value is used to represent one of the following relationships: same, inherited, conflicting, related, and unrelated.
[0272] In this context, "identical" refers to two intentions having one or more identical pieces of information; "inherited" refers to one intention being a sub-intention of another; "conflicting" refers to two intentions requiring conflicting goals to be achieved simultaneously in the same coverage area, and the network being unable to satisfy them at the same time; "related" refers to two intentions having one or more identical or similar pieces of information; and "irrelevant" refers to two intentions having completely different information. This information includes one or more of the intention name, coverage area, intention requirements, and intention goals.
[0273] Specifically, the second value indicates that the intent name, coverage, intent requirements, and intent goal of the intent to be created are the same as one or more of the same as those of an existing intent. For example, assuming that the coverage, intent requirements, and intent goal of the intent to be created are the same as those of an existing intent, the second value indicates that they are the same.
[0274] The second value represents inheritance when one or more of the following conditions are met: the scope of the intent to be created is within the scope of the existing intent; the intent goal of the intent to be created is smaller than the intent goal of the existing intent; and the intent requirement of the intent to be created is smaller than the intent requirement of the existing intent.
[0275] The second value indicates a conflict when the intended purpose to be created and the existing purpose need to achieve conflicting goals at the same time and in the same coverage area, and the network cannot simultaneously satisfy both the intended purpose to be created and the existing purpose. For example, when the intended purpose to be created and the existing purpose at the same time and in the same coverage area have the goals of increasing bandwidth and decreasing bandwidth, respectively, the second value indicates a conflict.
[0276] The second value indicates relevance when one or more of the following conditions are met: the gap between the coverage of the intent to be created and the coverage of the existing intent meets a first requirement; the gap between the intent requirement of the intent to be created and the intent requirement of the existing intent meets a second requirement; and the gap between the intent goal of the intent to be created and the intent goal of the existing intent meets a third requirement. The first, second, and third requirements can be set as needed.
[0277] Apart from the above situations, it can be assumed that the intent to be created is unrelated to the existing intent.
[0278] Step 203: If the second value meets the preset conditions, create an MOI according to the intention creation request.
[0279] The preset condition is that the second value does not represent the same value. That is, when the second value does not represent the same value, an MOI is created according to the intention creation request.
[0280] As can be seen from the above description, in this embodiment, the management service producer can decide whether to create an intent management object instance based on the value of the first attribute. Therefore, the solution using this embodiment can create intent management object instances more specifically based on the first attribute, thereby saving network resources compared to existing methods.
[0281] Based on the above embodiments, the method may further include:
[0282] Store the information of the intent MOI. The information of the intent MOI includes the creation time, the person who proposed the intent, etc.
[0283] Specifically, the management service producer can store the intent MOI information itself to update the intent database; the management service producer can also send a storage request to the first device, the storage request carrying the intent MOI information, so that the first device stores the intent MOI information.
[0284] Based on the above embodiments, the management service producer can also determine the service or network management policy of the intent to be created according to the second value, thereby providing a guarantee for the realization of the intent to be created.
[0285] Depending on the meaning of the second value, management service producers can define service or network management strategies in different ways to determine the intent to create the service:
[0286] (1) If the second value represents the same thing, the existing policy shall be used as the service or network management policy. An existing intent here refers to an intent that satisfies the above-mentioned "same" relationship with the intent to be created.
[0287] (2) In the case where the second value represents inheritance, the sub-policy of the existing policy is used as the service or network management policy. An existing intent here refers to an intent that satisfies the aforementioned "inheritance" relationship with the intent to be created. The intent to be created is a sub-intent of an existing intent.
[0288] (3) In cases where the second value indicates a conflict, an existing policy or a sub-policy of an existing policy is used as the service or network management policy, or the existing policy is adjusted to obtain the service or network management policy, or the service or network management policy is generated. In this case, although the intent to be created is in conflict with an existing intent, it may still have relationships such as sameness, relevance, irrelevance, or inheritance with other existing intents. Therefore, for this situation, the service or network management policy of the intent to be created can be determined by referring to the processing methods for relationships such as sameness, relevance, irrelevance, and inheritance.
[0289] In this scenario, priorities can be set for intents to be created, which can then be used to determine the priority of obtaining services or network management policies and the priority of policy execution. Intents with higher priority will be satisfied first. Priority can be configured for intents based on factors such as user level, the area covered by the intent, the difficulty of implementing the intent, and the magnitude of network modifications.
[0290] (4) When the second value indicates a relevant condition, the existing policy is adjusted to obtain the service or network management policy. Adjusting the existing policy means modifying it to suit the needs of the intent to be created.
[0291] (5) If the second value is irrelevant, generate the service or network management policy. That is, in this case, a new service or network management policy should be generated.
[0292] By utilizing existing intent-based service or network management policies as described above, the efficiency of intent-based policy configuration can be improved.
[0293] To facilitate subsequent processing, information about the service or network management policy can also be stored. Similarly, the management service provider can store the service or network management policy information itself, or request the first device to store the information. If requesting storage from the first device, the management service provider can send a storage request to the first device, the storage request carrying the service or network management policy information, to cause the first device to store the service or network management policy information.
[0294] In this embodiment, an intent database is used to store an intent knowledge graph, including information on existing intents, service or network management policies, and relationships between existing intents. The information on existing intents includes, but is not limited to: the initiator of the intent, the initiation time, scope, goal, requirement, attributes (whether malicious, whether feasible), relationship with other intents (conflict, sub-intents), the executor of the intent, the execution strategy, and the execution result. In the following embodiments, the intent database is described as independent of the management service producer. Of course, the intent database can also be set up within the management service producer.
[0295] See Figure 3 , Figure 3 This is a flowchart of a request processing method provided in an embodiment of this application. In this embodiment, the intent creation request sent by the management service consumer includes first information, which includes the following attributes: userLabel (intent label) (fourth attribute), intentExpectation (intent expectation) (third attribute), intentFulfilStatus (intent completion status), and judgeInfo (judgment information) (first attribute). Figure 3 As shown, it includes the following steps:
[0296] Step 301: The management service consumer sends an intent creation request to the management service producer, including initial information. Additionally, it may include `objectClass`, which represents the name of the intent IOC (Information Object Class) to be created.
[0297] For example, a management service consumer sends an intent creation request to a management service producer using an objectClass and a list of [Attribute, value] (as shown in Table 1).
[0298] Table 1
[0299]
[0300] Step 302: The management service producer decides that the first attribute in the first information is the first value.
[0301] Specifically, the management service provider determines the first value based on network capabilities and primary information. For example, if the intent will negatively impact the operator's network, such as requesting the shutdown of a device or the deletion of critical data, the intent can be considered malicious. This screening reduces the risk of intent execution and minimizes unnecessary policy generation processes.
[0302] Step 303: If the first value is non-malicious, the management service producer creates an intent MOI. Otherwise, an intent MOI may not be created.
[0303] Furthermore, the allowed values for `judgeInfo` in Table 1 can be either feasible or infeasible. Therefore, in step 303, if the first value is feasible, the management service producer creates an intent MOI. Otherwise, an intent MOI may not be created.
[0304] Step 304: The management service producer sends a response to the management service consumer, carrying the status (such as OperationSucceeded or OperationFailed). If the operation is successfully created, the objectInstance attribute of the intent MOI can also be carried.
[0305] Step 305: The management service producer may also request the intent database to store information about the intent MOI, including but not limited to the creation time and the proposer of the intent.
[0306] Step 306: The intent database stores the intent MOI information and sends a response message to the management service producer.
[0307] In addition to the above, it may also include:
[0308] Step 307: The management service producer generates services or network management policies for the intent to be created, and can also execute the defined policies to achieve the intent.
[0309] Step 308: The management service producer requests the intent database to store information about the service or network management policy, including but not limited to the policy execution completion time, execution result (whether the intent has been realized, and the degree of realization), and the executor of the intent realization.
[0310] Step 309: The intent database sends a response message to the management service producer.
[0311] See Figure 4 , Figure 4 This is a flowchart of a request processing method provided in an embodiment of this application. In this embodiment, the intent creation request sent by the management service consumer includes first information, which includes the following attributes: userLabel (intent label), intentExpectation (intent expectation), intentFulfilStatus (intent completion status), and relationInfo (relationship information) (second attribute). Figure 4 As shown, it includes the following steps:
[0312] Step 401: The management service consumer sends an intent creation request to the management service producer, including initial information. Additionally, it may include `objectClass`, which represents the name of the intent IOC (Information Object Class) to be created.
[0313] For example, a management service consumer sends an intent creation request to a management service producer using an objectClass and a list of [Attribute, value] (as shown in Table 2).
[0314] Table 2
[0315]
[0316] In the table above, the type of relationInfo (relation information) can be in the following forms:
[0317] The first type: string:
[0318] Allowed values:
[0319] Intention A is the same as Intention B
[0320] Intention A and Intention B are inherited
[0321] Intention A conflicts with Intention B
[0322] Intention A is related to Intention B
[0323] Intent A is not related to any intent in the intent database.
[0324] The second type: Dictionary
[0325] Allowed values: {"Relationship Name": Same, "Intent Information": Intent B, "Policy": Policy}
[0326] {"Relationship Name": Inheritance, "Intent Information": Intent B, "Policy": Policy}
[0327] {"Relationship Name": Conflict, "Intent Information": Intent B, "Policy": Policy}
[0328] {"Relationship Name": Relevant, "Intent Information": Intent B, "Policy": Policy}
[0329] {"Relationship Name": irrelevant, "Intent Information": empty, "Policy": empty}.
[0330] Among them, intent information refers to intents (such as intent B) that have a certain relationship with the intent to be created in the intent database, including userLabel, intentExpectation, intentFulfilStatus, judgeInfo, and relationInfo attributes.
[0331] The third type: class
[0332] Allowed values:
[0333] Class Relationship {
[0334] relation name
[0335] Intent information
[0336] Strategy}.
[0337] For example, an example object:
[0338] Conflict Relationships {
[0339] Relationship name = conflict
[0340] Intent information = Intent B
[0341] Strategy = Strategy}.
[0342] Among them, intent information refers to intents (such as intent B) that have a certain relationship with the intent to be created in the intent database, including userLabel, intentExpectation, intentFulfilStatus, judgeInfo, and relationInfo attributes.
[0343] Step 402: The management service producer sends a query request to the intent database.
[0344] Step 403: The intent database sends the query results, including the second value of the second attribute, to the management service producer.
[0345] Step 404: The management service producer determines whether to create an intent MOI based on the second value.
[0346] If the second value does not represent the same value, an intent MOI is created. If the second value represents the same value, an existing intent MOI can be used.
[0347] Step 405: If an intent MOI is created, the management service producer may also request the intent database to store information about the intent MOI, including but not limited to the creation time and the proposer of the intent.
[0348] Step 406: The intent database stores the intent MOI information and sends a response message to the management service producer.
[0349] Step 407: The management service producer sends a response to the management service consumer, carrying the status (such as Operation Successed or Operation Failed).
[0350] Based on the above embodiments, the following steps may also be included:
[0351] Step 408: The management service producer determines the service or network management policy for the intent to be created based on the second value, and can also execute the determined policy to realize the intent.
[0352] Step 409: The management service producer requests the intent database to store information about the service or network management policy, including but not limited to the policy execution completion time, execution result (whether the intent has been achieved, and the degree of achievement), and the executor of the intent.
[0353] Step 410: The intent database sends a response message to the management service producer.
[0354] See Figure 5 , Figure 5 This is a flowchart of a request processing method provided in an embodiment of this application. In this embodiment, the intent creation request sent by the management service consumer includes first information, which includes the following attributes: userLabel (intent label) (fourth attribute), intentExpectation (intent expectation) (third attribute), intentFulfilStatus (intent completion status), judgeInfo (judgment information) (first attribute), and relationInfo (relationship information) (second attribute). Figure 5 As shown, it includes the following steps:
[0355] Step 501: The management service consumer sends an intent creation request to the management service producer, including initial information. Additionally, it may include `objectClass`, which represents the name of the intent IOC (Information Object Class) to be created.
[0356] For example, a management service consumer sends an intent creation request to a management service producer using an objectClass and a list of [Attribute, value] (as shown in Table 3). UserLabel and intentExpectation have corresponding values, while the others are the default value: none.
[0357] Table 3
[0358]
[0359] In the table above, the type of relationInfo (relation information) can be in the following forms:
[0360] The first type: string:
[0361] Allowed values:
[0362] Intention A is the same as Intention B
[0363] Intention A and Intention B are inherited
[0364] Intention A conflicts with Intention B
[0365] Intention A is related to Intention B
[0366] Intent A is not related to any intent in the intent database.
[0367] The second type: Dictionary
[0368] Allowed values:
[0369] {"Relationship Name": Same, "Intent Information": Intent B, "Policy": Policy}
[0370] {"Relationship Name": Inheritance, "Intent Information": Intent B, "Policy": Policy}
[0371] {"Relationship Name": Conflict, "Intent Information": Intent B, "Policy": Policy}
[0372] {"Relationship Name": Relevant, "Intent Information": Intent B, "Policy": Policy}
[0373] {"Relationship Name": irrelevant, "Intent Information": empty, "Policy": empty}.
[0374] Among them, intent information refers to intents (such as intent B) that have a certain relationship with the intent to be created in the intent database, including userLabel, intentExpectation, intentFulfilStatus, judgeInfo, and relationInfo attributes.
[0375] The third type: class
[0376] Allowed values:
[0377] Class Relationship {
[0378] relation name
[0379] Intent information
[0380] Strategy}.
[0381] For example, an example object:
[0382] Conflict Relationships {
[0383] Relationship name = conflict
[0384] Intent information = Intent B
[0385] Strategy = Strategy}.
[0386] Among them, intent information refers to intents (such as intent B) that have a certain relationship with the intent to be created in the intent database, including userLabel, intentExpectation, intentFulfilStatus, judgeInfo, and relationInfo attributes.
[0387] Step 502: The management service producer determines the first attribute in the first information as the first value.
[0388] Specifically, the management service provider determines the first value based on network capabilities and primary information. For example, if the intent will negatively impact the operator's network, such as requesting the shutdown of a device or the deletion of critical data, the intent can be considered malicious. This screening reduces the risk of intent execution and minimizes unnecessary policy generation processes.
[0389] Step 503: When the first value is non-malicious, the management service producer sends a query request to the intent database.
[0390] Furthermore, the allowed values for judgeInfo in Table 3 can be either feasible or infeasible. Therefore, in step 503, when the first value is feasible, the management service producer sends a query request to the intent database.
[0391] Step 504: The intent database sends the query results, including the second value of the second attribute, to the management service producer.
[0392] The second value indicates a conflict.
[0393] Step 505: Manage service producers create an Intent of Interest (MOI).
[0394] Step 506: The management service producer may also request the intent database to store information about the intent MOI, including but not limited to the creation time and the proposer of the intent.
[0395] Step 507: The intent database stores the intent MOI information and sends a response message to the management service producer.
[0396] Step 508: The management service producer sends a response to the management service consumer, carrying the status (such as OperationSucceeded or OperationFailed). If the operation is successfully created, the objectInstance attribute of the intent MOI can also be carried.
[0397] Based on the above embodiments, the following steps may also be included:
[0398] Step 509: The management service producer determines the service or network management policy of the intent to be created based on the second value, and can also execute the determined policy to realize the intent.
[0399] Step 510: The management service producer requests the intent database to store information about the service or network management policy, including but not limited to the policy execution completion time, execution result (whether the intent has been realized, and the degree of realization), and the executor of the intent realization.
[0400] Step 511: The intent database sends a response message to the management service producer.
[0401] See Figure 6 , Figure 6 This is a flowchart of a request processing method provided in an embodiment of this application. In this embodiment, the intent creation request sent by the management service consumer includes first information, which includes the following attributes: userLabel (intent label) (fourth attribute), intentExpectation (intent expectation) (third attribute), intentFulfilStatus (intent completion status), judgeInfo (judgment information) (first attribute), and relationInfo (relationship information) (second attribute). Figure 6 As shown, it includes the following steps:
[0402] Step 601: The management service consumer sends an intent creation request to the management service producer, including initial information. Additionally, it may include `objectClass`, which represents the name of the intent IOC (Information Object Class) to be created.
[0403] For example, a management service consumer sends an intent creation request to a management service producer using an objectClass and a list of [Attribute, value] (as shown in Table 3). UserLabel and intentExpectation have corresponding values, while the others are the default value: none.
[0404] Step 602: The management service producer sends a query request to the intent database.
[0405] Step 603: The intent database sends the query results, including the second value of the second attribute, to the management service producer.
[0406] Step 604: When the second value does not represent the same value, the management service producer determines that the first attribute in the first information is the first value. If they are the same, an existing intention (MOI) can be used.
[0407] Step 605: When the first value is non-malicious, the management service producer creates an intent MOI.
[0408] Furthermore, the allowed values for judgeInfo in Table 3 can be either feasible or infeasible. Therefore, in step 605, when the first value is feasible, the management service producer creates an intent MOI.
[0409] Step 606: The management service producer may also request the intent database to store information about the intent MOI, including but not limited to the creation time and the proposer of the intent.
[0410] Step 607: The intent database sends a response message to the management service producer.
[0411] Step 608: The management service producer sends a response to the management service consumer, carrying the status (such as OperationSucceeded or OperationFailed). If the operation is successfully created, the objectInstance attribute of the intent MOI can also be carried.
[0412] Based on the above embodiments, the following steps may also be included:
[0413] Step 609: The management service producer determines the service or network management policy of the intent to be created based on the second value, and can also execute the determined policy to realize the intent.
[0414] Step 610: The management service producer requests the intent database to store information about the service or network management policy, including but not limited to the policy execution completion time, execution result (whether the intent has been achieved, and the degree of achievement), and the executor of the intent.
[0415] Step 611: The intent database sends a response message to the management service producer.
[0416] In the above embodiments, the intent database can determine the second value in the following manner:
[0417] The second value indicates that the intent name, coverage, intent requirements, and intent goal of the intent to be created are the same as one or more of the same as those of an existing intent. For example, if the coverage, intent requirements, and intent goal of the intent to be created are the same as those of an existing intent, then the second value indicates that they are the same.
[0418] The second value represents inheritance when one or more of the following conditions are met: the scope of the intent to be created is within the scope of the existing intent; the intent goal of the intent to be created is smaller than the intent goal of the existing intent; and the intent requirement of the intent to be created is smaller than the intent requirement of the existing intent.
[0419] The second value indicates a conflict when the intent to be created and the existing intent need to achieve conflicting goals at the same time and in the same coverage area, and the network cannot simultaneously satisfy both the intent to be created and the existing intent. For example, when the goals of the intent to be created and the existing intent at the same time and in the same coverage area are increasing bandwidth and decreasing bandwidth, respectively, the second value indicates a conflict.
[0420] The second value indicates relevance when one or more of the following conditions are met: the gap between the coverage of the intent to be created and the coverage of the existing intent meets a first requirement; the gap between the intent requirement of the intent to be created and the intent requirement of the existing intent meets a second requirement; and the gap between the intent goal of the intent to be created and the intent goal of the existing intent meets a third requirement. The first, second, and third requirements can be set as needed.
[0421] Apart from the above situations, it can be assumed that the intent to be created is unrelated to the existing intent.
[0422] If the second value does not indicate irrelevance, then the intent database can also send the corresponding service or network management policy to the management service producer at the same time.
[0423] In the above embodiments, depending on the different meanings represented by the second value, the management service producer can define the service or network management strategy for the purpose of creation in different ways:
[0424] (1) If the second value is the same, the existing policy shall be used as the service or network management policy.
[0425] (2) In the case where the second value represents inheritance, the sub-policy of the existing policy shall be used as the service or network management policy.
[0426] (3) In the case of a conflict represented by the second value, the existing policy or a sub-policy of the existing policy shall be used as the service or network management policy, or the existing policy shall be adjusted to obtain the service or network management policy, or the service or network management policy shall be generated.
[0427] In this scenario, priorities can be set for intents to be created, which can then be used to determine the priority of obtaining services or network management policies and the priority of policy execution. Intents with higher priority will be satisfied first. Priority can be configured for intents based on factors such as user level, the area covered by the intent, the difficulty of implementing the intent, and the magnitude of network modifications.
[0428] (4) When the second value indicates a correlation, the existing strategy is adjusted to obtain the service or network management strategy.
[0429] (5) If the second value is irrelevant, generate the service or network management policy. That is, in this case, a new service or network management policy should be generated.
[0430] As can be seen from the above description, in the embodiments of this application, intent information can be stored to form an intent knowledge base, which plays an important role in auditing and the execution of future new intents. Furthermore, in the above embodiments, the execution method based on the intent knowledge base can improve the efficiency of intent policy configuration. Additionally, by making a preliminary judgment on the intent to be created, unnecessary policy configuration calculations can be reduced, and risks can be mitigated.
[0431] This application also provides a request processing apparatus for managing service producers. See also... Figure 7 , Figure 7 This is a structural diagram of the request processing apparatus provided in an embodiment of this application. For example... Figure 7 As shown, the request processing device 700 includes:
[0432] The first receiving module 701 is used to receive an intent creation request sent by a management service consumer, the intent creation request including first information;
[0433] The first decision module 702 is used to determine that the first attribute in the first information is a first value;
[0434] The first creation module 703 is used to create an MOI according to the intention creation request when the first value meets the preset conditions.
[0435] Optionally, the first value includes one of the following:
[0436] Malice;
[0437] Not malicious;
[0438] Default value or default value.
[0439] Optionally, the preset condition is: the first value is not malicious.
[0440] Optionally, the device may further include:
[0441] The second decision module is used to determine that the second attribute in the first information is the second value.
[0442] Optionally, the second decision module includes:
[0443] The first sending submodule is used to send a query request to the first device;
[0444] The first receiving submodule is used to receive the second value fed back by the first device.
[0445] Optionally, the second value is used to represent one of the following relationships:
[0446] Same, inherited, conflicting, related, and unrelated.
[0447] Optionally, the first decision module is used to determine the first attribute in the first information as the first value when the second value does not represent the same value.
[0448] Optionally, the device further includes:
[0449] The first storage module is used to store the information of the intent MOI.
[0450] Optionally, the first storage module is configured to send a storage request to the first device, the storage request carrying information of the intent MOI, for the first device to store the information of the intent MOI.
[0451] Optionally, the device further includes:
[0452] The second creation module is used to determine the service or network management policy to be created based on the second value.
[0453] Optionally, the second creation module is used for:
[0454] If the second value represents the same thing, the existing policy will be used as the service or network management policy.
[0455] In the case where the second value represents inheritance, the sub-policy of the existing policy will be used as the service or network management policy;
[0456] In the event of a conflict indicated by the second value, the existing policy or a sub-policy of the existing policy shall be used as the service or network management policy, or the existing policy shall be adjusted to obtain the service or network management policy, or the service or network management policy shall be generated.
[0457] When the second value indicates a relevant condition, the existing strategy is adjusted to obtain the service or network management strategy.
[0458] If the second value is irrelevant, the service or network management policy is generated.
[0459] Optionally, the device further includes:
[0460] The settings module is used to set the priority of the intent to be created.
[0461] Optionally, the first information includes a third attribute and a fourth attribute, wherein the third attribute includes coverage, intent requirements and intent goals, and the fourth attribute includes the intent name of the intent to be created;
[0462] The second value indicates that the intent name, coverage, intent requirements, and intent target of the intent to be created are the same as one or more of the name, coverage, intent requirements, and intent targets of an existing intent.
[0463] The second value represents inheritance when one or more of the following conditions are met: the scope of the intent to be created is within the scope of the existing intent, the intent goal of the intent to be created is smaller than the intent goal of the existing intent, and the intent requirement of the intent to be created is smaller than the intent requirement of the existing intent.
[0464] When the intention to be created and the existing intention need to achieve contradictory goals at the same time and in the same coverage area, and the network side cannot satisfy the intention to be created and the existing intention at the same time, the second value indicates a conflict;
[0465] The second value is considered relevant when one or more of the following conditions are met: the gap between the coverage of the intent to be created and the coverage of the existing intent meets the first requirement; the gap between the intent requirements of the intent to be created and the intent requirements of the existing intent meets the second requirement; and the gap between the intent target of the intent to be created and the intent target of the existing intent meets the third requirement.
[0466] Optionally, the device may further include:
[0467] The second storage module is used to store information about the service or network management policies.
[0468] Optionally, the second storage module is configured to send a storage request to the first device, the storage request carrying information about the service or network management policy, so that the first device stores the information about the service or network management policy.
[0469] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0470] This application also provides a request processing apparatus for managing service producers. See also... Figure 8 , Figure 8 This is a structural diagram of the request processing apparatus provided in an embodiment of this application. For example... Figure 8 As shown, the request processing device 800 includes:
[0471] The first receiving module 801 is used to receive an intent creation request sent by a management service consumer, the intent creation request including first information;
[0472] The first decision module 802 is used to determine that the second attribute in the first information is the second value;
[0473] The first creation module 803 is used to create an MOI according to the intention creation request when the second value meets the preset conditions.
[0474] Optionally, the first decision module includes:
[0475] The first sending submodule is used to send a query request to the first device;
[0476] The first receiving submodule is used to receive the second value fed back by the first device.
[0477] Optionally, the second value represents one of the following relationships:
[0478] Same, inherited, conflicting, related, and unrelated.
[0479] Optionally, the preset condition is: the second value does not represent the same.
[0480] Optionally, the device further includes:
[0481] The first storage module is used to store the information of the intent MOI.
[0482] Optionally, the first storage module is configured to send a storage request to the first device, the storage request carrying information of the intent MOI, for the first device to store the information of the intent MOI.
[0483] Optionally, the device further includes:
[0484] The second creation module is used to determine the service or network management policy to be created based on the second value.
[0485] Optionally, the second creation module is used for:
[0486] If the second value represents the same thing, the existing policy will be used as the service or network management policy.
[0487] In the case where the second value represents inheritance, the sub-policy of the existing policy will be used as the service or network management policy;
[0488] In the event of a conflict indicated by the second value, the existing policy or a sub-policy of the existing policy shall be used as the service or network management policy, or the existing policy shall be adjusted to obtain the service or network management policy, or the service or network management policy shall be generated.
[0489] When the second value indicates a relevant condition, the existing strategy is adjusted to obtain the service or network management strategy.
[0490] If the second value is irrelevant, the service or network management policy is generated.
[0491] Optionally, the device further includes:
[0492] The settings module is used to set the priority of the intent to be created.
[0493] Optionally, the first information includes a third attribute and a fourth attribute, wherein the third attribute includes coverage, intent requirements and intent goals, and the fourth attribute includes the intent name of the intent to be created;
[0494] The second value indicates that the intent name, coverage, intent requirements, and intent target of the intent to be created are the same as one or more of the name, coverage, intent requirements, and intent targets of an existing intent.
[0495] The second value represents inheritance when one or more of the following conditions are met: the scope of the intent to be created is within the scope of the existing intent, the intent goal of the intent to be created is smaller than the intent goal of the existing intent, and the intent requirement of the intent to be created is smaller than the intent requirement of the existing intent.
[0496] When the intention to be created and the existing intention need to achieve contradictory goals at the same time and in the same coverage area, and the network side cannot satisfy the intention to be created and the existing intention at the same time, the second value indicates a conflict;
[0497] The second value is considered relevant when one or more of the following conditions are met: the gap between the coverage of the intent to be created and the coverage of the existing intent meets the first requirement; the gap between the intent requirements of the intent to be created and the intent requirements of the existing intent meets the second requirement; and the gap between the intent target of the intent to be created and the intent target of the existing intent meets the third requirement.
[0498] Optionally, the device further includes:
[0499] The second storage module is used to store information about the service or network management policies.
[0500] Optionally, the second storage module is further configured to send a storage request to the first device, the storage request carrying information about the service or network management policy, so that the first device stores the information about the service or network management policy.
[0501] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0502] It should be noted that the division of units in the embodiments of this application is illustrative and only represents one logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated units described above can be implemented in hardware or as software functional units.
[0503] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part 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.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0504] This application also provides a request processing apparatus for managing service producers. See also... Figure 9 ,Figure 9 This is a structural diagram of the request processing apparatus provided in an embodiment of this application. For example... Figure 9 As shown, the request processing device 900 includes a processor 901 and a transceiver 902.
[0505] The transceiver 902 is used to receive an intent creation request sent by a management service consumer, the intent creation request including first information;
[0506] The processor 901 is configured to determine that the first attribute in the first information is a first value; and if the first value meets a preset condition, to create an MOI according to the intent creation request.
[0507] Optionally, the first value includes one of the following:
[0508] Malice;
[0509] Not malicious;
[0510] Default value or default value.
[0511] Optionally, the preset condition is: the first value is not malicious.
[0512] Optionally, the processor is further configured to determine that the second attribute in the first information is a second value.
[0513] Optionally, the processor is further configured to send a query request to the first device and receive the second value fed back by the first device.
[0514] Optionally, the second value is used to represent one of the following relationships:
[0515] Same, inherited, conflicting, related, and unrelated.
[0516] Optionally, the processor is further configured to determine that the first attribute in the first information is the first value when the second value does not represent the same value.
[0517] Optionally, the processor is also used to store information about the intent MOI.
[0518] Optionally, the processor is further configured to send a storage request to the first device, the storage request carrying information of the intent MOI, for causing the first device to store the information of the intent MOI.
[0519] Optionally, the processor is further configured to determine the service or network management policy of the intent to be created based on the second value.
[0520] Optionally, the processor is further configured to:
[0521] If the second value represents the same thing, the existing policy will be used as the service or network management policy.
[0522] In the case where the second value represents inheritance, the sub-policy of the existing policy will be used as the service or network management policy;
[0523] In the event of a conflict indicated by the second value, the existing policy or a sub-policy of the existing policy shall be used as the service or network management policy, or the existing policy shall be adjusted to obtain the service or network management policy, or the service or network management policy shall be generated.
[0524] When the second value indicates a relevant condition, the existing strategy is adjusted to obtain the service or network management strategy.
[0525] If the second value is irrelevant, the service or network management policy is generated.
[0526] Optionally, the processor is also configured to set the priority of the intent to be created.
[0527] Optionally, the first information includes a third attribute and a fourth attribute, wherein the third attribute includes coverage, intent requirements and intent goals, and the fourth attribute includes the intent name of the intent to be created;
[0528] The second value indicates that the intent name, coverage, intent requirements, and intent target of the intent to be created are the same as one or more of the name, coverage, intent requirements, and intent targets of an existing intent.
[0529] The second value represents inheritance when one or more of the following conditions are met: the scope of the intent to be created is within the scope of the existing intent, the intent goal of the intent to be created is smaller than the intent goal of the existing intent, and the intent requirement of the intent to be created is smaller than the intent requirement of the existing intent.
[0530] When the intention to be created and the existing intention need to achieve contradictory goals at the same time and in the same coverage area, and the network side cannot satisfy the intention to be created and the existing intention at the same time, the second value indicates a conflict;
[0531] The second value is considered relevant when one or more of the following conditions are met: the gap between the coverage of the intent to be created and the coverage of the existing intent meets the first requirement; the gap between the intent requirements of the intent to be created and the intent requirements of the existing intent meets the second requirement; and the gap between the intent target of the intent to be created and the intent target of the existing intent meets the third requirement.
[0532] Optionally, the processor is also used to store information about the service or network management policy.
[0533] Optionally, the processor is further configured to send a storage request to the first device, the storage request carrying information about the service or network management policy, for causing the first device to store the information about the service or network management policy.
[0534] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0535] This application also provides a request processing apparatus for managing service producers. See also... Figure 10 , Figure 10 This is a structural diagram of the request processing apparatus provided in an embodiment of this application. For example... Figure 10 As shown, the request processing device 1000 includes a processor 1001 and a transceiver 1002.
[0536] The transceiver 1002 is used to receive an intent creation request sent by a management service consumer, the intent creation request including first information;
[0537] The processor 1001 is configured to determine that the second attribute in the first information is a second value; and if the second value meets a preset condition, to create an MOI according to the intent creation request.
[0538] Optionally, the processor is further configured to:
[0539] Send a query request to the first device;
[0540] Receive the second value fed back by the first device.
[0541] Optionally, the second value represents one of the following relationships:
[0542] Same, inherited, conflicting, related, and unrelated.
[0543] Optionally, the preset condition is: the second value does not represent the same.
[0544] Optionally, the processor is also used to store information about the intent MOI.
[0545] Optionally, the processor is further configured to send a storage request to the first device, the storage request carrying information of the intent MOI, for causing the first device to store the information of the intent MOI.
[0546] Optionally, the processor is further configured to determine the service or network management policy of the intent to be created based on the second value.
[0547] Optionally, the processor is further configured to:
[0548] If the second value represents the same thing, the existing policy will be used as the service or network management policy.
[0549] In the case where the second value represents inheritance, the sub-policy of the existing policy will be used as the service or network management policy;
[0550] In the event of a conflict indicated by the second value, the existing policy or a sub-policy of the existing policy shall be used as the service or network management policy, or the existing policy shall be adjusted to obtain the service or network management policy, or the service or network management policy shall be generated.
[0551] When the second value indicates a relevant condition, the existing strategy is adjusted to obtain the service or network management strategy.
[0552] If the second value is irrelevant, the service or network management policy is generated.
[0553] Optionally, the processor is also configured to set the priority of the intent to be created.
[0554] Optionally, the first information includes a third attribute and a fourth attribute, wherein the third attribute includes coverage, intent requirements and intent goals, and the fourth attribute includes the intent name of the intent to be created;
[0555] The second value indicates that the intent name, coverage, intent requirements, and intent target of the intent to be created are the same as one or more of the name, coverage, intent requirements, and intent targets of an existing intent.
[0556] The second value represents inheritance when one or more of the following conditions are met: the scope of the intent to be created is within the scope of the existing intent, the intent goal of the intent to be created is smaller than the intent goal of the existing intent, and the intent requirement of the intent to be created is smaller than the intent requirement of the existing intent.
[0557] When the intention to be created and the existing intention need to achieve contradictory goals at the same time and in the same coverage area, and the network side cannot satisfy the intention to be created and the existing intention at the same time, the second value indicates a conflict;
[0558] The second value is considered relevant when one or more of the following conditions are met: the gap between the coverage of the intent to be created and the coverage of the existing intent meets the first requirement; the gap between the intent requirements of the intent to be created and the intent requirements of the existing intent meets the second requirement; and the gap between the intent target of the intent to be created and the intent target of the existing intent meets the third requirement.
[0559] Optionally, the processor is also used to store information about the service or network management policy.
[0560] Optionally, the processor is further configured to send a storage request to the first device, the storage request carrying information about the service or network management policy, for causing the first device to store the information about the service or network management policy.
[0561] The apparatus provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0562] This application also provides a readable storage medium storing a program. When executed by a processor, this program implements the various processes of the above-described request processing method embodiments and achieves the same technical effects. To avoid repetition, it will not be described again here. The readable storage medium can be any available medium or data storage device that the processor can access, including but not limited to magnetic storage (e.g., floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND flash), solid-state drives (SSDs)).
[0563] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0564] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0565] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A request processing method, applied to managing service producers, characterized in that, include: Receive an intent creation request sent by a management service consumer, the intent creation request including first information; Based on the network's capabilities and the first information, a first attribute in the first information is determined to be a first value, wherein the first attribute is judgment information used to indicate the judgment result on whether the intention is malicious or not, or the first attribute is used to indicate the judgment result on whether the intention is feasible. If the first value meets the preset conditions, an intent management object instance MOI is created according to the intent creation request; The method further includes: The second attribute in the first information is determined to be the second value, which is used to represent one of the following relationships: same, inheritance, conflict, related, and unrelated. The determination of the second attribute in the first information as the second value includes: Send a query request to the first device; Receive the second value fed back by the first device; The step of determining the first attribute in the first information as the first value includes: When the second value does not represent the same value, the first attribute in the first information is determined to be the first value. Among them, "same" means that the intent to be created is the same as one or more pieces of information of an existing intent; "inherited" means that the intent to be created is a sub-intent of an existing intent; "conflicting" means that the intent to be created and the existing intent need to achieve contradictory goals at the same time and in the same coverage area, and the network cannot satisfy them at the same time; "relevant" means that the gap between one or more pieces of information of the intent to be created and the existing intent meets the requirements; and "irrelevant" means that the information of the intent to be created and the existing intent are completely different.
2. The method according to claim 1, characterized in that, The first value includes one of the following: Malice; Not malicious; Default value or default value.
3. The method according to claim 1 or 2, characterized in that, The preset condition is that the first value is not malicious.
4. The method according to claim 1, characterized in that, After creating an Intent Management Object instance (MOI) based on the intent creation request, the method further includes: Store the information of the intent MOI.
5. The method according to claim 4, characterized in that, The information storing the intent MOI includes: A storage request is sent to a first device, the storage request carrying information of the intent MOI, for the purpose of causing the first device to store the information of the intent MOI.
6. The method according to claim 1, characterized in that, The method further includes: The second value determines the service or network management policy for which the intent to be created is to be determined.
7. The method according to claim 6, characterized in that, The step of determining the service or network management policy to be created based on the second value includes: If the second value represents the same thing, the existing policy will be used as the service or network management policy. In the case where the second value represents inheritance, the sub-policy of the existing policy will be used as the service or network management policy; In the event of a conflict indicated by the second value, the existing policy or a sub-policy of the existing policy shall be used as the service or network management policy, or the existing policy shall be adjusted to obtain the service or network management policy, or the service or network management policy shall be generated. When the second value indicates a relevant condition, the existing strategy is adjusted to obtain the service or network management strategy. If the second value is irrelevant, the service or network management policy is generated.
8. The method according to claim 7, characterized in that, In the event of a conflict with the second value, the method further includes: Set the priority of the intent to be created.
9. The method according to claim 1, characterized in that, The first information includes a third attribute and a fourth attribute. The third attribute includes coverage, intent requirements, and intent goals. The fourth attribute includes the intent name of the intent to be created. The second value indicates that the intent name, coverage, intent requirements, and intent target of the intent to be created are the same as one or more of the name, coverage, intent requirements, and intent targets of an existing intent. The second value represents inheritance when one or more of the following conditions are met: the scope of the intent to be created is within the scope of the existing intent, the intent goal of the intent to be created is smaller than the intent goal of the existing intent, and the intent requirement of the intent to be created is smaller than the intent requirement of the existing intent. When the intention to be created and the existing intention need to achieve contradictory goals at the same time and in the same coverage area, and the network side cannot satisfy the intention to be created and the existing intention at the same time, the second value indicates a conflict; The second value is considered relevant when one or more of the following conditions are met: the gap between the coverage of the intent to be created and the coverage of the existing intent meets the first requirement; the gap between the intent requirements of the intent to be created and the intent requirements of the existing intent meets the second requirement; and the gap between the intent target of the intent to be created and the intent target of the existing intent meets the third requirement.
10. The method according to claim 6, characterized in that, The method further includes: Store information about the service or network management policies.
11. The method according to claim 10, characterized in that, The information storing the service or network management policy includes: A storage request is sent to a first device, the storage request carrying information about the service or network management policy, so that the first device stores the information about the service or network management policy.
12. A request processing method, applied to managing service producers, characterized in that, include: Receive an intent creation request sent by a management service consumer, the intent creation request including first information; The second attribute in the first information is determined to be the second value according to the intent database. The second attribute is relational information, which is used to represent the relationship between the intent to be created and the existing intents. The intent database is used to store information, services or network management policies of existing intents, and the relationships between existing intents. The determination of the second attribute in the first information as the second value includes: Send a query request to the first device; Receive the second value fed back by the first device; If the second value meets the preset conditions, an intent management object instance MOI is created according to the intent creation request; The second value represents one of the following relationships: identical, inherited, conflicting, related, and unrelated; Among them, "same" means that the intent to be created is the same as one or more pieces of information of an existing intent; "inherited" means that the intent to be created is a sub-intent of an existing intent; "conflicting" means that the intent to be created and the existing intent need to achieve contradictory goals at the same time and in the same coverage area, and the network cannot satisfy them at the same time; "relevant" means that the gap between one or more pieces of information of the intent to be created and the existing intent meets the requirements; and "irrelevant" means that the information of the intent to be created and the existing intent are completely different.
13. The method according to claim 12, characterized in that, The preset condition is: the second value does not represent the same value.
14. The method according to claim 12, characterized in that, After creating the MOI according to the intent creation request, the method further includes: Store the information of the intent MOI.
15. The method according to claim 14, characterized in that, The information storing the intent MOI includes: A storage request is sent to a first device, the storage request carrying information of the intent MOI, for the purpose of causing the first device to store the information of the intent MOI.
16. The method according to claim 12, characterized in that, The method further includes: The second value determines the service or network management policy for which the intent to be created is to be determined.
17. The method according to claim 16, characterized in that, The step of determining the service or network management policy to be created based on the second value includes: If the second value represents the same thing, the existing policy will be used as the service or network management policy. In the case where the second value represents inheritance, the sub-policy of the existing policy will be used as the service or network management policy; In the event of a conflict indicated by the second value, the existing policy or a sub-policy of the existing policy shall be used as the service or network management policy, or the existing policy shall be adjusted to obtain the service or network management policy, or the service or network management policy shall be generated. When the second value indicates a relevant condition, the existing strategy is adjusted to obtain the service or network management strategy. If the second value is irrelevant, the service or network management policy is generated.
18. The method according to claim 16 or 17, characterized in that, In the event of a conflict with the second value, the method further includes: Set the priority of the intent to be created.
19. The method according to claim 12, characterized in that, The first information includes a third attribute and a fourth attribute. The third attribute includes coverage, intent requirements, and intent goals. The fourth attribute includes the intent name of the intent to be created. The second value indicates that the intent name, coverage, intent requirements, and intent target of the intent to be created are the same as one or more of the name, coverage, intent requirements, and intent targets of an existing intent. The second value represents inheritance when one or more of the following conditions are met: the scope of the intent to be created is within the scope of the existing intent, the intent goal of the intent to be created is smaller than the intent goal of the existing intent, and the intent requirement of the intent to be created is smaller than the intent requirement of the existing intent. When the intention to be created and the existing intention need to achieve contradictory goals at the same time and in the same coverage area, and the network side cannot satisfy the intention to be created and the existing intention at the same time, the second value indicates a conflict; The second value is considered relevant when one or more of the following conditions are met: the gap between the coverage of the intent to be created and the coverage of the existing intent meets the first requirement; the gap between the intent requirements of the intent to be created and the intent requirements of the existing intent meets the second requirement; and the gap between the intent target of the intent to be created and the intent target of the existing intent meets the third requirement.
20. The method according to claim 16, characterized in that, The method further includes: Store information about the service or network management policies.
21. The method according to claim 20, characterized in that, The information storing the service or network management policy includes: A storage request is sent to a first device, the storage request carrying information about the service or network management policy, so that the first device stores the information about the service or network management policy.
22. A request processing apparatus, applied to managing service producers, characterized in that, include: The first receiving module is used to receive an intent creation request sent by a management service consumer, wherein the intent creation request includes first information; The first decision module is used to determine, based on the network's capabilities and the first information, a first attribute in the first information as a first value, wherein the first attribute is judgment information used to indicate the judgment result of whether the intent is malicious or not, or the first attribute is used to indicate the judgment result of whether the intent is feasible. The first creation module is used to create an intent management object instance MOI according to the intent creation request when the first value meets the preset conditions; The device further includes: The second decision module is used to determine that the second attribute in the first information is a second value, and the second value is used to represent one of the following relationships: same, inheritance, conflict, related and unrelated. The second decision module is also used to send a query request to the first device; Receive the second value fed back by the first device; The first decision module is used to determine the first attribute in the first information as the first value when the second value does not represent the same value. Among them, "same" means that the intent to be created is the same as one or more pieces of information of an existing intent; "inherited" means that the intent to be created is a sub-intent of an existing intent; "conflicting" means that the intent to be created and the existing intent need to achieve contradictory goals at the same time and in the same coverage area, and the network cannot satisfy them at the same time; "relevant" means that the gap between one or more pieces of information of the intent to be created and the existing intent meets the requirements; and "irrelevant" means that the information of the intent to be created and the existing intent are completely different.
23. A request processing apparatus, applied to managing service producers, characterized in that, include: The first receiving module is used to receive an intent creation request sent by a management service consumer, wherein the intent creation request includes first information; The first decision module is used to determine the second attribute in the first information as the second value based on the intent database. The second attribute is relational information used to represent the relationship between the intent to be created and the existing intents. The intent database is used to store information, services or network management policies of existing intents, and the relationships between existing intents. The first decision module is also used to send a query request to the first device; Receive the second value fed back by the first device; The first creation module is used to create an intent management object instance MOI according to the intent creation request when the second value meets the preset conditions; The second value represents one of the following relationships: identical, inherited, conflicting, related, and unrelated; Among them, "same" means that the intent to be created is the same as one or more pieces of information of an existing intent; "inherited" means that the intent to be created is a sub-intent of an existing intent; "conflicting" means that the intent to be created and the existing intent need to achieve contradictory goals at the same time and in the same coverage area, and the network cannot satisfy them at the same time; "relevant" means that the gap between one or more pieces of information of the intent to be created and the existing intent meets the requirements; and "irrelevant" means that the information of the intent to be created and the existing intent are completely different.
24. A request processing apparatus, applied to managing service producers, characterized in that, include: Processor and transceiver; The transceiver is used to receive an intent creation request sent by a management service consumer, the intent creation request including first information; The processor is configured to determine a first attribute in the first information as a first value based on the network's capabilities and the first information; and, if the first value satisfies a preset condition, to create an intent management object instance MOI based on the intent creation request, wherein the first attribute is judgment information used to indicate the judgment result of whether the intent is malicious or not, or the first attribute is used to indicate the judgment result of whether the intent is feasible. Optionally, the processor is further configured to determine that the second attribute in the first information is a second value, the second value being used to represent one of the following relationships: same, inheritance, conflict, related, and unrelated; when the second value does not represent same, the processor determines that the first attribute in the first information is a first value; The processor is also used to send a query request to the first device; Receive the second value fed back by the first device; Among them, "same" means that the intent to be created is the same as one or more pieces of information of an existing intent; "inherited" means that the intent to be created is a sub-intent of an existing intent; "conflicting" means that the intent to be created and the existing intent need to achieve contradictory goals at the same time and in the same coverage area, and the network cannot satisfy them at the same time; "relevant" means that the gap between one or more pieces of information of the intent to be created and the existing intent meets the requirements; and "irrelevant" means that the information of the intent to be created and the existing intent are completely different.
25. A request processing apparatus, applied to managing service producers, characterized in that, include: Processor and transceiver; The transceiver is used to receive an intent creation request sent by a management service consumer, the intent creation request including first information; The processor is configured to determine the second attribute in the first information as a second value based on the intent database; and, if the second value satisfies a preset condition, to create an intent management object instance MOI based on the intent creation request, wherein the second attribute is relational information used to represent the relationship between the intent to be created and existing intents, and the intent database is used to store information, services or network management policies of existing intents, and the relationships between existing intents. The processor is also used to send a query request to the first device; Receive the second value fed back by the first device; The second value represents one of the following relationships: identical, inherited, conflicting, related, and unrelated; Among them, "same" means that the intent to be created is the same as one or more pieces of information of an existing intent; "inherited" means that the intent to be created is a sub-intent of an existing intent; "conflicting" means that the intent to be created and the existing intent need to achieve contradictory goals at the same time and in the same coverage area, and the network cannot satisfy them at the same time; "relevant" means that the gap between one or more pieces of information of the intent to be created and the existing intent meets the requirements; and "irrelevant" means that the information of the intent to be created and the existing intent are completely different.
26. A communication device, comprising: A transceiver, a memory, a processor, and a program stored in the memory and executable on the processor; characterized in that the processor is configured to read the program in the memory to implement the steps of the request processing method as claimed in any one of claims 1 to 11; or to implement the steps of the request processing method as claimed in any one of claims 12 to 21.
27. A readable storage medium for storing a program, characterized in that, When the program is executed by the processor, it implements the steps of the request processing method according to any one of claims 1 to 11; or implements the steps of the request processing method according to any one of claims 12 to 21.
Citation Information
Patent Citations
Management service discovery method and device
CN112104468A
