Network element data subscription method, device and storage medium

By splitting network element subscription information into fragments and allocating them to computing nodes for processing, the problem of low network element management efficiency in large-scale networks is solved, achieving efficient and low-cost network element management.

CN115706956BActive Publication Date: 2026-07-07ZTE CORP

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZTE CORP
Filing Date
2021-08-17
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

In large-scale wireless network scenarios, existing methods are inefficient in network element management, consume a lot of server resources, and have high costs for hardware expansion.

Method used

By acquiring network element subscription information, the data is split into multiple shards and distributed to computing nodes in the distributed system for processing. Subscription tasks are generated and sent, and the execution results are obtained to output the subscription results.

Benefits of technology

It improves the efficiency and accuracy of network element processing, and enables efficient and low-cost management in large-scale network scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115706956B_ABST
    Figure CN115706956B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a network element data subscription method, device and storage medium, belonging to the technical field of communication. The method comprises: obtaining network element subscription information; splitting the network element subscription information to obtain multiple network element subscription information fragments; allocating each network element subscription information fragment to a computing node in a distributed system, so that the computing node generates a network element subscription task according to the allocated network element subscription information fragment, and sends the network element subscription task to a network element to be subscribed; obtaining the execution result of the corresponding network element subscription task sent by each network element to be subscribed, and outputting the network element information subscription result according to each execution result. By splitting into multiple network element subscription information fragments and allocating the multiple network element subscription information fragments to multiple computing nodes for processing, the efficiency and accuracy of the processing of the network elements to be subscribed are greatly improved, and the purpose of efficiently and low-cost managing network elements in a large-scale network scenario is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a method, device and storage medium for subscribing to network data. Background Technology

[0002] In the era of rapid development of wireless networks, high speed, low latency, and reliability are the core technologies. With more compact network layouts and a large number and variety of network elements, wireless network management faces one of the biggest challenges. How to improve the management capacity of wireless network management and manage more network elements more efficiently is a problem that wireless network management urgently needs to solve in the network era.

[0003] The existing method involves receiving and parsing subscription information, classifying network elements, and then matching different network elements with corresponding subscription information to convert them into network element tasks. Tasks of the same type are then batch-distributed based on the network element's type. However, this existing approach has the following drawbacks: low processing efficiency in large-scale network scenarios; and the operations of parsing subscription information and converting network element tasks consume significant amounts of server memory and CPU resources. Expanding server hardware resources to improve processing efficiency is prohibitively expensive. Therefore, how to efficiently and cost-effectively manage network elements in large-scale network scenarios is a pressing issue that needs to be addressed. Summary of the Invention

[0004] The present invention provides a method, device and storage medium for subscribing to network element data, which aims to improve the management efficiency of network element subscription information.

[0005] In a first aspect, embodiments of the present invention provide a network data subscription method, including:

[0006] Obtain network element subscription information;

[0007] The network element subscription information is split to obtain multiple network element subscription information fragments;

[0008] Assign network element subscription information shards to computing nodes in a distributed system, so that the computing nodes generate network element subscription tasks according to the assigned network element subscription information shards and send the network element subscription tasks to the network elements to be subscribed;

[0009] Obtain the execution results of the corresponding network element subscription tasks sent by each of the network elements to be subscribed, and output the network element information subscription results based on each execution result.

[0010] Secondly, embodiments of the present invention also provide a network management device, the network management device including a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for implementing connection communication between the processor and the memory, wherein when the computer program is executed by the processor, it implements the steps of any of the network data subscription methods provided in this specification.

[0011] Thirdly, embodiments of the present invention also provide a storage medium for computer-readable storage, characterized in that the storage medium stores one or more programs, which can be executed by one or more processors to implement the steps of any of the network data subscription methods provided in this specification.

