A communication network optimization method, device and equipment considering power consumption
By constructing a node power consumption model and a compatibility model, the bank data transmission communication network is optimized, solving the problem of difficulty in balancing speed and compatibility in bank data transmission, and achieving efficient and reliable data transmission.
Patent Information
- Application Number
- CN202410961993.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-07-18
AI Technical Summary
It is difficult for the communication network in bank data transmission to take into account both speed and compatibility, resulting in low data transmission efficiency and complex topology, which affects the reliability and security of data transmission.
By acquiring historical communication data and network data, we build a node power consumption model and compatibility model, predict transmission rate requirements, optimize communication paths to reduce power consumption, and ensure the rate and compatibility of data transmission.
It achieves optimal power consumption calculation under different communication protocols and hardware configurations, improves data processing efficiency, reduces operating costs, and ensures the reliability and security of data transmission.
Smart Images

Figure CN118509336B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information technology, and in particular to a communication network optimization method, device and equipment considering power consumption. Background Art
[0002] When building a communication network model for bank data transmission, we are faced with a complex technical contradiction: in order to meet the needs of banking business for data communication networks, a large number of highly compatible nodes need to be deployed in the network. However, on the one hand, the existing communication network is difficult to ensure seamless connection and protocol compatibility between a large number of highly compatible nodes. On the other hand, data transmission in banking business scenarios usually involves multiple branches and data centers. The existence of a large number of highly compatible nodes also further complicates the topology of the communication network, thereby affecting the data transmission efficiency.
[0003] Traditional banking data transmission methods are difficult to take into account both speed and compatibility at the same time. Therefore, in the hybrid communication network of banking data transmission, it is necessary to design an optimized communication network method to ensure the speed and compatibility of data transmission. Summary of the invention
[0004] The present invention aims to provide a communication network optimization method, device and equipment taking power consumption into consideration, so as to solve the technical problem of how to optimize the communication network to ensure the rate and compatibility of communication data transmission, thereby improving data processing efficiency and ensuring the reliability and security of data transmission.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides a communication network optimization method considering power consumption, including:
[0006] Respectively acquiring historical communication data and communication network data in the target system, wherein the communication network data at least includes a number of connection nodes in the target system;
[0007] Analyzing the historical communication data and the communication network data to obtain power consumption results of each connection node under different limiting conditions, thereby constructing a node power consumption model;
[0008] Inputting the detected current communication transmission data into a pre-built compatibility model to obtain compatibility requirement data of the target system, constructing a comprehensive evaluation model based on the compatibility requirement data and the node power consumption model, inputting the historical communication data into the comprehensive evaluation model, and predicting the transmission rate requirement data of the target system;
[0009] Obtaining communication path requirement data based on the transmission rate requirement data and the compatibility requirement data;
[0010] The communication network of the target system is adjusted accordingly according to the communication path requirement data.
[0011] As one of the preferred solutions, the historical communication data and the communication network data are analyzed to obtain the power consumption results of each connection node under different limiting conditions, thereby constructing a node power consumption model, including:
[0012] constructing a hybrid communication model based on the communication network data;
[0013] Acquire network performance data of each node in the communication network according to the hybrid communication model, and establish a correlation model between node performance and protocol usage by using machine learning-based correlation analysis and statistics-based correlation analysis methods;
[0014] Based on the association model and historical communication data, a simulation environment is constructed through data transmission simulation technology, and various network element devices are deployed in the simulation environment to obtain CPU utilization and memory usage of various network element devices under different working conditions, and an energy consumption estimation model is established by comprehensively considering the device type, working status and ambient temperature;
[0015] The power consumption reference value of each compatible node is obtained according to the energy consumption estimation model, and a node power consumption model is constructed.
[0016] As one preferred solution, the step of constructing a hybrid communication model according to the communication network data includes:
[0017] Acquire the bank's current communication network data, wherein the communication network data includes the physical characteristics and logical connection relationships of the communication lines;
[0018] Generate a network topology diagram according to the physical characteristics and logical connection relationship of the communication line;
[0019] By using time series analysis and statistical methods, a hybrid communication model is constructed based on the performance indicators of each node and link in the network topology diagram.
[0020] As one preferred solution, the constructing of the hybrid communication model according to the communication network data further includes:
[0021] By analyzing the communication protocols used by each node in the hybrid communication model, the compatibility of the communication protocols is obtained;
[0022] As one preferred solution, after obtaining the compatibility of the communication protocol, the method further includes:
[0023] According to the OSI reference model, sort out the functions and services of various protocols at different layers;
[0024] By comparing the layers of various protocols in the OSI reference model, analyzing the data unit formats of the protocols, and studying the working principles and processes of the protocols, the correspondence between the protocols can be found, and the state transition and interaction processes can be identified.
[0025] As one preferred solution, obtaining the communication path requirement data based on the transmission rate requirement data and the compatibility requirement data includes:
[0026] The multi-objective optimization model of the communication path is constructed by integrating data transmission requirement data, compatibility requirement data and path energy consumption;
[0027] According to the multi-objective optimization model, a multi-objective evolutionary algorithm is adopted to generate a globally optimal communication path set through the elite retention strategy and the maintenance of the Pareto optimal solution set.
[0028] As one preferred solution, after obtaining the communication path requirement data, the method further includes:
[0029] By simulating the transmission process of the communication path requirement data, it is determined whether the simulated data transmission rate meets the predicted data transmission rate requirement; if it does not meet the rate requirement, the connection node of the communication path requirement data is adjusted, including improving the parameter configuration of the connection node.
[0030] Another embodiment of the present invention provides a communication network optimization device considering power consumption, including:
[0031] An acquisition module, used to respectively acquire historical communication data and communication network data in a target system, wherein the communication network data at least includes a number of connection nodes in the target system;
[0032] A construction module, used to analyze the historical communication data and the communication network data to obtain power consumption results of each connection node under different limiting conditions, thereby constructing a node power consumption model;
[0033] A prediction module, used for inputting the detected current communication transmission data into a pre-built compatibility model to obtain compatibility requirement data of the target system, constructing a comprehensive evaluation model according to the compatibility requirement data and the node power consumption model, inputting the historical communication data into the comprehensive evaluation model, and predicting the transmission rate requirement data of the target system;
[0034] An output module, configured to obtain communication path requirement data based on the transmission rate requirement data and the compatibility requirement data;
[0035] The optimization module is used to adjust the communication network of the target system according to the communication path requirement data.
[0036] Yet another embodiment of the present invention provides a computer device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the communication network optimization method considering power consumption as described above when executing the computer program.
[0037] Yet another embodiment of the present invention provides a computer-readable storage medium storing a computer program, wherein when a device where the computer-readable storage medium is located executes the computer program, the communication network optimization method considering power consumption as described above is implemented.
[0038] Compared with the prior art, the embodiments of the present invention have the following advantages:
[0039] 1) The present invention optimizes the power consumption of each communication node while ensuring data transmission rate and compatibility. By constructing a hybrid communication model and a node power consumption model, the optimal power consumption calculation under different communication protocols and hardware configurations is achieved.
[0040] 2) The present invention simulates and optimizes the performance of bank data transmission and communication networks, which not only helps banks improve data processing efficiency and reduce operating costs, but also ensures the reliability and security of data transmission; through such simulation and optimization, banks can better adapt to the ever-changing technological needs and market environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 is a flow chart of a communication network optimization method considering power consumption in one embodiment of the present invention;
[0042] Figure 2 is a schematic structural diagram of a communication network optimization device considering power consumption in one embodiment of the present invention;
[0043] Figure 3 It is a schematic diagram of a communication network optimization device taking power consumption into consideration in one embodiment of the present invention. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. The purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0045] In the description of this application, the terms "first", "second", "third", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", "third", etc. may explicitly or implicitly include one or more of the feature. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0046] In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be a connection between the two elements. The terms "vertical", "horizontal", "left", "right", "upper", "lower" and similar expressions used herein are only for illustrative purposes, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0047] In the description of this application, it should be noted that, unless otherwise defined, all technical and scientific terms used in the present invention have the same meaning as those commonly understood by those skilled in the art. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood by specific circumstances.
[0048] An embodiment of the present invention provides a communication network optimization method considering power consumption. For details, see Figure 1 , Figure 1 The flowchart of the communication network optimization method considering power consumption provided in one embodiment of the present invention is shown, which includes steps S1 to S5:
[0049] S1. Acquire historical communication data and communication network data in the target system respectively, wherein the communication network data at least includes a number of connection nodes in the target system;
[0050] Specifically, historical data transmission information in the banking system is obtained, including external business data, internal business data, and user account data, and a data transmission model is established. By analyzing historical data transmission information, the flow characteristics of data in different business scenarios are obtained, including data flow direction, flow size, frequency and other attributes, and key parameters in the data transmission model are determined based on these attributes, such as the connection matrix and weights between nodes. According to the connection between each node in the data transmission model, a weighted graph is constructed, and then the Prim or Kruskal algorithm is used to find the minimum spanning tree to obtain the optimal path for data transmission. The input of the algorithm is the connection matrix and weights between nodes, and the output is the path of the minimum spanning tree.
[0051] On this basis, a time series prediction model based on LSTM is introduced. Through training of historical transmission data, the data transmission mode in different business scenarios is learned. The input of the model is various indicators of historical transmission data, such as data volume and frequency, and the output is the predicted value at the next moment. When there is a large deviation between the actual transmission data and the predicted value, the model parameters are adjusted in time to dynamically optimize the data transmission model. Considering the sensitivity and security of bank data, a security protection mechanism is added to the data transmission model. Sensitive data is encrypted by AES, and the encryption key is generated by the RSA algorithm. Encryption and decryption modules are deployed at the sending and receiving ends of data transmission to ensure that data is not stolen or tampered with during transmission. At the same time, a data transmission monitoring system is established to monitor abnormal conditions in the data transmission process in real time, such as sudden increase or decrease in data transmission volume, abnormal transmission frequency, incomplete data content, etc.
[0052] According to the statistical characteristics of historical data, set the threshold for abnormal judgment. When the real-time monitored data indicators exceed the threshold, trigger the warning and start the emergency disposal process, such as interrupting transmission and alarming. In abnormal situations, there is also a need for data recovery and retransmission mechanisms to ensure data integrity. In order to ensure the continued effectiveness of the data transmission model, the model needs to be evaluated and optimized regularly. According to the changes in banking business and the development of technology, the parameters and algorithms in the model are updated in a timely manner to continuously improve the efficiency and security of data transmission. Through continuous optimization and improvement, the data transmission model can meet the needs of banking business development in the long term.
[0053] For example, when obtaining historical data of the banking system, ETL tools such as Informatica or Talend can be used to extract data from the database of each business system, and then clean and transform it according to the predefined data model to generate a standardized data transmission log. By analyzing these logs, the statistical characteristics of data flow in different business scenarios can be obtained. For example, for inter-bank transfer business, the average transfer amount per day is 500,000 yuan, and the peak period occurs between 10 and 11 o'clock, accounting for 30% of the total daily transaction volume. Using these statistical data, a weighted graph model for data transmission can be constructed. The nodes in the graph represent each business system, and the weight of the edge represents the frequency or magnitude of data transmission. Then, the Prim algorithm is used to solve the minimum spanning tree, with a time complexity of O(ElogV), where E is the number of edges and V is the number of nodes. Through the minimum spanning tree, the optimal path with the smallest transmission delay can be obtained, and the high-frequency interactive systems can be deployed in adjacent positions on the network topology. At the same time, the LSTM neural network is used to train the historical transmission data. The input nodes are indicators such as transaction volume and response time in the past 24 hours, the hidden layer contains 128 neurons, and the output node is the predicted transaction volume in the next hour. When the difference between the predicted value and the actual value exceeds 20%, an alarm is triggered and the relevant parameters in the transmission model are dynamically adjusted.
[0054] For sensitive data such as customer identity information, AES-256 encryption is used with a key length of 256 bits. A one-time random key is used for each session, and the RSA key pair is updated regularly. A data transmission monitoring system is established to monitor key indicators such as transmission delay and packet loss rate in real time. When the delay exceeds 500ms or the packet loss rate exceeds 0.1%, an alarm is triggered, and the data retransmission and recovery mechanism is started at the same time. Data integrity is ensured through CRC checksum and MD5 digest. The data transmission model is evaluated regularly. Using the A / B test method, 10% of the data transmission requests are randomly assigned to the optimized model. Key indicators such as average delay and throughput are compared. If the optimization effect is significant, the new model is promoted to the full amount of data.
[0055] In the embodiment of the present invention, preferably, the current communication network data of the bank is obtained, and the communication network data includes the physical characteristics and logical connection relationship of the communication line;
[0056] Generate a network topology diagram according to the physical characteristics and logical connection relationship of the communication line;
[0057] By using time series analysis and statistical methods, a hybrid communication model is constructed based on the performance indicators of each node and link in the network topology diagram.
[0058] Specifically, the bank's current communication network data is obtained, including the type and capacity of communication lines, the location and configuration of connection nodes, the type and version of communication protocols, and various performance indicators such as transmission rate, delay jitter, packet loss rate, etc. Among them, the data of communication lines can be measured by equipment such as line testers and optical time domain reflectometers (OTDR); node and protocol data can be collected through network management systems (NMS) or network monitoring tools such as Cacti and Nagios.
[0059] When building a hybrid communication model, network security and fault recovery mechanisms should be fully considered. Network traffic should be monitored and defended in real time through security devices such as intrusion detection systems (IDS), intrusion prevention systems (IPS), and firewalls. A complete fault diagnosis and recovery process should be established to ensure the reliability and stability of the network. Based on the physical characteristics and logical connection relationships of the communication lines, a network topology diagram is generated to clarify the distribution of core nodes, backbone links, and access layers. Time series analysis and statistical methods are used to model the performance indicators of each node and link. Commonly used time series analysis models include ARIMA and LSTM. The ARIMA model can be used to characterize the trend of the mean and variance of performance indicators over time, and the LSTM model can be used to capture the long-term dependency of indicators.
[0060] During the modeling process, attention should be paid to the processing of outliers and the tuning of model parameters to obtain a mathematical model that accurately reflects the network operation status. Dedicated performance evaluations can be performed for different types of communication protocols, such as TCP / IP, MPLS, etc., and the advantages and disadvantages of various protocols and applicable scenarios can be compared and analyzed through a combination of simulation and actual measurement. Through deep packet analysis of network traffic and protocol data, with the help of packet capture tools such as Wireshark and Tcpdump, data packets are collected and parsed in real time, key information such as source address, destination address, protocol type, etc. is extracted, and combined with machine learning algorithms, the interaction patterns and data dependencies between key business systems are identified, network performance bottlenecks are found, and the allocation and scheduling of network resources are optimized accordingly.
[0061] In the hybrid communication model, fault diagnosis and recovery can be achieved with the help of network topology discovery, fault root cause analysis and other technologies. Through correlation analysis and fault tree reasoning, the root cause of the problem can be quickly located, and fault isolation and recovery operations can be performed according to the predefined emergency plan. Based on the hybrid communication model, a full range of network management strategies are designed and implemented, including bandwidth allocation, route optimization, QoS guarantee, etc. The software-defined network (SDN) architecture can be used to use the SDN controller and OpenFlow protocol to achieve flexible regulation and dynamic configuration of network resources. The controller collects network status information in real time, and according to the global view and predefined policies, sends flow table rules to each network device, dynamically adjusts the network topology and forwarding path, thereby improving the utilization efficiency and scalability of the network.
[0062] For example, when acquiring bank communication network data, OTDR equipment can be used to test the optical fiber line, measure the length, attenuation, scattering and other parameters of the optical fiber, and locate possible breakpoints or fault points. For example, a reflection peak is detected at 20 kilometers from the starting point of a 50-kilometer optical cable, indicating that there may be a breakpoint or joint at that location. By analyzing the test data of OTDR, the line segment that needs to be focused on is determined. At the same time, using monitoring tools such as Nagios, the CPU utilization, memory usage, port traffic and other data of network devices are collected every 5 minutes using the SNMP protocol. When an abnormality is found, such as the CPU utilization exceeding 80% for 5 consecutive minutes, an alarm is automatically triggered. After cleaning and normalizing the collected data, the LSTM algorithm is used to establish a network performance prediction model, and the traffic trend of the next 24 hours is predicted based on the data of the past week, with an average error rate of less than 10%. Using IDS equipment to detect network traffic in real time, with a built-in attack feature library of more than 10,000 items, common network attacks can be detected and blocked in seconds. By deploying IPS devices in bypass mode, malicious traffic is automatically diverted to the honeypot after attack behavior is detected, and the attack source is traced and tracked based on threat intelligence. In terms of fault diagnosis, Syslog, Netflow, SNMPTrap and other data are comprehensively utilized, and more than 90% of common network faults are diagnosed within 2 minutes through association rule mining and decision tree algorithms, and fault isolation and traffic scheduling are automatically performed to control the service interruption time caused by faulty equipment to less than 5 minutes. The network is dynamically optimized through the SDN controller, and the routing forwarding strategy is adjusted in real time according to the SLA requirements of the business system, and the data flow of key businesses is forwarded by the shortest path.
[0063] Further, in an embodiment of the present invention, the compatibility of the communication protocol is obtained by analyzing the communication protocol used by each node in the hybrid communication model;
[0064] Specifically, the communication protocol information used by each node in the hybrid communication model is obtained, including TCP / IP, Ethernet, ATM, etc., and the compatibility and interoperability between different protocols are analyzed from the aspects of protocol layer, data encapsulation method, transmission rate, etc.
[0065] Furthermore, in the embodiment of the present invention, according to the OSI reference model, the functions and services of various protocols at different layers are sorted out;
[0066] By comparing the layers of the various protocols in the OSI reference model, analyzing the data unit formats of the protocols, and studying the working principles and processes of the protocols, the corresponding relationships between the protocols can be found, and the state transition and interaction processes can be identified.
[0067] Specifically, for conversion between different protocols, a variety of protocol conversion algorithms based on field mapping, state machine and semantic translation can be used, including: parsing the data unit of the source protocol and extracting the key field value, mapping the extracted field value to the corresponding field of the target protocol according to the predefined mapping rules, filling in other necessary fields of the target protocol such as checksum, length, etc., encapsulating the converted data unit according to the format of the target protocol, and finally sending the encapsulated data unit to the target network. By reasonably designing the conversion algorithm and mapping rules, adaptive conversion between different protocol data units can be achieved.
[0068] In terms of the compatibility of the TCP / IP protocol stack, by adding option fields to the IP packet header to carry necessary metadata such as the transport layer protocol type and port number, the IP layer can adapt to different upper layer protocols and support the flexible carrying of multiple transport layer protocols on the IP network. Introduce connection-oriented TCP proxy services at the transport layer, and realize seamless migration of TCP connections across heterogeneous networks through connection splitting, reorganization, mapping and other mechanisms. Split a TCP connection into multiple sub-connections at the sending end, each sub-connection corresponds to a heterogeneous network; establish a connection mapping table between network boundary nodes to record the identification and status of TCP connections in different networks; dynamically select the transmission path through the mapping table, and restore the connection when a failure or congestion occurs. Finally, reorganize multiple sub-connections into a complete TCP connection at the receiving end to ensure end-to-end connectivity and reliability. Use network protocol analysis tools such as Wireshark to capture and parse data packets in the hybrid communication model, check the key field values and semantics against the protocol specifications, explore possible interoperability issues, and formulate targeted solutions.
[0069] In terms of network management, unified management of multi-vendor, multi-protocol network devices is achieved through standard protocols such as SNMP and Syslog, and unified configuration templates and monitoring indicators are formulated to simplify the complexity of network management. According to real-time business needs and network conditions, network parameters such as service quality parameters, routing forwarding rules, and congestion control thresholds are dynamically adjusted and synchronized to various heterogeneous network domains to achieve end-to-end business experience assurance and resource optimization.
[0070] For example, when analyzing the compatibility of communication protocols, a graph-based protocol modeling method can be used. The state machine of each protocol is abstracted into a directed graph, in which the nodes represent the protocol states and the edges represent the state transitions. Through operations such as the union and intersection of the graph, the common states and transition paths between different protocols can be found. The common states of TCP and UDP protocols can be abstracted into two nodes, "establishing a connection" and "transmitting data", and the edge connecting these two nodes represents the transition relationship between them. For protocol conversion, a finite state automaton (FSA) model can be used, including defining the state set, input alphabet and transition function of the source protocol and the target protocol. The mapping and conversion between states are realized through state traversal and string matching algorithms.
[0071] Taking the conversion from IPv4 to IPv6 as an example, to map the 32-bit address of IPv4 to the 128-bit address space of IPv6, NAT64 technology can be used to perform address resolution through DNS64, and a stateless address mapping algorithm can be used to map the IPv4 address prefix to a specific IPv6 prefix. For seamless migration of TCP connections, session layer protocols such as SOCKS can be used. When a TCP connection needs to be transmitted across heterogeneous networks, the SOCKS proxy server intercepts the connection request and assigns it a unique session ID. In subsequent data transmission, the proxy server encrypts, encapsulates and forwards the TCP message according to the session ID to achieve secure migration of the connection. During the migration process, the proxy server maintains a session mapping table that records the source address, destination address, port number and other information of each TCP connection for the correct forwarding and release of data packets. When the network returns to normal, the proxy server can also use the session information to automatically rebuild the interrupted TCP connection to achieve rapid recovery of the connection.
[0072] In terms of network management, a centralized network management platform can be deployed to collect performance statistics and log information of multi-vendor devices through the southbound interface, and provide unified configuration delivery and policy management through the northbound interface. Use the NETCONF protocol to deliver routing policies, and use the Restful API to adjust firewall rules. At the same time, through the big data analysis platform, network data is processed and mined in real time, network health reports are automatically generated, and potential faults are detected and located. Based on historical data and machine learning algorithms, traffic trends for a period of time in the future can be predicted, network parameters can be dynamically optimized, and the stability of network operation can be improved.
[0073] S2. Analyze the historical communication data and the communication network data to obtain power consumption results of each connection node under different limiting conditions, thereby constructing a node power consumption model;
[0074] In the embodiment of the present invention, preferably, a hybrid communication model is constructed according to the communication network data;
[0075] Acquire network performance data of each node in the communication network according to the hybrid communication model, and establish a correlation model between node performance and protocol usage by using machine learning-based correlation analysis and statistics-based correlation analysis methods;
[0076] Based on the association model and historical communication data, a simulation environment is constructed through data transmission simulation technology, and various network element devices are deployed in the simulation environment to obtain CPU utilization and memory usage of various network element devices under different working conditions, and an energy consumption estimation model is established by comprehensively considering the device type, working status and ambient temperature;
[0077] The power consumption reference value of each compatible node is obtained according to the energy consumption estimation model, and a node power consumption model (hereinafter also referred to as a node power consumption analysis model) is constructed.
[0078] Specifically, the network performance data of each node in the communication network is obtained, including indicators such as transmission rate, delay, packet loss rate, and parameters such as the type of communication protocol used by the node and line capacity. The association model between node performance and protocol usage is established by using methods such as association analysis based on machine learning and correlation analysis based on statistics, and the relationship between network performance and communication protocol is quantified. Through data transmission simulation technology, a simulation environment for hybrid communication networks is constructed to simulate the data transmission process under different protocol compatibility conditions. Various network element devices are deployed in the simulation environment to obtain resource consumption data such as CPU utilization and memory usage of the devices under different working conditions. Considering factors such as device type, working status, and ambient temperature, an energy consumption estimation model is established to obtain the power consumption benchmark value of each compatible node. On the basis of the node power consumption benchmark, multi-dimensional power consumption influencing factors such as node utilization, data processing volume, and protocol complexity are introduced to construct a node power consumption analysis model.
[0079] The model can quantitatively characterize the intrinsic relationship between node performance, communication protocol and power consumption, and evaluate the energy efficiency performance of nodes in different compatible networking scenarios. The node power consumption model is used to calculate the power consumption level of key nodes in a hybrid networking environment and identify potential energy consumption bottlenecks. Combining the network topology and business distribution characteristics, data analysis techniques such as hierarchical clustering and association rule mining are used to deeply reveal the intrinsic causes of energy consumption bottlenecks, providing theoretical basis and data support for subsequent optimization measures. For energy consumption bottleneck nodes, targeted energy-saving measures are taken from three aspects: algorithm optimization, protocol optimization and hardware acceleration. For computationally intensive processing tasks, consider using dedicated hardware such as FPGA and GPU for acceleration to reduce the burden on general-purpose CPUs. Through the coordinated optimization of algorithms, protocols and hardware, the energy consumption of nodes is minimized while ensuring communication performance.
[0080] The power consumption model of each node is integrated into the energy consumption of the entire network to build a network energy consumption monitoring and optimization platform. The platform continuously collects energy consumption data and performance indicators of each node in the network to evaluate the energy efficiency level of the network. At the same time, make full use of emerging technologies such as software-defined networking (SDN) and network function virtualization (NFV) to model the network energy consumption optimization problem as a multi-objective optimization problem. Use hybrid intelligent algorithms, such as genetic algorithms combined with simulated annealing algorithms, to search for the global optimal solution of energy consumption in a large number of deployment combinations and routing strategies, and dynamically adjust the network configuration according to real-time traffic to minimize the overall energy consumption of the network.
[0081] For example, when obtaining the performance data of the communication network, the SNMP protocol can be used to collect key indicators such as CPU utilization and memory utilization of network element devices every 5 minutes. For end-to-end indicators such as link utilization and packet loss rate, network probes can be deployed for regular active detection. The detection cycle is 1 minute, 1000 detection packets are sent each time, and the indicator value is calculated based on the reply delay and success rate. The random forest algorithm is used to establish an association model between node performance and protocol type, and 500 decision trees are selected. The information gain rate is used as the division standard, and the F1 value of the model on the validation set reaches more than 0.9. A hybrid networking environment is built on the network simulation platform NS3, and 100 simulation nodes are set, covering 6 typical communication protocols, such as TCP / IP, OSPF, MPLS, etc. 10 groups of simulation experiments are carried out for different protocol configurations, and each group of experiments runs for 1 hour to obtain the average resource consumption data of the node. The node power consumption model is fitted using the least squares method, and virtual variables are introduced for the device type and ambient temperature. The goodness of fit of the model reaches 0.95.
[0082] On this basis, the power consumption influencing factors are extracted through principal component analysis. The first three principal components with cumulative contribution rates exceeding 80% correspond to node utilization, data processing volume and protocol complexity, respectively. The weight coefficients of each principal component are obtained through multivariate regression analysis. For the identified energy consumption bottleneck nodes, the dynamic programming algorithm is used to optimize their data forwarding strategy, the state transfer matrix is updated every 10ms, and the routing scheme is adjusted online. For computationally intensive tasks such as business feature extraction and deep packet inspection, FPGA acceleration cards are used for parallel processing, and the single-board throughput is increased by more than 50%.
[0083] When building a network energy consumption optimization platform, the backend uses the distributed computing framework Spark to efficiently process large-scale network data, thereby achieving rapid analysis and processing of data. The front end uses the powerful data visualization engine ECharts to convert complex energy consumption information into intuitive charts, which comprehensively and clearly presents the overall situation of network energy use, making it easier for managers to understand energy consumption and optimize decisions in a timely manner. Energy consumption optimization is achieved by using a hybrid of genetic algorithms and simulated annealing algorithms. The encoding method is binary string, the population size is 100, the crossover probability is 0.8, and the mutation probability is 0.1. After 500 iterations, the algorithm converges and the overall network energy consumption is reduced.
[0084] S3, inputting the detected current communication transmission data into a pre-built compatibility model to obtain compatibility requirement data of the target system, constructing a comprehensive evaluation model according to the compatibility requirement data and the node power consumption model, inputting the historical communication data into the comprehensive evaluation model, and predicting the transmission rate requirement data of the target system;
[0085] Specifically, the real-time transmission data of each node in the current network is obtained, including indicators such as throughput and response time. At the same time, the data transmission records of each node at different time granularities are extracted from the historical database to form a complete time series data set. Based on the compatibility model, the compatibility and interoperability between the various communication protocols in the network are judged. The compatibility model can characterize the differences and mapping relationships between different protocols in syntax, semantics and timing relationships, and use protocol adapters to achieve seamless conversion between heterogeneous protocols. The protocol adapter realizes dynamic mapping of protocol functions and states by parsing and converting key fields in the protocol stack, such as message headers, data units, etc.
[0086] On the basis of the compatibility model, constraints such as node power consumption are added to establish a comprehensive estimation model to dynamically predict and optimize the data transmission rate requirements and resource allocation strategies in the future. The model is trained using the A3C algorithm and consists of multiple Actor networks and a Critic network. Among them, the Actor network independently generates a series of resource configuration behaviors based on the current network status and calculates the cumulative return of each behavior sequence. The Critic network evaluates and updates the policy function of each Actor network through the temporal difference algorithm to optimize it in the direction of maximizing the cumulative return. Through the interactive learning of the Actor network and the Critic network, the comprehensive estimation model can globally optimize resource configuration while meeting business needs and compatibility requirements. According to the data transmission requirements and resource usage, the network controller calls the API interface of the virtualization platform to dynamically create, modify, and delete virtual network elements, and adjust their configuration parameters to achieve on-demand allocation and elastic scaling of network resources. At the same time, the network controller uses SDN technology to send routing rules to the forwarding plane through the OpenFlow protocol. According to traffic prediction and optimization strategies, it dynamically adjusts the forwarding path and service quality parameters of data packets, maximizes link utilization while meeting indicators such as latency and jitter, and improves network transmission efficiency.
[0087] In terms of the underlying network infrastructure, the maximum flow minimum cut algorithm is used to identify key nodes and potential bottleneck links in the network, and corresponding expansion and optimization measures are taken, such as adding redundant links and increasing link bandwidth, so as to improve the overall transmission capacity and reliability of the network. In addition, through real-time analysis of the global view of the network, the trend of traffic load changes is predicted, and resources are supplemented and scheduled in hot spots in advance to avoid local congestion and performance degradation.
[0088] Exemplarily, when acquiring network transmission data, the SNMP protocol can be used to collect performance indicators such as interface traffic and CPU utilization from network element devices, with a sampling period of 5 minutes. At the same time, the historical data of the device in the past month is extracted from the network management database, and the time granularity includes hours, days, weeks, etc. The original data is cleaned and normalized, outliers are removed, and the data is mapped to the [0, 1] interval. One-Hot encoding is used to convert discrete attributes such as device model and interface type into numerical vectors. The time series data is decomposed, and the long-term trend is extracted using a 7-day moving average. The 7-day and 24-hour periodic components are extracted using a discrete Fourier transform, and the remaining part is used as random noise. The noise part is modeled using the AutoARIMA algorithm, and the model order is determined by the AIC criterion. When the partial autocorrelation function PACF of the residual is truncated at a confidence level of 95%, the model is considered acceptable. Taking into account factors such as device port rate and QoS queue length, the A3C algorithm is used to train the reinforcement learning model. The input state includes the traffic data of the past 6 time steps and the current network resource usage. The output is the resource allocation strategy for the next 1 time step. The reward function is the negative value of the deviation between the actual traffic and the predicted value. 64 parallel Actor networks are used for training. Each network independently explores 1,000 episodes, and the LSTM layer is used to aggregate the gradients of different networks to stabilize the training process.
[0089] Create 10 virtual switches and 100 virtual machines on the virtualization management platform OpenStack, and use the OpenFlow1.3 protocol to issue routing policies. The matching domains of routing rules include source and destination IP, destination IP, protocol type, etc. The forwarding path is adjusted in real time according to the traffic prediction results, and alarms are triggered for links that exceed the bandwidth threshold of 80%. High-load virtual machines are automatically migrated to achieve load balancing. Use the maximum flow algorithm to sort the importance of 400 core nodes in the backbone network, select the top 5% of key nodes for link expansion and equipment upgrade, increase their bandwidth to twice the original, and use the LACP protocol to build link aggregation to improve redundancy and reliability. Deploy the service chain function to fine-tune the scheduling of key business traffic such as HTTP and video, improve their service quality in a targeted manner, and link with the business management system through the northbound interface of the controller to achieve business awareness and on-demand deployment. Use the time series database InfluxDB to store network monitoring data, use Grafana to achieve visual display, use Python's Scikit-learn library for machine learning modeling, and use Ansible to realize the automatic execution of configuration changes to build an end-to-end intelligent operation and maintenance closed loop.
[0090] S4. Obtaining communication path requirement data based on the transmission rate requirement data and the compatibility requirement data;
[0091] In the embodiment of the present invention, preferably, the data transmission requirement data, the compatibility requirement data and the path energy consumption are integrated to construct a multi-objective optimization model of the communication path;
[0092] According to the multi-objective optimization model, a multi-objective evolutionary algorithm is adopted to generate a globally optimal communication path set through the elite retention strategy and the maintenance of the Pareto optimal solution set.
[0093] Specifically, the network topology information composed of multiple heterogeneous communication nodes and links is obtained, including the node's location, type, computing power, energy consumption characteristics and other attributes, as well as the link's bandwidth, delay, bit error rate and other parameters. The computing power of the node can be obtained through means such as device specification parameters, performance monitoring agents, and network traffic analysis, including indicators such as CPU main frequency, memory size, utilization, and throughput. The energy consumption characteristics of the node can be directly measured by a power meter, or estimated using a node power consumption model based on the device type and resource usage. According to business needs and network status prediction, the data transmission rate requirement matrix between each node in the future period is obtained. At the same time, considering the compatibility of communication protocols of different nodes, such as protocol type, version number, encoding and decoding format, etc., a mathematical model that can characterize the transmission characteristics of heterogeneous networks is constructed, such as a network traffic model based on random processes or a network traffic prediction model based on tensor decomposition. The network topology is analyzed using graph theory algorithms, and the initial communication path between nodes is determined through classical algorithms such as minimum spanning tree and shortest path.
[0094] On this basis, heuristic optimization algorithms such as genetic algorithms and particle swarm optimization are used to further optimize path selection, minimize network resource usage and improve link utilization while meeting performance constraints such as end-to-end delay and throughput. Based on the initial communication path, the node power consumption model is used to calculate the end-to-end energy consumption of each path. The node power consumption model used needs to comprehensively consider the static power consumption and dynamic power consumption of the node. The static power consumption is determined by the device type and operating voltage, and the dynamic power consumption is related to the node's workload and resource utilization.
[0095] For paths whose energy consumption exceeds the preset threshold, a dynamic programming algorithm is used for optimization. By adding relay nodes, adjusting link bandwidth, changing modulation and coding methods, end-to-end energy consumption can be reduced while ensuring communication quality. The state transition equation of dynamic programming needs to comprehensively consider multiple performance indicators such as bandwidth, energy consumption, and delay of the path, and set reasonable recursive constraints and boundary conditions.
[0096] By performing cluster analysis on the path energy consumption matrix and using clustering algorithms such as K-means and DBSCAN, paths with similar energy consumption characteristics are divided into several clusters. Customized energy-saving strategies are designed for the paths within each cluster. According to the resource utilization and load of the nodes, the working mode of the nodes is dynamically adjusted through the intelligent management system, and nodes that are idle for a long time are switched to sleep mode, non-critical components and peripherals are turned off, and static power consumption is reduced. At the same time, the dynamic voltage and frequency scaling (DVFS) technology is used to adjust the CPU's operating voltage and clock frequency in real time according to the CPU utilization and performance requirements of the nodes, minimizing dynamic power consumption while meeting computing performance.
[0097] On the basis of path optimization and energy-saving strategies, the robustness and reliability of the network are further considered. By introducing link redundancy and backup paths, fault-tolerant communication paths are constructed. The ant colony optimization algorithm is adopted to abstract the communication path as the process of ants looking for food. Through the release and volatilization of pheromones, paths with high reliability and low energy consumption are adaptively selected. Load balancers are deployed on key nodes to monitor and schedule the data flows passing through the nodes in real time. Through scheduling algorithms such as weighted polling and minimum number of connections, the data flows are dynamically distributed to different backup links to achieve fast fault recovery and load balancing. A multi-objective optimization model of the communication path is constructed by integrating multiple performance indicators such as data transmission requirements, node compatibility, path energy consumption, and fault tolerance. Multi-objective evolutionary algorithms such as NSGA-II and MOEA / D are adopted. Through the elite retention strategy and the maintenance of the Pareto optimal solution set, a balance is found between multiple optimization objectives to generate a global optimal communication path set. At the same time, for key parameters in the optimization process, such as weight coefficients and constraint thresholds, sensitivity analysis and parameter adaptive adjustment strategies are adopted to improve the robustness of the optimization results. The results of multi-objective optimization can be used as the final solution for heterogeneous network data transmission and guide the rational configuration and scheduling of network resources.
[0098] For example, when obtaining network topology information, the SNMP protocol can be used to collect CPU utilization, memory occupancy and other performance indicators from network devices, with a sampling interval of 5 minutes. At the same time, deploy sFlow-based network traffic monitoring probes to count the inbound and outbound traffic of the core switch at a sampling rate of 1:1000, with a statistical cycle of 30 seconds, and identify the traffic distribution of various applications through traffic templates and feature libraries. Estimate the dynamic power consumption of network equipment. For a typical 2U rack-mounted switch, the no-load power consumption is 200W and the full-load power consumption is 400W. The real-time power consumption of the network equipment is estimated by weighting parameters such as the device CPU utilization, packet forwarding rate, and number of ports used, and the estimation error is controlled within 10%.
[0099] In terms of network traffic prediction, a long short-term memory (LSTM) neural network is used to build a traffic prediction model. The input is the traffic sequence of the past 24 hours, including six feature dimensions such as the inflow, outflow, and average delay of each node. The hidden layer uses a three-layer LSTM, each layer contains 128 neurons, and the output layer adopts a fully connected structure to predict the mean and fluctuation range of traffic in the next hour. The model's mean relative error (MAPE) on the validation set is less than 15%. In the initial path selection stage, the Dijkstra shortest path algorithm is used to calculate the initial transmission path between nodes. The weighted sum of bandwidth, delay, and packet loss rate is used as the path cost, and the random walk term is introduced to jump out of the local optimum. The non-dominated sorting genetic algorithm (NSGA-II) is used for path optimization. The population size is set to 50, the crossover probability is 0.8, and the mutation probability is 0.1. After 500 generations of iteration, the population converges and 30 Pareto optimal paths are obtained.
[0100] In terms of energy consumption optimization, a dynamic energy-saving strategy based on Q learning is adopted. The network status is evaluated every 10 minutes. If the average link utilization is less than 30%, 20% of the nodes are randomly selected to enter the dormant state, and the corresponding passive optical network ports are closed at the same time, so that the static power consumption of the nodes is reduced by 70%; when the traffic burst causes the link utilization to rise to more than 60%, the controller wakes up the dormant nodes and restores the ports. The entire wake-up process is completed within 100 milliseconds. In terms of fault-tolerant optimization, an improved ant colony optimization algorithm is used to dynamically select backup paths. The delay and energy consumption between nodes are defined as pheromones. 50 ants are allowed to explore the network at the same time. Each ant selects the next hop according to probability and releases pheromones. After 100 rounds of iterations, 10 backup paths are selected. The delay and energy consumption of the backup paths are 20% and 30% higher than those of the main paths, respectively, but the reliability is improved by more than 50%. The network is globally optimized for multiple objectives, and the improved MOEA / D algorithm is used to optimize the set of data transmission paths. The three indicators of delay, packet loss rate and energy consumption are defined as optimization objectives. The population size is set to 100, the crossover probability is 0.6, the mutation probability is 0.2, and 50 Pareto non-dominated solutions are generated after 1000 iterations. The weighted coefficient is set according to the preference of the network operator to dynamically select the optimal transmission scheme, and the switching threshold of the backup path is dynamically adjusted to find the best balance between traffic load and fault recovery, so as to achieve the global optimization of network performance, energy efficiency and reliability.
[0101] Furthermore, an algorithm is used to analyze and select candidate connection nodes that meet the hybrid communication compatibility requirements. Combined with the node power consumption model, a power consumption weight is assigned to each node, and an optimal communication path with the lowest power consumption is generated.
[0102] Specifically, the device type, hardware configuration, supported protocols and other attribute information of all nodes in the heterogeneous network are obtained to establish a node attribute database. The node attribute database can be implemented using technologies such as relational databases or graph databases to support efficient data storage, retrieval and update operations. According to the hybrid communication compatibility requirements, a node compatibility evaluation model is defined. The model comprehensively considers the syntax, semantics and service mapping relationships between different protocols to form a protocol compatibility matrix.
[0103] The parameters of the compatibility matrix are dynamically optimized using an incremental learning algorithm. Based on the newly collected node compatibility sample data, optimization algorithms such as gradient descent are used to minimize the prediction error on the sample. An improved depth-first search algorithm is used to search for a set of candidate nodes that meet the compatibility requirements in the node attribute database of the entire network. During the search process, a variety of pruning strategies are designed, such as maximum depth limit, node access mark, etc., to dynamically adjust the expansion direction and pruning timing of the search tree to seek the optimal balance between search quality and time overhead. For the candidate node set obtained by the search, resource utilization indicators such as CPU, memory, bandwidth, and energy consumption related parameters such as power consumption and heat dissipation of the nodes are collected through various methods such as operating system interface, network management protocol, and Internet of Things devices. A node power consumption weight calculation model is constructed by integrating the static properties and dynamic indicators of the nodes. The fuzzy C-means clustering algorithm is used to group the nodes, extract the energy consumption characteristic curves of each group of nodes, and use curve fitting methods such as polynomial regression and piecewise linear fitting to estimate the power consumption values of the nodes at different load levels, and weight the load levels in sections to generate the power consumption weight coefficients of the nodes. The node power consumption weight is taken as one of the optimization objectives, together with multiple performance indicators such as network delay, packet loss rate, link utilization, etc., to build a multi-objective optimization model for hybrid communication networks.
[0104] The model also needs to consider resource constraints such as node computing power, link bandwidth, and the service quality requirements of the business. For this optimization model, an improved non-dominated sorting genetic algorithm NSGA-III is designed, and an adaptive weight aggregation mechanism is introduced to dynamically adjust the algorithm parameters. In the population initialization stage, high-quality initial solutions are generated according to node compatibility and power consumption weights; in the iterative evolution stage, the elite retention strategy is used to accelerate population convergence, and the population diversity is maintained through congestion evaluation and uniformity. At the same time, the crossover and mutation probabilities are adaptively adjusted according to the convergence state of the population to achieve a dynamic balance between local search and global exploration. After multiple rounds of iterative evolution, the optimal communication path set that meets the multi-objective balance is selected from the non-dominated solution set generated by the algorithm. Considering factors such as network operating costs and energy efficiency, the path with the lowest power consumption and the best network performance is selected from the optimal path set as the actual data transmission solution.
[0105] After the solution is deployed, the service quality and energy consumption level of the network are continuously monitored, and the normal range and alarm threshold of key performance indicators (KPIs) are set. Once the indicators are found to exceed the threshold, the abnormal reasons are analyzed in time and the emergency response process is initiated. Through hot backup link switching, dynamic load balancing and other means, business continuity is quickly restored, and the routing solution is re-optimized to minimize the impact of abnormal conditions on network performance.
[0106] For example, when establishing a node attribute database, you can use a relational database such as MySQL, design fields such as node ID, device type, CPU frequency, memory size, supported protocols, and create indexes to accelerate queries. For dynamic attributes such as CPU utilization, you can use a memory database such as Redis to achieve second-level updates.
[0107] In the compatibility evaluation model, the protocol compatibility matrix can be represented by a two-dimensional array, and the value range of the array elements is [0, 1], which represents the compatibility probability of the two protocols. Assuming that 1,000 node compatibility samples are added every day, a small batch gradient descent algorithm is used, 100 samples are randomly selected each time, the learning rate is set to 0.01, the regularization coefficient is 0.1, and the loss function drops below 0.05 after 100 iterations. When searching for candidate nodes, a recursive depth-first search is used, and the maximum search depth is set to 20. Nodes exceeding this depth are no longer visited. During the search process, the access mark of each node is recorded to avoid repeated traversal. When a leaf node does not meet the compatibility requirements, it is promptly traced back to the parent node to continue searching other subtrees.
[0108] The resource utilization of candidate nodes is collected once every 5 minutes through the SNMP protocol. The CPU utilization is calculated by the average load within 1 minute, the memory utilization is calculated by the ratio of the used memory to the total memory, and the bandwidth utilization is calculated by the ratio of the port traffic rate to the maximum bandwidth. The nodes are divided into three power consumption groups: high, medium, and low, using the historical power consumption data collected by the smart meter and the fuzzy C-means clustering algorithm. The center vector of each group is the typical energy consumption feature of the group. In each load interval, the least squares method is used to fit the functional relationship between the number of nodes and the average power consumption to obtain the segmented line energy consumption model, and the weight coefficients of 0.2, 0.3, and 0.5 are assigned according to the load interval. When the NSGA-III algorithm is used to solve the multi-objective optimization model, the chromosome encoding method is real number encoding, each gene is the arrangement of the node ID, the crossover operator uses simulated binary crossover, and the mutation operator uses polynomial mutation. The initial population size is 1000. After 500 generations of iteration, 200 non-dominated solutions are screened out from the population. When the link utilization rate is greater than 80% and the packet loss rate is greater than 5% in the network, it automatically switches to the optimal backup path and starts the fault diagnosis program to trace the cause of the fault. After the abnormality is recovered, the status of the faulty node and link is synchronized to the attribute database, and the incremental learning of the compatibility model is triggered, realizing the full process of fault-discovery-diagnosis-recovery-optimization.
[0109] In the above embodiment, preferably, after generating a communication path consisting of a plurality of hybrid communication nodes in combination with the data transmission rate requirement and the compatibility requirement, the method further includes:
[0110] In the data transmission model, the data transmission of the communication path is simulated, and it is determined whether the simulated data transmission rate meets the predicted data transmission rate requirement; if it does not meet the rate requirement, the connection nodes of the communication path are adjusted, including improving the parameter configuration of the connection nodes or replacing the configured connection nodes.
[0111] Specifically, the network topology of the communication path is obtained, including the node ID, type, location and other attributes, as well as the connection relationship and link attributes between nodes, to build the network scenario of the transmission simulation model. According to the predicted data transmission rate requirements, combined with business priorities and service quality requirements, an initial bandwidth quota is allocated to each simulation flow, and redistributed considering the node processing capacity and link physical bandwidth limitations to ensure that the bandwidth allocation is within the available resource range.
[0112] For critical paths, the path bandwidth allocation is adaptively adjusted according to the end-to-end rate requirements and the minimum path bandwidth. For complex topologies and business relationships, a bandwidth allocation optimization model can be established, and the optimal bandwidth configuration can be solved using heuristic or approximate algorithms. Network simulation software such as OPNET and NS-3 can be selected to build a simulation environment corresponding to the actual communication path topology and attributes, and load the configuration parameters of nodes and links. In the simulation scenario, a simulation data flow is generated according to the business model, and the parameters such as the start and end nodes, transmission protocol, and bandwidth requirements of the flow are consistent with the predicted results. Consider introducing probabilistic models to characterize the randomness and burstiness of traffic, such as Poisson flow and switch flow, to improve the authenticity of simulated traffic. Run the simulation program and use event-driven, discrete time and other mechanisms to simulate the data transmission process in the communication path. Event-driven simulation focuses on events triggered by changes in network status, while discrete time simulation uses a fixed time step to advance. By setting the simulation clock and event scheduling mechanism, the simulation accuracy and efficiency can be flexibly controlled.
[0113] During the simulation process, the status of key nodes and links is monitored in real time, including throughput, latency, packet loss rate, queue length and other indicators. The end-to-end transmission rate of each simulation flow is calculated and compared with the expected value. If the actual rate is lower than the expected value and reaches the preset threshold, a graded alarm is triggered. The alarm level can be set to minor, severe, emergency, etc., and different notification methods and handling processes are adopted respectively; predefined emergency measures are executed, and the alarm strategy is intelligently adjusted according to the cause of the alarm and the scope of impact. After the alarm processing is completed, the system records the processing process and results, conducts cause analysis and summary evaluation, forms an alarm processing report, and continuously optimizes the handling process. In-depth analysis of the location and cause of the transmission bottleneck, focusing on scenarios such as insufficient node processing capacity and link bandwidth saturation.
[0114] For bottleneck nodes, improve the processing capacity by upgrading the CPU, memory, network card and other equipment configurations. For node replacement, first evaluate the performance, compatibility and switching impact of candidate nodes, verify the replacement effect through simulation or small traffic switching, and then formulate a detailed node replacement plan, select the low-peak period for implementation, and conduct a 2-week performance observation to form a node replacement evaluation report. If the replacement does not meet expectations, analyze the reasons and decide whether to roll back. For bottleneck links, improve link utilization and alleviate bandwidth bottlenecks through physical bandwidth expansion, link aggregation, transmission protocol optimization and other means. After optimizing the node and link configuration, rerun the simulation program to evaluate the effect of the optimization measures and compare with the original plan until the end-to-end transmission rate requirements are met.
[0115] For example, when constructing a simulation network topology, the graph database Neo4j can be used to store the attribute information of nodes and links, and the Cypher query language can be used to quickly retrieve key paths and associated nodes. For a small topology with 10 nodes and 20 links, the Floyd shortest path algorithm is used to calculate the routing between nodes, and the time complexity is O(n^3); for a large topology with 100 nodes and 1,000 links, the Dijkstra algorithm combined with the minimum heap optimization is used, and the calculation time can be reduced to O(mlogn), where n is the number of nodes and m is the number of links. Using the neural network timing model of SPSSModeler, based on 9 features such as business type, regional distribution, and number of users, the business traffic distribution in the next hour is predicted, and the average relative error is kept within 10%. On the OPNET simulation platform, 14 core switching nodes and 200 access nodes are used to build a campus network, each node has a capacity of 1,000 concurrent users, and the link bandwidth covers 100M to 10G.
[0116] The simulated traffic adopts Poisson distribution, with a peak value of 1.5 times the node capacity and a duration of 2 minutes, reproducing the business emergency scenario during peak hours. The simulation is run for 24 hours, and 10 million network operation data are collected. Through MapReduce and Hive, joint table analysis is performed to extract network quality indicators. When the average packet delay of a node exceeds 100ms and the packet loss rate exceeds 5%, a fault ticket is automatically created and the network management personnel are notified. By replaying the network traffic during the fault, combined with the global topology view and fine-grained KPI, the cause of the fault is manually diagnosed and located, and a solution is formulated. If the faulty node is a core switch, priority is given to smoothly cutting over the traffic to the adjacent node and increasing the port bandwidth. The entire cutting process can be completed within 200ms; if it is an access switch, local expansion or a new access point is considered nearby, and load balancing is used to guide the flow to ensure business continuity.
[0117] After the fault was resolved, all network indicators returned to normal, the average weekly fault rate dropped to less than 1%, and the availability increased to 99.99%. In the future, we plan to introduce the AIOps platform and intelligent inspection robots to realize automatic discovery, diagnosis and repair of network faults, and adopt active defense measures to further reduce the network failure rate to less than 0.1%.
[0118] S5. Adjust the communication network of the target system accordingly according to the communication path requirement data.
[0119] like Figure 2 As shown, another embodiment of the present invention provides a communication network optimization device considering power consumption, including: an acquisition module 11, a construction module 12, a prediction module 13, an output module 14, and an optimization module 15, wherein
[0120] An acquisition module 11, used to respectively acquire historical communication data and communication network data in a target system, wherein the communication network data at least includes a number of connection nodes in the target system;
[0121] A construction module 12 is used to analyze the historical communication data and the communication network data to obtain power consumption results of each connection node under different limiting conditions, thereby constructing a node power consumption model;
[0122] The prediction module 13 is used to input the detected current communication transmission data into a pre-built compatibility model to obtain the compatibility requirement data of the target system, build a comprehensive evaluation model according to the compatibility requirement data and the node power consumption model, input the historical communication data into the comprehensive evaluation model, and predict the transmission rate requirement data of the target system;
[0123] An output module 14, configured to obtain communication path requirement data based on the transmission rate requirement data and the compatibility requirement data;
[0124] The optimization module 15 is used to adjust the communication network of the target system according to the communication path requirement data.
[0125] like Figure 3 As shown, another embodiment of the present invention provides a communication network optimization device considering power consumption, including a processor 21, a memory 22, and a computer program stored in the memory 22 and configured to be executed by the processor 21. When the processor 21 executes the computer program, the steps in the above-mentioned communication network optimization method embodiment considering power consumption are implemented, for example Figure 1 or, when the processor 21 executes the computer program, the functions of the modules in the above-mentioned device embodiments are implemented, such as the first building module 11.
[0126] Exemplarily, the computer program may be divided into one or more modules, which are stored in the memory 22 and executed by the processor 21 to implement the present invention. The one or more modules may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the computer program device 20. For example, the computer program may be divided into an acquisition module 11, a construction module 12, a prediction module 13, an output module 14, and an optimization module 15.
[0127] The processor 21 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor 21 is the control center of the communication network optimization device considering power consumption, and uses various interfaces and lines to connect various parts of the entire communication network optimization device considering power consumption.
[0128] The memory 22 can be used to store the computer program and / or module, and the processor 21 realizes various functions of the communication network optimization device considering power consumption by running or executing the computer program and / or module stored in the memory 22, and calling the data stored in the memory 22. The memory 22 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 22 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0129] Wherein, if the module integrated in the communication network optimization device considering power consumption is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0130] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0131] Accordingly, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to perform the steps in the communication network optimization method considering power consumption in the above embodiment, for example Figure 1 Steps S1 to S5 described in .
[0132] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A communication network optimization method considering power consumption, characterized in that: The following steps are involved: Respectively acquiring historical communication data and communication network data in the target system, wherein the communication network data at least includes a number of connection nodes in the target system; Analyzing the historical communication data and the communication network data to obtain power consumption results of each connection node under different limiting conditions, thereby constructing a node power consumption model; Inputting the detected current communication transmission data into a pre-built compatibility model to obtain compatibility requirement data of the target system, constructing a comprehensive evaluation model based on the compatibility requirement data and the node power consumption model, inputting the historical communication data into the comprehensive evaluation model, and predicting the transmission rate requirement data of the target system; Wherein, constructing a comprehensive evaluation model according to the compatibility requirement data and the node power consumption model includes: On the basis of the compatibility model, the constraint condition of node power consumption is added to establish the comprehensive evaluation model, and the data transmission rate demand and resource allocation strategy in the future period are dynamically predicted and optimized; the comprehensive evaluation model is trained by the A3C algorithm and consists of multiple Actor networks and a Critic network, wherein the Actor network independently generates a series of resource allocation behaviors according to the current network status and calculates the cumulative return of each behavior sequence, and the Critic network evaluates and updates the policy function of each Actor network through the temporal difference algorithm to optimize it in the direction of maximizing the cumulative return. Through the interactive learning of the Actor network and the Critic network, the comprehensive evaluation model can globally optimize the resource configuration while meeting the business needs and compatibility requirements; Obtaining communication path requirement data based on the transmission rate requirement data and the compatibility requirement data; The communication network of the target system is adjusted accordingly according to the communication path requirement data.
2. The communication network optimization method considering power consumption according to claim 1, characterized in that: The analyzing the historical communication data and the communication network data to obtain the power consumption results of each connection node under different limiting conditions, thereby constructing a node power consumption model, includes: constructing a hybrid communication model based on the communication network data; Acquire network performance data of each node in the communication network according to the hybrid communication model, and establish a correlation model between node performance and protocol usage by using machine learning-based correlation analysis and statistics-based correlation analysis methods; Based on the association model and historical communication data, a simulation environment is constructed through data transmission simulation technology, and various network element devices are deployed in the simulation environment to obtain CPU utilization and memory usage of various network element devices under different working conditions, and an energy consumption estimation model is established by comprehensively considering the device type, working status and ambient temperature; The power consumption reference value of each compatible node is obtained according to the energy consumption estimation model, and a node power consumption model is constructed.
3. The communication network optimization method considering power consumption according to claim 2, characterized in that: The step of constructing a hybrid communication model according to the communication network data comprises: Acquire the bank's current communication network data, wherein the communication network data includes the physical characteristics and logical connection relationships of the communication lines; Generate a network topology diagram according to the physical characteristics and logical connection relationship of the communication line; By using time series analysis and statistical methods, a hybrid communication model is constructed based on the performance indicators of each node and link in the network topology diagram.
4. The communication network optimization method considering power consumption according to claim 2, characterized in that: The constructing of the hybrid communication model according to the communication network data further includes: By analyzing the communication protocol used by each node in the hybrid communication model, the compatibility of the communication protocol is obtained.
5. The communication network optimization method considering power consumption according to claim 4, characterized in that: After obtaining the compatibility of the communication protocol, the following is further included: According to the OSI reference model, sort out the functions and services of various protocols at different layers; By comparing the layers of various protocols in the OSI reference model, analyzing the data unit formats of the protocols, and studying the working principles and processes of the protocols, the correspondence between the protocols can be found, and the state transition and interaction processes can be identified.
6. The communication network optimization method considering power consumption according to claim 1, characterized in that: The obtaining of communication path requirement data based on the transmission rate requirement data and the compatibility requirement data comprises: The multi-objective optimization model of the communication path is constructed by integrating data transmission requirement data, compatibility requirement data and path energy consumption; According to the multi-objective optimization model, a multi-objective evolutionary algorithm is adopted to generate a globally optimal communication path set through the elite retention strategy and the maintenance of the Pareto optimal solution set.
7. The communication network optimization method considering power consumption according to claim 1, characterized in that: After obtaining the communication path requirement data, it also includes: By simulating the transmission process of the communication path requirement data, it is determined whether the simulated data transmission rate meets the predicted data transmission rate requirement; if it does not meet the rate requirement, the connection node of the communication path requirement data is adjusted, including improving the parameter configuration of the connection node.
8. A communication network optimization device considering power consumption, characterized in that: include: An acquisition module, used to respectively acquire historical communication data and communication network data in a target system, wherein the communication network data at least includes a number of connection nodes in the target system; A construction module, used to analyze the historical communication data and the communication network data to obtain power consumption results of each connection node under different limiting conditions, thereby constructing a node power consumption model; A prediction module, used for inputting the detected current communication transmission data into a pre-built compatibility model to obtain compatibility requirement data of the target system, constructing a comprehensive evaluation model according to the compatibility requirement data and the node power consumption model, inputting the historical communication data into the comprehensive evaluation model, and predicting the transmission rate requirement data of the target system; Wherein, constructing a comprehensive evaluation model according to the compatibility requirement data and the node power consumption model includes: On the basis of the compatibility model, the constraint condition of node power consumption is added to establish the comprehensive evaluation model, and the data transmission rate demand and resource allocation strategy in the future period are dynamically predicted and optimized; the comprehensive evaluation model is trained by the A3C algorithm and consists of multiple Actor networks and a Critic network, wherein the Actor network independently generates a series of resource allocation behaviors according to the current network status and calculates the cumulative return of each behavior sequence, and the Critic network evaluates and updates the policy function of each Actor network through the temporal difference algorithm to optimize it in the direction of maximizing the cumulative return. Through the interactive learning of the Actor network and the Critic network, the comprehensive evaluation model can globally optimize the resource configuration while meeting the business needs and compatibility requirements; An output module, configured to obtain communication path requirement data based on the transmission rate requirement data and the compatibility requirement data; The optimization module is used to adjust the communication network of the target system according to the communication path requirement data.
9. A communication network optimization device considering power consumption, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for optimizing a communication network taking power consumption into consideration as described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the communication network optimization method considering power consumption as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Edge resource allocation method and device
CN113760541A
Cited By
Self-organizing topology generation and multi-objective optimization design method and system for thermal-electric multi-energy system of aircraft
CN122046659A
