Dangerous case early warning method and system, electronic equipment and storage medium

By setting detectors in multiple areas of the target site and dynamically adjusting the safety threshold interval using the server, the problem of low accuracy of existing dangerous warning technology is solved, and more efficient dangerous warning is achieved.

CN119920064APending Publication Date: 2025-05-02SHANGHAI COORDINATE INTELLIGENT TECH SERVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510010404.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-03
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

The existing dangerous situation warning technology has low accuracy, which is prone to misjudgment of dangerous situations or failure to promptly warn.

Method used

By setting detectors for multiple areas in the target site, the server predicts whether there will be a danger based on the indicator value and security threshold interval of each area, and sends early warning information to the terminal device. The index values ​​collected by the detector are used to dynamically adjust the safety threshold interval to improve the accuracy of early warning.

Benefits of technology

It improves the accuracy of dangerous situation warning, reduces misjudgment and failure to promptly warn, and enhances the ability to advance dangerous situations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119920064A_ABST
    Figure CN119920064A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a dangerous case early warning method and system, electronic equipment and a storage medium. In the ith monitoring period, the server obtains the value of each index from the detector of each area, and predicts whether a dangerous case occurs in a safety threshold interval corresponding to each index of each area in the ith monitoring period; if i is equal to 1, the safety threshold interval is obtained based on the value of each index of each region in a preset duration in a safety environment; if i is greater than 1, if no index abnormality occurs in the (i-1)-th monitoring period, the safety threshold interval corresponding to each index of each region in the i-th monitoring period is obtained based on the value of each index of each region in the (i-1)-th monitoring period, and if the index abnormality occurs in the (i-1)-th monitoring period, the safety threshold interval corresponding to each index of each region in the i-th monitoring period is obtained based on the value of each index of each region in the (i-1)-th monitoring period. The safety threshold interval is obtained based on the safety threshold interval corresponding to each index of each area in the (i-1) th monitoring period; and if the dangerous case is predicted to occur, a dangerous case early warning is sent to the terminal equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of danger warning, and specifically to a danger warning method, system, electronic equipment and storage medium. Background Art

[0002] At present, the early warning of dangerous situations (such as fire warning, gas leakage warning, etc.) in scenes with concentrated flow of people, such as public life, office and home life, is mainly realized by post-positioned and single-function sensor devices. For example, in the case of fire danger, an alarm threshold is set for the smoke sensor, and the alarm response is triggered only when the detection reaches the alarm threshold.

[0003] However, if the alarm threshold is set too low, there is a possibility of misjudgment of the dangerous situation. If the alarm threshold is set too high, the dangerous situation may actually have occurred and even caused serious harm. In other words, this is a post-warning, which makes the accuracy of the dangerous situation warning low.

[0004] Therefore, how to improve the accuracy of dangerous situation warning is an urgent problem to be solved. Summary of the invention

[0005] In response to the above technical problems, the embodiments of the present application provide a danger warning method, system, electronic device and storage medium, which improve the accuracy of danger warning.

[0006] In a first aspect, an embodiment of the present application provides a danger warning method, which is applied to a danger warning system, wherein the danger warning system includes detectors, a server, and a terminal device arranged in multiple areas of a target location; the detector is used to obtain values ​​of multiple indicators; the method includes:

[0007] In the i-th monitoring cycle, the server obtains the value of each indicator from the detector in each area;

[0008] The server predicts whether a dangerous situation will occur based on the value of each indicator in each area and the safety threshold interval corresponding to each indicator in each area in the i-th monitoring period;

[0009] Among them, when i=1, the safety threshold interval corresponding to each indicator of each area is obtained based on the value of each indicator of each area within a preset time length under a safe environment; when i>1, if no indicator abnormality occurs in the i-1th monitoring period, the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period is obtained based on the value of each indicator of each area in the i-1th monitoring period; if an indicator abnormality occurs in the i-1th monitoring period, the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period is obtained based on the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period;

[0010] If a dangerous situation is predicted to occur, the server sends a dangerous situation warning to the terminal device, and the dangerous situation warning includes the location information of the abnormal area.

[0011] In a second aspect, an embodiment of the present application provides a danger warning system, which includes detectors, servers, and terminal devices set in multiple areas of a target location; the detectors are used to obtain values ​​of multiple indicators;

[0012] In the i-th monitoring cycle, the server,is used to obtain the value of each indicator from the detector,in each area;

[0013] The server is further used to predict whether a dangerous situation will occur based on the value of each indicator in each area and the safety threshold interval corresponding to each indicator in each area in the i-th monitoring period;

[0014] Among them, when i=1, the safety threshold interval corresponding to each indicator of each area is obtained based on the value of each indicator of each area within a preset time length under a safe environment; when i>1, if no indicator abnormality occurs in the i-1th monitoring period, the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period is obtained based on the value of each indicator of each area in the i-1th monitoring period; if an indicator abnormality occurs in the i-1th monitoring period, the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period is obtained based on the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period;

[0015] If a dangerous situation is predicted, the server is also used to send a dangerous situation warning to the terminal device, and the dangerous situation warning includes the location information of the abnormal area.

[0016] In a third aspect, an embodiment of the present application provides a danger warning method, which is applied to a server, and the server is located in a danger warning system, and the danger warning system also includes detectors and terminal devices set in multiple areas of the target location; the detectors are used to obtain values ​​of multiple indicators; the method includes:

[0017] In the i-th monitoring cycle, the server obtains the value of each indicator from the detector in each area;

[0018] The server predicts whether a dangerous situation will occur based on the value of each indicator in each area and the safety threshold interval corresponding to each indicator in each area in the i-th monitoring period;

[0019] Among them, when i=1, the safety threshold interval corresponding to each indicator of each area is obtained based on the value of each indicator of each area within a preset time length under a safe environment; when i>1, if no indicator abnormality occurs in the i-1th monitoring period, the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period is obtained based on the value of each indicator of each area in the i-1th monitoring period; if an indicator abnormality occurs in the i-1th monitoring period, the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period is obtained based on the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period;

[0020] If a dangerous situation is predicted to occur, the server sends a dangerous situation warning to the terminal device, and the dangerous situation warning includes the location information of the abnormal area.

[0021] In a fourth aspect, an embodiment of the present application provides a server, which is located in a danger warning system, and the danger warning system also includes detectors and terminal devices set in multiple areas of a target location; the detectors are used to obtain values ​​of multiple indicators; the server includes a transceiver unit and a processing unit;

[0022] In the i-th monitoring cycle, the transceiver unit is used to obtain the value of each indicator from the detector in each area;

[0023] a processing unit, for predicting whether a dangerous situation will occur based on the value of each indicator of each area and the safety threshold interval corresponding to each indicator of each area in the i-th monitoring period;

[0024] Among them, when i=1, the safety threshold interval corresponding to each indicator of each area is obtained based on the value of each indicator of each area within a preset time length under a safe environment; when i>1, if no indicator abnormality occurs in the i-1th monitoring period, the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period is obtained based on the value of each indicator of each area in the i-1th monitoring period; if an indicator abnormality occurs in the i-1th monitoring period, the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period is obtained based on the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period;

[0025] If a dangerous situation is predicted to occur, the transceiver unit is also used to send a dangerous situation warning to the terminal device, and the dangerous situation warning includes the location information of the abnormal area.

[0026] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory, the processor being connected to the memory, the memory being used to store computer programs, and the processor being used to execute the computer programs stored in the memory, so that the electronic device executes the methods of the first aspect and the third aspect.

[0027] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program enables a computer to execute the methods of the first aspect and the third aspect.

[0028] In a seventh aspect, an embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and is computer-operable to enable the computer to execute the methods of the first and third aspects.

[0029] In implementing the embodiment of the present application, detectors for obtaining values ​​of multiple indicators are set in multiple areas of the target location, and then when in the i-th monitoring cycle, the server obtains the value of each indicator from the detector in each area; then the server predicts whether a dangerous situation will occur based on the value of each indicator in each area and the safety threshold interval corresponding to each indicator in each area in the i-th monitoring cycle, wherein when i=1, the safety threshold interval corresponding to each indicator in each area is obtained by marking the value of each indicator in each area within a preset time period in a safe environment; when i>1, if no indicator abnormality occurs in the i-1th monitoring cycle, the safety threshold interval corresponding to each indicator in each area is obtained by marking the value of each indicator in each area in the i-1th monitoring cycle, and if an indicator abnormality occurs in the i-1th monitoring cycle, the safety threshold interval corresponding to each indicator in each area is obtained based on the safety threshold interval corresponding to each indicator in each area in the i-1th monitoring cycle; if the server predicts that a dangerous situation will occur in the abnormal area, the server sends a dangerous situation warning to the terminal device, and the dangerous situation warning includes the location information of the abnormal area.