[0012] This invention provides a method, device, and storage medium for subscribing to network element information. The method involves acquiring network element subscription information, then splitting this information into multiple fragments. These fragments are then processed by multiple computing nodes. Each fragment is assigned to a computing node in the distributed system, enabling the node to generate a subscription task and send it to the network elements to be subscribed. The method allows each network element to complete its subscription task, obtains the execution results of its corresponding task, and outputs the subscription results. This provides accurate information on the completion status of the subscription information. By splitting the information into multiple fragments and assigning them to multiple computing nodes, the efficiency and accuracy of processing the network elements to be subscribed are greatly improved, achieving efficient and low-cost network element management in large-scale network scenarios. Attached Figure Description

[0013] Figure 1 This is a flowchart illustrating a network data subscription method provided in an embodiment of the present invention;

[0014] Figure 2 for Figure 1 A flowchart illustrating the sub-steps of the network data subscription method;

[0015] Figure 3 This is a schematic diagram of a scenario for data reorganization of network element subscription information provided by an embodiment of the present invention;

[0016] Figure 4 This is a schematic diagram illustrating another scenario for data reorganization of network element subscription information provided by an embodiment of the present invention;

[0017] Figure 5 This is a schematic diagram of a scenario for splitting the subscription information of a target network element according to an embodiment of the present invention;

[0018] Figure 6 This is a schematic diagram illustrating another scenario for splitting the subscription information of a target network element, as provided in an embodiment of the present invention.

[0019] Figure 7 This is a schematic block diagram of a network management device provided in an embodiment of the present invention. Detailed Implementation

[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0021] The flowchart shown in the attached diagram is for illustrative purposes only and does not necessarily include all content and operations / steps, nor does it necessarily have to be performed in the order described. For example, some operations / steps can be broken down, combined, or partially merged, so the actual execution order may change depending on the actual situation.

[0022] It should be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0023] This invention provides a method, device, and storage medium for subscribing to network data. The method for subscribing to network data can be applied to network management devices, such as servers and computers.

[0024] The following detailed description of some embodiments of the present invention is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.

[0025] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating a network data subscription method provided in an embodiment of the present invention.

[0026] like Figure 1 As shown, the network data subscription method includes steps S101 to S104.

[0027] Step S101: Obtain network element subscription information.

[0028] The network element subscription information includes at least one of the following: network element type, subscription scope, subscription object, subscription type, subscription element, subscription parameters, subscription time period, and subscription data type. Other information may also be included. The network element type refers to the type of the network element to be subscribed to, such as 5G NR (5G New Radio), Software Defined Radio (SDR), Universal Mobile Telecommunications System (UMTS), and Global System for Mobile Communications (GSM). The subscription scope refers to the range covered by the network element subscription information, such as cell-level or base station-level subscription information. The subscription object refers to the specific cell or base station to which the subscription is made. The subscription type refers to the specific type of data of the subscribed network element, such as signaling, metrics trace statistics (MTS), drive test trace (DTTRACE), and service observation. Types include process (SOP), subscription element (S1, uu, x2, etc.), subscription parameters (tracking depth, including maximum, medium, and minimum tracking depth), subscription time period (e.g., 2021-04-13-10:00:00-2021-04-13-11:00:00), and subscription data type (decoding level, including full decoding and partial decoding).

[0029] In one embodiment, at least one piece of information is obtained from the network element type, subscription scope, subscription object, subscription type, subscription element, subscription parameter, subscription period, and subscription data type input by the user on the network management device. This information is then arranged to obtain the network element subscription information. It should be noted that the user can select candidate information on the network element subscription information input interface of the network management device. For example, if there are five candidate network element types, two can be selected as the network element types to be subscribed to. The user can also directly input the candidate information on the network element subscription information input interface of the network management device. By obtaining the information input by the user on the network element subscription information input interface of the network management device, the network element subscription information can be accurately obtained.

