Hydrogen early warning method and device, terminal equipment and storage medium
By generating a hydrogen concentration change curve and determining whether the current hydrogen concentration meets the early warning conditions, the problem of unreasonable early warning of hydrogen concentration changes in existing technologies is solved, achieving more accurate early warning and reducing safety risks.
Patent Information
- Application Number
- CN202310770799.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-27
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2043-06-27
AI Technical Summary
Existing technologies for early warning of changes in hydrogen concentration are unreasonable, have poor early warning effects, and pose risks of hydrogen leakage and high labor costs.
By obtaining historical hydrogen concentrations within the target time period, a hydrogen concentration change curve is generated. Based on the change curve, it is determined whether the current hydrogen concentration meets the warning conditions, and a warning message is generated.
It improves the accuracy of early warning of changes in hydrogen concentration, reduces safety risks, and reduces labor costs.
Smart Images

Figure CN116884183B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of hydrogen technology, and in particular relates to a hydrogen early warning method, device, terminal equipment and storage medium. Background Technology
[0002] Hydrogen energy boasts abundant resources, is green and low-carbon, and has wide applications, making it a primary industrial raw material used in various chemical fields. Under normal temperature and pressure, hydrogen gas is generally quite stable. However, in a confined space, if the volume fraction of hydrogen in the air is between 4% and 75%, it can cause an explosion upon contact with a source of ignition. Therefore, it is necessary to monitor the hydrogen concentration in confined spaces.
[0003] Current methods typically involve deploying numerous hydrogen detection devices in a confined space to monitor hydrogen concentration and issuing warnings when the concentration is too high. Alternatively, warnings can be issued manually based on personnel monitoring and recording.
[0004] However, when early warnings are issued based on hydrogen detection equipment, a serious hydrogen leak may have already occurred in the confined space. Furthermore, manual early warning methods are costly and susceptible to issues such as low safety awareness and negligence in supervision, leading to significant uncertainty regarding hydrogen concentration in confined spaces.
[0005] Therefore, the existing technology for early warning of changes in hydrogen concentration is unreasonable and has poor early warning effect. Summary of the Invention
[0006] This application provides a hydrogen early warning method, device, terminal equipment, and storage medium, which can solve the problem that the existing technology's methods for early warning of changes in hydrogen concentration are unreasonable and have poor early warning effects.
[0007] In a first aspect, embodiments of this application provide a hydrogen early warning method, the method comprising:
[0008] Obtain multiple historical hydrogen concentrations during the detection of a preset monitoring area within the target time period;
[0009] Based on the historical hydrogen concentration, the curves showing the change in hydrogen concentration are generated.
[0010] Obtain the actual hydrogen concentration at the current moment;
[0011] If the actual hydrogen concentration is determined to meet the preset warning conditions based on the change curve, a warning message will be generated.
[0012] Secondly, embodiments of this application provide a hydrogen warning device, which includes:
[0013] The first acquisition module is used to acquire multiple historical hydrogen concentrations when detecting a preset monitoring area within a target time period;
[0014] The first generation module is used to generate hydrogen concentration change curves based on various historical hydrogen concentrations.
[0015] The second acquisition module is used to acquire the actual hydrogen concentration at the current moment;
[0016] The second generation module is used to generate early warning information if the actual hydrogen concentration is determined to meet the preset early warning conditions based on the change curve.
[0017] Thirdly, embodiments of this application provide a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method described in the first aspect above.
[0018] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described in the first aspect above.
[0019] Fifthly, embodiments of this application provide a computer program product that, when run on a terminal device, causes the terminal device to execute the method described in the first aspect.
[0020] The beneficial effects of this application embodiment compared with the prior art are as follows: By acquiring multiple historical hydrogen concentrations during the detection of a preset monitoring area within a target time period, a change curve characterizing the hydrogen concentration change in the monitoring area within the target time period is generated. Then, the actual hydrogen concentration between the current time and the current time is acquired, and when the actual hydrogen concentration meets the preset warning conditions based on the generated hydrogen concentration change curve, a warning message can be generated to provide early warning to the monitoring area and reduce safety risks. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 This is a flowchart illustrating the implementation of a hydrogen early warning method according to an embodiment of this application;
[0023] Figure 2 This is a schematic diagram of the structure of a hydrogen early warning device provided in one embodiment of this application;
[0024] Figure 3 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application. Detailed Implementation
[0025] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0026] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0027] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0028] To monitor and issue early warnings about hydrogen concentration in confined spaces, existing methods typically involve deploying numerous hydrogen detection devices within the space to monitor hydrogen concentration and issuing warnings when the concentration is too high. Alternatively, warnings can be issued manually based on personnel monitoring and recording.
[0029] However, when early warnings are issued based on hydrogen detection equipment, a serious hydrogen leak may have already occurred in the confined space. Furthermore, manual early warning methods are costly and susceptible to issues such as low safety awareness and negligence in supervision, leading to significant uncertainty regarding hydrogen concentration in confined spaces.
[0030] Based on this, in order to reasonably provide early warning of changes in hydrogen concentration, this application provides a hydrogen early warning method. This hydrogen early warning method can be applied to terminal devices such as tablet computers, laptops, ultra-mobile personal computers (UMPCs), and netbooks, or to detection devices such as hydrogen detectors. This application does not impose any restrictions on the specific type of terminal device.
[0031] Please see Figure 1 , Figure 1 The following is a flowchart illustrating the implementation of a hydrogen early warning method according to an embodiment of this application. The method includes the following steps:
[0032] S101. Obtain multiple historical hydrogen concentrations when detecting a preset monitoring area within the target time period.
[0033] In one embodiment, the monitoring area can be the area where a hydrogen storage device is located. Within a monitoring area, one or more detection devices for monitoring hydrogen concentration can be installed. Furthermore, the model of each detection device can be the same or different; there is no limitation on this.
[0034] The detection equipment includes, but is not limited to, portable hydrogen detectors, pump-type hydrogen detectors, and online hydrogen detectors.
[0035] It should be noted that when there are multiple detection devices, multiple hydrogen concentrations can be detected simultaneously at any given time. In this case, the terminal device can determine the average value of the multiple hydrogen concentrations as the final hydrogen concentration at that moment.
[0036] The target time period can be set in advance by staff or determined based on historical hydrogen concentrations at historical moments; there are no restrictions on this.
[0037] For example, when implementing the hydrogen warning method in this instance, if the hydrogen concentration in the monitored area is too high, for example, if the hydrogen concentration exceeds the preset warning value, the terminal device will generate a warning message and send it to a pre-set warning terminal. At this time, when staff confirm receipt of the warning message based on the warning terminal, they will typically inspect and repair the storage devices in the monitored area to check for leaks. Simultaneously, they will reduce the hydrogen concentration in the monitored area. For example, this can be done through ventilation to prevent the long-term accumulation of hydrogen in the confined space.
[0038] Based on this, when selecting a target time period, the terminal device can first determine the two most recent target times before the current time. The historical hydrogen concentration corresponding to each target time is greater than the preset warning value. That is, the times when two warning messages are generated are selected. After the first warning message is generated, staff will inspect and repair the storage devices in the monitored area, reducing the hydrogen concentration in the monitored area. Therefore, at each time point after the first warning message is generated, the hydrogen concentration detected by the detection device can generally be considered to represent the normal change in hydrogen concentration in the monitored area when an undamaged storage device (without a leakage event) is operating.
[0039] Subsequently, when a second warning message is generated, it can be assumed that the storage device may be leaking, causing the hydrogen concentration in the monitored area to exceed the preset warning value. Therefore, at each time point between the first and second warning message generation, the hydrogen concentration detected by the detection device can generally characterize the normal changes in hydrogen concentration in the monitored area when the undamaged storage device is operating, and the abnormal changes in hydrogen concentration in the monitored area when a leak occurs in the undamaged storage device.
[0040] Understandably, defining the time interval between two target moments as the target time interval and obtaining multiple historical hydrogen concentrations within that time interval can characterize not only the hydrogen concentration changes when the storage device is functioning normally, but also the hydrogen concentration changes when the storage device gradually malfunctions (gradually experiencing leakage events). Based on this, it can be assumed that multiple historical hydrogen concentrations within the target time interval can be used to predict whether a leakage event will occur in the storage device in subsequent time intervals.
[0041] There may be multiple historical moments when the hydrogen concentration exceeds the preset warning value. In this embodiment, the two moments closest to the current moment are selected as the target moments. This improves the accuracy of subsequent predictions.
[0042] It should be noted that selecting the two target time periods closest to the current time is only one example in this embodiment. In other embodiments, the target time periods can be selected randomly, and there is no limitation on this.
[0043] In another embodiment, if the time interval between two target times is less than a preset interval, the times of the two warnings can be considered close. In this case, the accuracy of using the time interval between the two target times for subsequent predictions may be low. Therefore, the latest target time (closest to the current time) can be retained, and another target time closest to the current time can be re-determined in chronological order, until the time interval between the target time and the latest target time is again determined to be greater than or equal to the preset interval.
[0044] For example, given target time A and target time B, target time A is earlier than target time B (i.e., target time B is closer to the current time). If the time interval between target time A and target time B is less than a preset interval, the latest target time B can be retained. Simultaneously, another target time C, which is closest to the current time, is determined. Then, if the time interval between target time C and target time B is greater than or equal to the preset interval, that time interval is determined as the target time interval.
[0045] S102. Generate hydrogen concentration variation curves based on historical hydrogen concentrations.
[0046] In one embodiment, the aforementioned change curve is a curve generated based on historical hydrogen concentration, which can be used to characterize the change in hydrogen concentration when the storage device is normal, and the change in hydrogen concentration when the storage device gradually malfunctions (gradually experiencing leakage events).
[0047] The variation curve can be generated based on regression analysis or graph correlation analysis. In this embodiment, the method of generating the variation curve is not limited. For example, the variation curve can be a curve generated based on the time difference and historical hydrogen concentration. The time difference can be the difference between the historical time corresponding to the historical hydrogen concentration and the earliest target time in the target time period.
[0048] It should be noted that, in order to generate a change curve that reflects actual conditions, the historical hydrogen concentration data within the target time period should be greater than a preset value. Therefore, if the historical hydrogen concentration data is less than the preset value, the terminal device can select two other target times as the target time period.
[0049] The detection equipment can monitor hydrogen concentration at preset intervals. Therefore, the expected interval for collecting a preset amount of hydrogen concentration can be predetermined. Based on this, if the duration between the two most recent target times is less than the expected interval, two other target times can be selected as the target time period. Otherwise, if the duration between the two most recent target times is greater than or equal to the expected interval, it can be directly determined as the target time period.
[0050] S103. Obtain the actual hydrogen concentration at the current moment.
[0051] In one embodiment, the actual hydrogen concentration at the current moment can be determined by the detection device described above, and then uploaded to the terminal device by the detection device, which will not be described in detail.
[0052] S104. If the actual hydrogen concentration is determined to meet the preset warning conditions based on the change curve, then a warning message is generated.
[0053] In one embodiment, the aforementioned variation curve can characterize the hydrogen concentration change when the storage device is normal, and the hydrogen concentration change when the storage device gradually malfunctions (gradually experiencing a leakage event). Therefore, based on the actual hydrogen concentration at the current moment, it can be determined whether the current actual hydrogen concentration meets preset prediction conditions, such as whether it meets the hydrogen concentration change conditions when the storage device gradually experiences a leakage event, in order to determine whether to issue an early warning.
[0054] Specifically, the terminal device can predict the hydrogen concentration at various times after the target time period based on the change curve. Then, it determines the target predicted hydrogen concentration for the current time from multiple predicted hydrogen concentrations. Finally, based on the target predicted hydrogen concentration and the actual hydrogen concentration, it generates a warning result corresponding to the warning conditions.
[0055] In one embodiment, since the variation curve is generated based on the time difference and historical hydrogen concentration, when predicting the hydrogen concentration at the current moment, the difference between the current moment and the latest target moment in the target time period can be calculated. Then, the difference is substituted into the variation curve to determine the target predicted hydrogen concentration corresponding to that difference. In this embodiment, the method for obtaining the predicted hydrogen concentration at the current moment based on the variation curve is not limited.
[0056] In one specific embodiment, the terminal device can calculate the concentration difference between the actual hydrogen concentration and the target predicted hydrogen concentration. Then, when the actual hydrogen concentration is greater than the target predicted hydrogen concentration and the concentration difference is greater than a first preset concentration difference, the warning result is determined to be that the actual hydrogen concentration meets the preset warning condition.
[0057] Specifically, when the actual hydrogen concentration exceeds the target predicted hydrogen concentration, the terminal device can assume that the hydrogen concentration change within the monitored area from the last target time period to the current time exceeds expectations. Therefore, it can be assumed that a leakage event may have occurred in the storage device, and the warning result can be determined as the actual hydrogen concentration meeting the preset warning conditions.
[0058] However, in practice, the actual hydrogen concentration obtained by the detection equipment may contain errors. Therefore, to determine whether the warning conditions are met, it is necessary to further calculate the concentration difference between the actual hydrogen concentration and the target predicted hydrogen concentration. Only when the concentration difference is also greater than the first preset concentration difference can it be determined that the warning conditions are met.
[0059] The first preset concentration difference can be set according to the actual situation, and there is no limitation on it.
[0060] It should be noted that when the actual hydrogen concentration is greater than the target predicted hydrogen concentration, it can be assumed that the change in hydrogen concentration between the last target moment and the current moment within the monitored area exceeds expectations. However, because the concentration difference is less than or equal to the first preset concentration difference, the terminal equipment usually cannot accurately determine whether the actual hydrogen concentration being greater than the target predicted hydrogen concentration is due to a misreading by the detection equipment or a potential leakage event in the storage device.
[0061] Based on this, the terminal device can determine the estimated time it will take for the actual hydrogen concentration to reach the preset warning value according to the change curve. Then, if the estimated time is less than the preset time, the warning result is determined to be that the actual hydrogen concentration meets the preset warning condition. That is, it is determined that the above-mentioned actual hydrogen concentration exceeding the target predicted hydrogen concentration is caused by a leakage event in the storage device. Therefore, the terminal device needs to generate warning information and send it to the warning terminal.
[0062] The preset duration can be set according to the actual situation, and there is no limitation on it.
[0063] It should be noted that the variation curve is generated based on the time difference and historical hydrogen concentration. The time difference can be the difference between the historical time corresponding to the historical hydrogen concentration and the earliest target time within the target time period. Therefore, the terminal device can use the actual hydrogen concentration as input and perform inverse calculations based on the variation curve to obtain the corresponding target historical time within the historical time period. Then, the difference between the target historical time and the last target time within the target time period is determined as the estimated duration.
[0064] Correspondingly, when the actual hydrogen concentration is less than or equal to the target predicted hydrogen concentration, or the expected duration is greater than or equal to the preset duration, the terminal device can determine that the warning result is that the actual hydrogen concentration does not meet the preset warning conditions. At this time, the terminal device can determine that the hydrogen concentration within the monitoring range meets the requirements, and only needs to prepare to obtain the actual hydrogen concentration at the next moment for issuing the warning.
[0065] The aforementioned warning information may include, but is not limited to, one or more pieces of information such as actual hydrogen concentration, current time, or expected duration.
[0066] It should be noted that, in another embodiment, if the concentration difference between the actual hydrogen concentration and the preset warning value is less than a second preset concentration difference, the terminal device can assume that the actual hydrogen concentration in the monitored area has become high over time, potentially posing a safety hazard. Based on this, the terminal device can directly generate a warning message to alert staff in advance and eliminate potential safety hazards.
[0067] In this embodiment, multiple historical hydrogen concentrations are obtained when a preset monitoring area is monitored within a target time period to generate a change curve characterizing the hydrogen concentration changes in the monitoring area within the target time period. Then, the actual hydrogen concentration at the current time is obtained, and when the actual hydrogen concentration meets preset warning conditions based on the generated hydrogen concentration change curve, a warning message can be generated to provide early warning to the monitoring area and reduce safety risks.
[0068] In another embodiment, as described above, the terminal device can predict the hydrogen concentration at each time point after the target time period based on the change curve. Furthermore, the terminal device can compare each predicted hydrogen concentration with the corresponding actual hydrogen concentration. If a preset number of consecutive actual hydrogen concentrations exceed the predicted hydrogen concentration, the terminal device can directly generate an early warning message.
[0069] It is understandable that, for any actual hydrogen concentration, although the actual hydrogen concentration is greater than the target predicted hydrogen concentration at that time, there may be a situation where the concentration difference between the actual hydrogen concentration and the target predicted hydrogen concentration at the corresponding time is less than the first preset concentration difference, and the expected duration for the actual hydrogen concentration to reach the preset warning value is greater than or equal to the preset duration, as determined by the change curve.
[0070] However, if the actual hydrogen concentration is consistently higher than the predicted hydrogen concentration for a predetermined number of consecutive periods, the terminal device can also assume that the actual change in hydrogen concentration within the confined space is greater than the historical changes in hydrogen concentration over the target time period. Based on this, in this situation, the terminal device can also generate an early warning message to improve the accuracy of early warnings for confined spaces.
[0071] Understandably, if the actual hydrogen concentration for a consecutive preset number of times is less than or equal to the predicted hydrogen concentration, the terminal device may not need to perform any operation.
[0072] The preset quantity can be set according to actual needs and is not limited. For example, the preset quantity can be 3 or 5.
[0073] Please see Figure 2 , Figure 2 This is a structural block diagram of a hydrogen warning device provided in an embodiment of this application. The modules included in this embodiment of the hydrogen warning device are used to perform… Figure 1 The steps in the corresponding embodiments. Please refer to the details. Figure 1 as well as Figure 1 The relevant descriptions in the corresponding embodiments are shown below. For ease of explanation, only the parts relevant to this embodiment are shown. See also... Figure 2 The hydrogen warning device 200 may include: a first acquisition module 210, a first generation module 220, a second acquisition module 230, and a second generation module 240, wherein:
[0074] The first acquisition module 210 is used to acquire multiple historical hydrogen concentrations when detecting a preset monitoring area within a target time period.
[0075] The first generation module 220 is used to generate hydrogen concentration change curves based on various historical hydrogen concentrations.
[0076] The second acquisition module 230 is used to acquire the actual hydrogen concentration at the current moment.
[0077] The second generation module 240 is used to generate early warning information if the actual hydrogen concentration is determined to meet the preset early warning conditions based on the change curve.
[0078] In one embodiment, the hydrogen warning device 200 further includes:
[0079] The first determination module is used to determine the two most recent target times before the current time; the historical hydrogen concentration corresponding to each target time is greater than the preset warning value.
[0080] The second determining module is used to determine the time period between two target times as the target time period.
[0081] In one embodiment, the hydrogen warning device 200 further includes:
[0082] The prediction module is used to predict the hydrogen concentration at each time point after the target time period based on the change curve.
[0083] The third determination module is used to determine the target predicted hydrogen concentration at the current moment from multiple predicted hydrogen concentrations.
[0084] The third generation module is used to generate warning results corresponding to the warning conditions based on the target predicted hydrogen concentration and the actual hydrogen concentration.
[0085] In one embodiment, the third generation module is further configured to:
[0086] Calculate the concentration difference between the actual hydrogen concentration and the target predicted hydrogen concentration; if the actual hydrogen concentration is greater than the target predicted hydrogen concentration and the concentration difference is greater than the first preset concentration difference, then determine the warning result as the actual hydrogen concentration meeting the preset warning conditions.
[0087] In one embodiment, the third generation module is further configured to:
[0088] If the actual hydrogen concentration is greater than the target predicted hydrogen concentration, and the concentration difference is less than or equal to the first preset concentration difference, then the estimated time for the actual hydrogen concentration to reach the preset warning value is determined based on the change curve; if the estimated time is less than the preset time, then the warning result is determined to be that the actual hydrogen concentration meets the preset warning conditions.
[0089] In one embodiment, the third generation module is further configured to:
[0090] If the actual hydrogen concentration is less than or equal to the target predicted hydrogen concentration, or the expected duration is greater than or equal to the preset duration, then the warning result is determined to be that the actual hydrogen concentration does not meet the preset warning conditions.
[0091] In one embodiment, the hydrogen warning device 200 further includes:
[0092] If the concentration difference between the actual hydrogen concentration and the preset warning value is less than the second preset concentration difference, a warning message will be generated.
[0093] When it is understood that, Figure 2 In the structural block diagram of the hydrogen early warning device shown, each module is used to perform... Figure 1 The steps in the corresponding embodiments, and for Figure 1 The steps in the corresponding embodiments have been explained in detail in the above embodiments. Please refer to them for details. Figure 1 as well as Figure 1 The relevant descriptions in the corresponding embodiments will not be repeated here.
[0094] Figure 3 This is a structural block diagram of a terminal device provided in one embodiment of this application. For example... Figure 3 As shown, the terminal device 300 of this embodiment includes a processor 310, a memory 320, and a computer program 330 stored in the memory 320 and executable on the processor 310, such as a program for a hydrogen warning method. When the processor 310 executes the computer program 330, it implements the steps in the various embodiments of the hydrogen warning methods described above, for example... Figure 1 S101 to S104 are shown. Alternatively, the processor 310 implements the above when executing the computer program 330. Figure 2 The functions of each module in the corresponding embodiments, for example, Figure 2 For details on the functions of modules 210 to 240 shown, please refer to [link / reference]. Figure 2 The relevant descriptions in the corresponding embodiments.
[0095] For example, the computer program 330 can be divided into one or more modules, one or more of which are stored in the memory 320 and executed by the processor 310 to implement the hydrogen warning method provided in this application embodiment. One or more modules can be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program 330 in the terminal device 300. For example, the computer program 330 can implement the hydrogen warning method provided in this application embodiment.
[0096] Terminal device 300 may include, but is not limited to, processor 310 and memory 320. Those skilled in the art will understand that... Figure 3 This is merely an example of terminal device 300 and does not constitute a limitation on terminal device 300. It may include more or fewer components than shown, or combine certain components, or different components. For example, terminal device may also include input / output devices, network access devices, buses, etc.
[0097] The processor 310 may be a central processing unit, or it may be other general-purpose processors, digital signal processors, application-specific integrated circuits, off-the-shelf programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0098] The memory 320 can be an internal storage unit of the terminal device 300, such as a hard disk or RAM of the terminal device 300. The memory 320 can also be an external storage device of the terminal device 300, such as a plug-in hard disk, smart memory card, flash memory card, etc., equipped on the terminal device 300. Furthermore, the memory 320 can include both internal storage units and external storage devices of the terminal device 300.
[0099] This application provides a computer-readable storage medium storing a computer program, which is executed by a processor using the hydrogen warning method described in the above embodiments.
[0100] This application provides a computer program product that, when run on a terminal device, causes the terminal device to execute the hydrogen warning method described in the above embodiments.
[0101] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A hydrogen early warning method, characterized by, The method comprises: acquiring a plurality of historical hydrogen concentrations when a preset monitoring area is detected in a target time period; generating a change curve of hydrogen concentration according to each historical hydrogen concentration; acquiring an actual hydrogen concentration at a current time; if it is determined according to the change curve that the actual hydrogen concentration meets a preset warning condition, generating a warning information; before the if it is determined according to the change curve that the actual hydrogen concentration meets a preset warning condition, generating a warning information, the method further comprises: predicting, according to the change curve, a predicted hydrogen concentration corresponding to each time after the target time period; determining a target predicted hydrogen concentration corresponding to the current time from a plurality of predicted hydrogen concentrations; generating a warning result corresponding to the warning condition according to the target predicted hydrogen concentration and the actual hydrogen concentration; the generating a warning result corresponding to the warning condition according to the target predicted hydrogen concentration and the actual hydrogen concentration comprises: calculating a concentration difference between the actual hydrogen concentration and the target predicted hydrogen concentration; if the actual hydrogen concentration is greater than the target predicted hydrogen concentration, and the concentration difference is greater than a first preset concentration difference, determining that the warning result is that the actual hydrogen concentration meets the preset warning condition; if the actual hydrogen concentration is greater than the target predicted hydrogen concentration, and the concentration difference is less than or equal to the first preset concentration difference, determining a predicted time length for the actual hydrogen concentration to reach a preset warning value according to the change curve; if the predicted time length is less than a preset time length, determining that the warning result is that the actual hydrogen concentration meets the preset warning condition.
2. The method of claim 1, wherein, The method further comprises: determining the nearest two target times before the current time; the historical hydrogen concentration corresponding to each target time is greater than a preset warning value; determining a time period between the two target times as the target time period.
3. The method of claim 1, wherein, after the calculating a concentration difference between the actual hydrogen concentration and the target predicted hydrogen concentration, the method further comprises: if the actual hydrogen concentration is less than or equal to the target predicted hydrogen concentration, or the predicted time length is greater than or equal to the preset time length, determining that the warning result is that the actual hydrogen concentration does not meet the preset warning condition.
4. The method according to any one of claims 1 to 3, characterized in that, The method further comprises: if a concentration difference between the actual hydrogen concentration and the preset warning value is less than a second preset concentration difference, generating the warning information.
5. A hydrogen early warning device, characterized by, The device comprises: a first acquisition module, configured to acquire a plurality of historical hydrogen concentrations when a preset monitoring area is detected in a target time period; a first generation module, configured to generate a change curve of hydrogen concentration according to each historical hydrogen concentration; a second acquisition module, configured to acquire an actual hydrogen concentration at a current time; a second generation module, configured to generate a warning information if it is determined according to the change curve that the actual hydrogen concentration meets a preset warning condition; a prediction module, configured to predict, according to the change curve, a predicted hydrogen concentration corresponding to each time after the target time period; a third determination module, configured to determine a target predicted hydrogen concentration corresponding to the current time from a plurality of predicted hydrogen concentrations; The third generating module is configured to generate a warning result corresponding to the warning condition according to the target predicted hydrogen concentration and the actual hydrogen concentration. The third generating module is further configured to: calculate a concentration difference between the actual hydrogen concentration and the target predicted hydrogen concentration; if the actual hydrogen concentration is greater than the target predicted hydrogen concentration and the concentration difference is greater than a first preset concentration difference, determine that the warning result is that the actual hydrogen concentration satisfies a preset warning condition; if the actual hydrogen concentration is greater than the target predicted hydrogen concentration and the concentration difference is less than or equal to the first preset concentration difference, determine an expected time length for the actual hydrogen concentration to reach a preset warning value according to the change curve, and if the expected time length is less than a preset time length, determine that the warning result is that the actual hydrogen concentration satisfies the preset warning condition.
6. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor implements the method of any one of claims 1 to 4 when executing the computer program.
7. A computer-readable storage medium storing a computer program, wherein the computer program comprises the following steps of: receiving a request for a resource from a client; determining whether the client is authorized to access the resource; and if the client is authorized to access the resource, providing the resource to the client. The computer program, when executed by the processor, implements the method of any one of claims 1 to 4.
Citation Information
Patent Citations
Fresh air control system and method for automatically adjusting indoor air environment
CN115325675A