[0030] That is to say, at the very beginning, before the formal start of monitoring, the values ​​of various indicators within a preset time period in a safe environment (i.e., no dangerous situation occurs, or the environment meets the fire protection standard corresponding to the target location) are first marked by the detectors in each area, and the safety threshold interval corresponding to each indicator in each area is determined based on the values ​​of each indicator in each marked area, and then the safety threshold interval is used as the judgment basis for the first monitoring cycle, so that the server predicts whether a dangerous situation will occur in the first monitoring cycle based on the safety threshold interval and the values ​​of each indicator in each area obtained in the first monitoring cycle; further, if no indicator abnormality occurs in the i-th monitoring cycle (such as the values ​​of each indicator are within the safety threshold interval or within a certain proportion outside the safety threshold interval), the safety threshold interval is determined again based on the values ​​of each indicator collected by the detectors in each area in the i-th monitoring cycle, and the safety threshold interval is used as the judgment basis for the i+1-th monitoring cycle. According to, at this time, the safety threshold interval of the (i+1)th monitoring cycle and the safety threshold interval of the (i)th monitoring cycle may be the same or different (but the difference will not be too large, for example, only because of slight changes in indicators caused by objective factors, the marked safety threshold interval will change); of course, if an indicator abnormality occurs in the (i)th monitoring cycle, such as a dangerous situation is predicted, the safety threshold interval of the (i+1)th monitoring cycle cannot be determined based on the values ​​of each indicator collected by the detectors in each area in the (i)th monitoring cycle. Instead, the safety threshold interval of the (i+1)th monitoring cycle is determined based on the safety threshold interval of the (i)th monitoring cycle. For example, the safety threshold interval of the (i)th monitoring cycle is still used, so that the judgment basis of each monitoring cycle will not be affected by other accidental factors (such as some human operations that cause abnormal changes in some indicators but will not cause dangerous situations), thereby ensuring the accuracy of the judgment basis of each monitoring cycle, and thus improving the accuracy of dangerous situation warnings. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0032] Figure 1 A schematic diagram of a danger warning system provided in an embodiment of the present application;

[0033] Figure 2 A schematic diagram of another dangerous situation warning system provided in an embodiment of the present application;

[0034] Figure 3 An interactive schematic diagram of a dangerous situation warning method provided in an embodiment of the present application;

[0035] Figure 4 A schematic diagram of a dangerous situation warning based on a monitoring cycle provided in an embodiment of the present application;

[0036] Figure 5 A flowchart of a method for early warning of dangerous situations provided in an embodiment of the present application;

[0037] Figure 6 A block diagram of the functional units of a server provided in an embodiment of the present application;

[0038] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0040] The terms "first", "second", "third" and "fourth" etc. in the specification, claims and drawings of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0041] Reference to "embodiments" herein means that a particular feature, result, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0042] First, the relevant terms and technologies involved in the embodiments of the present application are explained:

[0043] Target places, multiple areas of target places: In the embodiments of the present application, the target places may be places corresponding to scenes such as public life, office and home life, such as residential buildings, office buildings, airports, factories, schools, hospitals and other types of places. Different target places have different characteristics (such as architectural structure characteristics), so the division methods of different target places are also different. The target places can be divided based on the architectural structure characteristics of the target places to obtain multiple areas corresponding to the target places, and the corresponding multiple areas of the target places can also be divided into ordinary areas (which can be understood as having a lower probability of dangerous situations) and special areas (higher probability of dangerous situations) according to the probability of dangerous situations. For example, when the target place is a residential building, the residential building can be divided into a garage, a garbage room, an electric equipment room, and each floor can be divided into corridor areas, staircase areas, and each resident’s room areas (such as kitchen areas, living room areas, bedroom areas, bathroom areas, etc.). ), etc., wherein the common area may include each floor divided into corridor area, staircase area, living room area, bedroom area, bathroom area of ​​each resident, etc., and the characteristic area may include garage, garbage room, power equipment room, kitchen area of ​​each resident, etc.; when the target place is an office building, each floor of the office building may be divided into conference room area, toilet area, power distribution room area, corridor area, office area, etc., at this time, the multiple areas of the office building refer to the various areas divided on each floor of the office building, wherein the common area may include conference room area, toilet area, corridor area, office area, etc., and the special area may include power distribution room area, etc.; when the target place is a factory, the factory area may be divided into The factory is divided into office area, employee rest area, processing area, assembly area, storage area, logistics area, machine repair workshop, electrical equipment room, etc. At this time, the multiple areas of the factory refer to the various areas divided into the factory, among which the ordinary area can include office area, employee rest area, logistics area, assembly area, etc., and the special area can include processing area, storage area, machine repair workshop, electrical equipment room, etc.; when the target place is an airport, the airport can be divided into departure floor, boarding gate, baggage claim area, check-in area, security inspection area, VIP rest area, commercial area, catering area, cargo loading and unloading area, aircraft refueling station, hangar, maintenance area, electrical equipment room, etc., then the multiple areas of the airport The area refers to the various areas of the airport, among which the general area may include the departure floor, boarding gate, baggage claim area, check-in area, security inspection area, VIP lounge area, commercial area, etc., and the special area may include the dining area, cargo loading and unloading area, aircraft refueling station, hangar, maintenance area, electrical equipment room, etc.; when the target place is a school, the school can be divided into classrooms, libraries, gymnasiums, administrative office areas, dormitories on each floor of dormitory buildings, laboratories, canteens, electrical equipment rooms, etc., among which the general area may include classrooms, libraries, gymnasiums, administrative office areas, etc., and the special area may include dormitories on each floor of dormitory buildings, laboratories, canteens, electrical equipment rooms, etc.;When the target place is a hospital, the hospital can be divided into wards, outpatient halls, public corridors, various consulting rooms, operating rooms, emergency rooms, drug storage areas, electrical equipment rooms, disinfection rooms, canteens, etc., among which ordinary areas can include wards, outpatient halls, public corridors, various consulting rooms, etc., and special areas can include operating rooms, emergency rooms, drug storage areas, electrical equipment rooms, disinfection rooms, canteens, etc. It should be noted that the division method of each place in the above example, and the classification of ordinary areas and special areas in the multiple areas corresponding to each place are only examples. In actual application, the target place will be divided into areas and classified into ordinary and special types in combination with the specific structural characteristics and actual needs of each target place, and this application does not make specific limitations. ;

[0044] Detector: In the embodiments of the present application, the detector is used to obtain the values ​​of multiple indicators. The detector may be a detector integrated with multiple functions for collecting various indicators, or may include multiple detectors corresponding to multiple indicators. The present application does not limit this. It should be noted that the following embodiments are mainly explained by taking a detector integrated with multiple functions for collecting various indicators as an example.

[0045] Multiple indicators: In the embodiments of the present application, these multiple indicators include but are not limited to some or all of the following indicators: harmful substances (such as methane, hydrogen, coal gas and other flammable and explosive gases, carbon monoxide, sulfur dioxide and other toxic gases and PM2.5, etc., which are not exhaustive in this application), smoke particles, temperature, air dryness and humidity, etc.

[0046] Hazards: In public life, office and home life, the most common types of hazards include fire, gas leakage, etc.; when a fire, gas leakage or other harmful substance leakage occurs, the values ​​of the above indicators will change accordingly. For example, in a fire, the temperature will increase, the air dryness will increase, the humidity will decrease, the smoke particles and PM2.5 will increase, etc. This application does not explain them one by one, and other examples can be deduced from this without doubt.

[0047] See also Figure 1 , Figure 1 A schematic diagram of a danger warning system provided in an embodiment of the present application.

[0048] The danger warning system at least includes detectors, servers, and terminal devices set up in multiple areas of the target location. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, and basic cloud computing services such as big data and artificial intelligence platforms. This application does not make specific restrictions; in addition, the number of servers can be one or more, Figure 1 The explanation is mainly based on one example. The terminal equipment may include some or all of the terminal equipment of the management center (such as the property center) set up at the target location, the terminal equipment of the management personnel (such as the residents, the property personnel), the terminal equipment of the fire rescue center (such as the fire linkage center near the target location, the 119 fire rescue center), and the terminal equipment of the backend management party, that is, the user objects corresponding to the terminal equipment are different. It should be noted that Figure 1 Only multiple terminal devices are shown but the user objects corresponding to the terminal devices are not limited, that is, Figure 1 The user objects corresponding to the multiple terminal devices shown may include part or all of the management center, management personnel, fire rescue center, etc. of the target location; the types of terminal devices may be tablet computers, laptop computers, desktop computers, smart phones, smart TVs, desktop computers, smart watches, smart cars, and other smart terminals, which are not specifically limited in this application. In addition, it should be noted that Figure 1 The detector styles and target location area divisions shown are merely examples for ease of understanding and are not actual limitations.

[0049] When in the i-th monitoring cycle, the server obtains the value of each indicator from the detector of each area, that is, when monitoring starts, the detector of each area is used to continuously report the current value of each indicator to the server; then the server predicts whether a dangerous situation will occur based on the value of each indicator in each area and the safety threshold interval corresponding to each indicator in each area in the i-th monitoring cycle, wherein when i=1, the safety threshold interval corresponding to each indicator in each area is obtained by marking the value of each indicator in each area within a preset time period in a safe environment; when i>1, if no indicator abnormality occurs in the i-1-th monitoring cycle, the safety threshold interval corresponding to each indicator in each area is obtained by marking the value of each indicator in each area in the i-1-th monitoring cycle, and if an indicator abnormality occurs in the i-1-th monitoring cycle, the safety threshold interval corresponding to each indicator in each area is obtained based on the safety threshold interval corresponding to each indicator in each area in the i-1-th monitoring cycle.