[0030] In one embodiment, the terminal device is communicatively connected to the network management device. The user inputs at least one of the following subscription information on the terminal device: network element type, subscription scope, subscription object, subscription type, subscription element, subscription parameters, subscription period, and subscription data type. The terminal device sends this subscription information to the network management device. The network management device receives the subscription information and arranges it according to the information to obtain the network element subscription information. The terminal device can be selected according to actual needs; this embodiment does not impose specific limitations. For example, the terminal device can be a mobile phone, computer, server, etc. By obtaining the user-input subscription information on the terminal device, the flexibility of subscription information acquisition is improved, and the number of times the network management device runs is reduced, thus improving the operating efficiency of the network management device.

[0031] Step S102: The network element subscription information is split to obtain multiple network element subscription information fragments.

[0032] The network element subscription information includes the network element identifier of at least one network element to be subscribed to. The network element subscription information fragment includes the network element identifier of one or more network elements to be subscribed to, and the network element identifier may be the name of the network element to be subscribed to.

[0033] In one embodiment, such as Figure 2 As shown, step S102 includes sub-steps S1021 to S1022.

[0034] Sub-step S1021: Reorganize the network element subscription information to obtain the target network element subscription information.

[0035] In one embodiment, the network element type of each network element to be subscribed is obtained from the network element subscription information. Network elements of the same type are then grouped into the same list of network elements to be subscribed, resulting in multiple lists of network elements to be subscribed. These multiple lists are then arranged to obtain the target network element subscription information. By grouping network elements of the same type in the same position, the accuracy and convenience of subsequent splitting of the network element subscription information can be improved.

[0036] For example, such as Figure 3 As shown, Figure 3 The network element subscription information 10 includes network elements nf1, nf2, nf3, nf4, and nf5 to be subscribed. The network element types of nf1 and nf2 are 5GNR, nf3 is SDR, and nf4 and nf5 are UMTS. Network elements of the same type are arranged in the same list of network elements to be subscribed, resulting in... Figure 3The network element subscription information 20 includes two network elements to be subscribed: nf1 and nf2 are of the same 5G NR network element type, and are arranged in the first subscription network element list; nf3 is of the SDR network element type, and is arranged in the second subscription network element list; and nf4 and nf5 are of the same UMTS network element type, and are arranged in the third subscription network element list. The first, second, and third subscription network element lists are then arranged to form the target network element subscription information 20.

[0037] In one embodiment, the location information of each network element to be subscribed to in the subscription information of each network element is obtained. The location information includes the geographical location of the network element to be subscribed to. Based on the geographical location of each network element to be subscribed to, the distance between each network element to be subscribed to is determined. Network elements to be subscribed to that with a distance less than a preset distance are grouped into the same list of network elements to be subscribed to, resulting in multiple lists of network elements to be subscribed to. These multiple lists are then arranged to obtain the target network element subscription information. The preset distance can be set according to actual conditions; this embodiment does not impose a specific limitation on it. For example, the preset distance can be set to 5km. By grouping network elements to be subscribed to that with a distance less than the preset distance into the same location, the accuracy and convenience of subsequent splitting of network element subscription information can be improved.

[0038] For example, such as Figure 4 As shown, Figure 4 The network element subscription information 30 includes network elements nf6, nf7, nf8, nf9, and nf10 to be subscribed. The location information of each of these network elements is obtained. Based on the location information of each of these network elements, the values ​​of nf6, nf7, nf8, nf9, and nf10 are used to obtain the values ​​of nf6 and nf10 to be subscribed. The distance between f7 is less than the preset distance. The distance between nf8 and nf10, which are to be subscribed to, is less than the preset distance. The distance between nf9 and all other to-be-subscribed network elements is greater than or equal to the preset distance. Therefore, nf6 and nf7 are placed in the first list of to-be-subscribed network elements, nf8 and nf10 are placed in the second list, and nf9 is placed in the third list. Arranging the first, second, and third lists of to-be-subscribed network elements yields... Figure 4 The target network element subscription information is 40.

