Data processing method and device, operation and maintenance center and computer equipment
By acquiring and calculating network element performance data in real time at the computing service node, the problem of database calculation timeout caused by delayed reporting of network element performance data was solved, and the real-time and accurate storage and processing of performance indicator data was achieved.
Patent Information
- Application Number
- CN202510693312.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-27
- Publication Date
- 2026-11-27
AI Technical Summary
As the number of network elements in the field increases, the reporting delay of network element performance data causes database calculations to exceed the time limit, resulting in missing or inaccurate performance indicator data.
The system acquires network element performance data in real time by computing service nodes, starts computing threads to perform data calculations based on pre-loaded performance indicator formulas, and stores the results in the database, thereby reducing database pressure and achieving real-time data processing.
This ensures the real-time acquisition and accurate calculation of network element performance data, reduces the burden on the database, and improves the timeliness and accuracy of data processing.
Smart Images

Figure CN123185093A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication network management and data processing technology, and in particular to a data processing method, apparatus, operation and maintenance center, computer equipment, processor-readable storage medium, and computer program product. Background Technology
[0002] Currently, all performance metrics are obtained through periodic calculations of network element performance data by the database. In other words, the database periodically calculates performance metrics based on the network element performance data reported by each network element.
[0003] However, with the increase in the number of network elements under field management, the amount of network element performance data reported by these elements has also increased significantly, leading to delayed reporting of network element performance data. The database's periodic calculation of network element performance data can cause delays in the reporting of some network element performance data, resulting in some data not being included in the calculation beyond the scheduled calculation period, or the database calculation exceeding its expiration time. This, in turn, leads to missing or inaccurate performance indicator data or northbound counter data reported by the database to the network management system. Summary of the Invention
[0004] Therefore, it is necessary to provide a data processing method, apparatus, operation and maintenance center, computer equipment, processor-readable storage medium, and computer program product to address the aforementioned technical problems.
[0005] Firstly, this application provides a data processing method applied to a computing service node, the method comprising:
[0006] Real-time acquisition of network element performance data;
[0007] Based on network element performance data and pre-loaded performance indicator formulas, a calculation thread is started to perform data calculations, obtain performance indicator data, and store the performance indicator data in the database.
[0008] In some embodiments, before starting a calculation thread to perform data calculation based on network element performance data and pre-loaded performance indicator formulas to obtain performance indicator data, the method further includes:
[0009] Load performance metric formulas from the database;
[0010] The loaded performance metric formulas are cached in the computing service memory.
[0011] In some embodiments, loading performance metric formulas from a database includes:
[0012] Obtain performance metric formula information from the database's performance metric formula table or performance metric file;
[0013] Based on the indicator type in the performance indicator formula information, the arithmetic expression of the performance indicator is obtained, and the arithmetic expression of the performance indicator is transformed to obtain the performance indicator formula.
[0014] The converted performance index formulas are loaded using a preset method.
[0015] In some embodiments, if multiple network elements report network element performance data, a calculation thread is started to perform data calculation based on the network element performance data and performance indicator formulas to obtain performance indicator data, including:
[0016] Based on the number of network elements and the performance index formula, multiple computing threads are started to perform parallel data calculations on the network element performance data reported by each network element to obtain performance index data.
[0017] In some embodiments, real-time acquisition of network element performance data includes:
[0018] When the listening thread detects that the message middleware stores network element performance data reported by the network element, it retrieves the network element performance data from the message middleware in real time; or,
[0019] When the listening thread detects that the network element performance data reported by the network element is updated in the data storage file, it scans the data storage file in real time to obtain the network element performance data.
[0020] In some embodiments, if multiple network elements report network element performance data, a calculation thread is started to perform data calculation based on the network element performance data and pre-loaded performance indicator formulas to obtain performance indicator data, including:
[0021] Based on the number of network elements and the performance index formula, multiple computing threads are started to perform parallel data calculations on the network element performance data reported by each network element to obtain performance index data.
[0022] In some embodiments, if multiple network elements report network element performance data, the method further includes:
[0023] When the number of non-idle computing threads reaches the critical value supported by the computing service, the speed at which network element performance data is acquired is controlled.
[0024] In some embodiments, network element performance data corresponds to data processing priorities, and the method further includes:
[0025] Identify the data processing priority corresponding to network element performance data.
[0026] If the data processing priority is the first priority, then the step of starting a calculation thread to perform data calculation based on network element performance data and performance index formulas will be executed to obtain performance index data.
[0027] If the data processing priority is the second priority, the network element performance data will be transmitted to the database. The network element performance data will be used by the database to periodically calculate performance index data. The first priority takes precedence over the second priority.
[0028] Secondly, this application also provides an operation and maintenance center, which includes:
[0029] The computing service node is used to acquire network element performance data in real time; based on the network element performance data and pre-loaded performance indicator formulas, it starts computing threads to perform data calculations, obtains performance indicator data, and stores the performance indicator data in the database.
[0030] A database is used to store performance metric data.
[0031] In some embodiments, the database is also used to periodically report performance metric data to the network management system.
[0032] Thirdly, this application also provides a data processing apparatus for use in a computing service node, the apparatus comprising:
[0033] The acquisition module is used to acquire network element performance data in real time.
[0034] The first processing module is used to start a calculation thread to perform data calculation based on network element performance data and pre-loaded performance index formulas, obtain performance index data, and store the performance index data in the database.
[0035] In some embodiments, the device further includes:
[0036] The loading module is used to load performance metric formulas from the database;
[0037] The loaded performance metric formulas are cached in the computing service memory.
[0038] In some embodiments, the loading module is specifically used for:
[0039] Obtain performance metric formula information from the database's performance metric formula table or performance metric file;
[0040] Based on the indicator type in the performance indicator formula information, the arithmetic expression of the performance indicator is obtained, and the arithmetic expression of the performance indicator is transformed to obtain the performance indicator formula.
[0041] The converted performance index formulas are loaded using a preset method.
[0042] In some embodiments, the acquisition module is specifically used to acquire network element performance data from the message middleware in real time when the listening thread detects that the message middleware stores network element performance data reported by the network element; or...
[0043] When the listening thread detects that the network element performance data reported by the network element is updated in the data storage file, it scans the data storage file in real time to obtain the network element performance data.
[0044] In some embodiments, when multiple network elements report network element performance data, the first processing module is specifically used for:
[0045] Based on the number of network elements and the performance index formula, multiple computing threads are started to perform parallel data calculations on the network element performance data reported by each network element to obtain performance index data.
[0046] In some embodiments, if multiple network elements report network element performance data, the apparatus further includes:
[0047] The transmission control module is used to control the speed at which network element performance data is acquired when the number of non-idle computing threads reaches the critical value supported by the computing service.
[0048] In some embodiments, network element performance data corresponds to data processing priorities, and the apparatus further includes:
[0049] The identification module is used to identify the data processing priority corresponding to network element performance data.
[0050] The second processing module is used to execute the step of starting a calculation thread to perform data calculation based on network element performance data and performance index formulas, and obtaining performance index data if the data processing priority is the first priority.
[0051] The third processing module is used to transmit network element performance data to the database if the data processing priority is the second priority. The network element performance data is used by the database to periodically calculate performance index data. The first priority takes precedence over the second priority.
[0052] Fourthly, this application also provides a computer device, including a memory, a processor, and a transceiver, wherein the memory stores a computer program, and the transceiver is used to send and receive data under the control of the processor, and the processor executes the computer program to perform the following steps:
[0053] Real-time acquisition of network element performance data;
[0054] Based on network element performance data and performance index formulas, a calculation thread is started to perform data calculations, obtain performance index data, and store the performance index data in the database.
[0055] In some embodiments, the processor is specifically used for:
[0056] Load performance metric formulas from the database;
[0057] The loaded performance metric formulas are cached in the computing service memory.
[0058] In some embodiments, the processor is specifically used for:
[0059] Obtain performance metric formula information from the database's performance metric formula table or performance metric file;
[0060] Based on the indicator type in the performance indicator formula information, the arithmetic expression of the performance indicator is obtained, and the arithmetic expression of the performance indicator is transformed to obtain the performance indicator formula.
[0061] The converted performance index formulas are loaded using a preset method.
[0062] In some embodiments, the processor is specifically used for:
[0063] When the listening thread detects that the message middleware stores network element performance data reported by the network element, it retrieves the network element performance data from the message middleware in real time; or,
[0064] When the listening thread detects that the network element performance data reported by the network element is updated in the data storage file, it scans the data storage file in real time to obtain the network element performance data.
[0065] In some embodiments, when multiple network elements report network element performance data, the processor is specifically used for:
[0066] Based on the number of network elements and the performance index formula, multiple computing threads are started to perform parallel data calculations on the network element performance data reported by each network element to obtain performance index data.
[0067] In some embodiments, the processor is further configured to:
[0068] When the non-idle computing threads reach the critical value supported by the computing service, the speed at which network element performance data is acquired is controlled.
[0069] In some embodiments, network element performance data corresponds to data processing priorities, and the processor is further used for:
[0070] Identify the data processing priority corresponding to network element performance data.
[0071] If the data processing priority is the first priority, then the step of starting a calculation thread to perform data calculation based on network element performance data and performance index formulas will be executed to obtain performance index data.
[0072] If the data processing priority is the second priority, the network element performance data will be transmitted to the database. The network element performance data will be used by the database to periodically calculate performance index data. The first priority takes precedence over the second priority.
[0073] Fifthly, this application also provides a processor-readable storage medium having a computer program stored thereon, the computer program being executed by a processor using any of the methods described above.
[0074] Sixthly, this application also provides a computer program product, including a computer program that is executed by a processor using any of the methods described above.
[0075] The aforementioned data processing method, apparatus, operation and maintenance center, computer equipment, processor-readable storage medium, and computer program product acquire network element performance data in real time; based on the network element performance data and pre-loaded performance indicator formulas, a computing thread is initiated to perform data calculations, obtain performance indicator data, and store the performance indicator data in a database. This method replaces database stored procedures with computing services, migrating database calculations to computing service nodes and reducing database load. By transmitting network element performance data to computing service nodes, real-time acquisition of network element performance data and calculations performed on the network element performance data by the computing service nodes are achieved, ensuring the real-time nature of data calculations and improving data processing accuracy. Attached Figure Description
[0076] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0077] Figure 1 This is a diagram illustrating the application environment of the data processing method in this embodiment;
[0078] Figure 2 This is a flowchart illustrating the data processing method applied to the computing service node in this embodiment;
[0079] Figure 3 This is a flowchart illustrating the steps of loading the performance index formula in this embodiment;
[0080] Figure 4 This is a flowchart illustrating the steps of loading and converting the data to obtain the performance index formula in this embodiment.
[0081] Figure 5 This is a flowchart illustrating the steps for obtaining performance index data through parallel computation in this embodiment.
[0082] Figure 6 This is a flowchart illustrating the steps for transmitting network element performance data in this embodiment;
[0083] Figure 7This is a flowchart illustrating the steps for calculating performance index data based on data processing priority in this embodiment.
[0084] Figure 8 This is a signaling interaction timing diagram of a data processing method in this embodiment;
[0085] Figure 9 This is a structural block diagram of the data processing device in this embodiment;
[0086] Figure 10 This is a structural block diagram of the data processing device in this embodiment;
[0087] Figure 11 This is a diagram of the internal structure of the computer device in this embodiment. Detailed Implementation
[0088] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0089] In the embodiments of this application, the term "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following associated objects have an "or" relationship.
[0090] In the embodiments of this application, the term "multiple" refers to two or more, and other quantifiers are similar.
[0091] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0092] The data processing method provided in this application embodiment can be applied to, for example... Figure 1In the application environment shown, multiple network elements 100 (NEs) managed in the field communicate with the operation and maintenance center 200 (OMC) via the network. The OMC includes a server, a cache space (which may be a message broker), computing service nodes, and a database. Through the OMC, the network element performance data reported by the network elements is stored and calculated to obtain performance index data. The message broker given in this application is only one example and is not intended to limit the application environment corresponding to the data processing method in this application.
[0093] The multiple network elements 100 managed in the field can be, but are not limited to, BTS (Base Transceiver Station), BSC (Base Station Controller), eNodeB (4G base station), gNodeB (5G base station), MSC (Mobile Switching Center), SGSN (Serving GPRS Support Node), MME (Mobility Management Entity, 4G core network), AMF (Access and Mobility Management Function, 5G core network), SDH equipment, PTN (Packet Transport Network) equipment, routers, switches, etc. Alternatively, they can include OLT (Optical Line Terminal, central office equipment in a PON network), ONU (Optical Network Unit, user terminal equipment), etc.
[0094] The operation and maintenance center 200 can be a server cluster or distributed system consisting of multiple physical servers, or it can be a cloud server that provides cloud computing services.
[0095] In one exemplary embodiment, such as Figure 2 As shown, a data processing method is provided, which can be applied to... Figure 1 Taking the computing service node in the operation and maintenance center as an example, the explanation includes the following steps 202 to 204. Wherein:
[0096] Step 202: Obtain network element performance data in real time.
[0097] In practice, when the listening thread in the computing service node listens to the network element performance data reported by each network element, the computing service node obtains the network element performance data in real time.
[0098] Specifically, in the network element performance data processing architecture of a communication network, the computing service node undertakes the main data computation tasks. For example, taking the addition of a message middleware to the network element performance data processing architecture as an example, during the data computation process of the computing service node, the listening thread continuously maintains high-frequency monitoring of the message middleware. After the network element completes performance data collection, it encapsulates the data into a message of a specific format and pushes it to the message middleware for temporary storage. At this time, once the listening thread detects network element performance data reported by the network element in the message middleware, it immediately triggers the data acquisition mechanism. Through pre-defined communication protocols and data interfaces, the computing service node can quickly and accurately obtain network element performance data from the message middleware, preparing for subsequent performance indicator data calculation and analysis, ensuring the timeliness and effectiveness of data processing. For example, the network element performance data reported by each network element can also be stored in a preset data storage file. The computing service node continuously scans this data storage file. If the network element performance data is updated, the data acquisition mechanism is triggered. By scanning the data storage file, the updated network element performance data is obtained, thus preparing for subsequent performance indicator data calculation and analysis, and ensuring the timeliness and effectiveness of data processing.
[0099] Step 204: Based on the network element performance data and the pre-loaded performance index formulas, start the calculation thread to perform data calculation, obtain the performance index data, and store the performance index data in the database.
[0100] In implementation, the computing service node starts a computing thread based on the amount of network element performance data, and calculates the network element performance data based on the pre-loaded performance index formula to obtain the calculated performance index data of the reported network element. Then, the computing service node stores the performance index data to the database periodically.
[0101] Specifically, after the computing service node successfully acquires network element performance data, it performs a precise analysis of the data volume. Based on the data size, complexity, and the current load of the computing service node, it dynamically determines the number of computing threads required. If the data volume is small, the computing service node will start an appropriate number of computing threads to avoid resource waste; if the data volume is large, it will quickly start multiple computing threads to fully utilize the advantages of multi-core processors and process the network element performance data in parallel. After each computing thread starts, it quickly calls the pre-loaded performance indicator formulas from the computing service's memory. The network element performance data is then precisely calculated using the corresponding performance indicator formulas to ultimately obtain the performance indicator data.
[0102] After the calculations are completed, the computing service nodes periodically push these performance metrics data to the database according to a pre-defined time schedule. Specifically, during interaction with the database, the computing service nodes properly store the performance metrics data in the corresponding tablespaces and fields based on a pre-planned data storage structure. Simultaneously, the database performs rigorous data validation and integrity checks to ensure that each performance metric data entry is accurate and error-free. Furthermore, the database optimizes and manages the stored data through operations such as indexing and periodic archiving to ensure efficient data storage and queryability.
[0103] In the above data processing method, a computing service replaces the database stored procedure, migrating database computation to the computing service node and reducing database pressure. Network element performance data is transmitted to the computing service node, enabling real-time acquisition of this data and computation by the computing service node, ensuring real-time data processing and improving data processing accuracy.
[0104] In some embodiments, after the database stores the performance metrics data reported by the computing service node, the operation and maintenance center will report the obtained performance metrics data (i.e., northbound data) to the NMS in the form of a file, in accordance with the requirements of the NMS (Network Management System).
[0105] In some embodiments, such as Figure 3 As shown, prior to step 204, the method further includes:
[0106] Step 302: Load the performance metric formulas from the database.
[0107] In implementation, within the network element performance data processing architecture of the communication network, a computing service node is initiated. The computing service node then loads performance indicator formulas from the database. Specifically, the database pre-configures performance indicator formula tables or performance indicator files. When the computing service node needs to calculate network element performance data, it queries the performance indicator formula table or performance indicator file in the database. This table or file structurally stores various performance indicator formulas, including formula names, field types, field descriptions, and other field information. Based on preset search criteria and the data type of the network element performance data, as well as the indicator type of the performance indicator data to be calculated, the computing service node quickly locates and extracts the required performance indicator formula information and loads the formulas.
[0108] Step 304: Cache the loaded performance metric formulas to the computing service memory.
[0109] In implementation, the compute service node caches the loaded performance metric formulas in the compute service memory, such as Java memory. Specifically, after loading the performance metric formulas, the compute service node writes the loaded performance metric formula data to a designated area in the compute service memory for fast reading and retrieval of the performance metric formulas.
[0110] In this embodiment, performance indicator formulas are loaded from the database's performance indicator formula table or file and cached in the computing service's memory. This avoids the I / O operations and network transmission latency caused by repeatedly reading formulas from the database during each calculation, allowing computing service nodes to quickly retrieve formulas directly from the computing service's memory and process network element performance data promptly. Simultaneously, this effectively reduces database pressure, decreases frequent database access, ensures stable database operation, and frees up resources for other important database data operations.
[0111] In one exemplary embodiment, such as Figure 4 As shown, the specific process of loading the performance indicator formula from the database in step 302 includes:
[0112] Step 402: Obtain performance indicator formula information from the performance indicator formula table or performance indicator file in the database.
[0113] In implementation, the computing service node obtains performance indicator formula information from the performance indicator formula in the database or from the performance indicator file.
[0114] Specifically, when a computing service node needs to obtain performance metric formula information (before initiating performance metric data calculation), the computing service node will first establish a connection with the database. After a successful connection, the computing service node will conduct a comprehensive search in the performance metric formula table of the database according to preset query rules and conditions. Table 1 below shows an example performance metric formula table.
[0115] Table 1
[0116]
[0117] This performance formula table stores performance indicator formula information, providing basic data for the calculation service. Specifically, the leftmost column of the performance indicator formula table contains the field names of the stored formulas, and the rightmost column contains corresponding field descriptions. For example, the field description for GUIDELINE_NAME is the indicator name, and the field description for GUIDELINE_TYPE is the indicator type. Furthermore, the field descriptions for indicator types include four specific types: 1: Standard arithmetic expression; 2: Standard arithmetic expression with divisors; 3: Mathematical function arithmetic expression; 4: Complex calculation formula. This classification categorizes performance indicator formulas into these four types. The performance indicator formula table also stores indicator arithmetic expressions corresponding to the indicator types, as well as information related to the performance indicator formulas. This embodiment does not limit the specific content included in the performance indicator formula table.
[0118] Step 404: Based on the index type in the performance index formula information, obtain the arithmetic expression of the performance index, and convert the arithmetic expression of the performance index to obtain the performance index formula.
[0119] In implementation, when pre-constructing the performance index formula table, the formula information of various performance indices is organized and classified, so that each index type corresponds to a performance index arithmetic expression. For example, standard arithmetic expressions: a+b, (a+b)*c, a+b+cd, etc. Standard arithmetic expressions with divisors: (a+b) / c, (a+b) / (c+d); mathematical function arithmetic expressions: min(a), max(a), abs(a), etc. Here, 'a' and 'b' in the above arithmetic expressions are operands, which can be substituted with specific network element performance data. For complex calculation expressions, the calculation logic is complex and cannot be directly expressed by arithmetic expressions. They need to be implemented using program code, and the corresponding program code is compiled into a class file for storage. This embodiment of the application will not elaborate on this. Thus, when loading and applying performance indicator formulas, the computation service node determines the performance indicator arithmetic expression based on the indicator type in the performance indicator formula information. Then, for the obtained performance indicator arithmetic expression, the computation service node transforms it to obtain the transformed performance indicator formula. Specifically, standard arithmetic expressions do not require transformation. Standard arithmetic expressions containing divisors require divisor processing, which can be done using general tools to convert standard algorithm expressions containing divisors into program scripts (e.g., Java scripts) that include divisor checks. Mathematical function algorithm expressions require the data functions to be converted into code functions; for example, general tools can be used to replace mathematical functions in mathematical function algorithm expressions with Java functions. Complex calculation formulas, because they have already been compiled into class files, do not require transformation.
[0120] Step 406: Load the converted performance index formula using a preset method.
[0121] In implementation, after the arithmetic expression is converted, the computing service node loads the converted performance indicator formula using a preset method and stores it in the computing service memory. Specifically, after completing the conversion of the performance indicator arithmetic expression, the computing service node calls a preset formula compiler or formula loader to perform subsequent operations according to a pre-defined strategy. For example, for the converted performance indicator formulas corresponding to standard arithmetic expressions, standard algorithm expressions containing divisors, and mathematical function algorithm expressions, the conversion and loading are performed using a preset formula compiler (e.g., a Java compiler). For complex calculation formulas, no conversion is required, so they are directly loaded using a preset formula loader (e.g., a class loader), and the loaded performance indicator formula is stored in the Java space. Finally, regardless of whether it is compiled by a compiler or loaded by a loader, the final generated performance indicator formula is transferred to the computing service memory.
[0122] In this embodiment, the memory management module of the computing service node monitors the memory status in real time and dynamically allocates appropriate memory space based on the size of the formula data. The performance indicator formulas are stored in the computing service memory, facilitating quick and accurate access and invocation by subsequent computing threads of the computing service node. This greatly improves the response speed and processing efficiency of computing network element performance data, ensuring the smoothness and stability of the entire computing service process.
[0123] In some embodiments, under a microservice architecture, data is stored in other storage spaces to avoid direct storage in the database. This allows the computation of network element performance data from the database to be migrated to the computing service nodes. Therefore, the specific processing steps for obtaining network element performance data in real time in step 202 can include not only message middleware and file methods but also other methods. This application embodiment uses message middleware and file methods as an example. Other methods with the same functionality as message middleware or file methods have similar processing procedures and will not be elaborated upon in this application embodiment.
[0124] Method 1: When the listening thread detects that the message middleware stores network element performance data reported by the network element, it retrieves the network element performance data from the message middleware in real time.
[0125] In implementation, in the network element performance data processing architecture of the communication network, after each network element connects to the operation and maintenance center, each network element summarizes its network element performance data and writes it into a performance data file according to a preset period (e.g., 15 minutes). Within a short period of time (e.g., 5 minutes), it uses FTP (File Transfer Protocol) or SFTP (Secure File Transfer Protocol) to report all performance files to the specified server target path. In this way, the file scanning module in the operation and maintenance center will continuously scan the server path. After detecting the reported performance data file, it will immediately parse the network element performance data file. Then, the file scanning module will pass the network element performance data to the message middleware. When the listening thread in the computing service node detects that the message middleware stores the network element performance data reported by the network element, the computing service node obtains the network element performance data from the message middleware in real time, so as to start the calculation of the network element performance data of the network element through the computing service node.
[0126] Method 2: When the listening thread detects that the network element performance data reported by the network element is updated in the data storage file, it scans the data storage file in real time to obtain the network element performance data.
[0127] In implementation, within the network element performance data processing architecture of the communication network, each network element reports its performance data until it is submitted to a designated server target path. The data is then parsed by the file scanning module in the operation and maintenance center, as described in detail in Method 1. This process will not be described in detail here. The parsed network element performance data is then stored as a data storage file on the disk of the service where the computing service node resides. The listening thread of the computing service node continuously runs, monitoring this data storage file in real time and constantly capturing changes in its content. Once a network element reports new performance data, the newly reported data is stored as a corresponding data storage file. This file contains only the performance data reported by the network element in this round. The listening thread immediately detects the data storage file and initiates the scanning program. This program rapidly scans the data storage file, accurately extracting the newly added or modified performance data according to predetermined data formats and rules, ensuring that the network element performance data is obtained as soon as it is updated.
[0128] In this embodiment, the use of message middleware or data storage files ensures the timeliness and efficiency of data acquisition, while also enhancing the overall fault tolerance and robustness of the system. This ensures that network element performance data can be collected and processed comprehensively, accurately, and in a timely manner, providing a solid data foundation for network management and optimization.
[0129] In some embodiments, iterative adjustments to performance metrics in the performance metric formula table do not require complex operations. The system (operation and maintenance center) only needs to organize and develop new performance metric formulas, and then add, delete, or modify the performance metric formula information in the (database) performance metric formula table accordingly. Whether introducing new performance evaluation dimensions, removing performance metrics that are no longer applicable, or optimizing the calculation method of existing performance metrics, all can be easily completed without affecting the normal operation of other parts of operation and maintenance, without additional tedious work, greatly saving time and effort and improving the efficiency of system iteration.
[0130] For updating database performance metric formulas, the system (operation and maintenance center) does not need to restart the compute service node. It only needs to trigger the performance metric formula loading process within the compute service node, which will automatically load the updated formulas into its memory. This approach not only avoids the risk of system interruption and data loss that might occur from restarting the compute service node, but also ensures that the system can respond promptly to changes in performance metrics, achieving dynamic loading of performance metrics. Furthermore, because performance metric formulas can be easily added or deleted, the compute service node can flexibly adjust the performance evaluation system according to actual needs, ensuring the accuracy of the performance evaluation system.
[0131] In some embodiments, such as Figure 5 As shown, if multiple network elements report network element performance data, step 204 involves starting a calculation thread to perform data calculation based on the network element performance data and pre-loaded performance indicator formulas to obtain the performance indicator data. The specific processing steps include:
[0132] Step 501: Based on the number of network elements and the performance index formula, multiple computing threads are started to perform parallel data calculations on the network element performance data reported by each network element to obtain performance index data.
[0133] In implementation, to improve the computational efficiency of network element performance data, the computing service node can launch corresponding computing threads based on the number of network elements reporting performance data, thereby achieving parallel processing of network element performance data. Specifically, the computing service node implements a dynamic thread calculation mechanism that combines parallel and serial processing of computing threads to process network element performance data. That is, after the network element performance data is reported, the computing service node determines the number of threads to launch for this data computation based on the dynamic thread calculation mechanism and the number of network elements that reported the network element performance data. Then, based on the performance index formula, it allocates corresponding network element performance data to each thread, ensuring that each thread can run efficiently without wasting resources. For example, when the number of network elements reporting network element performance data is small, such as less than or equal to the maximum number of threads that can be opened within the computing service node, the computing service node will open the same number of computing threads as the number of network elements. In this way, a computing thread is allocated to the network element performance data reported by each network element, and these computing threads process the network element performance data in parallel to obtain performance index data. If the number of network elements is large, such as exceeding the maximum number of threads that can be opened within the computing service node, the computing service node will open the target number of currently available computing threads, and sort the network element performance data reported by each network element based on the data computing tasks associated with each network element or the data processing priority of the network element performance data. The current target number of computing threads will prioritize processing the network element performance data with higher data processing priority, and then further process the subsequent network element performance data, so that the network element performance data reported by each network element is processed serially within each computing thread, thereby obtaining the performance index data after processing the network element performance data.
[0134] Optionally, in the data processing of network element performance data, in addition to adjusting the number of threads started in the computing service node and sorting the network element performance data to be processed by each thread according to the data processing priority, the load of each thread can also be controlled by controlling the acquisition speed of network element performance data, so as to avoid excessive backlog of data to be processed for the computing threads and system overload. The method of controlling the load of each thread by controlling the acquisition speed of network element performance data will be described in detail in the following embodiments, and will not be repeated here.
[0135] In this way, the combination of these two computing resource adjustment strategies ensures that network element performance data can be processed efficiently and orderly in high-concurrency or resource-constrained scenarios, ensuring the stable operation of computing services and ultimately generating accurate performance indicator data.
[0136] In this embodiment, computing threads are allocated according to the number of network elements reporting network elements, making full use of the computing resources of the computing service nodes. This allows the entire network element data computing process to be completed in the computing service nodes, reducing database pressure. Furthermore, each thread completes the computing task of network element performance data in parallel, improving the computing efficiency of network element performance data.
[0137] In some embodiments, such as Figure 6 As shown, if multiple network elements report network element performance data, the method further includes:
[0138] Step 601: When the number of non-idle computing threads reaches the critical value supported by the computing service, control the speed of acquiring network element performance data.
[0139] In implementation, since the number of threads in a computing service node cannot be infinitely expanded, the amount of data that a computing service node can process in parallel is also limited. Therefore, when multiple network elements simultaneously report network element performance data, and the amount of data reported by these multiple network elements reaches the critical value supported by the number of non-idle computing threads in the computing service node, the computing service node begins to control the speed at which it acquires network element performance data. Specifically, when multiple network elements simultaneously report network element performance data, data traffic surges. Once the accumulated data volume approaches the processing limit that the non-idle computing threads in the computing service node can handle, i.e., reaching the critical value supported by the computing service, the listening threads in the computing service node dynamically monitor the data accumulation in the cache space (such as message middleware or data storage files). Based on the load status and processing capacity of the computing threads, they proactively adjust the frequency and rate at which they retrieve network element performance data from the cache space. By reducing the data acquisition speed, problems such as overloaded computing threads, processing delays, or even crashes due to data overload are avoided, ensuring that computing resources are rationally allocated and achieving a dynamic balance between data acquisition and processing.
[0140] In the process of processing network element performance data, when the number of network elements exceeds the upper limit of the number of threads on the computing service node, or the number of non-idle computing threads approaches the critical value, resource utilization can be optimized through dynamic strategies. Simultaneously, the overall processing capacity can be improved by combining the computing node expansion mechanism. For example, when the number of network elements is too large, the computing service node will sort the network element performance data according to the data computing task or data processing priority, and activate the target number of computing threads for serial processing. Furthermore, if the number of computing threads approaches the critical value for the current total number of computing threads, the listening thread will control the data acquisition speed of the message middleware to avoid overload. In addition, if a single computing service node cannot handle the data processing load, the number of computing service nodes can be expanded as needed, deploying multiple computing service nodes to process data in parallel. The nodes cooperate with each other, ensuring the orderly processing of data within a single node while improving overall processing efficiency through cluster collaboration. This ensures that massive amounts of network element performance data are promptly transformed into accurate performance indicator data, achieving stable and efficient computing services.
[0141] Optionally, if the number of network elements reporting network element performance data is small, and consequently the overall amount of reported network element performance data is small, then the processing capacity of the non-idle computing threads in the computing service node is sufficient to handle the current amount of data to be processed. The computing service node will send a control command to the message middleware, allowing the computing service node to obtain network element performance data from the message middleware at a normal rate.
[0142] In this embodiment, the pace of obtaining network element performance data from the message middleware is flexibly adjusted according to the actual carrying capacity of computing resources, so that the data input matches the computing processing capacity. This not only prevents data processing queue overflow and reduces the risk of task loss, but also improves the utilization rate of computing resources, ensuring that the system always maintains high-efficiency operation and providing strong support for the timely and accurate processing of network element performance data.
[0143] In one exemplary embodiment, such as Figure 7 As shown, regarding the method of migrating the entire calculation process of network element performance data to the computing service node, this application embodiment also supports a method of calculating network element performance data in stages, that is, dividing the network element performance data, with one part of the network element performance data being calculated at the computing service node and the other part being calculated in the database. Specifically, the network element performance data corresponds to a data processing priority, and the method further includes:
[0144] Step 702: Identify the data processing priority corresponding to the network element performance data.
[0145] In implementation, data processing priorities may include, but are not limited to, a first priority and a second priority, where the first priority takes precedence over the second priority, meaning that network element performance data representing the first priority is processed first. Thus, when multiple network elements cache network element performance data through a cache space (e.g., a message middleware), the computing service node can obtain and identify the data processing priority of the network element performance data reported by each network element in the cache space.
[0146] Optionally, in scenarios involving network element performance data processing, a reasonable prioritization of data processing is crucial for efficiently completing data processing tasks. A more precise division of network element performance data can be achieved based on a first-priority and second-priority framework. That is, the computing service node can further refine the granularity of data processing priorities based on the existing first-priority and second-priority criteria. For example, for network element performance data at the first priority level, it can be divided into multiple sub-priorities based on factors such as the importance of the network element associated with the data and the urgency of the data for monitoring network operation status. Similarly, for data at the second priority level, a more detailed priority division can be made according to dimensions such as data volume and data update frequency. Therefore, this application does not limit the data processing priority of network element performance data.
[0147] Step 704: If the data processing priority is the first priority, then execute the step of starting a calculation thread to perform data calculation based on network element performance data and pre-loaded performance index formulas to obtain performance index data.
[0148] In implementation, if the data processing priority of some or all network element performance data is identified as first priority, it indicates that the current network element performance data needs to be calculated in a timely manner. Therefore, a calculation thread is started in the computing service node, and the performance index data corresponding to the network element performance data is calculated based on the loaded performance index formula. The process of calculating the performance index data has been described in step 204 of the above embodiment, and will not be repeated here.
[0149] Step 706: If the data processing priority is the second priority, then the network element performance data is transmitted to the database.
[0150] Among them, network element performance data is used to periodically calculate performance index data in the database.
[0151] In implementation, if the data processing priority of some or all network element performance data is identified as the second priority, it indicates that the current network element performance data can be temporarily deferred. Therefore, the computing service node can be relieved of its computing pressure. The computing service node transmits the network element performance data to the database, and the database performs data calculations on the network element performance data periodically to obtain the performance index data corresponding to the part or all of the network element performance data.
[0152] In this embodiment, efficient and reasonable resource allocation and task scheduling are achieved by prioritizing network element performance data. For network element performance data of the first priority, a computing thread is started for real-time calculation, ensuring rapid processing of critical and time-sensitive data. For network element performance data of the second priority, it is transmitted to the database for periodic calculation, avoiding excessive occupation of system resources, while also ensuring that non-urgent data is properly handled, thereby improving overall data processing efficiency, reducing system load, and optimizing the data processing flow.
[0153] In one exemplary embodiment, such as Figure 8 As shown, Figure 8 This is a signaling interaction timing diagram for a data processing method. Figure 8 The signaling interaction instance, which includes data processing methods, takes the cache space as the message middleware as an example, and includes:
[0154] Step 800: The compute service node is pre-started and the performance metric formula is loaded into the compute service cache.
[0155] Step 801: The network element reports its performance data file;
[0156] Step 802: The parsing service module scans the performance data file and parses the performance data file to obtain the network element performance data;
[0157] Step 803: Send the network element performance data to the message middleware;
[0158] Step 804: The message middleware receives the parsed network element performance data;
[0159] Step 805: The computing service node obtains network element performance data from the message middleware;
[0160] Step 806: The computing service node starts computing threads. When the number of network elements reporting network element performance data is small, and the listening thread detects a small amount of network element performance data, the number of computing threads can be equal to the number of network elements. When the number of network elements reporting network element performance data is large, and the listening thread detects a large amount of network element performance data, the number of computing threads is less than the number of network elements, and the computing service node controls the acquisition speed of the network element performance data.
[0161] Step 807: Calculate the service node traversal performance metrics;
[0162] Step 808: Calculate the performance index formula for the service node to obtain the cache, and obtain the input parameter data to be calculated from the network element performance data;
[0163] Step 809: The computing service node calls the performance index formula and calculates the network element performance data based on the computing thread to obtain the performance index data.
[0164] Step 810: The computing service node performs batch storage of performance indicator data.
[0165] Step 811: The database processes the performance metric data for storage.
[0166] In one embodiment, an operation and maintenance center is provided, comprising:
[0167] The computing service node is used to acquire network element performance data in real time; based on the network element performance data and performance index formulas, it starts computing threads to perform data calculations, obtains performance index data, and stores the performance index data in the database.
[0168] A database is used to store performance metric data.
[0169] In some embodiments, the computing service node is also used to load performance metric formulas from the database;
[0170] The loaded performance metric formulas are cached in the computing service memory.
[0171] In some embodiments, the computing service node is specifically used to obtain performance metric formula information from the database;
[0172] Based on the indicator type in the performance indicator formula information, the arithmetic expression of the performance indicator is obtained, and the arithmetic expression of the performance indicator is transformed to obtain the performance indicator formula.
[0173] The converted performance index formulas are loaded using a preset method.
[0174] In some embodiments, the computing service node is further configured to retrieve network element performance data from the message middleware in real time when the listening thread detects that the message middleware stores network element performance data reported by the network element; or,
[0175] When the listening thread detects that the network element performance data reported by the network element is updated in the data storage file, it scans the data storage file in real time to obtain the network element performance data.
[0176] In some embodiments, the computing service node is specifically used to start multiple computing threads to perform parallel data calculations on the network element performance data reported by each network element based on the number of network elements and the performance index formula, so as to obtain performance index data.
[0177] In some embodiments, the computing service node is specifically used to control the speed at which it acquires network element performance data when the number of non-idle computing threads reaches a critical value supported by the computing service.
[0178] In some embodiments, the computing service node is further configured to identify the data processing priority corresponding to the network element performance data.
[0179] If the data processing priority is the first priority, then the process of starting a calculation thread to perform data calculation based on network element performance data and pre-loaded performance index formulas will be executed to obtain performance index data.
[0180] If the data processing priority is the second priority, the network element performance data will be transmitted to the database; the network element performance data is used by the database to periodically calculate performance index data; the first priority takes precedence over the second priority.
[0181] In some embodiments, the database is also used to periodically report performance metric data to the network management system.
[0182] In some embodiments, the operation and maintenance center also includes:
[0183] The message middleware is used to cache and parse network element performance data parsed by the server.
[0184] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0185] Based on the same inventive concept, this application also provides a data processing apparatus for implementing the data processing method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more data processing apparatus embodiments provided below can be found in the limitations of the data processing method described above, and will not be repeated here.
[0186] Reference Figure 9 This is a schematic diagram of the structure of the data processing device 900 provided in the embodiments of this application, as shown below. Figure 9 As shown, the data processing device 900 is applied to a computing service node and may include: an acquisition module 901 and a first processing module 902; wherein:
[0187] Module 901 is used to acquire network element performance data in real time;
[0188] The first processing module 902 is used to start a calculation thread to perform data calculation based on network element performance data and pre-loaded performance index formulas, obtain performance index data, and store the performance index data in the database.
[0189] In some embodiments, the data processing apparatus 900 further includes:
[0190] The loading module is used to load performance metric formulas from the database;
[0191] The caching module is used to cache the loaded performance metric formulas to the memory of the computing service.
[0192] In some embodiments, the loading module is specifically used for:
[0193] Obtain performance metric formula information from the database's performance metric formula table or performance metric file;
[0194] Based on the indicator type in the performance indicator formula information, the arithmetic expression of the performance indicator is obtained, and the arithmetic expression of the performance indicator is transformed to obtain the performance indicator formula.
[0195] The converted performance index formulas are loaded using a preset method.
[0196] In some embodiments, the acquisition module 902 is specifically used for:
[0197] When the listening thread detects that the message middleware stores network element performance data reported by the network element, it retrieves the network element performance data from the message middleware in real time; or,
[0198] When the listening thread detects that the network element performance data reported by the network element is updated in the data storage file, it scans the data storage file in real time to obtain the network element performance data.
[0199] In some embodiments, when multiple network elements report network element performance data, the first processing module 902 is specifically used for:
[0200] Based on the number of network elements and the performance index formula, multiple computing threads are started to perform parallel data calculations on the network element performance data reported by each network element to obtain performance index data.
[0201] In some embodiments, if multiple network elements report network element performance data, the data processing device 900 further includes:
[0202] This transmission control module is used to control the speed at which network element performance data is acquired when the number of non-idle computing threads reaches the critical value supported by the computing service.
[0203] In some embodiments, network element performance data corresponds to data processing priorities, and the data processing device 900 further includes: an identification module, wherein:
[0204] This identification module is used to identify the data processing priority corresponding to network element performance data.
[0205] The second processing module is used to execute the step of starting a calculation thread to perform data calculation based on network element performance data and pre-loaded performance index formulas if the data processing priority is the first priority, so as to obtain the performance index data.
[0206] The third processing module is used to transmit network element performance data to the database if the data processing priority is the second priority.
[0207] Among them, network element performance data is used to calculate performance index data from database periodic data calculations; the first priority takes precedence over the second priority.
[0208] Reference Figure 10 This is a schematic diagram of the structure of the data processing device 1000 provided in the embodiments of this application, as shown below. Figure 10 As shown, the data processing device 1000 is applied to a message middleware and may include: a receiving module 1001 and a sending module 1002; wherein:
[0209] The receiving module 1001 is used to receive network element performance data in real time. The network element performance data is obtained by parsing the performance data files reported by each network element through the parsing service module in the operation and maintenance center.
[0210] The sending module 1002 is used to send network element performance data to the computing service node, instructing the computing service node to start a computing thread to perform data calculation based on the network element performance data and the pre-loaded performance index formula, obtain performance index data, and store the performance index data in the database.
[0211] It should be noted that the data processing device 1000 and the data processing device 1000 provided in this application embodiment can implement all the method steps implemented in the data processing method embodiment executed by the computing service node, and can achieve the same technical effect. Here, the parts that are the same as those in the method embodiment and the beneficial effects will not be described in detail.
[0212] Each module in the aforementioned data processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0213] It should be noted that the module division in the embodiments of this application is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods. Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0214] If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application.
[0215] In one exemplary embodiment, a computer device is provided, comprising a processor, memory, a transceiver, an input / output interface (I / O), and a communication interface. The processor, memory, and transceiver are connected via a system bus, and the communication interface is connected to the system bus via the I / O interface. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the computer device stores network element performance data, performance index data, etc. The I / O interface of the computer device is used for exchanging information between the processor and external devices. The communication interface of the computer device is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements a data processing method.
[0216] Those skilled in the art will understand that Figure 11 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.
[0217] In some embodiments, a computer device is also provided, including a memory, a processor, and a transceiver; wherein the memory stores a computer program, and the transceiver is used to send and receive data under the control of the processor; when the processor executes the computer program, it performs the following steps:
[0218] Real-time acquisition of network element performance data;
[0219] Based on network element performance data and pre-loaded performance indicator formulas, a calculation thread is started to perform data calculations, obtain performance indicator data, and store the performance indicator data in the database.
[0220] In some embodiments, when a processor executes a computer program, it performs the following steps:
[0221] Load performance metric formulas from the database;
[0222] The loaded performance metric formulas are cached in the computing service memory.
[0223] In some embodiments, when a processor executes a computer program, it performs the following steps:
[0224] Obtain performance metric formula information from the database's performance metric formula table or performance metric file;
[0225] Based on the indicator type in the performance indicator formula information, the arithmetic expression of the performance indicator is obtained, and the arithmetic expression of the performance indicator is transformed to obtain the performance indicator formula.
[0226] The converted performance index formulas are loaded using a preset method.
[0227] In some embodiments, when a processor executes a computer program, it performs the following steps:
[0228] When the listening thread detects that the message middleware stores network element performance data reported by the network element, it retrieves the network element performance data from the message middleware in real time; or,
[0229] When the listening thread detects that the network element performance data reported by the network element is updated in the data storage file, it scans the data storage file in real time to obtain the network element performance data.
[0230] In some embodiments, when a processor executes a computer program, it performs the following steps:
[0231] Based on the number of network elements and the performance index formula, multiple computing threads are started to perform parallel data calculations on the network element performance data reported by each network element to obtain performance index data.
[0232] In some embodiments, when a processor executes a computer program, it performs the following steps:
[0233] When the number of non-idle computing threads reaches the critical value supported by the computing service, the speed at which network element performance data is acquired is controlled.
[0234] In some embodiments, when a processor executes a computer program, it performs the following steps:
[0235] Identify the data processing priority corresponding to network element performance data.
[0236] If the data processing priority is the first priority, then the process of starting a calculation thread to perform data calculation based on network element performance data and pre-loaded performance index formulas will be executed to obtain performance index data.
[0237] If the data processing priority is the second priority, the network element performance data will be transmitted to the database; the network element performance data is used by the database to periodically calculate performance index data; the first priority takes precedence over the second priority.
[0238] In one embodiment, a processor-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0239] The processor-readable storage medium can be any available medium or data storage device that the processor can access, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MOs), etc.), optical storage (such as CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (such as ROMs, EPROMs, EEPROMs, non-volatile memory (NAND flash), solid-state drives (SSDs)).
[0240] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0241] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0242] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-executable instructions. These computer-executable instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0243] 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. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0244] The technical features of the above embodiments can be combined arbitrarily without contradiction. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as the combination of these technical features does not contradict each other, it should be considered to be within the scope of this application.
[0245] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this 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 application should be determined by the appended claims.
Claims
1. A data processing method, characterized in that, Applied to computing service nodes, the method includes: Real-time acquisition of network element performance data; Based on the network element performance data and the pre-loaded performance indicator formulas, a calculation thread is started to perform data calculations, obtain performance indicator data, and store the performance indicator data in the database.
2. The method according to claim 1, characterized in that, Before starting a calculation thread to perform data calculation based on the network element performance data and pre-loaded performance indicator formulas to obtain the performance indicator data, the method further includes: Load performance metric formulas from the database; The loaded performance metric formulas are cached in the computing service memory.
3. The method according to claim 2, characterized in that, The process of loading performance metric formulas from the database includes: Retrieve performance metric formula information from the database; Based on the index type in the performance index formula information, the arithmetic expression of the performance index is obtained, and the arithmetic expression of the performance index is transformed to obtain the performance index formula. The converted performance index formulas are loaded using a preset method.
4. The method according to claim 1, characterized in that, The real-time acquisition of network element performance data includes: When the listening thread detects that the message middleware stores network element performance data reported by the network element, it retrieves the network element performance data from the message middleware in real time; or, When the listening thread detects that the network element performance data reported by the network element is updated in the data storage file, it scans the data storage file in real time to obtain the network element performance data.
5. The method according to claim 1, characterized in that, If multiple network elements report network element performance data, the process involves starting a calculation thread based on the network element performance data and pre-loaded performance indicator formulas to calculate the performance indicator data, including: Based on the number of network elements and the performance index formula, multiple computing threads are started to perform parallel data calculations on the network element performance data reported by each network element to obtain performance index data.
6. The method according to claim 5, characterized in that, If multiple network elements report network element performance data, the method further includes: When the number of non-idle computing threads reaches the critical value supported by the computing service, the speed at which network element performance data is acquired is controlled.
7. The method according to claim 1, characterized in that, The network element performance data corresponds to a data processing priority, and the method further includes: Identify the data processing priority corresponding to the network element performance data. If the data processing priority is the first priority, then the step of starting a calculation thread to perform data calculation based on the network element performance data and the pre-loaded performance index formula is executed to obtain the performance index data. If the data processing priority is the second priority, then the network element performance data is transmitted to the database; wherein, the network element performance data is used by the database to periodically calculate performance index data; the first priority takes precedence over the second priority.
8. An operation and maintenance center, characterized in that, The operation and maintenance center includes: A computing service node is configured to execute the data processing method according to any one of claims 1 to 7; A database is used to store the performance metric data.
9. The operation and maintenance center according to claim 8, characterized in that, The database is also used to periodically report the performance index data to the network management system.
10. A data processing apparatus, characterized in that, The device, applied to a computing service node, includes: The acquisition module is used to acquire network element performance data in real time. The processing module is used to start a calculation thread to perform data calculation based on the network element performance data and the pre-loaded performance index formula, obtain the performance index data, and store the performance index data in the database.
11. A computer device, characterized in that, It includes a memory, a processor, and a transceiver; wherein the memory stores a computer program, and the transceiver is used to send and receive data under the control of the processor; when the processor executes the computer program, it performs the following steps: Real-time acquisition of network element performance data; Based on the network element performance data and the pre-loaded performance indicator formulas, a calculation thread is started to perform data calculations, obtain performance indicator data, and store the performance indicator data in the database.
12. A processor-readable storage medium having a computer program stored thereon, 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 7.
