Disaster Warning Method and Device, Computer Readable Medium, and Terminal Device

By obtaining target environment data in the terminal device and pushing appropriate alarm indication content, the problem of insufficient effectiveness and targeting of disaster warnings in the prior art is solved, and the user's escape and evasion ability is improved.

CN115966059BActive Publication Date: 2025-06-17GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111176552.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-09
Publication Date
2025-06-17
Estimated Expiration
2041-10-09

AI Technical Summary

Technical Problem

The prior art cannot guarantee the maximum awareness of users in disaster warnings, and the effectiveness and targetedness of the warnings are insufficient.

Method used

By acquiring target environment data in the terminal device, determining appropriate alert indication content based on these data, and pushing it to the user, ensuring the targetedness and effectiveness of the alert content.

Benefits of technology

It improves the effectiveness and pertinence of disaster warnings, helping users choose escape routes or evasion methods that are more suitable for the current environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115966059B_ABST
    Figure CN115966059B_ABST
Patent Text Reader

Abstract

The present disclosure provides a disaster warning method, a disaster warning device, a computer-readable medium, and an electronic device, relating to the technical field of disaster early warning. The method is applied to a first terminal device and includes: in response to receiving a first disaster warning, obtaining target environmental data of the environment where the first terminal device is located according to the first disaster warning; pushing warning indication content to a user, where the warning indication content is determined according to the target environmental data. By obtaining the target environmental data of the environment where the terminal device is located, the present disclosure can push different warning indication content according to different target environmental data, and then push warning and indication content more suitable for the environment where the terminal device is located to the user, so that the user can select an escape route or a hiding method more suitable for the current environment according to the warning and indication content, improving the effectiveness and pertinence of disaster warning.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] In recent years, natural disasters such as fires and earthquakes, as well as non-natural disasters, have occurred frequently. People have paid more and more attention to the early warnings of various disasters. For example, in abnormal scenarios such as heavy rain that are prone to disasters, users' mobile phones can receive text messages of heavy rain warnings.

[0003] However, in the related art, when warning of disasters, it is usually only notified by means such as text messages and playing fixed sounds, which cannot ensure that users are aware to the greatest extent, nor can it ensure the effectiveness and pertinence of the warnings. Summary of the Invention

[0004] The purpose of the present disclosure is to provide a disaster warning method, a disaster warning device, a computer-readable medium, and a terminal device, so as to at least to some extent improve the effectiveness of disaster warnings.

[0005] According to the first aspect of the present disclosure, a disaster warning method is provided, which is applied to a first terminal device and includes: in response to receiving a first disaster warning, obtaining target environment data of the environment where the first terminal device is located according to the first disaster warning; pushing warning indication content to the user, and the warning indication content is determined according to the target environment data.

[0006] According to the second aspect of the present disclosure, a disaster warning method is provided, which is applied to a server and includes: in response to receiving a second disaster warning, determining a third terminal device according to the second disaster warning, and obtaining target environment data of the environment where the third terminal device is located; pushing the warning indication content to the third terminal device so that the third terminal device pushes the warning indication content to the user; wherein, the warning indication content is determined according to the target environment data.

[0007] According to the third aspect of the present disclosure, a disaster warning device is provided, which is applied to a first terminal device and includes: a first obtaining module, configured to obtain target environment data of the environment where the first terminal device is located according to a first disaster warning in response to receiving the first disaster warning; a first pushing module, configured to push warning indication content to the user, and the warning indication content is determined according to the target environment data.

[0008] According to the fourth aspect of the present disclosure, a disaster warning device is provided, which is applied to a server and includes: a second obtaining module, configured to determine a third terminal device according to a second disaster warning in response to receiving the second disaster warning, and obtain target environment data of the environment where the third terminal device is located; a second pushing module, configured to push the warning indication content to the third terminal device so that the third terminal device pushes the warning indication content to the user; wherein, the warning indication content is determined according to the target environment data.

[0009] According to a fifth aspect of the present disclosure, there is provided a computer-readable medium having stored thereon a computer program, which when executed by a processor, implements the above method.

[0010] According to a sixth aspect of the present disclosure, there is provided a terminal device, characterized by comprising: a processor; and a memory for storing one or more programs, which when executed by one or more processors, cause the one or more processors to implement the above method.

[0011] In the disaster warning method provided by an embodiment of the present disclosure, when a first disaster warning is received, target environmental data of the environment where the terminal device is located is obtained according to the first disaster warning, and warning indication content corresponding to the first disaster warning under the target environmental data is selected according to the target environmental data, and then the selected warning indication content is pushed to the user. By obtaining the target environmental data of the environment where the terminal device is located, the present disclosure can push different warning indication contents according to different target environmental data, and further push warning and indication contents more suitable for the environment where the terminal device is located to the user, so that the user can select a more suitable escape route or avoidance method according to the warning and indication contents, improving the effectiveness and pertinence of disaster warning.

[0012] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure and used together with the specification to explain the principles of the present disclosure. Obviously, the accompanying drawings in the following description are only some embodiments of the present disclosure, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts. In the drawings:

[0014] Figure 1 A schematic diagram showing an exemplary system architecture to which embodiments of the present disclosure can be applied;