[0039] Sub-step S1022: The target network element subscription information is split to obtain multiple network element subscription information fragments.

[0040] In one embodiment, the network element type of each network element to be subscribed to is obtained from the target network element subscription information; based on the network element type of each network element to be subscribed to, the target network element subscription information is split to obtain multiple network element subscription information fragments. Splitting the target network element subscription information by network element type to obtain multiple network element subscription information fragments can improve the efficiency and accuracy of subsequent computing nodes in processing network element subscription information fragments.

[0041] In one embodiment, the method of splitting the target network element subscription information into multiple network element subscription information fragments based on the network element type of each network element to be subscribed to can be as follows: Based on the network element type of each network element to be subscribed to, network elements of the same type in the target network element subscription information are split into the same network element subscription information fragment, resulting in multiple network element subscription information fragments. By splitting network elements of the same type into the same network element subscription information fragment, the efficiency and accuracy of subsequent computing nodes in processing network element subscription information fragments can be improved.

[0042] For example, such as Figure 5 As shown, Figure 5 The target network element subscription information 50 includes network elements nf1, nf2, nf3, nf4, and nf5 to be subscribed. The network element types of network elements nf1 and nf2 are 5GNR, the network element type of network element nf3 is SDR, and the network element types of network elements nf4 and nf5 are UMTS. The network element subscribing information fragments nf1 and nf2 of type 5GNR are split into one network element subscription information fragment, resulting in network element subscription information fragment 161. The network element subscribing information fragment 262 of type SDR is split into one network element subscription information fragment, and the network element subscribing information fragment 363 of type UMTS is split into one network element subscription information fragment.

[0043] In one embodiment, after splitting network elements of the same type into the same network element subscription information fragment, the number of network elements to be subscribed in the fragment is determined. If the number of network elements to be subscribed in a fragment exceeds a preset number, the fragment is further split to obtain multiple sub-network element subscription information fragments. The preset number can be set according to actual conditions; this embodiment does not impose a specific limitation. For example, the preset number can be set to 3. By further splitting network element subscription information fragments where the number of network elements to be subscribed exceeds the preset number, it is possible to effectively prevent an excessive number of network elements to be subscribed in a fragment from causing overload on a computing node.

[0044] It should be noted that further splitting the network elements to be subscribed in the network element subscription information fragment to obtain multiple sub-network element subscription information fragments can be done by dividing the network element subscription information fragment into two sub-network element subscription information fragments by the number of network elements to be subscribed, or by dividing it into three sub-network element subscription information fragments by three equal parts.

[0045] In one embodiment, the location information of each network element to be subscribed in the target network element subscription information is obtained; based on the location information of each network element to be subscribed, the target network element subscription information is split into multiple network element subscription information fragments. Splitting the target network element subscription information based on the location information of the network elements to be subscribed can improve the efficiency of allocating each network element subscription information fragment to computing nodes.

[0046] In one embodiment, the method of splitting the target network element subscription information into multiple network element subscription information fragments based on the location information of each network element to be subscribed can be as follows: determine the distance between each network element to be subscribed based on the location information of each network element to be subscribed; divide each network element to be subscribed into multiple network element groups based on the distance between each network element to be subscribed, wherein each network element group to be subscribed includes at least one network element to be subscribed; and split the target network element subscription information according to each network element group to be subscribed, thereby obtaining network element subscription information fragments corresponding to each network element group to be subscribed.

[0047] In one embodiment, dividing each network element to be subscribed into multiple groups based on the distance between them can be done as follows: Two network elements to be subscribed whose distance is less than a preset distance are grouped into one group, resulting in multiple groups of two network elements each. The intermediate position information of the two network elements in each group is obtained. Based on this intermediate position information, the distance between each group is determined. Two groups of network elements to be subscribed whose distance is less than the preset distance are combined into a new group. This process of updating and combining new groups of network elements is repeated until no group of network elements has a distance less than the preset distance, resulting in multiple groups of network elements to be subscribed. The preset distance can be set according to actual conditions; this embodiment does not impose specific limitations on it.

