Danger level determination method and device, computer device and readable storage medium
Patent Information
- Application Number
- CN202310320379.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2043-03-23
AI Technical Summary
目前对电缆线路进行风险评估的过程中,存在对电力电缆采样点危险等级判断的准确性较低的不足
[0034]上述危险等级判定方法、装置、计算机设备、可读存储介质和计算机程序产品,获取电力电缆采样点的历史温度数据,即获取在包括当天在内的X个历史采样日内的温度数据,并根据各历史采样日内多个预设温度区间对应的温度个数,确定各历史采样日内各温度区间对应的历史温度数据的温度权重,进而根据温度权重和历史温度数据确定X个历史采样日的第一温度均值,最后,再根据第一温度均值判定采样点的危险等级。通过上述危险等级判定方法判定采样点的危险等级,有利于提高对电力电缆采样点危险等级判断的准确性和有效性,进一步地,有利于提高对电力电缆线路风险评估的准确性。
Smart Images

Figure CN116381407B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power distribution network technology, and in particular to a method, apparatus, computer equipment, readable storage medium, and computer program product for determining hazard level. Background Technology
[0002] As a crucial component of power distribution networks, any abnormalities in power cables directly impact the interests of users and power supply companies. Therefore, regular maintenance of cable lines to mitigate anomalies and prevent risks is of paramount importance. The most critical aspect of cable line maintenance is risk assessment, which comprehensively considers the degree of risk and potential losses, asset losses, and risk probabilities associated with cable operation. The resulting risk values and risk levels provide a theoretical basis for maintenance decisions. Currently, the risk assessment process for power cables suffers from a deficiency in the accuracy of determining the hazard level of sampling points. Summary of the Invention
[0003] Therefore, it is necessary to provide a hazard level determination method, device, computer equipment, readable storage medium, and computer program product that can improve the accuracy of hazard level determination for power cable sampling points, addressing the aforementioned technical problems.
[0004] Firstly, this application provides a method for determining the hazard level, the method comprising:
[0005] Acquire historical temperature data from power cable sampling points. Historical temperature data refers to temperature data within X historical sampling days, including the current day, where X is a positive integer.
[0006] The temperature weight of the historical temperature data corresponding to each temperature interval within each historical sampling day is determined based on the number of temperatures corresponding to multiple preset temperature intervals within each historical sampling day.
[0007] The first average temperature of X historical sampling days is determined based on temperature weights and historical temperature data.
[0008] The hazard level of the sampling point is determined based on the average temperature.
[0009] In one embodiment, the temperature weights include a first temperature weight, a second temperature weight, and a third temperature weight; determining the temperature weights of historical temperature data corresponding to each temperature interval within each historical sampling day includes:
[0010] Determine the first temperature weight of the historical temperature data corresponding to the first temperature interval within each historical sampling day.
[0011] Determine the second temperature weight of the historical temperature data corresponding to the second temperature interval within each historical sampling day;
[0012] Determine the third temperature weight of the historical temperature data corresponding to the third temperature interval within each historical sampling day.
[0013] The first temperature range is not lower than a first fixed value, the second temperature range is lower than a second fixed value but not lower than a third fixed value, and the third temperature range is the temperature range other than the first and second temperature ranges. The first fixed value is greater than the second fixed value, and the second fixed value is greater than the third fixed value.
[0014] In one embodiment, the second temperature weight is expressed as:
[0015]
[0016] Where P2 is the second temperature weight, n1, n2, and n3 are the number of temperatures in the first, second, and third temperature intervals within each historical sampling day, respectively, and k1, k2, and k3 are the conversion coefficients for the number of temperatures in the first, second, and third temperature intervals, respectively.
[0017] In one embodiment, when X is not less than 2, the first average temperature of X historical sampling days is determined based on temperature weights and historical temperature data, including:
[0018] The second average temperature for each historical sampling day is obtained based on temperature weighting and historical temperature data.
[0019] The first temperature mean of X historical sampling days is determined based on X second temperature mean values.
[0020] In one embodiment, determining the first temperature average of X historical sampling days based on X second temperature averages includes:
[0021] The fourth temperature weight corresponding to each historical sampling day is determined based on X;
[0022] The first temperature mean of X historical sampling days is determined based on the fourth temperature weight and the second temperature mean corresponding to each historical sampling day.
[0023] In one embodiment, the fourth temperature weight is represented as:
[0024]
[0025] Among them, Q X Let b be the fourth temperature weight corresponding to the Xth historical sampling day, and b be the number of days between each historical sampling day and the current day, where b = 0, 1, 2, ..., X-1.
[0026] Secondly, this application also provides a hazard level determination device, which includes:
[0027] The temperature acquisition module is used to acquire historical temperature data of power cable sampling points. Historical temperature data refers to temperature data within X historical sampling days, including the current day, where X is a positive integer.
[0028] The weight determination module is used to determine the temperature weight of the historical temperature data corresponding to each temperature interval within each historical sampling day based on the number of temperatures corresponding to multiple preset temperature intervals within each historical sampling day.
[0029] The mean determination module is used to determine the first temperature mean of X historical sampling days based on temperature weights and historical temperature data.
[0030] The hazard level determination module is used to determine the hazard level of the sampling point based on the first average temperature.
[0031] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described method.
[0032] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method.
[0033] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described method.
[0034] The aforementioned hazard level determination method, apparatus, computer equipment, readable storage medium, and computer program product acquire historical temperature data of power cable sampling points, specifically temperature data over X historical sampling days, including the current day. Based on the number of temperatures corresponding to multiple preset temperature intervals within each historical sampling day, the temperature weights of the historical temperature data corresponding to each temperature interval within each historical sampling day are determined. Then, based on the temperature weights and the historical temperature data, a first average temperature over the X historical sampling days is determined. Finally, the hazard level of the sampling point is determined based on the first average temperature. Determining the hazard level of sampling points using this method improves the accuracy and effectiveness of hazard level assessment for power cable sampling points, and further, enhances the accuracy of risk assessment for power cable lines. Attached Figure Description
[0035] Figure 1 This is one of the flowcharts illustrating a hazard level determination method in one embodiment;
[0036] Figure 2 This is a flowchart illustrating the process of determining the temperature weights of historical temperature data corresponding to each temperature range within each historical sampling day in one embodiment.
[0037] Figure 3 This is a schematic diagram of a process for determining the first average temperature of X historical sampling days based on temperature weights and historical temperature data in one embodiment.
[0038] Figure 4 This is a schematic diagram of a process for determining the average temperature of X historical sampling days based on X second average temperatures in one embodiment.
[0039] Figure 5 This is a second flowchart illustrating a hazard level determination method in one embodiment;
[0040] Figure 6 This is a structural block diagram of a hazard level determination device in one embodiment;
[0041] Figure 7 This is an internal structural diagram of a computer device in one embodiment.
[0042] Explanation of icon numbers:
[0043] Hazard level determination device: 10; Temperature acquisition module: 11; Weight determination module: 12; Mean determination module: 13; Level determination module: 14. Detailed Implementation
[0044] To facilitate understanding of the embodiments of this application, a more comprehensive description of the embodiments of this application will be provided below with reference to the accompanying drawings. The drawings illustrate preferred embodiments of the embodiments of this application. However, the embodiments of this application can be implemented in many different forms and are not limited to the embodiments described herein. Rather, these embodiments are provided to make the disclosure of the embodiments of this application more thorough and complete.
[0045] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which embodiments of this application belong. The terminology used herein in the description of embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of this application.
[0046] It is understood that the term "including / comprises" specifies the presence of the stated feature, whole, step, operation, component, part, or combination thereof, but does not preclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. Meanwhile, the terms "first," "second," etc., are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0047] like Figure 1 As shown in the figure, this application provides a method for determining the hazard level, which includes the following steps 110 to 140.
[0048] Step 110: Obtain historical temperature data from the power cable sampling points. Historical temperature data refers to temperature data within X historical sampling days, including the current day, where X is a positive integer. To improve the accuracy of the hazard level determination, temperature data from X historical sampling days, including the current day, should be obtained with the current sampling time as a reference. X can be 1 or other positive integers. It should be understood that a larger X value indicates more historical temperature data obtained, which helps to rule out occasional temperature anomalies and ensures the validity of the historical temperature data. However, to ensure that all historical temperature data is useful for the determination result, an upper limit can be set for X, meaning that historical temperature data from sampling points older than the upper limit number of days should not be obtained.
[0049] Step 120: Determine the temperature weight of the historical temperature data corresponding to each temperature interval within each historical sampling day based on the number of temperatures corresponding to multiple preset temperature intervals within each historical sampling day. Specifically, based on the acquired temperature data for each historical sampling day, the number of temperatures corresponding to multiple preset temperature intervals within each historical sampling day can be directly calculated. The division of preset temperature intervals is related to the highest temperature that the cable line can withstand; the specific intervals can be estimated based on experiments. In this embodiment, the temperature of the power cable sampling points may be within the normal temperature range, or it may be higher or lower than the normal temperature range. To make the average temperature value of the historical temperature data tend to a stable temperature range and improve the effectiveness of this average temperature value, weights can be set for the temperatures of different temperature intervals.
[0050] Step 130: Determine the first average temperature for X historical sampling days based on temperature weights and historical temperature data. Each historical sampling day has a corresponding temperature weight for different temperature ranges. Based on this, the average temperature value of the historical temperature data over the X historical sampling days can be determined, i.e., the first average temperature.
[0051] Step 140: Determine the hazard level of the sampling point based on the first average temperature. In this embodiment, the hazard level of the power cable and the corresponding temperature value can be set as follows: above 80°C is high hazard; above 70°C and below 80°C is medium hazard; below 70°C is low hazard. The hazard level of the cable line can be determined based on the first average temperature and the hazard level classification standard. It should be understood that the hazard level classification standard varies depending on the cable line's model, materials, and other properties; this embodiment does not impose specific limitations.
[0052] In this embodiment, by acquiring historical temperature data of power cable sampling points and performing corresponding weighting processing on each historical temperature data according to the actual situation, the average temperature value of the historical temperature data is obtained, and the hazard level of the sampling point is determined based on the average temperature value. This helps to improve the accuracy and effectiveness of the hazard level judgment of power cable sampling points, and further helps to improve the accuracy of the risk assessment of power cable lines.
[0053] like Figure 2 As shown, in one embodiment, the temperature weights include a first temperature weight, a second temperature weight, and a third temperature weight; determining the temperature weights of the historical temperature data corresponding to each temperature range within each historical sampling day includes the following steps 210 to 230.
[0054] Step 210: Determine the first temperature weight of the historical temperature data corresponding to the first temperature interval within each historical sampling day.
[0055] Step 220: Determine the second temperature weight of the historical temperature data corresponding to the second temperature interval within each historical sampling day.
[0056] Step 230: Determine the third temperature weight of the historical temperature data corresponding to the third temperature interval within each historical sampling day.
[0057] The first temperature range is not lower than a first fixed value, the second temperature range is lower than a second fixed value but not lower than a third fixed value, and the third temperature range is the temperature range other than the first and second temperature ranges. The first fixed value is greater than the second fixed value, and the second fixed value is greater than the third fixed value.
[0058] In this embodiment, based on the maximum temperature the cable line can withstand and experimental results, the following settings can be made: a first setpoint of 90°C, a first temperature range greater than or equal to 90°C, and a corresponding first temperature weight of P1; a second setpoint of 80°C, a third setpoint of 65°C, a second temperature range greater than or equal to 65°C and less than 80°C, and a corresponding second temperature weight of P2; and a third temperature range greater than or equal to 80°C and less than 90°C, or less than 65°C, and a corresponding third temperature weight of P3. It should be understood that this embodiment only provides illustrative examples of the values for the first, second, and third setpoints and does not impose any specific limitations.
[0059] In this embodiment, by setting weights for temperatures in different temperature ranges, that is, by performing corresponding weighting processing on each historical temperature data, it is beneficial to make the average temperature value of the historical temperature data tend to a stable temperature range and improve the effectiveness of this average temperature value.
[0060] In one embodiment, the second temperature weight is expressed as:
[0061]
[0062] Where P2 is the second temperature weight, n1, n2, and n3 are the number of temperatures in the first, second, and third temperature intervals within each historical sampling day, respectively, and k1, k2, and k3 are the conversion coefficients for the number of temperatures in the first, second, and third temperature intervals, respectively.
[0063] Specifically, when the temperature at the sampling point falls within the first temperature range (90°C and above), it indicates an abnormal cable temperature. To avoid the average temperature value of historical temperature data becoming abnormal or invalid due to abnormally high temperatures, in this embodiment, when calculating the number of temperatures n1 corresponding to the first temperature range within each historical sampling day, the conversion factor k1 corresponding to the number of temperatures n1 can be set to 0. When the temperature at the sampling point falls within the second temperature range (greater than or equal to 65°C and less than 80°C), it indicates that the cable temperature is within the normal operating temperature range of the cable. In this embodiment, when calculating the number of temperatures n2 corresponding to the second temperature range within each historical sampling day, the conversion factor k2 corresponding to the number of temperatures n2 can be set to 1. When the temperature at the sampling point falls within the third temperature range (greater than or equal to 80°C and less than 90°C, or less than 65°C), correspondingly, if the temperature is greater than or equal to 80°C and less than 90°C, it indicates that the cable temperature is too high, and the power system may have faults such as short circuits; if the temperature is less than 65°C, it indicates that the cable temperature is too low, and measures such as artificial cooling may be necessary. To avoid anomalies in the average temperature value of historical temperature data due to excessively high or low temperatures, in this embodiment, when calculating the number of temperatures n3 corresponding to the third temperature interval within each historical sampling day, the weight of the number of temperatures corresponding to excessively high or low temperature data is symbolically reduced. The conversion factor k3 corresponding to the number of temperatures n3 can be set to 0.5. It should be understood that this embodiment only provides illustrative examples of the values of k1, k2, and k3 and does not impose any specific limitations.
[0064] In this embodiment, the first temperature weight P1 and the third temperature weight P3 can be expressed as follows:
[0065]
[0066]
[0067] Based on the above expression, if k1 is 0, k2 is 1, and k3 is 0.5, then:
[0068] The first temperature weight for temperature data greater than or equal to 90°C is:
[0069]
[0070] The second temperature weight for temperature data greater than or equal to 65°C and less than 80°C is:
[0071]
[0072] The third temperature weight for temperature data that is greater than or equal to 80°C and less than 90°C, or less than 65°C, is:
[0073]
[0074] Furthermore, if the number of historical temperature data points (n1) greater than or equal to 90°C within a certain historical sampling day is 2, the corresponding conversion factor (k1) is 0; the number of historical temperature data points (n2) greater than or equal to 65°C and less than 80°C is 20, the corresponding conversion factor (k2) is 1; and the number of historical temperature data points (n3) greater than or equal to 80°C and less than 90°C, or less than 65°C is 10, the corresponding conversion factor (k3) is 0.5, then:
[0075] The first temperature weight for temperature data greater than or equal to 90°C is:
[0076]
[0077] The second temperature weight for temperature data greater than or equal to 65°C and less than 80°C is:
[0078]
[0079] The third temperature weighting for temperatures greater than or equal to 80°C and less than 90°C, or less than 65°C, is as follows:
[0080]
[0081] In this embodiment, the temperature weight of the historical temperature data corresponding to each temperature interval within each historical sampling day can be determined based on the number of temperatures corresponding to multiple temperature intervals within each historical sampling day, so as to realize the corresponding weighted processing of each historical temperature data.
[0082] like Figure 3 As shown, in one embodiment, when X is not less than 2, determining the first average temperature of X historical sampling days based on temperature weights and historical temperature data includes the following steps 310 to 320.
[0083] Step 310: Obtain the second average temperature for each historical sampling day based on the temperature weight and historical temperature data.
[0084] Step 320: Determine the first temperature average of X historical sampling days based on X second temperature averages.
[0085] Specifically, the average second temperature corresponding to each historical sampling day can be expressed as:
[0086]
[0087] Among them, T2, X Let t be the average second temperature corresponding to the Xth historical sampling day. 2,i and t 3,j These are the temperature data for the second and third temperature ranges within each historical sampling day.
[0088] In this embodiment, the second average temperature value corresponding to each historical sampling day is obtained first, and then the first average temperature value of the X historical sampling days is determined based on the X second average temperature values, which helps to improve the effectiveness of the average temperature value of historical temperature data.
[0089] like Figure 4 As shown, in one embodiment, determining the first temperature average of X historical sampling days based on X second temperature averages includes steps 410 to 420.
[0090] Step 410: Determine the fourth temperature weight corresponding to each historical sampling day based on X.
[0091] Step 420: Determine the first temperature mean of X historical sampling days based on the fourth temperature weight and the second temperature mean corresponding to each historical sampling day.
[0092] In this embodiment, it can be understood that, in order to determine the current danger level of the cable, the cable temperature at the time point closer to the current sampling time should be more representative. Therefore, the fourth temperature weight of the second temperature mean corresponding to each historical sampling day can be determined based on the time between the historical sampling day and the current sampling time. Then, the first temperature mean of all historical temperature data within X historical sampling days can be determined by weighted calculation to further improve the effectiveness of the average temperature value of the historical temperature data.
[0093] In one embodiment, the fourth temperature weight is represented as:
[0094]
[0095] Among them, Q X Let b be the fourth temperature weight corresponding to the Xth historical sampling day, and b be the number of days between each historical sampling day and the current day, where b = 0, 1, 2, ..., X-1.
[0096] Specifically, if X = 5, then the number of days b since the first historical sampling day (i.e., the sampling day) is 0, and the fourth temperature weight corresponding to the first historical sampling day is:
[0097]
[0098] The number of days b from the second historical sampling day is 1. The fourth temperature weight corresponding to the second historical sampling day is:
[0099]
[0100] The number of days b from the third historical sampling day is 2. The weight of the fourth temperature corresponding to the third historical sampling day is:
[0101]
[0102] The number of days b from the fourth historical sampling day is 3. The weight of the fourth temperature corresponding to the fourth historical sampling day is:
[0103]
[0104] The number of days (b) between the 5th historical sampling day and the current day is 4. The weight of the fourth temperature corresponding to the 5th historical sampling day is:
[0105]
[0106] The first temperature mean of X historical sampling days is determined based on the fourth temperature weight and the second temperature mean corresponding to each historical sampling day. The first temperature mean T1 can then be expressed as:
[0107]
[0108] In this embodiment, the fourth temperature weight corresponding to each historical sampling day can be determined according to X, so as to perform corresponding weighting processing on the second temperature mean corresponding to each historical sampling day, thereby obtaining a more effective average temperature value of historical temperature data.
[0109] like Figure 5 As shown, in one embodiment, the hazard level determination method includes steps 510 to 580.
[0110] Step 510: Obtain historical temperature data for the power cable sampling points. Historical temperature data refers to temperature data within X historical sampling days, including the current day, where X is a positive integer. Step 520: Determine the first temperature weight of the historical temperature data corresponding to the first temperature interval within each historical sampling day based on the number of temperatures corresponding to multiple preset temperature intervals within each historical sampling day. Step 530: Determine the second temperature weight of the historical temperature data corresponding to the second temperature interval within each historical sampling day based on the number of temperatures corresponding to multiple preset temperature intervals within each historical sampling day. Step 540: Determine the third temperature weight of the historical temperature data corresponding to the third temperature interval within each historical sampling day based on the number of temperatures corresponding to multiple preset temperature intervals within each historical sampling day. Wherein, the first temperature interval is not lower than a first fixed value, the second temperature interval is lower than a second fixed value but not lower than a third fixed value, and the third temperature interval is the temperature interval other than the first and second temperature intervals. The first fixed value is greater than the second fixed value, and the second fixed value is greater than the third fixed value. The second temperature weight is expressed as:
[0111]
[0112] P2 represents the second temperature weight, n1, n2, and n3 are the number of temperatures in the first, second, and third temperature intervals within each historical sampling day, respectively, and k1, k2, and k3 are the conversion coefficients for the number of temperatures in the first, second, and third temperature intervals, respectively. Then, in step 550, when X is not less than 2, the average second temperature for each historical sampling day is obtained based on the temperature weights and historical temperature data. In step 560, the fourth temperature weight for each historical sampling day is determined based on X. The fourth temperature weight is expressed as:
[0113]
[0114] Q X Let b be the fourth temperature weight corresponding to the Xth historical sampling day, and b be the number of days between each historical sampling day and the current day, where b = 0, 1, 2, ..., X-1. Step 570: Determine the first temperature mean for the X historical sampling days based on the fourth temperature weight and the second temperature mean for each historical sampling day. Finally, step 580: Determine the hazard level of the sampling point based on the first temperature mean.
[0115] In this embodiment, historical temperature data of power cable sampling points are acquired, and the historical temperature data for each historical sampling day is weighted according to the actual situation to remove invalid temperature data, thereby obtaining the average temperature value of the historical temperature data for each historical sampling day. Furthermore, the average temperature value corresponding to each historical sampling day is weighted accordingly to obtain the average temperature value of all historical temperature data within multiple historical sampling days, thereby improving the effectiveness of the average temperature value. Determining the hazard level of the sampling point based on this average temperature value helps improve the accuracy and effectiveness of the hazard level assessment of power cable sampling points, and further, helps improve the accuracy of risk assessment of power cable lines.
[0116] It should be understood that, although the flowcharts involved in the embodiments described above are... Figures 1-5 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, the flowcharts involved in the embodiments described above... Figures 1-5 At least some of the steps in the process may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but may be executed at different times. The execution order of these steps or stages is not necessarily sequential, but may be executed in turn or alternately with other steps or at least some of the steps or stages in other steps.
[0117] Based on the same inventive concept, this application also provides a hazard level determination device for implementing the hazard level determination method described above. The solution provided by the hazard level determination device is similar to the solution described in the above method; therefore, the specific limitations in one or more embodiments of the hazard level determination device provided below can be found in the limitations of the hazard level determination method described above, and will not be repeated here.
[0118] like Figure 6As shown in the illustration, this application embodiment also provides a hazard level determination device 10, which includes a temperature acquisition module 11, a weight determination module 12, a mean determination module 13, and a hazard level determination module 14. The temperature acquisition module 11 is used to acquire historical temperature data of power cable sampling points. Historical temperature data refers to temperature data over X historical sampling days, including the current day, where X is a positive integer. The weight determination module 12 is used to determine the temperature weight of the historical temperature data corresponding to each temperature interval within each historical sampling day based on the number of temperatures corresponding to multiple preset temperature intervals within each historical sampling day. The mean determination module 13 is used to determine the first temperature mean over X historical sampling days based on the temperature weights and the historical temperature data. The hazard level determination module 14 is used to determine the hazard level of the sampling point based on the first temperature mean.
[0119] In one embodiment, the temperature weights include a first temperature weight, a second temperature weight, and a third temperature weight; the weight determination module 12 includes a first weight determination unit, a second weight determination unit, and a third weight determination unit. The first weight determination unit is used to determine the first temperature weight of the historical temperature data corresponding to the first temperature interval within each historical sampling day. The second weight determination unit is used to determine the second temperature weight of the historical temperature data corresponding to the second temperature interval within each historical sampling day. The third weight determination unit is used to determine the third temperature weight of the historical temperature data corresponding to the third temperature interval within each historical sampling day. Wherein, the first temperature interval is not lower than a first fixed value, the second temperature interval is lower than a second fixed value and not lower than a third fixed value, and the third temperature interval is a temperature interval other than the first and second temperature intervals, where the first fixed value is greater than the second fixed value, and the second fixed value is greater than the third fixed value.
[0120] In one embodiment, the mean determination module 13 includes a second mean acquisition unit and a first mean determination unit. The second mean acquisition unit is used to acquire the second temperature mean corresponding to each historical sampling day based on temperature weights and historical temperature data. The first mean determination unit is used to determine the first temperature mean for X historical sampling days based on X second temperature means.
[0121] In one embodiment, the first mean determination unit is further configured to determine the fourth temperature weight corresponding to each historical sampling day according to X, and determine the first temperature mean of X historical sampling days according to the fourth temperature weight and the second temperature mean corresponding to each historical sampling day.
[0122] Each module in the aforementioned hazard level determination device 10 can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0123] like Figure 7 As shown in the figure, this application embodiment also provides a computer device, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described hazard level determination method.
[0124] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0125] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the above-described hazard level determination method.
[0126] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described hazard level determination method.
[0127] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0128] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0129] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for determining hazard level, characterized in that, The method includes: Obtain historical temperature data of power cable sampling points, wherein the historical temperature data refers to the temperature data within X historical sampling days, including the current day, where X is a positive integer not less than 2; Based on the number of temperatures corresponding to multiple preset temperature intervals within each historical sampling day, the temperature weight of the historical temperature data corresponding to each temperature interval within each historical sampling day is determined. Determining the first average temperature for X historical sampling days based on the temperature weights and the historical temperature data includes: The second average temperature value corresponding to each of the historical sampling days is obtained based on the temperature weight and the historical temperature data. The fourth temperature weight corresponding to each of the historical sampling days is determined based on X; The first temperature average of X historical sampling days is determined based on the fourth temperature weight corresponding to each historical sampling day and the second temperature average. The hazard level of the sampling point is determined based on the first average temperature.
2. The method according to claim 1, characterized in that, The temperature weights include a first temperature weight, a second temperature weight, and a third temperature weight; determining the temperature weights of the historical temperature data corresponding to each of the temperature intervals within each of the historical sampling days includes: Determine the first temperature weight of the historical temperature data corresponding to the first temperature interval within each of the historical sampling days. Determine the second temperature weight of the historical temperature data corresponding to the second temperature interval within each of the historical sampling days; Determine the third temperature weight of the historical temperature data corresponding to the third temperature interval within each of the historical sampling days; Wherein, the first temperature range is not lower than a first fixed value, the second temperature range is lower than a second fixed value and not lower than a third fixed value, the third temperature range is a temperature range other than the first temperature range and the second temperature range, the first fixed value is greater than the second fixed value, and the second fixed value is greater than the third fixed value.
3. The method according to claim 2, characterized in that, The second temperature weight is expressed as: in, The second temperature weight is defined as follows: n1, n2, and n3 are the number of temperatures in the first temperature interval, the second temperature interval, and the third temperature interval within each of the historical sampling days, respectively; and k1, k2, and k3 are the conversion coefficients for the number of temperatures in the first temperature interval, the second temperature interval, and the third temperature interval, respectively.
4. The method according to claim 1, characterized in that, The fourth temperature weight is expressed as follows: in, Let b be the fourth temperature weight corresponding to the Xth historical sampling day, and b be the number of days between each historical sampling day and the current day, where b = 0, 1, 2, ..., X-1.
5. A hazard level determination device, applied to the method described in any one of claims 1 to 4, characterized in that, The device includes: The temperature acquisition module is used to acquire historical temperature data of power cable sampling points. The historical temperature data refers to the temperature data within X historical sampling days, including the current day, where X is a positive integer not less than 2. The weight determination module is used to determine the temperature weight of the historical temperature data corresponding to each of the temperature intervals within each of the historical sampling days based on the number of temperatures corresponding to multiple preset temperature intervals within each of the historical sampling days. The mean determination module is used to determine the first temperature mean for X historical sampling days based on the temperature weights and the historical temperature data, including: The mean determination module obtains the second temperature mean corresponding to each of the historical sampling days based on the temperature weight and the historical temperature data. The mean determination module determines the fourth temperature weight corresponding to each of the historical sampling days based on X; The mean determination module determines the first temperature mean for X historical sampling days based on the fourth temperature weight and the second temperature mean corresponding to each historical sampling day; The hazard level determination module is used to determine the hazard level of the sampling point based on the first average temperature.
6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.
8. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Treatment method of distribution type optical fiber temperature measuring data used for fire disaster alarm
CN101567117A
Method and system for forest fire risk assessment of mountainous area natural protected areas
CN111461578A
Building-level control method and system for heating system based on temperature diversity analysis
CN113701232A