[0050] If the server predicts that a dangerous situation will occur, the server sends a dangerous situation warning to the terminal device, and the dangerous situation warning includes the location information of the abnormal area. For example, the identification information (such as the number) of the detectors set in various areas of the target place can be bound to the location information of the area where the detector is located and stored in the server in advance, and then the server can obtain the location information of the abnormal area based on the identification information of the detector in the abnormal area, where the abnormal area is one of multiple areas. Target application software, applets, web pages, etc. can be set on the terminal devices of different user objects. The target application software, applets, web pages correspond to the dangerous situation warning method in the embodiment of the present application. Therefore, when the terminal device receives the dangerous situation warning, the user object can be informed of the dangerous situation warning through the target application software, applets, web pages, etc. on the terminal device.

[0051] In an optional embodiment, the danger warning system may also include distributed gateways and / or central gateways corresponding to the detectors in each area. The distributed gateways and central gateways may be provided with communication modules (such as cellular networks such as 4G, 5G, etc., WI-FI, wireless radio frequency such as LoRA, etc., which are not limited or exhaustive in this application).

[0052] When the detectors in each area are provided with the above-mentioned communication module, the detectors in each area can communicate directly with the server; or, the detectors in each area can also communicate indirectly with the server through the distributed gateway and / or the central gateway, for example: the detectors in each area can send the values ​​of each indicator to the corresponding distributed gateway, and then the distributed gateway corresponding to the detector sends the values ​​of each indicator obtained by the detector to the server; or, the detectors in each area can send the values ​​of each indicator to the central gateway, and then the central gateway sends the values ​​of each indicator obtained by the detector to the server; or, the detectors in each area can first send the values ​​of each indicator to the corresponding distributed gateway, and then the distributed gateway corresponding to the detector sends the values ​​of each indicator obtained by the detector to the central gateway, and then the central gateway sends the values ​​of each indicator obtained by the detector to the server.

[0053] Similarly, when the detectors in each area are not equipped with a communication module, the detectors in each area can communicate with the corresponding distributed gateways through wired means. The detectors in each area cannot communicate directly with the server, and need to communicate with the server through the distributed gateway. For example, the detectors in each area will first send the values ​​of each indicator obtained to the corresponding distributed gateway, and then the distributed gateway corresponding to the detector will send the values ​​of each indicator obtained by the detector to the server; or they need to communicate with the server through the distributed gateway and the central gateway. For example, the detectors in each area can first send the values ​​of each indicator to the corresponding distributed gateway, and then the distributed gateway corresponding to the detector will send the values ​​of each indicator obtained by the detector to the central gateway, and then the central gateway will send the values ​​of each indicator obtained by the detector to the server.

[0054] Furthermore, the server may communicate directly with the terminal device, for example, the server directly sends a danger warning to the terminal device; or, the server may communicate indirectly with the terminal device, for example, the server may communicate with the server through a central gateway and / or a distributed gateway corresponding to the terminal device, for example: the server may first send a danger warning to the central gateway, and then the central gateway sends the danger warning to the terminal device; or, the server may first send a danger warning to the distributed gateway corresponding to the terminal device, and then the distributed gateway corresponding to the terminal device sends the danger warning to the terminal device; or, the server may first send a danger warning to the central gateway, and then the central gateway sends the danger warning to the distributed gateway corresponding to the terminal device, and then the distributed gateway corresponding to the terminal device sends the danger warning to the terminal device.

[0055] It should be noted that the present application does not limit the specific communication method between the detector, server, and terminal device in the above embodiment. Figure 2 , Figure 2 A schematic diagram of another danger warning system provided in an embodiment of the present application.

[0056] like Figure 2 As shown, when in the i-th monitoring cycle, the detectors in each area can directly send the value of each indicator obtained to the server, or the detectors in each area can send the value of each indicator obtained to the server through the distributed gateway corresponding to the detector ( Figure 2 The distributed gateway shown includes a distributed gateway corresponding to the detector. Figure 2The distributed gateway shown in the figure summarizes it uniformly) and / or the central gateway sends the value of each indicator obtained to the server, which will not be repeated here; then the server predicts whether a dangerous situation will occur based on the value of each indicator in each area and the safety threshold interval corresponding to each indicator in each area in the i-th monitoring cycle, which will not be repeated here; if the server predicts that a dangerous situation will occur, the server can directly send a dangerous situation warning to the terminal device, or can send a dangerous situation warning to the terminal device through the central gateway, or can send a dangerous situation warning to the terminal device through the distributed gateway corresponding to the terminal device (at this time Figure 2 The distributed gateway shown also includes a distributed gateway corresponding to the terminal device, Figure 2 The distributed gateway shown also provides a unified summary of the illustration) to send a danger warning to the terminal device, or a danger warning can be sent to the terminal device through the distributed gateway or central gateway corresponding to the terminal device, which will not be repeated here.

[0057] In an optional embodiment, the danger warning system may also include an early warning device, which may be set at a preset position in the target location, such as in the corridor of each floor of a residential building. Other locations may be set as required, and the number of early warning devices may be one or more. When the server predicts that a danger will occur, the server may also send an audio prompt message to the early warning device, and accordingly, the early warning device may play the audio prompt message to prompt personnel in abnormal areas of the target location that there is a risk of danger and that safe evacuation is required. In addition, the communication method between the server and the early warning device is similar to the communication method between the above-mentioned server and the terminal device, which will not be repeated here.

[0058] In combination with the contents of the above embodiments, the following mainly explains the danger warning method of the embodiment of the present application:

[0059] See also Figure 3 , Figure 3 The following is an interactive diagram of a method for early warning of dangerous situations provided in an embodiment of the present application. The method is applied to the early warning system of dangerous situations in the above embodiment and will not be described in detail here. The method includes but is not limited to the following steps S301-S303:

[0060] S301. In the i-th monitoring cycle, the server obtains the value of each indicator of each area from the detectors set in each area of ​​the target location.

[0061] In an embodiment of the present application, a detector is first installed in each of the multiple areas divided into the target place to collect the value of each indicator among the multiple indicators of each area; then the detector in each area sends the value of each collected indicator to the server in real time, and accordingly, the server obtains the value of each indicator from the detector in each area in real time.

[0062] S302. The server predicts whether a dangerous situation will occur based on the value of each indicator in each area and the safety threshold interval corresponding to each indicator in each area in the i-th monitoring cycle.

[0063] In an embodiment of the present application, at the beginning of monitoring or in the first (when i=1) monitoring cycle, the detectors in each area will collect in advance the value of each indicator within a preset time period (such as 24 hours, and the present application does not limit the value of the preset time period) in a safe environment (that is, when no danger occurs or no abnormal indicators occur); then the server determines the initial safety threshold interval corresponding to each indicator of each area based on the value of each indicator collected by the detectors in each area within the preset time period in the safe environment. For example, the minimum value of the initial safety threshold interval corresponding to each indicator of each area is the minimum value of all values ​​of each indicator of the area within the preset time period in the safe environment, and the maximum value of the initial safety threshold interval corresponding to each indicator of each area is the maximum value of all values ​​of each indicator of the area within the preset time period in the safe environment; then the server uses the initial safety threshold interval corresponding to each indicator of each area as the safety threshold interval corresponding to each indicator of each area in the first monitoring cycle.

[0064] Then the server predicts whether a dangerous situation will occur based on the value of each indicator of each area obtained in the i-th monitoring cycle and the safety threshold interval corresponding to each indicator of each area in the i-th monitoring cycle, wherein when i=1, the safety threshold interval corresponding to each indicator of each area in the first monitoring cycle is the above-mentioned initial safety threshold interval corresponding to each indicator of each area; when i>1, if no indicator abnormality occurs in the i-1-th monitoring cycle, then the safety threshold interval corresponding to each indicator of each area in the i-th monitoring cycle is based on the value of each indicator of each area in the i-1-th monitoring cycle; if an indicator abnormality occurs in the i-1-th monitoring cycle, then the safety threshold interval corresponding to each indicator of each area in the i-th monitoring cycle is based on the safety threshold interval corresponding to each indicator of each area in the i-1-th monitoring cycle. It should be noted that the principle of determining the safety threshold interval corresponding to each indicator of each area in the i-1-th monitoring cycle when i>1 is not elaborated here, and it will be explained below. Exemplary:

[0065] First, the server determines the abnormal area in the i-th monitoring period and the first abnormal indicator corresponding to the abnormal area based on the value of each indicator of each area currently obtained in the i-th monitoring period and the safety threshold interval corresponding to each indicator of each area in the i-th monitoring period. For example, first, the server determines the first difference corresponding to each indicator of each area in the i-th monitoring period based on the value of each indicator of each area and the first end value of the safety threshold interval corresponding to each indicator of each area in the i-th monitoring period, wherein the first end value is used for the risk in the safety threshold interval of the first abnormal indicator of the abnormal area. The end value for judging a dangerous situation is determined based on the standard change of each indicator value when a dangerous situation occurs. For example, it can be the end value of the two end values ​​of the safety threshold interval that is closer to the standard change of each indicator value when a dangerous situation occurs. For example, when a fire occurs, the standard change of the temperature indicator value is an increase, and the standard change of the humidity indicator value is a decrease. Then, the end value for judging a dangerous situation in the safety threshold interval of the temperature indicator is the maximum value of the safety threshold interval, and the end value for judging a dangerous situation in the safety threshold interval of the humidity indicator is the minimum value of the safety threshold interval. The same is true for other indicators, which are not elaborated here one by one.