[0048] For example, such as Figure 6 As shown, Figure 6 The target network element subscription information 70 includes network elements nf6, nf7, nf8, nf9, and nf10 to be subscribed. Based on the location information of these network elements, it is determined that the distance between nf6 and nf7 is less than a preset distance, the distance between nf8 and nf10 is less than a preset distance, and the distance between nf6 and nf10 is less than a preset distance. The distances between the middle position of the reading network element nf7 and the middle positions of the network elements nf8 and nf10 to be subscribed to, and the distances between the middle positions of the network elements nf9 to be subscribed to, are all greater than or equal to the preset distances. The network elements nf6 and nf7 to be subscribed to are divided into a group of network elements to be subscribed to, resulting in network element subscription information fragment 481. The network elements nf8 and nf10 to be subscribed to are divided into a group of network elements to be subscribed to, resulting in network element subscription information fragment 582. The network element nf8 to be subscribed to is divided into a group of network elements to be subscribed to, resulting in network element subscription information fragment 683.

[0049] Step S103: Allocate network element subscription information shards to the computing nodes in the distributed system, so that the computing nodes generate network element subscription tasks according to the allocated network element subscription information shards and send the network element subscription tasks to the network elements to be subscribed.

[0050] In this context, a computing node is a device in a distributed system that performs calculations on the shards of network element subscription information. The computing node can be a computer or a server, and its location can be set according to the actual situation. This embodiment does not impose any specific limitations on this.

[0051] In one embodiment, the first attribute information of the network element to be subscribed in the network element subscription information shard is obtained, wherein the first attribute information includes a first network element type and / or a first location information; the second attribute information corresponding to the computing node in the distributed system is obtained, wherein the second attribute information includes a second network element type and / or a second location information; and network element subscription information shards are allocated to the computing node in the distributed system according to the first attribute information and the second attribute information.

[0052] In one embodiment, the method for allocating network element subscription information fragments to computing nodes in a distributed system based on the first attribute information and the second attribute information can be as follows: Based on the first network element type and the second network element type, the network element subscription information fragments are allocated to computing nodes where the second network element type includes the first network element type. This second network element type includes multiple network element types, and the first network element type is one of the network element types in the second network element type. Alternatively, the network element subscription information fragments are allocated to computing nodes where the second network element type and the first network element type are the same, and the allocated network element subscription information fragments are sent to the corresponding computing nodes. The first and second network element types include types such as 5GNR network element type, SDR network element type, UMTS network element type, and GSM network element type. Allocating network element subscription information fragments to computing nodes where the second network element type includes the first network element type, or allocating network element subscription information fragments to computing nodes where the second network element type and the first network element type are the same, improves the efficiency and accuracy of the computation of the network elements to be subscribed.

[0053] In one embodiment, the method for allocating network element subscription information fragments to computing nodes in a distributed system based on the first attribute information and the second attribute information can be as follows: Based on the first location information and the second location information, the network element subscription information fragment is allocated to the nearest computing node, and the allocated network element subscription information fragment is sent to the corresponding computing node. Sending the network element subscription information to the nearest computing node can reduce the communication distance between the computing node and the network element, thereby improving the efficiency of network element subscription information processing.

[0054] In one embodiment, the number of network element subscription information fragments and the number of computing nodes are obtained. If the number of network element subscription information fragments is less than or equal to the number of computing nodes, each computing node is assigned a network element subscription information fragment with the closest location information. If the number of network element subscription information fragments is greater than the number of computing nodes, the multiple network element subscription information fragments are evenly distributed among the multiple computing nodes, and the remaining unallocated network element subscription information fragments are allocated to the computing node with the most running resources, including at least one of CPU availability and memory availability. Evenly distributing network element subscription information to each computing node ensures a balanced load on the computing nodes, and allocating the remaining unallocated network element subscription information fragments to the computing node with the most running resources greatly improves the efficiency of network element subscription information processing.

