Warning information projection method, system, device and medium for power equipment
By optimizing the projection time allocation of power equipment early warning information through genetic algorithms, the problem of unreasonable projection resource allocation in scenarios with multiple concurrent faults is solved, achieving efficient and orderly display of early warning information and improving the response and display effect of the power monitoring system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD
- Filing Date
- 2026-04-03
- Publication Date
- 2026-06-19
AI Technical Summary
In existing power monitoring projection warning systems, high-level warnings occupy projection resources for a long time in scenarios with multiple concurrent faults, while medium and low-level warnings are difficult to display. Furthermore, the lack of modeling and dynamic scheduling mechanisms for the overlapping relationship of warning times leads to low resource utilization, frequent timing conflicts, and affects the overall monitoring effect.
Genetic algorithms are used to optimize the projection time allocation of early warning information. By sorting the risk level, compressing time, and filling gaps, the system achieves refined management and time coordination of early warnings at different levels, ensuring that high-risk early warnings are displayed first. Furthermore, it optimizes time slot occupancy and conflicts globally and provides adaptive projection time scheduling.
It enables accurate determination of projection display time for different levels of early warnings under multiple concurrent fault conditions, improves the response capability and visualization effect of the monitoring system, and ensures the timely, orderly and complete display of early warning information.
Smart Images

