A terminal power supply protection and data retention method, device, equipment and medium
Patent Information
- Application Number
- CN202610717488.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-22
- Publication Date
- 2026-09-15
Smart Images

Figure CN122763261A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of power supply protection for smart terminals, and in particular to a method, apparatus, device, and medium for terminal power supply protection and data retention. Background Technology
[0002] With the advancement of intelligent power distribution network construction, intelligent converged terminals are widely used in scenarios such as power supply status monitoring, operation data acquisition, event recording, and remote communication. Intelligent converged terminals are typically deployed in field environments with complex power supply conditions, making them susceptible to voltage fluctuations, abnormal voltage increases, and short-term power outages, which can affect the stability of terminal operation and data integrity.
[0003] Existing intelligent converged terminals typically perform power protection based on fixed protection conditions and retain data in the event of power abnormalities or power outages. While this approach provides basic protection, power protection and data retention are often executed independently, making it difficult to coordinate and control them based on the evolving power abnormality and backup power capacity. When power abnormalities continue to change, issues may arise such as unreasonable protection triggering timing, insufficient data retention time, or failure to retain critical operational data in a timely manner.
[0004] In addition, existing methods typically only perform data verification or restart after power is restored, lacking a mechanism to adjust protection triggering conditions based on data recovery and protection action execution. This means that intelligent fusion terminals may repeatedly encounter problems of untimely protection or insufficient data retention in similar power outage scenarios in the future. Summary of the Invention
[0005] To address the issue of insufficient coordination between protection and data retention when power supply is abnormal in intelligent converged terminals, this application provides a method, apparatus, device, and medium for terminal power protection and data retention.
[0006] The above-mentioned objective of this application is achieved through the following technical solution:
[0007] A terminal power protection and data retention method, the terminal power protection and data retention method comprising:
[0008] Obtain the power supply status information of the intelligent fusion terminal, and determine the voltage anomaly judgment result corresponding to the intelligent fusion terminal based on the power supply status information;
[0009] When the voltage anomaly judgment result indicates that the intelligent fusion terminal is in an abnormally high voltage state, the abnormal voltage evolution intensity information is determined based on the power supply status information;
[0010] Based on the abnormal voltage evolution intensity information and the backup power supply retention capability corresponding to the intelligent fusion terminal, the protection retention linkage window is determined.
[0011] Based on the data retention time limit corresponding to the protection and maintenance linkage window, key operating data is determined from the operating data of the intelligent fusion terminal, and the power outage risk level corresponding to the key operating data is determined.
[0012] Based on the protection hold-up linkage window and the power failure risk level, an action coordination strategy is generated;
[0013] Based on the aforementioned action coordination strategy, power isolation control information and data retention control information are generated;
[0014] Power isolation actions are performed according to the power isolation control information, and data retention actions are performed according to the data retention control information to obtain a power-off retention record;
[0015] After the power supply to the intelligent fusion terminal is restored, data recovery verification is performed based on the power outage retention record to obtain the data recovery result;
[0016] Based on the data recovery results and the protection action execution results corresponding to the power isolation action, the protection triggering conditions used to determine the voltage anomaly judgment result are adjusted.
[0017] By adopting the above technical solution, it is possible to determine whether the intelligent fusion terminal is in an abnormally high voltage state based on power supply status information. Combined with information on the evolution intensity of the abnormal voltage and the backup power supply capacity, the protection and data retention linkage window is determined, enabling coordinated execution of power isolation and data retention actions. This avoids premature protection leading to the failure to retain critical operational data in a timely manner, or delayed protection causing the terminal to remain continuously affected by abnormally high voltage. Simultaneously, the retention sequence of critical operational data is determined based on the power outage risk level, and the protection triggering conditions are adjusted after power restoration based on the data recovery results and protection action execution results, improving power protection reliability, data retention integrity, and power restoration continuity.
[0018] In a preferred embodiment, this application can be further configured such that: determining the voltage anomaly judgment result corresponding to the intelligent fusion terminal based on the power supply status information includes:
[0019] Extract input voltage deviation information and power supply fluctuation duration information within a continuous sampling period from the power supply status information;
[0020] Based on the input voltage deviation information, determine the degree of voltage deviation information corresponding to each of the consecutive sampling periods;
[0021] Based on the power supply fluctuation continuity information, the voltage deviation degree information is continuously correlated to obtain the voltage deviation continuity result;
[0022] Based on the voltage deviation continuity results, the voltage abnormality accumulation state of the intelligent fusion terminal within the continuous sampling period is determined;
[0023] Based on the comparison between the accumulated voltage anomaly state and the preset anomaly judgment conditions, the voltage anomaly judgment result corresponding to the intelligent fusion terminal is determined.
[0024] By adopting the above technical solution, input voltage deviation information and power supply fluctuation duration information can be extracted from power supply status information. Furthermore, the degree of voltage deviation within a continuous sampling period can be determined based on the input voltage deviation information, so that voltage anomaly judgment no longer relies solely on a single sampling result. Simultaneously, by continuously correlating the voltage deviation duration information with the power supply fluctuation duration information, the continuous accumulation of voltage deviation over time can be identified. The voltage anomaly judgment result can be determined based on the comparison between the accumulated voltage anomaly state and preset anomaly judgment conditions, improving the continuity and accuracy of judging abnormal high voltage states.
[0025] In a preferred embodiment, this application can be further configured as follows: when the voltage anomaly judgment result indicates that the intelligent fusion terminal is in an abnormally high voltage state, determining the abnormal voltage evolution intensity information based on the power supply status information includes:
[0026] Extract voltage deviation information and power supply fluctuation duration information within a continuous sampling period from the power supply status information;
[0027] Based on the voltage deviation information corresponding to each of the consecutive sampling periods, determine the voltage deviation increment information between adjacent sampling periods;
[0028] Based on the power supply fluctuation information, the voltage deviation increment information is continuously evolved and correlated to obtain the voltage deviation evolution result;
[0029] Based on the voltage deviation evolution results and the power supply fluctuation duration information, the cumulative impact information of abnormal voltage is determined;
[0030] Based on the information on the cumulative impact of the abnormal voltage, the information on the intensity of the abnormal voltage evolution is determined.
[0031] By adopting the above technical solution, the voltage deviation increment information between adjacent sampling periods can be determined based on the voltage deviation degree information within a continuous sampling period. Combined with the power supply fluctuation continuity information, the voltage deviation evolution result can be obtained, so that the abnormal voltage evolution intensity information can reflect the growth trend and continuous impact of voltage deviation, avoiding judging the degree of abnormality solely based on the magnitude of voltage deviation, and improving the accuracy of abnormal high voltage state analysis.
[0032] In a preferred embodiment, this application can be further configured as follows: determining the protection and maintenance linkage window based on the abnormal voltage evolution intensity information and the backup power supply retention capability corresponding to the intelligent fusion terminal includes:
[0033] Based on the abnormal voltage evolution intensity information, the power isolation urgency information corresponding to the intelligent fusion terminal is determined;
[0034] Based on the backup power supply capability, determine the data retention executability information corresponding to the intelligent fusion terminal;
[0035] Based on the power isolation urgency information and the data retention feasibility information, determine the coordination margin information between the power isolation action and the data retention action;
[0036] Based on the coordination margin information, determine the coordinateable execution time limit corresponding to the power isolation action and the data retention action;
[0037] Based on the aforementioned coordinateable execution time limit, the protection and maintenance linkage window is generated.
[0038] By adopting the above technical solution, the urgency of power isolation can be determined based on the abnormal voltage evolution intensity information, and the feasibility of data retention can be determined based on the backup power supply retention capability. Then, the coordinable execution time limit can be determined through the coordination margin information, so that the protection retention linkage window can simultaneously reflect the power isolation requirement and the data retention capability, thereby improving the coordination between power isolation action and data retention action.
[0039] In a preferred embodiment, this application can be further configured such that: generating the protection maintenance linkage window based on the coordinateable execution time limit includes:
[0040] Based on the coordinateable execution time limit, determine the isolation trigger boundary corresponding to the power isolation action and the retention completion boundary corresponding to the data retention action;
[0041] Based on the isolation trigger boundary and the hold completion boundary, the boundary overlap relationship between the power isolation action and the data hold action is determined;
[0042] Based on the boundary overlap relationship, the coordinateable execution time limit is divided into windows to obtain an isolation priority window, a maintenance priority window, and a parallel coordination window;
[0043] The protection and maintenance linkage window is generated based on the isolation priority window, the maintenance priority window, and the parallel coordination window.
[0044] By adopting the above technical solution, the isolation trigger boundary and the maintenance completion boundary can be determined according to the coordinateable execution time limit, and the isolation priority window, maintenance priority window and parallel coordination window can be divided according to the boundary overlap relationship. This makes the protection maintenance linkage window no longer a single time period, but a time range that can distinguish different action execution relationships, which facilitates the subsequent generation of a more matching action coordination strategy.
[0045] In a preferred embodiment, this application can be further configured as follows: determining key operating data from the operating data of the intelligent fusion terminal based on the data retention time limit corresponding to the protection retention linkage window, and determining the power outage risk level corresponding to the key operating data, includes:
[0046] Based on the protection hold linkage window, determine the data hold time limit corresponding to the data hold action and the isolation trigger time limit corresponding to the power isolation action;
[0047] Based on the data retention time limit and the isolation trigger time limit, determine the remaining retention time for the running data;
[0048] Based on the data retention requirement corresponding to the operational data and the available retention time margin, determine the retention gap information corresponding to the operational data;
[0049] Based on the retention gap information, the key operating data are obtained by filtering the operating data from the operating data to find the operating data that have retention gaps within the protection retention linkage window;
[0050] Based on the retention gap information corresponding to the key operating data and the degree of correlation between the key operating data and the power restoration process, the power outage risk level corresponding to the key operating data is determined.
[0051] By adopting the above technical solution, the data retention time limit and isolation trigger time limit can be determined according to the protection and retention linkage window, and the retention gap information can be determined based on the available retention time margin and the data retention requirement. This makes the screening of key operating data no longer solely dependent on the importance of the data, but also considers whether there is a risk of insufficient retention within the current window, and then determines the power outage risk level based on the correlation of the power restoration process, thereby improving the accuracy of key operating data identification and classification.
[0052] In a preferred embodiment, this application can be further configured as follows: adjusting the protection triggering conditions used to determine the voltage anomaly judgment result based on the data recovery result and the protection action execution result corresponding to the power isolation action includes:
[0053] Based on the data recovery results and the power outage retention record, determine the actual retention completion result corresponding to the key operating data;
[0054] The actual data retention result is matched with the power outage risk level to obtain the high-risk data retention deviation result;
[0055] Based on the execution result of the protection action, determine the actual isolation position of the power isolation action in the protection holding linkage window;
[0056] Based on the deviation results between the actual isolation location and the high-risk data, the window adaptation deviation results corresponding to the action coordination strategy are determined;
[0057] Based on the window adaptation deviation results, determine the trigger advance correction amount or trigger delay correction amount corresponding to the protection triggering condition;
[0058] Based on the trigger advance correction amount or the trigger delay correction amount, adjust the protection triggering conditions used to determine the voltage anomaly judgment result.
[0059] By adopting the above technical solution, the actual retention results of key operating data can be determined based on the data recovery results and power outage retention records. Combined with the power outage risk level, the high-risk data retention deviation results can be obtained. Then, based on the actual isolation position of the power isolation action in the protection retention linkage window, the window adaptation deviation results can be determined. This allows us to judge whether the action coordination strategy is suitable for this abnormal high voltage condition. By adjusting the trigger advance correction amount or trigger delay correction amount, the protection triggering conditions can be improved, thereby enhancing the adaptability of subsequent voltage anomaly judgment and protection triggering.
[0060] The second objective of this invention is achieved through the following technical solution:
[0061] A terminal power protection and data retention device, the terminal power protection and data retention device comprising:
[0062] The voltage anomaly detection module is used to acquire the power supply status information of the intelligent fusion terminal and determine the voltage anomaly detection result corresponding to the intelligent fusion terminal based on the power supply status information.
[0063] An abnormal evolution intensity determination module is used to determine abnormal voltage evolution intensity information based on the power supply status information when the voltage anomaly judgment result indicates that the intelligent fusion terminal is in an abnormal high voltage state.
[0064] The linkage window determination module is used to determine the protection and maintenance linkage window based on the abnormal voltage evolution intensity information and the backup power supply maintenance capability corresponding to the intelligent fusion terminal.
[0065] The power outage risk classification module is used to determine key operating data from the operating data of the intelligent fusion terminal based on the data retention time limit corresponding to the protection retention linkage window, and to determine the power outage risk level corresponding to the key operating data.
[0066] The action coordination strategy generation module is used to generate an action coordination strategy based on the protection hold-up linkage window and the power failure risk level.
[0067] The control information generation module is used to generate power isolation control information and data retention control information based on the action coordination strategy.
[0068] The protection and retention execution module is used to perform power isolation actions according to the power isolation control information and to perform data retention actions according to the data retention control information to obtain power failure retention records;
[0069] The recovery verification module is used to perform data recovery verification based on the power failure retention record after the power supply to the intelligent fusion terminal is restored, and obtain the data recovery result.
[0070] The trigger condition adjustment module is used to adjust the protection trigger conditions used to determine the voltage anomaly judgment result based on the data recovery result and the protection action execution result corresponding to the power isolation action.
[0071] By adopting the above technical solution, it is possible to determine whether the intelligent fusion terminal is in an abnormally high voltage state based on power supply status information. Combined with information on the evolution intensity of the abnormal voltage and the backup power supply capacity, the protection and data retention linkage window is determined, enabling coordinated execution of power isolation and data retention actions. This avoids premature protection leading to the failure to retain critical operational data in a timely manner, or delayed protection causing the terminal to remain continuously affected by abnormally high voltage. Simultaneously, the retention sequence of critical operational data is determined based on the power outage risk level, and the protection triggering conditions are adjusted after power restoration based on the data recovery results and protection action execution results, improving power protection reliability, data retention integrity, and power restoration continuity.
[0072] The above-mentioned objective three of this application is achieved through the following technical solution:
[0073] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the aforementioned terminal power protection and data retention method.
[0074] The fourth objective of this application is achieved through the following technical solution:
[0075] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the aforementioned terminal power protection and data retention method.
[0076] In summary, this application includes at least one of the following beneficial technical effects:
[0077] The system can determine whether the intelligent fusion terminal is in an abnormally high voltage state based on power supply status information, and determine the protection hold-up linkage window by combining the abnormal voltage evolution intensity information and backup power supply maintenance capability. This ensures that power isolation actions and data retention actions are executed in a coordinated manner, avoiding premature protection that results in the failure to retain critical operating data in a timely manner, or delayed protection that results in the terminal being continuously affected by abnormally high voltage. Simultaneously, it determines the retention sequence of critical operating data based on the power outage risk level, and adjusts the protection triggering conditions after power restoration based on the data recovery results and protection action execution results, improving power protection reliability, data retention integrity, and power restoration continuity. Attached Figure Description
[0078] Figure 1 This is a flowchart of a terminal power protection and data retention method according to an embodiment of this application.
[0079] Figure 2 This is a schematic diagram of a terminal power protection and data retention device according to an embodiment of this application. Detailed Implementation
[0080] The present application will be further described in detail below with reference to the accompanying drawings.
[0081] In one embodiment, such as Figure 1 As shown, this application discloses a terminal power protection and data retention method, which specifically includes the following steps:
[0082] S10: Obtain the power supply status information of the intelligent fusion terminal, and determine the voltage anomaly judgment result corresponding to the intelligent fusion terminal based on the power supply status information.
[0083] In this embodiment, power supply status information refers to data used to characterize changes in the power supply input status of the intelligent fusion terminal. Power supply status information includes input voltage deviation information and power supply fluctuation persistence information. Input voltage deviation information refers to data showing that the current power supply input of the intelligent fusion terminal deviates from the preset power supply reference range. Power supply fluctuation persistence information refers to data showing that the input voltage deviation information persists or changes continuously within a continuous sampling period. Voltage anomaly judgment result refers to the result formed after judging whether the intelligent fusion terminal is in a voltage anomaly state based on the power supply status information.
[0084] Specifically, when acquiring the power supply status information of the intelligent fusion terminal, the power supply input of the intelligent fusion terminal is continuously sampled according to a preset sampling period. The power supply input value obtained in each sampling period is compared with the preset power supply reference range to obtain the input voltage deviation information corresponding to each sampling period. Based on the continuous distribution of the input voltage deviation information corresponding to each sampling period in time sequence, the power supply fluctuation duration information is determined. Based on the input voltage deviation information, the degree of power supply input deviation from the preset power supply reference range is determined. Based on the power supply fluctuation duration information, the duration of power supply input deviation from the preset power supply reference range is determined. The degree of power supply input deviation from the preset power supply reference range and the duration of power supply input deviation from the preset power supply reference range are combined for judgment to obtain the voltage anomaly judgment result corresponding to the intelligent fusion terminal.
[0085] S20: When the voltage anomaly judgment result indicates that the intelligent fusion terminal is in an abnormally high voltage state, determine the abnormal voltage evolution intensity information based on the power supply status information.
[0086] In this embodiment, the abnormal high voltage state refers to the state in which the power input of the intelligent fusion terminal is continuously higher than the preset power supply reference range according to the voltage anomaly judgment result. The abnormal voltage evolution intensity information refers to the data used to characterize the degree of deviation, degree of change and duration of the abnormal high voltage state in the continuous sampling period.
[0087] Specifically, when the voltage anomaly judgment result indicates that the intelligent fusion terminal is in an abnormally high voltage state, the input voltage deviation information and power supply fluctuation duration information corresponding to each consecutive sampling period are read from the power supply status information. The difference between the power supply input value in each consecutive sampling period and the upper limit value in the preset power supply reference range is calculated to obtain the voltage deviation value corresponding to each consecutive sampling period. The ratio between the voltage deviation value corresponding to each consecutive sampling period and the upper limit value is calculated to obtain the deviation ratio value corresponding to each consecutive sampling period. The deviation growth value is determined based on the difference between the deviation ratio values corresponding to adjacent consecutive sampling periods. The number of consecutive sampling periods in which the power supply input value is continuously higher than the upper limit value is determined based on the power supply fluctuation duration information. The deviation ratio value, deviation growth value, and number of consecutive sampling periods are substituted into the abnormal voltage evolution intensity calculation formula to obtain the abnormal voltage evolution intensity information. The abnormal voltage evolution intensity calculation formula is as follows: Where E represents the abnormal voltage evolution intensity information, m represents the number of consecutive sampling periods in which the power supply input value is continuously higher than the upper limit value, di represents the deviation ratio value corresponding to the i-th consecutive sampling period, di−1 represents the deviation ratio value corresponding to the i−1 consecutive sampling period, max(di−di−1,0) represents the positive deviation growth value between adjacent consecutive sampling periods, λ represents the deviation growth amplification factor, and μ represents the persistence amplification factor.
[0088] S30: Determine the protection and maintenance linkage window based on the abnormal voltage evolution intensity information and the backup power supply maintenance capability of the intelligent fusion terminal.
[0089] In this embodiment, backup power supply retention capability refers to the ability of the intelligent fusion terminal to continue data retention operation by relying on the backup power supply unit after a power input anomaly. Backup power supply retention capability is used to characterize the degree to which the backup power supply unit can support the intelligent fusion terminal to perform data retention operation. Protection retention linkage window refers to the time range determined based on the abnormal voltage evolution intensity information and backup power supply retention capability. Protection retention linkage window is used to characterize the time range during which power isolation operation and data retention operation can be coordinated and executed.
[0090] Specifically, when determining the protection holding linkage window based on the abnormal voltage evolution intensity information and the backup power supply retention capability of the intelligent fusion terminal, the power isolation urgency information is first determined based on the abnormal voltage evolution intensity information. This information characterizes the urgency to which the intelligent fusion terminal needs to perform power isolation actions; the greater the abnormal voltage evolution intensity, the higher the power isolation urgency information. Then, the data retention executability information is determined based on the backup power supply retention capability. This information characterizes the feasibility of the intelligent fusion terminal completing data retention actions under backup power conditions; the stronger the backup power supply retention capability, the higher the data retention executability information. The data retention executability information and the power isolation urgency information are compared by difference to obtain coordination margin information. The coordination margin information is used to characterize the coordination space of the data retention action relative to the power isolation action. If the coordination margin information is greater than the preset coordination margin threshold, it is determined that the data retention action has priority execution space. If the coordination margin information is less than or equal to the preset coordination margin threshold, it is determined that the power isolation action has priority execution requirement. Based on the coordination margin information, the coordination execution time limit corresponding to the power isolation action and the data retention action is determined, and the time range between the start time and the end time corresponding to the coordination execution time limit is determined as the protection retention linkage window.
[0091] S40: Based on the data retention time limit corresponding to the protection and maintenance linkage window, determine the key operating data from the operating data of the intelligent fusion terminal, and determine the power failure risk level corresponding to the key operating data.
[0092] In this embodiment, the data retention time limit refers to the length of time during which the data retention action is allowed to be performed within the protection retention linkage window; the running data refers to the data generated and temporarily stored by the intelligent fusion terminal during operation; the critical running data refers to the running data that needs to be prioritized for retention within the data retention time limit; and the power failure risk level refers to the risk level determined based on the possibility that the critical running data is not retained within the data retention time limit and the degree of impact on the power restoration process.
[0093] Specifically, based on the data retention time limit corresponding to the protection and retention linkage window, when determining key operating data from the operating data of the intelligent fusion terminal and determining the power outage risk level corresponding to the key operating data, the process first determines the data retention time limit corresponding to the data retention action and the isolation trigger time limit corresponding to the power isolation action based on the protection and retention linkage window. Then, the available retention time margin corresponding to the operating data is calculated based on the data retention time limit and the isolation trigger time limit. The available retention time margin represents the remaining time that the operating data can use to complete the data retention action before the power isolation action is triggered. The data retention requirement corresponding to the operating data is calculated based on the data length and preset write rate of the operating data. The data retention requirement represents the amount of time required to complete the data retention. The difference between the data retention requirement and the available retention time margin is calculated to obtain the retention gap information corresponding to the operating data. If the retention gap information indicates that the data retention requirement is greater than the available retention time margin, the corresponding operating data is identified as operating data with a retention gap within the protection and retention linkage window, and the operating data with a retention gap is identified as key operating data. Based on the retention gap information corresponding to the key operating data and the degree of correlation between the key operating data and the power restoration process, the power outage risk level corresponding to the key operating data is determined.
[0094] S50: Generate action coordination strategy based on the protection hold linkage window and power failure risk level.
[0095] In this embodiment, the action coordination strategy refers to the strategy used to determine the execution order and execution method between power isolation actions and data retention actions. The action coordination strategy is generated based on the coordination time range that the protection retention linkage window can provide and the urgency of data retention corresponding to the power failure risk level. The action coordination strategy includes a power isolation priority strategy, a data retention priority strategy, and a parallel coordination strategy. The power isolation priority strategy is a strategy that prioritizes power isolation actions, the data retention priority strategy is a strategy that prioritizes data retention actions, and the parallel coordination strategy is a strategy that simultaneously arranges power isolation actions and data retention actions within the protection retention linkage window.
[0096] Specifically, when generating an action coordination strategy based on the protection hold-up linkage window and the power outage risk level, the coordinateable execution time limit is first determined from the protection hold-up linkage window. The urgency of data retention corresponding to key operational data is determined based on the power outage risk level. The coordinateable execution time limit is compared with the retention requirement time limit corresponding to the data retention urgency. If the coordinateable execution time limit is less than the retention requirement time limit and the power outage risk level has not reached the preset high-risk level, a power isolation priority strategy is generated. If the coordinateable execution time limit is greater than or equal to the retention requirement time limit and the power outage risk level reaches the preset high-risk level, a data retention priority strategy is generated. If the coordinateable execution time limit can cover part of the retention requirement time limit and the power outage risk level reaches the preset high-risk level, the data retention order of key operational data is determined according to the power outage risk level from high to low, and a parallel coordination strategy is generated. This allows the action coordination strategy to determine the execution relationship between power isolation actions and data retention actions based on the time constraints of the protection hold-up linkage window and the data risk constraints of the power outage risk level.
[0097] S60: Generates power isolation control information and data hold control information based on action coordination strategy.
[0098] In this embodiment, power isolation control information refers to control information generated according to the action coordination strategy for controlling the execution of power isolation actions, and data retention control information refers to control information generated according to the action coordination strategy for controlling the execution of data retention actions. Both power isolation control information and data retention control information correspond to the execution order and execution method in the action coordination strategy.
[0099] Specifically, when generating power isolation control information and data retention control information based on the action coordination strategy, the execution order and execution method corresponding to the action coordination strategy are first read. If the action coordination strategy is a power isolation priority strategy, the power isolation action is identified as the priority triggering object, and power isolation control information for priority triggering of the power isolation action is generated according to the time range corresponding to the protection retention linkage window. Simultaneously, key operating data that needs to be retained before and after the power isolation action is determined according to the power failure risk level, and data retention control information corresponding to the key operating data is generated. If the action coordination strategy is a data retention priority strategy, the data retention action is identified as the priority triggering object, and data retention control information is generated according to the data retention order corresponding to the power failure risk level. Simultaneously, power isolation control information is generated according to the time position allowed to execute the power isolation action in the protection retention linkage window. If the action coordination strategy is a parallel coordination strategy, the trigger time of the power isolation action and the execution time of the data retention action are configured accordingly according to the time range within which the power isolation action and the data retention action can be executed in parallel in the protection retention linkage window, and power isolation control information and data retention control information are generated respectively.
[0100] S70: Perform power isolation action according to power isolation control information, and perform data retention action according to data retention control information to obtain power failure retention record.
[0101] In this embodiment, the power-off retention record refers to the recorded data generated during the execution of power isolation and data retention actions. The power-off retention record is used to characterize the execution status of power isolation actions, the execution status of data retention actions, and the retention results of key operating data.
[0102] Specifically, when performing a power isolation action based on the power isolation control information, the power input of the intelligent fusion terminal is isolated according to the trigger time and execution method corresponding to the power isolation control information, so that the intelligent fusion terminal switches from the power input power supply state to the backup power supply retention state, and the trigger time, execution state and isolation completion state corresponding to the power isolation action are recorded. When performing a data retention action based on the data retention control information, the key operating data is written into the preset retention area in the order corresponding to the power failure risk level according to the data retention order and retention object corresponding to the data retention control information, and the start retention time, completion retention time and retention completion state corresponding to each key operating data are recorded. The trigger time, execution state and isolation completion state corresponding to the power isolation action and the start retention time, completion retention time and retention completion state corresponding to the key operating data are correlated to obtain the power failure retention record.
[0103] S80: After the power supply to the intelligent fusion terminal is restored, perform data recovery verification based on the power outage retention record to obtain the data recovery result.
[0104] In this embodiment, power restoration refers to the process by which the intelligent fusion terminal returns from a standby power supply state to a power input state. Data recovery verification refers to the process of reading, comparing, and judging the integrity of the key operating data that has been saved based on the power outage retention record. Data recovery result refers to the result used to characterize whether the key operating data can be recovered normally and the degree of recovery integrity.
[0105] Specifically, after power is restored to the intelligent fusion terminal, the retention completion status of each key operational data recorded in the power outage retention record is read first. The key operational data whose retention completion status indicates that retention has been completed are identified as data to be verified. Based on the start retention time, completion retention time, and retention object recorded in the power outage retention record, the data retention range corresponding to the data to be verified is determined. The data content corresponding to the data retention range is read from the preset retention area. The read data content is compared with the retention object recorded in the power outage retention record to determine whether the data to be verified is missing or misaligned. If the correspondence comparison passes, the integrity verification of the data to be verified is performed to obtain the integrity verification result corresponding to the data to be verified. Based on the integrity verification result corresponding to each data to be verified, the recovery completion status and recovery missing status corresponding to the key operational data are determined. The recovery completion status and recovery missing status are summarized to obtain the data recovery result.
[0106] S90: Based on the data recovery results and the execution results of the protection actions corresponding to the power isolation actions, adjust the protection triggering conditions used to determine the voltage anomaly judgment results.
[0107] In this embodiment, the protection action execution result refers to the actual execution status of the power isolation action within the protection holding linkage window. The protection action execution result includes the actual trigger time, actual isolation position, and isolation completion status of the power isolation action. The protection trigger condition refers to the judgment condition used to determine the voltage anomaly judgment result based on the power supply status information. The protection trigger condition includes the voltage deviation trigger condition, the continuous sampling period trigger condition, and the voltage anomaly accumulation state trigger condition.
[0108] Specifically, based on the data recovery results and the execution results of the protection actions corresponding to the power isolation actions, when adjusting the protection triggering conditions used to determine the voltage anomaly judgment results, first, the recovery completion status and recovery missing status of the key operating data are determined according to the data recovery results. Then, the incomplete retention status of the key operating data in this data retention action is determined according to the recovery missing status. The incomplete retention status is matched with the power outage risk level to obtain the high-risk data retention deviation result. Based on the protection action execution results, the actual isolation position of the power isolation action in the protection retention linkage window is determined. The actual isolation position is compared with the isolation trigger boundary and retention completion boundary in the protection retention linkage window to obtain the power isolation result. Based on the isolation position deviation results corresponding to the action, and the high-risk data retention deviation results and isolation position deviation results, the window adaptation deviation results corresponding to the action coordination strategy are determined. When the window adaptation deviation results indicate that the actual isolation position is earlier than the retention completion boundary and there is high-risk data that has not been retained, the trigger delay correction amount corresponding to the protection triggering condition is determined. When the window adaptation deviation results indicate that the actual isolation position is later than the isolation triggering boundary and there is isolation lag in the power supply isolation action, the trigger advance correction amount corresponding to the protection triggering condition is determined. Based on the trigger advance correction amount or the trigger delay correction amount, the voltage deviation triggering condition, the continuous sampling period triggering condition, or the voltage abnormality accumulation state triggering condition are adjusted.
[0109] In one embodiment, step S10, namely determining the voltage anomaly judgment result corresponding to the intelligent fusion terminal based on the power supply status information, includes:
[0110] S101: Extract input voltage deviation information and power supply fluctuation duration information within a continuous sampling period from the power supply status information.
[0111] In this embodiment, the continuous sampling period refers to multiple adjacent sampling periods formed by continuously acquiring power supply status information according to a preset sampling interval. The input voltage deviation information refers to the data in each continuous sampling period where the power supply input value deviates from the preset power supply reference range. The power supply fluctuation duration information refers to the time state and number of periods in which the input voltage deviation information continues to exist within the continuous sampling period.
[0112] Specifically, when extracting input voltage deviation information and power supply fluctuation duration information within a continuous sampling period from the power supply status information, the power supply input values corresponding to each sampling period in the power supply status information are first read in chronological order. Multiple sampling periods that are temporally adjacent and meet a preset quantity requirement are determined as continuous sampling periods. The power supply input values corresponding to each continuous sampling period are compared with a preset power supply reference range. If the power supply input value is higher than the upper limit of the preset power supply reference range or lower than the lower limit of the preset power supply reference range, the difference between the power supply input value and the preset power supply reference range is calculated. The difference is used as the input voltage deviation information for the corresponding sampling period. According to the continuous occurrence of each input voltage deviation information in chronological order, the number of continuous sampling periods with input voltage deviation information and the duration are counted to obtain the power supply fluctuation duration information.
[0113] S102: Determine the degree of voltage deviation for each consecutive sampling period based on the input voltage deviation information.
[0114] In this embodiment, voltage deviation information refers to data used to characterize the magnitude of the deviation of the power supply input value from the preset power supply reference range within each consecutive sampling period. The voltage deviation information is determined by the proportional relationship between the input voltage deviation information and the preset power supply reference range.
[0115] Specifically, when determining the voltage deviation information corresponding to each consecutive sampling period based on the input voltage deviation information, the input voltage deviation information corresponding to each consecutive sampling period is first read. Based on the input voltage deviation information, the deviation direction and amount of the power supply input value relative to the preset power supply reference range within the corresponding sampling period are determined. If the power supply input value is higher than the upper limit of the preset power supply reference range, the difference between the power supply input value and the upper limit is determined as the high voltage deviation. If the power supply input value is lower than the lower limit of the preset power supply reference range, the difference between the lower limit and the power supply input value is determined as the low voltage deviation. The voltage deviation information for the corresponding consecutive sampling period is determined based on the ratio between the high voltage deviation and the upper limit, or based on the ratio between the low voltage deviation and the lower limit. The voltage deviation information satisfies the following formula: Where Pi represents the voltage deviation information corresponding to the i-th consecutive sampling period, Ui represents the power supply input value corresponding to the i-th consecutive sampling period, Umax represents the upper limit of the preset power supply reference range, and Umin represents the lower limit of the preset power supply reference range.
[0116] S103: Based on the continuous information of power supply fluctuation, the voltage deviation information is continuously correlated to obtain the voltage deviation continuous result.
[0117] In this embodiment, continuity association refers to the process of connecting the voltage deviation information with the power supply fluctuation continuity information according to the time sequence of the continuous sampling period, so as to determine whether the voltage deviation information exists continuously in time and forms a continuous change relationship. The voltage deviation continuity result refers to the result used to characterize whether the voltage deviation information corresponding to each continuous sampling period is continuous in time, the degree of continuity, and the stability of continuous deviation.
[0118] Specifically, based on the continuous power supply fluctuation information, the voltage deviation information is continuously correlated to obtain the continuous voltage deviation result. First, the voltage deviation information is arranged in chronological order according to the continuous sampling period. The number of continuous sampling periods with voltage deviation is determined according to the continuous power supply fluctuation information. The difference between the voltage deviation information corresponding to adjacent continuous sampling periods is calculated to obtain the adjacent deviation difference. Based on the adjacent deviation difference, it is determined whether the voltage deviation change between adjacent continuous sampling periods is within a preset continuous change range. If the adjacent deviation difference is within the preset continuous change range, the corresponding adjacent continuous sampling periods are determined as continuous correlation periods. Based on the number of continuous correlation periods and the number of continuous sampling periods with voltage deviation, the continuous correlation ratio is calculated. Combined with the average value of each voltage deviation information, the continuous voltage deviation result is obtained. The continuous voltage deviation result satisfies the following formula: Where C represents the continuous voltage deviation result, m represents the number of continuous sampling periods with voltage deviation, Pi represents the voltage deviation degree information corresponding to the i-th continuous sampling period, Pi−1 represents the voltage deviation degree information corresponding to the i−1-th continuous sampling period, ΔP represents the deviation change threshold corresponding to the preset continuous change range, and I(⋅) represents the conditional judgment function, which takes the value of 1 when |Pi−Pi−1|≤ΔP is true, and takes the value of 0 when |Pi−Pi−1|≤ΔP is false.
[0119] S104: Based on the voltage deviation results, determine the voltage abnormality accumulation status of the intelligent fusion terminal within the continuous sampling period.
[0120] In this embodiment, the voltage anomaly accumulation state refers to the state data formed after the voltage deviation from the continuous result accumulates over time within the continuous sampling period. The voltage anomaly accumulation state is used to characterize whether the power supply input of the intelligent fusion terminal develops from a single deviation to a continuous abnormal accumulation within the continuous sampling period.
[0121] Specifically, when determining the voltage abnormality accumulation state of the intelligent fusion terminal within a continuous sampling period based on the voltage deviation continuity results, the voltage deviation continuity results are first read, and the voltage deviation degree information corresponding to each continuous sampling period is read in chronological order. Based on the cumulative change of each voltage deviation degree information in chronological order, the voltage deviation accumulation value within the continuous sampling period is calculated. The voltage deviation accumulation value is then continuously corrected based on the voltage deviation continuity results to obtain the voltage abnormality accumulation value. This voltage abnormality accumulation value is compared with a preset abnormality accumulation threshold. If the voltage abnormality accumulation value is greater than or equal to the preset abnormality accumulation threshold, the intelligent fusion terminal is determined to be in a voltage abnormality accumulation state within the continuous sampling period. If the voltage abnormality accumulation value is less than the preset abnormality accumulation threshold, the intelligent fusion terminal is determined not to be in a voltage abnormality accumulation state within the continuous sampling period. The voltage abnormality accumulation value satisfies the following formula: Where A represents the cumulative voltage anomaly value, C represents the continuous voltage deviation result, m represents the number of continuous sampling periods with voltage deviation, Pi represents the voltage deviation degree information corresponding to the i-th continuous sampling period, and mi represents the time accumulation weight corresponding to the i-th continuous sampling period.
[0122] S105: Based on the comparison results between the voltage anomaly accumulation state and the preset anomaly judgment conditions, determine the voltage anomaly judgment result corresponding to the intelligent fusion terminal.
[0123] In this embodiment, the preset anomaly judgment condition refers to the pre-set condition used to judge whether the voltage anomaly accumulation state has reached the voltage anomaly level. The preset anomaly judgment condition includes a preset anomaly accumulation threshold and a preset continuous period threshold. The comparison result refers to the result formed after comparing the voltage anomaly accumulation state with the preset anomaly judgment condition. The voltage anomaly judgment result refers to the judgment result used to characterize whether the intelligent fusion terminal is in a voltage anomaly state.
[0124] Specifically, when determining the voltage anomaly judgment result corresponding to the intelligent fusion terminal based on the comparison result between the voltage anomaly accumulation state and the preset anomaly judgment condition, the voltage anomaly accumulation value corresponding to the voltage anomaly accumulation state is first read, and the number of continuous sampling periods corresponding to the power supply fluctuation duration information is read. The voltage anomaly accumulation value is compared with the preset anomaly accumulation threshold to obtain the accumulation threshold comparison result. The number of continuous sampling periods is compared with the preset continuous period threshold to obtain the period threshold comparison result. If the accumulation threshold comparison result indicates that the voltage anomaly accumulation value is greater than or equal to the preset anomaly accumulation threshold, and the period threshold comparison result indicates that the number of continuous sampling periods is greater than or equal to the preset continuous period threshold, the voltage anomaly judgment result is determined to be an abnormal high voltage state. If the accumulation threshold comparison result indicates that the voltage anomaly accumulation value is less than the preset anomaly accumulation threshold, or the period threshold comparison result indicates that the number of continuous sampling periods is less than the preset continuous period threshold, the voltage anomaly judgment result is determined to be a non-abnormal high voltage state. The voltage anomaly judgment result satisfies the following formula: Where R represents the voltage anomaly judgment result, R=1 indicates that the intelligent fusion terminal is in an abnormal high voltage state, R=0 indicates that the intelligent fusion terminal is not in an abnormal high voltage state, A represents the voltage anomaly cumulative value, Ath represents the preset anomaly cumulative threshold, m represents the number of consecutive sampling periods with voltage deviation, and mth represents the preset consecutive period threshold.
[0125] In one embodiment, in step S20, when the voltage anomaly judgment result indicates that the intelligent fusion terminal is in an abnormally high voltage state, the abnormal voltage evolution intensity information is determined based on the power supply status information, including:
[0126] S201: Extract voltage deviation information and power supply fluctuation duration information within a continuous sampling period from the power supply status information.
[0127] In this embodiment, the voltage deviation information and power supply fluctuation duration information have been explained in the preceding steps and will not be repeated here. The voltage deviation information is used to participate in the determination of the subsequent abnormal voltage evolution intensity information, and the power supply fluctuation duration information is used to characterize the duration of the voltage deviation information within the continuous sampling period.
[0128] Specifically, when extracting voltage deviation information and power supply fluctuation duration information within a continuous sampling period from the power supply status information, the power supply input value and sampling time marker in the power supply status information are read in the time sequence of the continuous sampling period. Based on the deviation relationship between each power supply input value and the preset power supply reference range, the voltage deviation information corresponding to each continuous sampling period is determined, and the voltage deviation information is arranged in order according to the sampling time marker to obtain the voltage deviation sequence. At the same time, based on whether the voltage deviation information exists continuously within each continuous sampling period, the number of consecutive periods and the duration of the voltage deviation information in the time sequence are counted to obtain the power supply fluctuation duration information.
[0129] S202: Determine the voltage deviation increment information between adjacent sampling periods based on the voltage deviation information corresponding to each consecutive sampling period.
[0130] In this embodiment, voltage deviation increment information refers to the change in the degree of voltage deviation between adjacent consecutive sampling periods. Voltage deviation increment information is used to characterize the enhancement, weakening or maintenance of abnormal high voltage state in time sequence.
[0131] Specifically, when determining the voltage deviation increment information between adjacent sampling periods based on the voltage deviation information corresponding to each consecutive sampling period, the voltage deviation information is read in chronological order of the consecutive sampling periods. The difference between the voltage deviation information corresponding to the later consecutive sampling period and the voltage deviation information corresponding to the previous consecutive sampling period is calculated to obtain the voltage deviation increment value between adjacent sampling periods. If the voltage deviation increment value is greater than zero, the voltage deviation between adjacent sampling periods is determined to be in an increasing state; if the voltage deviation increment value is equal to zero, the voltage deviation between adjacent sampling periods is determined to be in a stable state; if the voltage deviation increment value is less than zero, the voltage deviation between adjacent sampling periods is determined to be in a decreasing state. The voltage deviation increment values between each adjacent sampling period and the corresponding increasing, stable, or decreasing states are summarized to obtain the voltage deviation increment information, where the voltage deviation increment value satisfies the following formula: Where Gi represents the voltage deviation increment between the i-th consecutive sampling period and the (i-1)-th consecutive sampling period, Pi represents the voltage deviation information corresponding to the i-th consecutive sampling period, and i-1 represents the voltage deviation information corresponding to the (i-1)-th consecutive sampling period.
[0132] S203: Based on the continuous information of power supply fluctuations, the voltage deviation increment information is continuously evolved and correlated to obtain the voltage deviation evolution result.
[0133] In this embodiment, continuous evolution correlation refers to the correlation analysis of voltage deviation increment information and power supply fluctuation duration information according to the time sequence of continuous sampling period, so as to determine the continuous enhancement, continuous weakening or intermittent change of voltage deviation degree during continuous power supply fluctuation process. Voltage deviation evolution result refers to the data used to characterize the evolution direction and evolution strength of voltage deviation increment information within continuous sampling period.
[0134] Specifically, based on the continuous power supply fluctuation information, the voltage deviation increment information is continuously evolved and correlated to obtain the voltage deviation evolution result. The voltage deviation increment information between adjacent sampling periods is read in chronological order according to the continuous sampling period. The sampling period range where continuous power supply fluctuations exist is determined based on the continuous power supply fluctuation information. Within this range, voltage deviation increment information greater than zero is defined as positive deviation increment information, voltage deviation increment information less than zero is defined as negative deviation increment information, and voltage deviation increment information equal to zero is defined as stable deviation increment information. Positive deviation increment information is accumulated to obtain a positive evolution cumulative value, and the absolute value of negative deviation increment information is accumulated to obtain a negative evolution cumulative value. Based on the difference between the positive and negative evolution cumulative values, the evolution direction of the voltage deviation degree within the continuous sampling period is determined. Finally, based on the positive evolution cumulative value, the negative evolution cumulative value, and the number of continuous sampling periods corresponding to the continuous power supply fluctuation information, the voltage deviation evolution result is determined. The voltage deviation evolution result satisfies the following formula: Where H represents the voltage deviation evolution result, Gi represents the voltage deviation increment between the i-th consecutive sampling period and the (i-1)-th consecutive sampling period, m represents the number of consecutive sampling periods with voltage deviation, max(Gi,0) represents the positive deviation increment, max(−Gi,0) represents the negative deviation increment, and ln(1+m) represents the continuous evolution correction term based on the number of consecutive sampling periods.
[0135] S204: Determine the cumulative impact information of abnormal voltage based on the voltage deviation evolution results and power supply fluctuation information.
[0136] In this embodiment, the abnormal voltage cumulative impact information refers to the degree of cumulative impact formed during the continuous process corresponding to the power supply fluctuation information based on the voltage deviation evolution results. The abnormal voltage cumulative impact information is used to characterize the magnitude of the impact of abnormal high voltage state on the power supply stability of the intelligent fusion terminal during the continuous power supply fluctuation process.
[0137] Specifically, when determining the cumulative impact information of abnormal voltage based on the voltage deviation evolution results and power supply fluctuation duration information, the voltage deviation evolution results are first read, and the number and duration of consecutive sampling periods with voltage deviation are extracted from the power supply fluctuation duration information. The period accumulation weight is determined based on the number of consecutive sampling periods, and the time accumulation weight is determined based on the duration. The period accumulation weight and the time accumulation weight are fused to obtain the continuous accumulation weight. Based on the continuous accumulation weight, the voltage deviation evolution results are cumulatively amplified to obtain the cumulative impact information of abnormal voltage. The cumulative impact information of abnormal voltage satisfies the following formula: Where Q represents the cumulative impact information of abnormal voltage, H represents the voltage deviation evolution result, m represents the number of consecutive sampling periods with voltage deviation, T represents the duration corresponding to the power supply fluctuation duration information, T0 represents the preset duration reference value, η represents the period cumulative correction coefficient, ρ represents the time cumulative correction coefficient, and ln(1+m) is used to characterize the period cumulative impact when the number of consecutive sampling periods increases. Used to characterize the cumulative effect over time as duration increases.
[0138] S205: Determine the intensity of abnormal voltage evolution based on the cumulative impact information of abnormal voltage.
[0139] In this embodiment, the abnormal voltage evolution intensity information refers to the data determined based on the abnormal voltage cumulative influence information, which is used to characterize the overall evolution strength of the abnormal high voltage state within a continuous sampling period. The abnormal voltage evolution intensity information is used to distinguish between mild, moderate or severe evolution of the abnormal high voltage state.
[0140] Specifically, when determining the abnormal voltage evolution intensity information based on the accumulated impact information of abnormal voltage, the accumulated impact information of abnormal voltage is first read, and the ratio of the accumulated impact information of abnormal voltage to a preset impact benchmark value is calculated to obtain the normalized value of abnormal voltage impact. Then, nonlinear compression calculation is performed based on the normalized value of abnormal voltage impact and a preset intensity compression coefficient, so that the intensity growth rate corresponding to the increase of the normalized value of abnormal voltage impact gradually converges, thus obtaining the abnormal voltage evolution intensity value. The abnormal voltage evolution intensity value is matched with a preset evolution intensity range to determine the abnormal voltage evolution intensity information. The abnormal voltage evolution intensity value satisfies the following formula: Where E represents the abnormal voltage evolution intensity value, Q represents the abnormal voltage cumulative impact information, Q0 represents the preset impact benchmark value, k represents the preset intensity compression coefficient, and e represents the natural constant. This represents the normalized result of the cumulative impact information of abnormal voltage relative to a preset impact benchmark value. Used to convert normalized results into anomalous voltage evolution intensity values with convergent characteristics.
[0141] In one embodiment, step S30, namely, determining the protection and maintenance linkage window based on the abnormal voltage evolution intensity information and the backup power supply retention capability corresponding to the intelligent fusion terminal, includes:
[0142] S301: Determine the power isolation urgency information corresponding to the intelligent fusion terminal based on the abnormal voltage evolution intensity information.
[0143] In this embodiment, the power isolation urgency information refers to the data determined based on the abnormal voltage evolution intensity information, which is used to characterize the urgency of the intelligent fusion terminal needing to perform power isolation actions. The power isolation urgency information is used to distinguish between low urgency, medium urgency, or high urgency states of power isolation actions.
[0144] Specifically, when determining the power isolation urgency information corresponding to the intelligent fusion terminal based on the abnormal voltage evolution intensity information, the abnormal voltage evolution intensity value corresponding to the abnormal voltage evolution intensity information is first read. The ratio of the abnormal voltage evolution intensity value to the preset isolation reference intensity value is calculated to obtain the isolation intensity ratio. The power isolation urgency value is obtained by exponential mapping calculation based on the isolation intensity ratio and the preset isolation sensitivity coefficient. The power isolation urgency value is then matched with the preset isolation urgency range to determine the power isolation urgency information corresponding to the intelligent fusion terminal. The power isolation urgency value satisfies the following formula: Where L represents the power isolation urgency value, E represents the abnormal voltage evolution intensity value, E0 represents the preset isolation reference intensity value, and a represents the preset isolation sensitivity coefficient. This indicates the proportional relationship between the abnormal voltage evolution intensity value and the preset isolation reference intensity value. Used to convert proportional relationships into power isolation urgency values with incremental convergence characteristics.
[0145] S302: Determine the data retention feasibility information corresponding to the intelligent fusion terminal based on the backup power supply capability.
[0146] In this embodiment, the data retention executability information refers to data determined based on the backup power supply retention capability, used to characterize the executability of the intelligent fusion terminal to complete the data retention action under backup power supply conditions. The data retention executability information is used to distinguish between low executability, medium executability, or high executability of the data retention action.
[0147] Specifically, when determining the data retention executability information corresponding to the intelligent converged terminal based on the backup power supply retention capability, the backup power supply sustainability duration corresponding to the backup power supply retention capability is first read, and the preset retention baseline duration required to perform the data retention action is read. The ratio of the backup power supply sustainability duration to the preset retention baseline duration is calculated to obtain the retention duration ratio. The data retention executability value is obtained by performing convergence mapping calculation based on the retention duration ratio and the preset retention sensitivity coefficient. The data retention executability value is matched with the preset executability interval to determine the data retention executability information corresponding to the intelligent converged terminal. The data retention executability value satisfies the following formula: Where K represents the data retention feasibility value, B represents the backup power supply retention capability corresponding to the backup power supply maintenance duration, B0 represents the preset retention baseline duration required to perform the data retention action, and b represents the preset retention sensitivity coefficient. This indicates the ratio of the backup power supply duration to the preset baseline duration. Used to convert proportional relationships into data-preserving executability values with increasing convergence properties.
[0148] S303: Based on power isolation urgency information and data retention feasibility information, determine the coordination margin information between power isolation actions and data retention actions.
[0149] In this embodiment, the coordination margin information refers to the data determined based on the power isolation urgency information and the data retention executability information, used to characterize whether there is a coordinated execution space between the power isolation action and the data retention action. The coordination margin information is used to reflect the degree of margin that the data retention action can be arranged to be executed relative to the power isolation action under the current abnormal high voltage state.
[0150] Specifically, when determining the coordination margin information between power isolation actions and data retention actions based on power isolation urgency information and data retention executability information, the power isolation urgency value corresponding to the power isolation urgency information is first read, and the data retention executability value corresponding to the data retention executability information is read. The difference between the data retention executability value and the power isolation urgency value is calculated to obtain the basic coordination difference value. The basic coordination difference value is used to represent the relative importance of the data retention action's executability to the power isolation action's urgency. When the basic coordination difference value is greater than zero, it indicates that the data retention action has room for coordination with the power isolation action. When the basic coordination difference value is less than or equal to zero, it indicates that the power isolation action has a priority execution requirement over the data retention action. Then, the basic coordination difference value is normalized and mapped to obtain the coordination margin value, and the coordination margin information is determined based on the coordination margin value. The coordination margin value satisfies the following formula: Where M represents the coordination margin, K represents the data retention executability value, L represents the power isolation urgency value, K−L represents the basic coordination difference, and |K−L| represents the absolute value of the basic coordination difference. Used to map basic coordination differences to coordination margin values with bounded properties.
[0151] S304: Based on the coordination margin information, determine the coordinateable execution time limits corresponding to the power isolation action and the data retention action.
[0152] In this embodiment, the coordinateable execution time limit refers to the length of time during which the power isolation action and the data retention action are allowed to be coordinated and arranged, as determined by the coordination margin information. The coordinateable execution time limit is used to characterize the time range during which the data retention action can be arranged to be executed without affecting the safe execution of the power isolation action under the current abnormal high voltage state and backup power supply retention conditions.
[0153] Specifically, when determining the coordinateable execution time limits for power isolation and data retention actions based on the coordination margin information, the coordination margin value corresponding to the coordination margin information is first read, and the preset basic coordination time limit is also read. The coordination margin value and the preset basic coordination time limit are mapped and calculated. If the coordination margin value is greater than zero, it is determined that there is a coordinateable space between the data retention action and the power isolation action, and the preset basic coordination time limit is positively extended based on the coordination margin value. If the coordination margin value is less than or equal to zero, it is determined that the power isolation action has a priority execution requirement over the data retention action, and the preset basic coordination time limit is compressed based on the coordination margin value to obtain the coordinateable execution time limit. The coordinateable execution time limit satisfies the following formula: Where W represents the coordinateable execution time limit, Tb represents the preset basic coordination time limit, M represents the coordination margin value, and 1+M represents the time limit adjustment coefficient based on the coordination margin value. When M>0, the time limit adjustment coefficient is greater than 1 and is used to extend the coordinateable execution time limit. When M≤0, the time limit adjustment coefficient is less than or equal to 1 and is used to compress the coordinateable execution time limit.
[0154] S304: Generate a protection and maintenance linkage window based on the coordinateable execution time limit.
[0155] Specifically, when generating a protection holding linkage window based on the coordinateable execution time limit, the time limit length corresponding to the coordinateable execution time limit is first read. The moment when the intelligent fusion terminal is in an abnormal high voltage state, as indicated by the voltage anomaly judgment result, is used as the window start reference time. The window end reference time is determined according to the window start reference time and the coordinateable execution time limit. The time range between the window start reference time and the window end reference time is determined as the initial linkage window. Then, according to the execution requirements corresponding to the power isolation action and the data holding action, the initial linkage window is divided into boundaries to obtain the isolation trigger boundary corresponding to the power isolation action and the holding completion boundary corresponding to the data holding action. Based on the relative positions of the isolation trigger boundary and the holding completion boundary in the initial linkage window, the isolation priority window, the holding priority window, and the parallel coordination window are determined. The isolation priority window, the holding priority window, and the parallel coordination window are combined in chronological order to generate the protection holding linkage window. The initial linkage window satisfies the following formula: Where Ω represents the initial linkage window, ts represents the window start reference time, W represents the coordinateable execution time limit, and ts+W represents the window end reference time.
[0156] In one embodiment, step S304, namely generating a protection-maintaining linkage window based on a coordinateable execution time limit, includes:
[0157] S3041: Based on the coordinateable execution time limit, determine the isolation trigger boundary corresponding to the power isolation action and the hold completion boundary corresponding to the data hold action.
[0158] In this embodiment, the isolation trigger boundary refers to the latest time position within the coordinateable execution time limit that the power isolation action is allowed to be triggered, and the data retention completion boundary refers to the latest time position within the coordinateable execution time limit that the data retention action is required to be completed.
[0159] Specifically, when determining the isolation trigger boundary corresponding to the power isolation action and the retention completion boundary corresponding to the data retention action based on the coordinateable execution time limit, the starting point for boundary calculation is first taken as the moment when the voltage anomaly judgment result indicates that the intelligent fusion terminal is in an abnormally high voltage state. The ending point for boundary calculation is determined according to the coordinateable execution time limit. The time range between the boundary calculation start point and the boundary calculation end point is taken as the boundary determination range. Based on the execution requirements corresponding to the power isolation action, the latest time position that the power isolation action needs to be triggered is determined within the boundary determination range, and the latest time position is taken as the isolation trigger boundary. Based on the execution requirements corresponding to the data retention action, the latest time position that the data retention action needs to be completed is determined within the boundary determination range, and the latest time position is taken as the retention completion boundary, so that both the isolation trigger boundary and the retention completion boundary are located within the time range corresponding to the coordinateable execution time limit.
[0160] S3042: Determine the boundary overlap relationship between power isolation actions and data retention actions based on the isolation trigger boundary and the retention completion boundary;
[0161] In this embodiment, the boundary overlap relationship refers to the relative relationship between the isolation trigger boundary and the retention completion boundary in terms of time sequence. The boundary overlap relationship is used to characterize whether the power isolation action and the data retention action are arranged simultaneously or coordinated sequentially in time and space.
[0162] Specifically, when determining the boundary overlap relationship between power isolation action and data retention action based on the isolation trigger boundary and the retention completion boundary, the time positions corresponding to the isolation trigger boundary and the retention completion boundary are first read. The time positions corresponding to the isolation trigger boundary and the retention completion boundary are compared in time. If the time position corresponding to the isolation trigger boundary is earlier than the time position corresponding to the retention completion boundary, an isolation advance relationship is determined between the power isolation action and the data retention action. If the time position corresponding to the isolation trigger boundary is later than the time position corresponding to the retention completion boundary, a retention advance relationship is determined between the power isolation action and the data retention action. If the time difference between the time position corresponding to the isolation trigger boundary and the time position corresponding to the retention completion boundary is within the preset overlap allowable range, a boundary overlap relationship is determined between the power isolation action and the data retention action.
[0163] S3043: Based on the boundary overlap relationship, the coordinateable execution time limit is divided into windows to obtain the isolation priority window, the maintenance priority window and the parallel coordination window.
[0164] In this embodiment, the isolation priority window refers to the time range within which power isolation actions are prioritized to be scheduled within the coordinateable execution time limit; the hold priority window refers to the time range within which data hold actions are prioritized to be scheduled within the coordinateable execution time limit; and the parallel coordination window refers to the time range within which power isolation actions and data hold actions are allowed to be scheduled in parallel within the coordinateable execution time limit.
[0165] Specifically, based on the boundary overlap relationship, the coordinateable execution time limit is divided into windows to obtain the isolation priority window, the maintain priority window, and the parallel coordination window. First, the start and end times corresponding to the coordinateable execution time limit are used as the division range. Then, the corresponding isolation trigger boundary and maintain completion boundary in the boundary overlap relationship are read. If the boundary overlap relationship indicates that the isolation trigger boundary is earlier than the maintain completion boundary, the time range before the isolation trigger boundary is divided into the isolation priority window, the time range between the isolation trigger boundary and the maintain completion boundary is divided into the parallel coordination window, and the time range after the maintain completion boundary and the end time of the coordinateable execution time limit is divided into the maintain-restricted window. The maintain-restricted window is then merged into the isolation priority window. In cases where the boundary overlap relationship indicates that the completion boundary is earlier than the isolation trigger boundary, the time range before the completion boundary is divided into the maintenance priority window, the time range between the completion boundary and the isolation trigger boundary is divided into the parallel coordination window, and the time range after the isolation trigger boundary and the end of the coordinateable execution time limit is divided into the isolation priority window. In cases where the boundary overlap relationship indicates that the isolation trigger boundary and the completion boundary are within a preset overlap tolerance range, the overlapping time range corresponding to the isolation trigger boundary and the completion boundary is divided into the parallel coordination window, and the time range before the overlapping time range is divided into the maintenance priority window, and the time range after the overlapping time range is divided into the isolation priority window.
[0166] S3044: Generate a protection-maintain linkage window based on the isolation priority window, the maintain priority window, and the parallel coordination window.
[0167] Specifically, when generating a protection-maintain linkage window based on the isolation priority window, the maintain priority window, and the parallel coordination window, the start and end times of the isolation priority window, the maintain priority window, and the parallel coordination window are determined respectively. The isolation priority window, the maintain priority window, and the parallel coordination window are arranged according to the order of their respective start times, and the time boundaries between adjacent windows are connected. When there is time overlap between adjacent windows, the overlapping time range is determined as the parallel coordination window. When there is time interval between adjacent windows, the time interval is retained according to the start and end times of the time interval. Based on the arranged isolation priority window, maintain priority window, parallel coordination window, and time interval, the protection-maintain linkage window is generated.
[0168] In one embodiment, step S40, namely, determining key operating data from the operating data of the intelligent fusion terminal based on the data retention time limit corresponding to the protection and maintenance linkage window, and determining the power outage risk level corresponding to the key operating data, includes:
[0169] S401: Based on the protection holding linkage window, determine the data holding time limit corresponding to the data holding action and the isolation trigger time limit corresponding to the power isolation action.
[0170] Specifically, when determining the data retention time limit corresponding to the data retention action and the isolation trigger time limit corresponding to the power isolation action based on the protection retention linkage window, the retention priority window, parallel coordination window, and isolation priority window in the protection retention linkage window are read first. The independent retention time range of the data retention action is determined based on the start and end times of the retention priority window. The coordinated time range that can be simultaneously arranged for the data retention action and the power isolation action is determined based on the start and end times of the parallel coordination window. The independent retention time range and the coordinated time range are used together as the available time range corresponding to the data retention action, and the data retention time limit is calculated based on the start and end times of the available time range. Similarly, the independent isolation time range of the power isolation action is determined based on the start and end times of the isolation priority window. The coordinated time range that can be simultaneously arranged for the power isolation action and the data retention action is determined based on the start and end times of the parallel coordination window. The independent isolation time range and the coordinated time range are used together as the triggerable time range corresponding to the power isolation action, and the isolation trigger time limit is calculated based on the start and end times of the triggerable time range. The data retention time limit and the isolation trigger time limit satisfy the following formula: , Where Td represents the data retention time limit, Tp represents the isolation trigger time limit, th1 represents the start time of the retention priority window, th2 represents the end time of the retention priority window, tc1 represents the start time of the parallel coordination window, tc2 represents the end time of the parallel coordination window, tg1 represents the start time of the isolation priority window, and tg2 represents the end time of the isolation priority window.
[0171] S402: Determine the remaining time margin for the running data based on the data retention time limit and the isolation trigger time limit.
[0172] Specifically, when determining the available retention time margin for the running data based on the data retention time limit and the isolation trigger time limit, the data retention time limit and the isolation trigger time limit are read. The data retention time limit is taken as the maximum time that the data retention action can occupy, and the isolation trigger time limit is taken as the maximum time that the data retention action is allowed to continue to execute before the power isolation action is triggered. The data retention time limit and the isolation trigger time limit are compared, and the shorter of the two is determined as the available retention time margin for the running data. This ensures that the available retention time margin simultaneously satisfies the time limit of the data retention action and the trigger limit of the power isolation action. The available retention time margin satisfies the following formula: Where Tr represents the remaining time margin, Td represents the data retention time limit, Tp represents the isolation trigger time limit, and min(Td,Tp) represents the shorter time limit between the data retention time limit and the isolation trigger time limit.
[0173] S403: Based on the data retention requirements and available retention time margin corresponding to the operating data, determine the retention gap information corresponding to the operating data.
[0174] Specifically, when determining the retention gap information corresponding to the operational data based on the data retention requirement and the available retention time margin, the data volume corresponding to the operational data is first determined. Then, the data retention requirement is calculated based on the data volume and the preset retention rate. The difference between the data retention requirement and the available retention time margin is calculated. If the data retention requirement is greater than the available retention time margin, the portion exceeding the margin is defined as the retention gap value. If the data retention requirement is less than or equal to the available retention time margin, the retention gap value is set to zero. The retention gap information corresponding to the operational data is then determined based on this retention gap value. The data retention requirement and the retention gap value satisfy the following formula: , Where Dj represents the data retention requirement corresponding to the j-th running data, Sj represents the data size corresponding to the j-th running data, V represents the preset retention rate, Fj represents the retention gap value corresponding to the j-th running data, Tr represents the available retention time margin, and max(Dj−Tr,0) means that when the data retention requirement is greater than the available retention time margin, the difference between the two is taken, and when the data retention requirement is less than or equal to the available retention time margin, the value is zero.
[0175] S404: Based on the holding gap information, filter the operating data that have holding gaps within the protection holding linkage window from the operating data to obtain key operating data.
[0176] Specifically, based on the holding gap information, operational data with holding gaps within the protection holding linkage window are filtered from the operational data to obtain key operational data. The holding gap information corresponding to each operational data is read, and the holding gap value corresponding to each operational data is determined based on the holding gap information. The holding gap value is compared with zero. If the holding gap value is greater than zero, it is determined that the corresponding operational data has a holding gap within the protection holding linkage window, and operational data with holding gaps is filtered as key operational data. If the holding gap value is equal to zero, it is determined that the corresponding operational data does not have a holding gap within the protection holding linkage window, and the corresponding operational data is not filtered as key operational data. All operational data with holding gaps are summarized to obtain key operational data. The filtering conditions for key operational data satisfy the following formula: Where Kj represents the filtering result corresponding to the j-th running data, Kj=1 indicates that the j-th running data is filtered as key running data, Kj=0 indicates that the j-th running data is not filtered as key running data, and Fj represents the hold gap value corresponding to the j-th running data.
[0177] S405: Determine the power outage risk level corresponding to the critical operating data based on the maintenance gap information corresponding to the critical operating data and the degree of correlation between the critical operating data and the power restoration process.
[0178] In this embodiment, the power outage risk level refers to the risk level determined based on the maintenance gap information and correlation degree corresponding to the key operating data.
[0179] Specifically, based on the retention gap information corresponding to key operational data and the degree of correlation between key operational data and the power restoration process, when determining the power outage risk level corresponding to key operational data, the retention gap information corresponding to each key operational data is read, and the retention gap value corresponding to each key operational data is determined based on the retention gap information. The degree of correlation between each key operational data and the power restoration process is read, and the retention gap value and the corresponding degree of correlation are multiplied to calculate the power outage risk value corresponding to each key operational data. The power outage risk value is matched with the preset power outage risk level range to determine the power outage risk level corresponding to the key operational data. The power outage risk value satisfies the following formula: Where Rj represents the power outage risk value corresponding to the j-th critical operational data, Fj represents the retention gap value corresponding to the j-th critical operational data, and Cj represents the degree of correlation between the j-th critical operational data and the power restoration process. This is used to indicate the risk impact of a gap in critical operational data holding within the protection hold-up window on the power restoration process.
[0180] In one embodiment, in step S90, that is, based on the data recovery result and the protection action execution result corresponding to the power isolation action, the protection triggering condition used to determine the voltage anomaly judgment result is adjusted, including:
[0181] S901: Based on the data recovery results and power outage retention records, determine the actual retention completion results corresponding to the key operating data.
[0182] In this embodiment, the actual retention completion result refers to the result determined based on the data recovery result and the power outage retention record, which characterizes whether the key operating data was successfully retained during the data retention action and whether it can be normally recovered after power is restored.
[0183] Specifically, based on the data recovery results and power outage retention records, when determining the actual retention completion result corresponding to key operational data, the retention completion status corresponding to each key operational data in the power outage retention record is read, and the recovery completion status corresponding to each key operational data in the data recovery results is read. The retention completion status and recovery completion status corresponding to the same key operational data are matched. If the retention completion status indicates that retention has been completed and the recovery completion status indicates that recovery has been completed, the actual retention completion result of the corresponding key operational data is determined to be completed. If the retention completion status indicates that retention has not been completed or the recovery completion status indicates that recovery has not been completed, the actual retention completion result of the corresponding key operational data is determined to be incomplete. The actual retention completion results corresponding to each key operational data are summarized to obtain the actual retention completion result corresponding to the key operational data. The actual retention completion result satisfies the following formula: Where Yj represents the actual retention completion result corresponding to the j-th critical operating data, Yj=1 indicates that the j-th critical operating data is actually retained and Yj=0 indicates that the j-th critical operating data is not actually retained and Hj represents the retention completion status of the j-th critical operating data in the power outage retention record, Hj=1 indicates that retention is completed and Hj=0 indicates that retention is not completed and Zj represents the recovery completion status of the j-th critical operating data in the data recovery result, Zj=1 indicates that recovery is completed and Zj=0 indicates that recovery is not completed.
[0184] S902: Match the actual completion result with the power outage risk level to obtain the high-risk data maintenance deviation result.
[0185] Specifically, when matching the actual maintenance completion result with the power outage risk level to obtain a high-risk data maintenance deviation result, the actual maintenance completion result and power outage risk level corresponding to each key operational data are read. Based on the power outage risk level, the key operational data corresponding to the high power outage risk level are determined. This high-risk key operational data is then used as the high-risk key operational data. The actual maintenance completion result corresponding to each high-risk key operational data is then evaluated. If the actual maintenance completion result indicates that the actual maintenance is completed, the corresponding high-risk key operational data is determined as data without maintenance deviation. If the actual maintenance completion result indicates that the actual maintenance is not completed, the corresponding high-risk key operational data is determined as data with maintenance deviation. Based on the number of data with maintenance deviation and the total number of high-risk key operational data, the high-risk data maintenance deviation result is determined. The high-risk data maintenance deviation result satisfies the following formula: Where Dh represents the deviation result of high-risk data maintenance, n represents the number of critical operational data, Rj represents the power outage risk value corresponding to the j-th critical operational data, Rh represents the risk threshold corresponding to the high power outage risk level, and Yj represents the actual maintenance completion result corresponding to the j-th critical operational data. This represents a conditional judgment function. It takes the value 1 when Rj≥Rh is true and takes the value 0 when Rj≥Rh is false. 1−Yj is used to indicate whether the j-th critical running data is actually kept incomplete.
[0186] S903: Determine the actual isolation position of the power isolation action within the protection holding linkage window based on the protection action execution result.
[0187] Specifically, based on the protection action execution result, when determining the actual isolation position of the power isolation action within the protection holding linkage window, the actual trigger time of the power isolation action recorded in the protection action execution result is read, and the start and end times of the holding priority window, parallel coordination window, and isolation priority window within the protection holding linkage window are read. The actual trigger time is compared with the start and end times of the holding priority window, parallel coordination window, and isolation priority window respectively. If the actual trigger time is between the start and end times of the holding priority window, the actual isolation position is determined to be within the holding priority window. If the actual trigger time is between the start and end times of the parallel coordination window, the actual isolation position is determined to be within the parallel coordination window. If the actual trigger time is between the start and end times of the isolation priority window, the actual isolation position is determined to be within the isolation priority window.
[0188] S904: Based on the actual isolation location and high-risk data, maintain the deviation results and determine the window adaptation deviation results corresponding to the action coordination strategy.
[0189] Specifically, when determining the window adaptation deviation result corresponding to the action coordination strategy based on the actual isolation location and the high-risk data hold deviation result, the position type of the power isolation action within the protection hold linkage window is first determined according to the actual isolation location. If the actual isolation location is within the hold priority window, the priority completion range of the power isolation action preceding the data hold action is determined. If the actual isolation location is within the parallel coordination window, the power isolation action and the data hold action are determined to be within the parallel coordination range. If the actual isolation location is within the isolation priority window, the power isolation action is determined to be within the priority trigger range. Then, the position type is matched with the high-risk data hold deviation result. If the high-risk data hold-off deviation is greater than the preset hold-off deviation threshold and the actual isolation position is within the hold-off priority window, the action coordination strategy is determined to have an early isolation deviation. If the high-risk data hold-off deviation is less than or equal to the preset hold-off deviation threshold and the actual isolation position is within the isolation priority window, the action coordination strategy is determined to have a late isolation deviation. If the actual isolation position is within the parallel coordination window and the high-risk data hold-off deviation is less than or equal to the preset hold-off deviation threshold, the action coordination strategy is determined to have no window adaptation deviation. The judgment results of early isolation deviation, late isolation deviation, or no window adaptation deviation are taken as the window adaptation deviation results.
[0190] S905: Based on the window adaptation deviation results, determine the trigger advance correction amount or trigger delay correction amount corresponding to the protection triggering condition.
[0191] In this embodiment, the trigger advance correction amount refers to the adjustment amount used to make the protection triggering condition be met earlier when the window adaptation deviation result indicates that the power isolation action is triggered too late, and the trigger delay correction amount refers to the adjustment amount used to make the protection triggering condition be met later when the window adaptation deviation result indicates that the power isolation action is triggered too early.
[0192] Specifically, when determining the trigger advance correction or trigger delay correction corresponding to the protection triggering condition based on the window adaptation deviation results, the deviation type in the window adaptation deviation results is read, and the high-risk data retention deviation result corresponding to the window adaptation deviation results is read. If the deviation type is isolation delay deviation, the advance deviation flag is set to 1, and the delay deviation flag is set to 0. The trigger advance correction is calculated based on the high-risk data retention deviation result and the preset correction benchmark. If the deviation type is isolation advance deviation, the advance deviation flag is set to 0, and the delay deviation flag is set to 1. The trigger delay correction is calculated based on the high-risk data retention deviation result and the preset correction benchmark. If the deviation type is no window adaptation deviation, both the advance deviation flag and the delay deviation flag are set to 0, and both the trigger advance correction and the trigger delay correction are set to 0. The trigger advance correction and the trigger delay correction satisfy the following formula: , Where ΔTpre represents the amount of early correction triggered, ΔTdelay represents the amount of late correction triggered, δpre represents the early deviation marker, δdelay represents the late deviation marker, ΔT0 represents the preset correction baseline amount, and Dh represents the deviation result of high-risk data.
[0193] S906: Adjust the protection triggering conditions used to determine the voltage anomaly judgment result based on the trigger advance correction amount or trigger delay correction amount.
[0194] Specifically, when adjusting the protection triggering conditions used to determine the voltage anomaly judgment result based on the trigger advance correction amount or trigger delay correction amount, the preset anomaly accumulation threshold and preset continuous period threshold used to determine the voltage anomaly judgment result are read. When the trigger advance correction amount is greater than zero, the preset anomaly accumulation threshold is lowered according to the trigger advance correction amount, so that the voltage anomaly accumulation state meets the protection triggering condition earlier. When the trigger delay correction amount is greater than zero, the preset anomaly accumulation threshold is raised according to the trigger delay correction amount, so that the voltage anomaly accumulation state meets the protection triggering condition later. When both the trigger advance correction amount and the trigger delay correction amount are zero, the protection triggering condition remains unchanged, and the adjusted preset anomaly accumulation threshold is used as the protection triggering condition for subsequently determining the voltage anomaly judgment result. The adjusted preset anomaly accumulation threshold satisfies the following formula: Where A′th represents the adjusted preset abnormality accumulation threshold, Ath represents the original preset abnormality accumulation threshold, and ΔT pre Indicates the amount of advance correction triggered, ΔT delay ξ represents the trigger delay correction amount, and ξ represents the threshold correction coefficient.
[0195] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0196] In one embodiment, a terminal power protection and data retention device is provided, which corresponds one-to-one with the terminal power protection and data retention method described in the above embodiments. For example... Figure 2 As shown, the terminal power protection and data retention device includes a voltage anomaly judgment module, an anomaly evolution intensity determination module, a linkage window determination module, a power failure risk classification module, an action coordination strategy generation module, a control information generation module, a protection retention execution module, a recovery verification module, and a trigger condition adjustment module.
[0197] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0198] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for protecting a terminal power supply and retaining data, characterized by, The terminal power protection and data retention method includes: Obtain the power supply status information of the intelligent fusion terminal, and determine the voltage anomaly judgment result corresponding to the intelligent fusion terminal based on the power supply status information; When the voltage anomaly judgment result indicates that the intelligent fusion terminal is in an abnormally high voltage state, the abnormal voltage evolution intensity information is determined based on the power supply status information; Based on the abnormal voltage evolution intensity information and the backup power supply retention capability corresponding to the intelligent fusion terminal, the protection retention linkage window is determined. Based on the data retention time limit corresponding to the protection and maintenance linkage window, key operating data is determined from the operating data of the intelligent fusion terminal, and the power outage risk level corresponding to the key operating data is determined. Based on the protection hold-up linkage window and the power failure risk level, an action coordination strategy is generated; Based on the aforementioned action coordination strategy, power isolation control information and data retention control information are generated; Power isolation actions are performed according to the power isolation control information, and data retention actions are performed according to the data retention control information to obtain a power-off retention record; After the power supply to the intelligent fusion terminal is restored, data recovery verification is performed based on the power outage retention record to obtain the data recovery result; Based on the data recovery results and the protection action execution results corresponding to the power isolation action, the protection triggering conditions used to determine the voltage anomaly judgment result are adjusted.
2. A method for protecting a terminal power supply and retaining data according to claim 1, wherein, The step of determining the voltage anomaly judgment result corresponding to the intelligent fusion terminal based on the power supply status information includes: Extract input voltage deviation information and power supply fluctuation duration information within a continuous sampling period from the power supply status information; Based on the input voltage deviation information, determine the degree of voltage deviation information corresponding to each of the consecutive sampling periods; Based on the power supply fluctuation continuity information, the voltage deviation degree information is continuously correlated to obtain the voltage deviation continuity result; Based on the voltage deviation continuity results, the voltage abnormality accumulation state of the intelligent fusion terminal within the continuous sampling period is determined; Based on the comparison between the accumulated voltage anomaly state and the preset anomaly judgment conditions, the voltage anomaly judgment result corresponding to the intelligent fusion terminal is determined.
3. The method of claim 1, wherein the method further comprises: When the voltage anomaly judgment result indicates that the intelligent fusion terminal is in an abnormally high voltage state, determining the abnormal voltage evolution intensity information based on the power supply status information includes: Extract voltage deviation information and power supply fluctuation duration information within a continuous sampling period from the power supply status information; Based on the voltage deviation information corresponding to each of the consecutive sampling periods, determine the voltage deviation increment information between adjacent sampling periods; Based on the power supply fluctuation information, the voltage deviation increment information is continuously evolved and correlated to obtain the voltage deviation evolution result; Based on the voltage deviation evolution results and the power supply fluctuation duration information, the cumulative impact information of abnormal voltage is determined; Based on the information on the cumulative impact of the abnormal voltage, the information on the intensity of the abnormal voltage evolution is determined.
4. The terminal power protection and data retention method according to claim 1, characterized in that, The step of determining the protection and maintenance linkage window based on the abnormal voltage evolution intensity information and the backup power supply maintenance capability corresponding to the intelligent fusion terminal includes: Based on the abnormal voltage evolution intensity information, the power isolation urgency information corresponding to the intelligent fusion terminal is determined; Based on the backup power supply capability, determine the data retention executability information corresponding to the intelligent fusion terminal; Based on the power isolation urgency information and the data retention feasibility information, determine the coordination margin information between the power isolation action and the data retention action; Based on the coordination margin information, determine the coordinateable execution time limit corresponding to the power isolation action and the data retention action; Based on the aforementioned coordinateable execution time limit, the protection and maintenance linkage window is generated.
5. A terminal power protection and data retention method according to claim 4, characterized in that, The generation of the protection maintenance linkage window based on the coordinateable execution time limit includes: Based on the coordinateable execution time limit, determine the isolation trigger boundary corresponding to the power isolation action and the retention completion boundary corresponding to the data retention action; Based on the isolation trigger boundary and the hold completion boundary, the boundary overlap relationship between the power isolation action and the data hold action is determined; Based on the boundary overlap relationship, the coordinateable execution time limit is divided into windows to obtain an isolation priority window, a maintenance priority window, and a parallel coordination window; The protection and maintenance linkage window is generated based on the isolation priority window, the maintenance priority window, and the parallel coordination window.
6. The terminal power protection and data retention method according to claim 1, characterized in that, The step of determining key operational data from the operational data of the intelligent fusion terminal based on the data retention time limit corresponding to the protection and maintenance linkage window, and determining the power outage risk level corresponding to the key operational data, includes: Based on the protection hold linkage window, determine the data hold time limit corresponding to the data hold action and the isolation trigger time limit corresponding to the power isolation action; Based on the data retention time limit and the isolation trigger time limit, determine the remaining retention time for the running data; Based on the data retention requirement corresponding to the operational data and the available retention time margin, determine the retention gap information corresponding to the operational data; Based on the retention gap information, the key operating data are obtained by filtering the operating data from the operating data to find the operating data that have retention gaps within the protection retention linkage window; Based on the retention gap information corresponding to the key operating data and the degree of correlation between the key operating data and the power restoration process, the power outage risk level corresponding to the key operating data is determined.
7. The terminal power protection and data retention method according to claim 1, characterized in that, The step of adjusting the protection triggering conditions used to determine the voltage anomaly judgment result based on the data recovery result and the protection action execution result corresponding to the power isolation action includes: Based on the data recovery results and the power outage retention record, determine the actual retention completion result corresponding to the key operating data; The actual data retention result is matched with the power outage risk level to obtain the high-risk data retention deviation result; Based on the execution result of the protection action, determine the actual isolation position of the power isolation action in the protection holding linkage window; Based on the deviation results between the actual isolation location and the high-risk data, the window adaptation deviation results corresponding to the action coordination strategy are determined; Based on the window adaptation deviation results, determine the trigger advance correction amount or trigger delay correction amount corresponding to the protection triggering condition; Based on the trigger advance correction amount or the trigger delay correction amount, adjust the protection triggering conditions used to determine the voltage anomaly judgment result.
8. A terminal power protection and data retention device, characterized in that, The terminal power protection and data retention device includes: The voltage anomaly detection module is used to acquire the power supply status information of the intelligent fusion terminal and determine the voltage anomaly detection result corresponding to the intelligent fusion terminal based on the power supply status information. An abnormal evolution intensity determination module is used to determine abnormal voltage evolution intensity information based on the power supply status information when the voltage anomaly judgment result indicates that the intelligent fusion terminal is in an abnormal high voltage state. The linkage window determination module is used to determine the protection and maintenance linkage window based on the abnormal voltage evolution intensity information and the backup power supply maintenance capability corresponding to the intelligent fusion terminal. The power outage risk classification module is used to determine key operating data from the operating data of the intelligent fusion terminal based on the data retention time limit corresponding to the protection retention linkage window, and to determine the power outage risk level corresponding to the key operating data. The action coordination strategy generation module is used to generate an action coordination strategy based on the protection hold-up linkage window and the power failure risk level. The control information generation module is used to generate power isolation control information and data retention control information based on the action coordination strategy. The protection and retention execution module is used to perform power isolation actions according to the power isolation control information and to perform data retention actions according to the data retention control information to obtain power failure retention records; The recovery verification module is used to perform data recovery verification based on the power failure retention record after the power supply to the intelligent fusion terminal is restored, and obtain the data recovery result. The trigger condition adjustment module is used to adjust the protection trigger conditions used to determine the voltage anomaly judgment result based on the data recovery result and the protection action execution result corresponding to the power isolation action.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the terminal power protection and data retention method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the terminal power protection and data retention method as described in any one of claims 1 to 7.