[0055] In one embodiment, after receiving network element subscription information fragments, each computing node transforms the fragments to generate network element subscription tasks. Based on the network element type of each subscribed network element, it selects the corresponding communication protocol and sends the subscription tasks to the corresponding network elements, enabling each network element to execute the tasks according to the subscription tasks. The communication protocols include the netconf protocol for 5G NR network elements, the SNMP protocol for SDR network elements, and the TCP protocol for UMTS and GSM network elements. Using the communication protocols corresponding to each network element type ensures that each network element task is accurately sent to the corresponding network element.

[0056] It should be noted that when converting network element subscription information fragments, unnecessary data of the network element to be subscribed to can be removed from the network element subscription information fragments. The rules for removing data can be selected according to the actual situation. This embodiment does not make specific limitations on this. For example, if the network element to be subscribed supports fully decoded subscription data types, then the partially decoded subscription data types in the network element subscription information fragments will be removed.

[0057] Step S104: Obtain the execution result of the corresponding network element subscription task sent by each of the network elements to be subscribed, and output the network element information subscription result according to each execution result.

[0058] In one embodiment, each network element executes a network element subscription task and obtains the execution result of the task. The execution result includes whether the task was successful or failed. The network element then sends the execution result to the network management device. The network management device retrieves each execution result and outputs the network element information subscription result. By obtaining the execution results of each network element, the network element information subscription result can be accurately obtained.

[0059] In one embodiment, the method for outputting the network element information subscription result based on each execution result can be as follows: Each network element to be subscribed and its corresponding execution result are paired to form a key-value pair, resulting in a network element subscription key-value pair for each network element; all network element subscription key-value pairs are sorted to obtain a network element subscription key-value pair queue; and the queue is output to obtain the network element information subscription result. By pairing each network element to be subscribed and its corresponding execution result into key-value pairs and sorting the network element subscription key-value pairs, the management of the execution results corresponding to the network elements to be subscribed is facilitated, improving the efficiency of network element subscription information processing.

[0060] It should be noted that the sorting method for all network element subscription key-value pairs can be set according to the actual situation. This embodiment does not make specific limitations on this. For example, it can be sorted according to the network element number of the network element to be subscribed or according to the network element type.

[0061] The network element data subscription method in the above embodiments obtains network element subscription information and then splits it into multiple network element subscription information fragments. This allows for convenient processing of the network element subscription information by multiple computing nodes. The method then allocates these fragments to the computing nodes in the distributed system, enabling each node to generate a network element subscription task based on the allocated fragments and send the task to the network elements to be subscribed. This allows each network element to complete its subscription task, obtain the execution results of the corresponding subscription tasks sent by each network element, and output the network element information subscription results based on these results. This allows for accurate monitoring of the completion status of the network element information subscription. Furthermore, by splitting the information into multiple fragments and distributing them to multiple computing nodes, the efficiency and accuracy of processing the network elements to be subscribed are greatly improved, achieving the goal of efficient and low-cost network element management in large-scale network scenarios.

[0062] Please see Figure 7 , Figure 7 This is a schematic block diagram of a network management device provided in an embodiment of the present invention.

[0063] like Figure 7 As shown, the network management device 200 includes a processor 201 and a memory 202, which are connected by a bus 203, such as an I2C (Inter-integrated Circuit) bus.

[0064] Specifically, processor 201 provides computing and control capabilities to support the operation of the entire network management device. Processor 201 can be a Central Processing Unit (CPU), but it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among these, the general-purpose processor can be a microprocessor or any conventional processor.

[0065] Specifically, the memory 202 can be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a portable hard drive, etc.