[0015] Figure 2 A schematic diagram showing a terminal device to which embodiments of the present disclosure can be applied;

[0016] Figure 3 A flowchart schematically showing a disaster warning method in an exemplary embodiment of the present disclosure;

[0017] Figure 4 An execution schematic diagram schematically showing a disaster warning method in an exemplary embodiment of the present disclosure;

[0018] Figure 5Flowchart schematically showing another disaster warning method in an exemplary embodiment of the present disclosure;

[0019] Figure 6 Schematic diagram showing the composition of a disaster warning device in an exemplary embodiment of the present disclosure;

[0020] Figure 7 Schematic diagram showing the composition of another disaster warning device in an exemplary embodiment of the present disclosure. Detailed implementation manners

[0021] Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be more complete and thorough, and will fully convey the concept of the example embodiments to those skilled in the art. The features, structures, or characteristics described may be combined in any suitable manner in one or more embodiments.

[0022] In addition, the drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0023] Figure 1 Schematic diagram showing the system architecture of an exemplary application environment in which a disaster warning method and device according to an embodiment of the present disclosure can be applied.

[0024] As Figure 1 shown, the system architecture 100 may include one or more of the terminal devices 101, 102, 103, the network 104, and the server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc. The terminal devices 101, 102, 103 may include, but are not limited to, desktop computers, portable computers, smart phones, smart TVs, and tablet computers, etc. It should be understood, Figure 1The numbers of the terminal devices, networks, and servers in [the relevant context] are merely illustrative. According to the implementation requirements, there can be any number of terminal devices, networks, and servers. For example, server 105 can be a server cluster composed of multiple servers, etc. In an exemplary embodiment, each of one or more terminal devices can act as both the first terminal device and the second terminal device.

[0025] The disaster warning method provided by the embodiments of the present disclosure can be executed by terminal devices 101, 102, and 103. Correspondingly, the disaster warning device is disposed in terminal devices 101, 102, and 103. For example, after terminal devices 101, 102, and 103 receive a first disaster warning, they can obtain target environmental data of the environment where the first terminal device is located according to the first disaster warning, and then push the warning indication content determined according to the target environmental data to the user.

[0026] The disaster warning method provided by the embodiments of the present disclosure can also be executed by server 105. Correspondingly, the disaster warning device can also be disposed in server 105. For example, when server 105 receives a second disaster warning, it can determine a third terminal device according to the second disaster warning, obtain target environmental data of the environment where the third terminal device is located, and then push the warning indication content determined according to the target environmental data to the third terminal device so that the third terminal device can push it to the user.

[0027] An exemplary embodiment of the present disclosure provides an electronic device for implementing the disaster warning method, which can be Figure 1 the terminal devices 101, 102, 103 or the server 105 in [the relevant context]. The electronic device at least includes a processor and a memory. The memory is used to store executable instructions of the processor, and the processor is configured to execute the disaster warning method by executing the executable instructions.

[0028] Next, taking Figure 2 the television 200 in [the relevant context] as an example, an exemplary description of the structure of the above-mentioned electronic device will be given. Those skilled in the art should understand that except for components specifically for mobile purposes, Figure 2 the structure in [the relevant context] can also be applied to fixed-type devices.

[0029] As Figure 2As shown in the figure, the television 200 may specifically include: a processor 210, an internal memory 221, an external memory interface 222, a USB (Universal Serial Bus) interface 230, an antenna 1, an antenna 2, a mobile communication module 240, a wireless communication module 250, an audio module 260, a speaker 261, a receiver 262, a microphone 263, a headphone interface 264, a sensor module 270, a display screen 280, a camera module 281, an indicator 282, a button 283, an input device 290, etc.

[0030] The processor 210 may include one or more processing units. For example, the processor 210 may include an AP (Application Processor), a modem processor, a GPU (Graphics Processing Unit), an ISP (Image Signal Processor), a controller, an encoder, a decoder, a DSP (Digital Signal Processor), a baseband processor, and / or an NPU (Neural-Network Processing Unit), etc. The encoder may encode (i.e., compress) image or video data; the decoder may decode (i.e., decompress) the bitstream data of the image or video to restore the image or video data.

[0031] In some embodiments, the processor 210 may include one or more interfaces, and form connections with other components of the television 200 through different interfaces.

[0032] The internal memory 221 may be used to store computer-executable program code, and the executable program code includes instructions. The internal memory 221 may include a volatile memory, a non-volatile memory, etc. The processor 210 executes various functional applications and data processing of the television 200 by running the instructions stored in the internal memory 221 and / or the instructions stored in the memory provided in the processor.

[0033] The external memory interface 222 may be used to connect to an external memory. The external memory communicates with the processor 210 through the external memory interface 222 to implement a data storage function, such as storing files such as music and videos.

[0034] The wireless communication function of the TV 200 can be implemented through Antenna 1, Antenna 2, the mobile communication module 240, the wireless communication module 250, the modem processor, and the baseband processor, etc. Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. The mobile communication module 250 can provide wireless communication solutions applied to the TV 200, including 2G / 3G / 4G / 5G, WIFI, or operator networks, etc.