[0066] In addition, when the first end value is the minimum value of the safety threshold interval, the first difference is the difference between the first end value and the value of each indicator of each area, and when the first end value is the maximum value of the safety threshold interval, the first difference is the difference between the value of each indicator of each area and the first end value. Then the server determines the abnormal area under the i-th monitoring cycle and the first abnormal indicator corresponding to the abnormal area based on the first difference corresponding to each indicator of each area. For example, the first abnormal indicator is the indicator in which the first difference is greater than or equal to the first preset value for the first time among the multiple indicators of the abnormal area under the i-th monitoring cycle, wherein the first preset value is the first ratio of the first end value. It should be noted that the number of first abnormal indicators can be one or more. When there are multiple first abnormal indicators, the subsequent processing principle of each first abnormal indicator is the same, or one of the abnormal indicators is selected from multiple first abnormal indicators as the first abnormal indicator involved in the subsequent steps, which is not limited in this application.

[0067] Then the server continues to obtain the value of the first abnormal indicator within the first preset time period from the detector in the abnormal area. That is to say, after the server detects the existence of the first abnormal indicator in a certain area, namely the abnormal area, based on the value of each indicator obtained in real time from the detectors in each area, the server continues to obtain the value of the first abnormal indicator within a period of time (namely, the first preset time period) from the detector in the abnormal area. In addition, the present application does not limit the specific value of the first preset time period. Then the server determines the changing trend of the value of the first abnormal indicator of the abnormal area within the first preset time period based on the value of the first abnormal indicator within the first preset time period, such as the changing trend may be a continuous rising trend, a continuous falling trend, an ups and downs fluctuation trend, etc.

[0068] Then, based on the changing trend of the value of the first abnormal indicator of the abnormal area within the first preset time period, the server predicts whether a dangerous situation will occur in the abnormal area. For example, if the changing trend of the first abnormal indicator is the target changing trend corresponding to the first abnormal indicator, the server predicts that a dangerous situation will occur in the abnormal area. Alternatively, if the changing trend of the first abnormal indicator is the target changing trend corresponding to the first abnormal indicator, the server continues to obtain the value of the first abnormal indicator from the detector in the abnormal area, wherein the target changing trend corresponding to the first abnormal indicator represents the standard changing trend of the first abnormal indicator in the event of a dangerous situation, such as when a fire occurs, the standard changing trend of the temperature indicator is a continuous rising trend, the standard changing trend of the humidity indicator is a continuous falling trend, etc., which is similar to the standard change of each indicator value when a dangerous situation occurs, and will not be repeated here.

[0069] Then, the server determines the second difference value corresponding to the first abnormal indicator of the abnormal area in the i-th monitoring period based on the value of the first abnormal indicator of the abnormal area that continues to be obtained and the first end value. Similarly, when the first end value is the minimum value of the safety threshold interval, the second difference value is the difference between the first end value and the value of the first abnormal indicator of the abnormal area that continues to be obtained. When the first end value is the maximum value of the safety threshold interval, the second difference value is the difference between the value of the first abnormal indicator of the abnormal area that continues to be obtained and the first end value.

[0070] Then, when the second difference is greater than or equal to the second preset value, the server predicts whether a dangerous situation will occur in the abnormal area based on the value of the first indicator at the current moment obtained from the detector in the abnormal area, wherein the second preset value is the second ratio of the first end value, the second ratio is greater than the first ratio, and the first indicator is part or all of the indicators among the multiple indicators except the first abnormal indicator. In other words, the first indicator can also be understood as an indicator among the multiple indicators that is associated with the first abnormal indicator when judging a dangerous situation. If the first abnormal indicator is a temperature indicator, the indicators associated with temperature when judging a fire dangerous situation may include humidity, dryness, smoke particles, PM2.5 and other indicators.

[0071] That is to say, after discovering that the value of the first abnormal indicator has continued to follow the target change trend for the first preset time, the server begins to focus on the change of the first abnormal indicator. When the second difference corresponding to the value of the first abnormal indicator that is continuously obtained is greater than or equal to the second preset value, if the first abnormal indicator is a temperature indicator, it can be understood that the value of the first abnormal indicator that is continuously obtained is greater than or equal to the third preset value (that is, the sum of the first end value and the second ratio of the first end value). At this time, the third preset value can be understood as the warning trigger limit value corresponding to the first abnormal indicator. Further, the server does not directly predict that a dangerous situation will occur after the value of the first abnormal indicator reaches the warning trigger limit value, but continues to predict whether a dangerous situation will occur in the abnormal area based on the values ​​of other indicators associated with the first abnormal indicator at the current moment obtained from the detector in the abnormal area, thereby improving the accuracy of the dangerous situation prediction.

[0072] Exemplarily, first, the server determines the third difference based on the value of the first indicator of the abnormal area at the current moment and the second end value, wherein the second end value is the end value for risk judgment in the safety threshold interval corresponding to the first indicator of the abnormal area, and the second end value is determined in a similar manner to the first end value, which will not be repeated here. In addition, similarly, when the second end value is the left end value of the safety threshold interval, i.e., the minimum value, the third difference is the difference between the second end value and the value of the first indicator, and when the second end value is the right end value of the safety threshold interval, i.e., the maximum value, the third difference is the difference between the value of the first indicator and the second end value. For example, when predicting a fire risk, the first indicator includes a humidity indicator, and the second end value is the minimum value in the safety threshold interval corresponding to the humidity indicator of the abnormal area. Since the humidity value will become lower and lower during a fire risk, the value of the humidity indicator will in principle gradually become smaller than the second end value, and at this time the third difference is the difference between the second end value and the value of the humidity indicator.

[0073] Then, based on the third difference, the server predicts whether a dangerous situation will occur at the abnormal threshold. For example, if the third difference is greater than or equal to the fourth preset value, the server predicts that a dangerous situation will occur in the abnormal area, wherein the fourth preset value is the third ratio of the second end value, and the third ratio is less than or equal to the second ratio; optionally, when there are multiple first indicators, if the third difference corresponding to each first indicator is greater than or equal to the fourth preset value, or the number of indicators in the multiple first indicators whose third difference is greater than or equal to the fourth preset value is greater than or equal to the first number, the server predicts that a dangerous situation will occur in the abnormal area. Conversely, if the third difference is less than the fourth preset value, the server predicts that no dangerous situation will occur in the abnormal area; when there are multiple first indicators, if the third difference corresponding to each first indicator is less than the fourth preset value, or the number of indicators in the multiple first indicators whose third difference is less than the fourth preset value is less than the first number, the server predicts that no dangerous situation will occur in the abnormal area.

[0074] Or optionally, after determining the third difference, the server may also determine a fourth difference corresponding to each indicator of the associated area based on the value of each indicator of the associated area associated with the abnormal area in the multiple areas and the end value used for dangerous situation judgment in the safety threshold interval of each indicator of the associated area, wherein the associated area of ​​the abnormal area may be pre-configured, such as a distance less than a preset distance threshold, etc. If the abnormal area is a kitchen of a resident of a residential building, the associated area may be a living room, bedroom or other area of ​​the resident; then the server predicts whether a dangerous situation will occur in the abnormal area based on the third difference and the fourth difference corresponding to each indicator of the associated area, for example, the third difference is greater than or equal to the fourth preset value. (Optionally, when there are multiple first indicators, the third difference corresponding to each first indicator is greater than or equal to the fourth preset value, or the number of indicators whose third difference is greater than or equal to the fourth preset value among the multiple first indicators is greater than or equal to the first number), and the number of the fourth difference corresponding to each indicator among the multiple indicators of the associated area is greater than or equal to the fifth preset value corresponding to each indicator of the associated area is greater than or equal to the second number, then it is predicted that a dangerous situation will occur, wherein the fifth preset value corresponding to each indicator of the associated area is the fourth ratio of the end value used for dangerous situation judgment in the safety threshold interval of each indicator of the associated area, and the fourth ratio is greater than (or equal to) the first ratio and less than (or equal to) the second ratio. Conversely, if the third difference is less than the fourth preset value (optionally, when there are multiple first indicators, if the third difference corresponding to each first indicator is less than the fourth preset value, or the number of indicators whose third difference is less than the fourth preset value among the multiple first indicators is less than the first number), and the number of the fourth difference corresponding to each indicator among the multiple indicators of the associated area is greater than or equal to the fifth preset value corresponding to each indicator of the associated area is less than the second number, then the server predicts that no dangerous situation will occur in the abnormal area.

