Modification method and device for calculating telemetering quantity and nonvolatile storage medium
By obtaining and judging the changes in the objective function and enable coefficient of the calculation of remote measurement, the risk of calculated value jump is solved and the stable operation of the power grid is ensured.
Patent Information
- Application Number
- CN202411863311.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2044-12-17
AI Technical Summary
The prior art cannot effectively avoid the risk of jumping in the calculation remote measurement modification process, resulting in the stable operation of the power grid.
By obtaining the objective function applied to the calculation of remote measurement, receiving the value of the enable coefficient, and obtaining the change of the calculation component, determining whether the calculation component is abnormal, the objective function is used to calculate the calculation of the calculation of remote measurement, and generating a target message indicating the state of the switching function.
It effectively avoids the risk of calculated value jump and ensures the stable operation of the power grid.
Smart Images

Figure CN119831330A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of distribution network automation technology, and in particular to a method and device for modifying computational telemetry, and a non-volatile storage medium. Background Art
[0002] With the large-scale access of distributed energy, it is necessary to modify the calculation and telemetry of the distribution network automation system in various occasions such as statistical regional distributed energy active power total output. However, in the existing calculation and telemetry modification process, each calculation component may jump. Once the calculation component is added or modified, the component jump will directly affect the calculation value, and even cause the calculation value data to jump, affecting the dispatching and operation of the distribution network.
[0003] The relevant technology can only constrain the numerical value or change rate of each component, and cannot fundamentally prevent the risks of various calculated value jumps caused by modification errors and component jumps during the modification process of remote measurement.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The present application provides a method and device for modifying a calculation telemetry measurement, and a non-volatile storage medium, so as to at least solve the technical problem that the stable operation of the power grid cannot be guaranteed because the relevant technology cannot effectively avoid the risk of calculated value jumps that may occur during the modification of the calculation telemetry measurement.
[0006] According to one aspect of the present application, a method for modifying a computational telemetry is provided, comprising: obtaining a target function applied to the computational telemetry, wherein the target function includes a first enabling coefficient, a second enabling coefficient, a first function corresponding to the first enabling coefficient, and a second function corresponding to the second enabling coefficient; receiving a first value of the first enabling coefficient and a second value of the second enabling coefficient, and obtaining a first computational component of a change in the first target function compared to the second target function within a first preset time length, wherein the first target function is a function in which the value of the received enabling coefficient is 0 in the first function and the second function, and the second target function is a function in which the value of the received enabling coefficient is 1 in the first function and the second function; judging whether the first computational component is abnormal, and when the first computational component is normal, calculating the computational telemetry using the target function to obtain a target computational telemetry; judging whether the target computational telemetry is abnormal according to a first function value corresponding to the first function and a second function value corresponding to the second function; and generating a target message for indicating the icon sign state of switching the first function and the second function according to the first value and the second value when the target computational telemetry is not abnormal, wherein the icon sign state includes: effective and to be effective.
[0007] Optionally, a target message for indicating the state of a graphical sign switching the first function and the second function is generated, including: determining a first average change rate of a first target function value corresponding to the first target function within a second preset time length and a second average change rate of a second target function value corresponding to the second target function within the second preset time length; when the first average change rate and the second average change rate are both less than a first preset percentage, generating a target message within a second preset time length from a preset start time.
[0008] Optionally, determining whether the first calculation component is abnormal includes: determining whether the calculation component added to the first calculation component is refreshed within a third preset time length, if the added calculation component is not refreshed within the third preset time length, determining that the first calculation component is abnormal; determining whether the calculation telemetry quantity and the telesignal quantity in the calculation component added to the first calculation component are consistent, if the calculation telemetry quantity and the telesignal quantity in the calculation component added to the first calculation component are inconsistent, determining that the calculation component added to the first calculation component is abnormal; calculating the data change rate of the calculation component added to the first calculation component in multiple first time intervals to obtain a first data set, calculating the data change rate of the calculation component in the second objective function in multiple first time intervals to obtain a second data set; if the maximum value in the first data set is less than the (1-n)th quantile value in the second data set and / or the minimum value in the first data set is greater than the nth quantile value in the second data set, determining that the added calculation component is abnormal, where n is a natural number between [0,1].
[0009] Optionally, determining whether the first calculation component is abnormal includes: determining a target average value of a ratio of a value of the calculation component reduced in the first calculation component to a first objective function value within a fourth preset time length, and if the target average value is greater than a second preset percentage, determining that the calculation component reduced in the first calculation component is abnormal; determining whether the number of calculation components reduced in the first calculation component is greater than a first preset threshold, and if the number of calculation components reduced in the first calculation component is greater than the first preset threshold, determining that the calculation component reduced in the first calculation component is abnormal; calculating the data change rate of the first objective function value within multiple second time intervals, and obtaining the first three data sets, calculate the data change rate of the second objective function value in multiple second time intervals to obtain a fourth data set; calculate the first deviation between the m quantile value in the third data set and the m quantile value in the fourth data set, calculate the first ratio of the first deviation to the m quantile value in the third data set, calculate the second deviation between the 1-m quantile value in the third data set and the 1-m quantile value in the fourth data set, and calculate the second ratio of the second deviation to the 1-m quantile value in the third data set; if the first ratio and / or the second ratio is greater than the third preset percentage, it is determined that the reduced calculation component in the first calculation component is abnormal.
[0010] Optionally, after calculating the computational telemetry using the objective function to obtain the target computational telemetry, the method further includes: displaying the first identification information and the first description information of the first sampling point corresponding to the computational component in the first function at the first preset position of the preset list; displaying the second identification information and the second description information of the second sampling point corresponding to the computational component in the second function at the second preset position of the preset list; displaying the identification information of the modification object of the first value and the second value and the identification information of the review object, the graphic sign status of the first function, and the graphic sign status of the second function at the third preset position of the preset list; using the first color to display the information in the first identification information that is consistent with the second identification information, using the first color to display the information in the first description information that is consistent with the second description information, using the second color to display the information in the first identification information that is inconsistent with the second identification information, and using the second color to display the information in the first description information that is inconsistent with the second description information.
[0011] Optionally, a target message for indicating the state of a graphical sign for switching between a first function and a second function is generated, comprising: generating a confirmation window for confirming the generation of the target message, wherein the confirmation window includes a target character; obtaining identification information of a target object that generates an operation on the target character in the confirmation window, and verifying whether the identification information of the target object that generates an operation on the confirmation window is consistent with identification information of a modification object in a preset list and identification information of a review object; generating a target message when the identification information of the target object that generates an operation on the confirmation window is consistent with identification information of a modification object in a preset list and identification information of a review object.
[0012] Optionally, judging whether there is an abnormality in the target calculation telemetry according to the first function value corresponding to the first function and the second function value corresponding to the second function includes: determining that there is an abnormality in the target calculation telemetry when at least one of the following preset conditions is met: |K a (t)-K b (t)|>|H a -H b |、||K a (t)-K a (t-1)|-|K b (t)-K b (t-1))||>max{H a ,H b} / min{H a ,H b}、|K a (t)-K a (t-1)|>T K Or |K b (t)-K b (t-1)|>TK 、|[K a (t)-K b (t)]-[K a (t-1)-K b (t-1)]|>T K 、|K a (t)-K b (t)|=0; where K a (t) is the first function value at time t, K b (t) is the value of the second function at time t, K a (t) is the first function value at time t-1, K b (t) is the value of the second function at time t-1, H a is the upper limit of the first function value, H b is the upper limit of the second function value, T K A second preset threshold corresponding to the rate of change of the target telemetry value is calculated, where t is a positive integer greater than 1.
[0013] According to another aspect of the present application, there is also provided a device for modifying a computational telemetry measurement, comprising: an acquisition module for acquiring an objective function applied to the computational telemetry measurement, wherein the objective function comprises a first enabling coefficient, a second enabling coefficient, a first function corresponding to the first enabling coefficient, and a second function corresponding to the second enabling coefficient; a receiving module for receiving a first value of the first enabling coefficient and a second value of the second enabling coefficient, and acquiring a first calculation component of a change in the first objective function compared to the second objective function within a first preset time length, wherein the first objective function is a function in which the value of the received enabling coefficient is 0 in the first function and the second function, and the second objective function is a function in which the value of the received enabling coefficient is 0 in the first function and the second function, and the second objective function is a function in which the value of the received enabling coefficient is 0 in the first function. The function in which the value of the received enabling coefficient is 1 in the number and the second function; the first judgment module is used to judge whether the first calculation component is abnormal. When the first calculation component is normal, the target function is used to calculate the calculation telemetry to obtain the target calculation telemetry; the second judgment module is used to judge whether the target calculation telemetry is abnormal according to the first function value corresponding to the first function and the second function value corresponding to the second function; the generation module is used to generate a target message for indicating the icon sign state of switching the first function and the second function according to the first value and the second value when there is no abnormality in the target calculation telemetry, wherein the icon sign state includes: effective and to be effective.
[0014] According to another aspect of the present application, a non-volatile storage medium is provided, the storage medium including a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the above method for modifying the computational telemetry.
[0015] According to another aspect of the present application, there is also provided an electronic device, comprising: a memory and a processor, wherein the processor is used to run a program stored in the memory, wherein the above method for modifying the computational telemetry is executed when the program is run.
[0016] According to yet another aspect of the present application, a computer program is provided, wherein when the computer program is executed by a processor, the above method for modifying the computational telemetry is implemented.
[0017] According to another aspect of the present application, a computer program product is provided, which includes a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above method for modifying the computational telemetry is implemented.
[0018] In the present application, an objective function applied to calculating telemetry is adopted, wherein the objective function includes a first enabling coefficient, a second enabling coefficient, a first function corresponding to the first enabling coefficient, and a second function corresponding to the second enabling coefficient; a first value of the first enabling coefficient and a second value of the second enabling coefficient are received, and a first calculation component of the change of the first objective function compared to the second objective function within a first preset time length is obtained, wherein the first objective function is a function in which the value of the received enabling coefficient is 0 in the first function and the second function, and the second objective function is a function in which the value of the received enabling coefficient is 1 in the first function and the second function; it is determined whether the first calculation component is abnormal, and when the first calculation component is normal, the objective function is used to calculate the telemetry. Calculate to obtain the target calculation telemetry quantity; determine whether there is an abnormality in the target calculation telemetry quantity according to the first function value corresponding to the first function and the second function value corresponding to the second function; when there is no abnormality in the target calculation telemetry quantity, generate a target message for indicating the icon sign state of switching the first function and the second function according to the first value and the second value, wherein the icon sign state includes: effective and to be effective, thereby achieving the purpose of effectively avoiding the risk of calculation value jumps that may occur in the process of modifying the calculation telemetry quantity, thereby achieving the technical effect of ensuring the stable operation of the power grid, and further solving the technical problem of being unable to ensure the stable operation of the power grid due to the inability of related technologies to effectively avoid the risk of calculation value jumps that may occur in the process of modifying the calculation telemetry quantity. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0020] Figure 1is a flow chart of a method for modifying a calculation telemetry according to an embodiment of the present application;
[0021] Figure 2 is a flow chart of another method for modifying the calculation of telemetry according to an embodiment of the present application;
[0022] Figure 3 is a structural diagram of a device for modifying computational telemetry according to an embodiment of the present application;
[0023] Figure 4 It is a hardware structure block diagram of a computer terminal according to a method for modifying a computational telemetry measurement according to an embodiment of the present application. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] According to an embodiment of the present application, a method embodiment of a method for modifying a computational telemetry measurement is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and, although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0027] Figure 1 is a flow chart of a modification method for calculating telemetry according to an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:
[0028] Step S101, obtaining an objective function used for calculating telemetry, wherein the objective function includes a first enabling coefficient, a second enabling coefficient, a first function corresponding to the first enabling coefficient, and a second function corresponding to the second enabling coefficient.
[0029] First, the objective function for calculating the telemetry is obtained. The objective function includes a first enabling coefficient and a second enabling coefficient, and calculation formulas corresponding to the two enabling coefficients, namely, a first function and a second function. The values of the first enabling coefficient and the second enabling coefficient can be 0 or 1, which is used to control whether the corresponding calculation formula is effective.
[0030] Step S102, receiving a first value of a first enabling coefficient and a second value of a second enabling coefficient, and obtaining a first calculation component of a change in a first objective function compared to a second objective function within a first preset time length, wherein the first objective function is a function in which the value of the received enabling coefficient is 0 in the first function and the second function, and the second objective function is a function in which the value of the received enabling coefficient is 1 in the first function and the second function.
[0031] A first value (e.g., 0 or 1) of a first enabling coefficient and a second value (e.g., 0 or 1) of a second enabling coefficient are received. After receiving the enabling coefficient values, the system determines a first objective function and a second objective function according to the values, wherein the first objective function refers to a function in which the enabling coefficient value is 0 in the first function and the second function, and the second objective function refers to a function in which the enabling coefficient value is 1. Subsequently, the calculation components increased by the first objective function compared to the second objective function and the calculation components reduced by the first objective function compared to the second objective function are analyzed.
[0032] Step S103, determining whether the first calculation component is abnormal, and if the first calculation component is normal, using the objective function to calculate the calculation telemetry to obtain the target calculation telemetry.
[0033] Determine whether the added and reduced calculation components in the first calculation component are abnormal. The abnormal judgment of the added calculation component includes: whether there is data within the data sample period, whether the data is refreshed, whether the calculated telemetry quantity is consistent with the telesignal quantity, and whether the data change rate is within a reasonable range. The abnormal judgment of the reduced calculation component includes: whether the value proportion is greater than the preset percentage, whether the number of deletions exceeds the preset threshold, and whether the percentile deviation of the data change rate before and after modification exceeds the preset percentage. When it is confirmed that the newly added and deleted calculation components are normal, the objective function is used to calculate the calculated telemetry quantity to obtain the target calculated telemetry quantity.
[0034] Step S104, judging whether there is an abnormality in the target calculation telemetry according to the first function value corresponding to the first function and the second function value corresponding to the second function.
[0035] According to the first function value corresponding to the first function and the second function value corresponding to the second function, it is determined whether the target calculation telemetry is abnormal. The abnormality determination method includes but is not limited to: calculation component value ratio, data change rate deviation, continuous zero change detection, etc. If the target calculation telemetry is abnormal, the system will stop the calculation and perform abnormal processing.
[0036] Step S105, when there is no abnormality in the target calculation telemetry, a target message for indicating the icon sign status of switching the first function and the second function is generated according to the first value and the second value, wherein the icon sign status includes: effective and to be effective.
[0037] In the case that there is no abnormality in the target calculation telemetry, the system generates a target message for indicating the switching of the icon sign status of the first function and the second function according to the first value and the second value. The enablement coefficient is set by the user, and can only be operated on the icon sign object of one of the first function and the second function. If the first function sign operation is "set to take effect", the sign changes from "to be effective" to "effective", and the enablement coefficient changes from 0 to 1; if the first function sign operation is "set to be effective", the sign changes from "effective" to "to be effective", and the enablement coefficient changes from 1 to 0.
[0038] In this way, the system can dynamically switch the calculation logic according to the operator's instructions without causing immediate data jumps, ensuring the safety of the modification operation and the continuity of the calculation results.
[0039] The following Figure 1 The steps shown are exemplary and explanatory.
[0040] According to some optional embodiments of the present application, generating a target message for indicating the state of a graphical sign for switching between a first function and a second function can be achieved by the following method: determining a first average change rate of a first target function value corresponding to the first target function within a second preset time length and a second average change rate of a second target function value corresponding to the second target function within a second preset time length; when both the first average change rate and the second average change rate are less than a first preset percentage, generating a target message within a second preset time length from a preset start time.
[0041] For example, first determine the preset time length (for example, 30 minutes) before the current moment is the preset start time, collect data samples of the first objective function and the second objective function to calculate the average change rate. Within the determined time window, continuously monitor and calculate the first average change rate of the first objective function value corresponding to the first objective function within the second preset time length, and compare the first average change rate and the second average change rate with the preset first preset percentage (for example, 1%). If the average change rates of both are less than the first preset percentage, it means that within the current time window, the change of the calculation telemetry is in a stable state, which is suitable for switching the calculation formula. And the second average change rate of the second objective function value corresponding to the second objective function within the same time length. When the above conditions are met, the state switching of the calculation telemetry formula is executed according to the target message, and the target message will indicate the switching of the calculation telemetry formula within the time window, that is, switching from the first objective function to the second objective function, or vice versa, depending on the state of the first value and the second value. If the first average change rate and the second average change rate are both less than a preset first preset percentage, the switching of the calculation telemetry formula is automatically executed, thereby completing the update of the calculation logic within a low-risk time window, avoiding system anomalies caused by data jumps.
[0042] According to some other optional embodiments of the present application, determining whether the first calculation component is abnormal can be achieved by the following method: determining whether the calculation component added to the first calculation component is refreshed within a third preset time length, if the added calculation component is not refreshed within the third preset time length, determining that the first calculation component is abnormal; determining whether the calculation telemetry quantity and the telesignal quantity in the calculation component added to the first calculation component are consistent, if the calculation telemetry quantity and the telesignal quantity in the calculation component added to the first calculation component are inconsistent, determining that the calculation component added to the first calculation component is abnormal; calculating the data change rate of the calculation component added to the first calculation component in multiple first time intervals to obtain a first data set, calculating the data change rate of the calculation component in the second objective function in multiple first time intervals to obtain a second data set; if the maximum value in the first data set is less than the (1-n)th quantile value in the second data set and / or the minimum value in the first data set is greater than the nth quantile value in the second data set, determining that the added calculation component is abnormal, wherein n is a natural number between [0,1].
[0043] In the above embodiment, first determine whether the added calculation component is refreshed within the third preset time (for example, 1 hour). If the newly added calculation component has no data refresh within this time period, that is, the data remains unchanged, it will be determined that the calculation component is abnormal, which indicates that there is a problem with the data source or the network connection is unstable, and further investigation and processing are required. Next, check whether the calculated telemetry and telesignal quantities in the added calculation component are consistent. Taking the switch state as an example, if the calculated telesignal indicates that the switch is in the closed state, and the calculated telemetry (such as current, active power) is displayed as zero or not refreshed, it indicates that there is inconsistency in the data, and it is determined that the added calculation component is abnormal. Data consistency check is a key step to ensure the correctness of the calculation logic, which helps to avoid calculation result deviations caused by data source errors. Further calculate the data change rate of the added calculation component in multiple first time intervals (for example, every 5 minutes is a time interval) to form a first data set. At the same time, calculate the data change rate of the calculation component in the second objective function (that is, the currently effective calculation telemetry formula) in the same time interval to form a second data set. Compare the data change rates of the first data set and the second data set. If the maximum change rate in the first data set is less than the (1-n) percentile value in the second data set, or the minimum change rate in the first data set is greater than the nth percentile value in the second data set (where n is a natural number between [0,1], such as 0.9), the added calculation component is considered abnormal. This abnormality judgment mechanism is based on the statistical characteristics of the data change rate and can effectively identify whether the change trend of the newly added calculation component is significantly different from the existing calculation component, avoiding the negative impact of the addition of abnormal components on the calculation results.
[0044] Through the above specific implementation steps, a new calculation component abnormality judgment mechanism based on data refresh status, consistency of calculation telemetry and telesignaling, and statistical analysis of data change rate is provided. This mechanism can not only ensure the data source quality and data consistency of the new component, but also timely discover possible abnormalities by comparing the change rates of the new and old calculation components.
[0045] In some optional embodiments of the present application, determining whether the first calculation component is abnormal can be achieved by the following method: determining the target average value of the ratio of the numerical value of the calculation component reduced in the first calculation component to the first objective function value within a fourth preset time length, if the target average value is greater than the second preset percentage, determining that the calculation component reduced in the first calculation component is abnormal; determining whether the number of calculation components reduced in the first calculation component is greater than the first preset threshold value, if the number of calculation components reduced in the first calculation component is greater than the first preset threshold value, determining that the calculation component reduced in the first calculation component is abnormal; calculating the number of the first objective function value in multiple second time intervals. According to the change rate, a third data set is obtained, and the data change rate of the second objective function value in multiple second time intervals is calculated to obtain a fourth data set; a first deviation between the m quantile value in the third data set and the m quantile value in the fourth data set is calculated, a first ratio of the first deviation and the m quantile value in the third data set is calculated, a second deviation between the 1-m quantile value in the third data set and the 1-m quantile value in the fourth data set is calculated, and a second ratio of the second deviation to the 1-m quantile value in the third data set is calculated; if the first ratio and / or the second ratio is greater than the third preset percentage, it is determined that the reduced calculation component in the first calculation component is abnormal.
[0046] Specifically, first determine the target average value of the ratio of the value of the reduced calculation component to the first objective function value (i.e., the calculation telemetry value to be effective) within a fourth preset time period (e.g., 24 hours). If the target average value is greater than the second preset percentage (e.g., 3%), this indicates that the reduced calculation component contributes more to the first objective function value, which may affect the accuracy of the calculation result, and the system will determine that the reduced calculation component is abnormal.
[0047] It is further determined whether the number of reduced calculation components exceeds a first preset threshold (e.g., 5). If the number of reduced calculation components is greater than the first preset threshold, this means that a large number of calculation components are removed, which may have a significant impact on the calculation results, and the reduced calculation components are also determined to be abnormal. This judgment is based on the sensitivity to changes in the number of calculation components to prevent data integrity problems caused by the removal of a large number of calculation components.
[0048] The data change rate of the first objective function value in multiple second time intervals (for example, every half hour is a time interval) is further calculated to form a third data set. At the same time, the data change rate of the second objective function value (i.e., the currently effective calculation telemetry value) in the same time interval is calculated to form a fourth data set. The purpose of this step is to compare the distribution characteristics of the data change rate under the new and old calculation logics.
[0049] Further calculate the first deviation between the m quantile value in the third data set and the m quantile value in the fourth data set, and calculate the second deviation between the 1-m quantile value in the third data set and the 1-m quantile value in the fourth data set. m is a specific value between [0,1], such as 0.75. Then, respectively calculate the first ratio of the first deviation to the m quantile value in the third data set, and the second ratio of the second deviation to the 1-m quantile value in the third data set.
[0050] Finally, it is determined whether the first ratio and the second ratio are greater than a third preset percentage (e.g., 5%). If any ratio is greater than the third preset percentage, it means that the reduced calculation component causes a significant change in the data change rate distribution, which may affect the stability of the calculation result, and it is determined that the reduced calculation component is abnormal.
[0051] As some optional embodiments of the present application, after the target calculation telemetry is calculated using the objective function and the target calculation telemetry is obtained, the following steps can also be performed: display the first identification information and the first description information of the first sampling point corresponding to the calculation component in the first function at the first preset position of the preset list; display the second identification information and the second description information of the second sampling point corresponding to the calculation component in the second function at the second preset position of the preset list; display the identification information of the modification object of the first value and the second value and the identification information of the review object, the graphic sign status of the first function, and the graphic sign status of the second function at the third preset position of the preset list; use the first color to display the information in the first identification information that is consistent with the second identification information, use the first color to display the information in the first description information that is consistent with the second description information, use the second color to display the information in the first identification information that is inconsistent with the second identification information, and use the second color to display the information in the first description information that is inconsistent with the second description information.
[0052] Specifically, in the preset list of the system interface, the first identification information (such as component ID, point ID, etc.) and the first description information (such as component name, function description, etc.) of the first sampling point corresponding to the calculation component in the first function (i.e., the calculation logic to be effective) are displayed at the first preset position (e.g., the upper half of the list). In this way, the operator can quickly check all the calculation component details of the calculation logic to be effective. The second identification information and the second description information of the second sampling point corresponding to the calculation component in the second function (i.e., the current effective calculation logic) are displayed at the second preset position of the preset list (e.g., the lower half of the list). Through the comparison display, the operator can intuitively see the difference between the two calculation logics. At the third preset position of the preset list (e.g., the top or bottom of the list), the identification information (such as modification work order ID, modification date, etc.) of the modification object of the first value (i.e., the value of the first enabling coefficient) and the second value (i.e., the value of the second enabling coefficient) are displayed, and the identification information (such as reviewer ID, review date, etc.) of the review object, the graphic sign status of the first function (such as "to be effective" or "effective") and the graphic sign status of the second function are displayed. The display of this information helps operators and auditors understand the background and status of the modification, facilitating subsequent operations.
[0053] The first color (for example, green) is used to display the information in the first identification information that is consistent with the second identification information, and the first color is used to display the information in the first description information that is consistent with the second description information. In this way, the operator can see at a glance which calculation components remain unchanged before and after the modification, reducing the workload of the review. The second color (for example, red) is used to highlight the information in the first identification information that is inconsistent with the second identification information, and the second color is used to highlight the information in the first description information that is inconsistent with the second description information. Through the contrast of different colors, the operator can immediately identify which calculation components have changed before and after the modification, which is convenient for focused review and confirmation.
[0054] Through the above specific implementation steps, not only can the detailed content of the modification be clearly displayed, but also the consistency and difference of the calculation components before and after the modification can be highlighted and compared, which helps operators and auditors to quickly locate the modification points, reduce the review workload, and improve the accuracy and efficiency of the modification operation.
[0055] In some optional embodiments of the present application, generating a target message for indicating the state of a graphical sign for switching between a first function and a second function can be achieved by the following method: generating a confirmation window for confirming the generation of the target message, wherein the confirmation window includes a target character; obtaining identification information of a target object that generates an operation on the target character in the confirmation window, and verifying whether the identification information of the target object that generates an operation on the confirmation window is consistent with the identification information of the modification object in a preset list and the identification information of the review object; generating a target message when the identification information of the target object that generates an operation on the confirmation window is consistent with the identification information of the modification object in the preset list and the identification information of the review object.
[0056] In the above embodiment, a confirmation window is generated for confirming the generation of a target message, and the window contains a target character (e.g., "Confirm Switch"). The display of the target character is intended to guide the operator to perform the confirmation operation and ensure that the operator fully understands the operation to be performed. The identification information of the target object that generates the operation behavior (e.g., clicks the confirmation button) on the target character in the confirmation window is obtained. This includes the operator's user ID, name, operation time, etc., so as to verify the legitimacy of the operation later. Verify whether the identification information of the target object that generates the operation behavior on the confirmation window is consistent with the identification information of the modification object in the preset list and the identification information of the review object. The modification object and the review object have been clearly identified in the preset list. The verification process ensures that only authorized modifiers and reviewers can perform the confirmation operation, which enhances the security and compliance of the operation. If the identification information of the target object that generates the operation behavior on the confirmation window is consistent with the identification information of the modification object in the preset list and the identification information of the review object, a target message will be generated. The target message is used to indicate that the calculation telemetry is switched from the currently effective second target function to the first target function, that is, from the currently effective calculation logic to the new calculation logic to be effective. This process ensures that the modification operation can only be executed after confirmation by both the authorized modifier and the reviewer, thus effectively avoiding unauthorized erroneous operations.
[0057] As some other optional embodiments of the present application, judging whether there is an abnormality in the target calculation telemetry according to the first function value corresponding to the first function and the second function value corresponding to the second function can be implemented by the following method: determining whether there is an abnormality in the target calculation telemetry when at least one of the following preset conditions is met: |K a (t)-K b (t)|>|H a -H b |、||K a (t)-K a (t-1)|-|K b (t)-K b(t-1))||>max{H a ,H b} / min{H a ,H b}、|K a (t)-K a (t-1)|>T K Or |K b (t)-K b (t-1)|>T K 、|[K a (t)-K b (t)]-[K a (t-1)-K b (t-1)]|>T K 、|K a (t)-K b (t)|=0; where K a (t) is the first function value at time t, K b (t) is the value of the second function at time t, K a (t) is the first function value at time t-1, K b (t) is the value of the second function at time t-1, H a is the upper limit of the first function value, H b is the upper limit of the second function value, T K A second preset threshold corresponding to the rate of change of the target telemetry value is calculated, where t is a positive integer greater than 1.
[0058] Figure 2 is a flowchart of another modification method for calculating telemetry according to an embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:
[0059] Step S201, completing a modification order in the distribution network automation business management system.
[0060] In the distribution network automation business management system, the operator completes the filling of the modification sheet, and records in detail the calculation telemetry formula that needs to be modified, the calculation components involved and their parameter changes, etc. The modification sheet should include but is not limited to the comparison of the old and new calculation formulas, detailed description of the calculation components and limit information.
[0061] For example, the content of the modification sheet should include but is not limited to the following: 1. The formula of the effective value cannot be modified directly. 2. The name, point ID, and limit value of each calculation component involved in the new and old formulas 3. The calculation components involved in the new and old formulas should be the calculation telemetry measurements already in the distribution network automation system, which can be selected by searching the list 4. During the review, the name, point ID, and limit value of each current calculation component should be displayed in a list, and the modified part should be highlighted, indicating whether the modification operation is "add" or "delete".
[0062] Step S202: Check whether there is any abnormality in the content of the modification form. If there is any abnormality in the content of the modification form, step S201 is executed again.
[0063] After the modification sheet is submitted, the system will automatically or by a designated person review and approve it to check whether there are any abnormalities in the content of the modification sheet. The review content includes the rationality of adding or deleting calculation components, the rationality of the data change rate, etc. If the content of the modification sheet is found to be abnormal, the process will return to step S201 and require the operator to re-check and correct the modification sheet.
[0064] It is worth noting that step S202 requires approval of newly added calculation components and deleted calculation components between the new and old formulas in the approval modification form.
[0065] Specifically, the audit content of the newly added calculation component is as follows: Select a certain time as the data sample. 1. Whether the newly added calculation component has data, whether the data is refreshed, and whether the calculation telemetry quantity is consistent with the telesignal quantity. If there is no data or it is not refreshed, the audit will not pass. 2. Comparison of the calculation telemetry quantity before and after the modification. 3. Whether the change rate of the newly added calculation component is within a reasonable range. During the sample period, calculate the data change rate of the newly added calculation component at each moment to form set A; select the data change rate of each original calculation component at each moment to form set B. Calculate the nth quantile value and (1-n) quantile value of set B. If Max{A}<{B}(1-n) quantile value, Min{A}>{B}n quantile value, it means that the change rate is abnormal and the audit will not pass. 4. After the audit, limit the time window for switching the calculation telemetry formula. During the sample period, select data every half hour to form multiple samples for the new and old calculation telemetry quantities, and calculate the average data change rate of the samples to form sets E and F respectively. When the average data change rate is less than 1% at the same time, the half hour is the switching time window.
[0066] On the other hand, the audit content for deleting calculation components is as follows: select a certain time as the data sample. 1. If the average proportion of the value of the deleted calculation component to the calculated telemetry value is greater than 1%, the audit will fail, or it will be replaced by manual confirmation. 2. If more than 5 calculation components are deleted, the audit will fail, or it will be replaced by manual confirmation. 3. The calculated telemetry values before and after deletion calculate the data change rate at each moment to form a set {C} and a set {D}. If the deviation between the {C}n quantile value and the {D}n quantile value exceeds 1% or the deviation between the {C}(n-1) quantile value and the {D}(n-1) quantile value exceeds 1%, the audit will fail, or it will be replaced by manual confirmation. 5. After approval, the formula file is transmitted to the distribution network automation system, and the naming method should at least include the work order number and date.
[0067] Step S203: When there is no abnormality in the content of the modification order, the formula maintenance tool is used in the distribution network automation system to modify the calculation formula of the telemetry.
[0068] After the modification sheet is approved and confirmed to be free of any abnormalities, the operator uses the formula maintenance tool in the distribution network automation system to modify the formula for calculating the telemetry. The formula maintenance tool will display the content of the modification sheet, and the operator needs to confirm that it is correct before making any modifications.
[0069] Specifically, the formula maintenance tool should have the following functions:
[0070] 1. Select the formula file. 2. Verify the date and A / B value of the formula file name and content. If the date in the file name and content is inconsistent, the library cannot be changed; if the A / B value in the file name and content is inconsistent with the A / B value currently in the "pending" state, the library cannot be changed. 3. Formula content display function. The list on the left shows the current effective value formula and the ID of each component collection point, click description. The list on the right shows the formula of the formula file and the ID of each component collection point, click description. The time, submitter, reviewer, object name to be modified, A / B value to be modified, and the current label status of the object to be modified are listed above the list. 4. Highlight the differences in the formula content. Compare the formulas and the ID of each component collection point in the list on the left and the list on the right, click description one by one, and highlight the differences. 5. Double confirmation before modification. After confirming that the modified content of the formula file is correct, click "Modify" to start the submitter and reviewer authorization confirmation window, and the modification is authorized by two-factor authentication. Check whether the submitter and reviewer are consistent with the submitter and reviewer in the formula file. If they are inconsistent, modification is not allowed.
[0071] It should be noted that the formula for calculating the telemetry is configured in the following manner: Calculation of telemetry K = enabling coefficient*A value+enabling coefficient negation*B value.
[0072] Among them, 1. The enabling coefficient takes a value of 0 or 1. 2. Both A value and B value are values for calculating the telemetry K, but currently only one of them is an effective value and the other is a pending effective value. The enabling coefficient of the effective value is 1, and the enabling coefficient of the pending effective value is 0. 3. The enabling coefficient is set by the user, and can only be operated on the icon sign object of the A value. For example, if the A value sign is operated "Set to Effective", the sign changes from "Pending Effective" to "Effective", and the enabling coefficient changes from 0 to 1. 4. If the A value sign is operated "Set to To Be Effective", the sign changes from "Effective" to "Pending Effective", and the enabling coefficient changes from 1 to 0. 5. It can only be switched within the time window of review and approval.
[0073] Step S204: the distribution network automation service management system transmits the modification order to the switching link.
[0074] After the modification is completed, the operator will transfer the modification order to the switching link in the distribution network automation business management system to prepare for the state switching operation. The transfer process must ensure that the modification order information is complete and accurate.
[0075] Step S205, check whether the to-be-validated calculation telemetry quantity is abnormal. If the to-be-validated calculation telemetry quantity is abnormal, check again whether the modification order is abnormal.
[0076] Before the switching stage, the system automatically observes whether the calculation telemetry to be effective (i.e. the modified calculation telemetry) is abnormal. The observation content includes the rationality of the calculated value, whether the data change rate exceeds the preset range, etc. If an abnormality is found, the process will return to step S202 to review the content of the modification order to check whether there are omissions or errors.
[0077] Step S206, when there is no abnormality in the calculated telemetry quantity to be effective, modify the calculated telemetry quantity A value icon sign status in the distribution network automation system.
[0078] After confirming that there is no abnormality in the calculated telemetry value to be effective, the operator modifies the icon sign status of the calculated telemetry value A in the distribution network automation system, that is, switches it from the "to be effective" status to the "effective" status, so that the modified calculated telemetry value is officially effective.
[0079] Step S207, archive the modification sheet.
[0080] After completing the state switch, the operator will archive the modification order to record the modification history and operation results. The archived information should include key information such as the modification date, time, operator, reviewer, and calculation telemetry formulas before and after the modification, for subsequent query and audit.
[0081] In summary, in the distribution network automation business management system, operators complete the modification of the formula of the value to be effective through the system interface. At this stage, the modification of the calculation logic will not immediately affect the currently effective calculation results, so a relatively safe environment can be provided for modification and adjustment. After the modification, the system will generate a modification sheet, which will record in detail the content, time, calculation components involved and other information of the modification. The modification sheet will be submitted to the auditor for review to ensure the correctness and rationality of the modification. The auditor will review the consistency of the calculation components and the modification details through the preset list and color-coded comparison display function, and confirm the authorization after confirming that the modification is correct. Once the review is passed, the modified formula will be marked as a value to be effective, waiting for the next step of effective switching.
[0082] According to the preset judgment conditions (such as average change rate, data consistency, etc.), a low-risk time window is automatically determined to switch the modified calculation logic (i.e., the value to be effective) to the currently effective calculation logic. Within the determined time window, the system generates the target message and displays a confirmation window, requiring the modifier and the reviewer to confirm again to ensure the accuracy of the operation. After confirmation, the system executes the switching operation to make the modified calculation logic effective. This process is carried out within a low-risk time window, which greatly reduces the risk of data jumps caused by the switching operation.
[0083] Through the above steps, it can be seen that this embodiment breaks down the modification process of the calculation telemetry into two parts, which can control and reduce the risk of misoperation at each stage. First, in the stage of modifying the formula, a detailed modification list and a two-person review mechanism are used to ensure the correctness of the modification content; second, in the stage of switching effectiveness, the stability of the system operation when the calculation logic is switched is ensured by automatically judging the low-risk time window and the target confirmation mechanism. This risk decomposition strategy not only effectively reduces the risk of misoperation in the modification of the calculation telemetry, but also improves the operational safety of the distribution network automation system and reduces the scheduling operation interference caused by data anomalies.
[0084] Figure 3 is a structural diagram of a modification device for computing telemetry according to an embodiment of the present application, such as Figure 3 As shown, the device comprises:
[0085] The acquisition module 31 is used to acquire the objective function used for calculating the telemetry, wherein the objective function includes a first enabling coefficient, a second enabling coefficient, a first function corresponding to the first enabling coefficient, and a second function corresponding to the second enabling coefficient.
[0086] The receiving module 32 is used to receive a first value of the first enabling coefficient and a second value of the second enabling coefficient, and obtain a first calculation component of the change of the first objective function compared to the second objective function within a first preset time length, wherein the first objective function is a function in which the value of the received enabling coefficient is 0 in the first function and the second function, and the second objective function is a function in which the value of the received enabling coefficient is 1 in the first function and the second function.
[0087] The first judgment module 33 is used to judge whether the first calculation component is abnormal. When the first calculation component is normal, the target function is used to calculate the calculation telemetry to obtain the target calculation telemetry.
[0088] The second judgment module 34 is used to judge whether there is an abnormality in the target calculation telemetry according to the first function value corresponding to the first function and the second function value corresponding to the second function.
[0089] The generation module 35 is used to generate a target message for indicating the icon sign status of switching the first function and the second function according to the first value and the second value when there is no abnormality in the target calculation telemetry, wherein the icon sign status includes: effective and to be effective.
[0090] Optionally, the generation module 35 is also used to perform the following steps: determine a first average change rate of a first objective function value corresponding to the first objective function within a second preset time length and a second average change rate of a second objective function value corresponding to the second objective function within a second preset time length; when the first average change rate and the second average change rate are both less than a first preset percentage, generate a target message within a second preset time length from a preset start time.
[0091] Optionally, the first judgment module 33 is also used to perform the following steps: determine whether the calculation component added to the first calculation component is refreshed within a third preset time length, if the added calculation component is not refreshed within the third preset time length, determine that the first calculation component is abnormal; determine whether the calculation telemetry quantity and the telesignal quantity in the calculation component added to the first calculation component are consistent, if the calculation telemetry quantity and the telesignal quantity in the calculation component added to the first calculation component are inconsistent, determine that the calculation component added to the first calculation component is abnormal; calculate the data change rate of the calculation component added to the first calculation component in multiple first time intervals to obtain a first data set, calculate the data change rate of the calculation component in the second objective function in multiple first time intervals to obtain a second data set; if the maximum value in the first data set is less than the (1-n)th quantile value in the second data set and / or the minimum value in the first data set is greater than the nth quantile value in the second data set, determine that the added calculation component is abnormal, where n is a natural number between [0,1].
[0092] Optionally, the first judgment module 33 is also used to perform the following steps: determine the target average value of the ratio of the numerical value of the reduced calculation component in the first calculation component to the first objective function value within a fourth preset time length, if the target average value is greater than the second preset percentage, determine that the reduced calculation component in the first calculation component has an abnormality; determine whether the number of reduced calculation components in the first calculation component is greater than the first preset threshold value, if the number of reduced calculation components in the first calculation component is greater than the first preset threshold value, determine that the reduced calculation component in the first calculation component has an abnormality; calculate the data change rate of the first objective function value in multiple second time intervals, and obtain The third data set is used to calculate the data change rate of the second objective function value in multiple second time intervals to obtain a fourth data set; the first deviation between the m quantile value in the third data set and the m quantile value in the fourth data set is calculated, the first ratio of the first deviation to the m quantile value in the third data set is calculated, the second deviation between the 1-m quantile value in the third data set and the 1-m quantile value in the fourth data set is calculated, and the second ratio of the second deviation to the 1-m quantile value in the third data set is calculated; if the first ratio and / or the second ratio is greater than the third preset percentage, it is determined that the reduced calculation component in the first calculation component is abnormal.
[0093] Optionally, the calculation telemetry measurement modification device is also used to perform the following steps after calculating the calculation telemetry measurement using the target function to obtain the target calculation telemetry measurement: display the first identification information and first description information of the first sampling point corresponding to the calculation component in the first function at the first preset position of the preset list; display the second identification information and second description information of the second sampling point corresponding to the calculation component in the second function at the second preset position of the preset list; display the identification information of the modification object of the first value and the second value and the identification information of the review object, the graphic sign status of the first function, and the graphic sign status of the second function at the third preset position of the preset list; use the first color to display the information in the first identification information that is consistent with the second identification information, use the first color to display the information in the first description information that is consistent with the second description information, use the second color to display the information in the first identification information that is inconsistent with the second identification information, and use the second color to display the information in the first description information that is inconsistent with the second description information.
[0094] Optionally, the generation module 35 is also used to perform the following steps: generate a confirmation window for confirming the generation of a target message, wherein the confirmation window includes a target character; obtain identification information of a target object that generates an operation on the target character in the confirmation window, and verify whether the identification information of the target object that generates an operation on the confirmation window is consistent with the identification information of the modification object in the preset list and the identification information of the review object; generate a target message when the identification information of the target object that generates an operation on the confirmation window is consistent with the identification information of the modification object in the preset list and the identification information of the review object.
[0095] Optionally, the second judgment module 34 is further configured to perform the following steps: determining that the target calculation telemetry is abnormal when at least one of the following preset conditions is met: |K a (t)-K b (t)|>|H a -H b |、||K a (t)-K a (t-1)|-|K b (t)-K b (t-1))||>max{H a ,H b} / min{H a ,H b}、|K a (t)-K a (t-1)|>T K Or |K b (t)-K b (t-1)|>T K 、|[K a (t)-K b (t)]-[K a (t-1)-K b (t-1)]|>T K 、|K a (t)-K b (t)|=0; where K a (t) is the first function value at time t, K b (t) is the value of the second function at time t, K a (t) is the first function value at time t-1, K b (t) is the value of the second function at time t-1, H a is the upper limit of the first function value, H b is the upper limit of the second function value, T K A second preset threshold corresponding to the rate of change of the target telemetry value is calculated, where t is a positive integer greater than 1.
[0096] It should be noted that the above Figure 3 The modules in the embodiment may be program modules (e.g., a set of program instructions for implementing a specific function) or hardware modules. For the latter, they may be expressed in the following forms, but are not limited thereto: the expression form of the above modules is a processor, or the functions of the above modules are implemented by a processor.
[0097] It should be noted that Figure 3 The preferred implementation of the illustrated embodiment can be found in Figure 1 The relevant description of the illustrated embodiment will not be repeated here.
[0098] Figure 4 The hardware structure block diagram of a computer terminal for implementing a modification method of computing telemetry is shown. Figure 4 As shown, the computer terminal 40 may include one or more (402a, 402b, ..., 402n are used to illustrate) processors 402 (the processor 402 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 404 for storing data, and a transmission module 406 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 4 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 4 More or fewer components as shown, or with Figure 4 Different configurations are shown.
[0099] It should be noted that the one or more processors 402 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 40. As involved in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0100] The memory 404 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the method for modifying the computational telemetry in the embodiment of the present application. The processor 402 executes various functional applications and data processing by running the software programs and modules stored in the memory 404, that is, the method for modifying the computational telemetry described above is implemented. The memory 404 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 404 may further include a memory remotely arranged relative to the processor 402, and these remote memories may be connected to the computer terminal 40 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0101] The transmission module 406 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 40. In one example, the transmission module 406 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission module 406 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0102] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 40 .
[0103] It should be noted that, in some optional embodiments, the above Figure 4 The computer terminal shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of hardware elements and software elements. It should be noted that Figure 4 This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the computer terminal described above.
[0104] It should be noted that Figure 4 The computer terminal shown is used to execute Figure 1 The method for modifying the calculation telemetry shown, therefore the relevant explanations in the execution method of the above command are also applicable to the electronic device and will not be repeated here.
[0105] An embodiment of the present application further provides a non-volatile storage medium, which includes a stored program, wherein when the program is run, the device where the storage medium is located is controlled to execute the above method for modifying the computational telemetry.
[0106] A program for a non-volatile storage medium to perform the following functions: obtaining an objective function applied to a computational telemetry measurement, wherein the objective function includes a first enabling coefficient, a second enabling coefficient, a first function corresponding to the first enabling coefficient, and a second function corresponding to the second enabling coefficient; receiving a first value of the first enabling coefficient and a second value of the second enabling coefficient, and obtaining a first computational component of a change in the first objective function compared to the second objective function within a first preset time length, wherein the first objective function is a function in which the value of the received enabling coefficient is 0 in the first function and the second function, and the second objective function is a function in which the value of the received enabling coefficient is 1 in the first function and the second function; determining whether the first computational component is abnormal, and when the first computational component is normal, calculating the computational telemetry measurement using the objective function to obtain a target computational telemetry measurement; determining whether the target computational telemetry measurement is abnormal according to a first function value corresponding to the first function and a second function value corresponding to the second function; and generating a target message for indicating a graphical sign state of switching the first function and the second function according to the first value and the second value when the target computational telemetry measurement is not abnormal, wherein the graphical sign state includes: effective and to be effective.
[0107] An embodiment of the present application also provides an electronic device, including: a memory and a processor, the processor being used to run a program stored in the memory, wherein the above method for modifying the computational telemetry is executed when the program is running.
[0108] The processor is used to run a program that performs the following functions: obtaining an objective function applied to a computational telemetry measurement, wherein the objective function includes a first enabling coefficient, a second enabling coefficient, a first function corresponding to the first enabling coefficient, and a second function corresponding to the second enabling coefficient; receiving a first value of the first enabling coefficient and a second value of the second enabling coefficient, and obtaining a first computational component of a change in the first objective function compared to the second objective function within a first preset time length, wherein the first objective function is a function in which the value of the received enabling coefficient is 0 in the first function and the second function, and the second objective function is a function in which the value of the received enabling coefficient is 1 in the first function and the second function; determining whether the first computational component is abnormal, and when the first computational component is normal, calculating the computational telemetry measurement using the objective function to obtain a target computational telemetry measurement; determining whether the target computational telemetry measurement is abnormal based on a first function value corresponding to the first function and a second function value corresponding to the second function; and generating a target message for indicating a graphical sign state of switching the first function and the second function based on the first value and the second value when the target computational telemetry measurement is not abnormal, wherein the graphical sign state includes: effective and to be effective.
[0109] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0110] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0111] In the above-mentioned embodiments of the present application, the collected information is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary protection measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0112] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0113] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0114] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0115] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the relevant technology or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.
[0116] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for modifying a computational telemetry measurement, characterized in that: include: Acquire an objective function applied to calculate telemetry, wherein the objective function includes a first enabling coefficient, a second enabling coefficient, a first function corresponding to the first enabling coefficient, and a second function corresponding to the second enabling coefficient; Receive a first value of the first enabling coefficient and a second value of the second enabling coefficient, and obtain a first calculation component of a change in a first objective function compared to a second objective function within a first preset time length, wherein the first objective function is a function in which the value of the received enabling coefficient is 0 in the first function and the second function, and the second objective function is a function in which the value of the received enabling coefficient is 1 in the first function and the second function; Determining whether the first computing component is abnormal, and if the first computing component is normal, calculating the computing telemetry using the objective function to obtain a target computing telemetry; determining whether there is an abnormality in the target calculation telemetry according to a first function value corresponding to the first function and a second function value corresponding to the second function; When there is no abnormality in the target calculation telemetry, a target message for indicating the icon sign status of switching the first function and the second function is generated according to the first value and the second value, wherein the icon sign status includes: effective and to be effective.
2. The method according to claim 1, characterized in that Generating a target message for indicating a state of a graphic sign for switching the first function and the second function, comprising: Determine a first average change rate of a first objective function value corresponding to the first objective function within a second preset time length and a second average change rate of a second objective function value corresponding to the second objective function within the second preset time length; When the first average change rate and the second average change rate are both less than a first preset percentage, the target message is generated within the second preset time period from the preset start time.
3. The method according to claim 1, characterized in that Determining whether the first calculation component is abnormal includes: Determining whether the added calculation component in the first calculation component is refreshed within a third preset time length, and if the added calculation component is not refreshed within the third preset time length, determining that the first calculation component is abnormal; Determining whether the calculated telemetry quantity and the telesignaling quantity in the calculated component added in the first calculated component are consistent, and if the calculated telemetry quantity and the telesignaling quantity in the calculated component added in the first calculated component are inconsistent, determining that the calculated component added in the first calculated component is abnormal; Calculate the data change rate of the calculation component added in the first calculation component within multiple first time intervals to obtain a first data set, and calculate the data change rate of the calculation component in the second objective function within multiple first time intervals to obtain a second data set; If the maximum value in the first data set is smaller than the (1-n)th percentile value in the second data set and / or the minimum value in the first data set is larger than the nth percentile value in the second data set, the added calculation component is determined to be abnormal, where n is a natural number between [0,1].
4. The method according to claim 1, characterized in that: Determining whether the first calculation component is abnormal includes: Determine a target average value of a ratio of a value of the reduced calculation component in the first calculation component to the first objective function value within a fourth preset time length, and if the target average value is greater than a second preset percentage, determine that an abnormality exists in the reduced calculation component in the first calculation component; Determine whether the number of the reduced calculation components in the first calculation component is greater than a first preset threshold, and if the number of the reduced calculation components in the first calculation component is greater than the first preset threshold, determine that there is an abnormality in the reduced calculation components in the first calculation component; Calculate the data change rate of the first objective function value in multiple second time intervals to obtain a third data set, and calculate the data change rate of the second objective function value in multiple second time intervals to obtain a fourth data set; Calculate a first deviation between the m quantile values in the third data set and the m quantile values in the fourth data set, calculate a first ratio of the first deviation to the m quantile values in the third data set, calculate a second deviation between the 1-m quantile values in the third data set and the 1-m quantile values in the fourth data set, and calculate a second ratio of the second deviation to the 1-m quantile values in the third data set; If the first ratio and / or the second ratio is greater than a third preset percentage, it is determined that an abnormality exists in the reduced calculation component in the first calculation component.
5. The method according to claim 1, characterized in that: After calculating the computational telemetry using the objective function to obtain the target computational telemetry, the method further includes: Displaying first identification information and first description information of a first sampling point corresponding to a calculation component in the first function at a first preset position in a preset list; Displaying second identification information and second description information of a second sampling point corresponding to the calculation component in the second function at a second preset position in the preset list; Displaying identification information of the modification object of the first value and the second value and identification information of the review object, the icon sign state of the first function and the icon sign state of the second function at a third preset position of the preset list; The first color is used to display information in the first identification information that is consistent with the second identification information, the first color is used to display information in the first description information that is consistent with the second description information, the second color is used to display information in the first identification information that is inconsistent with the second identification information, and the second color is used to display information in the first description information that is inconsistent with the second description information.
6. The method according to claim 5, characterized in that Generating a target message for indicating a state of a graphic sign for switching the first function and the second function, comprising: generating a confirmation window for confirming the generation of the target message, wherein the confirmation window includes the target characters; Obtain identification information of a target object that generates an operation behavior on the target character in the confirmation window, and verify whether the identification information of the target object that generates the operation behavior on the confirmation window is consistent with the identification information of the modification object in the preset list and the identification information of the review object; When the identification information of the target object that generates the operation behavior on the confirmation window is consistent with the identification information of the modification object and the identification information of the review object in the preset list, the target message is generated.
7. The method according to claim 1, characterized in that Judging whether there is an abnormality in the target calculation telemetry according to a first function value corresponding to the first function and a second function value corresponding to the second function, includes: When at least one of the following preset conditions is met, it is determined that the target computing telemetry is abnormal: |K a (t)-K b (t)|>|H a -H b |, ||K a (t)-K a (t - 1)|-|K b (t)-K b (t - 1))||>max{H a , H b} / min{H a , H b}, |K a (t)-K a (t - 1)|>T K Or |K b (t)-K b (t - 1)|>T K , |[K a (t)-K b (t)]-[K a (t-1)-K b (t-1)]|>T K 、|K a (t)-K b (t)|=0; Among them, K a (t) is the first function value at time t, K b (t) is the value of the second function at time t, K a (t) is the first function value at time t-1, K b (t) is the value of the second function at time t-1, H a is the upper limit of the first function value, H b is the upper limit of the second function value, T K A second preset threshold corresponding to the rate of change of the target telemetry value is calculated, where t is a positive integer greater than 1.
8. A device for modifying computational telemetry, characterized in that: include: An acquisition module, used to acquire an objective function applied to calculate telemetry, wherein the objective function includes a first enabling coefficient, a second enabling coefficient, a first function corresponding to the first enabling coefficient, and a second function corresponding to the second enabling coefficient; A receiving module, configured to receive a first value of the first enabling coefficient and a second value of the second enabling coefficient, and obtain a first calculation component of a change in a first objective function compared to a second objective function within a first preset time length, wherein the first objective function is a function in which the value of the received enabling coefficient is 0 in the first function and the second function, and the second objective function is a function in which the value of the received enabling coefficient is 1 in the first function and the second function; A first judgment module is used to judge whether the first calculation component is abnormal. When the first calculation component is normal, the objective function is used to calculate the calculation telemetry to obtain the target calculation telemetry; A second judgment module is used to judge whether there is an abnormality in the target calculation telemetry according to a first function value corresponding to the first function and a second function value corresponding to the second function; A generation module is used to generate a target message for indicating the icon sign status of switching the first function and the second function according to the first value and the second value when there is no abnormality in the target calculation telemetry, wherein the icon sign status includes: effective and to be effective.
9. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute the method for modifying the computational telemetry measurement as described in any one of claims 1 to 7.
10. An electronic device, characterized in that: include: A memory and a processor, wherein the processor is used to run a program stored in the memory, wherein the program, when running, executes the method for modifying the computational telemetry quantity as described in any one of claims 1 to 7.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for modifying the computational telemetry measurement according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Transformer substation jump data monitoring method, device and system
CN112436611A
Improvements in and relating to measurement devices
CN117730316A
Telemetering data processing method and device based on transformer substation and electronic equipment
CN118921291A
Telemetering dead number data processing method and device, equipment and storage medium
CN119066552A
Automatic remote terminal of power distribution network
CN209217801U
Cited By
Constant-temperature pressure tracing method and system
CN122282194A