[0035] The TV 200 can implement the display function through the GPU, the display screen 280, and the AP, etc., to display the user interface. Among them, the display screen 280 can be a liquid crystal display screen or an electronic ink display screen. The input device 290 of the TV 200 can be a touch layer covered on the display screen 280, or buttons, trackballs, or touchpads set on the outer shell of the display screen 280, or an external keyboard, touchpad, or mouse, etc.

[0036] The TV 200 can implement the shooting function through the ISP, the camera module 281, the encoder, the decoder, the GPU, the display screen 280, and the AP, etc., and can also implement the audio function through the audio module 260, the speaker 261, the receiver 262, the microphone 263, the headphone jack 264, and the AP, etc.

[0037] The sensor module 270 can include a barometric pressure sensor 2701, a pressure sensor 2702, etc., to implement different sensing and detection functions.

[0038] Among them, the barometric pressure sensor 2701 can be used to measure barometric pressure. In some embodiments, the TV 200 can calculate the altitude based on the barometric pressure value measured by the barometric pressure sensor 2701 to assist in positioning and navigation.

[0039] Among them, the pressure sensor 2702 can be used to sense the pressure signal and convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 2702 can be set at positions such as the display screen 280 and the outer shell of the TV 200. There are many types of pressure sensors 2702, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can include at least two parallel plates with conductive materials. When a force acts on the pressure sensor 2702, the capacitance between the electrodes changes. The TV 200 can determine the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 280, the TV 200 can detect the intensity of the touch operation according to the pressure sensor 2702. The TV 200 can also calculate the position of the touch based on the detection signal of the pressure sensor 2702.

[0040] In some embodiments, the outer shell or the display screen of the TV 200 can detect the pressure exerted on the TV 200 from the outside through the pressure sensor 2702 to determine whether the TV 200 is damaged by extrusion, etc.

[0041] The indicator 282 can be an indicator light, which can be used to indicate the display status, such as the power-on / off status, or can also be used to indicate messages, etc. The button 283 can include a power-on button, a volume button, etc.

[0042] In the related art, when a terminal device receives a disaster warning, it usually directly reminds the user by playing a fixed prompt sound, etc. For example, when a smart TV receives an earthquake warning, it usually makes the display screen show a countdown or the specific status of the current earthquake, and at the same time continuously plays a "beep" prompt sound through the TV speaker to remind the user.

[0043] However, this way of notifying users of disasters cannot ensure that users are aware to the greatest extent, nor can it ensure the effectiveness and pertinence of the warning.

[0044] Based on the above one or more problems, the present exemplary embodiment provides a disaster warning method, which can be applied to one or more of the above terminal devices 101, 102, 103, and no special limitation is made in this exemplary embodiment. Refer to Figure 3 As shown, the disaster warning method may include the following steps S310 and S320:

[0045] In step S310, in response to receiving a first disaster warning, obtain target environmental data of the environment where the first terminal device is located according to the first disaster warning.

[0046] Among them, the first disaster warning refers to a prompt message sent by a server or other platform to the first terminal device after predicting that a disaster may occur according to various prediction methods. The first disaster warning may include the type of disaster. For example, earthquake, heavy rain, flood, etc.

[0047] It should be noted that the first disaster warning may also include the time when the disaster occurs. For example, an earthquake occurs at xx:xx on the afternoon of xx / xx / xxxx; the intensity of the disaster, the duration of the disaster, etc., and no special limitation is made in this disclosure.

[0048] In an exemplary embodiment, when receiving the first disaster warning, the target environmental data of the environment where the first terminal device is located may be obtained according to the first disaster warning by using the first terminal device, so as to perform subsequent processing according to the target environmental data.

[0049] In an exemplary embodiment, when obtaining the target environmental data of the environment where the first terminal device is located according to the first disaster warning, the data to be collected corresponding to the target environmental data may be determined first based on the type of the first disaster warning, then the data to be collected in the environment where the first terminal device is located may be collected through the first terminal device, and then the target environmental data may be determined based on the data to be collected.

[0050] When the disasters of the first disaster warning are different, different environmental conditions may affect the escape strategies that users need to choose. For example, in the case of an earthquake, in an indoor scenario, on a very high floor, compared with running outside, taking shelter in a small area inside the house is more likely to increase the chance of survival; on a very low floor, compared with taking shelter in a small area inside the house, running outside is more likely to increase the chance of survival. Therefore, for different disasters, the data to be collected can be determined according to the type of the first disaster warning, and then the target environmental data can be determined based on the data to be collected. According to the characteristics of different disasters, different data that need to be collected can be selected, and then the target environmental data that affects the warning and indication content can be determined more accurately.

[0051] In an exemplary embodiment, when a barometric pressure sensor is configured in the first terminal device and the type of the first disaster warning is an earthquake, the data to be collected may include the barometric pressure value, and the corresponding target environmental data may include the height of the floor where the first terminal device is located. In this case, when obtaining the data to be collected in the environment where the first terminal device is located and determining the target environmental data based on the data to be collected, the barometric pressure value in the environment where the first terminal device is located can be collected first by using the barometric pressure sensor, then the preset barometric pressure range corresponding to the area where the first terminal device is located can be obtained, and the floor height where the first middle-end device is located can be determined by using the preset barometric pressure range. Optionally, when the barometric pressure value collected by the barometric pressure sensor is greater than the maximum value of the preset barometric pressure range, the target environmental data, that is, the floor height, can be determined as high-rise; when the barometric pressure value is less than the minimum value of the preset barometric pressure range, the target environmental data can be determined as low-rise.