[0075] That is to say, after determining that the value of the first abnormal indicator has reached the corresponding early warning trigger limit value, if it is determined that the third difference corresponding to the first indicator associated with the first abnormal indicator reaches the fourth preset value, for example, if the first indicator is a humidity indicator, that is, the value of the humidity indicator is less than or equal to the fourth preset value (that is, the sum of the second end value and the third ratio of the second end value), then the fourth preset value can be understood as the early warning trigger limit value corresponding to the first indicator, and then it can be comprehensively predicted that a dangerous situation will occur in the abnormal area with higher accuracy; and even if it is determined that the value of the first abnormal indicator has reached the corresponding early warning trigger limit value, but the value of the first indicator associated with the first abnormal indicator has not reached the early warning trigger limit value corresponding to the first indicator, the server predicts that no dangerous situation will occur, which can reduce the impact of other accidental factors that will not cause dangerous situations on the dangerous situation prediction results, thereby improving the accuracy of dangerous situation prediction.

[0076] In an optional embodiment, the danger warning system of the present application may also include a line detector for line failure situations such as line aging and short circuit, and the server may continuously obtain line detection results from the line detector; and the values ​​of the first ratio, second ratio, third ratio, and fourth ratio used by the server for danger prediction in the above embodiment will be lower, such as being reduced to the original preset ratios, respectively, and the present application does not make specific limitations. Furthermore, when the line detection result is a line failure, and based on the updated first ratio, second ratio, third ratio, and fourth ratio, combined with the danger warning method, it is predicted that a danger will occur in the abnormal area, the danger warning that the server can send to the terminal device may also include the location information of the line failure. It should be noted that the communication method between the line detector and the server is similar to the communication method between the above detector and the server, and will not be repeated here.

[0077] In an optional embodiment, when the server predicts whether a dangerous situation will occur based on the value of each indicator of each area and the safety threshold interval corresponding to each indicator of each area in the i-th monitoring cycle, if the first abnormal indicator determined by the server based on the above principle of determining the first abnormal indicator is the second indicator among multiple indicators, the server continues to obtain the value of the second indicator of the abnormal area, wherein the second indicator can be one of the above-mentioned harmful substances such as methane, hydrogen, carbon monoxide, sulfur dioxide, PM2.5, etc., and the present application is not limited thereto; then if the value of the second indicator of the abnormal area that continues to be obtained reaches the seventh preset value corresponding to the second indicator of the abnormal area, it is predicted that a dangerous situation will occur in the abnormal area, wherein the seventh preset value can be a warning trigger limit value pre-configured according to the characteristics of the abnormal area, or it can be an end value used for dangerous situation judgment in the safety threshold interval of the second indicator of the abnormal area, or it can be the sum of the end value used for dangerous situation judgment in the safety threshold interval of the second indicator of the abnormal area and the fifth ratio of the end value, wherein the fifth ratio is greater than zero and less than or equal to the value of the above-mentioned second ratio. For example, when the second indicator is methane, it can be predicted that the dangerous situation in the abnormal area is gas leakage. When the second indicator is carbon monoxide, it can be predicted that the dangerous situation in the abnormal area is carbon monoxide poisoning, etc. Other harmful substances are similar and are not listed here one by one.

[0078] S303: If a dangerous situation is predicted to occur, the server sends a dangerous situation warning to the terminal device.

[0079] In an embodiment of the present application, if the server predicts that a dangerous situation will occur in an abnormal area, the server will send a dangerous situation warning to the terminal device. At this time, the dangerous situation warning includes the location information of the abnormal area. The terminal device and the communication method between the server and the terminal device will not be repeated here; accordingly, after receiving the dangerous situation warning, the terminal device can prompt relevant personnel through text and / or voice that there is a dangerous risk in the abnormal area, so as to facilitate relevant personnel to make timely judgments and handle them, realize pre-warning of the dangerous situation, and avoid as much as possible the dangerous situation that has actually occurred and caused greater harm.

[0080] In an optional embodiment, the danger warning system may also include infrared thermal imaging detectors arranged in various areas. When the server predicts that a danger will occur in an abnormal area, the server may also obtain data information from the infrared thermal imaging detectors in the abnormal area, and judge whether there is a target object (such as a person, an animal, etc.) in the abnormal area based on the data information. Optionally, the server may also obtain data information from the infrared thermal imaging detectors in the associated area of ​​the abnormal area, and then the server judges whether there is a target object in the abnormal area and the associated area based on the data information of the abnormal area and the data information of the associated area; if the server judges that there is a target object, the server will also send the location information of the target object to the terminal device, that is, the location information of the area where the target object is located (such as the abnormal area or the associated area), which will not be repeated here, so as to facilitate relevant units or personnel to take corresponding handling measures. It should be noted that the communication method between the infrared thermal imaging detector and the server is similar to the communication method between the above-mentioned detector and the server, which will not be repeated here.

[0081] Of course, in an optional embodiment, if the server predicts that a dangerous situation will occur in the abnormal area, the server will continue to obtain the value of each indicator in the multiple indicators from the detector of the abnormal area; then when the value of each indicator in the abnormal area that continues to be obtained is restored to the safety threshold interval corresponding to each indicator in the abnormal area, the server starts to predict the dangerous situation for the i+1 monitoring period based on the safety threshold interval corresponding to each indicator in each area under the i-th monitoring period. Or optionally, after the server continues to obtain the value of each indicator from the detector of the abnormal area, the server can also determine the fifth difference corresponding to each indicator of the abnormal area that continues to be obtained based on the value of each indicator of the abnormal area that continues to be obtained and the end value used for dangerous situation judgment in the safety threshold interval of each indicator of the abnormal area, wherein the fifth difference is similar to the determination principle of the first difference and the second difference, which will not be repeated here; if the fifth difference corresponding to each indicator of the abnormal area that continues to be obtained is less than or equal to the sixth preset value, the server starts to predict the dangerous situation for the i+1 monitoring period based on the safety threshold interval corresponding to each indicator of each area under the i-th monitoring period, wherein the sixth preset value is less than or equal to the first preset value. That is to say, the server uses the moment when the value of each indicator in the abnormal area that is continuously obtained is restored to the corresponding safety threshold interval as the starting moment of the next monitoring cycle, i.e., the i+1th monitoring cycle (which is also the end moment of the ith monitoring cycle), and uses the safety threshold interval corresponding to each indicator in each area under the ith monitoring cycle as the safety threshold interval corresponding to each indicator in each area under the ith monitoring cycle. At this time, the situation can be summarized as "an indicator abnormality occurs in the ith monitoring cycle."

[0082] Of course, if the server predicts that no danger will occur in the i-th monitoring cycle, this includes two situations: (1) the value of each indicator in each area in the i-th monitoring cycle is not abnormal (which can be generally understood as "no indicator abnormality occurs in the i-th monitoring cycle"), which means that the value of each indicator in each area in the i-th monitoring cycle is in the safety threshold interval corresponding to each indicator in each area, or that the value of each indicator in each area in the i-th monitoring cycle exceeds the safety threshold interval corresponding to each indicator in each area by a ratio less than the first ratio, which is not limited in this application; (2) it means that the value of each indicator in each area in 1 monitoring cycle exceeds the safety threshold interval corresponding to each indicator in each area by a ratio greater than the first ratio and less than the second ratio, which can be generally understood as "an indicator abnormality occurs in the i-th monitoring cycle". That is to say, at this time, "an indicator abnormality occurs in the i-th monitoring cycle" includes the second of the two situations in which a danger is predicted in the i-th monitoring cycle and the server predicts that no danger will occur in the i-th monitoring cycle.

[0083] Therefore, when an indicator abnormality occurs in the i-th monitoring cycle, the server determines that the security threshold interval corresponding to each indicator of each area in the i-th monitoring cycle is the security threshold interval corresponding to each indicator of each area in the i+1-th monitoring cycle, that is, the security threshold interval of the previous monitoring cycle is still used as the basis for judgment. When no indicator abnormality occurs in the i-th monitoring cycle, the server can determine the security threshold interval corresponding to each indicator of each area in the i+1-th monitoring cycle based on the value of each indicator of each area obtained in the i-th monitoring cycle. At this time, the value of each indicator of each area obtained in the i-th monitoring cycle can be understood as the value of each indicator of each area in the i-th monitoring cycle obtained in a safe environment. At this time, the duration of the i-th monitoring cycle can be equal to the preset duration. For example, the minimum value of the security threshold interval corresponding to each indicator of each area in the i+1-th monitoring cycle is the minimum value of all values ​​of each indicator of each area obtained in the i-th monitoring cycle, and the maximum value of the security threshold interval corresponding to each indicator of each area in the i+1-th monitoring cycle is the maximum value of all values ​​of each indicator of each area obtained in the i-th monitoring cycle.

[0084] In an optional embodiment, when the multiple areas obtained by dividing the target place include multiple types of areas (wherein the multiple types correspond to the types of the target place, such as when the target place is a residential building, the multiple types may be part or all of the various types such as kitchen, bedroom, living room, bathroom, storage room, corridor, etc.), since the changes of various indicators of different types of areas are different, the value of each indicator of each area under each type is determined based on the value of each indicator within a preset time length obtained by the detector of each area under each type, and the safety threshold interval corresponding to each indicator of each area of ​​the same type in any monitoring period is the same, exemplarily:

[0085] If no indicator abnormality occurs in the i-th monitoring cycle, the safety threshold interval of each indicator of each type of each area in the i+1-th monitoring cycle is determined based on the value of each indicator obtained by the detector of each type of each area in the i-th monitoring cycle (the duration is the preset duration at this time), and the safety threshold interval corresponding to each indicator of each area of ​​the same type in the i+1-th monitoring cycle is the same, wherein the maximum value of the safety threshold interval of each indicator of each type of each area in the i+1-th monitoring cycle is the maximum value of all values ​​of each indicator obtained by the detector of each type of each area in the i-th monitoring cycle, and the minimum value of the safety threshold interval of each indicator of each type of each area in the i+1-th monitoring cycle is the minimum value of all values ​​of each indicator obtained by the detector of each type of each area in the i-th monitoring cycle. For example, if the first type of area includes area A, area B and area C, the safety threshold interval of each indicator of each area of ​​the first type in the i+1-th monitoring cycle is the same, and the maximum value is the maximum value of all values ​​of each indicator obtained by the detectors of area A, area B and area C in the i-th monitoring cycle, and the minimum value is the same, which will not be repeated here.

[0086] If an indicator abnormality occurs in the i-th monitoring cycle, the safety threshold interval of each indicator of each type of each area in the i+1-th monitoring cycle is determined by the value of each indicator of each type of each area in the i-th monitoring cycle (the duration is not necessarily the preset duration at this time), and the safety threshold interval corresponding to each indicator of each area of ​​the same type in the i+1-th monitoring cycle is the same, which will not be repeated here.

[0087] It can be seen from the contents of the above embodiments that since the initial safety threshold interval of the present application is obtained by marking based on the indicator value within a preset time length, when the entire monitoring period predicts that no dangerous situation will occur, the length of the monitoring period can in principle be equal to the preset time length. However, when the entire monitoring period predicts that a dangerous situation will occur, the length of the monitoring period is not necessarily equal to the preset time length, and may be less than or greater than the preset time length.

[0088] Therefore, for ease of understanding, see Figure 4 , Figure 4 A schematic diagram of a danger warning based on a monitoring cycle provided in an embodiment of the present application.

[0089] First of all, Figure 4 The temperature index and humidity index are mainly used as examples for illustration. The initial safety thresholds of the temperature index and humidity index of each area of ​​the target location are obtained based on the value of each index in each area within a preset time (assuming it is t) in a safe environment; then the server starts danger monitoring based on the initial safety thresholds of the temperature index and humidity index of each area, that is, entering the first monitoring cycle.