[0066] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present invention and does not constitute a limitation on the network management device to which the present invention is applied. A specific network management device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0067] The processor is used to run a computer program stored in a memory, and when executing the computer program, implements any of the network data subscription methods provided in the embodiments of the present invention.

[0068] In one embodiment, the processor is configured to run a computer program stored in memory, and when executing the computer program, perform the following steps:

[0069] Obtain network element subscription information;

[0070] The network element subscription information is split to obtain multiple network element subscription information fragments;

[0071] Assign network element subscription information shards to computing nodes in a distributed system, so that the computing nodes generate network element subscription tasks according to the assigned network element subscription information shards and send the network element subscription tasks to the network elements to be subscribed;

[0072] Obtain the execution results of the corresponding network element subscription tasks sent by each of the network elements to be subscribed, and output the network element information subscription results based on each execution result.

[0073] In one embodiment, when the processor performs the splitting of the network element subscription information to obtain multiple network element subscription information fragments, it is configured to:

[0074] The network element subscription information is reorganized to obtain the target network element subscription information;

[0075] The target network element subscription information is split to obtain multiple network element subscription information fragments.

[0076] In one embodiment, when the processor performs the splitting of the target network element subscription information to obtain multiple network element subscription information fragments, it is configured to:

[0077] Obtain the network element type of each network element to be subscribed from the target network element subscription information;

[0078] Based on the network element type of each network element to be subscribed, the target network element subscription information is split to obtain multiple network element subscription information fragments.

[0079] In one embodiment, when the processor performs the step of splitting the target network element subscription information into multiple network element subscription information fragments based on the network element type of each network element to be subscribed to, it is configured to:

[0080] Based on the network element type of each network element to be subscribed, network elements with the same network element type in the target network element subscription information are split into the same network element subscription information fragment to obtain multiple network element subscription information fragments.

[0081] In one embodiment, when the processor performs the splitting of the target network element subscription information to obtain multiple network element subscription information fragments, it is configured to:

[0082] Obtain the location information of each network element to be subscribed in the target network element subscription information;

[0083] Based on the location information of each network element to be subscribed, the target network element subscription information is split to obtain multiple network element subscription information fragments.

[0084] In one embodiment, when the processor performs the step of splitting the target network element subscription information into multiple network element subscription information fragments based on the location information of each network element to be subscribed, it is configured to:

[0085] The distance between each of the network elements to be subscribed to is determined based on the location information of each of the network elements to be subscribed to;

[0086] Based on the distance between each of the network elements to be subscribed, each of the network elements to be subscribed is divided into multiple groups of network elements to be subscribed, wherein each group of network elements to be subscribed includes at least one of the network elements to be subscribed;

[0087] The target network element subscription information is split according to each of the network element groups to be subscribed, to obtain network element subscription information fragments corresponding to each network element group to be subscribed.

[0088] In one embodiment, when the processor allocates the network element subscription information shards to computing nodes in the distributed system, it is configured to:

[0089] Obtain the first attribute information of the network element to be subscribed in the network element subscription information segment, wherein the first attribute information includes the first network element type and / or the first location information;

[0090] Obtain the second attribute information corresponding to the computing node in the distributed system, wherein the second attribute information includes the second network element type and / or the second location information;

[0091] Based on the first attribute information and the second attribute information, the network element subscription information shards are allocated to the computing nodes in the distributed system.

[0092] In one embodiment, the processor, in implementing the step of outputting the network element information subscription result based on each of the execution results, is configured to:

[0093] Each network element to be subscribed and its corresponding execution result are combined into a key-value pair to obtain the network element subscription key-value pair for each network element to be subscribed.

[0094] Sort all the network element subscription key-value pairs to obtain a network element subscription key-value pair queue, and output the network element subscription key-value pair queue to obtain the network element information subscription result.

[0095] It should be noted that those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the network management device described above can be referred to the corresponding process in the aforementioned network data subscription method embodiment, and will not be repeated here.

