Water heater flue risk prediction method, device, computer equipment and medium
By acquiring and analyzing the image information of the gas water heater, determining whether there is a flue and generating detection results, the problem of low manual inspection efficiency is solved and efficient flue risk prediction is achieved.
Patent Information
- Application Number
- CN202111226671.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-21
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2041-10-21
AI Technical Summary
In the prior art, manual detection of flue hazards is inefficient and cannot effectively solve the problem of flue risk prediction.
By obtaining the original image information of the gas water heater, it is determined whether it contains the flue image information, and generate the flue detection results based on the preset smoke-free potential risk treatment strategy, and use the target calculation strategy to predict the risk of the water heater flue.
It greatly improves the efficiency of flue hazard detection and can quickly identify and evaluate the risk status of the flue.
Smart Images

Figure CN116007199B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of flue risk prediction, and in particular to a method, device, computer equipment and medium for predicting the risk of a water heater flue. Background Art
[0002] With the rapid development of economy, the number of energy equipment is increasing. In the existing technology, the inspection of hidden dangers in flues mainly relies on manual processing. Since manual inspection is restricted by the number of personnel and inspection capabilities, the inspection efficiency is extremely low. Summary of the invention
[0003] In view of this, the embodiments of the present disclosure provide a method, device, computer equipment and medium for predicting the risk of a water heater flue, so as to solve the problem of extremely low efficiency in manually checking for hidden dangers in the flue in the prior art.
[0004] According to a first aspect of an embodiment of the present disclosure, a method for predicting the risk of a water heater flue is provided, comprising: obtaining original image information of a gas water heater; when the original image information contains water heater image information, determining whether the original image information contains flue image information; when the original image information contains flue image information, generating a flue detection result based on a preset non-smoke hazard handling strategy; and predicting a target risk result of the water heater flue based on a target calculation strategy and the flue detection result.
[0005] According to a second aspect of an embodiment of the present disclosure, a device for predicting a risk of a water heater flue is provided, comprising: an acquisition module configured to acquire original image information of a gas water heater; a water heater image information judgment module configured to judge whether the original image information contains flue image information when the original image information contains water heater image information; a flue detection result generation module configured to generate a flue detection result based on a preset non-smoke hidden danger handling strategy when the original image information includes the flue image information; and a target risk prediction result generation module configured to generate a target risk prediction result of the water heater flue based on a target calculation strategy and the flue detection result.
[0006] According to a third aspect of an embodiment of the present disclosure, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0007] According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0008] Compared with the prior art, the beneficial effects of the disclosed embodiment include at least the following: the disclosed embodiment obtains original image information of a gas water heater; when the original image information contains water heater image information, determines whether the original image information contains flue image information; when the original image information contains flue image information, generates a flue detection result based on a preset non-smoke hazard handling strategy; based on the target calculation strategy and the flue detection result, a target risk prediction result of the water heater flue can greatly improve the efficiency of flue hazard detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0010] Figure 1 is a schematic diagram of a scenario of an embodiment of the present disclosure;
[0011] Figure 2 This is a process of a water heater flue risk prediction method provided by the embodiment of the present disclosure Figure 1 ;
[0012] Figure 3 Another water heater flue risk prediction method provided by the present disclosure is a process flow Figure 2 ;
[0013] Figure 4 is a block diagram of a water heater flue risk prediction device provided by an embodiment of the present disclosure;
[0014] Figure 5 is a schematic diagram of a computer device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0015] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present disclosure. However, it should be clear to those skilled in the art that the present disclosure may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obstructing the description of the present disclosure with unnecessary details.
[0016] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0017] Figure 11 is a schematic diagram of an application scenario of an embodiment of the present disclosure. The application scenario may include a terminal device 1, a server 2, and a network 3.
[0018] The terminal device 1 can be hardware or software. When the terminal device 1 is hardware, it can be various electronic devices with a display screen and supporting communication with the server 2, including but not limited to smart phones, tablet computers, laptop computers and desktop computers, etc.; when the terminal device 1 is software, it can be installed in the above-mentioned electronic devices. The terminal device 1 can be implemented as multiple software or software modules, or as a single software or software module, and the embodiments of the present disclosure are not limited to this. Furthermore, various applications can be installed on the terminal device 1, such as data processing applications, instant messaging tools, social platform software, search applications, shopping applications, etc.
[0019] Server 2 may be a server that provides various services, for example, a background server that receives a request sent by a terminal device that establishes a communication connection with it, and the background server may receive and analyze the request sent by the terminal device, and generate a processing result. Server 2 may be a single server, or a server cluster composed of several servers, or a cloud computing service center, which is not limited in the embodiments of the present disclosure.
[0020] It should be noted that the server 2 can be hardware or software. When the server 2 is hardware, it can be various electronic devices that provide various services to the terminal device 1. When the server 2 is software, it can implement multiple software or software modules that provide various services to the terminal device 1, or it can implement a single software or software module that provides various services to the terminal device 1, and the embodiments of the present disclosure are not limited to this.
[0021] The network 3 may be a wired network connected by coaxial cable, twisted pair and optical fiber, or a wireless network that can interconnect various communication devices without wiring, such as Bluetooth, Near Field Communication (NFC), infrared, etc., which is not limited in the embodiments of the present disclosure.
[0022] The user can establish a communication connection with the server 2 via the network 3 through the terminal device 1 to receive or send information, etc. Specifically, first, the server 2 can obtain the original image information of the gas water heater. Secondly, when the original image information contains the water heater image information, the server 2 can determine whether the original image information contains the flue image information. Thirdly, when the original image information includes the flue image information, the server 2 can generate the flue detection result based on the preset non-smokestack hazard treatment strategy. Finally, the server 2 can generate the target risk prediction result of the water heater flue based on the target calculation strategy and the flue detection result.
[0023] It should be noted that the specific types, quantities and combinations of the terminal devices 1, the servers 2 and the networks 3 may be adjusted according to the actual requirements of the application scenarios, and the embodiments of the present disclosure do not impose any restrictions on this.
[0024] Figure 2 It is a flow chart of a water heater flue risk prediction method provided in an embodiment of the present disclosure. Figure 2 The water heater flue risk prediction method can be obtained by Figure 1 The terminal device or server 2 executes. Figure 2 As shown, the water heater flue risk prediction method includes:
[0025] S201, original image information of the gas water heater.
[0026] The original image information of the gas water heater may refer to directly acquired image information related to the gas water heater. As an example, the image information may be acquired photo information or the like.
[0027] S202: When the original image information includes water heater image information, determine whether the original image information includes flue image information.
[0028] The water heater image information may refer to the image information related to the water heater in the original image information. The flue image information may refer to the image information related to the flue in the original image information. If there is no water heater image information in the original image information, the water heater image information may be judged as having a safety hazard, so it is necessary to first determine whether the flue image information exists. When the water heater image information exists, continue to determine whether there is flue image information in the original image information. If the flue image information does not exist, the original image information may be judged as having a safety hazard.
[0029] S203: When the original image information includes the flue image information, a flue detection result is generated based on a preset flue non-hazardous situation handling strategy.
[0030] The preset smokeless duct hazard handling strategy may refer to a preset method or step for generating a smokeless duct hazard result based on the original image information. The smokeless duct hazard result may refer to the probability result that the smokeless duct is not installed. As an example, the smokeless duct probability result may be 0.5. It should be pointed out that the smokeless duct hazard result is a positive number between 0 and 1, which may be expressed in the form of a percentage such as 60%, an ordinary expression such as 0.38, a fractional expression such as 1 / 5 or other expressions, and is set as needed without specific limitation here.
[0031] S204, based on the target processing strategy and the flue detection result, the target risk prediction result of the water heater flue.
[0032] The target treatment strategy may refer to the steps or methods for generating target risk results based on the flue gas inspection results.
[0033] As an example, the target risk result can be the sum of the smoke-free hazard result and the smoke-installed hazard result, or the target risk result can be the product of the smoke-free hazard result and the smoke-installed hazard result, or the target risk result can be the result obtained by a series of calculation steps of the smoke-free hazard result and the smoke-installed hazard result. It can be set as needed without specific limitation here.
[0034] According to the technical solution provided by the embodiment of the present disclosure, the embodiment of the present disclosure obtains original image information of a gas water heater; when the original image information contains water heater image information, determines whether the original image information contains flue image information; when the original image information includes flue image information, generates a flue detection result based on a preset non-smoke hazard treatment strategy; based on the target calculation strategy and the flue detection result, generates a target risk prediction result for the water heater flue.
[0035] In some embodiments, the preset smoke-free hazard handling strategy includes: importing the original image information into the water heater prediction model to obtain the water heater prediction result; obtaining the water heater threshold; when the water heater prediction result is greater than the water heater threshold, importing the original image information into the flue prediction model to obtain the flue prediction result; based on the smoke-free hazard calculation strategy, the water heater prediction result and the flue prediction result, generating the smoke-free hazard result.
[0036] The water heater prediction model may refer to a mathematical formula that has been trained and can predict whether a water heater exists based on photo information. The water heater prediction result may refer to the predicted probability value of the water heater existence. As an example, the water heater prediction result may be 0.83, and the probability of the water heater existence is 83%. The water heater threshold may refer to a pre-set limit value for determining whether a water heater exists. As an example, the water heater threshold may be 0.5, i.e. 50%. When the water heater prediction result is less than 0.5, it can be considered that the water heater does not exist, and there is no need to predict whether the flue exists. The flue prediction model may refer to a mathematical formula that has been trained and can predict whether a flue exists based on photo information. The flue prediction result may refer to the predicted probability value of the flue existence. As an example, the flue prediction result may be 0.59, and the probability of the flue existence is 59%. The smoke-free hidden danger calculation strategy may refer to a method or step for calculating whether there is a smoke hidden danger based on the water heater prediction result and the smoke prediction result.
[0037] In some embodiments, the smoke-free hidden danger calculation strategy includes: obtaining a water heater prediction result and a smoke-free hidden danger result; and generating a smoke-free hidden danger result based on the water heater prediction result and the smoke-free hidden danger result.
[0038] In an optional implementation of some embodiments, when generating the result of no hidden danger of flue, the prediction result of water heater and the prediction result of flue can be calculated based on the following calculation formula:
[0039] P1=(1-P2)*P3
[0040] Among them, P1 may refer to the result of no flue hazard, P2 may refer to the water heater prediction result, and P3 may refer to the flue prediction result.
[0041] In some embodiments, the preset flue installation hazard handling strategy includes: obtaining a flue threshold; when the flue prediction result is greater than the flue threshold, importing the original image information into the flue port risk prediction model to obtain the flue port hazard result; based on the flue installation hazard calculation strategy, no flue hazard results, and flue port hazard results, generating the flue installation hazard result.
[0042] The flue threshold may refer to a pre-set limit value for determining whether a flue exists. As an example, the flue threshold may be 0.5, i.e., 50%. When the flue prediction result is less than 0.5, it can be considered that the flue does not exist, and there is no need to predict whether there is a hidden danger at the flue port. The flue port hidden danger result may refer to the predicted probability value that there is no hidden danger at the flue port. As an example, the flue port hidden danger result may be 0.88, and the probability that there is a hidden danger at the flue port is 0.12. The flue installation hidden danger calculation strategy may refer to the steps or methods for generating flue installation hidden danger results based on the no-smoke hidden danger results and the flue port hidden danger results. As an example, the flue installation hidden danger result may be the sum of the no-smoke hidden danger result and the flue port hidden danger result, or the flue installation hidden danger result may be the product of the no-smoke hidden danger result and the flue port hidden danger result, or the flue installation hidden danger result may be the result obtained by a series of calculation steps of the no-smoke hidden danger result and the flue port hidden danger result, which may be set as needed, and no specific restrictions are made here.
[0043] By setting the flue threshold, the conditions for whether to perform subsequent prediction can be flexibly adjusted. Raising the threshold can improve processing efficiency. Lowering the threshold can improve processing accuracy. It can be set as needed and is not specifically limited here.
[0044] In some embodiments, the flue installation hazard calculation strategy includes: obtaining the flue connection hazard result; when the flue connection hazard result is abnormal connection, setting the flue connection hazard result to have a hazard; when the flue connection hazard result is normal connection, setting the flue connection hazard result to have no hazard; based on the no flue hazard result, the flue connection hazard result, the flue port hazard result and the target risk calculation strategy, generating a target risk result.
[0045] The result of the hidden danger of flue connection may refer to the result directly determined by the original image information. The hidden danger result of flue connection may include two situations: normal connection and abnormal connection. The target risk calculation strategy may refer to the steps or methods that can generate the target risk result after calculation. Among them, the above-mentioned various results that there is a hidden danger may refer to the result as 0, and the result that there is no hidden danger may refer to the result as 1. The above-mentioned various results can also be set to other forms or values, which can be set as needed, and no specific restrictions are made here.
[0046] In some embodiments, the target risk calculation strategy includes: when the smoke port hidden danger result is that there is a hidden danger, the target risk result is set to have a hidden danger; when the smoke port hidden danger result is that there is no hidden danger, based on the no smoke hazard result, the smoke connection hidden danger result and the smoke port hidden danger result, an intermediate target risk result is generated.
[0047] In an optional implementation of some embodiments, when the smoke duct port hidden danger result is no hidden danger, the no smoke duct hidden danger result, the smoke duct connection hidden danger result and the smoke duct port hidden danger result can be calculated based on the following calculation formula to generate an intermediate target risk result:
[0048] P4=1-(1-P5)*P6
[0049] Among them, P4 can refer to the hidden danger results of flue installation, P5 can refer to the hidden danger results of no flue, and P6 can refer to the hidden danger results of flue port.
[0050] In some embodiments, the target calculation strategy includes: when the flue connection hidden danger result is a hidden danger, the target risk result is the same as the result of no flue hidden danger; when the flue connection hidden danger result is no hidden danger, the target risk result is the same as the flue installation hidden danger result.
[0051] Generating target risk results through probability can greatly improve the efficiency and accuracy of processing.
[0052] Figure 3 It is a flow chart of the water heater flue risk prediction method provided in the embodiment of the present disclosure. Figure 3 The water heater flue risk prediction method can be obtained by Figure 1 Server 2 executes. Figure 3 As shown, the water heater flue risk prediction method includes:
[0053] S301, obtaining original image information.
[0054] S302, importing the original image information into the water heater prediction model to obtain the water heater prediction result.
[0055] S303, when the water heater prediction result is greater than the water heater threshold, the original image information is imported into the flue prediction model to obtain the flue prediction result.
[0056] S304, generating a smokeless duct hidden danger result based on the smokeless duct hidden danger calculation strategy, the water heater prediction result and the smokeless duct prediction result.
[0057] S305, when the flue prediction result is greater than the flue threshold, the original image information is imported into the flue port risk prediction model to obtain the flue port hidden danger result.
[0058] S306, obtaining the result of the hidden danger of the flue connection.
[0059] S307, when the result of the hidden danger of the flue connection is that it is not connected normally, the result of the hidden danger of the flue connection is set as having hidden danger.
[0060] S308, when the hidden danger result of the flue connection is a normal connection, the hidden danger result of the flue connection is set to no hidden danger.
[0061] S309, generating a target risk result based on the non-smoke duct hidden danger result, the smoke duct connection hidden danger result, the smoke duct port hidden danger result and the target risk calculation strategy.
[0062] S310, generating a target risk result based on the target calculation strategy, the result of no smoke duct hidden danger and the result of smoke duct installation hidden danger.
[0063] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0064] The following are embodiments of the device disclosed herein, which can be used to execute the method embodiments disclosed herein. For details not disclosed in the device embodiments disclosed herein, please refer to the method embodiments disclosed herein.
[0065] Figure 4 Schematic diagram of a water heater flue risk prediction device provided by an embodiment of the present disclosure. Figure 4 As shown, the water heater flue risk prediction device includes:
[0066] The acquisition module 401 is configured to acquire original image information.
[0067] The smokeless duct hidden danger generating module 402 is configured to generate a smokeless duct hidden danger result based on a preset smokeless duct hidden danger processing strategy and original image information.
[0068] The flue installation hidden danger generating module 403 is configured to generate a flue installation hidden danger result based on a preset flue installation hidden danger processing strategy and original image information.
[0069] The target risk generating module 404 is configured to generate a target risk result based on the target calculation strategy, the non-smoke duct hidden danger result and the smoke duct installation hidden danger result.
[0070] According to the technical solution provided by the embodiment of the present disclosure, the embodiment of the present disclosure obtains original image information of a gas water heater; when the original image information contains water heater image information, determines whether the original image information contains flue image information; when the original image information includes flue image information, generates a flue detection result based on a preset non-smoke hazard treatment strategy; based on the target calculation strategy and the flue detection result, generates a target risk prediction result for the water heater flue.
[0071] In some embodiments, the preset smoke-free hazard handling strategy includes: importing the original image information into the water heater prediction model to obtain the water heater prediction result; obtaining the water heater threshold; when the water heater prediction result is greater than the water heater threshold, importing the original image information into the flue prediction model to obtain the flue prediction result; based on the smoke-free hazard calculation strategy, the water heater prediction result and the flue prediction result, generating the smoke-free hazard result.
[0072] In some embodiments, the smoke-free hidden danger calculation strategy includes: obtaining a water heater prediction result and a smoke-free hidden danger result; performing calculations based on the water heater prediction result and the smoke-free hidden danger result to generate a smoke-free hidden danger result.
[0073] In some embodiments, the preset flue installation hazard handling strategy includes: obtaining a flue threshold; when the flue prediction result is greater than the flue threshold, importing the original image information into the flue port risk prediction model to obtain the flue port hazard result; based on the flue installation hazard calculation strategy, no flue hazard results, and flue port hazard results, generating the flue installation hazard result.
[0074] In some embodiments, the flue installation hazard calculation strategy includes: obtaining the flue connection hazard result; when the flue connection hazard result is abnormal connection, setting the flue connection hazard result to have a hazard; when the flue connection hazard result is normal connection, setting the flue connection hazard result to have no hazard; based on the no flue hazard result, the flue connection hazard result, the flue port hazard result and the target risk calculation strategy, generating a target risk result.
[0075] In some embodiments, the target risk calculation strategy includes: when the smoke port hidden danger result is that there is a hidden danger, the target risk result is set to have a hidden danger; when the smoke port hidden danger result is that there is no hidden danger, based on the no smoke hazard result, the smoke connection hidden danger result and the smoke port hidden danger result, an intermediate target risk result is generated.
[0076] In some embodiments, the target calculation strategy includes: when the flue connection hidden danger result is a hidden danger, the target risk result is the same as the result of no flue hidden danger; when the flue connection hidden danger result is no hidden danger, the target risk result is the same as the flue installation hidden danger result.
[0077] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure.
[0078] Figure 5 is a schematic diagram of a computer device 500 provided in an embodiment of the present disclosure. Figure 5 As shown, the computer device 500 of this embodiment includes: a processor 501, a memory 502, and a computer program 503 stored in the memory 502 and executable on the processor 501. When the processor 501 executes the computer program 503, the steps in the above-mentioned various method embodiments are implemented. Alternatively, when the processor 501 executes the computer program 503, the functions of each module / unit in the above-mentioned various device embodiments are implemented.
[0079] Exemplarily, the computer program 503 may be divided into one or more modules / units, which are stored in the memory 502 and executed by the processor 501 to complete the present disclosure. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 503 in the computer device 500.
[0080] The computer device 500 may be a desktop computer, a notebook computer, a PDA, a cloud server, or other computer devices. The computer device 500 may include, but is not limited to, a processor 501 and a memory 502. Those skilled in the art will appreciate that Figure 5 This is only an example of the computer device 500 and does not constitute a limitation of the computer device 500. The computer device 500 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the computer device may also include input and output devices, network access devices, buses, etc.
[0081] The processor 501 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0082] The memory 502 may be an internal storage unit of the computer device 500, for example, a hard disk or memory of the computer device 500. The memory 502 may also be an external storage device of the computer device 500, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device 500. Further, the memory 502 may also include both an internal storage unit of the computer device 500 and an external storage device. The memory 502 is used to store computer programs and other programs and data required by the computer device. The memory 502 may also be used to temporarily store data that has been output or is to be output.
[0083] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0084] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0085] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.
[0086] In the embodiments provided in the present disclosure, it should be understood that the disclosed apparatus / computer equipment and methods can be implemented in other ways. For example, the apparatus / computer equipment embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. Multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection of the apparatus or unit, which may be electrical, mechanical or other forms.
[0087] 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 network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0088] In addition, each functional unit in each embodiment of the present disclosure 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.
[0089] If the integrated module / 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 present disclosure implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.
[0090] The above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should all be included in the protection scope of the present disclosure.
Claims
1. A water heater flue risk prediction method, It is characterized in that The method comprises: Obtaining original image information of the gas water heater; When the original image information includes the water heater image information, determining whether the original image information includes the flue image information; When the original image information includes the flue image information, generating a flue detection result based on a preset flue hidden danger handling strategy; Based on the target processing strategy and the flue detection result, generating a target risk prediction result for the water heater flue; Importing the original image information into a water heater prediction model to obtain a water heater prediction result; the water heater prediction result refers to a predicted probability value of the water heater existing; Importing the original image information into a flue prediction model to obtain a flue prediction result; the flue prediction result refers to a predicted probability value of the existence of the flue; Based on the water heater prediction result and the flue prediction result, generating a result without flue hidden danger; The target processing strategy refers to a strategy for generating a target risk result based on the flue detection result, wherein the target risk result is the sum of the no-smoke hazard result and the flue installation hazard result, or the target risk result is the product of the no-smoke hazard result and the flue installation hazard result.
2. The method according to claim 1, It is characterized in that When the original image information includes the water heater image information, determining whether the original image information includes the flue image information includes: When the original image information includes water heater image information, obtaining a water heater threshold; When the water heater prediction result is greater than the water heater threshold, it is determined whether the original image information contains flue image information.
3. The method according to claim 2, It is characterized in that When the original image information includes the flue image information, generating a flue detection result based on a preset non-flue hidden danger processing strategy includes: When the original image information includes the flue image information, obtaining a flue threshold; When the flue prediction result is greater than the flue threshold, a no-flue-hazard result is generated based on the water heater prediction result and the flue prediction result.
4. The method according to claim 1, It is characterized in that The target processing strategy includes: Generate a flue installation hidden danger result based on a preset flue installation hidden danger handling strategy and the original image information; Based on the flue installation hidden danger results and the flue detection results, a target risk prediction result of the water heater flue is generated.
5. The method according to claim 4, It is characterized in that The strategies for dealing with hidden dangers in flue installation include: Get the results of flue connection hidden dangers; When the smoke duct connection hidden danger result is not connected normally, the smoke duct connection hidden danger result is set to have hidden danger; When the hidden danger result of the flue connection is normal connection, the hidden danger result of the flue connection is set to no hidden danger; The target risk prediction result is generated based on the non-smoke duct hidden danger result, the flue connection hidden danger result, the flue port hidden danger result and the target risk calculation strategy.
6. The method according to claim 5, It is characterized in that The target risk calculation strategy includes: When the hidden danger result of the flue port is that there is a hidden danger, the target risk prediction result is set to have a hidden danger; When the flue port hidden danger result is no hidden danger, the target risk prediction result is generated based on the no-smokestack hidden danger result, the flue connection hidden danger result and the flue port hidden danger result.
7. The method according to claim 6, It is characterized in that The target processing strategy includes: When the smoke duct connection hidden danger result is that there is a hidden danger, the target risk prediction result is the same as the result of no smoke duct hidden danger; When the flue connection hidden danger result is no hidden danger, the target risk prediction result is the same as the flue installation hidden danger result.
8. A water heater flue risk prediction device, It is characterized in that include: An acquisition module is configured to acquire original image information of the gas water heater; a water heater image information determination module, configured to determine whether the original image information contains flue image information when the original image information contains water heater image information; a smoke duct detection result generating module, configured to generate a smoke duct detection result based on a preset smoke duct hidden danger processing strategy when the original image information includes the smoke duct image information; A target risk prediction result generation module is configured to generate a target risk prediction result of the water heater flue based on the target calculation strategy and the flue detection result; Importing the original image information into a water heater prediction model to obtain a water heater prediction result; the water heater prediction result refers to a predicted probability value of the water heater existing; Importing the original image information into a flue prediction model to obtain a flue prediction result; the flue prediction result refers to a predicted probability value of the existence of the flue; Based on the water heater prediction result and the flue prediction result, generating a result without flue hidden danger; The target processing strategy refers to a strategy for generating a target risk result based on the flue detection result, wherein the target risk result is the sum of the no-smoke hazard result and the flue installation hazard result, or the target risk result is the product of the no-smoke hazard result and the flue installation hazard result.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Gas water heater
CN103727676A
Gas potential safety hazard data processing method and system and storage medium
CN111274962A
Control method and device for gas water heater and gas water heater
CN111664587A
Sensor and a method
CN112019815A
A heater and a method of operating such a heater
GB2576327A