[0090] Assume that the initial safety threshold corresponding to the temperature index of the first area (one of the multiple areas of the target location) is [a1, b1] in the figure (the initial safety threshold of the humidity index Figure 4 (not shown), the server starts to predict the danger for the first monitoring period based on the initial safety thresholds of the temperature index and humidity index of the first area. If the first monitoring period predicts that no danger occurs, the first monitoring period is from T0 to T1, and the duration is t. Then the server determines the safety threshold interval of the temperature index of the first area in the second monitoring period based on all the values ​​of the temperature index collected by the detector in the first area in the first monitoring period, that is, [a2, b1]. The same is true for the humidity index. Figure 4 Not shown.

[0091] Then the second monitoring cycle of danger prediction begins. 11 At the time, if the value of the temperature index of the first area is b2 (b2>b1), and the difference between b2 and b1 is greater than or equal to the first preset value, the server determines that the first area is an abnormal area, and the temperature index of the first area is a first abnormal index; if it is detected that the temperature index of the first area has continued the target change trend for the first preset time, that is, the rising trend ( Figure 4 (not shown), the server continues to obtain the value of the temperature indicator of the first area; then at T 12 At time b3, if the value of the temperature index of the first area is b3 (b3>b2), if the difference between b3 and b1 is greater than or equal to the second preset value, that is, the warning trigger limit value of the temperature index of the first area is reached, the server determines the third difference based on the difference between the value of the first indicator of the first area, that is, the humidity index, and the minimum value of the safety threshold area of ​​the humidity index of the first area in the second monitoring cycle; if the third difference is greater than or equal to the fourth preset value, the server predicts that a dangerous situation will occur in the first area, such as a fire dangerous situation, and sends a dangerous situation warning corresponding to the first area to the terminal device.

[0092] At the same time, the server will continue to obtain the values ​​of the temperature index and the humidity index from the detector in the first area; when the values ​​of the temperature index and the humidity index in the first area are restored to the safety threshold interval corresponding to the temperature index and the humidity index in the second monitoring cycle, that is, Figure 4 In T 21 The value of the temperature index in the first area at the moment is b4 (at this time, it is in the safety threshold interval corresponding to the temperature index in the second monitoring cycle, that is, [a2, b1]), and the humidity index Figure 4 If not shown, the end time of the second monitoring cycle and the start time of the third monitoring cycle are both T 21Time (indicates the time when the value of the temperature index and the value of the humidity index of the first area are restored to the safety threshold interval corresponding to the temperature index and the humidity index in the second monitoring cycle, Figure 4 The humidity index is restored earlier than the temperature index, that is, T 21 The second monitoring period is T1~T 21 Time (from this time Figure 4 As shown in the diagram, the time length is greater than t), and the server sets the safe area interval of the temperature index of the first area in the second monitoring cycle (i.e., [a2, b1]) and the safe threshold interval of the humidity index ( Figure 4 (not shown) continue to serve as the safety threshold interval of the temperature indicator and the safety threshold interval of the humidity indicator of the first area in the third monitoring cycle respectively.

[0093] Similarly, the third monitoring cycle begins with the prediction of dangerous situations. If the third monitoring cycle predicts that no dangerous situation will occur, the third monitoring cycle is T 21 ~T 31 At that moment (the duration at this time is t), and the server determines the safety threshold interval ([a3, b1]) corresponding to the temperature index of the first area in the fourth monitoring period based on all the values ​​of the temperature index collected by the detector in the first area in the second monitoring period. The safety threshold interval of the humidity index is the same, which will not be repeated here. Then, the danger prediction of the fourth monitoring period is started. The principle is similar and will not be elaborated here one by one.

[0094] In an optional embodiment, the server can also predict the danger level of the abnormal area. For example, the server determines the change rate of the first abnormal indicator of the abnormal area within the first preset time period based on the value of the first abnormal indicator of the abnormal area within the first preset time period; and determines the time when the value of the first abnormal indicator of the abnormal area reaches the third preset value (i.e., the warning trigger limit value corresponding to the first abnormal indicator), and determines the number of target objects in the abnormal area and the associated area; then, based on the change rate of the first abnormal indicator of the abnormal area within the first preset time period, the time when the value of the first abnormal indicator of the abnormal area reaches the third preset value, the number of target objects in the abnormal area and the associated area, the current ambient temperature, the current ambient humidity, and the current wind speed, the danger level of the abnormal area is predicted, wherein the current ambient temperature, the current ambient humidity, and the current wind speed are obtained in combination with the forecast data of the meteorological station, and then the server also sends the danger level to the terminal device. Exemplarily, the danger level of the abnormal area can be obtained by formula (1):

[0095]

[0096] Among them, P represents the danger level of the abnormal area (the value is between 0 and 1, the larger the value, the greater the danger level), T env Indicates the current ambient temperature, H env Indicates the current ambient humidity, T base Indicates the minimum value of the safety threshold range of the temperature index of the abnormal area in the current monitoring period, T high Indicates the maximum value of the safety threshold range of the temperature indicator in the abnormal area in the current monitoring period. The rate of change of the first abnormal indicator of the abnormal area within the first preset time period, The time duration for the value of the first abnormality indicator of the abnormal area to reach the third preset value, T abnormal_max represents the third preset value corresponding to the value of the temperature index of the abnormal area in the current monitoring period (i.e., the sum of the maximum value of the safety threshold interval of the temperature index of the abnormal area in the current monitoring period and the second ratio of the maximum value), T abnormal Indicates the value of the first abnormality indicator of the current abnormal area, V max Indicates the preset upper limit of wind speed, V indicates the current wind speed, P population The mathematical factor indicating whether the target object exists in the abnormal area and the associated area, N population The number of target objects representing the abnormal area and the associated area, They represent the corresponding weight factors respectively, and each weight factor can be adjusted according to actual conditions and model training.

[0097] It should be noted that the detectors, servers, and terminal devices in the danger warning system not only perform Figure 3 All embodiments of the danger warning method in the embodiment can also be executed accordingly Figure 1-Figure 3 The corresponding embodiments executed by the detector, server, and terminal device in the embodiments can achieve the same or similar beneficial effects, which will not be repeated here.

[0098] Also, see Figure 5 , Figure 5 A flowchart of a method for early warning of dangerous situations provided in an embodiment of the present application is provided. The method is applied to the server in the above embodiment, and the server is located in the early warning system in the above embodiment, which will not be described in detail here; the method includes but is not limited to the following steps S501-S503:

[0099] S501. In the i-th monitoring cycle, the server obtains the value of each indicator from the detector in each area.

[0100] S502. The server predicts whether a dangerous situation will occur based on the value of each indicator of each area and the safety threshold interval corresponding to each indicator of each area in the i-th monitoring period, wherein when i=1, the safety threshold interval corresponding to each indicator of each area is obtained based on the value of each indicator of each area within a preset time period under a safe environment; when i>1, if no indicator abnormality occurs in the i-1th monitoring period, the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period is based on the value of each indicator of each area in the i-1th monitoring period; if an indicator abnormality occurs in the i-1th monitoring period, the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period is based on the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period.

[0101] S503: If a dangerous situation is predicted to occur, the server sends a dangerous situation warning to the terminal device, and the dangerous situation warning includes the location information of the abnormal area.

[0102] It should be noted that in order to avoid repetition, Figure 5 The implementation principle of each step of the danger warning method in the embodiment can refer to the above Figure 3 The corresponding explanations of the embodiments can achieve the same or similar beneficial effects, and will not be repeated here.

[0103] As can be seen from the above embodiments, in the present application, the target place is divided into multiple areas based on the characteristics of the target place, and each area is provided with a detector for collecting multiple indicators. The detector of each area will continuously collect the value of each indicator of each area and upload it to the server in real time. Then before the server officially starts monitoring, the value of each indicator within the preset time length in the security environment is first marked by the detector of each area, and the safety threshold interval corresponding to each indicator in each area is determined based on the value of each indicator in each area marked, and then the safety threshold interval is used as the judgment basis for the first monitoring cycle; then if there is no abnormal indicator in one monitoring cycle (refer to the above explanation), the safety threshold interval is determined based on the value of each indicator collected by the detector of each area in the first monitoring cycle, and the safety threshold interval is used as the judgment basis for the second monitoring cycle; if there is an abnormal indicator in one monitoring cycle (refer to the above explanation), the safety threshold interval of each indicator in each area under the first monitoring cycle can continue to be used as the safety threshold interval of each indicator in each area under the second monitoring cycle. Since the safety threshold interval of each monitoring cycle is determined by normalizing the values ​​of the indicators of each area for a preset time, it conforms to the normal change trend of each indicator in each area of ​​the target place under a safe environment, and by periodically iterating and updating the safety threshold interval of each indicator, the normal change interval of each indicator in each area can be periodically learned. Once the indicator is abnormal compared with the normal change interval under the cycle, that is, it does not conform to the normal change trend of each indicator in the area, indicating that there may be a dangerous situation, the server will perform periodic judgments in combination with the specific steps of the dangerous situation warning method in the above embodiment, which can avoid as much as possible the situation where the dangerous situation has caused harmful consequences or the occurrence of misjudgment due to other accidental factors, thereby improving the accuracy of the dangerous situation warning.

[0104] See also Figure 6 , Figure 6 A functional unit composition block diagram of a server provided in an embodiment of the present application. The server 600 is located in the danger warning system in the above embodiment, and the danger warning system also includes detectors and terminal devices set in multiple areas of the target location; the detectors are used to obtain the values ​​of multiple indicators; the server 600 includes a transceiver unit 601 and a processing unit 602;

[0105] In the i-th monitoring cycle, the transceiver unit 601 is used to obtain the value of each indicator from the detector in each area;

[0106] The processing unit 602 is used to predict whether a dangerous situation will occur based on the value of each indicator of each area and the safety threshold interval corresponding to each indicator of each area in the i-th monitoring period; wherein, when i=1, the safety threshold interval corresponding to each indicator of each area is obtained based on the value of each indicator of each area within a preset time period under a safe environment; when i>1, if no indicator abnormality occurs in the i-1th monitoring period, the safety threshold interval corresponding to each indicator of each area in the i-th monitoring period is obtained based on the value of each indicator of each area in the i-1th monitoring period, and if an indicator abnormality occurs in the i-1th monitoring period, the safety threshold interval corresponding to each indicator of each area in the i-th monitoring period is obtained based on the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period;

[0107] If a dangerous situation is predicted to occur, the transceiver unit is used to send a dangerous situation warning to the terminal device, and the dangerous situation warning includes the location information of the abnormal area.

[0108] In one embodiment of the present application, in terms of predicting whether a dangerous situation will occur based on the value of each indicator in each area and the safety threshold interval corresponding to each indicator in the i-th monitoring period, the processing unit 602 is specifically configured to:

[0109] Based on the value of each indicator of each area and the safety threshold interval corresponding to each indicator of each area in the i-th monitoring period, determine the abnormal area in the i-th monitoring period and the first abnormal indicator corresponding to the abnormal area;

[0110] Based on continuing to obtain the value of the first abnormality indicator within the first preset time period from the detector of the abnormal area, determining a change trend of the value of the first abnormality indicator of the abnormal area within the first preset time period;

[0111] Based on the change trend of the value of the first abnormal indicator of the abnormal area within the first preset time period, it is predicted whether a dangerous situation will occur in the abnormal area.

[0112] In one embodiment of the present application, in terms of determining the abnormal area in the i-th monitoring period and the first abnormal indicator corresponding to the abnormal area based on the value of each indicator of each area and the safety threshold interval corresponding to each indicator of each area in the i-th monitoring period, the processing unit 602 is specifically used to:

[0113] The server determines a first difference value corresponding to each indicator of each area in the i-th monitoring period based on the value of each indicator of each area and the first end value of the safety threshold interval corresponding to each indicator of each area in the i-th monitoring period, wherein the first end value is an end value used for dangerous situation judgment in the safety threshold interval of the first abnormal indicator of the abnormal area;

[0114] The server determines the abnormal area in the i-th monitoring period and the first abnormal indicator corresponding to the abnormal area based on the first difference corresponding to each indicator of each area, wherein the first abnormal indicator is an indicator for the first time among multiple indicators of the abnormal area in the i-th monitoring period for which a first difference greater than or equal to a first preset value exists, and the first preset value is a first ratio of the first end value.

[0115] In one embodiment of the present application, in terms of predicting whether a dangerous situation will occur in the abnormal area based on the change trend of the value of the first abnormal indicator of the abnormal area within the first preset time period, the processing unit 602 is specifically used to:

[0116] If the change trend is a target change trend corresponding to the first abnormal indicator, the server determines a second difference value corresponding to the first abnormal indicator of the abnormal area in the i-th monitoring period based on continuing to obtain the value of the first abnormal indicator and the first end value from the detector in the abnormal area, wherein the target change trend represents a standard change trend of the first abnormal indicator in the event of a dangerous situation;

[0117] When the second difference is greater than or equal to the second preset value, the server predicts whether a dangerous situation will occur in the abnormal area based on the value of the first indicator at the current moment obtained from the detector in the abnormal area, wherein the second preset value is the second ratio of the first end value, the second ratio is greater than the first ratio, and the first indicator is part or all of the indicators among the multiple indicators except the first abnormal indicator.

[0118] In one embodiment of the present application, in terms of predicting whether a dangerous situation will occur in the abnormal area based on the value of the first indicator at the current moment obtained from the detector in the abnormal area by the server, the processing unit 602 is specifically used to:

[0119] The server determines a third difference based on the value of the first indicator of the abnormal area at the current moment and the second end value, wherein the second end value is an end value for dangerous situation judgment in the safety threshold interval corresponding to the first indicator of the abnormal area;

[0120] Based on the third difference, the server predicts whether a dangerous situation will occur in the abnormal area.

[0121] In one embodiment of the present application, if a dangerous situation is predicted to occur, the processing unit 602 is specifically configured to:

[0122] When the server continues to obtain the value of each indicator from the detector in the abnormal area and all the values ​​are restored to the safety threshold interval corresponding to each indicator in the abnormal area in the i-th monitoring period, the server predicts the danger for the i+1-th monitoring period based on the safety threshold interval corresponding to each indicator in each area in the i-th monitoring period;

[0123] The starting time of the (i+1)th monitoring cycle is the time when the value of each indicator of the abnormal area that the server continues to obtain from the detector of the abnormal area is restored to the safety threshold interval corresponding to each indicator of the abnormal area.

[0124] In one embodiment of the present application, when the multiple areas include multiple types of areas, the safety threshold interval corresponding to each indicator of each area of ​​the same type in each monitoring cycle is the same;

[0125] If no indicator abnormality occurs in the i-th monitoring cycle, the maximum value of the safety threshold interval of each indicator of each type in each area in the i+1-th monitoring cycle is the maximum value of all values ​​of each indicator obtained by the detectors of each type in each area in the i-th monitoring cycle, and the minimum value of the safety threshold interval of each indicator of each type in each area in the i+1-th monitoring cycle is the minimum value of all values ​​of each indicator obtained by the detectors of each type in each area in the i-th monitoring cycle;

[0126] If an indicator abnormality occurs in the i-th monitoring cycle, the safety threshold interval of each indicator of each type of each area in the (i+1)-th monitoring cycle is the safety threshold interval of each indicator of each type of each area in the i-th monitoring cycle.

[0127] In a specific implementation, the transceiver unit 601 and the processing unit 602 described in the embodiment of the present invention can execute the implementation methods in all other embodiments of the danger warning method provided by the above embodiment of the present invention, which will not be repeated here.

[0128] See also Figure 7 , Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 7 As shown, the electronic device 700 includes a transceiver 701, a processor 702 and a memory 703. They are connected via a bus 704. The memory 703 is used to store computer programs and data, and can transmit the data stored in the memory 703 to the processor 702.

[0129] The processor 702 is used to read the computer program in the memory 703 and perform the following operations:

[0130] In the i-th monitoring cycle, the control transceiver 701 obtains the value of each indicator from the detector of each area;

[0131] Based on the value of each indicator of each area and the safety threshold interval corresponding to each indicator of each area in the i-th monitoring period, predict whether a dangerous situation will occur; wherein, when i=1, the safety threshold interval corresponding to each indicator of each area is obtained based on the value of each indicator of each area within a preset time period under a safe environment; when i>1, if no indicator abnormality occurs in the i-1th monitoring period, the safety threshold interval corresponding to each indicator of each area in the i-th monitoring period is obtained based on the value of each indicator of each area in the i-1th monitoring period; if an indicator abnormality occurs in the i-1th monitoring period, the safety threshold interval corresponding to each indicator of each area in the i-th monitoring period is obtained based on the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period;

[0132] If a dangerous situation is predicted to occur, the control transceiver 701 sends a dangerous situation warning to the terminal device, and the dangerous situation warning includes the location information of the abnormal area.

[0133] Specifically, the transceiver 701 may be Figure 6 The transceiver unit 601 of the server 600 of the embodiment, the processor 702 may be Figure 6 The processing unit 602 of the server 600 of an embodiment.

[0134] In a specific implementation, the transceiver 701, processor 702 and memory 703 described in the embodiment of the present invention can execute the implementation methods in all other embodiments of the danger warning method provided by the above-mentioned embodiment of the present invention, which will not be repeated here.

[0135] It should be understood that the electronic device in this application can be a server, such as an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, and basic cloud computing services such as big data and artificial intelligence platforms, and this application does not make specific restrictions. The above electronic devices are only examples, not exhaustive, and include but are not limited to the above electronic devices.

[0136] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. The computer program is executed by a processor to implement part or all of the steps of any danger warning method recorded in the above method embodiments.

[0137] An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any danger warning method recorded in the above method embodiments.

[0138] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0139] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0140] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0141] 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.

[0142] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of a software program module.

[0143] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of each embodiment method of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0144] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, etc.