[0052] In another exemplary embodiment, when obtaining the data to be collected in the environment where the first terminal device is located and determining the target environmental data based on the data to be collected, the barometric pressure value in the environment where the first terminal device is located can also be collected first by using the barometric pressure sensor configured in the first terminal device, and then the barometric pressure value collected can be mapped to the floor height by using the barometric pressure - floor height corresponding to the area where the first terminal device is located. It should be added that the height calculated by the barometric pressure is the altitude. Therefore, the barometric pressure - floor height mapping relationship can be established according to the relationship between the altitude and the floor height in different regions. For example, in a certain area, the altitude of the horizon is a, then the barometric pressure - floor mapping relationship can be established based on the altitude of the horizon, so as to facilitate determining the floor where the first terminal device is located according to the collected barometric pressure value.

[0053] In addition, in some other embodiments, the data to be collected may further include data such as geographical location, ambient temperature, and ambient humidity. Different data to be collected can be determined according to different types of the first disaster warnings. For example, for an earthquake, in addition to the above-described embodiment of air pressure, the data to be collected can be set as the geographical location; for another example, for a natural disaster such as heavy rain, the data to be collected can be set as the ambient humidity, and then parameters such as the rainfall in the current area can be determined according to the ambient humidity; for another example, for a fire, the data to be collected can be set as the ambient temperature, and then the direction of the fire source can be determined according to the ambient temperature; in addition, for other types of the first disaster warnings, such as snow disasters, floods, etc., different settings can be made respectively.

[0054] In step S320, an alarm indication content is pushed to the user, and the alarm indication content is determined according to the target environmental data.

[0055] Among them, the alarm indication content may include disaster information, the alarm content for the user, and the content for indicating the user's escape. As described above, when the disasters of the first disaster warnings are different, different environmental conditions may affect the escape strategies selected by the user. Therefore, when the disasters are different and the target environmental data determined after receiving the first disaster warning are different, the determined alarm and indication content can be different.

[0056] In an exemplary embodiment, when the type of the first disaster warning is an earthquake and the target environmental data includes the floor height where the first terminal device is located, for the case where the target environmental data is a high floor, it can be determined that the alarm indication content includes earthquake information and a hiding location; for the case where the target environmental data is a low floor, it can be determined that the alarm indication content includes an escape route. For example, for the first device with the target environmental data of a high floor, it can be determined that the alarm indication content is "An earthquake of magnitude 2.1 has occurred. Please take shelter in the bathroom"; for a user on a lower floor, the alarm indication content can be determined as "An earthquake has occurred. Please go downstairs along the stairs and stay in an open area".

[0057] It should be added that, in an exemplary embodiment, since the intensity of the disaster also affects the escape strategy that the user needs to select, different preset air pressure ranges can be set for different disaster intensities. At this time, when the disaster intensity is included in the first disaster warning, different preset air pressure ranges can be obtained according to the disaster intensity to determine different target environmental data. For example, for an earthquake with a very high intensity, it may be too late for people on the lower floors to escape outdoors. Therefore, the preset air pressure range can be set as the preset air pressure range corresponding to a lower altitude, so that the alarm indication content corresponding to the lower floors also includes a hiding location.

[0058] In another exemplary embodiment, after determining the floor where the first terminal device is located based on the air pressure - floor mapping relationship and the collected air pressure value, different warning indication contents can be determined for different floor ranges. For example, the first to fifth floors can be determined as the low - floor range. When it is determined according to the air pressure value that the first terminal device is on the fifth floor, the warning indication content corresponding to the low - floor range can be selected as the warning indication content for this first terminal device.

[0059] It should be noted that, similar to the previous embodiment, since the intensity of the disaster also affects the escape strategy that the user needs to choose, for different disaster intensities, different warning indication contents can be set for different floor ranges. For example, for a very strong earthquake, it may be too late for people on the low floors to escape outdoors. Therefore, the warning indication contents for all floor ranges under a certain disaster intensity can be set to include the hiding location.

[0060] Through the above settings, the warning indication content suitable for the current environment can be adaptively selected according to different target environment data, making the warning indication content more effective, improving the effectiveness of the warning indication content, and further improving the effectiveness of the warning.

[0061] In addition, in an exemplary embodiment, when the types of the first disaster warnings are different and different target environment data are obtained, different warning indication contents can be determined according to each type of the first disaster warning and different target environment data. For example, for an earthquake, after obtaining the target environment data such as the geographical location, the escape route, escape method, escape destination, etc. can be determined as the warning indication content. For example, on a bridge, the warning indication content can be determined as "Grasp the bridge railing tightly and move to the west side of the bridge after the main shock ends"; another example is that for heavy rain, whether to transfer, the transfer method, transfer destination, etc. can be determined as the warning indication content according to parameters such as the rainfall; another example is that for a fire, the direction to stay away from can be determined as the indication content according to the direction of the fire source.

