A method and system for generating safety operation measures for secondary switchgear panels
By constructing the importance evaluation rules for substation secondary screens and generating priority operation lists of screen cabinets, an intuitive human-computer interaction interface is designed, and the target screen cabinet is updated using collaborative filtering algorithms, the problem of low human-computer interaction efficiency and accuracy in the substation is solved, and more efficient and safe operational measures are achieved.
Patent Information
- Application Number
- CN202510308869.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-17
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2045-03-17
AI Technical Summary
In substations, it is difficult for the prior art to design an intuitive and convenient human-computer interaction method to improve the working efficiency and accuracy of the safety operation measures generation process of the substation secondary screen.
By obtaining the real-time screen cabinet layout data and historical typical screen cabinet layout cases of all substations in the substation, an importance evaluation rule is constructed and combined with rule reasoning and case reasoning algorithms, the importance and operation sequence of each substation secondary screen are determined, and a screen cabinet priority operation list is generated. Based on this, the human-computer interactive interface is designed and the target substation secondary screen is updated through a collaborative filtering algorithm to generate a safe operational measure solution.
It realizes a more intuitive and convenient human-computer interaction method, improves the working efficiency and accuracy of the safety operation measures generation process of the substation secondary screen, and reduces the risk of operational errors.
Smart Images

