5gc network element isolation method and apparatus, electronic device, and storage medium
By automating the assessment and judgment of network element status, precise isolation of 5G core network elements is achieved, solving the problems of long time consumption and human error risk in existing technologies, and improving the efficiency and security of isolation operations.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA TELECOM DIGITAL INTELLIGENCE TECH CO LTD
- Filing Date
- 2022-10-10
- Publication Date
- 2026-06-05
AI Technical Summary
The existing 5G core network element isolation operation lacks standardization and automation, resulting in long processing times and the risk of human error, making it difficult to achieve precise control.
By identifying the isolated network element and its information, obtaining the information of the second network element in the same object buffer pool, evaluating and generating a network element status evaluation table, automatically determining and recommending isolation modes, and realizing automated and rapid isolation operations for network elements.
It improves the accuracy, controllability, and security of network element isolation operations, shortens the emergency recovery time for services, and increases operational efficiency.
Smart Images

Figure CN115623515B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of 5G core networks, and in particular to a 5G core network element isolation method, apparatus, electronic device and storage medium. Background Technology
[0002] With the development of 5G core networks, the improvement of people's living standards and the demand for work efficiency, people have higher and higher requirements for 5G core networks. Therefore, technicians have gradually paid attention to the implementation of 5GC network element isolation, which still has a lot of room for optimization.
[0003] Currently, network element isolation operations require manual review of isolation commands beforehand. During the actual isolation process, commands must be manually issued to each network element individually to remove the services carried by the isolated element. The isolation status must be monitored manually using commands to observe changes in the services carried by the network element. After the isolation operation is complete, the services carried by the network element must be manually restored, and the restoration status must be checked.
[0004] Therefore, typical network element isolation operations lack standardized and automated isolation methods, relying mainly on manual operation. Network element isolation operations are time-consuming, difficult to achieve precise control, and pose a significant risk of isolation failure due to human error. Summary of the Invention
[0005] Therefore, it is necessary to provide a 5GC network element isolation method, device, electronic device and storage medium for automatically and accurately controlling network element isolation operations to address the above-mentioned technical problems.
[0006] Firstly, this application provides a 5GC network element isolation method, the method comprising:
[0007] The first network element is determined and its information is obtained, wherein the first network element is an isolated network element and the first network element information is the network element information of the first network element;
[0008] Obtain the second network element and its information, wherein the second network element and the first network element belong to the first object buffer pool and have a first attribute, and the second network element information is the network element information of the second network element;
[0009] The first network element and the second network element are evaluated based on the first network element information and the second network element information to obtain the evaluation result, and a network element status evaluation table is generated based on the evaluation result.
[0010] Based on the network element status evaluation table, a first isolation mode or a second isolation mode is determined and recommended. The first isolation mode is to allocate the services carried by the first network element to the second network element when the first network element has connectivity conditions. The second isolation mode is to disable the first network element in the first object buffer pool when the first network element does not have connectivity conditions.
[0011] In one embodiment, the step of evaluating the first network element and the second network element based on the first network element information and the second network element information includes, prior to:
[0012] Obtain the network element connectivity status and network element carrying capacity of the first network element and the second network element.
[0013] In one embodiment, determining and recommending a first isolation mode or a second isolation mode based on the network element status evaluation table includes:
[0014] When the number of execution failures of the first isolation mode exceeds a first threshold, the second isolation mode is invoked and executed. The execution time of each execution of the first isolation mode has a first duration. When the first duration exceeds a second threshold, the next execution is performed.
[0015] In one embodiment, the step of determining and recommending a first isolation mode or a second isolation mode based on the network element status evaluation table includes:
[0016] The first network element is evaluated, and the service volume before and after the isolation of the first network element is compared and analyzed to confirm the service recovery status.
[0017] Secondly, this application provides a 5GC network element isolation device, the device comprising:
[0018] The module determines the first network element and obtains the first network element information, wherein the first network element is the isolated network element and the first network element information is the network element information of the first network element.
[0019] The first acquisition module is used to acquire the second network element and the second network element information, wherein the second network element and the first network element belong to the first object buffer pool and have a first attribute, and the second network element information is the network element information of the second network element;
[0020] The evaluation module is used to evaluate the first network element and the second network element based on the first network element information and the second network element information, obtain the evaluation result, and generate a network element status evaluation table based on the evaluation result.
[0021] The judgment module determines and recommends a first isolation mode or a second isolation mode based on the network element status evaluation table. The first isolation mode is to allocate the services carried by the first network element to the second network element when the first network element has connectivity conditions. The second isolation mode is to disable the first network element in the first object buffer pool when the first network element does not have connectivity conditions.
[0022] In one embodiment, the device further includes:
[0023] The second acquisition module is used to acquire the network element connectivity status of the first network element and the second network element, as well as the service volume carried by the network element.
[0024] In one embodiment, the determining module is specifically used for:
[0025] When the number of execution failures of the first isolation mode exceeds a first threshold, the second isolation mode is invoked and executed. The execution time of each execution of the first isolation mode has a first duration. When the first duration exceeds a second threshold, the next execution is performed.
[0026] In one embodiment, the device further includes:
[0027] The analysis module is used to evaluate the first network element and compare and analyze the service volume before and after the isolation of the first network element to confirm the service recovery status.
[0028] Thirdly, this application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0029] The first network element is determined and its information is obtained, wherein the first network element is an isolated network element and the first network element information is the network element information of the first network element;
[0030] Obtain the second network element and its information, wherein the second network element and the first network element belong to the first object buffer pool and have a first attribute, and the second network element information is the network element information of the second network element;
[0031] The first network element and the second network element are evaluated based on the first network element information and the second network element information to obtain the evaluation result, and a network element status evaluation table is generated based on the evaluation result.
[0032] Based on the network element status evaluation table, a first isolation mode or a second isolation mode is determined and recommended. The first isolation mode is to allocate the services carried by the first network element to the second network element when the first network element has connectivity conditions. The second isolation mode is to disable the first network element in the first object buffer pool when the first network element does not have connectivity conditions.
[0033] Fourthly, this application provides a computer storage medium storing a computer program, characterized in that, when the computer program is executed by a processor, it performs the following steps:
[0034] The first network element is determined and its information is obtained, wherein the first network element is an isolated network element and the first network element information is the network element information of the first network element;
[0035] Obtain the second network element and its information, wherein the second network element and the first network element belong to the first object buffer pool and have a first attribute, and the second network element information is the network element information of the second network element;
[0036] The first network element and the second network element are evaluated based on the first network element information and the second network element information to obtain the evaluation result, and a network element status evaluation table is generated based on the evaluation result.
[0037] Based on the network element status evaluation table, a first isolation mode or a second isolation mode is determined and recommended. The first isolation mode is to allocate the services carried by the first network element to the second network element when the first network element has connectivity conditions. The second isolation mode is to disable the first network element in the first object buffer pool when the first network element does not have connectivity conditions.
[0038] The embodiments of the present invention have at least the following beneficial effects: The aforementioned 5GC network element isolation method, device, electronic device, and storage medium, through which the server determines the isolated network element and obtains the first network element information of the isolated network element, as well as the second network element and its information located in the same object buffer pool and having the same attributes as the first network element, evaluates the first and second network elements based on the first and second network element information, automatically generates a network element status evaluation table based on the evaluation results, and finally determines and recommends a first isolation mode and a second isolation mode based on the network element status evaluation table. That is, when the isolated network element has connectivity conditions, the first isolation mode is activated, and the services carried by the isolated network element are allocated to the second network element; when the isolated network element does not have connectivity conditions, the second isolation mode is activated, and the isolated network element is disabled in the corresponding object buffer pool. This method can accurately evaluate 5GC network elements based on their status, realize automated and rapid network element isolation operations, and greatly improve the accuracy, controllability, and security of network element isolation operations by performing network element isolation operations through automation, shortening the emergency recovery time of services and improving the efficiency of network element isolation operations. Attached Figure Description
[0039] Figure 1 This is a flowchart of a 5GC network element isolation method according to an embodiment of this application;
[0040] Figure 2 This is a flowchart of a 5GC network element isolation method according to an embodiment of this application;
[0041] Figure 3 This is a schematic diagram illustrating the implementation of a 5GC network element isolation system according to an embodiment of this application;
[0042] Figure 4 This is a schematic diagram of the structure of a 5GC network element isolation device according to an embodiment of this application;
[0043] Figure 5 This is a schematic diagram of the structure of a 5GC network element isolation device according to an embodiment of this application;
[0044] Figure 6 This is an internal structural diagram of a computer device according to an embodiment of this application. Detailed Implementation
[0045] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, 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 some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0046] likeFigure 1 As shown, in one embodiment, a 5GC network element isolation method includes the following steps:
[0047] Step S110: Determine the first network element and obtain the first network element information, wherein the first network element is the isolated network element, and the first network element information is the network element information of the first network element.
[0048] Specifically, the server identifies the isolated network element and obtains its network element information.
[0049] Step S120: Obtain the second network element and its information. The second network element and the first network element belong to the first object buffer pool and have the first attribute. The information of the second network element is the network element information of the second network element.
[0050] Specifically, the server retrieves the information of the second network element and its network element, which are located in the same object buffer pool as the isolated network element and have the same attributes as the isolated network element.
[0051] Step S130: Evaluate the first network element and the second network element based on the first network element information and the second network element information, obtain the evaluation results, and generate a network element status evaluation table based on the evaluation results.
[0052] Specifically, the server evaluates the isolated network element and the second network element based on the isolated network element and its network element information obtained in steps S110 and S120, and the second network element and its network element information located in the same object buffer pool as the isolated network element and having the same attributes as the isolated network element, obtains the evaluation results, and automatically generates a network element status evaluation table based on the evaluation results.
[0053] Step S140: Based on the network element status evaluation table, determine and recommend a first isolation mode or a second isolation mode. The first isolation mode is to allocate the services carried by the first network element to the second network element when the first network element has connectivity conditions. The second isolation mode is to disable the first network element in the first object buffer pool when the first network element does not have connectivity conditions.
[0054] Specifically, based on the network element status evaluation table obtained in step S130, the server automatically determines and recommends the best isolation mode, namely the first isolation mode and the second isolation mode. When the isolated network element has connectivity conditions, the first isolation mode is activated and the services carried by the isolated network element are allocated to the second network element. When the isolated network element does not have connectivity conditions, the second isolation mode is activated and the isolated network element is disabled in the corresponding object buffer pool.
[0055] The aforementioned 5GC network element isolation method involves the server identifying the network element to be isolated and obtaining its first network element information, as well as a second network element located in the same object buffer pool and possessing the same attributes, along with its second network element information. Based on these two network element information, the server evaluates both elements and automatically generates a network element status evaluation table. Finally, based on this table, the server determines and recommends a first isolation mode and a second isolation mode. Specifically, the first isolation mode is activated when the isolated network element has connectivity, allocating the services carried by the isolated network element to the second network element; the second isolation mode is activated when the isolated network element lacks connectivity, disabling the isolated network element in the corresponding object buffer pool. This method enables accurate evaluation of 5GC network elements based on their status, achieving automated and rapid network element isolation operations. Automated network element isolation significantly improves the accuracy, controllability, and security of network element isolation operations, shortens service emergency recovery time, and increases the efficiency of network element isolation operations.
[0056] like Figure 2 As shown, in one embodiment, a 5GC network element isolation method includes the following steps:
[0057] Step S210: Determine the first network element and obtain the first network element information, wherein the first network element is the isolated network element and the first network element information is the network element information of the first network element.
[0058] Specifically, the server determines the isolated network element and its network element information.
[0059] Step S220: Obtain the second network element and its information. The second network element and the first network element belong to the first object buffer pool and have the first attribute. The information of the second network element is the network element information of the second network element.
[0060] Specifically, the server retrieves the information of the second network element and its network element, which are located in the same object buffer pool as the isolated network element and have the same attributes as the isolated network element.
[0061] It should be noted that the first network element information and the second network element information include the network element instance name, network element instance identifier, network element configuration identifier, network element registration status, network element license res resource usage, network element peak license remaining times, network element dynamic user count, network element interface, and network element interface status.
[0062] Step S230: Obtain the network element connectivity status and network element carrying capacity of the first network element and the second network element.
[0063] Specifically, the server obtains the network element connectivity and network element carrying capacity of the first and second network elements based on the first and second network elements and their corresponding first and second network element information determined in steps S210 and S220.
[0064] Step S240: Evaluate the first network element and the second network element based on the first network element information and the second network element information to obtain the evaluation results, and generate a network element status evaluation table based on the evaluation results.
[0065] Specifically, the server evaluates the isolated network element and the second network element based on the isolated network element and its network element information obtained in steps S210 and S220, and the second network element and its network element information located in the same object buffer pool as the isolated network element and having the same attributes as the isolated network element, obtains the evaluation results, and automatically generates a network element status evaluation table based on the evaluation results.
[0066] Step S250: Based on the network element status evaluation table, determine and recommend a first isolation mode or a second isolation mode. The first isolation mode is to allocate the services carried by the first network element to the second network element when the first network element has connectivity conditions. The second isolation mode is to disable the first network element in the first object buffer pool when the first network element does not have connectivity conditions.
[0067] Specifically, based on the network element connectivity and service volume obtained in step S230, and the network element status evaluation table generated in step S240, the server determines and recommends the optimal isolation mode, namely the first isolation mode and the second isolation mode. When the isolated network element has connectivity, the first isolation mode is activated, and the services carried by the isolated network element are allocated to the second network element. When the isolated network element does not have connectivity, the second isolation mode is activated, and the isolated network element is disabled in the corresponding object buffer pool.
[0068] It should be noted that when the number of failures in the first isolation mode exceeds the first threshold, the second isolation mode is invoked and executed. Each execution of the first isolation mode has a certain duration. When this duration exceeds the set second threshold and the execution fails, the first isolation mode is executed repeatedly. If the number of failures in the first isolation mode exceeds the set first threshold, the second isolation mode is automatically invoked and executed.
[0069] Step S260: Evaluate the first network element and compare and analyze the service volume before and after the isolation of the first network element to confirm the service recovery status.
[0070] Specifically, after the server executes the first isolation mode or the second isolation mode in step S250, it re-evaluates the isolated network element and compares and analyzes the service volume before and after the isolation of the isolated network element to confirm the service recovery status.
[0071] In the above-mentioned 5GC network element isolation method, the server determines the isolated network element and its first network element information, and obtains the second network element information of the second network element that is located in the same object buffer pool and has the same attributes as the isolated network element. The first network element information and the second network element information are the network element instance name, network element instance identifier, network element configuration identifier, network element registration status, network element license res resource usage, network element peak license remaining count, network element dynamic user count, network element interface, and network element interface status. Based on the information of the first and second network elements, the isolated network elements and the second network element are evaluated. An automatic network element status evaluation table is generated based on the evaluation results. Finally, based on this evaluation table, combined with the network element connectivity and the traffic volume carried by the isolated and second network elements, an isolation mode is determined and recommended. When the isolated network element has connectivity, the first isolation mode is activated, and the traffic carried by the isolated network element is allocated to the second network element. When the isolated network element does not have connectivity, the second isolation mode is activated, and the isolated network element is disabled in the corresponding object buffer pool. After the operation is completed, the isolated network element is evaluated, and the traffic volume before and after isolation is compared and analyzed to confirm the service recovery status. This method can accurately evaluate 5GC network elements based on their status, realizing automated and rapid network element isolation operations. Automated network element isolation operations greatly improve the accuracy, controllability, and security of network element isolation operations, shorten service emergency recovery time, and improve the efficiency of network element isolation operations.
[0072] like Figure 3 As shown, in one embodiment, a 5G core network element isolation system first determines the network element to be isolated. The user inputs the name of the network element to be operated on the system interface. The system performs a fuzzy match between the input network element name and the network element names in the 5G core network element table, filtering out network elements that meet the criteria and generating an enumeration for the user to select a specific network element to operate on. Based on the POOLID of the network element to be operated on, network elements with the same POOLID in the unified POOL pool are matched in the 5G core network element table. Simultaneously, the uplink network element of the network element to be operated on is obtained.
[0073] Specifically, based on the operating network element, the system's link table is queried: the operating network element is treated as the [A-end network element], and the [Z-end network element] with the [protocol interface type] "N4" is matched as the uplink network element list and the A-end IP address. The operating network element is treated as the [Z-end network element], and the [A-end network element] with the [protocol interface type] "N4" is matched as the uplink network element list and the Z-end IP address. After removing duplicates from the uplink network elements in points 1 and 2, the remaining network elements are considered to be the uplink network elements of this isolated network element. After removing duplicates from the [A-end IP address] and [Z-end IP address] in points 1 and 2, the remaining IP address is considered to be the N4 interface address of this operating network element, which is generally one IPv6 address.
[0074] After identifying the network elements of the same type within the same POOL pool as the network element being operated on, and their connected network elements, it is necessary to evaluate the status of the network element being operated on, its network elements of the same type within the same POOL pool, and its connected network elements. Query instances of isolated network elements to verify whether the network element being operated on and its network elements of the same type within the same POOL pool can log in. Simultaneously, check the license usage of the isolated network element and its network elements of the same type within the same POOL pool, the operational status of the isolated network element, the association status of the isolated network element and its connected network elements, the interface status of the network elements of the same type within the same POOL pool and their connected network elements, and the address range utilization of the isolated network element on the connected network elements. Simultaneously with the status evaluation of the network element being operated on, the status evaluation of its connected network elements is also performed. Query the name, node status, and blocking status of the network element being operated on its connected network elements, and query the number of sessions and the deactivation rate of the connected network elements.
[0075] After the status assessment of the isolated network element and its connected network elements is completed, a corresponding network element status assessment table will be generated. This table primarily evaluates the network element status, resource status, and service status of the isolated network element and its connected network elements within the same POOL pool. If the operational status, connectivity, and interface status of the isolated network element within the same POOL pool are normal, and the resource status, such as the number of sessions and address ranges, can normally support the service provided by the isolated network element, the system will prioritize the same-type network element isolation mode. Conversely, if the isolated network element does not have a self-isolation mode for its own network element, the system will recommend selecting the connected network element isolation mode. Simultaneously, the system will also check the node status, blocking status, resource status, dynamic session count, and deactivation rate of the isolated network element's connected network elements and its own network elements.
[0076] When using the self-isolation method for network elements, the user deactivation rate of the isolated network element must be set and checked. The isolated network element and its upstream network elements must execute corresponding commands concurrently. If the interface call is successful, the next step is executed sequentially. If the interface call fails, it is repeated a maximum of 3 times, with a 30-second interval between each attempt. If it still fails after 3 attempts, it indicates that the command to set the user deactivation rate has failed, and the automated one-click isolation process for the network element is exited. All connections from the isolated network element to its upstream network elements are released, and the deactivation session is synchronized. During this process, the connection status from the isolated network element to its upstream network elements and the deactivation session progress need to be checked. The isolated network element acts as the executing network element, executing relevant operation commands. If the interface call is successful, the next sequential step is performed, repeated a maximum of 3 times, with a 30-second interval between each attempt. If the 3 calls fail, it automatically jumps to the isolation mode of the upstream network element of the operated network element. Check the coupling status between the isolated network element and its connected network elements. The network element being operated on is the executing network element. Execute the relevant operation commands. If the coupling status is "coupled released", it means all couplings have been released, and the operation is considered successful. If the coupling status is not "coupled released", then periodically check the status, tentatively every minute. If the coupling status is not "coupled released" for three consecutive periods, the operation is considered a failure, and the isolation mode switches to the network element connected to the operating network element isolation mode. Check the deactivation progress of the isolated network element and query the license status on the isolated network element. The number of online sessions equals the number of sessions on the isolated network element. With a 1-minute period, the migration is completed when the number of dynamic sessions on the isolated network element is <100 or has not changed for three consecutive periods. By executing the "SHOW LICUSAGE" command on the operated network element, obtain the current value, configuration value, and utilization rate (%) of the number of sessions on the isolated network element. If the current value is ≤100 and has not changed for three consecutive periods, subsequent operations can continue. Interrupt the isolated network element interface, change the interface status to down, execute the "shutdown" command, and sequentially shut down all the ports listed under [Interface]. Check the interface interruption status to ensure that each interface is set to "interface down" under [Admin].
[0077] When using the uplink network element isolation mode, the user deactivation rate of the uplink network element is set. The isolated network element and its uplink network element act as the execution network element, executing relevant instructions. If the interface call is successful, the next step is performed. If the call to the acquisition and control interface fails, the process is repeated a maximum of 3 times, with a 30-second interval between each attempt. If the process still fails after 3 attempts, the one-click isolation automation process is exited. The deactivation rate of the currently configured user on the network element is queried. If the deactivation rate is equal to the value set in the previous step, the next step is executed sequentially. If the deactivation rate is not equal to the value set in the previous step, it indicates that setting the deactivation rate has failed, and the one-click isolation automation process is exited. On the upstream network element, the operation element is blocked, so that the upstream network element no longer selects the isolated network element. The isolated network element and its upstream network element act as the execution network element to execute the relevant instructions. Each network element must execute concurrently. Check the blocking status of the isolated network element to obtain whether the isolated network element node is blocked. If it is "yes (blocked)", then execute the next step in sequence. If it is "no (not blocked)", then exit the one-click isolation automation process.
[0078] Service recovery phase: Use the "SHOW LICUSAGE" command to query the current dynamic user count on the connected network elements of the isolated network element, obtaining the [Global Bearer Count] = Dynamic Session Count. During the deactivation of sessions on a single isolated network element, the global session count will not change significantly. Query for three consecutive periods. If the count in each period is higher than the previous period, the service is considered to have recovered normally. If two periods show the same count and it is 5% lower than the assessed value, a manual check of the service recovery status will be prompted at the end of the process. Check the deactivation progress of the isolated network element in 1-minute cycles, using the operating network element and its connected network elements as the execution network elements. Obtain the [Used Address Count] from the interface's returned command execution result. If the [Used Address Count] ≤ 100, the UPF fault isolation automated process is complete, and a prompt box "Isolation successful! Please manually check the service recovery status" will pop up.
[0079] If the number of addresses used remains unchanged for three consecutive cycles, the UPF fault isolation automation process is complete.
[0080] The aforementioned 5GC network element isolation system, based on technologies such as network element expansion, network element version upgrades, disaster recovery drills, disaster recovery assessments before isolation of sudden major network element failures, secure, automatic, and precise control during isolation, and rapid service recovery after operation, achieves one-click automated rapid isolation of network elements within minutes. Furthermore, by automating network element isolation operations, the accuracy, controllability, and security of network element isolation operations are greatly improved, significantly shortening emergency service recovery time and increasing isolation operation efficiency.
[0081] like Figure 4As shown, in one embodiment, a 5GC network element isolation device includes a determination module 410, a first acquisition module 420, an evaluation module 430, and a judgment module 440.
[0082] The determination module 410 is used to determine the first network element and obtain the first network element information, wherein the first network element is the isolated network element, and the first network element information is the network element information of the first network element.
[0083] The first acquisition module 420 is used to acquire the second network element and the second network element information. The second network element and the first network element belong to the first object buffer pool and have a first attribute. The second network element information is the network element information of the second network element.
[0084] The evaluation module 430 is used to evaluate the first network element and the second network element based on the first network element information and the second network element information, obtain the evaluation results, and generate a network element status evaluation table based on the evaluation results.
[0085] The judgment module 440 is used to judge and recommend a first isolation mode or a second isolation mode based on the network element status evaluation table. The first isolation mode is to allocate the services carried by the first network element to the second network element when the first network element has connectivity conditions. The second isolation mode is to disable the first network element in the first object buffer pool when the first network element does not have connectivity conditions.
[0086] The aforementioned 5GC network element isolation device determines the isolated network element and acquires its first network element information and its second network element information, which resides in the same object buffer pool and has the same attributes as the first network element. An evaluation module evaluates the first and second network elements based on their information and automatically generates a network element status evaluation table. Finally, a judgment module determines and recommends a first isolation mode and a second isolation mode based on the network element status evaluation table. Specifically, the first isolation mode is activated when the isolated network element has connectivity, and the services carried by the isolated network element are allocated to the second network element. The second isolation mode is activated when the isolated network element lacks connectivity, and the isolated network element is disabled in the corresponding object buffer pool. This method can accurately evaluate 5GC network elements based on their status, achieving automated and rapid network element isolation operations. Automated network element isolation operations significantly improve the accuracy, controllability, and security of network element isolation operations, shorten service emergency recovery time, and increase the efficiency of network element isolation operations.
[0087] like Figure 5 As shown, in one embodiment, a 5GC network element isolation device includes a determination module 510, a first acquisition module 520, a second acquisition module 530, an evaluation module 540, a judgment module 550, and an analysis module 560.
[0088] The determination module 510 is used to determine the first network element and obtain the first network element information, wherein the first network element is the isolated network element, and the first network element information is the network element information of the first network element.
[0089] The first acquisition module 520 is used to acquire the second network element and the second network element information. The second network element and the first network element belong to the first object buffer pool and have the first attribute. The second network element information is the network element information of the second network element.
[0090] The second acquisition module 530 is used to acquire the network element connectivity status of the first network element and the second network element, as well as the service volume carried by the network element.
[0091] It should be noted that the first network element information and the second network element information include the network element instance name, network element instance identifier, network element configuration identifier, network element registration status, network element license res resource usage, network element peak license remaining times, network element dynamic user count, network element interface, and network element interface status.
[0092] The evaluation module 540 is used to evaluate the first network element and the second network element based on the first network element information and the second network element information, obtain the evaluation results, and generate a network element status evaluation table based on the evaluation results.
[0093] The judgment module 550 is used to judge and recommend a first isolation mode or a second isolation mode based on the network element status evaluation table. The first isolation mode is to allocate the services carried by the first network element to the second network element when the first network element has connectivity conditions. The second isolation mode is to disable the first network element in the first object buffer pool when the first network element does not have connectivity conditions.
[0094] It should be noted that when the number of failures in the first isolation mode exceeds the first threshold, the second isolation mode is invoked and executed. Each execution of the first isolation mode has a certain duration. When this duration exceeds the set second threshold and the execution fails, the first isolation mode is executed repeatedly. If the number of failures in the first isolation mode exceeds the set first threshold, the second isolation mode is automatically invoked and executed.
[0095] The analysis module 560 is used to evaluate the first network element and compare the service volume before and after the isolation of the first network element to confirm the service recovery status.
[0096] The aforementioned 5GC network element isolation device determines the isolated network element and its first network element information through a determining module, and obtains the second network element information of a second network element located in the same object buffer pool and having the same attributes as the isolated network element through a first obtaining module. The first network element information and the second network element information are the network element instance name, network element instance identifier, network element configuration identifier, network element registration status, network element license res resource usage, network element peak license remaining times, network element dynamic user count, network element interface, and network element interface status. The evaluation module assesses the isolated network element and the second network element based on the first and second network element information, automatically generating a network element status evaluation table based on the evaluation results. Finally, the judgment module, based on this network element status evaluation table and combined with the network element connectivity and service load of the isolated and second network elements obtained by the second acquisition module, determines and recommends an isolation mode. If the isolated network element has connectivity, the first isolation mode is activated, and the services carried by the isolated network element are allocated to the second network element. If the isolated network element does not have connectivity, the second isolation mode is activated, and the isolated network element is disabled in the corresponding object buffer pool. After the operation is completed, the analysis module evaluates the isolated network element and compares the service load before and after isolation to confirm the service recovery status. This device can accurately evaluate 5GC network elements based on their status, achieving automated and rapid network element isolation operations. Automated network element isolation operations greatly improve the accuracy, controllability, and security of network element isolation operations, shorten service emergency recovery time, and increase the efficiency of network element isolation operations.
[0097] In one embodiment, a computer device is provided, which may be a smart terminal, and its internal structure diagram may be as follows: Figure 6 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a 5GC network element isolation method.
[0098] Those skilled in the art will understand that Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0099] In one embodiment, an electronic device includes a memory and a processor, the memory storing a computer program, the processor executing the computer program to implement the steps in the above-described method embodiments.
[0100] In one embodiment, a computer storage medium stores a computer program that, when executed by a processor, implements the steps described in the above method embodiments.
[0101] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, causing the computer device to perform the steps in the above method embodiments.
[0102] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0103] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0104] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A 5GC network element isolation method, characterized in that, The method includes: The first network element is determined and its information is obtained, wherein the first network element is an isolated network element and the first network element information is the network element information of the first network element; Obtain the second network element and its information, wherein the second network element and the first network element belong to the first object buffer pool and have a first attribute, and the second network element information is the network element information of the second network element; The first network element and the second network element are evaluated based on the first network element information and the second network element information to obtain the evaluation result, and a network element status evaluation table is generated based on the evaluation result. Based on the network element status evaluation table, determine and recommend a first isolation mode or a second isolation mode. The first isolation mode is to allocate the services carried by the first network element to the second network element when the first network element has connectivity conditions. The second isolation mode is to disable the first network element in the first object buffer pool when the first network element does not have connectivity conditions. The step of determining and recommending the first isolation mode and the second isolation mode based on the network element status evaluation table includes: When the number of execution failures of the first isolation mode exceeds a first threshold, the second isolation mode is invoked and executed. The execution time of each execution of the first isolation mode has a first duration. When the first duration exceeds a second threshold, the next execution is performed.
2. The 5GC network element isolation method according to claim 1, characterized in that, The step of evaluating the first network element and the second network element based on the first network element information and the second network element information includes, prior to: Obtain the network element connectivity status and network element carrying capacity of the first network element and the second network element.
3. The 5GC network element isolation method according to claim 1, characterized in that, The step of determining and recommending a first isolation mode and a second isolation mode based on the network element status evaluation table, followed by: The first network element is evaluated, and the service volume before and after the isolation of the first network element is compared and analyzed to confirm the service recovery status.
4. A 5GC network element isolation device, characterized in that, The device includes: The module determines the first network element and obtains the first network element information, wherein the first network element is the isolated network element, and the first network element information is the network element information of the first network element; The first acquisition module is used to acquire the second network element and the second network element information, wherein the second network element and the first network element belong to the first object buffer pool and have a first attribute, and the second network element information is the network element information of the second network element; The evaluation module is used to evaluate the first network element and the second network element based on the first network element information and the second network element information, obtain the evaluation result, and generate a network element status evaluation table based on the evaluation result. The judgment module determines and recommends a first isolation mode or a second isolation mode based on the network element status evaluation table. The first isolation mode is to allocate the services carried by the first network element to the second network element when the first network element has connectivity conditions. The second isolation mode is to disable the first network element in the first object buffer pool when the first network element does not have connectivity conditions. The step of determining and recommending the first isolation mode and the second isolation mode based on the network element status evaluation table includes: When the number of execution failures of the first isolation mode exceeds a first threshold, the second isolation mode is invoked and executed. The execution time of each execution of the first isolation mode has a first duration. When the first duration exceeds a second threshold, the next execution is performed.
5. The 5GC network element isolation device according to claim 4, characterized in that, The device further includes: The second acquisition module is used to acquire the network element connectivity status of the first network element and the second network element, as well as the service volume carried by the network element.
6. The 5GC network element isolation device according to claim 4, characterized in that, The device further includes: The analysis module is used to evaluate the first network element and compare and analyze the service volume before and after the isolation of the first network element to confirm the service recovery status.
7. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 3.
8. A computer storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 3.