Disaster alarm method, terminal, computer readable medium and computer program product
By establishing a network connection with disaster monitoring equipment and utilizing broadcasting and various communication methods, the problem of disaster monitoring equipment being unable to transmit alarm information over long distances has been solved, enabling extended transmission of disaster alarm information between multiple terminals and improving user safety and evacuation efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2026-04-10
AI Technical Summary
Existing disaster monitoring equipment can only warn local users and cannot transmit alarm information to other users in a more distant area, which makes it impossible for other users to know about the disaster situation in a timely manner, increasing the risk.
By establishing a network connection with disaster monitoring equipment within a preset location area, the system receives disaster alarm information sent by the disaster monitoring equipment and extends the alarm information transmission to surrounding terminals via broadcasting, including UDP broadcasting and BLE broadcasting. Combined with Wi-Fi and Bluetooth communication methods, it realizes point-to-point and point-to-multipoint transmission between multiple terminals.
It expands the transmission range of disaster warning information, enabling more users to be informed of disaster situations in a timely manner, reducing the possibility of users being affected by disasters, and improving the efficiency of evacuation and rescue.
Smart Images

Figure CN121842645A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of communication technology, and in particular to a disaster alarm method, terminal, computer-readable medium, and computer program product. Background Technology
[0002] Currently, indoor buildings typically have disaster monitoring equipment installed in fixed locations to monitor for potential disasters such as fires.
[0003] However, when disaster monitoring equipment detects a fire, it can only warn users within its range to take timely shelter by issuing its own alarms (such as sirens), but it cannot transmit the alarm information to other users in a more distant range, thus endangering other users. Summary of the Invention
[0004] This disclosure provides a disaster alarm method, terminal, computer-readable medium, and computer program product.
[0005] In a first aspect, embodiments of this disclosure provide a disaster alarm method applied to a first terminal, comprising: establishing a preset network connection with a disaster monitoring device within a preset location area, wherein the disaster monitoring device has at least one network connection function; and receiving disaster alarm information sent by the disaster monitoring device, wherein the disaster alarm information is information transmitted to the first terminal through the preset network connection after the disaster monitoring device issues an alarm.
[0006] Secondly, embodiments of this disclosure provide a terminal, including: one or more processors; and a memory storing one or more programs thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the disaster alarm methods in the embodiments of this disclosure.
[0007] Thirdly, embodiments of this disclosure provide a readable storage medium storing a computer program that, when executed by a processor, implements any of the disaster alarm methods in the embodiments of this disclosure.
[0008] Fourthly, this disclosure provides a computer program product, which includes a computer program that, when executed by a processor, implements any of the disaster alarm methods in this disclosure.
[0009] The disaster alarm method in this embodiment establishes a preset network connection with a disaster monitoring device within a preset location area. This allows the disaster monitoring device to promptly relay detected disaster information (e.g., disaster alarm information) to a first terminal via the preset network connection. Even if the user of the first terminal does not hear the alarms such as sirens issued by the disaster monitoring device, they will still receive the disaster alarm information sent by the disaster monitoring device through at least one network connection within the first time, thus expanding the transmission range of the disaster alarm information. When the first terminal receives the disaster alarm information sent by the disaster monitoring device, the user of the first terminal can promptly learn about the disaster situation, reducing the possibility of the user being affected by the disaster and thereby reducing the destructiveness of the disaster. Attached Figure Description
[0010] In the accompanying drawings of the embodiments disclosed herein:
[0011] Figure 1 A flowchart illustrating a disaster alarm method provided in an embodiment of this disclosure;
[0012] Figure 2 A schematic diagram of a disaster alarm interface provided in an embodiment of this disclosure;
[0013] Figure 3 A flowchart illustrating another disaster alarm method provided in this embodiment of the disclosure;
[0014] Figure 4 A block diagram illustrating the components of a first terminal provided in an embodiment of this disclosure;
[0015] Figure 5 A block diagram illustrating the composition of a second terminal provided in an embodiment of this disclosure;
[0016] Figure 6 A block diagram of a disaster alarm system provided in this disclosure embodiment;
[0017] Figure 7 A block diagram of another disaster alarm system provided in this disclosure embodiment;
[0018] Figure 8 A block diagram of a disaster monitoring device provided in this disclosure embodiment;
[0019] Figure 9 A flowchart illustrating another disaster alarm method provided in this embodiment of the disclosure;
[0020] Figure 10 This is a block diagram of a terminal provided in an embodiment of the present disclosure. Detailed Implementation
[0021] To enable those skilled in the art to better understand the technical solutions of this disclosure, the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings.
[0022] The present disclosure will be described more fully below with reference to the accompanying drawings; however, the embodiments shown may be embodied in different forms, and the present disclosure should not be construed as limited to the embodiments set forth below. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will enable those skilled in the art to fully understand the scope of the disclosure.
[0023] The accompanying drawings of the embodiments disclosed herein are provided to further illustrate the embodiments of this disclosure and form part of the specification. They are used together with the detailed embodiments to explain this disclosure and do not constitute a limitation thereof. The above and other features and advantages will become more apparent to those skilled in the art from the description of the detailed embodiments with reference to the accompanying drawings.
[0024] Where there is no conflict, the various embodiments of this disclosure and the features thereof in the embodiments may be combined with each other.
[0025] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to limit the disclosure. The term "and / or" as used in this disclosure includes any and all combinations of one or more of the associated enumerated entries. The singular forms "a" and "the" as used in this disclosure are also intended to include the plural forms, unless the context clearly indicates otherwise. The terms "comprising," "made of," etc., as used in this disclosure specify the presence of the stated feature, integral, step, operation, element, and / or component, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof.
[0026] Unless otherwise specified, all terms used in this disclosure (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this disclosure, and will not be interpreted as having an idealized or overly formal meaning, unless expressly so defined in this disclosure.
[0027] Currently, in some buildings with a large number of people, such as shopping malls, enclosed indoor business venues, and densely populated residential buildings, disaster monitoring equipment is installed at fixed locations to monitor for disasters such as fires.
[0028] However, when a fire is detected, conventional disaster monitoring equipment only alerts users within its range to take timely shelter by issuing its own alarms (such as sirens). It cannot transmit the alarm information to other users in a more distant area. As a result, other users who do not receive the alarm information may continue shopping or working without being informed of the fire situation in a timely and effective manner, and are unable to determine how to escape, thus putting other users who do not receive the alarm information at risk.
[0029] To address the aforementioned issues, this disclosure provides a disaster alarm method, a terminal, a computer-readable medium, and a computer program product.
[0030] In a first aspect, embodiments of this disclosure provide a disaster alarm method.
[0031] Figure 1 This is a flowchart illustrating a disaster alarm method provided in an embodiment of the present disclosure. The disaster alarm method is applied to a disaster alarm device, which can be installed in a first terminal.
[0032] like Figure 1 As shown, the disaster warning method includes, but is not limited to, the following steps.
[0033] Step S101: Establish a preset network connection with the disaster monitoring equipment within the preset location area.
[0034] The disaster monitoring equipment has at least one network connectivity function. For example, the disaster monitoring equipment has at least one of the following network connectivity functions: Wi-Fi connectivity, Bluetooth connectivity, Zigbee connectivity, and wireless LAN connectivity.
[0035] Step S102: Receive disaster alarm information sent by disaster monitoring equipment.
[0036] Disaster monitoring equipment is used to monitor disasters, such as fires, earthquakes, and rainstorms. Disaster alarm information is transmitted from the disaster monitoring equipment to the first terminal via a pre-set network connection after the equipment issues an alarm.
[0037] When disaster monitoring equipment detects a disaster, it generates a disaster alarm based on the disaster information and corresponding escape routes, and sends the alarm to the first terminal connected to it so that the first terminal can be informed of the disaster happening around it in a timely manner.
[0038] The disaster alarm method in this embodiment establishes a preset network connection with a disaster monitoring device within a preset location area. This allows the disaster monitoring device to promptly relay detected disaster information (e.g., disaster alarm information) to a first terminal via the preset network connection. Even if the user of the first terminal does not hear the alarms such as sirens issued by the disaster monitoring device, they will still receive the disaster alarm information sent by the disaster monitoring device through at least one network connection within the first time, thus expanding the transmission range of the disaster alarm information. When the first terminal receives the disaster alarm information sent by the disaster monitoring device, the user of the first terminal can promptly learn about the disaster situation, reducing the possibility of the user being affected by the disaster and thereby reducing the destructiveness of the disaster.
[0039] In some exemplary embodiments, receiving disaster alarm information sent by the disaster monitoring device in step S102 includes receiving a User Datagram Protocol (UDP) broadcast message or a Bluetooth Low Energy (BLE) broadcast message sent by the disaster monitoring device.
[0040] Both UDP broadcast messages and BLE broadcast messages include disaster alert information.
[0041] By receiving UDP or BLE broadcast messages sent by disaster monitoring equipment through the first terminal and parsing the UDP or BLE broadcast messages, the disaster alarm information carried by them can be obtained, thereby quickly clarifying the occurrence of the disaster and facilitating timely response and avoidance of the disaster by the users of the first terminal.
[0042] In some exemplary embodiments, after receiving the disaster alarm information sent by the disaster monitoring device in step S102, the method further includes: sending a Wi-Fi broadcast message or a BLE broadcast message to the second terminal within a preset time period.
[0043] The preset duration can be set according to actual needs, for example, within 5 minutes or 10 minutes after a fire is detected. The second terminal is connected to the first terminal but not to the disaster monitoring equipment. Because the second terminal is not connected to the disaster monitoring equipment, it cannot receive disaster alarm information directly sent by the equipment. However, it will receive disaster alarm information forwarded by the first terminal, allowing the user of the second terminal to be informed of the disaster situation in a timely manner, which helps them to escape the disaster as quickly as possible.
[0044] For example, the second terminal connects to the first terminal via Wi-Fi Direct or Bluetooth communication. Both Wi-Fi broadcast messages and BLE broadcast messages include disaster alarm information.
[0045] When the second terminal enters the broadcast coverage area of the first terminal, the second terminal can receive the Wi-Fi broadcast message or BLE broadcast message sent by the first terminal, thereby obtaining the disaster alarm information carried by the Wi-Fi broadcast message or BLE broadcast message.
[0046] In some related technologies, the first terminal and the second terminal establish a communication connection first, and then send the information to be transmitted in a targeted manner. However, due to the limitations of this communication method, if the two terminals cannot establish a communication connection in time in an emergency, the second terminal will not be able to obtain the disaster alarm information transmitted by the first terminal, which may lead to the user of the second terminal being harmed by the disaster and causing danger.
[0047] As one embodiment of this disclosure, broadcasting data packets to the vicinity of the first terminal via broadcasting enables all terminals within the broadcast coverage area of the first terminal to promptly obtain the disaster alarm information carried by the broadcast data packets, thereby clarifying the disaster situation and expanding the transmission range of the disaster alarm information.
[0048] In some embodiments, the second terminal may also be a terminal that has pre-subscribed to the disaster broadcast service, thereby enabling it to obtain disaster alarm information sent by the first terminal more quickly.
[0049] In some exemplary embodiments, the disaster alarm information includes disaster location information, and the method further includes: determining the distance between the first terminal and the disaster location based on the disaster location information and the location information of the first terminal; and determining the alarm intensity based on the distance.
[0050] The alarm intensity can characterize the distance between the first terminal and the location of the disaster. For example, the alarm intensity can be displayed using a gradient indicator bar or a signal source strength signal tower.
[0051] By adjusting the alarm intensity based on the distance of the first terminal from the disaster location, the alarm intensity can be set to high or low. Alternatively, based on the different distances of the first terminal from the disaster location, the alarm intensity can be set to different intensity levels within a certain range. This allows users of the first terminal to more clearly determine the level of danger they face and to take more accurate measures to avoid the disaster.
[0052] In some exemplary embodiments, the method further includes at least one of the following:
[0053] Disaster alarm information is displayed on the disaster alarm interface;
[0054] Outputs a voice signal carrying disaster alarm information;
[0055] Output a vibration signal carrying disaster warning information.
[0056] The disaster alarm interface is used to graphically display disaster alarm information, which helps users quickly and accurately obtain disaster alarm information based on the image information in the disaster alarm interface.
[0057] Since both voice signals and / or vibration signals carry disaster alarm information, the rapid transmission of disaster alarm information can be achieved based on different prompting methods (such as sound prompts and / or vibration prompts).
[0058] In some exemplary embodiments, the disaster alarm information includes at least one of the following: escape routes and disaster location information.
[0059] Among them, the disaster location information represents the real-time location information of the disaster, and the escape route represents the location nodes that the user needs to pass through while moving away from the disaster location, as well as the corresponding escape path and other information.
[0060] By including the location of the disaster and / or escape routes in the disaster warning information, the real-time location of the disaster and the corresponding routes away from the disaster location can be clearly identified. This enables accurate reporting of the disaster, which helps to prompt users to leave the disaster as soon as possible and ensure personal safety.
[0061] In some embodiments, the disaster alarm interface displays at least one of the following information: escape route, disaster location information, alarm pop-up settings information, alarm intensity information, and one-click distress signal information.
[0062] The alarm intensity information represents the distance between the first terminal and the location of the disaster. Alarm pop-up settings include options to cancel and / or trigger alarm pop-ups.
[0063] For example, Figure 2 This is a schematic diagram of a disaster alarm interface provided in an embodiment of this disclosure. Figure 2 As shown, the disaster alarm interface includes: escape routes, a "cancel alarm pop-up" button, a "trigger alarm pop-up" button, and a "one-click SOS" button.
[0064] In the escape route diagram, point A represents the location of the disaster, and points B, C, D, and E each represent a node within the escape route. When a disaster occurs, users can follow the escape route prompts, moving sequentially from point A to point B, then to point C, then to point D, and finally to point E to move away from the disaster.
[0065] Among them, point A, which indicates the location where the disaster occurred, is fixedly equipped with disaster monitoring equipment, and the location of the disaster monitoring equipment is the location indicated by point A.
[0066] In some embodiments, the escape route may be determined based on the internal structure of the building where the disaster occurs. For example, if the disaster is a fire and the fire occurs on the third floor of a building, disaster monitoring equipment installed around the location of the fire can determine the optimal escape route by obtaining the floor plan of the third floor of the building and the internal structure diagram of the entire building.
[0067] In some embodiments, each disaster monitoring device is equipped with a QR code label so that users can scan the QR code label using their terminals to obtain escape routes.
[0068] It should be noted that the above escape routes are merely illustrative examples. Different display methods for escape routes can be set according to actual needs. This disclosure does not impose any restrictions on this and will not elaborate further here.
[0069] The "Cancel Alarm Pop-up" button allows users to manually cancel the broadcast of disaster alarm information.
[0070] When a user's primary device receives a disaster alert, the alert will pop up on the lock screen or any other interface, accompanied by sound and vibration alerts. Once the user has moved away from the disaster location using the escape routes shown on the alert, and confirms they are in a safe location, they can close the alert by clicking the "Cancel Alert Pop-up" button.
[0071] When the first terminal receives a disaster alarm message, it will automatically activate the disaster alarm message forwarding mechanism to send the disaster alarm message to the second terminal that is connected to the first terminal.
[0072] The "Trigger Alarm Pop-up" button allows users to manually trigger the sending of disaster alarm information to other terminals when the first terminal detects a disaster at its location. In this case, the first terminal acts as a mobile disaster monitoring device, which facilitates accurate monitoring of the disaster situation at different locations of the first terminal and timely sending of disaster alarm information to other terminals (such as the second terminal) that are connected to the first terminal.
[0073] The "One-Click SOS" button is used by users to request help from the outside world when they confirm that they cannot escape the disaster on their own. For example, when a user triggers the "One-Click SOS" button, the first terminal will broadcast at least one of the following information: the location of the first terminal, a description of the disaster, and environmental information around the first terminal.
[0074] The "one-click SOS" button is also used to send a distress message to the fire protection or rescue system when triggered, so that firefighters or rescuers can provide timely assistance.
[0075] In some embodiments, the disaster alarm interface may further include: signal strength information (not shown in the figure), so as to determine the distance between the terminal corresponding to the disaster alarm interface and the location of the disaster, and / or the communication signal strength between the terminal and other terminals, etc. For example, the signal strength information may be displayed using a gradient indicator bar or a signal source strength signal tower.
[0076] In some exemplary embodiments, the disaster alarm information includes fire alarm information, and the first terminal includes an environmental monitoring module; the method further includes: using the environmental monitoring module to monitor the ambient temperature and / or smoke concentration; and generating fire alarm information based on at least two of the following: the location of the first terminal, the monitored ambient temperature, and the monitored smoke concentration.
[0077] The environmental monitoring module is used to detect environmental information at the location of the first terminal. It can monitor the surrounding ambient temperature and the surrounding smoke concentration to determine whether a fire has occurred at the location of the first terminal.
[0078] For example, if the ambient temperature at the location of the first terminal is higher than a preset temperature threshold, and / or the smoke concentration at the location of the first terminal is higher than a preset concentration threshold, the environmental monitoring module determines that a fire has occurred at the location of the first terminal. At this time, the first terminal generates a fire alarm message based on the monitored ambient temperature and / or smoke concentration, as well as the location of the first terminal; and forwards the fire alarm message to other terminals that are communicatively connected to the first terminal, so that other terminals can determine the location of the fire and the severity of the fire based on the fire alarm message, and respond in a timely manner to reduce the harm of the fire to the users of other terminals.
[0079] It should be noted that the location of the first terminal changes as its user moves. Therefore, the first terminal can detect the ambient temperature and / or smoke concentration at different locations, thereby expanding the fire monitoring range and facilitating accurate monitoring of the disaster situation at different locations.
[0080] In some exemplary embodiments, the first terminal and the second terminal are connected via at least one of the following communication methods: Wi-Fi communication, Bluetooth communication, Zigbee communication, and wireless local area network communication.
[0081] Among them, Wi-Fi communication is a communication method based on the Wi-Fi communication protocol; Bluetooth communication is a communication method based on the Bluetooth communication protocol; Zigbee communication is a communication method based on the Zigbee protocol; and Wireless Local Area Network (WLAN) communication is a communication method based on the Wireless Local Area Network (WLAN) communication protocol.
[0082] In some related technologies, a specific application is installed on a specific terminal to receive information sent by other terminals or disaster monitoring equipment. Because the alarm information can only be received by the specific terminal, the transmission range of the alarm information is narrowed. Therefore, other terminals around the disaster location may not be able to obtain the alarm information, which may cause danger.
[0083] As one embodiment of this disclosure, at least one of the following communication methods is used: Wi-Fi communication, Bluetooth communication, and wireless local area network communication, enabling the first terminal and the second terminal to communicate. Compared with the communication methods in related technologies that are only for specific terminals, this method can expand the transmission range of disaster alarm information, allowing more terminals to receive disaster alarm information, which is beneficial for users to avoid disasters and reduce the destructiveness of disasters.
[0084] Figure 3 This is a schematic flowchart illustrating another disaster alarm method provided in an embodiment of this disclosure. The disaster alarm method is applied to a disaster alarm device, which can be installed in a second terminal.
[0085] like Figure 3 As shown, the disaster warning method includes, but is not limited to, the following steps.
[0086] Step S301: Receive disaster alarm information sent by the first terminal.
[0087] Among them, disaster alarm information is disaster warning information generated by disaster monitoring equipment and sent to the first terminal. When the first terminal receives the disaster alarm information, it will automatically forward the disaster alarm information to the second terminal with which it is connected, so that the disaster alarm information can be disseminated as widely and quickly as possible.
[0088] In some exemplary embodiments, the method further includes: forwarding disaster alarm information to a third terminal that is communicatively connected to the second terminal.
[0089] When the second terminal receives the disaster alarm information sent by the first terminal, it will forward the disaster alarm information to the third terminal that is connected to the second terminal, so that multiple different terminals can obtain the disaster alarm information in a timely manner, enabling users of each terminal to avoid disasters in time and ensure personal safety.
[0090] The disaster alarm method in this embodiment of the present disclosure enables a second terminal to promptly obtain detailed information about the occurrence of a disaster by receiving disaster alarm information sent by a first terminal, so that the user of the second terminal can quickly move away from the disaster; and by forwarding disaster alarm information between multiple terminals, the notification scope of the disaster can be quickly expanded, which is conducive to the rapid escape of people around the disaster and the rapid rescue of people in the disaster area.
[0091] Secondly, embodiments of this disclosure provide a terminal.
[0092] Figure 4 This is a block diagram illustrating the components of a first terminal provided in an embodiment of this disclosure. For example... Figure 4 As shown, the first terminal 400 includes, but is not limited to, the following modules.
[0093] A connection module 401 is established to establish a preset network connection with a disaster monitoring device within a preset location area. The disaster monitoring device has at least one network connection function.
[0094] The first receiving module 402 receives disaster alarm information sent by the disaster monitoring device, wherein the disaster alarm information is information transmitted to the first terminal through the preset network connection after the disaster monitoring device issues an alarm.
[0095] It should be noted that the first terminal in this embodiment can implement any of the disaster alarm methods applied to the first terminal in this disclosure embodiment.
[0096] According to the embodiments of this disclosure, the first terminal establishes a preset network connection with the disaster monitoring equipment within a preset location area through a connection establishment module. This allows the disaster monitoring equipment to promptly feed back the detected disaster situation (e.g., disaster alarm information) to the first terminal via the preset network connection. Even if the user of the first terminal does not hear the alarms such as sirens issued by the disaster monitoring equipment, they will still receive the disaster alarm information sent by the disaster monitoring equipment through at least one network connection within the first time, thus expanding the transmission range of the disaster alarm information. By using the first receiving module to receive the disaster alarm information sent by the disaster monitoring equipment, the user of the first terminal can promptly learn about the disaster situation, reducing the possibility of the user being affected by the disaster and thereby reducing the destructiveness of the disaster.
[0097] Figure 5 This is a block diagram illustrating the components of a second terminal provided in an embodiment of this disclosure. For example... Figure 5 As shown, the second terminal 500 includes, but is not limited to, the following modules.
[0098] The second receiving module 501 is used to receive disaster alarm information sent by the first terminal.
[0099] In some exemplary embodiments, the second terminal further includes:
[0100] The forwarding module (not shown in the figure) is used to forward disaster alarm information to a third terminal that is connected to the second terminal.
[0101] It should be noted that the second terminal in this embodiment can implement any of the disaster alarm methods applied to the second terminal in this disclosure embodiment.
[0102] According to the embodiments of this disclosure, the second terminal receives disaster alarm information sent by the first terminal through the second receiving module, enabling the second terminal to promptly obtain detailed information about the occurrence of the disaster through the disaster alarm information, so that the user of the second terminal can quickly move away from the disaster; and by forwarding disaster alarm information between multiple terminals, the notification range of the disaster can be quickly expanded, which is conducive to the rapid escape of people around the disaster and the rapid rescue of people in the disaster area.
[0103] It should be clarified that this disclosure is not limited to the specific configurations and processes described in the foregoing embodiments and shown in the figures. For the sake of convenience and brevity, detailed descriptions of known methods are omitted here, and the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
[0104] Thirdly, embodiments of this disclosure provide a disaster alarm system.
[0105] Figure 6 This is a block diagram illustrating the components of a disaster alarm system provided in an embodiment of this disclosure. Figure 6 As shown, the disaster monitoring system includes, but is not limited to, the following devices: multiple disaster monitoring devices (e.g., first disaster monitoring device 611, second disaster monitoring device 612, ..., nth disaster monitoring device 61n, where n represents the number of disaster monitoring devices and is an integer greater than or equal to 1), Wi-Fi access device 620, Bluetooth access device 630 (e.g., BLE device, etc.), and multiple terminals (e.g., first terminal 641, second terminal 642, ..., mth terminal 64m, where m represents the number of terminals and is an integer greater than or equal to 1).
[0106] Among them, multiple disaster monitoring devices are connected to Wi-Fi access device 620, and multiple disaster monitoring devices are also connected to Bluetooth access device 630; multiple terminals are connected to Wi-Fi access device 620, and the m-th terminal 64m is connected to Bluetooth access device 630.
[0107] Various terminals can subscribe to a Wi-Fi-Aware service to achieve peer-to-peer communication. The Wi-Fi-Aware service establishes a terminal-to-terminal Wi-Fi connection based on the terminal's current location and the user's preferences.
[0108] When one of the multiple disaster monitoring devices detects a disaster in its vicinity, the disaster monitoring device generates a disaster alarm based on the location information of the disaster and the corresponding escape route. Then, it sends the disaster alarm to the Wi-Fi access device 620 (and / or Bluetooth access device 630) that is connected to the disaster monitoring device, and then forwards the disaster alarm to each terminal connected to it through the Wi-Fi access device 620 (and / or Bluetooth access device 630).
[0109] Furthermore, each terminal can also forward disaster alarm information to other terminals that have not received the disaster alarm information through point-to-point communication based on the pre-subscribed Wi-Fi-Aware service, so that the disaster alarm information can be transmitted to the widest range.
[0110] For example, terminal m 64m can not only obtain disaster alarm information sent by Wi-Fi access device 620 (and / or Bluetooth access device 630), but also obtain disaster alarm information forwarded by other terminals, so as to realize the transmission of disaster alarm information using multiple different communication methods.
[0111] Figure 7 This is a block diagram of another disaster alarm system provided in an embodiment of this disclosure. Figure 7 As shown, the disaster monitoring system includes, but is not limited to, the following devices: disaster monitoring device 701, Wi-Fi access device 702, Bluetooth Low Energy device 703, and multiple terminals (e.g., terminal 1, terminal 2, ..., terminal k; terminal p, terminal (p+1), ..., terminal (p+m); terminal q, terminal (q+1), ..., terminal (q+m)), where k, p, q, and m are all integers greater than or equal to 1.
[0112] Among them, terminal 1, terminal 2, ..., terminal k are respectively connected to Wi-Fi access device 702; terminal p, terminal (p+1), ..., terminal (p+m) are respectively connected to Bluetooth Low Energy device 703; terminal p, terminal (p+1), ..., terminal (p+m); and terminal q, terminal (q+1), ..., terminal (q+m) can establish point-to-point terminal communication connections when any two terminals are within each other's communication range.
[0113] When the disaster monitoring device 701 detects a disaster, it will send a broadcast data packet to the Wi-Fi access device 702 so that the Wi-Fi access device 702 can receive disaster alarm information.
[0114] The broadcast data packet carries disaster alarm information generated by the disaster monitoring device 701, and the broadcast data packet is a data packet obtained by encapsulating the disaster alarm information based on UDP.
[0115] At the same time, the disaster monitoring device 701 will also send a broadcast packet carrying disaster alarm information to the Bluetooth Low Energy device 703 based on a specific BLE channel, so that the Bluetooth Low Energy device 703 can obtain the disaster alarm information.
[0116] Among them, the disaster monitoring equipment 701 is used to generate disaster alarm information based on the location information of the disaster and the corresponding escape route when a disaster is detected; and to send the disaster alarm information to the terminal that is connected to the disaster monitoring equipment 701.
[0117] For example, Figure 8 This is a block diagram illustrating the composition of a disaster monitoring device provided in an embodiment of this disclosure. Figure 8 As shown, the disaster monitoring device 800 includes, but is not limited to, the following modules: environmental monitoring module 801, Wi-Fi communication module 802, memory 803, Bluetooth communication module 804, power supply module 805, and antenna 806.
[0118] The environmental monitoring module 801 includes a temperature sensor and / or a smoke concentration sensor. The environmental monitoring module 801 is used to monitor the temperature and / or smoke concentration of the surrounding environment at the location of the disaster monitoring equipment 800 to determine if a fire has occurred; and, if a fire is determined to have occurred, to generate a disaster alarm message.
[0119] The Wi-Fi communication module 802 is used to communicate with other devices based on the Wi-Fi communication protocol, so as to send disaster alarm information to other devices. For example, the Wi-Fi communication module 802 encapsulates the disaster alarm information based on UDP, obtains the data packet to be sent, and sends the data packet to other devices.
[0120] The memory 803 is used to store environmental data detected by the environmental monitoring module 801, as well as disaster alarm information.
[0121] The Bluetooth communication module 804 is used to communicate with other devices (such as devices with Bluetooth communication capabilities) based on the Bluetooth communication protocol, so as to send disaster alarm information to other devices. For example, the Bluetooth communication module 804 encapsulates the disaster alarm information based on the Bluetooth communication protocol, generates a data packet to be sent, and sends the data packet to other devices using a specific BLE channel so that other devices can obtain the disaster alarm information.
[0122] Power module 805 is used to provide power so that disaster monitoring equipment 800 can operate continuously.
[0123] Antenna 806 is used to receive and transmit radio waves, which can be electromagnetic waves carrying disaster alarm information. For example, antenna 806 includes a Wi-Fi antenna and / or a Bluetooth antenna to facilitate the transmission of data encapsulated based on different communication protocols.
[0124] In some embodiments, the disaster monitoring device 800 may also be a smart terminal. When the smart terminal moves to different locations, it can detect the temperature and / or smoke concentration at different locations, thereby determining whether abnormal disasters such as fires have occurred at different locations. When an abnormal disaster such as a fire is detected, it generates a disaster alarm message and sends the disaster alarm message to a terminal that is communicatively connected to the smart terminal.
[0125] Figure 9 This is a flowchart illustrating another disaster alarm method provided in this embodiment. The application scenarios for this disaster alarm method include: shopping malls, office buildings, residential buildings, stadiums, and other scenarios with high pedestrian traffic.
[0126] like Figure 9 As shown, this disaster warning method includes, but is not limited to, the following steps:
[0127] In step S901, the disaster monitoring equipment detects the temperature and / or smoke concentration at its location, and generates a disaster alarm message if the detected temperature is greater than a preset temperature threshold and / or the smoke concentration is greater than a preset concentration threshold.
[0128] The disaster warning information includes the location of the disaster and / or escape routes.
[0129] In step S902, the disaster monitoring equipment encapsulates the disaster alarm information based on a preset communication protocol, generates a data packet to be sent, and sends the data packet to the first terminal connected to the disaster monitoring equipment.
[0130] The preset communication protocols include at least one of the following: Wi-Fi communication protocol, Bluetooth communication protocol, and WLAN communication protocol.
[0131] In some embodiments, the disaster monitoring device sends the data packet to be sent to the Wi-Fi access device, and then the Wi-Fi access device forwards the received data packet to all first terminals within its coverage area.
[0132] In some embodiments, the disaster monitoring device sends a data packet to be sent to a Bluetooth access device. Then, the Bluetooth access device periodically sends the data packet to be sent on a preset BLE channel so that the first terminal communicating with the disaster monitoring device can obtain the disaster alarm information carried by the data packet to be sent.
[0133] In some embodiments, the disaster monitoring device sends the data packet to be sent to the WLAN access device, and then the WLAN access device forwards the received data packet to all first terminals within its coverage area via UDP broadcast.
[0134] In step S903, when the first terminal receives the data packet to be sent from the disaster monitoring equipment, it parses the data packet to obtain disaster alarm information.
[0135] The first terminal has a display module that can display a disaster alarm interface. The disaster alarm interface displays at least one of the following information: escape route, disaster location information, alarm cancellation pop-up information, alarm triggering pop-up information, and one-click distress information.
[0136] In step S904, the first terminal forwards the disaster alarm information to the second terminal that is connected to the first terminal.
[0137] After receiving the disaster alarm information, the first terminal will continuously scan its surrounding devices to determine whether it will receive the disaster alarm information again, and broadcast the obtained disaster alarm information to other terminals, for example, the continuous broadcast duration is 30 seconds.
[0138] Without relying on traditional routing, the first terminal and the second terminal can communicate based on a preset Wi-FiAware service. The first terminal and the second terminal can also communicate through a self-organizing network. This disclosure does not impose any restrictions on this, and will not be elaborated further here.
[0139] In step S905, the second terminal receives the disaster alarm information sent by the first terminal and forwards the disaster alarm information to the third terminal that is connected to the second terminal.
[0140] When the second terminal receives a disaster alarm, it will display the disaster alarm interface in a pop-up window to display the disaster alarm information; and / or, output a voice signal carrying the disaster alarm information in the form of a voice broadcast; and / or, output a vibration signal carrying the disaster alarm information in the form of device vibration; thereby reminding the user of the second terminal to take timely shelter from the disaster.
[0141] At the same time, the second terminal will continuously forward disaster alarm information to the third terminal it communicates with, so that the disaster alarm information can be widely transmitted, so that the surrounding terminals where the disaster occurs can know the alarm information, so that the disaster can be transmitted in a timely manner, reducing the possibility of other users being affected by the disaster, thereby reducing the destructiveness of the disaster.
[0142] In this embodiment, a disaster monitoring device monitors the surrounding disaster situation. When a disaster is detected, a disaster alarm message is sent to a first terminal connected to it, so that the first terminal can promptly receive the disaster information. Furthermore, the first terminal forwards the disaster alarm message to multiple other terminals to expand the transmission range of the disaster alarm message. This allows the disaster information to be transmitted to multiple random terminals around the disaster location in a timely and rapid manner, which helps to promptly remind users of each terminal to avoid the disaster, reduce the destructiveness of the disaster, and ensure personal safety.
[0143] Fourthly, embodiments of this disclosure provide a terminal, a computer-readable medium, and a computer program product.
[0144] Figure 10 This is a block diagram of a terminal provided in an embodiment of the present disclosure.
[0145] like Figure 10 As shown, the electronic device includes: at least one processor 1001, at least one memory 1002, and one or more I / O interfaces 1003. The processor 1001, memory 1002, and I / O interfaces 1003 are interconnected via a bus 1004. The memory 1002 stores one or more computer programs, which are executed by the at least one processor 1001 to enable the at least one processor 1001 to implement any of the disaster alarm methods described in the above embodiments.
[0146] The modules in the aforementioned electronic devices can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0147] This disclosure also provides a computer-readable storage medium storing a computer program thereon, wherein the computer program, when executed by a processor, implements any of the disaster alarm methods described in the above embodiments. The computer-readable storage medium may be a volatile or non-volatile computer-readable storage medium.
[0148] This disclosure also provides a computer program product, including computer-readable code, or a non-volatile computer-readable storage medium carrying computer-readable code, wherein when the computer-readable code is run in the processor of an electronic device, the processor in the electronic device executes the above-described disaster alarm method.
[0149] Those skilled in the art will understand that all or some of the steps, systems, and devices disclosed above, as well as the functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components.
[0150] Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable storage medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable program instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), static random access memory (SRAM), flash memory or other memory technologies, portable compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable program instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0151] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.
[0152] Computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing the status information of the computer-readable program instructions to implement various aspects of this disclosure.
[0153] The computer program product described herein can be implemented specifically through hardware, software, or a combination thereof. In one alternative embodiment, the computer program product is specifically embodied in a computer storage medium; in another alternative embodiment, the computer program product is specifically embodied in a software product, such as a software development kit (SDK), etc.
[0154] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0155] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0156] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0157] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, the execution order of which may be determined based on the functions involved in each block. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0158] Example embodiments have been disclosed herein, and while specific terminology has been used, it is for illustrative purposes only and should be construed as such, and is not intended to be limiting. In some instances, it will be apparent to those skilled in the art that features, characteristics, and / or elements described in connection with particular embodiments may be used alone, or in combination with features, characteristics, and / or elements described in connection with other embodiments, unless otherwise expressly indicated. Therefore, those skilled in the art will understand that various changes in form and detail may be made without departing from the scope of this disclosure.
Claims
1. A disaster alarm method, applied to a first terminal, comprising: A preset network connection is established with disaster monitoring equipment within a preset location area, wherein the disaster monitoring equipment has at least one network connection function; The system receives disaster alarm information sent by the disaster monitoring equipment, wherein the disaster alarm information is information transmitted to the first terminal through the preset network connection after the disaster monitoring equipment issues an alarm.
2. The method according to claim 1, wherein, The receiving of disaster alarm information sent by the disaster monitoring equipment includes: The system receives User Datagram Protocol (UDP) broadcast messages or Bluetooth Low Energy (BLE) broadcast messages sent by the disaster monitoring equipment; wherein both the UDP broadcast message and the BLE broadcast message include the disaster alarm information.
3. The method according to claim 1, wherein, After receiving the disaster alarm information sent by the disaster monitoring equipment, the method further includes: Within a preset time period, send a Wi-Fi broadcast message or a BLE broadcast message to the second terminal; The first terminal connects to the second terminal via Wi-Fi Direct or Bluetooth, and both the Wi-Fi broadcast message and the BLE broadcast message include the disaster alarm information.
4. The method according to claim 1, wherein, The disaster alarm information includes the location information of the disaster, and the method further includes: Based on the disaster location information and the location information of the first terminal, the distance between the first terminal and the disaster location is determined; The alarm intensity is determined based on the distance.
5. The method according to claim 1, wherein, The method further includes at least one of the following: The disaster alarm information is displayed on the disaster alarm interface; Output a voice signal carrying the disaster alarm information; Output a vibration signal carrying the disaster alarm information.
6. The method according to claim 5, wherein, The disaster warning information includes at least one of the following: escape routes, disaster location information; The disaster alarm interface displays at least one of the following information: the escape route, the location information of the disaster, alarm pop-up settings, alarm intensity information, and one-click SOS information; wherein, the alarm intensity information is information representing the distance between the first terminal and the location of the disaster.
7. The method according to any one of claims 1 to 6, wherein, The disaster alarm information includes fire alarm information, and the first terminal includes an environmental monitoring module; the method further includes: The environmental monitoring module is used to monitor ambient temperature and / or smoke concentration; The fire alarm information is generated based on at least two of the following: the location of the first terminal, the monitored ambient temperature, and the monitored smoke concentration.
8. A terminal comprising a memory and a processor; the memory storing a computer program executable by the processor, the computer program, when executed by the processor, implementing the disaster alarm method as described in any one of claims 1 to 7.
9. A computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the disaster alarm method as described in any one of claims 1 to 7.
10. A computer program product comprising a computer program that, when executed by a processor, implements the disaster alarm method as described in any one of claims 1 to 7.