Figure CN122245066A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power monitoring projection warnings, and more particularly to methods, systems, devices, and media for projecting warning information onto power equipment. Background Technology
[0002] During the operation of power systems, the number of power devices is enormous and their operating states are complex and constantly changing. Different devices may generate various types of abnormal warnings simultaneously. With the application of projection display technology in power monitoring scenarios, directly presenting warning information in the form of projections on the surrounding area or work area has become an important means to improve the risk perception capabilities of on-site personnel. Especially in complex environments such as substations and power plants where multiple devices operate collaboratively, the concurrent occurrence of multiple faults has become the norm, and different levels of warnings overlap and compete in time.
[0003] However, most existing power monitoring projection warning systems adopt a fixed resource allocation method based on warning levels, meaning that high-level warnings take priority and continuously occupy projection resources, lacking a refined handling mechanism for scenarios with multiple concurrent faults. When multiple warnings exist simultaneously, this method easily leads to high-level warnings occupying projection channels for extended periods, while medium and low-level warnings struggle to obtain reasonable display time slots, failing to accurately reflect the overall risk distribution. Furthermore, existing technologies fail to effectively utilize warning occurrence time information to model the temporal overlap between warnings, lacking a dynamic time slot optimization scheduling mechanism based on time conflicts and priority differences. This results in unreasonable projection display time allocation, low resource utilization, and a tendency to generate timing conflicts. Moreover, during dynamic changes in warning status, existing systems struggle to adaptively adjust the projection display time for each warning, making it impossible to accurately control the display time of different warning levels in complex operating environments, thus affecting the overall monitoring projection effect. Summary of the Invention
[0004] This invention provides a method, system, device, and medium for projecting warning information onto power equipment, which can accurately determine the monitoring projection display time for different levels of warnings under conditions of multiple concurrent faults.
[0005] In a first aspect, embodiments of the present invention provide a method for projecting warning information onto power equipment, comprising: Acquire several types of early warning information for power equipment, wherein each of the early warning information includes a hazard level and an expected projection time, and the hazard level includes a first hazard level, a second hazard level, and a third hazard level; Based on the respective hazard levels, the warning information is sorted to generate a first projection sequence. The expected projection time of the warning information belonging to the first hazard level in the first projection sequence is compressed to obtain a second projection sequence. The second projection sequence is input into a preset fitness function, and a genetic algorithm is used to iteratively optimize the second projection sequence until a preset iteration termination condition is met to obtain a third projection sequence. It is determined whether the expected projection time of the warning information belonging to the third hazard level in the third projection sequence meets a preset constraint condition. If it does, the warning information belonging to the second hazard level is filled into the preset gap projection point set of the third projection sequence to obtain the target projection sequence. The warning information of the power equipment is projected according to the target projection sequence.
[0006] This invention provides a foundation for unified management and differentiated processing of multi-source early warnings by implementing a refined and structured description of early warning information at different risk levels. Ultimately, it can accurately determine the monitoring projection display time for different levels of early warnings under conditions of multiple concurrent faults in power equipment. By prioritizing high-risk early warnings in the projection execution sequence, projection resources are prioritized for key hidden danger information, effectively avoiding low-level information occupying critical display time slots. Furthermore, by ensuring the complete expression of core information in high-level early warnings while providing insertion space for other levels of early warnings, it achieves multi-level early warning time management. By coordinating and allocating time slots, the monitoring projection display time for different levels of early warnings under multiple concurrent fault conditions can be accurately determined. By comprehensively considering time slot occupancy and conflict situations on a global scale, the start time and duration of each early warning are adaptively adjusted to achieve a globally optimal or near-optimal solution for projection time slot allocation. This allows for accurate determination of the monitoring projection display time for different levels of early warnings under multiple concurrent fault conditions. By transforming the optimized time scheduling results into actual execution processes, the monitoring system's response capability and visualization effect in multi-fault scenarios are improved, ultimately enabling accurate determination of the monitoring projection display time for different levels of early warnings under multiple concurrent fault conditions.
[0007] Furthermore, the step of inputting the second projection sequence into a preset fitness function and using a genetic algorithm to iteratively optimize the second projection sequence until a preset iteration termination condition is met to obtain a third projection sequence includes: The second projection sequence is encoded to map the expected projection time of each warning information in the second projection sequence to gene parameters, and an individual for projection display time allocation is constructed based on each gene parameter. Each individual with a projection display time allocation is used as an initial population. The initial population is input into a preset fitness function. By calculating the fitness of each individual in the initial population, a set of fitness values is obtained. A set of parent individuals is selected from the fitness value set according to a preset selection strategy, and the set of parent individuals is iteratively optimized by a genetic algorithm until a preset iteration termination condition is met, thus obtaining a third projection sequence.
[0008] This invention optimizes projection time allocation through a genetic algorithm, thereby achieving global optimization and conflict resolution of the early warning display sequence, and thus accurately determining the projection display time of each level of early warning for power equipment under multiple concurrent fault conditions.
[0009] Furthermore, the step of iteratively optimizing the set of parent individuals using a genetic algorithm until a preset iteration termination condition is met to obtain the third projection sequence includes: Adaptive crossover and mutation operations are performed on the parent generation set to obtain the offspring population. Constraint verification is then performed on the offspring population to remove individuals that do not meet the minimum projection display duration constraint or have projection display time conflicts, resulting in an updated feasible population. The feasible population is used as a new generation population for several rounds of iterative optimization until a preset number of iterations or fitness value meets a preset convergence condition. The individual with the highest fitness value is selected as the optimal projection display time allocation scheme, and the optimal projection display time allocation scheme is determined as the third projection sequence.
[0010] This invention uses an adaptive genetic algorithm for iterative optimization, selects feasible solutions and the optimal projection time allocation, and achieves conflict resolution and accurate display of multi-level early warnings, thereby ultimately accurately determining the projection display time of each level of early warning for power equipment under multiple concurrent fault conditions.
[0011] Furthermore, the process of constructing the fitness function includes: The expected projection time of each warning message in the second projection sequence is statistically analyzed to obtain the actual total allocation time of all warning messages. The first ratio of the actual total allocation time to the preset total available projection resource time is calculated to determine the time slot occupancy rate based on the first ratio. The expected projection time of any adjacent warning information in the second projection sequence is detected, the number of conflicting warning pairs with time overlap is counted, and the second ratio of the number of conflicting warning pairs to the total number of warning pairs is calculated to determine the non-conflict rate based on the second ratio. The total number of warning pairs is determined based on each warning information in the second projection sequence. The fitness function is obtained by weighting and fusing the time slot occupancy rate and the conflict-free rate based on preset weight coefficients.
[0012] This invention constructs a fitness function that comprehensively considers time slot occupancy rate and conflict-free rate to achieve efficient utilization of projection resources and minimize conflicts in early warning display, thereby accurately determining the projection display time of early warnings of various levels for power equipment under multiple concurrent fault conditions.
[0013] Furthermore, the step of sorting the early warning information based on each of the aforementioned hazard levels to generate a first projection sequence includes: Each of the aforementioned hazard levels is assigned a corresponding weight value to each of the aforementioned warning messages, and the warning messages are sorted in descending order according to each of the aforementioned weight values to obtain a warning sequence; The warning sequences are filtered according to a preset level weight threshold, and the first sequence corresponding to the third hidden danger level, the second sequence corresponding to the second hidden danger level, and the third sequence corresponding to the first hidden danger level are selected. The first sequence, the second sequence, and the third sequence are then summarized to obtain the first projection sequence.
[0014] This invention, through weighting and sorting according to the level of hazard, achieves priority differentiation and serialized management of early warning information at each level, providing a clear execution order for subsequent projection scheduling.
[0015] Furthermore, the process of compressing the expected projection time of the early warning information belonging to the first hazard level in the first projection sequence to obtain the second projection sequence includes: Determine whether the expected projection times of each warning message in the first projection sequence overlap, and determine the set of warning pairs with time overlap; Calculate the difference between the weight values corresponding to each warning information in the warning pair set, determine the projection display time compression ratio based on the difference, and compress the expected projection time of the warning information belonging to the first hidden danger level in the first projection sequence according to the projection display time compression ratio to obtain the second projection sequence.
[0016] This invention reduces time overlap and conflicts by compressing the projection time of low-level warnings, thereby improving the efficiency of projection resource utilization, while ensuring the priority display of high-level warnings, thus achieving a reasonable time allocation for multiple levels of warnings.
[0017] Furthermore, the step of filling the pre-set gap projection point set of the third projection sequence with the early warning information belonging to the second hazard level to obtain the target projection sequence includes: A number of interruption nodes are inserted into the expected projection time at a preset time interval, so as to determine the set of gap projection points based on each interruption node; The warning information belonging to the second hazard level is polled and filled into each gap projection point in the gap projection point set to obtain an initial projection sequence. It is then determined whether there are any remaining gap projection points in the initial projection sequence. If so, the warning information belonging to the first hazard level is polled and filled into each of the remaining gap projection points to obtain a target projection sequence.
[0018] This invention, by reasonably filling the gaps between medium- and low-level warnings and high-level warnings, makes full use of projection time resources to achieve orderly display of warnings of different levels and optimized projection management under multiple concurrent fault conditions.
[0019] Secondly, embodiments of the present invention provide a warning information projection system for power equipment, the system comprising: an acquisition module, an optimization module, and a projection module; The acquisition module is used to acquire several types of early warning information for power equipment, wherein each of the early warning information includes a hazard level and an expected projection time, and the hazard level includes a first hazard level, a second hazard level, and a third hazard level; The optimization module is used to sort the warning information according to each of the hazard levels, generate a first projection sequence, compress the expected projection time of the warning information belonging to the first hazard level in the first projection sequence to obtain a second projection sequence, input the second projection sequence into a preset fitness function, and use a genetic algorithm to iteratively optimize the second projection sequence until a preset iteration termination condition is met to obtain a third projection sequence, and determine whether the expected projection time of the warning information belonging to the third hazard level in the third projection sequence meets a preset constraint condition. If it does, the warning information belonging to the second hazard level is filled into the preset gap projection point set of the third projection sequence to obtain the target projection sequence. The projection module is used to project various early warning information of the power equipment according to the target projection sequence.
[0020] This invention provides an integrated system for acquisition, optimization, and projection, enabling intelligent sorting, compression, optimization, and gap filling of multi-level early warning information for power equipment. It effectively coordinates the display order and duration of early warnings at different levels, thereby accurately determining the projection display time of different levels of early warnings for power equipment under conditions of multiple concurrent faults, ensuring that early warning information is presented smoothly, orderly, and in a timely manner.
[0021] Thirdly, embodiments of the present invention provide a terminal device, including: a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other through the communication bus; The memory is used to store at least one executable instruction that causes the processor to perform the operation of the warning information projection method for power equipment as described in this application.
[0022] Fourthly, embodiments of the present invention provide a computer-readable storage medium comprising a stored computer program, wherein, when the computer program is executed, it controls the device or system where the computer-readable storage medium is located to perform the warning information projection method for power equipment as described in this application.
[0023] The above description is merely an overview of the technical solutions of the embodiments of the present invention. In order to better understand the technical means of the embodiments of the present invention and to implement them in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the embodiments of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description
[0024] To more clearly illustrate the technical solution of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0025] Figure 1 This is a flowchart illustrating one embodiment of the warning information projection method for power equipment provided in this application; Figure 2 This is a flowchart illustrating steps S201 to S202 provided in this application; Figure 3 This is a flowchart illustrating steps S301 to S303 provided in this application; Figure 4 This is a schematic diagram of an embodiment of the warning information projection method for power equipment provided in this application. Detailed Implementation
[0026] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0027] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.
[0028] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.
[0029] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0030] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.
[0031] In the description of the embodiments of this application, the term "multiple" refers to two or more (including two), similarly, "multiple sets" refers to two or more (including two sets), and "multiple pieces" refers to two or more (including two pieces).
[0032] In the description of the embodiments of this application, unless otherwise expressly specified and limited, technical terms such as "installation," "connection," "joining," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.
[0033] In power systems, due to the large number and complex status of equipment, multiple levels of early warnings may occur simultaneously. However, existing projection warning systems typically employ fixed resource allocation methods, resulting in high-level warnings occupying projection channels for extended periods, thus limiting the display of medium and low-level warnings and failing to accurately reflect the overall risk. Furthermore, current technologies lack modeling and dynamic scheduling mechanisms for the overlapping relationships of warning times, making it difficult to adaptively adjust projection times when warning status changes. This leads to low resource utilization, frequent timing conflicts, and negatively impacts the overall monitoring projection effect.
[0034] See Figure 1 In order to accurately determine the monitoring projection display time of power equipment under multiple fault concurrent conditions for different levels of early warning, an embodiment of the present invention provides a method for projecting warning information of power equipment, including steps S101 to S103. Step S101: Obtain several types of early warning information for power equipment, wherein each of the early warning information includes a hazard level and an expected projection time, and the hazard level includes a first hazard level, a second hazard level, and a third hazard level; In some embodiments, firstly, the operating status of the equipment is collected in real time through a sensor network deployed on the power equipment. This sensor network includes temperature sensors, voltage transformers, current transformers, circuit breaker status monitoring units, and insulation resistance detection devices, etc., to acquire operating parameter data such as transformer oil temperature, bus voltage, current amplitude, switch status, and insulation performance. Various sensors collect data according to a preset sampling period. Specifically, the transformer oil temperature sensor preferably collects temperature values every 5 seconds, the bus voltage transformer preferably collects instantaneous voltage at a frequency of 10 times per second, the circuit breaker status monitoring preferably records switch position changes at a period of 100 milliseconds, and the insulation resistance detection preferably acquires resistance data every 60 seconds, thus forming a multi-source heterogeneous raw monitoring data stream. Secondly, the raw monitoring data stream undergoes unified timestamp alignment processing. Data with different sampling frequencies are interpolated or resampled according to the minimum sampling time interval and uniformly converted into a time-series data sequence under the same time base, resulting in an aligned synchronous data stream. Based on synchronous data streams and pre-defined threshold judgment rules, anomalies are detected in various electrical parameters. When any parameter exceeds the corresponding safety threshold, a corresponding warning record is generated. Each warning record includes at least the equipment identifier, anomaly type, and trigger time. Next, based on the impact of each anomaly type on power grid operation safety, the warning records are classified into hazard levels. Anomalies with a large impact range and high risk, such as main transformer faults, bus voltage anomalies, and circuit breaker malfunctions, are marked as first-level hazard; medium-risk anomalies, such as partial discharge in switchgear and aging insulation in surge arresters, are marked as second-level hazard; and auxiliary equipment faults or minor operational deviations are marked as third-level hazard. Based on these classification rules, a corresponding hazard level identifier is added to each warning record, resulting in warning information with a hazard level. Finally, according to the trigger time of each warning message and a pre-defined display strategy, a corresponding expected projection time is assigned to each warning message. Specifically, the warning trigger time is used as the initial reference value for the projection start time, and the corresponding basic display duration is set in combination with different hazard levels. The expected projection duration for the first hazard level is preferably no less than 20 seconds, for the second hazard level no less than 10 seconds, and for the third hazard level no less than 5 seconds, thus forming the expected projection time range for each warning message.
[0035] It should be noted that the temporal relationships between various warning messages are analyzed, and the overlap of different warning messages on the time axis is statistically analyzed. Specifically, each warning message is represented as a time interval. The intersection length of any two warning message intervals is calculated and compared with a preset time window threshold. When the trigger time difference of multiple warning messages is less than the time window threshold, they are marked as a concurrent warning group, and a concurrent identifier field is added to the corresponding warning message to indicate that the current system is in a state of multiple concurrent faults. Finally, the above warning messages, which include device identifier, anomaly type, hazard level, trigger time, expected projection time, and concurrent identifier, are summarized to form a structured warning message set, providing a data foundation for subsequent projection resource allocation based on priority sorting and time slot scheduling.
[0036] Through the above steps, real-time acquisition, synchronous alignment, and anomaly analysis of multi-source heterogeneous operation data of power equipment can be achieved, accurately generating a set of structured early warning information with hidden danger level, trigger time, expected projection time, and concurrency identifier. This provides a reliable data foundation for reasonably determining the projection display time of each level of early warning under multiple concurrent fault conditions, ensuring the timeliness, completeness, and priority controllability of the projection information.
[0037] Step S102: Sort the warning information according to each of the hazard levels to generate a first projection sequence. Compress the expected projection time of the warning information belonging to the first hazard level in the first projection sequence to obtain a second projection sequence. Input the second projection sequence into a preset fitness function and use a genetic algorithm to iteratively optimize the second projection sequence until a preset iteration termination condition is met to obtain a third projection sequence. Determine whether the expected projection time of the warning information belonging to the third hazard level in the third projection sequence meets a preset constraint condition. If it does, fill the warning information belonging to the second hazard level into the preset gap projection point set of the third projection sequence to obtain the target projection sequence. In some embodiments, sorting the warning information based on each of the hazard levels to generate a first projection sequence includes: assigning a corresponding weight value to each of the warning information based on each of the hazard levels, and sorting the warning information in descending order according to each of the weight values to obtain a warning sequence; filtering the warning sequence according to a preset level weight threshold to select a first sequence corresponding to a third hazard level, a second sequence corresponding to a second hazard level, and a third sequence corresponding to a first hazard level in the warning sequence, and summarizing the first sequence, the second sequence, and the third sequence to obtain a first projection sequence.
[0038] In some embodiments, each warning message is assigned a corresponding weight value based on its respective hazard level, and the warning messages are sorted in descending order according to their respective weight values to obtain a warning sequence. Specifically, the process involves: First, extracting the hazard level field and occurrence timestamp field from the warning message set for each message. The hazard level includes a first hazard level, a second hazard level, and a third hazard level, corresponding to low-risk, medium-risk, and high-risk hazards, respectively. The occurrence timestamp represents the trigger time of the warning message, accurate to the second or millisecond level. By traversing and reading the warning message set, a list of warning message pairs consisting of "hazard level - occurrence timestamp" is constructed to obtain the original warning data set to be processed. Second, according to a preset level weight mapping rule, different hazard levels are assigned corresponding weight values. The weight value corresponding to the third hazard level is set to 100, the weight value corresponding to the second hazard level is set to 50, and the weight value corresponding to the first hazard level is set to 10 to ensure a clear numerical distinction between different levels, thereby reflecting the risk priority difference during the sorting process. Through the aforementioned weighting operation, the original early warning data set is transformed into a weighted early warning data set containing weight information. Each early warning message includes a hazard level, an occurrence timestamp, and a corresponding weight value. Next, based on the weighted early warning data set, a quicksort algorithm is used to sort the data in descending order of weight values. Using any given early warning message as a benchmark, messages with weight values greater than the benchmark are assigned to one side of the sequence, while those with weight values less than the benchmark are assigned to the other side. This same partitioning operation is recursively performed on each subsequence until all early warning messages are sorted, resulting in an early warning queue arranged from highest to lowest weight value. If early warning messages with the same weight value exist in the weighted early warning queue, they are further sorted based on their occurrence timestamps. Specifically, early warning messages with earlier occurrence times are placed first, and those with later occurrence times are placed last, ensuring that early warnings within the same hazard level are processed first. This secondary sorting operation yields a stable, sorted early warning queue. After sorting, the stable sorted early warning queue is constructed into a priority queue data structure. This data structure can be implemented using an array or a linked list to support subsequent fast reading of high-priority early warning information at the head of the queue. Finally, according to the order of the priority queue, each early warning information is output sequentially, resulting in an early warning sequence sorted by hazard level and occurrence time.
[0039] In some embodiments, the warning sequences are filtered according to preset level weight thresholds to select a first sequence corresponding to the third hazard level, a second sequence corresponding to the second hazard level, and a third sequence corresponding to the first hazard level. The first, second, and third sequences are then aggregated to obtain a first projection sequence. Specifically, a level weight threshold range is preset, where the weight threshold range corresponding to the third hazard level is a range of weight values greater than or equal to 80, the weight threshold range corresponding to the second hazard level is a range of weight values greater than or equal to 30 and less than 80, and the weight threshold range corresponding to the first hazard level is a range of weight values less than 30. First, each warning message in the warning sequence is traversed, and the weight value of each warning message is compared with the aforementioned level weight threshold ranges to determine its hazard level range, thus obtaining the level determination result corresponding to each warning message. Based on the risk level assessment results, warning information with weight values falling within the threshold range of the third risk level is selected from the warning sequence and arranged in its original order to obtain the first sequence corresponding to the third risk level. The warning information in this first sequence typically represents high-risk risks that have a significant impact on power grid operation, such as main transformer anomalies, busbar faults, or circuit breaker malfunctions. Next, warning information with weight values falling within the threshold range of the second risk level is selected from the warning sequence and arranged in its original order to obtain the second sequence corresponding to the second risk level. The warning information in this second sequence typically represents medium-risk risks, such as partial discharge in switchgear or degraded surge arrester performance. Finally, warning information with weight values falling within the threshold range of the first risk level is selected from the warning sequence and arranged in its original order to obtain the third sequence corresponding to the first risk level. The warning information in this third sequence typically represents low-risk risks, such as abnormal operation of auxiliary equipment or slight parameter fluctuations.
[0040] It should be noted that after completing the above-mentioned hierarchical screening, each warning message in the first, second, and third sequences is sequence-numbered, a unique identifier is assigned to each warning message, and its occurrence time and hazard level information are recorded, resulting in a hierarchical warning set with sequence identifiers. Furthermore, based on preset sequence aggregation rules, the first, second, and third sequences are integrated. Specifically, the first sequence corresponding to the third hazard level is used as the priority master sequence to ensure high-risk hazards are displayed first; the second sequence corresponding to the second hazard level is used as the sequence to be inserted; and the third sequence corresponding to the first hazard level is used as a low-priority supplementary sequence. Through the logical integration of the above sequences, an initial projection order structure containing multi-level warnings is constructed. Based on this, combining the occurrence time of each warning message and its order in the sequence, the initial projection order structure is mapped onto a unified time axis, and the initial projection start time and duration are preset for each warning message, generating a corresponding initial time slot distribution relationship. This time slot distribution relationship is used to describe the initial display order and occupancy time of each warning message on the projection device. Finally, based on the time slot distribution, the early warning information is arranged in chronological order to form an initial projection time series, resulting in the first projection sequence. This first projection sequence serves as the basic input for subsequent dynamic adjustments and genetic algorithm optimization, enabling the rational scheduling of projection resources in scenarios with multiple concurrent faults.
[0041] In some embodiments, compressing the expected projection time of the warning information belonging to the first hazard level in the first projection sequence to obtain the second projection sequence includes: determining whether the expected projection times of each warning information in the first projection sequence overlap, and determining a set of warning pairs with time overlap; calculating the difference between the weight values corresponding to each warning information in the set of warning pairs, determining the projection display time compression ratio based on the difference, and compressing the expected projection time of the warning information belonging to the first hazard level in the first projection sequence according to the projection display time compression ratio to obtain the second projection sequence.
[0042] In some embodiments, it is determined whether the expected projection times of each warning message in the first projection sequence overlap, and a set of warning pairs with time overlap is identified. Specifically, each warning message is represented as an interval on the time axis, with the starting point of the interval being the start time of the expected projection time of the warning and the ending point being the start time plus a preset display duration. By traversing all warning messages in the first projection sequence, the time intervals of any two warnings are compared. If the two intervals intersect, the intersection length is calculated, and the proportion of the intersection length to the total duration of the shorter warning is determined. When the proportion is greater than a preset threshold (e.g., 0.3), these two warnings are marked as a time-overlapping warning pair with strong conflict. All warning pairs that meet the conditions are recorded sequentially, including the warning number, the start time of overlap, the end time of overlap, and their respective level weight values, ultimately forming a set of warning pairs with time overlap in the entire first projection sequence.
[0043] In some embodiments, the difference between the weight values corresponding to each warning information in the warning pair set is calculated to determine the projection display time compression ratio based on the difference. The expected projection time of warning information belonging to the first hazard level in the first projection sequence is then compressed according to the projection display time compression ratio to obtain a second projection sequence. Specifically, for each pair of overlapping warnings in the warning pair set, their respective weight values are obtained. The weight values are assigned according to preset rules, for example, high-level warning = 100 points, medium-level warning = 50 points, and low-level warning = 10 points. The weight difference between the pair of warnings is calculated, i.e., the weight of the high-level warning minus the weight of the low-level warning. Based on the difference, the display time compression ratio of the low-level warning is determined: when the difference is greater than 30 points, it is compressed to 40% of the original duration; when the difference is between 15 and 30 points, it is compressed to 60%; and when the difference is less than 15 points, it is compressed to 80%. Then, according to the calculated compression ratio, the expected projection time of warnings belonging to the low-level or first hazard level in the first projection sequence is shortened, while maintaining the original duration of the high-level warnings unchanged to ensure that high-level warning information is displayed first. By arranging all early warning information in chronological order according to the compression ratio, a second projection sequence optimized for conflict is obtained, thus achieving reasonable display and integrity assurance of early warning information under limited projection resources.
[0044] In some embodiments, the step of inputting the second projection sequence into a preset fitness function and iteratively optimizing the second projection sequence using a genetic algorithm until a preset iteration termination condition is met to obtain a third projection sequence includes: encoding the second projection sequence to map the expected projection time of each warning information in the second projection sequence into gene parameters, and constructing projection display time allocation individuals based on each gene parameter; using each projection display time allocation individual as an initial population, inputting the initial population into a preset fitness function, and obtaining a fitness value set by calculating the fitness of each individual in the initial population; selecting a set of parent individuals from the fitness value set according to a preset selection strategy, and iteratively optimizing the set of parent individuals using a genetic algorithm until a preset iteration termination condition is met to obtain a third projection sequence.
[0045] In some embodiments, the second projection sequence is encoded to map the expected projection time of each warning message in the second projection sequence to gene parameters, and an individual for projection display time allocation is constructed based on each gene parameter. Specifically, each warning message corresponds to a time interval in the second projection sequence, with the starting point of the interval being the adjusted projection start time and the interval length being the display duration of the warning message. For each warning message, its start time and duration are encoded as a gene parameter to construct a chromosome representation. For example, the second projection sequence contains 6 warning messages, namely, high-level warning of main transformer oil leakage, high-level warning of 10kV bus voltage abnormality, high-level warning of circuit breaker failure to operate, medium-level warning of switchgear partial discharge, medium-level warning of surge arrester insulation aging, and low-level warning of auxiliary equipment cooling fan failure, and their adjusted projection time intervals are [14:30:00, 25 seconds], [14:30:28, 22 seconds], [14:30:52, 20 seconds], [14:30:1 ... [15 seconds], [14:30:35, 12 seconds], [14:30:58, 8 seconds], then the start time and duration of each warning are mapped to the corresponding chromosome gene parameters, resulting in the gene sequence representation of a single projected display time allocation individual as: [(14:30:00, 25), (14:30:28, 22), (14:30:52, 20), (14:30:10, 15), (14:30:35, 12), (14:30:58, 8)]. By repeating the above mapping for all warning information in the second projection sequence, multiple projected display time allocation individuals can be generated, providing the coding basis for the genetic algorithm.
[0046] In some embodiments, each of the projection display time allocation individuals is used as an initial population. This initial population is input into a preset fitness function. A fitness value set is obtained by calculating the fitness of each individual in the initial population. Specifically, the encoded projection display time allocation individuals are input into a genetic algorithm as an initial population. The population size can be set to 50 individuals, with each individual representing an independent time allocation scheme. For each individual, a fitness value is calculated to evaluate the quality of its time allocation scheme. The fitness function integrates two key indicators: time slot occupancy rate: the actual total allocated projection time divided by the total available projection resource time. For example, if the total available time is 120 seconds, and an individual's total projection allocation time is 102 seconds, then the time slot occupancy rate = 102 / 120. 0.85; No-conflict rate: 1 minus the ratio of the number of conflict warning pairs to the total number of warning pairs, where the total number of warning pairs is calculated using the formula... calculate( (Total number of warnings). For example, 6 warnings = 6 total warning pairs. (6-1) / 2=15 pairs, 2 collisions were detected, so the collision-free rate = 1-2 / 15 0.867; the fitness function is defined as: Substituting the above example values, we get: By performing fitness calculations on each individual in the initial population, a set of fitness values for the entire population can be obtained, providing a basis for subsequent parent selection and genetic optimization.
[0047] In some embodiments, a set of parent individuals is selected from the fitness value set according to a preset selection strategy, and the set of parent individuals is iteratively optimized using a genetic algorithm until a preset iteration termination condition is met to obtain a third projection sequence. Specifically, the set of parent individuals is selected from the fitness value set according to a roulette wheel selection strategy, where the selection probability is positively correlated with the fitness value; the higher the fitness of an individual, the greater the probability of it being selected as a parent. After selecting several parent individuals, iterative optimization is performed using the following genetic algorithm operation: Crossover operation: A two-point crossover method is used, randomly selecting two crossover points on the chromosome, exchanging the middle segments of the parent individuals, and generating offspring individuals. For example, the fragment of parent generation 1 is [(14:30:00,25), (14:30:28,22), (14:30:52,20), (14:30:10,15)], and the corresponding fragment of parent generation 2 is [(14:30:02,24), (14:30:26,23), (14:30:50,21), (14:30:12,14)]. After swapping the middle fragments, we get child generation 1 = [(14:30:00,25), (14:30:26,23), (14:30:50,21), (14:30:10,15)]. After the crossover, it is necessary to check whether the minimum warning duration constraint is met, such as for high-level warnings. 20 seconds, medium level 10 seconds, low level 5 seconds. Mutation operation: Randomly select a gene in an individual with a probability of 0.1 for fine-tuning, adjusting the start time. 3 seconds or duration 2 seconds, ensuring it is not less than the minimum duration for the corresponding level, while avoiding new conflicts. Iterative evolution: Merge offspring with parent individuals, retain the top 50 individuals with the highest fitness as the next generation population, and repeat selection, crossover, and mutation operations for 100 generations. Termination condition: The iteration terminates when the preset number of generations is reached or the population fitness converges. Optimal solution output: Select the individual with the highest fitness value, whose gene sequence corresponds to the final projection time and duration of each warning message, forming a globally optimized third projection sequence. This ensures that all warning messages are displayed reasonably on the projection time axis, maximizing time slot occupancy while avoiding conflicts and information loss. The third projection sequence is the final projection time arrangement obtained based on the second projection sequence through encoding, fitness evaluation, and iterative optimization using a genetic algorithm. It can adapt to the dynamic projection display needs under multi-fault concurrent scenarios, achieving priority display of high-level warnings, reasonable compression of low-level warnings, and efficient utilization of overall projection resources.
[0048] Please refer to Figure 2 In some embodiments, the step of iteratively optimizing the set of parent individuals using a genetic algorithm until a preset iteration termination condition is met to obtain a third projection sequence includes: steps S201 to S202. Step S201: Perform adaptive crossover and mutation operations on the parent generation individual set to obtain the offspring population, and perform constraint verification on the offspring population to remove individuals that do not meet the minimum projection display duration constraint or have projection display time conflicts, thereby obtaining an updated feasible population. In some embodiments, adaptive crossover and mutation operations are performed on the set of parent individuals to generate a progeny population. Each parent individual corresponds to a time slot allocation scheme, encoded as a chromosome. Each gene on the chromosome represents the start time and duration of an alert. Adaptive crossover operation: A two-point crossover method is used, randomly selecting two crossover points on the chromosome, for example, the first... The position and the first Alleles; exchange the middle segments of two parent chromosomes to generate two offspring chromosomes; after crossover, constrain and verify the offspring chromosomes to ensure that the duration of each warning is not less than its minimum display duration: High level 20 seconds, medium level 10 seconds, low level 5 seconds; simultaneously, ensure that the time slots generated after crossover do not overlap or conflict with other allocated time slots; otherwise, locally adjust or re-crossover the conflicting genes. Adaptive mutation operation: offspring chromosomes are probabilistically... (For example The mutation is performed by randomly selecting a locus on the chromosome and determining its initiation time. A 3-second fine-tuning, or adjustment of the duration. A 2-second adjustment is performed; after adjustment, the offspring chromosomes are constrained and verified to ensure that genes with durations shorter than the minimum are corrected, and the duration of high-priority warnings retains priority. If mutations cause time slot conflicts, a stepwise search or adjustment method using nearby idle time slots is used to move conflicting warnings to the first available time slot without conflict. Constraint verification and feasibility screening: The generated offspring population is constrained and verified, and all individuals that do not meet the minimum projection display duration or have projection time conflicts are removed. The time slot occupancy rate and conflict-free rate of each offspring are checked to ensure that each warning retains at least its minimum display duration after initial optimization, while avoiding high-priority warnings being covered by low-priority warnings. The screened offspring form an updated feasible population for the next iteration of optimization. In addition, constraint verification also includes boundary alignment processing: if the interval between adjacent time slots is less than the minimum interval threshold (e.g., 2 seconds), the duration of low-priority warnings is shortened or the start time is delayed, or even low-priority warnings are divided into multiple idle time slots to achieve visual continuity and information integrity.
[0049] Step S202: The feasible population is used as a new generation population for several rounds of iterative optimization until a preset number of iterations or fitness value meets a preset convergence condition. The individual with the highest fitness value is selected as the optimal projection display time allocation scheme, and the optimal projection display time allocation scheme is determined as the third projection sequence.
[0050] In some embodiments, the feasible offspring population obtained in step S201 is used as a new generation population for several rounds of iterative optimization until the termination condition is met. Iterative optimization: The total number of iterations is set to 100 generations. In each generation, new offspring are generated through selection, crossover, and mutation, and constraint verification is performed to form the next generation of feasible population. The selection operation adopts the roulette wheel method, allocating selection probabilities based on individual fitness values (combining slot occupancy rate and conflict-free rate), with high-fitness individuals entering the breeding pool first. An example formula for the fitness function is: Wherein, slot occupancy rate = total actual allocated time of all warnings / total available projected time, and conflict-free rate = 1 - number of conflicting warning pairs / total number of warning pairs. Dynamic adjustment and display integrity verification: In each iteration, the display integrity of the generated individuals is verified to ensure high-level warnings. 20 seconds, medium level 10 seconds, low level 5 seconds; if an individual does not meet the conditions, it is marked as an invalid individual and removed to ensure population quality during iteration; conflict warning pairs are dynamically compressed and time slots are shifted, following the priority difference compression ratio: difference Compress 30 points to 40%, and a difference of 15-30 points to 60%. The score is compressed from 15 points to 80%, ensuring that high-priority warning information is displayed first. Termination conditions and optimal solution selection: When a preset number of iterations (e.g., 100 generations) is reached or the fitness value converges to a preset threshold (e.g., ... When the fitness value reaches 0.98, the iteration terminates. The individual with the highest fitness value is selected from the final population as the optimal projection display time allocation scheme. The chromosome gene sequence corresponding to this optimal scheme is determined as the third projection sequence for actual projection display. This iterative optimization process, combined with the set of overlapping hazard features, achieves differentiated utilization of projection resources under multiple concurrent fault conditions: high-priority warnings occupy continuous time slots first; low-priority warnings are compressed and moved to ensure complete display in available projection resources; through global optimization and fitness evaluation, time slot occupancy is maximized while conflicts are minimized, while ensuring all warning information is fully readable on the projection terminal.
[0051] Please refer to Figure 3 In some embodiments, the process of constructing the fitness function includes: steps S301 to S303; Step S301: Statistically analyze the expected projection time of each warning message in the second projection sequence to obtain the actual total allocation time of all warning messages, and calculate the first ratio of the actual total allocation time to the preset total available projection resource time to determine the time slot occupancy rate based on the first ratio. In some embodiments, each warning message in the second projection sequence corresponds to a projection time interval, which is determined by the start time and duration. The actual total allocated time is obtained by summing the durations of all warning messages, specifically expressed as: [The text abruptly ends here, so the translation stops as well.] The duration of each warning message is recorded as follows: The actual total allocated time Simultaneously, obtain the total available time of the current projection system within this time window. , This can be preset based on the projection equipment scheduling cycle or display window length, for example, 120 seconds. Based on this data, the time slot occupancy rate is calculated. The calculation method is as follows: This indicator reflects the utilization efficiency of projection resources; the closer the time slot occupancy rate is to 1, the more fully the projection resources are utilized.
[0052] Step S302: Detect the expected projection time of any adjacent warning information in the second projection sequence, count the number of conflicting warning pairs with overlapping times, and calculate the second ratio of the number of conflicting warning pairs to the total number of warning pairs, so as to determine the no-conflict rate based on the second ratio, wherein the total number of warning pairs is determined based on each warning information in the second projection sequence; In some embodiments, the projected time of each warning message is represented as an interval on a time axis, with the starting point of the interval being the warning start time and the ending point being the start time plus the duration. For any two warning messages... and If their corresponding time intervals overlap, it is determined that there is a time overlap, forming a conflict warning pair. The length of the overlapping period is the length of the intersection of the two intervals. Furthermore, the number of conflict warning pairs can be counted as follows: traverse all warning pair combinations, perform interval overlap detection on each pair of warning information, and count the number of conflict warning pairs. All warnings are for the quantity. Determined based on the combination formula: ,in, This represents the total number of early warning messages. Based on the above statistical results, the conflict ratio is calculated. : And further obtain the conflict-free rate : Furthermore, an overlap ratio threshold (e.g., 0.3) can be introduced to filter conflicts, with only those exceeding the threshold being considered valid conflicts, thus enhancing the practical significance of conflict detection. This conflict-free rate metric reflects the rationality of the projection scheduling scheme; a higher conflict-free rate indicates fewer time conflicts between warnings.
[0053] Step S303: The time slot occupancy rate and the conflict-free rate are weighted and fused based on preset weight coefficients to obtain the fitness function.
[0054] In some embodiments, a fitness function is introduced to comprehensively evaluate the merits of the projection time allocation scheme. The time slot occupancy rate and conflict-free rate are calculated together, and the specific expression is as follows: ,in, For time slot occupancy rate, For the conflict-free rate, and The preset weighting coefficients satisfy the following conditions: Considering the balance between projection resource utilization efficiency and conflict control, the following settings can be configured: , ,Right now: A fitness value closer to 1 indicates a better overall performance of the corresponding projection time allocation scheme in terms of resource utilization and conflict control. The fitness function can also be modified by incorporating display integrity constraints: when the duration of a warning message is less than its minimum display duration requirement, the fitness value of the corresponding individual is penalized or directly invalidated, thus ensuring that the optimization results meet practical application needs. The aforementioned fitness function construction provides an evaluation basis for subsequent selection, crossover, and mutation operations in the genetic algorithm, achieving global optimization of the projection time slot allocation scheme.
[0055] In some embodiments, filling the warning information belonging to the second hazard level into the preset gap projection point set of the third projection sequence to obtain the target projection sequence includes: inserting a number of interruption nodes in the expected projection time according to a preset time interval to determine the gap projection point set based on each interruption node; polling and filling the warning information belonging to the second hazard level into each gap projection point in the gap projection point set to obtain an initial projection sequence; determining whether there are any remaining gap projection points in the initial projection sequence; if so, polling and filling the warning information belonging to the first hazard level into each of the remaining gap projection points to obtain the target projection sequence.
[0056] In some embodiments, several interruption nodes are inserted into the expected projection time at preset time intervals to determine the gap projection point set based on each interruption node. Specifically, the high-level warning information in the second projection sequence is traversed, and each high-level warning is mapped to a corresponding time interval on the time axis according to the warning trigger time and duration. The continuity determination condition is determined based on the time interval between adjacent high-level warnings. When the time interval between two adjacent high-level warnings is less than a preset continuity determination threshold (preferably 5 seconds), they are merged into the same continuous time period. The start time, end time, and number of warnings included in the continuous time period are recorded to obtain a set of continuous high-level warning time periods. Secondly, for each continuous period in the set of high-level warning continuous periods, its total occupied duration is calculated and compared with a preset maximum continuous occupancy threshold. When the total occupied duration exceeds the maximum continuous occupancy threshold (preferably 120 seconds), several interruption nodes are inserted within this continuous period at preset time intervals (preferably 30 seconds). Each interruption node corresponds to an idle window with a duration of 3 to 5 seconds, and the insertion time and corresponding available duration of each interruption node are recorded, thus forming a high-level warning time series with interruption markers. Next, the gap intervals formed by all interruption nodes are extracted from the high-level warning time series with interruption markers. Simultaneously, the time intervals naturally formed between different high-level warning continuous periods are combined to construct a unified set of candidate gap intervals. The time width of each candidate gap interval is detected, and candidate gap intervals with a time width greater than a preset minimum insertion duration threshold (preferably 8 seconds) are selected as valid gap intervals. Their start time and available width are recorded, and finally, a set of gap projection points is obtained for subsequent insertion and scheduling of medium and low-level warning information.
[0057] In some embodiments, warning information belonging to the second hazard level is polled and filled into each gap projection point in the gap projection point set to obtain an initial projection sequence. It is then determined whether there are any remaining gap projection points in the initial projection sequence. If so, warning information belonging to the first hazard level is polled and filled into each of the remaining gap projection points to obtain a target projection sequence. Specifically, the following steps are taken: First, the start time and available width of each gap projection point are sequentially obtained from the gap projection point set, and a polling queue is established for warning information belonging to the second hazard level (preferably the medium level) according to its sequence number or triggering order. Based on the polling queue, gap projection points are allocated to each second hazard level warning in a loop traversal manner. The display duration of each warning information is filled into the corresponding gap projection point, and the remaining capacity of the corresponding gap is updated in real time during the allocation process. The gap index, warning identifier, and allocation duration are recorded until all second hazard level warnings are allocated or all gap projection points are occupied, thus obtaining the initial projection sequence. Secondly, the remaining capacity of each gap projection point in the initial projection sequence is checked to determine whether there are any remaining gap projection points or whether the remaining capacity within a gap exceeds the preset minimum display time. When remaining gap projection points exist, warning information is extracted sequentially from the warning information sequence belonging to the first hazard level (preferably a low level) according to a preset order (e.g., ascending number order), and first hazard level warnings are filled into the remaining gap projection points using a polling method. During the filling process, the following conditions must be met: the allocation time of a single warning is not less than its minimum display time requirement and does not exceed the remaining capacity of the current gap; the remaining capacity of the corresponding gap is updated after each filling is completed. Next, when the remaining capacity of a gap projection point is less than the minimum display time of the corresponding level warning, the gap is marked as full and allocation stops; the filling process ends when all first hazard level warnings are allocated or all gap projection points are full. Finally, the high-level warning time period, the filled second-level hazard warning time period, and the filled first-level hazard warning time period are uniformly sorted and spliced in chronological order to form a complete time slot sequence, thus obtaining the target projection sequence. This achieves a balanced distribution and efficient display of multiple levels of hazards under limited projection resources.
[0058] Through the above steps, by performing multi-level weighted sorting, hierarchical filtering, time slot compression, and genetic algorithm optimization on early warning information, dynamic projection scheduling under multi-fault concurrent scenarios is realized. High-level early warnings can be displayed first and completely, while low-level early warnings are reasonably compressed without affecting the display of important information. The entire projection sequence maximizes the use of available display resources, while avoiding time overlap conflicts and information loss, thereby improving the timeliness of early warning information processing, visualization clarity, and system operation security.
[0059] Step S103: Project the early warning information of the power equipment according to the target projection sequence.
[0060] In some embodiments, firstly, a communication connection is established between the projection device and the projection controller through the projection device interface, preferably using a serial communication protocol to control the projection device; the projection time slots corresponding to each warning message are read one by one from the target projection sequence, the projection time slots including at least the warning content identifier, the projection start time, and the duration; and corresponding execution instructions are generated based on each projection time slot, wherein each execution instruction is encapsulated according to a preset data frame format, the data frame including header information and data field, the header information including the device address, instruction type code, and timestamp, and the data field used to store the warning text content, image index, or animation sequence number. Secondly, the absolute start time in the projection time slot is converted into a relative time offset corresponding to the internal clock of the projection device. The internal clock accumulates time in milliseconds from the device startup time, thereby establishing a one-to-one mapping relationship between the projection time slot and the execution instructions, resulting in a sequence of instructions arranged in chronological order. Next, the instruction sequence is subjected to timing scanning processing, comparing the start and end times of two adjacent execution instructions, and calculating the time interval between adjacent instructions. When the time interval is less than a preset device switching delay threshold, a timing conflict is determined, and the index position and time interval difference of the corresponding conflicting instruction pair are recorded to obtain the conflict detection result.
[0061] In some embodiments, the timing of conflicting execution instructions is adjusted based on the conflict detection results. For each pair of conflicting instructions, the required delay compensation is calculated. The delay is the difference between a preset switching delay threshold and the actual time interval. The delay is then added to the execution time of subsequent instructions in the conflicting instruction, and the timestamps of all affected subsequent instructions are progressively shifted and updated. The device switching delay threshold is preferably set to 600 milliseconds to meet the time requirements of the projection device during fade-out, cache refresh, data loading, and fade-in stages of screen switching. After conflict resolution, device status check markers are inserted at key time nodes, including the end position of continuous display for high-level warnings and the batch switching position for medium-level warnings. The execution status of the projection device is verified using these device status check markers to ensure that each execution instruction can be correctly triggered and executed sequentially, thereby obtaining the final projection execution plan. Finally, the projection device executes each instruction sequentially according to the final projection execution plan, triggering the projection display of the warning content at the corresponding start time and completing the screen switching after the duration ends, thus achieving the orderly display of each warning information. During the projection process, the operating status of the projection device and the channel occupancy are monitored in real time to ensure that each warning information is displayed completely within its corresponding time window, avoiding screen flickering or information loss due to rapid switching. Furthermore, during the projection execution process, the warning status interface of the power monitoring system is periodically accessed through a polling mechanism to obtain real-time status data of each warning information, including the warning level, duration, and update timestamp. The real-time status data is compared with the warning mapping relationship in the current execution plan to identify newly added warnings, deactivated warnings, and warnings with changed levels. When a new high-level warning or an increase in the warning level is detected, the current projection execution plan is dynamically adjusted. Specifically, the display time of the currently executing low-level warning is compressed proportionally (preferably to 50% of the original remaining time), releasing the corresponding time resources. The released time is then prioritized for allocation to newly added or upgraded high-level warnings, and the order of instructions to be executed is rearranged according to the updated priority values.
[0062] Through the above steps, the execution time of instructions can be automatically adjusted to solve the problems of projection switching delay and instruction conflict; the status verification of key time nodes ensures the reliability of equipment execution; the real-time monitoring and dynamic adjustment mechanism can prioritize the display of high-level warnings according to the changes in warning level, while compressing the display time of low-level warnings, thereby ensuring that all kinds of warning information are fully presented within their corresponding time windows, improving the reliability, real-time performance and visualization effect of projection display, while effectively avoiding problems such as screen flickering, information omission or misalignment.
[0063] like Figure 4 As shown, based on the above method embodiments, corresponding apparatus embodiments are provided; An embodiment of the present invention provides a schematic diagram of the structure of a warning information projection system for power equipment, including: an acquisition module 100, an optimization module 200, and a projection module 300; The acquisition module 100 is used to acquire several kinds of early warning information of power equipment, wherein each of the early warning information includes a hazard level and an expected projection time, and the hazard level includes a first hazard level, a second hazard level and a third hazard level; The optimization module 200 is used to sort the warning information according to each of the hazard levels, generate a first projection sequence, compress the expected projection time of the warning information belonging to the first hazard level in the first projection sequence to obtain a second projection sequence, input the second projection sequence into a preset fitness function, and use a genetic algorithm to iteratively optimize the second projection sequence until a preset iteration termination condition is met to obtain a third projection sequence, and determine whether the expected projection time of the warning information belonging to the third hazard level in the third projection sequence meets a preset constraint condition. If it does, the warning information belonging to the second hazard level is filled into the preset gap projection point set of the third projection sequence to obtain the target projection sequence. The projection module 300 is used to project various early warning information of the power equipment according to the target projection sequence.
[0064] It is understood that the above-described device embodiments correspond to the method embodiments of the present invention, and can implement the warning information projection method for power equipment provided by any of the above-described method embodiments of the present invention. For a more detailed workflow and principle of this system, please refer to the relevant descriptions of the above methods.
[0065] It should be noted that the device embodiments described above are merely illustrative, and some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, in the accompanying drawings of the device embodiments provided by this invention, the connection relationships between modules indicate that they have communication connections, which can specifically be implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement this without any creative effort.
[0066] Based on the above-described embodiments of the warning information projection method for power equipment, another embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the warning information projection method for power equipment according to any embodiment of the present invention.
[0067] For example, in this embodiment, the computer program can be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the terminal device.
[0068] The terminal device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.
[0069] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the terminal device, connecting all parts of the terminal device via various interfaces and lines.
[0070] Based on the above-described method embodiments, another embodiment of the present invention provides a computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to execute the warning information projection method for power equipment described in any of the above-described method embodiments of the present invention.
[0071] The modules / units integrated in the device / terminal equipment, if implemented as software functional units and sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0072] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.
Claims
1. A method for projecting warning information onto electrical equipment, characterized in that, include: Acquire several types of early warning information for power equipment, wherein each of the early warning information includes a hazard level and an expected projection time, and the hazard level includes a first hazard level, a second hazard level, and a third hazard level; Based on the respective hazard levels, the warning information is sorted to generate a first projection sequence. The expected projection time of the warning information belonging to the first hazard level in the first projection sequence is compressed to obtain a second projection sequence. The second projection sequence is input into a preset fitness function, and a genetic algorithm is used to iteratively optimize the second projection sequence until a preset iteration termination condition is met to obtain a third projection sequence. It is determined whether the expected projection time of the warning information belonging to the third hazard level in the third projection sequence meets a preset constraint condition. If it does, the warning information belonging to the second hazard level is filled into the preset gap projection point set of the third projection sequence to obtain the target projection sequence. The warning information of the power equipment is projected according to the target projection sequence.
2. The method for projecting warning information onto power equipment as described in claim 1, characterized in that, The step of inputting the second projection sequence into a preset fitness function and using a genetic algorithm to iteratively optimize the second projection sequence until a preset iteration termination condition is met to obtain a third projection sequence includes: The second projection sequence is encoded to map the expected projection time of each warning information in the second projection sequence to gene parameters, and a projection display time allocation individual is constructed based on each gene parameter. Each individual with a projection display time allocation is used as an initial population. The initial population is input into a preset fitness function. By calculating the fitness of each individual in the initial population, a set of fitness values is obtained. A set of parent individuals is selected from the fitness value set according to a preset selection strategy, and the set of parent individuals is iteratively optimized by a genetic algorithm until a preset iteration termination condition is met, thus obtaining a third projection sequence.
3. The method for projecting warning information onto power equipment as described in claim 2, characterized in that, The step of iteratively optimizing the set of parent individuals using a genetic algorithm until a preset iteration termination condition is met to obtain the third projection sequence includes: Adaptive crossover and mutation operations are performed on the parent generation set to obtain the offspring population. Constraint verification is then performed on the offspring population to remove individuals that do not meet the minimum projection display duration constraint or have projection display time conflicts, resulting in an updated feasible population. The feasible population is used as a new generation population for several rounds of iterative optimization until a preset number of iterations or fitness value meets a preset convergence condition. The individual with the highest fitness value is selected as the optimal projection display time allocation scheme, and the optimal projection display time allocation scheme is determined as the third projection sequence.
4. The method for projecting warning information onto power equipment as described in claim 2, characterized in that, The process of constructing the fitness function includes: The expected projection time of each warning message in the second projection sequence is statistically analyzed to obtain the actual total allocation time of all warning messages. The first ratio of the actual total allocation time to the preset total available projection resource time is calculated to determine the time slot occupancy rate based on the first ratio. The expected projection time of any adjacent warning information in the second projection sequence is detected, the number of conflicting warning pairs with time overlap is counted, and the second ratio of the number of conflicting warning pairs to the total number of warning pairs is calculated to determine the non-conflict rate based on the second ratio. The total number of warning pairs is determined based on each warning information in the second projection sequence. The fitness function is obtained by weighting and fusing the time slot occupancy rate and the conflict-free rate based on preset weight coefficients.
5. The method for projecting warning information onto power equipment as described in claim 1, characterized in that, The step of sorting the early warning information based on each of the aforementioned hazard levels to generate a first projection sequence includes: Each of the aforementioned hazard levels is assigned a corresponding weight value to each of the aforementioned warning messages, and the warning messages are sorted in descending order according to each of the aforementioned weight values to obtain a warning sequence; The warning sequences are filtered according to a preset level weight threshold, and the first sequence corresponding to the third hidden danger level, the second sequence corresponding to the second hidden danger level, and the third sequence corresponding to the first hidden danger level are selected. The first sequence, the second sequence, and the third sequence are then summarized to obtain the first projection sequence.
6. The method for projecting warning information onto power equipment as described in claim 5, characterized in that, The step of compressing the expected projection time of the early warning information belonging to the first hazard level in the first projection sequence to obtain the second projection sequence includes: Determine whether the expected projection times of each warning message in the first projection sequence overlap, and determine the set of warning pairs with time overlap; Calculate the difference between the weight values corresponding to each warning information in the warning pair set, determine the projection display time compression ratio based on the difference, and compress the expected projection time of the warning information belonging to the first hidden danger level in the first projection sequence according to the projection display time compression ratio to obtain the second projection sequence.
7. The method for projecting warning information onto power equipment as described in claim 1, characterized in that, The step of filling the warning information belonging to the second hazard level into the preset gap projection point set of the third projection sequence to obtain the target projection sequence includes: A number of interruption nodes are inserted into the expected projection time at a preset time interval, so as to determine the set of gap projection points based on each interruption node; The warning information belonging to the second hazard level is polled and filled into each gap projection point in the gap projection point set to obtain an initial projection sequence. It is then determined whether there are any remaining gap projection points in the initial projection sequence. If so, the warning information belonging to the first hazard level is polled and filled into each of the remaining gap projection points to obtain a target projection sequence.
8. A warning information projection system for electrical equipment, characterized in that, The system includes: an acquisition module, an optimization module, and a projection module; The acquisition module is used to acquire several types of early warning information for power equipment, wherein each of the early warning information includes a hazard level and an expected projection time, and the hazard level includes a first hazard level, a second hazard level, and a third hazard level; The optimization module is used to sort the warning information according to each of the hazard levels, generate a first projection sequence, compress the expected projection time of the warning information belonging to the first hazard level in the first projection sequence to obtain a second projection sequence, input the second projection sequence into a preset fitness function, and use a genetic algorithm to iteratively optimize the second projection sequence until a preset iteration termination condition is met to obtain a third projection sequence, and determine whether the expected projection time of the warning information belonging to the third hazard level in the third projection sequence meets a preset constraint condition. If it does, the warning information belonging to the second hazard level is filled into the preset gap projection point set of the third projection sequence to obtain the target projection sequence. The projection module is used to project various early warning information of the power equipment according to the target projection sequence.
9. A terminal device, characterized in that, The device includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, it implements the warning information projection method for electrical equipment as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, include: A stored computer program, wherein, when the computer program is executed, it controls the device containing the computer-readable storage medium to perform the warning information projection method for electrical equipment as described in any one of claims 1-7.