[0062] It should be added that when the types of terminal devices are different, different warning indication contents can be set for different types of terminal devices. For example, for terminal devices such as TVs, desktop computers, and sweeping robots that are usually placed in indoor scenarios, for disasters of the earthquake type, the settings as in the above embodiments can be executed; for example, for terminal devices such as electronic billboards that are usually placed in outdoor scenarios, for disasters of the sandstorm type, the positioning data of the electronic billboard can be obtained, and based on the positioning data, it can be determined whether the location where the electronic billboard is located is in the city or in the wild, and then it can be determined that the warning indication content includes the route to the nearest indoor area or the best shelter area. If the direction of the sandstorm is from east to west, it can be determined that the warning knowledge content is to take shelter on the west side of the obstacle; for another example, for some devices that can move in indoor or outdoor scenarios, such as mobile phones, two sets of settings can be determined, and then based on the current positioning data of the mobile phone, it can be determined whether the mobile phone is in an indoor or outdoor scenario, and then the corresponding set of settings can be selectively executed.

[0063] In an exemplary embodiment, a sound wave generator can also be set in the first terminal device, and the sound wave generator is used to emit sound waves that can be used for positioning. On this premise, when the first terminal device is squeezed, for example, when the physical form of the device shell changes, the sound wave generator can be turned on to emit sound waves outward, so that rescue personnel can quickly determine the position where the sound waves are generated based on the sound waves emitted by the sound wave generator, and then quickly locate the position where survivors may be. By setting the sound wave generator, it can help search and rescue personnel quickly distinguish the household areas where survivors may be, so as to avoid blind search and rescue.

[0064] In an exemplary embodiment, a pressure sensor can also be set in the first terminal device, and the pressure sensor is used to detect the pressure acting on the first terminal device. When the pressure acting on the first terminal device is greater than the pressure threshold, it can be determined that the first terminal device has been squeezed, and then the sound wave generator is turned on to emit sound waves outward.

[0065] In an exemplary embodiment, other devices can also be set on the first terminal device to detect whether the first terminal device is damaged. When it is determined that the first terminal device is damaged, the sound wave generator is turned on to emit sound waves outward.

[0066] By setting a pressure sensor or other devices, when the first terminal device is squeezed or damaged in a disaster, sound waves can be emitted outward, so that rescue personnel can quickly determine the position where the sound waves are generated based on the sound waves emitted by the sound wave generator, and then quickly locate the position where survivors may be.

[0067] In an exemplary embodiment, when the first terminal device receives the first disaster warning, it can also transmit the first disaster warning to the second terminal device through a communication connection to control the second terminal device that establishes a communication connection with the first terminal device to issue a warning to the user.

[0068] Among them, the second terminal device may include all terminal devices for issuing warnings in the scenario where the first terminal device is located. For example, the second terminal device may include smart speakers, smart bulbs, and fire and fog prevention systems, etc.

[0069] In an exemplary embodiment, when the second terminal device issues a warning, it can be based on the warning indication content and the warning methods that the second terminal device itself can implement. For example, for a smart speaker, since the smart speaker can emit sound, the warning indication content can also be sent to the smart speaker. When the smart speaker issues a warning, it can use the language of the warning indication content as the warning sound to warn the user; for another example, for a smart bulb, since the bulb can only emit light and cannot contain text information, it can directly issue a warning to the user by turning on the bulb or making the bulb blink, etc.

[0070] In an exemplary embodiment, the second terminal device may further include the user's communication device to facilitate the user to receive the first disaster warning in a timely manner. Among them, the user's communication device may include devices such as the user's mobile phone, tablet computer, and bracelet.

[0071] By controlling the second terminal device that establishes a communication connection with the first terminal device to issue a warning to the user when receiving the first disaster warning, the user can be notified in all directions, so that the user can quickly receive the first disaster warning and then quickly avoid or escape.

[0072] In an exemplary embodiment, when pushing the warning indication content to the user, it can be pushed to the user through the performance of the first terminal device itself. For example, if the first terminal device only has a display screen and cannot emit sound, it can be pushed through a text pop-up window; for another example, if the first terminal device can emit sound, it can push the warning indication content to the user through a voice prompt; for another example, if the first terminal device further includes other ways to transmit information, it can push the warning indication content to the user through other ways.

[0073] In an exemplary embodiment, in response to receiving a first disaster warning, the first disaster warning may also be transmitted to a second terminal device through a communication connection to control the second terminal device to perform corresponding auxiliary operations; wherein, the content of the auxiliary operation is determined according to the warning indication content. For example, when a disaster occurs, the first terminal device may send a control instruction included in the warning indication content to a second terminal device in the environment where the first terminal device is located, such as an induction cooker, a water valve, a gas valve, an electronic door lock, etc., so that the second terminal device performs corresponding operations, thereby avoiding safety accidents. Optionally, a closing instruction may be sent to the induction cooker, the water valve, and the gas valve according to the warning indication content, so that the induction cooker, the water valve, and the gas valve are closed to avoid additional accidents during the disaster; alternatively, an opening instruction may also be sent to the electronic door lock according to the warning implementation content, so that the electronic door lock is opened to facilitate the users of the residence to escape.

[0074] Among them, the second terminal device may include all terminal devices included in the current environment of the first terminal device. For example, the second terminal device may include the above-mentioned induction cooker, water valve, gas valve, electronic door lock, etc.

