Disclosure of Invention
The disclosure provides an earthquake early warning method, an earthquake early warning device and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a seismic early warning method, which is applied to an electronic device, and includes:
when receiving earthquake information, acquiring current position information of the electronic equipment;
obtaining target prompt information according to the relative position between the current position information and the seismic position indicated by the seismic information;
and outputting the target prompt information.
Optionally, the outputting the target prompt information includes:
outputting the audio information in the target prompt information in an audio playing mode by utilizing an audio output component of the electronic equipment; or,
and displaying the image-text information in the target prompt information on an earthquake information display interface of the electronic equipment.
Optionally, the method further includes:
when the target prompt information is output, displaying a safe position acquisition control;
wherein the secure location acquisition control is to: displaying a safety position within a predetermined distance of a current position where the electronic device is located and a safety path moving from the current position to the safety position.
Optionally, the method further includes:
when the target prompt information is output, displaying an alarm control;
wherein the alarm control is to: sending alarm information at preset time intervals; the alarm information includes: current location information and user information of the electronic device.
Optionally, the method further includes:
when the target prompt information is output, an emergency dialing control is displayed;
wherein the emergency dial control is to: the method comprises the steps of establishing a dialing connection with preset electronic equipment, and sending audio information acquired by an audio acquisition assembly contained in the electronic equipment to the preset electronic equipment after the dialing connection is successfully established between the electronic equipment and the preset electronic equipment.
Optionally, the method further includes:
when the target prompt information is output, displaying a medical information acquisition control;
the medical information acquisition control is used for displaying medical treatment information.
Optionally, the method further includes:
when the target prompt information is output, displaying a Bluetooth connection control;
the Bluetooth connection control is used for establishing Bluetooth connection with electronic equipment in a set range, so that help seeking information is sent to the electronic equipment in the set range after the electronic equipment is successfully established with the electronic equipment in the set range; wherein the setting range is determined according to the signal intensity of a Bluetooth module on the electronic equipment.
Optionally, the method further includes:
and starting a low power consumption mode of the electronic equipment when the target prompt information is output.
According to a second aspect of the embodiments of the present disclosure, there is provided a seismic warning device, including:
the position acquisition module is configured to acquire current position information of the electronic equipment when receiving the seismic information;
the data processing module is configured to obtain target prompt information according to the relative position between the current position information and the seismic position indicated by the seismic information;
and the information output module is configured to output the target prompt information.
Optionally, the information output module is specifically configured to:
outputting the audio information in the target prompt information in an audio playing mode by utilizing an audio output component of the electronic equipment; or,
and displaying the image-text information in the target prompt information on an earthquake information display interface of the electronic equipment.
Optionally, the apparatus further comprises:
the position control display module is configured to display a safe position acquisition control when the target prompt information is output;
wherein the secure location acquisition control is to: displaying a safety position within a predetermined distance of a current position where the electronic device is located and a safety path moving from the current position to the safety position.
Optionally, the apparatus further comprises:
the alarm control display module is configured to display an alarm control when the target prompt information is output;
wherein the alarm control is to: sending alarm information at preset time intervals; the alarm information includes: current location information and user information of the electronic device.
Optionally, the apparatus further comprises:
the dialing control display module is configured to display an emergency dialing control when the target prompt information is output;
wherein the emergency dial control is to: the method comprises the steps of establishing a dialing connection with preset electronic equipment, and sending audio information acquired by an audio acquisition assembly contained in the electronic equipment to the preset electronic equipment after the dialing connection is successfully established between the electronic equipment and the preset electronic equipment.
Optionally, the apparatus further comprises:
the medical control display module is configured to display a medical information acquisition control when the target prompt information is output;
the medical information acquisition control is used for displaying medical treatment information.
Optionally, the apparatus further comprises:
the Bluetooth control display module is configured to display a Bluetooth connection control when the target prompt information is output;
the Bluetooth connection control is used for establishing Bluetooth connection with electronic equipment in a set range, so that help seeking information is sent to the electronic equipment in the set range after the electronic equipment is successfully established with the electronic equipment in the set range; wherein the setting range is determined according to the signal intensity of a Bluetooth module on the electronic equipment.
Optionally, the apparatus further comprises:
and the starting module is configured to start the low power consumption mode of the electronic equipment when the target prompt information is output.
According to a third aspect of the embodiments of the present disclosure, there is provided an earthquake early warning device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: when executed, implement the steps of any of the above-described first aspect seismic early warning methods.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a seismic early warning device, enable an electronic device to perform any one of the above-mentioned first aspects of the seismic early warning method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the embodiment, the earthquake information is sent to the electronic equipment, the data contained in the earthquake information is combined with the current position information acquired by the positioning module on the electronic equipment, the disaster danger of the current position of the user can be predicted, the early warning strong reminding of the user is realized by utilizing the self function of the electronic equipment, and the coverage range and the efficiency of the early warning information are greatly increased.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1A is a flowchart illustrating a first earthquake early warning method according to an exemplary embodiment, and as shown in fig. 1A, the method may be applied to an electronic device, where the electronic device includes a mobile terminal, such as a mobile phone, a laptop, a tablet, a wearable device, and the like. The method mainly comprises the following steps:
in step 101a, the electronic device acquires current location information of the electronic device when receiving the seismic information.
Here, the earthquake early warning mechanism can monitor the earthquake situation through professional earthquake monitoring equipment and a data processing system, and acquire earthquake information, and the electronic equipment can acquire current position information based on a self-contained positioning module.
Fig. 1B is a schematic diagram of an earthquake early warning system architecture according to an exemplary embodiment, as shown in fig. 1B, the earthquake early warning mechanism 101B is used to monitor and acquire earthquake information, the server 102B may acquire the earthquake information from the earthquake early warning mechanism 101B, calculate a geographical area 103B where the earthquake information needs to be issued according to the earthquake information, and then push the earthquake information to the electronic device 104B in the geographical area 103B, after the electronic device 104B receives the earthquake information, the electronic device 104B may acquire current location information of the electronic device 104B based on its own positioning module, so as to obtain target prompt information by using at least the current location information of the electronic device 104B itself and a relative location between the electronic device 104B and the earthquake location indicated by the earthquake information.
In step 102a, the electronic device obtains target prompt information according to the relative position between the current position information and the earthquake position indicated by the earthquake information.
Here, the current location information is the location information of the electronic device itself obtained by the positioning module of the electronic device itself, and may be equivalent to the location information of the user currently located. When the electronic device receives the seismic information, the seismic position indicated by the seismic information can be obtained, and the relative position between the user and the seismic position is obtained based on the current position information of the electronic device and the seismic position, wherein the relative position is obtained by calculating the electronic device according to the seismic position and the current position of the electronic device.
For example, if the earthquake position indicated by the received earthquake information is a strike, the electronic device may obtain the current position of the electronic device itself, calculate the relative position between the current position and the strike, determine the influence degree of the earthquake occurring in the strike on the current position according to the relative position and the earthquake information, and obtain the target prompt information according to the influence degree, that is, the target prompt information is in a corresponding relationship with the influence degree of the occurred earthquake on the current position.
Therefore, the user can be prompted in a targeted manner according to the current position information of the user in time, and different target prompt information can be obtained based on different relative positions.
The target prompt message comprises audio information and image-text information. For example, when the relative position is smaller than a set relative distance threshold, target prompt information including audio information may be obtained; when the relative position is greater than or equal to the set relative distance threshold, the target prompt information including the image-text information can be obtained.
In other embodiments, the user may be reminded by setting other target prompt information, as long as different prompts can be performed on the user according to different relative positions.
In other optional embodiments, alternative early warning information may also be preset, where the alternative early warning information includes multiple different target prompt information, and the target prompt information has a corresponding relationship with a relative position, where the relative position is obtained according to the current position of the user and the earthquake position. When an earthquake occurs, target prompt information matched with the current position of the user can be selected from the alternative early warning information according to the relative position between the current position of the user and the earthquake position.
In step 103a, the electronic device outputs the target alert information.
Here, the manner of outputting the target prompt information may be determined according to the type of the target prompt information. Taking the example that the target prompt information is audio information, the audio information may be output through an audio output component of the electronic device itself, for example, the audio information may be output through a speaker of the electronic device itself, and the output mode may be: continuously output at predetermined time intervals, etc. Taking the example that the target prompt message is the image-text message, the image-text message can be pushed to the user in a webpage, pop-up window or short message mode through an application program installed on the electronic equipment, so that the user can enter a set interface to browse the earthquake related information.
In the embodiment of the disclosure, the earthquake information is sent to the electronic device, and the data contained in the earthquake information is combined with the current position information acquired by the positioning module on the electronic device, so that not only can the disaster danger of the current position of the user be predicted, but also the early warning strong prompt of the user is realized by utilizing the self function of the electronic device, and the coverage range and the efficiency of the early warning information are greatly increased.
In other alternative embodiments, step 103a includes: outputting audio information in the target prompt information in an audio playing mode by using an audio output component of the electronic equipment; or, displaying the image-text information in the target prompt information on the earthquake information display interface of the electronic equipment.
For example, if the relative position is less than the set relative distance threshold, it is determined that the user is currently in a dangerous area, a target prompt message including audio information may be output, the audio information prompt may be performed directly, and the user may be prompted in the most direct manner to grasp the time to schedule emergency evacuation related matters.
If the relative position is larger than or equal to the set relative distance threshold, determining that the user is currently in a relatively safe area, outputting target prompt information including image-text information, and prompting by pushing the image-text information. The image-text information in the target prompt information can be directly displayed on the earthquake information display interface of the electronic equipment, or a user opens the image-text information through an application program installed on the electronic equipment and knows the current situation of the earthquake according to the image-text information so as to make corresponding arrangement.
Taking an example of displaying image-text information in target prompt information on an earthquake information display interface of an electronic device, fig. 2 is a flowchart of a second earthquake early warning method according to an exemplary embodiment, and as shown in fig. 2, the method mainly includes the following steps:
in step 201, when the seismic information is received, the current position information of the electronic device is acquired.
In step 202, target prompt information is obtained according to the relative position between the current position information and the seismic position indicated by the seismic information.
In step 203, the image-text information in the target prompt information is displayed on the earthquake information display interface of the electronic equipment.
Here, an application program may be installed on the electronic device to display the graphic and text information in the target prompt information to the user through the seismic information display interface on the application program. In the embodiment of the disclosure, the image-text information can be automatically output on the earthquake information display interface through an application program; or, entering an application program through user input received by the electronic equipment, and entering an earthquake information display interface to view the image-text information; or outputting a bullet frame with the image-text information through the application program, and entering the earthquake information display interface by clicking the bullet frame by a user and checking the image-text information.
In step 204, user input is detected that acts on a seismic security control displayed on the seismic information display interface.
The earthquake information display interface displays target prompt information and also displays an earthquake security control which is used for receiving user input. For example, a user may input alarm information through an earthquake security control on an earthquake information display interface, or obtain position information of a nearest refuge through the earthquake security control.
In step 205, based on the user input, a predetermined seismic security operation is performed.
Here, the user input may include an input operation such as a single click, a double click, or a long press performed by the user on the seismic information display interface. After the electronic device receives the user input, a predetermined seismic security operation may be performed based on the received user input. For example, after the electronic device receives a one-key alarm operation input by a user, the one-key alarm operation can be directly executed, and a dial-up connection between the electronic device and a police party is established.
In other embodiments, multiple target prompt messages may be simultaneously selected and sent to the user, for example, when the audio information is output through an audio output component of the electronic device, the text information is prompted through an application installed on the electronic device.
According to the embodiment of the disclosure, different target prompt messages are selected according to the relative distance between the user and the earthquake position, the influence of the earthquake on the user can be determined according to the current situation of the earthquake, the target prompt messages are sent to the user in a targeted manner, and the accuracy and timeliness of earthquake early warning can be improved. By displaying the image-text information in the target prompt information and the earthquake security control on the earthquake information display interface, a user can determine a corresponding earthquake security strategy according to the prompt information in the image-text information and execute a preset earthquake security operation based on the earthquake security control so as to reduce the possibility of danger of the user.
In other optional embodiments, the method further comprises: when target prompt information is output, displaying a safe position acquisition control; wherein the secure location acquisition control is to: a safe position within a predetermined distance of a current position where the electronic device is located and a safe path to move from the current position to the safe position are displayed.
Fig. 3 is a flow chart three of the earthquake early warning method according to an exemplary embodiment, as shown in fig. 3, the method mainly includes the following steps:
in step 301, upon receiving seismic information, current location information of an electronic device is acquired.
In step 302, target prompt information is obtained according to the relative position between the current position information and the seismic position indicated by the seismic information.
In step 303, the image-text information in the target prompt message is displayed on the earthquake information display interface of the electronic device.
In step 304, user input is detected that acts on a secure position acquisition control displayed on the seismic information display interface.
In step 305, a secure location within a predetermined distance from a current location at which the electronic device is located is determined based on user input acting on a secure location acquisition control displayed on the seismic information display interface.
Wherein the safe position comprises a refuge position. Taking the safe position as the position of the refuge as an example, when the user encounters an earthquake or is influenced by the earthquake, the input operation can be performed based on the safe position control on the earthquake information display interface to determine the position of the refuge within a predetermined distance from the current position of the electronic device.
For example, the user clicks the safe position acquisition control to trigger a map opening instruction for opening a map, responds to the map opening instruction, enters a map application program installed on the electronic device, and then searches for the position of refuge within a predetermined distance of the current position of the user through the map application program.
In step 306, a secure path to move from the current location to the secure location is determined.
Here, also taking the example that the safe location is the location of an evacuation, after the location of an evacuation within a predetermined distance is acquired by step 305, a safe path to move from the current location to the evacuation can be determined. On the basis that multiple refuges may exist within a preset distance, correspondingly, multiple safety paths exist, and when the electronic equipment acquires the multiple safety paths, a target safety path can be determined on the basis of the current state of each safety path.
For example, the target safety path may be determined according to the length of the safety path, such as determining the safety path with the shortest length as the target safety path; or determining a target safety path according to the road condition of the safety path, for example, determining the safety path with the best road condition as the target safety path, wherein the road condition can be determined according to the collected historical road condition information; or selecting a corresponding safe path as a target safe path according to the travel mode selected by the user, selecting a safe path suitable for walking as the target safe path if the user selects the walking mode, and selecting a safe path suitable for driving as the target safe path if the user selects the driving mode.
In step 307, the safe path and the safe position are displayed.
Here, the safe path and the safe position may be displayed on the seismic information display interface. For example, the safe path and the safe position are displayed on the earthquake information display interface in the form of a map, and of course, the safe path and the safe position may also be displayed on the interface of the electronic device, as long as the safe path and the safe position are convenient for the user to view, and the safe path and the safe position are not particularly limited herein.
In the embodiment of the disclosure, the distance between the current position and the safety position of the user can be acquired, and the safety path between the current position and the safety position is determined, so that the safety path is displayed to the user on the corresponding interface.
In other optional embodiments, the method further comprises: when target prompt information is output, displaying an alarm control; wherein the alarm control is configured to: sending alarm information at preset time intervals; alarm information, comprising: current location information and user information of the electronic device.
Fig. 4 is a fourth flowchart of a seismic early warning method according to an exemplary embodiment, as shown in fig. 4, the method mainly includes the following steps:
in step 401, upon receiving seismic information, current location information of an electronic device is acquired.
In step 402, target prompt information is obtained according to the relative position between the current position information and the seismic position indicated by the seismic information.
In step 403, displaying the image-text information in the target prompt information on the earthquake information display interface of the electronic device.
In step 404, user input is detected that acts on an alarm control displayed on the seismic information display interface.
In step 405, based on a user input acting on an alarm control displayed on the seismic information display interface, sending alarm information at predetermined time intervals, wherein the alarm information includes: current location information and user information of the electronic device.
Here, the sending method of the alarm information may include: graphics and text mode and audio mode. In the process of earthquake, if the user is accidently buried or trapped, the corresponding alarm operation can be input through the alarm control displayed on the earthquake information display interface. For example, the alarm operation is input in a single-click mode, a double-click mode or a long-time pressing mode of an alarm control and the like, the alarm operation is executed, alarm information is sent to the server in a picture-text or audio mode according to a preset time interval, and therefore search and rescue personnel can conveniently and quickly find out a user and conduct search and rescue in time.
The user information can also comprise sign information of the user acquired based on the electronic equipment, and a targeted rescue scheme can be formulated according to the specific situation of the user by acquiring the sign information of the user, so that the probability of secondary damage to the user in the rescue process is reduced.
If the user is in a safe state, the alarm operation can be cancelled through the alarm cancellation control; under the condition that a user does not cancel an alarm operation, if the time difference from the alarm starting time to the current time exceeds the preset time and the electronic equipment does not upload alarm information any more, the electronic equipment is determined to be in a disconnected state, the user is possibly in danger, at the moment, all the alarm information sent by the electronic equipment needs to be stored at a server side, relevant information such as the position of the user is determined according to all the stored alarm information, the searching progress is tightened, and the user is helped to break out of the predicament as soon as possible.
In other optional embodiments, the method further comprises: when the target prompt information is output, an emergency dialing control is displayed; wherein the emergency dial control is to: and establishing a dialing connection with the preset electronic equipment, so that after the dialing connection is successfully established between the electronic equipment and the preset electronic equipment, the audio information acquired by using the audio acquisition assembly contained in the electronic equipment is sent to the preset electronic equipment.
Fig. 5 is a flow chart diagram five illustrating a method of earthquake early warning according to an exemplary embodiment, as shown in fig. 5, the method mainly includes the following steps:
in step 501, upon receiving seismic information, current location information of an electronic device is acquired.
In step 502, target prompt information is obtained according to the relative position between the current position information and the seismic position indicated by the seismic information.
In step 503, the image-text information in the target prompt information is displayed on the earthquake information display interface of the electronic device.
In step 504, a user input is detected that acts on an emergency dial control displayed on the seismic information display interface.
In step 505, a dial-up connection is established with a predetermined terminal based on a user input acting on an emergency dial control displayed on the seismic information display interface.
In step 506, after the electronic device successfully establishes the dial-up connection with the predetermined terminal, the audio information collected by the audio collection component included in the electronic device is sent to the predetermined terminal.
Here, the number of the emergency contact, for example, a mobile phone number of a parent, or an alarm phone, etc., may be set in the electronic device in advance. In the earthquake process, if an emergency exists, the current state can be sent to the terminal side of the family or the police in an audio information mode through the emergency dialing control displayed on the earthquake information display interface to contact with the family or the police in time, and compared with the mode that the number is searched in an address list or is dialed in on a dialing interface, more time can be saved so as to be used for earthquake security work of a user.
In other optional embodiments, the method further comprises: when the target prompt information is output, the medical information acquisition control is displayed; the medical information acquisition control is used for displaying medical treatment information.
Fig. 6 is a sixth flowchart illustrating a method for earthquake early warning according to an exemplary embodiment, as shown in fig. 6, the method mainly includes the following steps:
in step 601, upon receiving the seismic information, current location information of the electronic device is acquired.
In step 602, target prompt information is obtained according to the relative position between the current position information and the seismic position indicated by the seismic information.
In step 603, the image-text information in the target prompt information is displayed on the earthquake information display interface of the electronic device.
In step 604, user input is detected that acts on a medical information acquisition control displayed on the seismic information display interface.
In step 605, medical encounter information is displayed based on user input acting on a medical information acquisition control displayed on the seismic information display interface.
Here, in the process of earthquake search and rescue, if the user loses consciousness, it is difficult to acquire detailed information and historical visit information of the user, and treatment may be delayed. At this time, the medical information acquisition operation may be input through the medical information acquisition control displayed on the seismic information display interface to display preset medical treatment information, where the medical treatment information may include: user information and user historical visit information.
Through the scheme of the embodiment of the disclosure, when a patient suffering from an earthquake is treated, the medical treatment information of the user can be acquired in time, so that the probability of delaying treatment due to the fact that the historical treatment information of the user is not known is reduced.
In other optional embodiments, the method further comprises: when the target prompt information is output, displaying the Bluetooth connection control; the Bluetooth connection control is used for establishing Bluetooth connection with the electronic equipment within the set range, so that the electronic equipment within the set range sends distress information to the electronic equipment within the set range after the electronic equipment and the electronic equipment within the set range successfully establish Bluetooth connection; wherein, the setting range is determined according to the signal intensity of the Bluetooth module on the electronic equipment.
Fig. 7 is a seventh flowchart illustrating a method of earthquake early warning, according to an exemplary embodiment, as shown in fig. 7, the method generally includes the steps of:
in step 701, when receiving seismic information, current position information of an electronic device is acquired.
In step 702, target prompt information is obtained according to the relative position between the current position information and the seismic position indicated by the seismic information.
In step 703, the image-text information in the target prompt information is displayed on the earthquake information display interface of the electronic device.
In step 704, user input is detected that acts on a Bluetooth connection control displayed on the seismic information display interface.
In step 705, establishing a bluetooth connection with a terminal within a set range based on a user input acting on a bluetooth connection control displayed on the seismic information display interface; wherein, the setting range is determined according to the signal intensity of the Bluetooth module on the electronic equipment.
In step 706, after the electronic device successfully establishes a bluetooth connection with the terminal within the set range, the electronic device sends a distress message to the terminal within the set range.
In the process of earthquake, collapse of buildings such as houses and base stations can be caused, and further interruption of a network is caused.
In the embodiment of the disclosure, the Bluetooth connection control is displayed on the earthquake information display interface, so that when the Bluetooth connection operation is received based on the Bluetooth connection control, the Bluetooth connection between the electronic equipment and the terminal in the set range is established, and the help-seeking information is sent to the terminal in the set range after the Bluetooth connection is successfully established.
In other optional embodiments, the method further comprises: and starting a low power consumption mode of the electronic equipment when the target prompt information is output.
Here, if the target prompt information includes audio information, the audio information needs to be played based on an audio output component on the electronic device, and based on the power consumption required for playing the audio information through the audio output component, the low power consumption mode of the electronic device may be activated when playing the audio information. When the user is trapped or cannot move when being buried and cannot charge the electronic equipment in time, the endurance time of the electronic equipment can be prolonged by the method, so that the possibility that the user is found is improved, and the rescue probability is increased.
Fig. 8 is a frame diagram illustrating a seismic early warning platform according to an exemplary embodiment, and as shown in fig. 8, a seismic early warning platform 800 includes three parts, namely, a pre-earthquake guide 801, a seismic early warning 802, and seismic rescue 803, wherein the pre-earthquake guide 801 includes: function guidance, knowledge learning and knowledge testing; the earthquake warning 802 includes: early warning notification, early warning broadcast and danger avoidance prompt; the earthquake rescue 803 includes: emergency telephone, medical information, shelter guidance, and other rescue functions.
Fig. 9 is a schematic diagram of a seismic early warning interface according to an exemplary embodiment, where, as shown in fig. 9, the information displayed by the seismic early warning interface 900 includes: the earthquake early warning method comprises the steps of earthquake early warning identification, a seismic center position, the time length of the earthquake waves reaching the current position, earthquake intensity, early warning magnitude and the source of earthquake information.
Fig. 10 is a schematic diagram of a seismic information display interface according to an exemplary embodiment, and as shown in fig. 10, information displayed by the seismic information display interface 1000 includes: earthquake information and earthquake security control, wherein, earthquake information includes: the earthquake early warning identification, the epicenter position, the time length of the earthquake wave reaching the current position, the earthquake intensity, the early warning magnitude and the source of the earthquake information are displayed in the earthquake information display area 1004. The earthquake security control comprises: a safe position obtaining control 1001, an emergency dialing control 1002, a medical information obtaining control 1003, an alarming control and a Bluetooth connecting control.
Fig. 11 is a schematic diagram of a pre-earthquake guidance interface according to an exemplary embodiment, and as shown in fig. 11, the pre-earthquake guidance interface 1100 includes an earthquake early warning function enabling interface and an earthquake early warning function setting interface, a user may start an earthquake early warning function through a function starting control set on the pre-earthquake guidance interface of an electronic device, and sets a permission in advance on the earthquake early warning function setting interface, so that when an earthquake is predicted, the electronic device is authorized to push early warning information, play an alarm, and provide a rescue service. Meanwhile, the user can set relevant information of emergency contacts, medical emergency cards and nearby emergency shelters on the interface, and can set audio prompt information on the interface and perform audition to ensure that the electronic equipment can normally remind and broadcast sounds when an earthquake comes.
In an alternative embodiment, taking the electronic device as a mobile phone as an example, when the earthquake prediction system monitors earthquake activity, the earthquake prediction system sends earthquake-related data to the mobile phone client, including: and the longitude and latitude of the earthquake occurrence place, the predicted magnitude, the occurrence time, the seismic source depth and other earthquake information. After receiving the earthquake information, the client predicts the arrival time and earthquake intensity of transverse waves to be sensed by users in different distance ranges according to an algorithm based on the earthquake information, and the arrival time and the earthquake intensity are used as important information for early warning notification and are accompanied by broadcast sound effects corresponding to different earthquake intensities.
When the user receives earthquake information and is buried unfortunately, the user can select broadcast for help, at the moment, the mobile phone can close all unnecessary power consumption, and carry out distress broadcast with maximum volume in a low power consumption mode, so that the possibility of being discovered is improved. When the user starts the earthquake early warning function, the emergency help information card can be established, and the emergency help information comprises: personal information such as name, gender, emergency contact and the like is used for timely carrying out related rescue after the help is asked.
When the mobile phone of the user carries out earthquake early warning notification but the user encounters an earthquake, if the user clicks the help-seeking control to ask for help, the emergency help-seeking information of the user is reported, and meanwhile, the geographical position information of the user is reported to the server in real time. If the user is in a safe state, the user can click the cancel help-seeking control to cancel the help-seeking. If the user does not cancel the help seeking after the preset help seeking time and the geographical position information stops reporting, the fact that the user is possibly in the disconnected state and is dangerous is determined, and the method can help the fire fighting and related search and rescue departments to quickly judge the possible missing place of the missing people and judge which people are missing during the earthquake.
When an earthquake occurs, network signal interruption is often accompanied, and the Bluetooth help seeking provides a help seeking mode for a user in a network-free state. When the user clicks the Bluetooth for help, the electronic equipment can automatically start the Bluetooth function and search nearby communicable equipment. The user can send information to other communication equipment in a voice and text mode to wait for rescue.
FIG. 12 is a block diagram of a seismic early warning device, shown in accordance with an exemplary embodiment. As shown in fig. 12, the earthquake early warning apparatus 1200 includes:
a position obtaining module 1201 configured to obtain current position information of the electronic device when receiving the seismic information;
the data processing module 1202 is configured to obtain target prompt information according to the relative position between the current position information and the seismic position indicated by the seismic information;
an information output module 1203 configured to output the target prompt information.
In an alternative embodiment, the information output module 1203 is specifically configured to:
outputting audio information in the target prompt information in an audio playing mode by using an audio output component of the electronic equipment; or,
and displaying image-text information in the target prompt information on an earthquake information display interface of the electronic equipment.
In an optional embodiment, the earthquake early warning apparatus 1200 further includes: the position control display module is configured to display the safe position acquisition control when target prompt information is output;
wherein the secure location acquisition control is to: a safe position within a predetermined distance of a current position where the electronic device is located and a safe path to move from the current position to the safe position are displayed.
In an optional embodiment, the earthquake early warning apparatus 1200 further includes: the alarm control display module is configured to display an alarm control when target prompt information is output;
wherein the alarm control is configured to: sending alarm information at preset time intervals; alarm information, comprising: current location information and user information of the electronic device.
In an optional embodiment, the earthquake early warning apparatus 1200 further includes: the dialing control display module is configured to display an emergency dialing control when target prompt information is output;
wherein the emergency dial control is to: and establishing a dialing connection with the preset electronic equipment, so that after the dialing connection is successfully established between the electronic equipment and the preset electronic equipment, the audio information acquired by using the audio acquisition assembly contained in the electronic equipment is sent to the preset electronic equipment.
In an optional embodiment, the earthquake early warning apparatus 1200 further includes: the medical control display module is configured to display the medical information acquisition control when the target prompt information is output;
the medical information acquisition control is used for displaying medical treatment information.
In an optional embodiment, the earthquake early warning apparatus 1200 further includes: the Bluetooth control display module is configured to display the Bluetooth connection control when the target prompt information is output;
the Bluetooth connection control is used for establishing Bluetooth connection with the electronic equipment within the set range, so that the electronic equipment within the set range sends distress information to the electronic equipment within the set range after the electronic equipment and the electronic equipment within the set range successfully establish Bluetooth connection; wherein, the setting range is determined according to the signal intensity of the Bluetooth module on the electronic equipment.
In an optional embodiment, the earthquake early warning apparatus 1200 further includes: the starting module is configured to start a low power consumption mode of the electronic equipment when the target prompt information is output.
Fig. 13 is a block diagram illustrating a seismic warning device 1300 according to an exemplary embodiment. For example, apparatus 1300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
Referring to fig. 13, the apparatus 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an interface for input/output (I/O) 1312, a sensor component 1314, and a communications component 1316.
The processing component 1302 generally controls overall operation of the device 1300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1302 can include one or more modules that facilitate interaction between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate interaction between the multimedia component 1308 and the processing component 1302.
The memory 1304 is configured to store various types of data to support operation at the device 1300. Examples of such data include instructions for any application or method operating on device 1300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1304 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 1306 provides power to the various components of device 1300. The power components 1306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 1300.
The multimedia component 1308 includes a screen between the device 1300 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the back-facing camera may receive external multimedia data when the device 1300 is in an operational mode, such as a capture mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1300 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
The I/O interface 1312 provides an interface between the processing component 1302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1314 includes one or more sensors for providing various aspects of state assessment for the device 1300. For example, the sensor assembly 1314 may detect an open/closed state of the device 1300, the relative positioning of components, such as a display and keypad of the apparatus 1300, the sensor assembly 1314 may also detect a change in position of the apparatus 1300 or a component of the apparatus 1300, the presence or absence of user contact with the apparatus 1300, orientation or acceleration/deceleration of the apparatus 1300, and a change in temperature of the apparatus 1300. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1316 is configured to facilitate communications between the apparatus 1300 and other devices in a wired or wireless manner. The apparatus 1300 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1316 also includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1304 comprising instructions, executable by the processor 1320 of the apparatus 1300 to perform the method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of an electronic device, enable the electronic device to perform a method of seismic warning, the method comprising:
when receiving earthquake information, acquiring current position information of the electronic equipment;
obtaining target prompt information according to the relative position between the current position information and the seismic position indicated by the seismic information;
and outputting the target prompt information.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.