[0145] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A dangerous situation warning method, characterized in that: Applied to a danger warning system, the danger warning system includes detectors, servers, and terminal devices set up in multiple areas of a target location; The detector is used to obtain values ​​of multiple indicators; the method includes: In the i-th monitoring cycle, the server obtains the value of each indicator from the detector in each area; The server predicts whether a dangerous situation will occur based on the value of each indicator of each area and the safety threshold interval corresponding to each indicator of each area in the i-th monitoring period; Among them, when i=1, the safety threshold interval corresponding to each indicator of each area is obtained based on the value of each indicator of each area within a preset time length under a safe environment; when i>1, if no indicator abnormality occurs in the i-1th monitoring period, the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period is obtained based on the value of each indicator of each area in the i-1th monitoring period; if an indicator abnormality occurs in the i-1th monitoring period, the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period is obtained based on the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period; If a dangerous situation is predicted to occur, the server sends a dangerous situation warning to the terminal device, and the dangerous situation warning includes the location information of the abnormal area.

2. The method according to claim 1, characterized in that: The server predicts whether a dangerous situation will occur based on the value of each indicator in each area and the safety threshold interval corresponding to each indicator in the i-th monitoring cycle, including: The server determines an abnormal area in the i-th monitoring period and a first abnormal indicator corresponding to the abnormal area based on the value of each indicator in each area and the safety threshold interval corresponding to each indicator in each area in the i-th monitoring period; The server determines a change trend of the value of the first abnormality indicator of the abnormal area within the first preset time period based on continuously acquiring the value of the first abnormality indicator within the first preset time period from the detector of the abnormal area; The server predicts whether a dangerous situation will occur in the abnormal area based on the change trend of the value of the first abnormal indicator of the abnormal area within the first preset time period.

3. The method according to claim 2, characterized in that The server determines an abnormal area in the i-th monitoring period and a first abnormal indicator corresponding to the abnormal area based on the value of each indicator of each area and the safety threshold interval corresponding to each indicator of each area in the i-th monitoring period, including: The server determines, based on the value of each indicator of each area and the first end value of the safety threshold interval corresponding to each indicator of each area in the i-th monitoring period, a first difference value corresponding to each indicator of each area in the i-th monitoring period, wherein the first end value is an end value used for dangerous situation judgment in the safety threshold interval of the first abnormal indicator of the abnormal area; The server determines the abnormal area in the i-th monitoring period and the first abnormal indicator corresponding to the abnormal area based on the first difference corresponding to each indicator of each area, wherein the first abnormal indicator is the indicator for the first time among the multiple indicators of the abnormal area in the i-th monitoring period for which the first difference is greater than or equal to a first preset value, and the first preset value is a first ratio of the first end value.

4. The method according to claim 2 or 3, characterized in that: The predicting whether a dangerous situation will occur in the abnormal area based on the change trend of the value of the first abnormal indicator of the abnormal area within the first preset time period includes: If the change trend is a target change trend corresponding to the first abnormal indicator, the server determines a second difference value corresponding to the first abnormal indicator of the abnormal area in the i-th monitoring period based on continuing to obtain the value of the first abnormal indicator and the first end value from the detector of the abnormal area, wherein the target change trend represents a standard change trend of the first abnormal indicator in the event of a dangerous situation; When the second difference is greater than or equal to a second preset value, the server predicts whether a dangerous situation will occur in the abnormal area based on the value of the first indicator at the current moment obtained from the detector in the abnormal area, wherein the second preset value is a second ratio of the first end value, the second ratio is greater than the first ratio, and the first indicator is part or all of the multiple indicators except the first abnormal indicator.

5. The method according to claim 4, characterized in that The server predicts whether a dangerous situation will occur in the abnormal area based on the value of the first indicator at the current moment obtained from the detector of the abnormal area, including: The server determines a third difference based on the value of the first indicator of the abnormal area at the current moment and the second end value, wherein the second end value is an end value for dangerous situation judgment in the safety threshold interval corresponding to the first indicator of the abnormal area; The server predicts whether a dangerous situation will occur in the abnormal area based on the third difference.

6. The method according to any one of claims 1 to 5, characterized in that: If a dangerous situation is predicted to occur, the method further includes: When the server continues to obtain the value of each indicator from the detector of the abnormal area and all the values ​​are restored to the safety threshold interval corresponding to each indicator of the abnormal area in the i-th monitoring period, the server predicts the danger for the i+1-th monitoring period based on the safety threshold interval corresponding to each indicator of each area in the i-th monitoring period; The starting time of the (i+1)th monitoring cycle is the time when the value of each indicator of the abnormal area that the server continues to obtain from the detector of the abnormal area is restored to the safety threshold interval corresponding to each indicator of the abnormal area.

7. The method according to any one of claims 1 to 6, characterized in that: When the multiple areas include areas of multiple types, the safety threshold interval corresponding to each indicator of each area of ​​the same type in each monitoring period is the same; If no indicator abnormality occurs in the i-th monitoring cycle, the maximum value of the safety threshold interval of each indicator of each type in each area in the i+1-th monitoring cycle is the maximum value of all values ​​of each indicator obtained by the detectors of each type in each area in the i-th monitoring cycle, and the minimum value of the safety threshold interval of each indicator of each type in each area in the i+1-th monitoring cycle is the minimum value of all values ​​of each indicator obtained by the detectors of each type in each area in the i-th monitoring cycle; If an indicator abnormality occurs in the i-th monitoring cycle, the safety threshold interval of each indicator of each type of each area in the (i+1)-th monitoring cycle is the safety threshold interval of each indicator of each type of each area in the i-th monitoring cycle.

8. A dangerous situation warning system, characterized in that: The danger warning system includes detectors, servers, and terminal devices set up in multiple areas of the target location; the detectors are used to obtain values ​​of multiple indicators; In the i-th monitoring cycle, the server is used to obtain the value of each indicator from the detector in each area; The server is further used to predict whether a dangerous situation will occur based on the value of each indicator of each area and the safety threshold interval corresponding to each indicator of each area in the i-th monitoring period; Among them, when i=1, the safety threshold interval corresponding to each indicator of each area is obtained based on the value of each indicator of each area within a preset time length under a safe environment; when i>1, if no indicator abnormality occurs in the i-1th monitoring period, the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period is obtained based on the value of each indicator of each area in the i-1th monitoring period; if an indicator abnormality occurs in the i-1th monitoring period, the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period is obtained based on the safety threshold interval corresponding to each indicator of each area in the i-1th monitoring period; If a dangerous situation is predicted to occur, the server is also used to send a dangerous situation warning to the terminal device, and the dangerous situation warning includes the location information of the abnormal area.

9. An electronic device, characterized in that: include: A processor and a memory, the processor is connected to the memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 7.