[0075] The following refers to Figure 4 As shown, taking the first terminal device as a TV and the second terminal devices including mobile phones, home appliances, etc. as an example, the technical solutions of the embodiments of the present disclosure will be elaborated in detail:

[0076] Referring to Figure 4 As shown, the server sends a first disaster warning to the TV. After the TV receives the first disaster warning, the TV directly emits an alarm sound, and at the same time, jointly emits an alarm with home appliances, mobile phones, etc.; in addition, the TV can also collect environmental data and push warning indication content (displaying the text of the warning indication content or broadcasting the voice of the warning indication content) that matches the environmental data to the user; when a disaster occurs and the TV is squeezed or damaged due to the disaster, the TV can also turn on the acoustic wave generator to emit acoustic waves outward.

[0077] It should be noted that in some embodiments, the first disaster warning may also be directly sent to communication devices such as mobile phones by the server, and the present disclosure does not make special limitations on this.

[0078] In summary, in this exemplary embodiment, by combining home appliances (second terminal devices) to give warnings before a disaster, users can be informed of the coming of the disaster in the first time, ensuring that users are aware to the greatest extent and increasing the chance of escape; by making corresponding warning indication content according to environmental data, the most effective reminder can be pushed to users as much as possible; in addition, by turning on the acoustic wave generator after the disaster, the possibility of being rescued can be increased.

[0079] It should be noted that the above-mentioned drawings are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, rather than for restrictive purposes. It is easy to understand that the processes shown in the above-mentioned drawings do not indicate or limit the chronological order of these processes. Additionally, it is also easy to understand that these processes can be executed synchronously or asynchronously in, for example, multiple modules.

[0080] In addition, in the embodiment of this example, a disaster warning method is also provided, which can be applied to a server. Specifically, as shown in Figure 5 it may include the following steps S510 to S520:

[0081] In step S510, in response to receiving a second disaster warning, determine a third terminal device according to the second disaster warning, and obtain target environmental data of the environment where the third terminal device is located.

[0082] In an exemplary embodiment, the second disaster warning may refer to the prompt information received by the server after predicting that a disaster may occur according to various prediction methods. This prompt information may be sent by the third terminal device to the server, or sent by other platforms.

[0083] In an exemplary embodiment, when the second disaster warning is sent from the third terminal device to the server, the second disaster warning may include the type of the disaster. For example, heavy rain, earthquake, etc. In addition, similar to the first disaster warning, the second disaster warning may also include the vision, intensity, duration, etc. of the disaster occurrence.

[0084] In another exemplary embodiment, when the second disaster warning is sent from other platforms to the server, the second disaster warning may include the location where the disaster occurs and the type of the disaster. For example, heavy rain occurs in area xx. In addition, the second disaster warning may also include the vision, intensity, duration, etc. of the disaster occurrence.

[0085] In an exemplary embodiment, when receiving the second disaster warning, the third terminal device may be determined according to the second disaster warning, and then the target environmental data of the environment where the third terminal device is located may be collected by using devices such as sensors set in the third terminal device. It should be noted that when the second disaster warning is sent from the third terminal device to the server, the third terminal device that sends the second disaster warning may be directly used as the third terminal device here; when the second disaster warning is sent by other platforms, the third terminal device may be determined according to the location where the disaster occurs included in the second disaster warning. For example, an earthquake occurs in area A, and all terminal devices connected to the server in this area may be used as the third terminal device, and at the same time, the target environmental data of the environment where each third terminal device is located may be collected by using each third terminal device, and then different warning indication contents may be pushed to each third terminal device for each target environmental data item.

[0086] In step S520, the alarm indication content is pushed to the third terminal device so that the third terminal device can push the alarm indication content to the user.

[0087] Among them, the alarm indication content is determined according to the target environmental data.

[0088] In an exemplary embodiment, after obtaining the target environmental data, the alarm indication content can be determined according to the target environmental data, and then pushed to the corresponding third terminal device so that the third terminal device can push the alarm indication content to the user.

[0089] The specific details of each step in the above method have been described in detail in the implementation manner applied to the first terminal device. For the details not disclosed, reference can be made to the content of this part of the implementation manner, so they will not be elaborated here.

[0090] Further, referring to Figure 6 As shown, in the implementation manner of this example, a disaster warning device 600 is further provided, which is applied to the first terminal device and includes a first acquisition module 610 and a first push module 620. Among them:

[0091] The first acquisition module 610 can be used to obtain the target environmental data of the environment where the first terminal device is located according to the first disaster alarm in response to receiving the first disaster alarm.

[0092] The first push module 620 can be used to push the alarm indication content to the user, and the alarm indication content is determined according to the target environmental data.

[0093] In an exemplary embodiment, the first acquisition module 610 can be used to determine the data to be collected corresponding to the target environmental data based on the type of the first disaster alarm; obtain the data to be collected in the environment where the first terminal device is located, and determine the target environmental data based on the data to be collected.