Figure CN119834473B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information technology, and particularly to a method and system for generating safety operation measures for secondary switchgears in a substation. Background Art
[0002] In the method for generating safety operation measures for secondary switchgears in a substation, how to achieve efficient interaction between current staff and the secondary circuit system (which can be simply referred to as the secondary system) that can control all secondary switchgears in substations is a key technical problem.
[0003] The traditional human-computer interaction method is to use a keyboard and a mouse for operation. However, in the special working environment of a substation, current staff often need to frequently switch between different switchgear cabinets. On this premise, the efficiency of using a keyboard and a mouse for selection operations is low and it is also prone to errors.
[0004] Therefore, how to design a more intuitive and convenient human-computer interaction method to improve the work efficiency and accuracy in the process of generating safety operation measures for secondary switchgears in a substation has become a technical problem that needs to be urgently solved by those skilled in the art. Summary of the Invention
[0005] The present invention provides a method and system for generating safety operation measures for secondary switchgears in a substation, and solves the problem of how to design a more intuitive and convenient human-computer interaction method to improve the work efficiency and accuracy in the process of generating safety operation measures for secondary switchgears in a substation.
[0006] To solve the above technical problem, in the first aspect of the present invention, a method for generating safety operation measures for secondary switchgears in a substation is provided, which is applied to a secondary system connected to each secondary switchgear in a substation. The method includes:
[0007] Obtain the real-time switchgear cabinet layout data of all secondary switchgears in the substation and the historical typical switchgear cabinet layout cases of each secondary switchgear;
[0008] Construct the importance evaluation rules for each secondary switchgear, and combine them with the historical typical switchgear cabinet layout cases. Determine the importance degree and operation sequence of each secondary switchgear through a rule reasoning algorithm and a case reasoning algorithm, and generate a switchgear cabinet priority operation list;
[0009] Based on each real-time switchgear cabinet layout data and the switchgear cabinet priority operation list, and in combination with the screen size of the secondary system and the logical relationship and business process between each secondary switchgear, construct the human-computer interaction interface of the secondary system;
[0010] In response to the target secondary substation panel selected by the current staff through the human-computer interaction interface, and obtain the attribute information of the target secondary substation panel, and input it into the pre-constructed panel selection rule decision tree model for processing to obtain a compliance result;
[0011] If the compliance result meets the preset rules, then according to the historical operation data and current selection of the current staff received, use the collaborative filtering algorithm to update the target secondary substation panel to generate a safety operation measure plan.
[0012] As one of the preferred solutions, the obtaining of the real-time panel layout data of all secondary substation panels in the substation includes:
[0013] Receive the panel layout diagrams transmitted by all secondary substation panels in the substation for compression processing to obtain compressed layout data, and store the compressed layout data into a data table of a relational database based on a predefined table structure;
[0014] Use a B+ tree to construct a multi-level index structure for the fields of the relational database, so that when the secondary system is initialized, based on the multi-level index structure, retrieve and extract the target compressed layout data that matches the current system version from the relational database and perform decompression processing to obtain the original panel layout diagram and its position information;
[0015] Determine the layout coordinate information and relative position information of each secondary substation panel according to the position information of the original panel layout diagram, and cache it through the LRU cache policy to obtain the real-time panel layout data of each secondary substation panel.
[0016] As one of the preferred solutions, construct the importance evaluation rules for each secondary substation panel, combine them with the historical typical panel layout cases, and determine the importance level and operation sequence of each secondary substation panel through the rule reasoning algorithm and case reasoning algorithm to generate a panel priority operation list, including:
[0017] Construct the importance evaluation rules based on the functions, positions, and usage frequencies of each secondary substation panel, and combine them with each historical typical panel layout case to be transformed into a rule set and input into a rule reasoning engine based on Drools, and use the decision tree algorithm for rule matching and reasoning to judge the importance level scores of each secondary substation panel;
[0018] Construct a secondary panel layout knowledge base according to the importance level scores of each secondary substation panel, the layout methods of each historical typical panel layout case, and the position information of the secondary substation panels contained therein;
[0019] The nearest neighbor algorithm is used to calculate the similarity and match each of the real-time cabinet layout data with the typical cabinet layout cases, so as to extract the target layout cases, their importance scores, and operation sequence information from the secondary cabinet layout knowledge base, and process them through the quicksort algorithm to obtain the cabinet priority operation list.
[0020] As one of the preferred solutions, based on each of the real-time cabinet layout data and the cabinet priority operation list, and combined with the screen size of the secondary system and the logical relationships and business processes among the secondary substations, a man-machine interface of the secondary system is constructed, including:
[0021] The responsive layout design method based on the grid system is used to divide each of the real-time cabinet layout data into several grid units, and the size and quantity of each grid unit are adjusted according to the screen size of the secondary system;
[0022] Taking the cabinet priority operation list as a constraint condition, according to the importance and operation frequency of each secondary substation cabinet in the secondary cabinet layout knowledge base, an initial layout of each secondary substation cabinet on the screen interface of the secondary system is performed;
[0023] The initial layout result is adjusted according to the logical relationships and business processes among the secondary substation cabinets, so as to configure the color matching and structure of the interface of the secondary system, optimize the element arrangement of the interface through the layout algorithm, and integrate the interactive methods of touch or click on the interface to generate and display the man-machine interface of the secondary system.
[0024] As one of the preferred solutions, before obtaining the attribute information of the target secondary substation cabinet and inputting it into a pre-constructed cabinet selection rule decision tree model for processing to obtain a compliance result, it includes:
[0025] Obtain the unique identification information corresponding to the target secondary substation cabinet, and extract the target position information of the target secondary substation cabinet and its relevant position information with the remaining secondary substation cabinets from the secondary cabinet layout knowledge base according to the unique identification information;
[0026] Based on the target position information and the relevant position information, the spatial index algorithm is used to retrieve the adjacent cabinets within a preset range from the target secondary substation cabinet, and the importance scores of each adjacent cabinet are extracted from the secondary cabinet layout knowledge base;
[0027] Traverse the importance scores and live status data of each adjacent switchgear cabinet, compare them with the preset importance threshold and the preset live status respectively, and use the adjacent switchgear cabinets with scores exceeding the preset importance threshold and in the live status as target adjacent switchgear cabinets for warning markings on the man-machine interaction interface.
[0028] As one of the preferred solutions, obtain the attribute information of the target secondary substation switchgear cabinet and input it into a pre-constructed decision tree model of switchgear cabinet selection rules for processing to obtain a compliance result, including:
[0029] Based on the position information, size information, and importance scores of the secondary substation switchgear cabinets contained in each of the historical typical switchgear cabinet layout cases, use the decision tree algorithm to convert the switchgear cabinet selection rules and safety specifications into the nodes and edges of the decision tree to construct the decision tree model of switchgear cabinet selection rules;
[0030] Extract the attribute information of the target secondary substation switchgear cabinet and convert it into an input feature vector, input it into the decision tree model of switchgear cabinet selection rules for real-time parsing and rule matching, and judge whether the current selection conforms to the preset switchgear cabinet selection rules and preset safety specifications according to the parsing and matching results to obtain the compliance result of the operation.
[0031] As one of the preferred solutions, if the compliance result conforms to the preset rules, update the target secondary substation switchgear cabinet using the collaborative filtering algorithm according to the historical operation data and the current selection of the current staff to generate a safe operation measure plan, including:
[0032] In the priority list generation step, if the compliance result conforms to the preset rules, perform a weighted average of the importance and access frequency of each secondary substation switchgear cabinet to quantify the comprehensive score of each secondary substation switchgear cabinet and sort it from high to low to generate a switchgear cabinet priority list;
[0033] In the target switchgear cabinet update step, determine the target position information of the target secondary substation switchgear cabinet according to the current selection to determine the set of multiple adjacent switchgear cabinets of the target secondary substation switchgear cabinet and their relative position information, and combine them with the obtained historical operation data of the current staff, the switchgear cabinet priority list, and the target position information of the target secondary substation switchgear cabinet as the input of the collaborative filtering algorithm to output the updated target secondary substation switchgear cabinet;
[0034] Based on the updated target secondary substation switchgear cabinet, repeat the priority list generation step and the target switchgear cabinet update step until the preset number of repetitions is reached, and combine the updated target secondary substation switchgear cabinets obtained in each iteration process to generate a safe operation measure plan.
[0035] As one of the preferred solutions, the target switchgear update step further includes:
[0036] Obtain the historical operation record data of a number of staff members, and extract the historical accessed switchgears of each staff member from the historical operation record data to construct a user-switchgear scoring matrix;
[0037] Quantify the similarity between each staff member based on the user-switchgear scoring matrix to obtain a user similarity matrix, which is combined with the target secondary switchgear of the current substation determined by the current selection of the current staff member, and predict the degree of interest of the current staff member in each of the secondary switchgears through a collaborative filtering algorithm model to obtain a recommended switchgear sorted list;
[0038] Select the top N secondary switchgears with the highest recommendation degree from the recommended switchgear sorted list, weight them by their own importance scores, and output the secondary switchgear with the highest weighted score as the updated target secondary switchgear.
[0039] As one of the preferred solutions, if the compliance result meets the preset rules, then after using the collaborative filtering algorithm to update the target secondary switchgear according to the historical operation data and current selection of the current staff member to generate a safety operation measure plan, it includes:
[0040] Obtain the real-time behavior data of the current staff member for preprocessing, and use an incremental learning algorithm to perform online learning on the preprocessed real-time behavior data to capture the dynamic change trend of the operation behavior of the current staff member in real time, and perform a primary optimization on the safety operation measure plan based on the dynamic change trend;
[0041] Obtain the switchgear ID, operation type, and operation time of the current staff member in his own historical operation data, use the switchgear ID and the operation type as item sets, and the operation time as a transaction ID, and mine the association rules between the current staff member in different secondary switchgears and operations through an association rule mining algorithm;
[0042] Use a classification algorithm to classify the historical operation data, identify potential risk operations to add risk labels to each of the secondary switchgears, and perform a secondary optimization on the safety operation measure plan after the primary optimization based on the association rules and the risk labels to generate a final safety operation measure plan.
[0043] The second aspect of the present invention provides a safety operation measure generation system for secondary switchgears of a substation, which is applied to a secondary system connected to each secondary switchgear in the substation. The safety operation measure generation system includes:
[0044] A data acquisition module, configured to acquire the real-time cabinet layout data of all secondary power transformation cabinets in the substation and the historical typical cabinet layout cases of each secondary power transformation cabinet;
[0045] A list generation module, configured to construct the importance evaluation rules for each secondary power transformation cabinet, combine with the historical typical cabinet layout cases, determine the importance degree and operation sequence of each secondary power transformation cabinet through rule reasoning algorithm and case reasoning algorithm, and generate a cabinet priority operation list;
[0046] An interface construction module, configured to construct a human-computer interaction interface of the secondary system based on the real-time cabinet layout data and the cabinet priority operation list of each, and combine with the screen size of the secondary system and the logical relationship and business process between each secondary power transformation cabinet;
[0047] A result acquisition module, configured to respond to the target secondary power transformation cabinet selected by the current staff through the human-computer interaction interface, and acquire the attribute information of the target secondary power transformation cabinet, so as to input it into a pre-constructed cabinet selection rule decision tree model for processing to obtain a compliance result;
[0048] A solution generation module, configured to, if the compliance result meets the preset rules, update the target secondary power transformation cabinet according to the historical operation data and current selection received by the current staff by using a collaborative filtering algorithm, so as to generate a safety operation measure solution.
[0049] Compared with the prior art, the beneficial effects of the embodiments of the present invention are at least one of the following:
[0050] (1) Through the determination of importance evaluation and operation sequence, the staff can operate according to the priority, avoiding blind and repetitive work, and improving the operation efficiency; combining historical cases and real-time data, as well as compliance judgment, ensures the safety and accuracy of the operation and reduces the risk of operation errors;
[0051] (2) The constructed human-computer interaction interface is intuitive and easy to use, enabling the staff to quickly get started and efficiently complete the operation tasks. By using intelligent technologies such as rule reasoning, case reasoning, and collaborative filtering algorithms, the secondary system can make reasonable decisions based on historical data and current situations, providing scientific operation guidance for the staff. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions of the present invention, the drawings required for implementation will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0053] Figure 1 It is a flowchart of a method for generating safety operation measures for a secondary substation panel provided by an embodiment of the present invention;
[0054] Figure 2 It is a structural diagram of a system for generating safety operation measures for a secondary substation panel provided by an embodiment of the present invention. Detailed implementation manners
[0055] Next, in combination with the accompanying drawings and embodiments, the technical solutions in the embodiments of the present invention will be clearly and completely described. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without making creative efforts belong to the scope of protection of the present invention.
[0056] In the description of this application, the terms "first", "second", "third", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first", "second", "third", etc. may explicitly or implicitly include one or more of such features. In the description of this application, unless otherwise stated, the meaning of "a plurality" is two or more.
[0057] In the description of this application, it should be noted that unless otherwise clearly specified and limited, the terms "installed", "connected", "connected" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection; it may be directly connected, or indirectly connected through an intermediate medium, and it may be the internal communication of two components. The terms "vertical", "horizontal", "left", "right", "up", "down" and similar expressions used herein are only for the purpose of illustration and do not indicate or imply that the system or component referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus cannot be understood as a limitation of the present invention. The term "and / or" used herein includes any and all combinations of one or more of the 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.
[0058] In the description of the present 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 technical field to which the present invention belongs. 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 the present application can be understood according to specific circumstances.
[0059] In one embodiment, as Figure 1 shown, the first aspect of the present invention provides a method for generating safety operation measures for secondary transformation screens, which is applied to a secondary system connected to each secondary transformation screen in a substation. The method includes:
[0060] S1. Obtain the real-time cabinet layout data of all secondary transformation screens in the substation and the historical typical cabinet layout cases of each secondary transformation screen;
[0061] Specifically, the secondary transformation screen in the present invention refers to a cabinet-like device used to carry secondary equipment in a substation, and can also be called a screen, cabinet, screen cabinet, etc. In a substation, there are many types of them, mainly including protection screens (cabinets), measurement and control screens (cabinets), communication cabinets, video cabinets, clock screens, battery screens, DC screens, AC screens, meter screens, etc. Each type of cabinet has its specific use. Some can judge whether the primary equipment is in a normal working state by collecting and processing the operation data of the primary equipment, some can real-time monitor various parameters of the power system, such as voltage, current, power, etc., and upload these data to the secondary circuit system (or can be called the secondary system) connected to each secondary transformation screen in the substation for efficient interaction. Some can even integrate functions such as remote operation, reliable locking, and real-time monitoring to further improve the safety and reliability of the power system; among them, the real-time cabinet layout data can be obtained by accessing the computer monitoring system equipped in the substation, and the historical typical cabinet layout cases of each secondary transformation screen can be obtained by accessing the database storing the design schemes and historical records of the cabinet layout.
[0062] In one embodiment, the obtaining the real-time cabinet layout data of all secondary transformation screens in the substation includes:
[0063] Receiving the cabinet layout diagrams transmitted by all secondary transformation screens in the substation for compression processing to obtain the compressed layout data, and storing the compressed layout data into the data table of a relational database based on a predefined table structure;
[0064] A B+ tree is used to construct a multi-level index structure for the fields of the relational database, so that when the secondary system is initialized, based on the multi-level index structure, the target compressed layout data that matches the current system version is retrieved and extracted from the relational database and decompressed to obtain the original switchgear layout diagram and its position information;
[0065] According to the position information of the original switchgear layout diagram, the layout coordinate information and relative position information of each secondary substation switchgear are determined and cached through the LRU cache strategy to obtain the real-time switchgear layout data of each secondary substation switchgear.
[0066] In addition, the present invention can also compress the switchgear layout diagrams sent by each secondary substation switchgear to obtain compressed layout data; among them, the compressed layout data includes compressed image data and related position information; then it is stored in a data table based on a predefined table structure for efficient storage and query of layout diagram data; the table structure should include fields such as compressed image data field, position information field, and version information field. Taking a 500 kV substation as an example, the original size of the layout diagram of its secondary substation switchgear is 5000x3000 pixels, and the file size is about 45 MB. Using the JPEG2000 compression algorithm, it can be compressed to about 10% of the original size, that is, 4.5 MB, while keeping the image quality loss within an acceptable range. The compressed image data can be converted into a binary format for storage to facilitate database operations; when designing the relational database table structure, a table named "switchgear layout diagram" can be created, including the following fields: ID (primary key, auto-incrementing integer), substation name (variable-length string), compressed image data (binary large object BLOB), position information (JSON format string), version number (integer), update time (date and time), etc. with a predefined structure; among them, the position information field stores the coordinate data of each switchgear, such as {"switchgear 1": [100, 200], "switchgear 2": [300, 200]}, which is convenient for subsequent parsing and rendering.
[0067] For the layout diagram data stored in the data table, a multi-level index is established using a B+ tree. Appropriate index types and index fields are adopted to improve the efficiency of data retrieval and query. When initializing the secondary system, the latest cabinet layout diagram data that matches the current system version is loaded from the data table. The compressed data and relevant position information of each cabinet layout diagram are obtained and decompressed to restore the original cabinet layout diagram for visual display and operation in the system. To improve the query efficiency, a composite index can be established on the "substation name" and "version number" fields, using the B+ tree index structure to quickly locate the latest version layout diagram of a specific substation, and a separate index is established on the "update time" field to form a multi-level index structure. When initializing the secondary system, the latest version layout diagram data is retrieved from the database through an SQL query statement: for example, SELECT compressed image data, position information FROM cabinet layout diagram WHERE substation name = `XX 500kV Substation' ORDER BY version number DESC LIMIT 1. The obtained compressed data is then decompressed. Assuming a JPEG2000 decoder is used, the binary data can be restored to the original image format. The decompressed layout diagram needs to be rendered according to the position information. Taking a web application as an example, the HTML5 Canvas element can be used to draw the layout diagram: first, the image is drawn as the background, and then the position information JSON data is parsed to draw the interactive area or markers at the corresponding coordinate positions, which not only ensures the accuracy of the layout but also realizes the user interaction function.
[0068] Finally, the layout coordinate information and relative position information of each secondary substation cabinet are determined according to the position information of the original cabinet layout diagram, and cached through the LRU (Least Recently Used) cache policy to improve the access and call efficiency of the layout diagram during the operation of the secondary system, reduce frequent database query operations, and during the operation of the system, the cabinet layout diagram data is dynamically loaded and updated as needed. By comparing the data version and the system version, it is ensured that the layout diagram data used is consistent with the system version, and thus the real-time cabinet layout data of each secondary substation cabinet that can ensure the accuracy and reliability of the data is obtained. When adopting the LRU (Least Recently Used) cache policy, assuming that the secondary system memory allows caching the layout diagram data of 10 cabinets in the substation, whenever a site is accessed, its data is loaded to the top of the cache. When the cache reaches the upper limit, the least recently used data is deleted, which can significantly reduce the number of database queries and improve the response speed; and during the operation of the system, the version number in the database is checked through a regular polling or push mechanism to dynamically update the layout diagram data. If a new version is found, the local cache is updated to ensure that the system always uses the latest layout data.
[0069] The present invention significantly reduces the data storage space and transmission bandwidth requirements through compression processing, while the use of relational databases provides powerful data management and query capabilities; at the same time, the establishment of multi-level indexes optimizes the data retrieval efficiency, and the introduction of a caching mechanism balances the performance and real-time requirements. This entire set of solutions is not only applicable to the layout diagrams of secondary switchgear cabinets in substations, but can also be extended to other similar large-scale graphic data management scenarios, such as factory layout diagrams, building floor plans, etc. In this way, substation operation and maintenance staff can quickly and accurately obtain and operate the layout information of secondary switchgear cabinets, improving work efficiency and accuracy. At the same time, the scalability and performance of the secondary system are also ensured, providing a good foundation for future function expansion and data scale growth.
[0070] In addition, for the historical typical layout cases of each secondary switchgear cabinet in a substation, different voltage levels of substations can be started with, such as 500 kV, 220 kV, 110 kV, etc., to analyze the functional configuration and spatial layout characteristics of their secondary switchgear cabinets. For example, the secondary equipment room of a 500 kV substation may include various types of switchgear cabinets such as protection cabinets, measurement and control cabinets, and communication cabinets. Its layout needs to consider the logical relationship and operation convenience between equipment. Each classic case includes fields such as substation basic information, switchgear cabinet operation sequence, and the position coordinates and layout methods of the involved switchgear cabinets, and the importance score. The relevant data in these cases are stored in the database after the case is generated for easy retrieval, and the selection of typical cases is determined according to the relationship between the score after the operation of the case and the preset score. When scoring, factors such as operation time and error rate are involved. Without going into details here, only cases with scores exceeding the preset score can be stored in the database as typical cases.
[0071] S2. Construct the importance evaluation rules for each of the secondary switchgear cabinets in the substation, and combine them with the historical typical layout cases of the switchgear cabinets. Determine the importance level and operation sequence of each of the secondary switchgear cabinets through rule inference algorithms and case inference algorithms, and generate an operation list of cabinet priorities;
[0072] In one embodiment, step S2 includes:
[0073] Construct the importance evaluation rules based on the functions, positions, and usage frequencies of each of the secondary switchgear cabinets in the substation, and combine them with each of the historical typical layout cases of the switchgear cabinets to be transformed into a rule set and input into a rule inference engine based on Drools, so as to perform rule matching and inference through a decision tree algorithm to judge the importance score of each of the secondary switchgear cabinets;
[0074] Construct a knowledge base for the layout of secondary switchgear cabinets according to the importance scores of each of the secondary switchgear cabinets, the layout methods of each of the historical typical layout cases of the switchgear cabinets, and the position information of the secondary switchgear cabinets included therein;
[0075] The nearest neighbor algorithm is used to calculate the similarity and match each piece of the real-time switchgear layout data with the typical switchgear layout cases, so as to extract the target layout cases, their importance scores, and operation sequence information from the secondary switchgear layout knowledge base, and process them through the quicksort algorithm to obtain the switchgear priority operation list.
[0076] Specifically, when collecting the typical layout cases of each switchgear in each substation in the power system, factors such as the function, location, usage frequency, and fault impact of each switchgear are comprehensively considered to formulate a complete set of importance evaluation rules to quantitatively score the importance of the switchgear. For example, the main transformer protection panel is given the highest score of 10 due to its key role, while an ordinary measurement and control panel only has a score of 5. This scoring mechanism can intuitively reflect the importance of each switchgear in the entire system; and the collected typical layout cases and the formulated importance evaluation rules are transformed into a rule set and input into the rule inference engine based on Drools, and the decision tree algorithm is used for rule matching and inference to determine the importance scores of each switchgear. The application of the rule inference engine enables the system to automatically judge the importance of the switchgear according to the preset rules. For example, the rule "If the switchgear type is main transformer protection and it is located in the central position, then the importance score is 10" can be set, and the Drools engine can efficiently process such complex rule sets, providing a basis for subsequent layout optimization.
[0077] Then, based on the importance scores of each switchgear and each historical typical switchgear layout case, a secondary switchgear layout knowledge base is constructed, which should contain rich layout cases, corresponding importance scores, operation sequence information, etc.
[0078] Finally, on the basis of rule inference, the KNN (K-Nearest Neighbor) algorithm is introduced for case inference. The Euclidean distance between the current real-time switchgear layout data and the typical switchgear layout cases in the knowledge base is calculated, and the K most similar layout cases are found to obtain the operation sequence information and importance scores of the switchgear therein, and the quicksort algorithm is used for processing to generate a dynamically updated switchgear priority operation list. The switchgears in the list are sorted according to the importance and operation sequence. The generation of the priority list combines the results of rule inference and case inference, ensuring both the rationality of the layout and the ability to draw on historical experience.
[0079] Through the construction of importance evaluation rules and a rule inference engine, the present invention can more accurately evaluate the importance of each secondary switchgear of the substation, providing strong support for layout optimization; by using the secondary switchgear layout knowledge base and the nearest neighbor algorithm, it can quickly match typical cases similar to the target layout, thus greatly shortening the layout design time; the switchgear priority operation list obtained through the quicksort algorithm can provide clear operation sequences and priorities for maintenance personnel, improving the maintenance efficiency and safety.
[0080] S3. Based on the real-time cabinet layout data and the cabinet priority operation list, and in combination with the screen size of the secondary system and the logical relationships and business processes among the secondary switchgear rooms, construct the human-machine interface of the secondary system;
[0081] In one embodiment, step S3 includes:
[0082] Adopt a responsive layout design method based on a grid system to divide the real-time cabinet layout data into several grid units, and adjust the size and quantity of each grid unit according to the screen size of the secondary system;
[0083] Taking the cabinet priority operation list as a constraint condition, according to the importance and operation frequency of each secondary switchgear in the secondary cabinet layout knowledge base, perform an initial layout of each secondary switchgear on the screen interface of the secondary system;
[0084] Adjust the initial layout result according to the logical relationships and business processes among the secondary switchgears to configure the color matching and structure of the interface of the secondary system, optimize the element arrangement of the interface through a layout algorithm, and integrate touch or click interaction methods on the interface to generate the human-machine interface of the secondary system for display.
[0085] Specifically, the present invention converts the real-time cabinet layout data and the cabinet priority operation list into a standardized JSON format, providing structured input for interface design. For example, a typical cabinet data may include the following fields: {"id":"CB001","type":"Main transformer protection","priority":10,"position":{"x":100,"y":200},"size":{"width":80,"height":120}}, which is convenient for the front-end framework to perform data parsing and rendering. And according to the characteristics of the touch screen or large-screen display, adopt a responsive layout design method based on a grid system, and divide the interface screen of the entire secondary system into several grid units according to the complexity of the real-time cabinet layout data and the screen size. These grid units are the basic units of layout design, used to accommodate and arrange elements such as secondary switchgears. In addition, the adaptability to different screen sizes should be considered during the division of grid units to ensure a good layout effect on different devices. Suppose there is a large screen with a width of 1920 pixels, it can be divided into a grid of 12 columns and 6 rows, and the size of each grid unit is 160 pixels wide and 180 pixels high. When the screen size changes, the grid units will automatically adjust their sizes to maintain the coordination of the overall layout and ensure the consistency and usability of the interface on different devices.
[0086] Next, taking the order in the screen cabinet priority operation list as a constraint condition can ensure that the cabinets with higher importance and more frequent operations are placed in more prominent and easily accessible positions. Considering the importance and operation frequency of each screen cabinet comprehensively, the cabinets ranked higher in the priority list are arranged in prominent positions on the interface, such as the center or top area of the screen. For example, the main transformer protection screen may be placed in the upper-middle position of the screen, occupying a 2x2 grid unit, while the secondary measurement and control screen may be arranged in the edge area, occupying a 1x1 grid unit, to highlight key information and improve operation efficiency. And for each screen cabinet, a simple and clear graphical icon is designed to greatly reduce the user's cognitive load. For example, the main transformer protection screen can use an icon in the shape of a transformer, with a red border to indicate its importance, and the line protection screen can use a line icon with a lightning symbol. However, the design of these icons needs to follow the consistency principle, using similar line thicknesses and color schemes to ensure the harmony of the overall visual effect and achieve the initial layout.
[0087] Finally, according to the logical relationships and business processes among the screen cabinets, the initial layout result is adjusted. Appropriate alignment, grouping, spacing, etc. are used to improve the organization and readability of information presentation, and a soft and bright color scheme is adopted, avoiding using overly bright or strongly contrasting colors to reduce the user's visual fatigue. To achieve the color matching and structure configuration of the interface of the secondary system, the element arrangement of the interface is optimized through the layout algorithm, avoiding overly dense or loose visual effects, and integrating touch or click interaction methods on the interface to generate and display the human-computer interaction interface of the secondary system, enabling the user to select the target screen cabinet through fingers or a mouse, and the secondary system dynamically updates the interface content according to the selected screen cabinet information. At the same time, a necessary feedback mechanism is provided, such as the high-light display of buttons, click sound effects, etc., to enhance the certainty and comfort of operations. Among them, when adjusting the initial layout result, relevant protection screen cabinets can also be grouped together to form a visual whole to reflect the actual connection relationship between the devices, which helps the operator quickly understand the system structure; and a soft blue-gray color is used as the background color, and different shades of blue are used to represent the importance of the screen cabinets. For example, the most important screen cabinet can use dark blue, the secondary ones use light blue, and warning information can be represented by yellow or orange to attract attention but not be too dazzling. This color scheme is both beautiful and ergonomic, and can reduce the visual fatigue caused by long-term operations.
[0088] Through multiple steps such as the responsive layout design method based on the grid system, initial layout, layout adjustment and interface configuration, layout optimization and integration of interaction methods, and generation and display of the human-computer interaction interface, the present invention realizes the optimized design and improvement of the human-computer interaction interface of the secondary system. The method of comprehensively applying various technologies and design principles not only improves the operation efficiency of substation secondary equipment but also lays a foundation for intelligent operation and maintenance.
[0089] S4. In response to the target secondary substation panel selected by the current staff through the human-machine interaction interface, obtain the attribute information of the target secondary substation panel, and input it into a pre-constructed decision tree model of cabinet selection rules for processing to obtain a compliance result;
[0090] Specifically, after the human-machine interaction interface is generated, the current staff can determine the target secondary substation panel through this interface and send it to the secondary system. The secondary system responds to the received target secondary substation panel, obtains the position information such as the coordinate position, size, and relative position relationship of the panel cabinet, and judges whether there are important and energized panel cabinets in the adjacent area of the selected panel cabinet and whether the current operation conforms to the preset rules.
[0091] In one embodiment, before obtaining the attribute information of the target secondary substation panel and inputting it into a pre-constructed decision tree model of cabinet selection rules for processing to obtain a compliance result, it includes:
[0092] Obtain the unique identification information corresponding to the target secondary substation panel, and extract the target position information of the target secondary substation panel and its relevant position information with other secondary substation panels from the secondary panel cabinet layout knowledge base according to the unique identification information;
[0093] Based on the target position information and the relevant position information, use a spatial indexing algorithm to retrieve the adjacent panel cabinets within a preset range from the target secondary substation panel, and extract the importance score of each adjacent panel cabinet from the secondary panel cabinet layout knowledge base;
[0094] Traverse the importance score and energized state data of each adjacent panel cabinet to compare them with a preset importance threshold and a preset energized state respectively, and use the adjacent panel cabinets with scores exceeding the preset importance threshold and in the energized state as target adjacent panel cabinets for warning marking on the human-machine interaction interface.
[0095] Specifically, the target secondary substation panel received by the secondary system generally contains its corresponding unique identification information, such as the panel cabinet number "CB001", which facilitates the system to quickly retrieve the position coordinates, dimensions such as length, width, and height, and position information of the relative position with other panel cabinets from the pre-stored data or knowledge base. For example, the position coordinates of the target panel cabinet "CB001" are (100, 200), the size is 80 cm wide, 120 cm high, and 60 cm deep, and it is located in the northwest corner of the substation main control room. These accurate data lay the foundation for subsequent safety analysis.
[0096] Next, according to the extracted location information, a spatial indexing algorithm such as the R-tree is used to quickly retrieve the adjacent switchgears within a certain range of the target switchgear cabinet, and obtain the location information and importance score of these adjacent switchgears. Suppose the set retrieval range is 3 meters around the target switchgear cabinet. The R-tree algorithm can return all the switchgear cabinet information within this range within milliseconds. This efficient retrieval is crucial for real-time safety monitoring, especially in large substations where there may be hundreds of switchgear cabinets.
[0097] Finally, traverse the importance scores and live status data of the adjacent switchgears, determine whether their importance exceeds the preset importance threshold, and determine whether they are currently in a live state. If both conditions are met (that is, determine whether there are switchgears that are both important and in a live state), then determine that the adjacent switchgear is an important and live target adjacent switchgear. According to the location information of the important and live adjacent switchgears obtained in the previous step, dynamically mark the locations of these switchgears on the interface, and display eye-catching warning icons and text information to remind the staff to pay attention to maintaining a safe distance from these switchgears. The importance threshold can be set to 8 (out of 10). Any switchgear cabinet that exceeds this threshold and is in a live state is regarded as a high-risk object. For example, a main transformer protection switchgear cabinet with an importance of 9 points and in operation belongs to this type of high-risk switchgear cabinet, which helps the staff quickly identify potential dangerous areas. On the human-machine interaction interface, high-risk switchgear cabinets can be marked with a red flashing icon, and at the same time, warning texts such as "Attention: High-voltage equipment, keep a safe distance" are displayed. This intuitive visual reminder can effectively reduce the risk of misoperation.
[0098] The present invention can quickly retrieve adjacent switchgears through a spatial indexing algorithm, and screen based on the importance score and live status, which can quickly locate the switchgears that need attention and improve the work efficiency of operation and maintenance personnel; warning marks are made for adjacent switchgears that are in a live state and have a high degree of importance, which helps operation and maintenance personnel to timely discover potential safety hazards and take corresponding measures, thereby enhancing the safety of the power system; intuitive warning marks are made on the human-machine interaction interface, enabling operation and maintenance personnel to clearly understand the switchgear cabinet information that needs attention at a glance, optimizing the human-machine interaction experience; this solution combines multiple technical means such as spatial indexing algorithms, importance evaluation, and live status monitoring, realizes the intelligent management and early warning of secondary switchgears in substations, and improves the intelligent level of the power system.
[0099] In one embodiment, obtaining the attribute information of the target secondary switchgear in the substation and inputting it into a pre-constructed decision tree model of switchgear selection rules for processing to obtain a compliance result includes:
[0100] Based on the position information, size information, and importance score of the secondary substation screens contained in each of the historical typical switchgear layout cases, the decision tree algorithm is used to transform the switchgear selection rules and safety specifications into the nodes and edges of a decision tree to construct the switchgear selection rule decision tree model;
[0101] Extract the attribute information of the target secondary substation screen and transform it into an input feature vector, which is input into the switchgear selection rule decision tree model for real-time parsing and rule matching, so as to judge whether the current selection conforms to the preset switchgear selection rules and preset safety specifications according to the parsing and matching results, and obtain the compliance result of the operation.
[0102] Specifically, based on the attribute information such as the position information, size information, and importance score of the secondary substation screens contained in each historical typical switchgear layout case, the decision tree algorithm is used to pre-construct a switchgear selection rule decision tree model, and the switchgear selection rules and safety specifications (the rules and specifications here can be summarized and extracted from historical typical switchgear layout cases through data statistics and analysis methods, etc.) are transformed into the nodes and edges of the decision tree; and the attribute information of the target secondary substation screen is input into the constructed model for real-time parsing and rule matching, to judge whether the current selection operation conforms to the preset switchgear selection rules and safety specifications (the preset rules and specifications can be summarized in actual work or according to industry standards), and obtain the compliance result of the operation. If the compliance result of the operation does not conform to the preset rules, according to the matching result of the decision tree model, obtain the corresponding prompt information and warning information, and display them on the interface in real time in the form of pop-up windows, voices, etc. to the staff. If the current selection operation conforms to the preset rules, according to the matching result of the decision tree model, obtain the prompt information of the next optional operation to guide the staff to perform subsequent operations.
[0103] Exemplarily, in a substation environment, a simple decision tree node could be "Is the importance of the switchgear cabinet greater than 8?" If so, it enters the sub-node of "Check if there are energized devices within 3 meters around", and this hierarchical structure enables the system to quickly evaluate the safety and compliance of operations. In practical applications, if the staff selects a switchgear cabinet numbered "CB005", the secondary system will immediately retrieve the detailed information of this switchgear cabinet from the knowledge base, such as the position coordinates (150, 300), the size of 100cm × 150cm × 70cm, and the importance of 9. These attribute information are converted into the input feature vector of the decision tree, for example, [9, 150, 300, 100, 150, 70]. The decision tree model will then analyze this vector to determine whether it conforms to the preset rules. Suppose a rule of the decision tree is "It is not allowed to operate other devices simultaneously within 2 meters around a switchgear cabinet with an importance greater than 8". If the system detects that another switchgear cabinet being operated by the staff is within 1.5 meters of "CB005", the decision tree will immediately determine that this is a non-compliant operation and generate a warning message: "Warning: You are operating two switchgear cabinets with high importance simultaneously, there is a safety hazard. Please maintain an operation distance of at least 2 meters." This real-time feedback mechanism can effectively prevent potential dangerous operations. And when the system determines that an operation is non-compliant, it can not only give a warning but also explain the reasons. For example, the operation is non-compliant: Reason 1) The importance of the selected switchgear cabinet is 9, exceeding the safety threshold of 8; Reason 2) There is other important equipment being operated within 1.5 meters. This detailed explanation helps the staff understand the safety rules and improve the standardization of operations. In the case of compliant operations, the decision tree model can also provide suggestions for the next step. For example, when the staff successfully selects a switchgear cabinet with low importance, the secondary system may prompt: "The current operation is compliant. It is recommended to check whether the internal connections of the switchgear cabinet are normal and record the operating parameters in the next step." This guided operation process can significantly improve work efficiency and safety.
[0104] The present invention realizes the rapid parsing and matching of switchgear cabinet selection rules by constructing a decision tree model for switchgear cabinet selection rules, improving the decision-making efficiency; the decision tree model constructed based on historical typical switchgear cabinet layout cases and clear rules and safety specifications can accurately judge whether the current selection meets the requirements, enhancing the accuracy of compliance judgment; converting complex switchgear cabinet selection rules and safety specifications into the nodes and edges of the decision tree realizes the automated parsing and matching of rules, improving the intelligent level of the power system, providing an intelligent, flexible and continuously optimizable solution for the safe operation of the substation. It can not only guide the operations of the staff in real time but also improve its own accuracy and applicability through continuous learning, thus maximizing the operation safety while improving work efficiency.
[0105] S5. If the compliance result meets the preset rules, update the target secondary substation panel according to the historical operation data and current selection of the current staff member, and adopt a collaborative filtering algorithm to generate a safety operation measure plan;
[0106] In one embodiment, step S5 includes:
[0107] In the priority list generation step, if the compliance result meets the preset rules, perform a weighted average of the importance level and access frequency of each secondary substation panel to quantify the comprehensive score of each secondary substation panel and sort it from high to low to generate a panel cabinet priority list;
[0108] In the target panel cabinet update step, determine the target position information of the target secondary substation panel according to the current selection to determine the multiple adjacent panel cabinets of the target secondary substation panel and the set of their relative position information, and combine it with the obtained historical operation data of the current staff member, the panel cabinet priority list, and the target position information of the target secondary substation panel as the input of the collaborative filtering algorithm, and output the updated target secondary substation panel;
[0109] Repeat the priority list generation step and the target panel cabinet update step based on the updated target secondary substation panel until the preset number of repetitions is reached, and combine the updated target secondary substation panels obtained in each iteration process to generate a safety operation measure plan.
[0110] Specifically, in the priority list generation step, if the compliance result meets the preset rules, calculate the comprehensive score of each panel cabinet by weighted average according to the attributes such as the importance level and access frequency of the panel cabinets preset in the panel cabinet layout diagram database, where the importance weight is 0.6 and the access frequency weight is 0.4, sort the calculated comprehensive scores of the panel cabinets from high to low to generate a panel cabinet priority list, and store it in the priority list database.
[0111] In the target panel cabinet update step, obtain the position coordinates of the target panel cabinet selected by the current staff member, query the adjacent panel cabinet information of this panel cabinet from the panel cabinet layout diagram database or knowledge base through this coordinate to obtain the set of position coordinates of the adjacent panel cabinets, and combine it with the historical operation record of the staff member, the position coordinates of the currently selected panel cabinet, the set of position coordinates of the adjacent panel cabinets, and the panel cabinet priority list as the input of the collaborative filtering recommendation algorithm, and adopt the user-item collaborative filtering algorithm to calculate the next operation panel cabinet that the current staff member may be interested in to update the target panel cabinet.
[0112] Based on the updated target switchgear cabinets, repeat the priority list generation step and the target switchgear cabinet update step until the preset number of repetitions is reached, and combine the updated target switchgear cabinets obtained in each iteration process to generate a safety operation measure plan.
[0113] Exemplarily, the secondary system may record that the current staff has visited switchgear cabinets numbered CB001, CB003, and CB005 multiple times in the past week. These data are stored in the operation history database to provide a basis for subsequent analysis. The calculation of the comprehensive score of the switchgear cabinet involves multiple factors. Suppose the importance of switchgear cabinet CB001 is 9 points (out of 10), and the monthly average access frequency is 20 times, while the importance of switchgear cabinet CB002 is 7 points and the monthly average access frequency is 30 times. Then, according to the weighted average formula, the comprehensive score of CB001 is 9×0.6 + 20×0.4÷50 = 7.4, and the comprehensive score of CB002 is 7×0.6 + 30×0.4÷50 = 6.6. This calculation method not only considers the inherent attributes of the switchgear cabinet but also reflects its actual usage, which helps to generate a more reasonable priority list. Obtaining the information of adjacent switchgear cabinets is crucial for the recommendation algorithm. Suppose the currently selected switchgear cabinet CB003 by the staff is located at coordinates (100, 200). The secondary system will query the layout diagram database to find all switchgear cabinets within a range of 2 meters around, such as CB004 (110, 210), CB005 (90, 195), etc. These information helps the algorithm to consider spatial correlation and avoid recommending switchgear cabinets that are too far apart. The core of the collaborative filtering algorithm is to discover the similarity between users. For example, the secondary system may find that both staff A and B often operate high-voltage switchgear cabinets and rarely touch low-voltage control switchgear cabinets. Based on this similarity, when A selects a new high-voltage switchgear cabinet, the secondary system may recommend several high-voltage switchgear cabinets that B has commonly used recently.
[0114] Through the priority list generation step of the present invention, the priority of the switchgear cabinet can be quickly determined, thereby optimizing the layout and operation process; through compliance checking and rule judgment, it is ensured that the selection and operation of each secondary switchgear of the substation comply with the preset switchgear selection rules and safety specifications; by using the collaborative filtering algorithm and combining the historical operation data and preferences of the staff, personalized switchgear recommendations are realized, improving the convenience and comfort of operation; through the iterative and optimization process, considering various factors comprehensively, a comprehensive safety operation measure plan is generated, improving the safety and reliability of the entire power system.
[0115] In one embodiment, the target switchgear cabinet update step further includes:
[0116] Obtain the historical operation record data of several staff members, and extract the historical accessed switchgear cabinets of each staff member from the historical operation record data to construct a user-switchgear cabinet score matrix;
[0117] Quantify the similarity among each staff member based on the user - switchgear scoring matrix to obtain a user similarity matrix, which is combined with the target secondary substation switchgear determined by the current selection of the current staff member. Then, through the collaborative filtering algorithm model, predict the degree of interest of the current staff member in each secondary substation switchgear to obtain a recommended switchgear sorted list;
[0118] Select the top N secondary substation switchgears with the highest recommendation degree from the recommended switchgear sorted list, weight them according to their own importance scores, and output the secondary substation switchgear with the highest weighted score as the updated target secondary substation switchgear.
[0119] Specifically, the present invention can also analyze the historical behaviors of multiple users, discover users with similar switchgear access behaviors, and then make recommendations for the current user based on the selections of similar users to update the target switchgear. Specifically: Extract the switchgears accessed by each staff member from the historical operation record data of several staff members to generate a user - switchgear scoring matrix, then calculate the similarity between users, and then, according to the switchgear scores of similar users, predict the degree of interest of the current user in each switchgear through the collaborative filtering algorithm model to obtain a sorted list of recommended switchgears. Finally, according to the sorted list of recommended switchgears, obtain the top N switchgears with the highest recommendation degree, weight them according to their own importance scores, and highlight the secondary substation switchgear with the highest weighted score in a prominent way such as highlighting and flashing on the switchgear selection interface to guide the staff to perform subsequent operations.
[0120] In addition, after the staff member completes the operation of the recommended switchgear, record the feedback data on the recommendation result, including whether the recommended switchgear is selected, the time efficiency of the operation, etc., store the feedback data in the recommendation feedback database, and regularly extract the feedback data from the recommendation feedback database to count the adoption rate of the recommended switchgear, that is, what proportion of the recommended switchgears are selected by the staff members. Use evaluation indicators such as accuracy rate and recall rate to evaluate the effect of the recommendation algorithm, and use optimization algorithms such as gradient descent to adjust the parameters of the collaborative filtering model to continuously improve the accuracy and practicality of the recommendation. If the adoption rate is low, the reasons need to be analyzed, and it is necessary to consider optimizing the similarity calculation method of the collaborative filtering algorithm or adjusting the number of recommended switchgears to improve the practicality of the recommendation.
[0121] Through the collaborative filtering algorithm model, the present invention combines the historical operation record data and the user similarity matrix to achieve personalized cabinet recommendation for the current staff, improving the accuracy and practicality of the recommendation. During the recommendation process, not only the historical access behavior of the staff is considered, but also the importance score of the cabinet itself is combined, making the recommendation result more comprehensive and reasonable. By constructing the user-cabinet rating matrix and the user similarity matrix, and using the collaborative filtering algorithm model for prediction, the recommended cabinet sorted list can be quickly generated, improving the decision-making efficiency. Updating the target secondary substation cabinet according to the recommendation result helps to optimize the cabinet layout and operation process, improving the safety and reliability of the power system.
[0122] In one embodiment, after step S5, it further includes:
[0123] Obtain the real-time behavior data of the current staff for preprocessing, and use the incremental learning algorithm to perform online learning on the preprocessed real-time behavior data to capture the dynamic change trend of the operation behavior of the current staff in real time, and perform primary optimization on the safety operation measure plan based on the dynamic change trend.
[0124] Obtain the cabinet ID, operation type, and operation time of the current staff in their own historical operation data, and use the cabinet ID and the operation type as item sets, and the operation time as the transaction ID, and mine the association rules between the current staff in different secondary substation cabinets and operations through the association rule mining algorithm.
[0125] Use the classification algorithm to classify the historical operation data, identify potential risk operations to add risk labels to each secondary substation cabinet, and perform secondary optimization on the safety operation measure plan optimized for the first time based on the association rules and the risk labels to generate the final safety operation measure plan.
[0126] Specifically, the present invention preprocesses the actual operation behavior data such as the cabinet position, operation time, and operation type selected by the current staff on the human-computer interaction interface to convert these time fields into timestamp format and input them into the incremental learning algorithm (such as Hoeffding Tree) for online learning to update the model parameters in real time, capture the dynamic change trend of the staff's operation behavior, and perform primary optimization on the safety operation measure plan based on the dynamic change trend. Suppose the secondary system finds that the staff has frequently viewed the status of two cabinets, CB001 and CB002, recently. The HoeffdingTree algorithm will dynamically adjust the model parameters to increase the weights of these two cabinets in the recommendation list to quickly adapt to the change of the staff's operation habits and improve the accuracy of the recommendation.
[0127] Obtain the cubicle ID, operation type, and operation time of the current staff member in their own historical operation data. Using the cubicle ID and the operation type as item sets, and the operation time as the transaction ID, mine the association rules between the current staff member's operations on different secondary power transformation cubicles through an association rule mining algorithm (such as FP-Growth) to discover the operation habits and potential risks of the staff. Association rule mining helps to discover potential operation patterns. Through analysis using the FP-Growth algorithm, the secondary system may discover a rule: after operating on CB001, there is an 80% probability of operating on CB003 within 10 minutes. This kind of association information can be used to predict possible next operations, thereby optimizing the interface display and prompt strategy. For example, there may be an edge labeled "related operation" with a weight of 0.8 between CB001 and CB003. When a potential safety hazard is found in CB001, the secondary system will update the node attributes through Cypher statements, such as increasing the risk level of CB001 to "high" while decreasing its importance from 9 to 7. Dynamically adjusting the display order of cubicles can effectively guide the operations of the staff. For example, the cubicle list originally sorted by number may be adjusted to be sorted in descending order of importance. Cubicles that are important and safe (such as CB002) may be given a prominent green background, while cubicles with risks (such as CB001) may be displayed in yellow or red, intuitively reminding the operator of potential risks. Using the Jinja2 template engine to generate interactive prompts can greatly improve the flexibility of the system. When the staff member selects CB001, the secondary system may generate the following prompt based on its "high risk" label: "Attention: This cubicle has had three anomalies recently. Please carefully check the switch status" to effectively reduce the operation risk.
[0128] Finally, use classification algorithms such as decision trees, support vector machines, random forests, etc. to classify the historical operation data, identify potential risky operations, and add risk labels to each secondary power transformation cubicle to perform secondary optimization on the initially optimized safety operation measure plan based on the association rules and risk labels, generating the final safety operation measure plan. That is, if it is found that the selection frequency of a certain cubicle is relatively high but there are safety hazards, a risk label is added to the corresponding cubicle node, and at the same time, the value of its importance attribute is decreased. In the human-computer interaction interface, obtain the importance attribute of each cubicle node through querying the Neo4j database, and dynamically adjust the display order and CSS style of the cubicles according to the importance value to prominently display important and safe cubicles, guiding the staff to select them first. When the staff member selects a certain cubicle, the secondary system dynamically generates corresponding HTML-formatted interactive prompts, such as operation precautions, potential risk warnings, etc., using the Jinja2 template engine based on the risk label and association rule of the cubicle node, and friendly displays them to the staff through the Web page.
[0129] In addition, after the staff member completes the cabinet operation, record the feedback data on the system prompt strategy, such as whether the risk is effectively avoided and whether the operation efficiency is improved. Store the feedback data in the feedback log collection of the MongoDB database, and regularly query the feedback log collection from the MongoDB database to extract features and convert labels from the feedback data to generate a dataset for training the decision tree model. Then use Decision TreeClassifier in the scikit-learn library to evaluate the effectiveness of the prompt strategy, and optimize the hyperparameters of the decision tree through grid search to improve the accuracy of strategy evaluation. According to the evaluation results of the decision tree, dynamically adjust the generation rules of the prompt strategy, such as modifying the conditional judgment statements in the Jinja2 template, updating the case library collection stored in the MongoDB database, and apply the optimized prompt strategy to subsequent cabinet operations to continuously enhance the security protection ability of the system. To protect the privacy and sensitive data of the staff, when storing the operation logs and feedback data, use SHA-256 to perform one-way hashing encryption on the user ID to replace the original user identifier. At the same time, perform AES symmetric encryption on the sensitive fields (such as cabinet location, operation time, etc.) stored in the MySQL, Neo4j, and MongoDB databases to ensure data confidentiality. During the data analysis and mining process, only use the desensitized data to avoid the leakage of privacy information.
[0130] The present invention performs online learning on real-time behavior data through an incremental learning algorithm, can capture the dynamic change trend of the current staff's operation behavior in real time, and dynamically adjusts the safety operation measure plan, improving the real-time adaptability and personalization degree of the plan; through the association rule mining algorithm, mines the association rules between the current staff's operations on different secondary substation cabinets, which helps to understand the operation habits and needs of the staff and provides strong support for optimizing the plan; uses a classification algorithm to identify potential risk operations and adds risk labels to each secondary substation cabinet, which helps to detect and prevent safety risks in advance and improve the safety and reliability of the power system; combines real-time behavior data, association rules, and risk factors to comprehensively optimize the safety operation measure plan, making the plan more comprehensive, reasonable, and effective; the optimized safety operation measure plan can better adapt to the operation habits and needs of the current staff, reduce misoperations and risk events, and improve operation efficiency and safety.
[0131] In an embodiment of the present application, based on the problem of how to design a more intuitive and convenient human-computer interaction method to improve the work efficiency and accuracy in the process of generating safety operation measures for secondary substation screens, a method for generating safety operation measures for secondary substation screens is designed. It is applied to the secondary system connected to each secondary substation screen in the substation. By collecting the real-time cabinet layout data of all secondary substation screens in the substation and typical cabinet layout cases in history, an importance evaluation rule for secondary substation screens is constructed. Through rule reasoning and case reasoning algorithms, the importance level and operation sequence of each secondary substation screen are determined, thereby generating a cabinet priority operation list. Based on the real-time cabinet layout data and the cabinet priority operation list, combined with the screen size of the secondary system, the logical relationship and business process between secondary substation screens, an easy-to-operate human-computer interaction interface is constructed. When the target secondary substation screen selected by the staff through the human-computer interaction interface is received, the attribute information of the screen is obtained, and compliance judgment is performed through a pre-constructed cabinet selection rule decision tree model. If the compliance result meets the preset rule, the secondary system will update the target secondary substation screen using a collaborative filtering algorithm based on the historical operation data and current selection of the staff, and finally generate a technical solution for the safety operation measure plan to effectively improve the accuracy, safety and efficiency of the operation plan for secondary substation cabinets in the substation.
[0132] It should be noted that although the steps in the above flowchart are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise clearly stated in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders.
[0133] In another embodiment, as Figure 2 shown, the second aspect of the present invention provides a system for generating safety operation measures for secondary substation screens, which is applied to the secondary system connected to each secondary substation screen in the substation. The safety operation measure generation system includes:
[0134] A data acquisition module 10, configured to acquire the real-time cabinet layout data of all secondary substation screens in the substation and the historical typical cabinet layout cases of each secondary substation screen;
[0135] A list generation module 20, configured to construct an importance evaluation rule for each secondary substation screen, combine it with the historical typical cabinet layout cases, and determine the importance level and operation sequence of each secondary substation screen through a rule reasoning algorithm and a case reasoning algorithm, and generate a cabinet priority operation list;
[0136] The interface construction module 30 is used to construct the human-machine interface of the secondary system based on each of the real-time screen cabinet layout data and the screen cabinet priority operation list, in combination with the screen size of the secondary system and the logical relationship and business process among the secondary switchgear rooms of the substation.
[0137] The result acquisition module 40 is used to respond to the target secondary switchgear room selected by the current staff through the human-machine interface, and acquire the attribute information of the target secondary switchgear room, so as to input it into the pre-constructed decision tree model of the screen cabinet selection rule for processing to obtain a compliance result.
[0138] The solution generation module 50 is used to, if the compliance result meets the preset rules, update the target secondary switchgear room according to the historical operation data and current selection of the current staff received, and adopt a collaborative filtering algorithm to generate a safety operation measure solution.
[0139] It should be noted that each module in the above-mentioned safety operation measure generation system for secondary switchgear rooms of a substation can be implemented in whole or in part by software, hardware, and their combination. The above-mentioned modules can be embedded in the processor of the computer device in the form of hardware or independent of it, or stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules. For the specific limitations of a safety operation measure generation system for secondary switchgear rooms of a substation, refer to the limitations of a safety operation measure generation method for secondary switchgear rooms of a substation in the above text. The two have the same functions and effects, and will not be elaborated here.
[0140] In summary, the present invention relates to the field of information technology, and discloses a safety operation measure generation method and system for secondary switchgear rooms of a substation. By collecting historical typical layout cases of all secondary switchgear rooms in the substation and formulating importance evaluation rules, the importance degree and operation sequence of each secondary switchgear room are determined through a rule inference algorithm and a case inference algorithm to generate a dynamically updated priority list. Then, in combination with real-time screen cabinet layout data, a graphical human-machine interface is designed to display the screen cabinet layout in a clear and intuitive manner. When selecting a target switchgear room through the human-machine interface, a rule engine based on a decision tree is used to judge the compliance of the operation in real time. Then, when it is compliant, according to the operation history and current selection, a collaborative filtering algorithm is used to recommend important switchgear rooms that may be operated next to generate a safety operation measure solution, so as to effectively improve the accuracy, safety, and efficiency of the operation plan for secondary switchgear rooms in the substation.
[0141] Each embodiment in this specification is described in a progressive manner. For the parts that are the same or similar in each embodiment, reference can be made to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For the relevant parts, reference can be made to the description of the method embodiment. It should be noted that the technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.
[0142] The above-described embodiments only represent several preferred embodiments of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art of this technology, without departing from the technical principle of the present invention, several improvements and substitutions can still be made, and these improvements and substitutions should also be regarded as the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the protection scope of the claims.
Claims
1. A method for generating safety operation measures for a substation secondary panel, characterized in that: Applied to a secondary system connected to each substation secondary panel in a substation, the method comprises: Obtaining real-time panel cabinet layout data of all substation secondary panels in the substation and historical typical panel cabinet layout cases of each substation secondary panel; The importance evaluation rules of each substation secondary panel are constructed, and combined with the historical typical panel cabinet layout cases, the importance and operation sequence of each substation secondary panel are determined through rule reasoning algorithm and case reasoning algorithm, and a panel cabinet priority operation list is generated, including: The importance evaluation rules are constructed based on the functions, locations and usage frequencies of each substation secondary panel, and are combined with each of the historical typical panel cabinet layout cases to convert them into rule sets and input them into a Drools-based rule reasoning engine, so as to perform rule matching and reasoning through a decision tree algorithm to determine the importance scores of each substation secondary panel; According to the importance scores of the substation secondary panels and the layout methods of the historical typical panel cabinet layout cases and the location information of the substation secondary panels contained therein, a secondary panel cabinet layout knowledge base is constructed; The nearest neighbor algorithm is used to calculate and match the similarity of each of the real-time screen cabinet layout data with the typical screen cabinet layout case, so as to extract the target layout case and its importance score and operation sequence information from the secondary screen cabinet layout knowledge base, and process them through a quick sorting algorithm to obtain the screen cabinet priority operation list; Based on the real-time panel layout data and the panel priority operation list, and in combination with the screen size of the secondary system and the logical relationship and business process between the substation secondary panels, a human-computer interaction interface of the secondary system is constructed; In response to the target substation secondary panel selected by the current staff through the human-computer interaction interface, the attribute information of the target substation secondary panel is obtained to be input into the pre-built panel cabinet selection rule decision tree model for processing to obtain a compliance result; If the compliance result meets the preset rules, the target substation secondary panel is updated using a collaborative filtering algorithm based on the received historical operation data and current selection of the current staff member to generate a safe operation measure plan.
2. A method for generating safety operation measures for a substation secondary panel according to claim 1, characterized in that: The step of obtaining the real-time panel cabinet layout data of all substation secondary panels in the substation includes: Receiving the panel cabinet layout diagram transmitted by all substation secondary panels in the substation for compression processing, obtaining compressed layout data, and storing the compressed layout data in a data table of a relational database based on a predefined table structure; A multi-level index structure is constructed for the fields of the relational database using a B+ tree, so that when the secondary system is initialized, the target compressed layout data that matches the current system version is retrieved and extracted from the relational database based on the multi-level index structure and decompressed to obtain the original cabinet layout diagram and its location information; The layout coordinate information and relative position information of each substation secondary panel are determined according to the position information of the original panel cabinet layout diagram, and cached through the LRU cache strategy to obtain the real-time panel cabinet layout data of each substation secondary panel.
3. A method for generating safety operation measures for a substation secondary panel according to claim 1, characterized in that: The human-computer interaction interface of the secondary system is constructed based on the real-time panel layout data and the panel priority operation list, and in combination with the screen size of the secondary system and the logical relationship and business process between the substation secondary panels, including: Using a responsive layout design method based on a grid system to divide each of the real-time screen cabinet layout data into a number of grid units, and adjusting the size and number of each of the grid units according to the screen size of the secondary system; Taking the priority operation list of the panel cabinet as a constraint condition, and according to the importance and operation frequency of each substation secondary panel in the secondary panel cabinet layout knowledge base, the initial layout of each substation secondary panel is performed on the screen interface of the secondary system; The initial layout result is adjusted according to the logical relationship and business process between the substation secondary screens to configure the color and structure of the interface of the secondary system, the element arrangement of the interface is optimized through the layout algorithm, and the touch or click interaction method is integrated on the interface to generate the human-computer interaction interface of the secondary system for display.
4. A method for generating safety operation measures for a substation secondary panel according to claim 1, characterized in that: The acquisition of the attribute information of the target substation secondary panel, and inputting it into the pre-built panel cabinet selection rule decision tree model for processing, before obtaining the compliance result, includes: Acquire the unique identification information corresponding to the target substation secondary panel, and extract the target location information of the target substation secondary panel and its related location information with other substation secondary panels from the secondary panel cabinet layout knowledge base according to the unique identification information; Based on the target location information and the related location information, a spatial index algorithm is used to retrieve adjacent cabinets within a preset range from the target substation secondary cabinet, and an importance score of each adjacent cabinet is extracted from the secondary cabinet layout knowledge base; The importance scores and power-on status data of each adjacent screen cabinet are traversed to compare with the preset importance threshold and the preset power-on status respectively, and according to the comparison result, the adjacent screen cabinet whose score exceeds the preset importance threshold and is in the power-on state is taken as the target adjacent screen cabinet to be marked as a warning on the human-computer interaction interface.
5. A method for generating safety operation measures for a substation secondary panel according to claim 4, characterized in that: The acquisition of the attribute information of the target substation secondary panel is input into the pre-built panel cabinet selection rule decision tree model for processing to obtain the compliance result, including: Based on the location information, size information and importance score of the substation secondary panels contained in each of the historical typical panel cabinet layout cases, a decision tree algorithm is used to convert the panel cabinet selection rules and safety specifications into nodes and edges of the decision tree to construct the panel cabinet selection rule decision tree model; The attribute information of the target substation secondary panel is extracted and converted into an input feature vector, which is input into the panel cabinet selection rule decision tree model for real-time analysis and rule matching, so as to determine whether the current selection complies with the preset panel cabinet selection rules and preset safety specifications based on the analysis and matching results, and obtain the compliance result of the operation.
6. A method for generating safety operation measures for a substation secondary panel according to claim 4, characterized in that: If the compliance result meets the preset rules, the target substation secondary panel is updated using a collaborative filtering algorithm based on the received historical operation data and current selection of the current staff member to generate a safe operation measure plan, including: In the priority list generation step, if the compliance result meets the preset rules, the importance and access frequency of each substation secondary panel are weighted averaged to quantify the comprehensive score of each substation secondary panel and sort them from high to low to generate a panel cabinet priority list; In the target panel cabinet update step, the target position information of the target substation secondary panel currently selected is used to determine a plurality of adjacent panel cabinets of the target substation secondary panel and their relative position information set, and the target position information of the target substation secondary panel is combined with the historical operation data of the current staff member obtained, the panel cabinet priority list and the target substation secondary panel as the input of the collaborative filtering algorithm, and the updated target substation secondary panel is output; Based on the updated target substation secondary panel, the priority list generation step and the target panel cabinet update step are repeatedly executed until a preset number of repetitions is reached, and the updated target substation secondary panels obtained in each iteration are combined to generate a safe operation measure plan.
7. A method for generating safety operation measures for a substation secondary panel according to claim 6, characterized in that: The target screen cabinet updating step further includes: Acquire historical operation record data of several staff members, and extract historical access to the cabinets of each staff member from the historical operation record data to construct a user-cabinet rating matrix; Based on the user-panel cabinet rating matrix, the similarity between the staff is quantified to obtain a user similarity matrix, which is combined with the target substation secondary panel determined by the current staff member in the current selection, and the current staff member's interest in each substation secondary panel is predicted through a collaborative filtering algorithm model to obtain a recommended panel cabinet ranking list; The top N substation secondary panels with the highest recommendation are selected from the recommended panel cabinet ranking list, weighted by their own importance scores, and the substation secondary panel with the highest weighted score is output as the updated target substation secondary panel.
8. A method for generating safety operation measures for a substation secondary panel according to claim 5, characterized in that: If the compliance result meets the preset rules, the target substation secondary panel is updated by using a collaborative filtering algorithm according to the received historical operation data and current selection of the current staff to generate a safe operation measure plan, including: Acquire the real-time behavior data of the current staff for preprocessing, use an incremental learning algorithm to perform online learning on the preprocessed real-time behavior data, so as to capture the dynamic change trend of the operation behavior of the current staff in real time, and perform initial optimization of the safety operation measure plan based on the dynamic change trend; Obtain the panel cabinet ID, operation type and operation time in the historical operation data of the current staff member, and use the panel cabinet ID and the operation type as the item set, and the operation time as the transaction ID to mine the association rules between different substation secondary panels and operations of the current staff member through the association rule mining algorithm; The historical operation data is classified by using a classification algorithm, and potential risk operations are identified to add risk labels to each substation secondary panel, and the safety operation measures plan that has been initially optimized is secondary optimized based on the association rules and the risk labels to generate a final safety operation measures plan.
9. A system for generating safe operation measures for a secondary substation, characterized in that: Applied to the secondary system connected to each substation secondary panel in the substation, the safety operation measure generation system includes: A data acquisition module, used to acquire real-time panel cabinet layout data of all substation secondary panels in the substation and historical typical panel cabinet layout cases of each substation secondary panel; The list generation module is used to construct the importance evaluation rules of each substation secondary panel, and combine it with the historical typical panel cabinet layout case, determine the importance and operation sequence of each substation secondary panel through rule reasoning algorithm and case reasoning algorithm, and generate a panel cabinet priority operation list, including: The importance evaluation rules are constructed based on the functions, locations and usage frequencies of each substation secondary panel, and are combined with each of the historical typical panel cabinet layout cases to convert them into rule sets and input them into a Drools-based rule reasoning engine, so as to perform rule matching and reasoning through a decision tree algorithm to determine the importance scores of each substation secondary panel; According to the importance scores of the substation secondary panels and the layout methods of the historical typical panel cabinet layout cases and the location information of the substation secondary panels contained therein, a secondary panel cabinet layout knowledge base is constructed; The nearest neighbor algorithm is used to calculate and match the similarity of each of the real-time screen cabinet layout data with the typical screen cabinet layout case, so as to extract the target layout case and its importance score and operation sequence information from the secondary screen cabinet layout knowledge base, and process them through a quick sorting algorithm to obtain the screen cabinet priority operation list; An interface construction module, for constructing a human-computer interaction interface of the secondary system based on the real-time panel layout data and the panel priority operation list, in combination with the screen size of the secondary system and the logical relationship and business process between the substation secondary panels; A result acquisition module is used to respond to the target substation secondary panel selected by the current staff through the human-computer interaction interface, and obtain the attribute information of the target substation secondary panel to input it into the pre-built panel cabinet selection rule decision tree model for processing to obtain the compliance result; The solution generation module is used to update the target substation secondary panel using a collaborative filtering algorithm based on the received historical operation data and current selection of the current staff if the compliance result meets the preset rules, so as to generate a safe operation measure plan.
Citation Information
Patent Citations
Substation screen cabinet information management and control system and management and control method
CN116455076A
Multi-screen linkage response interaction control method
CN117762369A