[0096] This invention also provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs that can be executed by one or more processors to implement the steps of any of the network data subscription methods provided in this specification.

[0097] The storage medium can be the internal storage unit of the network management device described in the foregoing embodiments, such as the hard drive or memory of the network management device. Alternatively, the storage medium can be an external storage device of the network management device, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the network management device.

[0098] It will be understood by those skilled in the art that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0099] It should be understood that the term "and / or" as used in this specification and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes such combinations. It should be noted that, herein, the terms "comprising," "including," or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0100] The sequence numbers of the above embodiments of the present invention are merely for descriptive purposes and do not represent the superiority or inferiority of the embodiments. The above descriptions are only specific implementations of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for subscribing to network data, characterized in that, Applied to network management devices, including: Obtain network element subscription information; The network element subscription information is split to obtain multiple network element subscription information fragments; Assign each network element subscription information shard to the computing nodes in the distributed system, so that the computing nodes generate network element subscription tasks according to the assigned network element subscription information shards and send the network element subscription tasks to the network elements to be subscribed; Obtain the execution result of the corresponding network element subscription task sent by each of the network elements to be subscribed, and output the network element information subscription result according to each execution result; The step of splitting the network element subscription information to obtain multiple network element subscription information fragments includes: The network element subscription information is reorganized to obtain the target network element subscription information; The target network element subscription information is split to obtain multiple network element subscription information fragments; Obtain the network element type or location information of each network element to be subscribed from the target network element subscription information, and split the target network element subscription information according to the network element type or location information of each network element to be subscribed to obtain multiple network element subscription information fragments.

2. The network data subscription method according to claim 1, characterized in that, The step of splitting the target network element subscription information into multiple network element subscription information fragments based on the network element type of each network element to be subscribed to includes: Based on the network element type of each network element to be subscribed, network elements with the same network element type in the target network element subscription information are split into the same network element subscription information fragment to obtain multiple network element subscription information fragments.

3. The network data subscription method according to claim 1, characterized in that, The step of splitting the target network element subscription information into multiple network element subscription information fragments based on the location information of each network element to be subscribed includes: The distance between each of the network elements to be subscribed to is determined based on the location information of each of the network elements to be subscribed to; Based on the distance between each of the network elements to be subscribed, each of the network elements to be subscribed is divided into multiple groups of network elements to be subscribed, wherein each group of network elements to be subscribed includes at least one of the network elements to be subscribed; The target network element subscription information is split according to each of the network element groups to be subscribed, to obtain network element subscription information fragments corresponding to each network element group to be subscribed.

4. The network data subscription method according to any one of claims 1-3, characterized in that, The allocation of the network element subscription information shards to computing nodes in the distributed system includes: Obtain the first attribute information of the network element to be subscribed in the network element subscription information segment, wherein the first attribute information includes the first network element type and / or the first location information; Obtain the second attribute information corresponding to the computing node in the distributed system, wherein the second attribute information includes the second network element type and / or the second location information; Based on the first attribute information and the second attribute information, the network element subscription information shards are allocated to the computing nodes in the distributed system.

5. The network data subscription method according to any one of claims 1-3, characterized in that, The step of outputting the network element information subscription result based on the execution results includes: Each network element to be subscribed and its corresponding execution result are combined into a key-value pair to obtain the network element subscription key-value pair for each network element to be subscribed. Sort all the network element subscription key-value pairs to obtain a network element subscription key-value pair queue, and output the network element subscription key-value pair queue to obtain the network element information subscription result.

6. A network management device, characterized in that, The network management device includes a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for implementing communication between the processor and the memory, wherein when the computer program is executed by the processor, it implements the steps of the network data subscription method as described in any one of claims 1 to 5.

7. A storage medium for computer-readable storage, characterized in that, The storage medium stores one or more programs, which can be executed by one or more processors to implement the steps of the network data subscription method according to any one of claims 1 to 5.