[0094] In an exemplary embodiment, the first terminal device is configured with a barometric pressure sensor; when the type of the first disaster alarm is an earthquake, the data to be collected includes the barometric pressure value, and when the target environmental data includes the floor height where the first terminal device is located, the first acquisition module 610 can be used to collect the barometric pressure value in the environment where the first terminal device is located by using the barometric pressure sensor; obtain the preset barometric pressure range corresponding to the area where the first terminal device is located; when the barometric pressure value is greater than the maximum value of the preset barometric pressure range, determine that the target environmental data is high-rise; when the barometric pressure value is less than the minimum value of the preset barometric pressure range, determine that the target environmental data is low-rise.

[0095] In an exemplary embodiment, the first push module 620 may be configured to determine that the warning indication content includes an evacuation location when the height of the floor where the first terminal device is located is a high floor; and determine that the warning indication content includes an escape route when the height of the floor where the first terminal device is located is a low floor.

[0096] In an exemplary embodiment, the disaster warning device may further include a sound wave generating module, and the sound wave generating module may be configured to turn on the sound wave generator to emit sound waves outward when the first terminal device is squeezed.

[0097] In an exemplary embodiment, the disaster warning device may further include a communication connection module, and the communication connection module may be configured to, when receiving a first disaster warning, control a second terminal device that is communicatively connected to the first terminal device to send a warning to the user.

[0098] In an exemplary embodiment, the second terminal device includes all terminal devices in the current environment that are used to send warnings.

[0099] Reference Figure 7 As shown, in the embodiment of this example, a disaster warning device 700 is further provided, which is applied to a server and includes a second acquisition module 710 and a second push module 720. Among them:

[0100] The second acquisition module 710 may be configured to, in response to receiving a second disaster warning, determine a third terminal device according to the second disaster warning, and acquire target environment data of the environment where the third terminal device is located.

[0101] The second push module 720 may be configured to push the warning indication content to the third terminal device, so that the third terminal device pushes the warning indication content to the user; wherein, the warning indication content is determined according to the target environment data.

[0102] The specific details of each module in the above device have been described in detail in the embodiment of the method part. The details not disclosed can be referred to the content of the embodiment of the method part, and thus will not be elaborated here.

[0103] Those skilled in the art can understand that various aspects of the present disclosure can be implemented as a system, a method, or a program product. Therefore, various aspects of the present disclosure can be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which can be collectively referred to as "circuitry", "module", or "system" here.

[0104] Exemplary embodiments of the present disclosure also provide a computer-readable storage medium, on which a program product is stored that can implement the above methods of this specification. In some possible embodiments, various aspects of the present disclosure can also be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to cause the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section, for example, it can execute Figure 3 or Figure 5 any one or more of the steps.

[0105] It should be noted that the computer-readable medium shown in the present disclosure can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of a computer-readable storage medium can include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0106] In the present disclosure, a computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device. And in the present disclosure, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, in which computer-readable program code is carried. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, and this computer-readable medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on a computer-readable medium can be transmitted by any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination of the above.

[0107] In addition, program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and also including conventional procedural programming languages such as the "C" language or similar programming languages. The program code may execute entirely on the user's computing device, partially on the user's device, execute as a stand-alone software package, execute partially on the user's computing device and partially on a remote computing device, or execute entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0108] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common knowledge or conventional technical means in the technical field not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are pointed out by the claims.

[0109] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the figures, and various modifications and changes may be made without departing from its scope. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A disaster warning method, applied to a first terminal device, characterized in that, Including: In response to receiving a first disaster warning, determining data to be collected corresponding to target environmental data based on the type of the first disaster warning, obtaining the data to be collected in the environment where the first terminal device is located, and determining the target environmental data based on the data to be collected; Pushing warning indication content to the user, where the warning indication content is determined according to the target environmental data; Wherein, the first terminal device is configured with a barometric pressure sensor; when the type of the first disaster warning is an earthquake, the data to be collected includes barometric pressure values, and the target environmental data includes the floor height where the first terminal device is located; The obtaining the data to be collected in the environment where the first terminal device is located and determining the target environmental data based on the data to be collected includes: using the barometric pressure sensor to collect the barometric pressure value in the environment where the first terminal device is located; obtaining a preset barometric pressure range corresponding to the area where the first terminal device is located, and using the preset barometric pressure range to determine the floor height where the first terminal device is located; The method further includes: when the height of the floor where the first terminal device is located is a high floor, determining that the warning indication content includes earthquake information and a hiding location; When the height of the floor where the first terminal device is located is a low floor, determining that the warning indication content includes an escape route; The method further includes: In response to receiving a first disaster warning, controlling a second terminal device that establishes a communication connection with the first terminal device to issue a warning to the user, or controlling the second terminal device that establishes a communication connection with the first terminal device to complete an auxiliary operation, where the content of the auxiliary operation is determined according to the warning indication content, and the second terminal device includes all terminal devices for issuing warnings in the scenario where the first terminal device is located.

2. The method according to claim 1, characterized in that, When the barometric pressure value is greater than the maximum value of the preset barometric pressure range, determining that the target environmental data is a high floor; When the barometric pressure value is less than the minimum value of the preset barometric pressure range, determining that the target environmental data is a low floor.

3. The method according to claim 1, characterized in that, The first terminal device includes a sound wave emitter, and the method further includes: In response to the first terminal device being squeezed, turning on the sound wave generator to emit sound waves outward.

