Intelligent expansion method of major network graph and model
By deploying edge computing nodes and multi-agent systems in the power system, the main network data is converted into a knowledge graph, which solves the problems of data processing delay and insufficient resource management in traditional technologies, achieves efficient and stable data management and model optimization, and improves Improve the real-time performance and user experience of the system.
Patent Information
- Application Number
- CN202410903771.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-01
AI Technical Summary
Existing technology is difficult to meet real-time and stability requirements when processing complex mainnet graphics and models. Traditional centralized data processing results in high latency, static resource management, and cannot cope with dynamic changes. Model data management lacks structure and systematization.
Data processing nodes and multi-agent systems based on edge computing are used to convert main network OCS system data into knowledge graphs, perform dynamic resource management and machine learning analysis, and achieve localized processing, structured management and visual display of data.
It improves the real-time and efficiency of data processing, optimizes resource utilization, realizes structured and visual management of data, enhances system stability and user experience, reduces manual intervention, and improves model accuracy and system adaptability. .
Smart Images

Figure CN118733271A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent management of electric power systems, and in particular to an intelligent expansion method of main grid graphics and models. Background Art
[0002] With the development of modern power systems, the complexity and scale of the main grid are increasing, which puts higher requirements on the management of main grid graphics and models. Main grid graphics and models play a vital role in power systems, helping to achieve real-time monitoring, scheduling and optimization of power systems. However, existing technical means face many challenges in dealing with complex main grid graphics and models, and it is difficult to meet the growing needs.
[0003] Traditional centralized data processing methods rely on transmitting all data to a central server for processing. This approach not only results in high data transmission delays, but also easily causes overload of the central server, affecting the real-time performance and processing efficiency of the system. In the power system, the real-time and accuracy of data are crucial, and delays and inefficient processing will directly affect the stable operation of the system.
[0004] In terms of resource management, traditional static resource management methods are difficult to cope with dynamically changing network loads and resource demands. The load and resource demands in the power system will change with time and environment. Static resource management cannot adjust resource allocation in time, which can easily lead to resource waste or system bottlenecks, thus affecting the stability and reliability of the system.
[0005] In addition, the management and utilization of model data in the power system also face challenges. The existing model data management methods lack structure and systematization, making it difficult to store, retrieve and analyze effectively. As the complexity of the power system increases, how to achieve structured and systematic management of model data and intuitively display the main grid graphics through visualization means has become the key to improving system operability and user experience.
[0006] Therefore, to solve the above problems, an intelligent extension method of mainnet graph and model is proposed. Summary of the invention
[0007] In view of the deficiencies in the prior art, the present invention provides an intelligent expansion method for main grid graphics and models, which solves the problems of insufficient real-time, stability and intelligence in the management of main grid graphics and models in the existing power system.
[0008] To achieve the above objectives, the present invention is implemented through the following technical solutions: a method for intelligent expansion of main network graphics and models, comprising the following steps:
[0009] S1. Deploy data processing nodes based on edge computing;
[0010] S2, implement dynamic resource management based on multi-agent system and obtain model data;
[0011] S3. Convert the model obtained from the main network OCS system into the knowledge graph of the main network topology;
[0012] S4, draw the main network graph and generate a new model;
[0013] S5, forming a new knowledge graph by drawing the generated model;
[0014] S6. Implement a system for automatically generating startup plans based on knowledge graphs;
[0015] S7. Use machine learning algorithms to analyze and optimize model data.
[0016] Preferably, the step S1 specifically includes the following steps:
[0017] S1.1. Node selection: Determine where edge computing nodes need to be deployed, usually at the edge of the network or in areas with high load;
[0018] S1.2, Hardware configuration: Select appropriate edge computing devices, including processors, storage, and network interfaces;
[0019] S1.3, Software Installation: Install edge computing platform software on the device, such as OpenStackEdge and KubeEdge;
[0020] S1.4, Network connection: Configure the node's network connection to ensure smooth communication with the main network and other nodes;
[0021] S1.5, Data collection module: Deploy the data collection module to collect various data of the main network in real time, including power data and topology information;
[0022] S1.6, Data processing module: deploy the data processing module to pre-process the collected data, such as denoising and standardization;
[0023] S1.7, Data storage module: Deploy the data storage module to store processed data and support fast access and query.
[0024] Preferably, the step S2 specifically includes the following steps:
[0025] S2.1, Proxy node configuration: Configure multiple proxy nodes, each node is responsible for resource management in a specific area;
[0026] S2.2, communication protocol: determine the communication protocol between proxy nodes;
[0027] S2.3, Resource Monitoring: Deploy the resource monitoring module to monitor the resource usage of each node in real time, such as CPU, memory, and bandwidth;
[0028] S2.4, Resource Scheduling: Implement resource scheduling algorithms and dynamically adjust resource allocation based on the resource usage of nodes;
[0029] S2.5, Data collection: Each proxy node collects model data in the area and uploads it to the central node regularly;
[0030] S2.6, Data integration: The central node integrates the data uploaded by each agent node to form a complete model data set.
[0031] Preferably, the step S3 specifically includes the following steps:
[0032] S3.1. Data import: import model data from the main network OCS system;
[0033] S3.2, Data cleaning: Clean the imported data to remove redundant and erroneous data;
[0034] S3.3, Data conversion: Convert the cleaned data into a knowledge graph format, using RDF or other semantic web formats;
[0035] S3.4, Graph construction: Use the graph database to build a knowledge graph and define the attributes and relationships of nodes and edges;
[0036] S3.5, Relationship mapping: According to the topological relationship in the model data, it is mapped to the knowledge graph to form nodes and connection relationships;
[0037] S3.6, Graph Verification: Verify the constructed knowledge graph.
[0038] Preferably, the step S4 specifically includes the following steps:
[0039] S4.1. Graph generation: Use drawing tools such as D3.js and Graphviz to generate the main network topology graph;
[0040] S4.2, Model deduction: Based on existing data and knowledge graphs, deduce new models to predict possible network changes and expansions;
[0041] S4.3, Model verification: Verify the generated new model to ensure that it conforms to the actual situation and prediction requirements;
[0042] S4.4, Graphics update: Convert the verified new model into a graphics format and update the main network topology;
[0043] S4.5. Visual display: The updated main network topology is displayed through a graphical interface, and interactive functions are provided for users to view and analyze.
[0044] Preferably, the step S5 specifically includes the following steps:
[0045] S5.1. Model import: import the new model generated by drawing into the knowledge graph system;
[0046] S5.2, data conversion: convert the new model data into knowledge graph format;
[0047] S5.3, graph update: update the existing knowledge graph and add new nodes and edge relationships;
[0048] S5.4, consistency check: check the consistency of the spectrum;
[0049] S5.5. Graph optimization: Optimize the updated knowledge graph.
[0050] Preferably, the step S6 specifically includes the following steps:
[0051] S6.1, Strategy definition: define the strategy and rules for the startup plan and clarify the settings of various parameters;
[0052] S6.2, Algorithm design: Design an algorithm to automatically generate startup plans, taking into account different constraints and optimization goals;
[0053] S6.3, Module Implementation: Implement the startup plan generation module, including strategy formulation, plan optimization and output modules;
[0054] S6.4, Solution generation: Automatically generate a startup solution based on the knowledge graph;
[0055] S6.5, Scheme verification: verify the generated startup scheme;
[0056] S6.6, Automatic adjustment: Dynamically adjust the startup plan based on real-time data and knowledge graph.
[0057] Preferably, the step S7 specifically includes the following steps:
[0058] S7.1. Data preparation: Collect and organize model data, perform preprocessing and feature extraction;
[0059] S7.2. Model selection: Select appropriate machine learning algorithms, such as random forest, support vector machine, and deep learning;
[0060] S7.3. Training model: Use the prepared data to train the machine learning model and adjust the parameters to obtain the best results;
[0061] S7.4. Model evaluation: Evaluate the trained model and perform performance testing using cross-validation and test sets;
[0062] S7.5, Model optimization: Optimize the model according to the evaluation results;
[0063] S7.6. Deployment and application: Deploy the optimized model to the system.
[0064] The present invention provides an intelligent expansion method for main network graphics and models. It has the following beneficial effects:
[0065] 1. The present invention realizes localized data processing by deploying data processing nodes based on edge computing, reduces data transmission delay, and improves the real-time and efficiency of data processing. At the same time, the distributed architecture of edge computing nodes reduces the burden on the central server and enhances the overall processing capability of the system.
[0066] 2. The present invention adopts dynamic resource management of multi-agent system to realize reasonable allocation and efficient utilization of resources. The collaborative work and resource scheduling algorithm between agent nodes can dynamically adjust resource allocation according to actual conditions, avoiding resource waste and system bottleneck problems, and improving the stability and reliability of the system.
[0067] 3. The present invention realizes the structuring and visualization of data by converting the model data in the main network OCS system into a knowledge graph and drawing the main network graph, which not only facilitates the storage and management of data, but also provides an intuitive display platform for subsequent data analysis and application, thereby improving the operability of the system and user experience.
[0068] 4. The automatic startup plan generation system based on the knowledge graph of the present invention can automatically generate and optimize the startup plan through pre-defined strategies and optimization algorithms, reducing the need for manual intervention. It not only improves the accuracy and execution efficiency of the startup plan, but also can dynamically adapt to network changes and achieve automatic adjustment and optimization. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0070] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. 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.
[0071] Example:
[0072] Please refer to the attached Figure 1 , an embodiment of the present invention provides a method for intelligently expanding a main network graph and a model, comprising the following steps:
[0073] S1. Deploy data processing nodes based on edge computing;
[0074] S2, implement dynamic resource management based on multi-agent system and obtain model data;
[0075] S3. Convert the model obtained from the main network OCS system into the knowledge graph of the main network topology;
[0076] S4, draw the main network graph and generate a new model;
[0077] S5, forming a new knowledge graph by drawing the generated model;
[0078] S6. Implement a system for automatically generating startup plans based on knowledge graphs;
[0079] S7. Use machine learning algorithms to analyze and optimize model data.
[0080] Specifically, 1. Improve data processing efficiency: By deploying data processing nodes at the edge of the network, localized data processing is achieved, data transmission delays are reduced, and the real-time and efficiency of data processing are improved. At the same time, the distributed architecture of edge computing nodes reduces the burden on the central server and enhances the overall processing capacity of the system.
[0081] It solves the problem that traditional centralized data processing methods easily lead to central server overload, low processing efficiency and high data transmission delay.
[0082] Node selection: Determine the location of edge computing nodes, select the edge of the network or areas with high load, and distribute the data processing burden.
[0083] Hardware configuration: Select high-performance processors and large-capacity storage devices to ensure that the processing nodes have sufficient computing and storage capabilities.
[0084] Software installation and network connection: Deploy edge computing platform software (such as OpenStackEdge, KubeEdge) and configure network connections to ensure smooth communication between nodes.
[0085] Data acquisition and processing module: Deploy modules for real-time data acquisition, preprocessing (such as denoising, standardization) and storage to ensure the efficiency and accuracy of data processing.
[0086] 2. Optimize resource management: Through dynamic resource management, reasonable allocation and efficient use of resources can be achieved to avoid resource waste. The collaborative work between proxy nodes ensures the stable operation of the system under high load or abnormal conditions.
[0087] It solves the problem that traditional static resource management methods are difficult to cope with dynamically changing network loads and resource demands, which easily leads to resource waste or bottlenecks.
[0088] Agent node configuration and communication protocol: Configure multiple agent nodes and determine their communication protocol to ensure timely information exchange between agent nodes.
[0089] Resource monitoring and scheduling: Deploy a resource monitoring module to monitor the resource usage of each node in real time, and dynamically adjust resource allocation through intelligent scheduling algorithms.
[0090] Data collection and integration: The proxy node collects model data in the area and uploads it to the central node regularly. The central node integrates the data to form a complete model data set.
[0091] 3. Data structuring and visualization: Through knowledge graphs, complex model data can be structured for easy storage, management, and retrieval. Visualization enhances the readability of data and facilitates analysis and application.
[0092] It solves the problems of traditional model data management methods lacking structure and systematization, making it difficult to store and retrieve data effectively, and having unintuitive data display.
[0093] Data import and cleaning: Import model data from the main network OCS system and perform data cleaning to remove redundant and erroneous data.
[0094] Data conversion and graph construction: Convert the cleaned data into a knowledge graph format (such as RDF), and use a graph database (such as Neo4j) to build a knowledge graph and define the properties and relationships of nodes and edges.
[0095] Relationship mapping and graph verification: Based on the topological relationships in the model data, map it to the knowledge graph and verify the graph to ensure data consistency and correctness.
[0096] 4. Automatically generate startup plans: Automatically generate startup plans through knowledge graphs, reduce manual intervention, and improve the accuracy and execution efficiency of startup plans. Dynamically adapt to network changes to ensure that the system can flexibly respond to changes.
[0097] It solves the problem that traditional methods rely on manually generated startup plans, which are inefficient and error-prone, and difficult to dynamically adapt to network changes.
[0098] Strategy definition and algorithm design: Define the strategy and rules for launching the plan, and design an algorithm to automatically generate the launch plan, taking into account different constraints and optimization goals.
[0099] Module implementation and solution generation: Implement the startup solution generation module, including strategy formulation, solution optimization and output modules, and automatically generate startup solutions based on the knowledge graph.
[0100] Solution verification and automatic adjustment: Verify the generated startup plan to ensure its feasibility and effectiveness, and dynamically adjust the startup plan based on real-time data and knowledge graphs.
[0101] 5. Improve model accuracy and reliability: Use machine learning algorithms to analyze and optimize model data, improve model accuracy and reliability, and provide more accurate decision support for the system.
[0102] It solves the problem that traditional methods are difficult to effectively use big data for model optimization, and the model accuracy and reliability are low.
[0103] Data preparation and model selection: Collect and organize model data, perform preprocessing and feature extraction, and select appropriate machine learning algorithms (such as random forest, support vector machine, deep learning).
[0104] Training Model and Model Evaluation: Train the machine learning model using the prepared data, adjust the parameters to obtain the best results, and evaluate the trained model, using cross-validation and test sets for performance testing.
[0105] Model optimization and deployment application: Optimize the model according to the evaluation results to improve the accuracy and reliability of the model, deploy the optimized model to the system, and analyze and optimize the newly acquired model data in real time.
[0106] 6. Enhance system adaptability and flexibility: Through dynamic adjustment of real-time data, the system can be optimized in time according to actual conditions, enhancing the adaptability and flexibility of the system and ensuring the stable operation of the system in a dynamic environment.
[0107] It solves the problem that traditional systems lack dynamic adaptability and are difficult to respond quickly to changes in network topology and fluctuations in data traffic.
[0108] Dynamic adjustment and optimization: Through real-time monitoring of data and dynamic adjustment of knowledge graphs, timely optimization of system configuration and strategy can be achieved to ensure stable operation of the system in a dynamic environment.
[0109] Step S1 specifically includes the following steps:
[0110] S1.1. Node selection: Determine where edge computing nodes need to be deployed, usually at the edge of the network or in areas with high load;
[0111] S1.2, Hardware configuration: Select appropriate edge computing devices, including processors, storage, and network interfaces;
[0112] S1.3, Software Installation: Install edge computing platform software on the device, such as OpenStackEdge and KubeEdge;
[0113] S1.4, Network connection: Configure the node's network connection to ensure smooth communication with the main network and other nodes;
[0114] S1.5, Data collection module: Deploy the data collection module to collect various data of the main network in real time, including power data and topology information;
[0115] S1.6, Data processing module: deploy the data processing module to pre-process the collected data, such as denoising and standardization;
[0116] S1.7, Data storage module: Deploy the data storage module to store processed data and support fast access and query.
[0117] Specifically, the above steps realize localized data processing by deploying data processing nodes at the edge of the network, reduce data transmission delays, and improve the real-time and efficiency of data processing. At the same time, the distributed architecture of edge computing nodes reduces the burden on the central server and enhances the overall processing capacity of the system.
[0118] The deployment of edge computing nodes enables the system to flexibly respond to different load conditions and improves the reliability and stability of data processing.
[0119] Step S1.1 mainly determines the location where edge computing nodes need to be deployed, usually selecting the edge of the network or areas with high load to ensure the decentralization and efficiency of data processing.
[0120] By deploying nodes in high-load areas, data transmission delays can be avoided, processing efficiency can be improved, and the burden on central servers can be reduced.
[0121] Step S1.2 selects appropriate edge computing devices, including high-performance processors, large-capacity storage, and high-speed network interfaces to meet data processing requirements.
[0122] Ensure that processing nodes have sufficient computing and storage capabilities to efficiently process large amounts of data and avoid hardware performance bottlenecks.
[0123] In step S1.3, edge computing platform software, such as OpenStackEdge and KubeEdge, is installed on the device to provide unified management and scheduling functions.
[0124] Through a professional software platform, the system's management and scheduling capabilities are improved to ensure the efficient operation of edge computing nodes.
[0125] Step S1.4 configures the node’s network connection to ensure smooth communication with the main network and other nodes, and supports high-bandwidth and low-latency network transmission.
[0126] Optimize network connections, reduce data transmission delays, and ensure the real-time and reliability of data processing.
[0127] In step S1.5, the data acquisition module is deployed to collect various data of the main network in real time, including power data, topology information, etc., to provide a basis for subsequent data processing.
[0128] Ensure the comprehensiveness and real-time nature of data collection and provide high-quality data sources.
[0129] In step S1.6, the data processing module is deployed to pre-process the collected data, such as denoising and standardization, to improve the quality and consistency of the data.
[0130] Improve data quality through preprocessing, reduce data noise and errors, and ensure the accuracy of subsequent analysis and processing.
[0131] Step S1.7 deploys a data storage module to store processed data, support fast access and query, and ensure efficient data management.
[0132] Provides reliable data storage and management, supports fast data access, and improves data processing efficiency.
[0133] In order to achieve efficient data processing and resource management, the following formula is used in the present invention:
[0134] Data processing delay formula: in:
[0135] D(t) represents the total delay time of data processing.
[0136] d s Indicates the size of the data transfer.
[0137] b w Indicates the network bandwidth.
[0138] d p Indicates data processing time.
[0139] By optimizing d s 、b w and d p Parameters can effectively reduce the total delay time of data processing and improve real-time performance.
[0140] The resource utilization formula of edge computing nodes is: in:
[0141] U n(t) represents the resource utilization of node n at time t.
[0142] C n (t) represents the usage of computing resources.
[0143] s n (t) indicates the usage of storage resources.
[0144] P n (t) indicates the usage of network transmission resources.
[0145] R n Represents the total resources of node n.
[0146] By dynamically adjusting C n (t), s n (t) and P n (t) allocation can optimize resource utilization U n (t).
[0147] Data preprocessing formula: in:
[0148] X' represents the normalized data.
[0149] X represents the original data.
[0150] μ represents the mean of the data.
[0151] σ represents the standard deviation of the data.
[0152] Improve data consistency and processing quality by standardizing data.
[0153] The S2 step specifically includes the following steps:
[0154] S2.1, Proxy node configuration: Configure multiple proxy nodes, each node is responsible for resource management in a specific area;
[0155] S2.2, communication protocol: determine the communication protocol between proxy nodes;
[0156] S2.3, Resource Monitoring: Deploy the resource monitoring module to monitor the resource usage of each node in real time, such as CPU, memory, and bandwidth;
[0157] S2.4, Resource Scheduling: Implement resource scheduling algorithms and dynamically adjust resource allocation based on the resource usage of nodes;
[0158] S2.5, Data collection: Each proxy node collects model data in the area and uploads it to the central node regularly;
[0159] S2.6, Data integration: The central node integrates the data uploaded by each agent node to form a complete model data set.
[0160] Specifically, step S2 mainly achieves reasonable allocation and efficient utilization of resources and avoids resource waste through dynamic resource management of multi-agent systems. The collaborative work between agent nodes ensures the stable operation of the system under high load or abnormal conditions.
[0161] The proxy node can dynamically adjust resource configuration to ensure that the system can adapt to different load requirements and environmental changes.
[0162] It solves the problem that traditional static resource management methods are difficult to cope with dynamically changing network loads and resource demands, which easily leads to resource waste or bottlenecks and affects system stability and performance.
[0163] In step S2.1, multiple proxy nodes are configured, each of which is responsible for resource management in a specific area to ensure decentralized and efficient resource management. By decentralizing resource management, single point failures are avoided and the reliability and flexibility of the system are improved.
[0164] Step S2.2 determines the communication protocol between the proxy nodes to ensure the timeliness and accuracy of information exchange. By defining an efficient communication protocol, the collaborative work between the proxy nodes is ensured, and the efficiency of resource management is improved.
[0165] Step S2.3 deploys the resource monitoring module to monitor the resource usage of each node in real time, such as CPU, memory, bandwidth, etc., to ensure the transparency and real-time nature of resource usage. By monitoring resource usage in real time, problems in resource usage can be discovered and resolved in a timely manner to avoid resource waste and performance bottlenecks.
[0166] In step S2.4, the resource scheduling algorithm is implemented to dynamically adjust resource allocation according to the resource usage of the node to ensure efficient use of resources. Through the intelligent resource scheduling algorithm, resource allocation is optimized to improve the overall performance and stability of the system.
[0167] Resource scheduling optimization formula:
[0168] in:
[0169] U(t) represents the resource utilization of the system at time t.
[0170] w i Indicates the weight of the resource.
[0171] R i (t) represents the usage of resource i at time t.
[0172] By optimizing w i and Ri The allocation can maximize the resource utilization U(t) and improve the overall performance of the system.
[0173] In step S2.5, each proxy node collects model data in the area and uploads it to the central node regularly to ensure the integrity and real-time nature of the data. Through distributed data collection, the comprehensiveness and accuracy of data collection are ensured, and data processing efficiency is improved.
[0174] In step S2.6, the central node integrates the data uploaded by each proxy node to form a complete model data set to ensure data consistency and integrity. Through data integration, data redundancy and conflict can be avoided, and data quality and processing efficiency can be improved.
[0175] Data integration consistency formula:
[0176]
[0177] in:
[0178] D c Represents the consistency measure of the integrated data.
[0179] d i Represents the i-th data fragment.
[0180] C(d i ) represents data fragment d i The consistency measure.
[0181] By calculating the data consistency metric D c , ensuring that the integrated data has high consistency and integrity.
[0182] The S3 step specifically includes the following steps:
[0183] S3.1. Data import: import model data from the main network OCS system;
[0184] S3.2, Data cleaning: Clean the imported data to remove redundant and erroneous data;
[0185] S3.3, Data conversion: Convert the cleaned data into a knowledge graph format, using RDF or other semantic web formats;
[0186] S3.4, Graph construction: Use the graph database to build a knowledge graph and define the attributes and relationships of nodes and edges;
[0187] S3.5, Relationship mapping: According to the topological relationship in the model data, it is mapped to the knowledge graph to form nodes and connection relationships;
[0188] S3.6, Graph Verification: Verify the constructed knowledge graph.
[0189] Specifically, the S3 step converts the model data into a knowledge graph to achieve structured and systematic management of the data, making it easier to store, manage, and retrieve.
[0190] Provide intuitive network topology display: The visual display of the knowledge graph enhances the readability of the data and facilitates analysis and application.
[0191] It solves the problems of traditional model data management methods lacking structure and systematization, making it difficult to store and retrieve data effectively, and the data display being unintuitive, which affects the efficiency of analysis and decision-making.
[0192] Step S3.1 imports model data from the main network OCS system to ensure the comprehensiveness and accuracy of the data.
[0193] Through the automated data import process, errors and omissions caused by manual import can be avoided, and the efficiency and accuracy of data import can be improved.
[0194] In step S3.2, the imported data is cleaned to remove redundant and erroneous data and ensure the quality and consistency of the data.
[0195] Through data cleaning, noise and errors in the data can be eliminated to ensure the accuracy of subsequent processing and analysis.
[0196] Data cleaning formula: X clean =XE(X);
[0197] in:
[0198] X clean Represents the cleaned data.
[0199] X represents the original data.
[0200] E(X) represents the errors and redundancies in the data.
[0201] Step S3.3 converts the cleaned data into a knowledge graph format, using RDF or other semantic web formats to ensure the data is structured.
[0202] Through data conversion, the data can be more structured and systematized, which facilitates subsequent storage, retrieval and analysis.
[0203] Data conversion formula:
[0204] RDF(X clean )={subiect,predicate,obiect}
[0205] in:
[0206] RDF(X clean) represents the converted RDF format data.
[0207] Subject, predicate, and object represent the subject, predicate, and object in RDF.
[0208] In step S3.4, a graph database (such as Neo4j) is used to build a knowledge graph, define the attributes and relationships of nodes and edges, and ensure the accuracy and completeness of the graph.
[0209] Through efficient storage and management of graph databases, efficient construction and maintenance of knowledge graphs can be achieved, thereby improving data management efficiency.
[0210] Step S3.5 maps the topological relationship in the model data to the knowledge graph to form nodes and connection relationships to ensure accurate reflection of data relationships.
[0211] Through relationship mapping, the accuracy and completeness of data relationships in the knowledge graph can be ensured, and the accuracy of data display and analysis can be improved.
[0212] Relationship mapping formula: G = (V, E);
[0213] in:
[0214] G represents the constructed graph.
[0215] V represents a node set.
[0216] E represents the edge set.
[0217] Step S3.6 verifies the constructed knowledge graph to ensure the accuracy and completeness of the graph and avoid errors and omissions.
[0218] Through graph verification, the quality and reliability of the knowledge graph can be ensured, and the accuracy of data analysis and decision-making can be improved.
[0219] Graph verification formula:
[0220]
[0221] in:
[0222] V(G) represents the graph verification result.
[0223] δ(v i ,e j ) represents node v i and edge j The consistency check results.
[0224] The S4 step specifically includes the following steps:
[0225] S4.1. Graph generation: Use drawing tools such as D3.js and Graphviz to generate the main network topology graph;
[0226] S4.2, Model deduction: Based on existing data and knowledge graphs, deduce new models to predict possible network changes and expansions;
[0227] S4.3, Model verification: Verify the generated new model to ensure that it conforms to the actual situation and prediction requirements;
[0228] S4.4, Graphics update: Convert the verified new model into a graphics format and update the main network topology;
[0229] S4.5. Visual display: The updated main network topology is displayed through a graphical interface, and interactive functions are provided for users to view and analyze.
[0230] Specifically, step S4 generates and updates the main network topology graph to achieve a visual display of the network structure, making it easier for users to view and analyze it intuitively.
[0231] Provide prediction and verification functions: Through model deduction and verification, predict possible network changes and expansions to ensure network stability and reliability.
[0232] In step S4.1, drawing tools such as D3.js and Graphv iz are used to generate the main network topology graph and provide an intuitive display of the network structure.
[0233] By automating graphics generation, we can avoid the errors and inconvenience of manual drawing and improve the efficiency and accuracy of graphics generation.
[0234] In step S4.2, based on existing data and knowledge graphs, a new model is derived to predict possible network changes and expansions, ensuring the model’s foresight and adaptability.
[0235] Through model simulation, possible network changes and problems can be identified in advance, and preventive and prepared work can be done.
[0236] Model deduction formula:
[0237] M new =T(M current , D historical , G);
[0238] in:
[0239] M new Represents the new model after deduction.
[0240] M current Represents the current model.
[0241] D historicalRepresents historical data.
[0242] G represents the knowledge graph.
[0243] By deducing function f, the model is deduced by combining the current model, historical data and knowledge graph.
[0244] Step S4.3 verifies the generated new model to ensure that it conforms to the actual situation and prediction requirements and improves the reliability of the model.
[0245] Through model verification, the accuracy and practicality of the new model can be ensured, and the impact of prediction errors on the network can be avoided.
[0246] Model validation formula:
[0247]
[0248] in:
[0249] V(M new ) represents the validation result of the new model.
[0250] δ(M new ,R i ) represents the difference between the new model and the actual situation R i consistency check.
[0251] Use consistency checks to ensure that the new model matches reality.
[0252] Step S4.4 converts the verified new model into a graphic format, updates the main network topology diagram, and ensures the real-time and accuracy of the diagram.
[0253] By updating graphics, the timeliness and accuracy of the network topology diagram can be ensured, allowing users to view the latest network structure at any time.
[0254] Step S4.5 displays the updated main network topology through a graphical interface, provides interactive functions for users to view and analyze, and improves the user experience.
[0255] Through visual display, it provides an intuitive and friendly user interface to facilitate users to operate and analyze the network structure.
[0256] Step S5 specifically includes the following steps:
[0257] S5.1. Model import: import the new model generated by drawing into the knowledge graph system;
[0258] S5.2, data conversion: convert the new model data into knowledge graph format;
[0259] S5.3, graph update: update the existing knowledge graph and add new nodes and edge relationships;
[0260] S5.4, consistency check: check the consistency of the spectrum;
[0261] S5.5. Graph optimization: Optimize the updated knowledge graph.
[0262] Specifically, step S5 maintains the real-time and dynamic nature of the knowledge graph by transforming the new model data into a new knowledge graph, ensuring that the system can be optimized and adjusted based on the latest model data.
[0263] Step S5.1 imports the generated new model into the knowledge graph system to ensure the integrity and accuracy of the new model data.
[0264] Through automated model import, errors and omissions in manual input can be avoided, and data import efficiency and accuracy can be improved.
[0265] Step S5.2 converts the new model data into a knowledge graph format, using RDF or other semantic web formats to ensure the data is structured.
[0266] Through data conversion, the data can be more structured and systematized, which facilitates subsequent storage, retrieval and analysis.
[0267] Data conversion formula:
[0268] RDF(M clean )={subiect, predicate, obiect};
[0269] in:
[0270] RDF(M clean ) represents the converted RDF format data.
[0271] Subject, predicate, and object represent the subject, predicate, and object in RDF.
[0272] Step S5.3 updates the existing knowledge graph, adds new nodes and edge relationships, and ensures the latest status of the knowledge graph.
[0273] By updating the graph, the knowledge graph is kept dynamic and real-time, ensuring the latest status of the data.
[0274] Spectrum update formula: G'=G+ΔG;
[0275] in:
[0276] G' represents the updated knowledge graph.
[0277] G represents the existing knowledge graph.
[0278] ΔG represents the newly added nodes and edge relationships.
[0279] Step S5.4 checks the consistency of the graph to ensure the consistency and correctness of the new data with the existing data and to avoid data conflicts and redundancies.
[0280] Through consistency checks, the quality and reliability of the knowledge graph can be ensured, and the accuracy of data analysis and decision-making can be improved.
[0281] Consistency check formula:
[0282]
[0283] in:
[0284] 0(G') represents the consistency check result of the spectrum.
[0285] δ(v i , e j ) represents node v i and edge j The consistency measure.
[0286] Step S5.5 optimizes the updated knowledge graph to improve query and storage efficiency and ensure efficient management of the graph.
[0287] Through graph optimization, the performance of the knowledge graph is improved to ensure efficient data access and management.
[0288] Graph optimization formula:
[0289]
[0290] in:
[0291] 0(G') represents the optimized knowledge graph layout.
[0292] d(v i , e j ) represents node v i and node e j The distance between.
[0293] By optimizing the layout and minimizing the distance between nodes, the readability and query efficiency of the graph can be improved.
[0294] Step S6 specifically includes the following steps:
[0295] S6.1, Strategy definition: define the strategy and rules for the startup plan and clarify the settings of various parameters;
[0296] S6.2, Algorithm design: Design an algorithm to automatically generate startup plans, taking into account different constraints and optimization goals;
[0297] S6.3, Module Implementation: Implement the startup plan generation module, including strategy formulation, plan optimization and output modules;
[0298] S6.4, Solution generation: Automatically generate a startup solution based on the knowledge graph;
[0299] S6.5, Scheme verification: verify the generated startup scheme;
[0300] S6.6, Automatic adjustment: Dynamically adjust the startup plan based on real-time data and knowledge graph.
[0301] Specifically, step S6 automatically generates a startup plan through the knowledge graph, reduces manual intervention, and improves the accuracy and execution efficiency of the startup plan. Dynamically adapt to network changes to ensure that the system can flexibly respond to changes.
[0302] Improve system response speed and reliability: Automated startup plan generation and adjustment ensure that the system can quickly respond and adapt to various network changes, improving system stability and reliability.
[0303] Step S6.1 defines the strategy and rules for launching the plan and clarifies the settings of various parameters to ensure the standardization and operability of the plan.
[0304] By clarifying strategies and rules, we can avoid uncertainty in the plan-making process and improve the accuracy and feasibility of the plan.
[0305] In step S6.2, an algorithm is designed to automatically generate the startup plan, taking into account different constraints and optimization objectives to ensure the optimization of the plan.
[0306] Through intelligent algorithms, the process of generating startup plans is optimized to improve the effectiveness and execution efficiency of the plans.
[0307] Startup plan optimization formula:
[0308]
[0309] in:
[0310] S opt Indicates the optimized startup plan.
[0311] S represents the startup scheme.
[0312] w i represents the weight of constraint i.
[0313] C i (S) represents the cost of starting plan S to satisfy constraint i.
[0314] Step S6.3 ensures the automation and intelligence of the system by implementing the startup solution generation module, including strategy formulation, solution optimization and output modules.
[0315] Through modular design, the flexibility and maintainability of the system are improved, ensuring the efficiency and accuracy of the solution generation process.
[0316] Step S6.4 automatically generates a startup plan based on the knowledge graph to ensure the timeliness and accuracy of the plan. By automating plan generation, human intervention is reduced and the efficiency and accuracy of plan generation are improved.
[0317] S6.5 Verify the generated startup plan to ensure its feasibility and effectiveness and avoid problems during implementation.
[0318] Through program verification, the reliability and execution effect of the launch plan can be ensured, and possible problems that may arise during the implementation process can be avoided.
[0319] Solution verification formula:
[0320]
[0321] in:
[0322] V(S opt ) indicates the verification result.
[0323] δ(S opt , R i ) represents the optimization scheme and the actual condition R i consistency check.
[0324] Step S6.6 dynamically adjusts the startup plan based on real-time data and knowledge graphs to ensure that the system can flexibly respond to changes and improve the stability and adaptability of the system.
[0325] Through dynamic adjustment of real-time data, timely update and adjustment of the startup plan can be ensured to avoid the impact caused by network changes.
[0326] Automatic adjustment formula:
[0327] A(S opt , t) = f(S opt , D(t), G(t));
[0328] in:
[0329] A(S opt , t) represents the adjustment result of the startup plan at time t.
[0330] S opt Indicates the optimized startup plan.
[0331] D(t) represents the real-time data at time tt.
[0332] G(t) represents the knowledge graph at time tt.
[0333] Step S7 specifically includes the following steps:
[0334] S7.1. Data preparation: Collect and organize model data, perform preprocessing and feature extraction;
[0335] S7.2. Model selection: Select appropriate machine learning algorithms, such as random forest, support vector machine, and deep learning;
[0336] S7.3. Training model: Use the prepared data to train the machine learning model and adjust the parameters to obtain the best results;
[0337] S7.4. Model evaluation: Evaluate the trained model and perform performance testing using cross-validation and test sets;
[0338] S7.5, Model optimization: Optimize the model according to the evaluation results;
[0339] S7.6. Deployment and application: Deploy the optimized model to the system.
[0340] Specifically, step S7 uses advanced machine learning algorithms to analyze and optimize model data, improve the accuracy and reliability of the model, and provide more accurate decision support for the system. Through machine learning technology, big data is used to optimize the model and improve the intelligence level and processing efficiency of the system.
[0341] Step S7.1 collects and organizes model data, performs preprocessing and feature extraction to ensure data quality and consistency.
[0342] Through data preparation, the quality and consistency of data can be improved to ensure the accuracy of subsequent model training and optimization.
[0343] In step S7.2, select a suitable machine learning algorithm, such as random forest, support vector machine, deep learning, and choose the optimal algorithm based on data characteristics and requirements.
[0344] Through algorithm selection, we ensure that the model can effectively process data and improve the accuracy and reliability of the model.
[0345] Step S7.3 uses the prepared data to train the machine learning model and adjust the parameters to obtain the best results.
[0346] Through model training, model parameters are optimized to improve the model's predictive ability and stability.
[0347] Model training formula:
[0348] in:
[0349] L(θ) represents the loss function of model parameters θ.
[0350] N represents the number of samples of training data.
[0351] L represents the loss function (such as mean square error).
[0352] (f(x i ; θ) represents the predicted value of the model.
[0353] y i Represents the true value.
[0354] Step S7.4 ensures the accuracy and stability of the model by evaluating the trained model and performing performance testing using cross-validation and test sets.
[0355] Through model evaluation, the predictive ability and applicability of the model are verified to ensure the effectiveness of the model in practical applications.
[0356] Model evaluation formula:
[0357]
[0358] in:
[0359] CV(f) represents the cross validation result.
[0360] K represents the number of cross-validation folds.
[0361] Represents the loss function.
[0362] and Represent the training set and validation set data respectively.
[0363] In step S7.5, the model is optimized based on the evaluation results, and the parameters and structure are adjusted to improve the accuracy and robustness of the model.
[0364] Through model optimization, the performance of the model can be further improved to ensure the adaptability and stability of the model in various application scenarios.
[0365] Step S7.6 deploys the optimized model into the system, analyzes and optimizes the newly acquired model data in real time, and ensures the effectiveness and reliability of the model in practical applications.
[0366] Through model deployment, we ensure that the optimized model can play a role in practical applications and improve the intelligence level and decision-making support capabilities of the system.
[0367] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for intelligent expansion of mainnet graphics and models, characterized in that: The following steps are involved: S1. Deploy data processing nodes based on edge computing; S2, implement dynamic resource management based on multi-agent system and obtain model data; S3. Convert the model obtained from the main network OCS system into the knowledge graph of the main network topology; S4, draw the main network graph and generate a new model; S5, forming a new knowledge graph by drawing the generated model; S6. Implement a system for automatically generating startup plans based on knowledge graphs; S7. Use machine learning algorithms to analyze and optimize model data.
2. A method for intelligent expansion of main network graphics and models according to claim 1, characterized in that: The S1 step specifically includes the following steps: S1.
1. Node selection: Determine where edge computing nodes need to be deployed, usually at the edge of the network or in areas with high load; S1.2, Hardware configuration: Select appropriate edge computing devices, including processors, storage, and network interfaces; S1.3, Software Installation: Install edge computing platform software on the device, such as OpenStackEdge and KubeEdge; S1.4, Network connection: Configure the node's network connection to ensure smooth communication with the main network and other nodes; S1.5, Data collection module: Deploy the data collection module to collect various data of the main network in real time, including power data and topology information; S1.6, Data processing module: deploy the data processing module to pre-process the collected data, such as denoising and standardization; S1.7, Data storage module: Deploy the data storage module to store processed data and support fast access and query.
3. According to claim 1, a method for intelligent expansion of main network graphics and models is characterized in that: The S2 step specifically includes the following steps: S2.1, Proxy node configuration: Configure multiple proxy nodes, each node is responsible for resource management in a specific area; S2.2, communication protocol: determine the communication protocol between proxy nodes; S2.3, Resource Monitoring: Deploy the resource monitoring module to monitor the resource usage of each node in real time, such as CPU, memory, and bandwidth; S2.4, Resource Scheduling: Implement resource scheduling algorithms and dynamically adjust resource allocation based on the resource usage of nodes; S2.5, Data collection: Each proxy node collects model data in the area and uploads it to the central node regularly; S2.6, Data integration: The central node integrates the data uploaded by each agent node to form a complete model data set.
4. A method for intelligent expansion of main network graphics and models according to claim 1, characterized in that: The S3 step specifically includes the following steps: S3.
1. Data import: import model data from the main network OCS system; S3.2, Data cleaning: Clean the imported data to remove redundant and erroneous data; S3.3, Data conversion: Convert the cleaned data into a knowledge graph format, using RDF or other semantic web formats; S3.4, Graph construction: Use the graph database to build a knowledge graph and define the attributes and relationships of nodes and edges; S3.5, Relationship mapping: According to the topological relationship in the model data, it is mapped to the knowledge graph to form nodes and connection relationships; S3.6, Graph Verification: Verify the constructed knowledge graph.
5. The method for intelligent expansion of main network graphics and models according to claim 1, characterized in that: The S4 step specifically includes the following steps: S4.
1. Graph generation: Use drawing tools such as D3.js and Graphviz to generate the main network topology graph; S4.2, Model deduction: Based on existing data and knowledge graphs, deduce new models to predict possible network changes and expansions; S4.3, Model verification: Verify the generated new model to ensure that it conforms to the actual situation and prediction requirements; S4.4, Graphics update: Convert the verified new model into a graphics format and update the main network topology; S4.
5. Visual display: The updated main network topology is displayed through a graphical interface, and interactive functions are provided for users to view and analyze.
6. A method for intelligent expansion of main network graphics and models according to claim 1, characterized in that: The step S5 specifically includes the following steps: S5.
1. Model import: import the new model generated by drawing into the knowledge graph system; S5.2, data conversion: convert the new model data into knowledge graph format; S5.3, graph update: update the existing knowledge graph and add new nodes and edge relationships; S5.4, consistency check: check the consistency of the spectrum; S5.
5. Graph optimization: Optimize the updated knowledge graph.
7. A method for intelligent expansion of main network graphics and models according to claim 1, characterized in that: The step S6 specifically includes the following steps: S6.1, Strategy definition: define the strategy and rules for the startup plan and clarify the settings of various parameters; S6.2, Algorithm design: Design an algorithm to automatically generate startup plans, taking into account different constraints and optimization goals; S6.3, Module Implementation: Implement the startup plan generation module, including strategy formulation, plan optimization and output modules; S6.4, Solution generation: Automatically generate a startup solution based on the knowledge graph; S6.5, Scheme verification: verify the generated startup scheme; S6.6, Automatic adjustment: Dynamically adjust the startup plan based on real-time data and knowledge graph.
8. The method for intelligent expansion of main network graphics and models according to claim 1, characterized in that: The step S7 specifically includes the following steps: S7.
1. Data preparation: Collect and organize model data, perform preprocessing and feature extraction; S7.
2. Model selection: Select appropriate machine learning algorithms, such as random forest, support vector machine, and deep learning; S7.
3. Training model: Use the prepared data to train the machine learning model and adjust the parameters to obtain the best results; S7.
4. Model evaluation: Evaluate the trained model and perform performance testing using cross-validation and test sets; S7.5, Model optimization: Optimize the model according to the evaluation results; S7.
6. Deployment and application: Deploy the optimized model to the system.