4. A disaster warning method, applied to a server, characterized in that, Including: In response to receiving a second disaster warning, determining a third terminal device and obtaining target environmental data in the environment where the third terminal device is located; Pushing the warning indication content to the third terminal device so that the third terminal device pushes the warning indication content to the user; Wherein, the warning indication content is determined according to the target environmental data The determining the target environmental data includes: determining data to be collected corresponding to the target environmental data based on the type of the second disaster warning, obtaining the data to be collected in the environment where the third terminal device is located, and determining the target environmental data based on the data to be collected; Wherein, when the type of the second disaster warning is an earthquake, the data to be collected includes the air pressure value, the target environmental data includes the floor height where the third terminal device is located, and determining the target environmental data further includes: obtaining the air pressure value of the environment where the third terminal device is located, and the preset air pressure range corresponding to the area where it is located, and determining the floor height where the third terminal device is located by using the preset air pressure range; When the height of the floor where the third terminal device is located is a high-rise, determining that the warning indication content includes earthquake information and a hiding location; When the height of the floor where the third terminal device is located is a low-rise, determining that the warning indication content includes an escape route; The method further includes: in response to receiving a second disaster warning, controlling other terminal devices that establish a communication connection with the third terminal device to send a warning to the user, or controlling other terminal devices that establish a communication connection with the third terminal device to complete an auxiliary operation, the content of the auxiliary operation is determined according to the warning indication content, and the other terminal devices include all terminal devices for sending warnings in the scenario where the third terminal device is located.

5. A disaster warning device, applied to a first terminal device, characterized in that, Including: A first acquisition module, configured to, in response to receiving a first disaster warning, determine the data to be collected corresponding to the target environmental data based on the type of the first disaster warning, obtain the data to be collected of the environment where the first terminal device is located, and determine the target environmental data based on the data to be collected; A first push module, configured to push warning indication content to the user, the warning indication content being determined according to the target environmental data; Wherein, the first terminal device is configured with a barometric pressure sensor; when the type of the first disaster warning is an earthquake, the data to be collected includes the air pressure value, and the target environmental data includes the floor height where the first terminal device is located, Obtaining the data to be collected of the environment where the first terminal device is located, and determining the target environmental data based on the data to be collected includes: collecting the air pressure value of the environment where the first terminal device is located by using the barometric pressure sensor; obtaining the preset air pressure range corresponding to the area where the first terminal device is located, and determining the floor height where the first terminal device is located by using the preset air pressure range; Pushing the warning indication content to the user includes: when the height of the floor where the first terminal device is located is a high-rise, determining that the warning indication content includes earthquake information and a hiding location; when the height of the floor where the first terminal device is located is a low-rise, determining that the warning indication content includes an escape route; The device is further configured to: In response to receiving a first disaster warning, control a second terminal device that establishes a communication connection with the first terminal device to send a warning to the user, or control a second terminal device that establishes a communication connection with the first terminal device to complete an auxiliary operation, the content of the auxiliary operation is determined according to the warning indication content, and the second terminal device includes all terminal devices for sending warnings in the scenario where the first terminal device is located.

6. A disaster warning device, applied to a server, characterized in that, Including: A second acquisition module, configured to, in response to receiving a second disaster warning, determine a third terminal device according to the second disaster warning, and acquire target environmental data of the environment where the third terminal device is located; A second push module, configured to push warning indication content to the third terminal device, so that the third terminal device pushes the warning indication content to a user; wherein, the warning indication content is determined according to the target environmental data; The determining of the target environmental data includes: determining data to be collected corresponding to the target environmental data based on the type of the second disaster warning, acquiring the data to be collected in the environment where the third terminal device is located, and determining the target environmental data based on the data to be collected; Wherein, when the type of the second disaster warning is an earthquake, the data to be collected includes a barometric pressure value, the target environmental data includes the floor height where the third terminal device is located, and the determining of the target environmental data further includes: acquiring the barometric pressure value in the environment where the third terminal device is located, and a preset barometric pressure range corresponding to the area where the third terminal device is located, and determining the floor height where the third terminal device is located by using the preset barometric pressure range; When the floor height where the third terminal device is located is a high floor, determining the warning indication content includes earthquake information and a hiding location; When the floor height where the third terminal device is located is a low floor, determining the warning indication content includes an escape route; The apparatus is further configured to, in response to receiving a second disaster warning, control other terminal devices that are communicatively connected to the third terminal device to issue a warning to a user, or control other terminal devices that are communicatively connected to the third terminal device to complete an auxiliary operation, the content of the auxiliary operation is determined according to the warning indication content, and the other terminal devices include all terminal devices for issuing warnings in the scenario where the third terminal device is located.

7. A computer-readable medium having a computer program stored thereon, characterized in that, The computer program, when executed by a processor, implements the method according to any one of claims 1 to 4.

8. A terminal device, characterized in that, Comprising: A processor; And A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the method according to any one of claims 1 to 4 by executing the executable instructions.

Citation Information

Patent Citations

  • Pre-warning method, pre-warning terminal, server and pre-warning system

    CN103200221A

  • Information processing method and electronic equipment

    CN104702772A

  • Help seeking method based on mobile terminal and system thereof

    CN105979074A

  • Smart home terminal equipment control method and device and smart home system

    CN112327773A