CN111988464A - Emergency notification method, device, storage medium and mobile terminal - Google Patents

Emergency notification method, device, storage medium and mobile terminal Download PDF

Info

Publication number
CN111988464A
CN111988464A CN202010783943.1A CN202010783943A CN111988464A CN 111988464 A CN111988464 A CN 111988464A CN 202010783943 A CN202010783943 A CN 202010783943A CN 111988464 A CN111988464 A CN 111988464A
Authority
CN
China
Prior art keywords
mobile terminal
emergency notification
target event
current position
range information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010783943.1A
Other languages
Chinese (zh)
Inventor
聂谋荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Communication Ningbo Ltd
Original Assignee
TCL Communication Ningbo Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN202010783943.1A priority Critical patent/CN111988464A/en
Publication of CN111988464A publication Critical patent/CN111988464A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Alarm Systems (AREA)

Abstract

The embodiment of the application provides an emergency notification method, an emergency notification device, a storage medium and a mobile terminal, wherein the method comprises the following steps: when detecting that a mobile terminal receives an emergency notification of a target event, acquiring the current position of the mobile terminal, wherein the emergency notification of the target event comprises event description information of the target event and associated geographical range information of the target event; comparing the current position of the mobile terminal with the associated geographical range information of the target event; and if the current position of the mobile terminal is in the associated geographical range information of the target event, controlling the mobile terminal to prompt the emergency notification. According to the embodiment of the application, whether the prompt of the emergency notification is given to the user is determined according to the current position of the mobile terminal by acquiring the current position of the mobile terminal, so that the prompt of the emergency notification is more targeted, and is more intelligent and more detailed in experience.

Description

Emergency notification method, device, storage medium and mobile terminal
Technical Field
The present application relates to the field of terminal technologies, and in particular, to an emergency notification method, an emergency notification apparatus, a storage medium, and a mobile terminal.
Background
Nowadays, a large number of applications are often installed in a user's mobile phone, and with the heavy use of mobile terminal messaging services, such as short messages, multimedia messages, e-mails, the user receives more and more messages each day, some messages may be important urgent, while other messages may be relatively minor rather than urgent, and the user may not want to be prompted for non-urgent messages.
For example, after a major public event (e.g., earthquake, fire, etc.) occurs, the government may send an emergency notification to all terminals through the operator, reminding the user of the emergency notification. However, such emergency notification is sent for all users, and the range is large, and some users do not need to receive the notification of such message, so that the user is disturbed, and the user experience is further affected.
Therefore, the existing method has defects and needs to be improved and developed.
Disclosure of Invention
The embodiment of the application provides an emergency notification method, an emergency notification device, a storage medium and a mobile terminal, which can determine whether to prompt a user with an emergency notification according to the current position of the mobile terminal, so that the intelligence of the mobile terminal is improved.
The embodiment of the application provides an emergency notification method, which comprises the following steps:
when detecting that a mobile terminal receives an emergency notification of a target event, acquiring the current position of the mobile terminal, wherein the emergency notification of the target event comprises event description information of the target event and associated geographical range information of the target event;
comparing the current position of the mobile terminal with the associated geographical range information of the target event;
and if the current position of the mobile terminal is in the associated geographical range information of the target event, controlling the mobile terminal to prompt the emergency notification.
In the emergency notification method according to the embodiment of the present application, when it is detected that a mobile terminal receives an emergency notification of a target event, acquiring a current location of the mobile terminal includes:
when detecting that a mobile terminal receives a communication message, detecting whether a preset keyword exists in the communication message, wherein the preset keyword is a keyword matched with an emergency notice of a target event;
if the preset keyword exists in the communication message, the communication message is judged to be the emergency notification of the target event, and the current position of the mobile terminal is obtained.
In the emergency notification method according to the embodiment of the present application, the obtaining the current location of the mobile terminal includes:
acquiring the longitude of the current position of the mobile terminal;
acquiring the latitude of the current position of the mobile terminal;
and determining the current position of the mobile terminal according to the longitude and the latitude of the current position of the mobile terminal.
In the emergency notification method according to the embodiment of the present application, the step of comparing the current location of the mobile terminal with the associated geographical range information of the target event includes:
comparing the longitude of the current position of the mobile terminal with the longitude in the position area;
comparing the latitude of the current position of the mobile terminal with the latitude in the position area;
in the emergency notification method according to the embodiment of the present application, if the current location of the mobile terminal is within the geographic range information associated with the target event, controlling the mobile terminal to prompt the emergency notification includes:
and if the longitude of the current position of the mobile terminal is located in the longitude of the position area and the latitude of the current position of the mobile terminal is located in the latitude of the position area, controlling the mobile terminal to prompt the emergency notification.
In the emergency notification method according to the embodiment of the present application, after comparing the current location of the mobile terminal with the associated geographical range information of the target event, the method further includes:
if the current position of the mobile terminal is not in the associated geographical range information of the target event, obtaining the travel information of the user and/or the geographical position information concerned by the user, and if the position information contained in the travel information of the user is in the associated geographical range information of the target event and/or the geographical position in the geographical position information concerned by the user is in the associated geographical range information of the target event, controlling the mobile terminal to prompt the emergency notification.
In the emergency notification method according to the embodiment of the present application, the controlling the mobile terminal to prompt the emergency notification includes:
and removing the associated geographical range information of the target event in the emergency notification of the target event, placing the emergency notification with the associated geographical range information of the target event removed on an interface of the mobile terminal, and controlling the mobile terminal to play preset communication message reminding sound corresponding to the emergency notification.
An embodiment of the present application further provides an emergency notification apparatus, where the apparatus includes:
the mobile terminal comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the current position of the mobile terminal when detecting that the mobile terminal receives an emergency notification of a target event, and the emergency notification of the target event comprises event description information of the target event and associated geographical range information of the target event;
the comparison module is used for comparing the current position of the mobile terminal with the associated geographical range information of the target event;
and the control module is used for controlling the mobile terminal to prompt the emergency notification if the current position of the mobile terminal is in the associated geographical range information of the target event.
The embodiment of the present application further provides a storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the emergency notification method according to any embodiment.
The embodiment of the present application further provides a mobile terminal, where the mobile terminal includes a processor and a memory, where the memory stores a computer program, and the processor is configured to execute the emergency notification method according to any embodiment by calling the computer program stored in the memory.
The method comprises the steps that when it is detected that a mobile terminal receives an emergency notification of a target event, the current position of the mobile terminal is obtained, wherein the emergency notification of the target event comprises event description information of the target event and associated geographical range information of the target event; comparing the current position of the mobile terminal with the associated geographical range information of the target event; and if the current position of the mobile terminal is in the associated geographical range information of the target event, controlling the mobile terminal to prompt the emergency notification. According to the embodiment of the application, whether the prompt of the emergency notification is given to the user or not is determined according to the current position of the mobile terminal by acquiring the current position of the mobile terminal, so that the prompt of the emergency notification is more targeted, and is more intelligent and more detailed in experience.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a flowchart illustrating an emergency notification method according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of an emergency notification apparatus according to an embodiment of the present application.
Fig. 3 is another schematic structural diagram of an emergency notification apparatus according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
The embodiment of the application provides an emergency notification method, which can be applied to a mobile terminal. The mobile terminal can be a smart phone, a tablet computer and other devices.
Referring to fig. 1, fig. 1 is a flowchart illustrating an emergency notification method according to an embodiment of the present disclosure. The emergency notification method is applied to a mobile terminal, and can comprise the following steps:
step 101, when detecting that a mobile terminal receives an emergency notification of a target event, acquiring a current location of the mobile terminal, wherein the emergency notification of the target event comprises event description information of the target event and associated geographical range information of the target event;
in this case, event description information of the target event, for example, 3 months and 11 days, around one and a half afternoon in beijing, a richter 9-level earthquake occurs in the east coast of japan near the fairy stage, and a tsunami caused by a very rapid earthquake wraps the east coast of japan, causing death and missing of five thousand or more people. And continuously causes the failure of the water supply system of the Fudao nuclear power station in the next few days and further causes nuclear leakage accidents. The associated geographical range information of the target event, for example, 29 ° 58 'to 31 ° 22' north latitude, 113 ° 41 'to 115 ° 05' east longitude.
In some embodiments, the obtaining the current location of the mobile terminal when detecting that the mobile terminal receives the emergency notification of the target event includes:
when detecting that a mobile terminal receives a communication message, detecting whether a preset keyword exists in the communication message, wherein the preset keyword is a keyword matched with an emergency notice of a target event;
if the preset keyword exists in the communication message, the communication message is judged to be the emergency notification of the target event, and the current position of the mobile terminal is obtained.
The preset keyword is a keyword matched with the emergency notification of the target event, for example, if the emergency notification of the target event is about a place where an earthquake occurs, the keyword matched with the emergency notification of the target event is an earthquake; for another example, if the emergency notification of the target event is about a fire in a certain place, the keyword matched with the emergency notification of the target event is "fire"; for another example, if the emergency notification of the target event is about a local riot, the keyword matched with the emergency notification of the target event is "riot"; or the emergency notification of the target event is about the occurrence of an infectious epidemic in a certain place, the keyword matched with the emergency notification of the target event is "infectious epidemic", and the like. When the mobile terminal is detected to receive the communication message, whether preset keywords such as 'earthquake' and 'fire' exist in the communication message or not is detected, if yes, the communication message is judged to be an emergency notice of a target event, and the current position of the mobile terminal is obtained.
In some embodiments, the obtaining the current location of the mobile terminal includes:
acquiring the longitude of the current position of the mobile terminal;
acquiring the latitude of the current position of the mobile terminal;
and determining the current position of the mobile terminal according to the longitude and the latitude of the current position of the mobile terminal.
For example, the longitude of the current location of the mobile terminal is 114 ° 57 'from east longitude, and the latitude of the current location is 30 ° 38' from north latitude, and then the current location of the mobile terminal is 114 ° 57 'from east longitude and 30 ° 38' from north latitude.
And 102, comparing the current position of the mobile terminal with the associated geographical range information of the target event.
In some embodiments, the geographic range information associated with the target event is a location area, the location area is defined by a set of longitude and latitude coordinates, and comparing the current location of the mobile terminal with the geographic range information associated with the target event includes:
comparing the longitude of the current position of the mobile terminal with the longitude in the position area;
comparing the latitude of the current position of the mobile terminal with the latitude in the position area;
for example, the associated geographical range information of the target event is represented by coordinates 1: north latitude 29 ° 58 ', east longitude 113 ° 41', coordinate 2: north latitude 30 ° 51 ', east longitude 114 ° 57', coordinate 3: north latitude 31 ° 22 ', east longitude 115 ° 05', coordinate 4: and in a position area enclosed by 27 degrees of north latitude, 21 degrees of east longitude, 115 degrees of east longitude and 30 degrees of coordinates 5, 28 degrees of north latitude and 50 degrees of east longitude, and 114 degrees of east longitude and 10', comparing the longitude of the current position of the mobile terminal with the longitude in the enclosed position area, and comparing the latitude of the current position of the mobile terminal with the latitude in the enclosed position area.
And 103, if the current position of the mobile terminal is in the associated geographical range information of the target event, controlling the mobile terminal to prompt the emergency notification.
In some embodiments, the controlling the mobile terminal to prompt the emergency notification if the current location of the mobile terminal is within the associated geographical range information of the target event includes:
and if the longitude of the current position of the mobile terminal is located in the longitude of the position area and the latitude of the current position of the mobile terminal is located in the latitude of the position area, controlling the mobile terminal to prompt the emergency notification.
For example, the latitude of the current location of the mobile terminal is 29 ° 58 'north latitude, and the longitude of the current location of the mobile terminal is 114 ° 58' east longitude, then both the longitude and the latitude of the current location of the mobile terminal are located by coordinates 1: north latitude 29 ° 58 ', east longitude 113 ° 41', coordinate 2: north latitude 30 ° 51 ', east longitude 114 ° 57', coordinate 3: north latitude 31 ° 22 ', east longitude 115 ° 05', coordinate 4: and the longitude and the latitude in a position area enclosed by 27 degrees 21 'of north latitude, 115 degrees 30' of east longitude and 5 degrees 50 'of east longitude and 114 degrees 10' of east longitude are within the latitude, the mobile terminal is controlled to prompt the emergency notice.
In some embodiments, after comparing the current location of the mobile terminal with the associated geographical range information of the target event, the method further includes:
if the current position of the mobile terminal is not in the associated geographical range information of the target event, obtaining the travel information of the user and/or the geographical position information concerned by the user, and if the position information contained in the travel information of the user is in the associated geographical range information of the target event and/or the geographical position in the geographical position information concerned by the user is in the associated geographical range information of the target event, controlling the mobile terminal to prompt the emergency notification.
The trip information of the user may include trip information of the user within one or two months before the user and trip information of the user within one or two months after the user, and the trip information includes a departure point, a departure time, a destination arrival time, and position information of a station where the user passes by the train number taken from the departure point to the destination. The travel information can be obtained from software on the mobile terminal, for example, from travel ticket purchase orders in WeChat and travel ticket purchase orders in Payment treasures, or from travel ticket purchase orders in software such as Intelligent train tickets, railways 12306, flying pigs and travel carriers. The geographical location information concerned by the user may be a place which the user frequently searches in a browser or a city of weather conditions which the user frequently watches, and whenever the user searches for a place on the browser or watches the weather conditions of a certain place, the mobile terminal stores the information of the place into a local database of the mobile terminal, so that the geographical location information concerned by the user can be acquired from the local database of the mobile terminal.
For example, when the current location of the mobile terminal is not within the associated geographical range information of the target event, but a certain place that the user focuses on, or a certain place that the user wants to go after one month, the coordinates are 29 ° 58 'north latitude, 114 ° 58' east longitude, and are within the associated geographical range information of the target event, that is, are within the range defined by coordinates 1: north latitude 29 ° 58 ', east longitude 113 ° 41', coordinate 2: north latitude 30 ° 51 ', east longitude 114 ° 57', coordinate 3: north latitude 31 ° 22 ', east longitude 115 ° 05', coordinate 4: and in a position area surrounded by 27 degrees of north latitude, 115 degrees of east longitude and 30 degrees of coordinates 5, 28 degrees of north latitude and 50 degrees of east longitude and 114 degrees of east longitude and 10 degrees, controlling the mobile terminal to prompt the emergency notice.
In some embodiments, the controlling the mobile terminal to prompt for the emergency notification includes:
and removing the associated geographical range information of the target event in the emergency notification of the target event, placing the emergency notification with the associated geographical range information of the target event removed on an interface of the mobile terminal, and controlling the mobile terminal to play preset communication message reminding sound corresponding to the emergency notification.
For example, if the emergency notification of the target event includes the event description information of the target event and the associated geographical range information of the target event, before the emergency notification is prompted, the associated geographical range information of the target event is removed, and then the emergency notification with the associated geographical range information of the target event removed is placed on the interface of the mobile terminal, and the mobile terminal is controlled to play a preset communication message reminding sound corresponding to the emergency notification, that is, the prompted emergency notification includes only the event description information of the target event and does not include the associated geographical range information of the target event.
In another embodiment, in addition to controlling the mobile terminal to play a preset communication message reminding sound corresponding to the emergency notification, a vibration reminding mode corresponding to the emergency notification can be set at the same time, and a user is reminded in a sound and vibration mode, so that a better reminding effect is achieved.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
In particular implementation, the present application is not limited by the execution sequence of the described steps, and some steps may be performed in other sequences or simultaneously without conflict.
As can be seen from the above, in the emergency notification method provided in the embodiment of the present application, when it is detected that the mobile terminal receives an emergency notification of a target event, the current location of the mobile terminal is obtained, where the emergency notification of the target event includes event description information of the target event and associated geographical range information of the target event; comparing the current position of the mobile terminal with the associated geographical range information of the target event; and if the current position of the mobile terminal is in the associated geographical range information of the target event, controlling the mobile terminal to prompt the emergency notification. According to the embodiment of the application, the current position of the mobile terminal is obtained, whether the user is prompted with the emergency notification or not is determined according to the current position of the mobile terminal, and not all the emergency notifications are prompted to the user, so that the prompt of the emergency notification is more targeted, and the experience is more intelligent and careful.
The embodiment of the application also provides an emergency notification device, which can be integrated in the mobile terminal. The mobile terminal can be a smart phone, a tablet computer and other devices.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an emergency notification device according to an embodiment of the present application. The emergency notification device 30 may include:
an obtaining module 31, configured to obtain a current location of a mobile terminal when it is detected that the mobile terminal receives an emergency notification of a target event, where the emergency notification of the target event includes event description information of the target event and associated geographical range information of the target event;
a comparison module 32, configured to compare the current location of the mobile terminal with the associated geographic range information of the target event;
a control module 33, configured to control the mobile terminal to prompt the emergency notification if the current location of the mobile terminal is within the associated geographic range information of the target event.
In some embodiments, the obtaining module 31 is configured to, when it is detected that a mobile terminal receives a communication message, detect whether a preset keyword exists in the communication message, where the preset keyword is a keyword matched with an emergency notification of a target event; if the preset keyword exists in the communication message, the communication message is judged to be the emergency notification of the target event, and the current position of the mobile terminal is obtained.
In some embodiments, the obtaining module 31 is configured to obtain a longitude of a current location of the mobile terminal; acquiring the latitude of the current position of the mobile terminal; and determining the current position of the mobile terminal according to the longitude and the latitude of the current position of the mobile terminal.
In some embodiments, the comparing module 32 is configured to compare the longitude of the current location of the mobile terminal with the longitude in the location area; comparing the latitude of the current position of the mobile terminal with the latitude in the position area;
in some embodiments, the control module 33 is configured to control the mobile terminal to prompt the emergency notification if the longitude of the current location of the mobile terminal is located within the longitude in the location area and the latitude of the current location of the mobile terminal is located within the latitude in the location area.
In some embodiments, the control module 33 is configured to obtain trip information of a user and geographical location information of interest of the user if the current location of the mobile terminal is not within the associated geographical range information of the target event, and control the mobile terminal to prompt the emergency notification if a location included in the trip information of the user is within the associated geographical range information of the target event or a geographical location in the geographical location information of interest of the user is within the associated geographical range information of the target event.
In some embodiments, the control module 33 is configured to remove the geographic range information associated with the target event from the emergency notification of the target event, place the emergency notification with the geographic range information associated with the target event removed on an interface of the mobile terminal, and control the mobile terminal to play a preset communication message reminding sound corresponding to the emergency notification.
In specific implementation, the modules may be implemented as independent entities, or may be combined arbitrarily and implemented as one or several entities.
As can be seen from the above, in the emergency notification apparatus 30 provided in the embodiment of the present application, through the obtaining module 31, when it is detected that the mobile terminal receives an emergency notification of a target event, the current location of the mobile terminal is obtained, where the emergency notification of the target event includes event description information of the target event and associated geographic range information of the target event; (ii) a The comparison module 32 is used for comparing the current position of the mobile terminal with the associated geographical range information of the target event; and the control module 33 is configured to control the mobile terminal to prompt the emergency notification if the current location of the mobile terminal is within the associated geographical range information of the target event. According to the embodiment of the application, the current position of the mobile terminal is obtained, whether the user is prompted with the emergency notification or not is determined according to the current position of the mobile terminal, and not all the emergency notifications are prompted to the user, so that the prompt of the emergency notification is more targeted, and the experience is more intelligent and careful.
Referring to fig. 3, fig. 3 is another schematic structural diagram of an emergency notification apparatus according to an embodiment of the present disclosure, in which the emergency notification apparatus 30 includes a memory 120, one or more processors 180, and one or more applications, where the one or more applications are stored in the memory 120 and configured to be executed by the processor 180; the processor 180 may include an acquisition module 31, a comparison module 32, and a control module 33. For example, the structures and connection relationships of the above components may be as follows:
the memory 120 may be used to store applications and data. The memory 120 stores applications containing executable code. The application programs may constitute various functional modules. The processor 180 executes various functional applications and data processing by running the application programs stored in the memory 120. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may also include a memory controller to provide the processor 180 with access to the memory 120.
The processor 180 is a control center of the device, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the device and processes data by running or executing an application program stored in the memory 120 and calling data stored in the memory 120, thereby monitoring the entire device. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, and the like.
Specifically, in this embodiment, the processor 180 loads the executable code corresponding to the process of one or more application programs into the memory 120 according to the following instructions, and the processor 180 runs the application programs stored in the memory 120, thereby implementing various functions:
an obtaining module 31, configured to obtain a current location of a mobile terminal when it is detected that the mobile terminal receives an emergency notification of a target event, where the emergency notification of the target event includes event description information of the target event and associated geographical range information of the target event;
a comparison module 32, configured to compare the current location of the mobile terminal with the associated geographic range information of the target event;
a control module 33, configured to control the mobile terminal to prompt the emergency notification if the current location of the mobile terminal is within the associated geographic range information of the target event.
In some embodiments, the obtaining module 31 is configured to, when it is detected that a mobile terminal receives a communication message, detect whether a preset keyword exists in the communication message, where the preset keyword is a keyword matched with an emergency notification of a target event; if the preset keyword exists in the communication message, the communication message is judged to be the emergency notification of the target event, and the current position of the mobile terminal is obtained.
In some embodiments, the obtaining module 31 is configured to obtain a longitude of a current location of the mobile terminal; acquiring the latitude of the current position of the mobile terminal; and determining the current position of the mobile terminal according to the longitude and the latitude of the current position of the mobile terminal.
In some embodiments, the comparing module 32 is configured to compare the longitude of the current location of the mobile terminal with the longitude in the location area; comparing the latitude of the current position of the mobile terminal with the latitude in the position area;
in some embodiments, the control module 33 is configured to control the mobile terminal to prompt the emergency notification if the longitude of the current location of the mobile terminal is located within the longitude in the location area and the latitude of the current location of the mobile terminal is located within the latitude in the location area.
In some embodiments, the control module 33 is configured to obtain trip information of a user and geographical location information of interest of the user if the current location of the mobile terminal is not within the associated geographical range information of the target event, and control the mobile terminal to prompt the emergency notification if a location included in the trip information of the user is within the associated geographical range information of the target event or a geographical location in the geographical location information of interest of the user is within the associated geographical range information of the target event.
In some embodiments, the control module 33 is configured to remove the geographic range information associated with the target event from the emergency notification of the target event, place the emergency notification with the geographic range information associated with the target event removed on an interface of the mobile terminal, and control the mobile terminal to play a preset communication message reminding sound corresponding to the emergency notification.
The embodiment of the application also provides the mobile terminal. The mobile terminal can be a smart phone, a tablet computer and other devices.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application, where the mobile terminal may be used to implement the emergency notification method provided in the foregoing embodiment. The mobile terminal 1200 may be a smart phone or a tablet computer.
As shown in fig. 4, the mobile terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media (only one shown), an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more processing cores (only one shown), and a power supply 190. Those skilled in the art will appreciate that the mobile terminal 1200 configuration illustrated in fig. 4 is not intended to be limiting of the mobile terminal 1200 and may include more or less components than those illustrated, or some components in combination, or a different arrangement of components. Wherein:
the RF circuit 110 is used for receiving and transmitting electromagnetic waves, and performs interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuitry 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network.
The memory 120 may be configured to store a software program and a module, such as a program instruction/module corresponding to the emergency notification method in the above embodiment, and the processor 180 executes various functional applications and data processing by operating the software program and the module stored in the memory 120, and may obtain environmental information of the vehicle currently located by obtaining an external environment of the vehicle, so as to remind a driver of driving, thereby effectively avoiding problems of non-traffic light-based traffic, dangerous driving, traffic congestion and the like caused by the driver focusing on operating a mobile phone, and improving driving safety. Memory 120 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 120 may further include memory located remotely from the processor 180, which may be connected to the electronic device 1200 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to the user and various graphic user interfaces of the mobile terminal 1200, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 4, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
The mobile terminal 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the mobile terminal 1200 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the mobile terminal 1200, detailed descriptions thereof are omitted.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and mobile terminal 1200. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the mobile terminal 1200.
The mobile terminal 1200, which may assist the user in e-mail, web browsing, and streaming media access through the transmission module 170 (e.g., Wi-Fi module), provides the user with wireless broadband internet access. Although fig. 4 shows the transmission module 170, it is understood that it does not belong to the essential constitution of the mobile terminal 1200, and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 180 is a control center of the mobile terminal 1200, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 1200 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile phone. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The mobile terminal 1200 also includes a power supply 190 (e.g., a battery) that powers the various components and, in some embodiments, may be logically coupled to the processor 180 via a power management system that may be used to manage charging, discharging, and power consumption management functions. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 1200 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in the present embodiment, the display unit 140 of the mobile terminal 1200 is a touch screen display, and the mobile terminal 1200 further includes a memory 120 and one or more programs, wherein the one or more programs are stored in the memory 120, and the one or more programs configured to be executed by the one or more processors 180 include instructions for:
when detecting that a mobile terminal receives an emergency notification of a target event, acquiring the current position of the mobile terminal, wherein the emergency notification of the target event comprises event description information of the target event and associated geographical range information of the target event;
comparing the current position of the mobile terminal with the associated geographical range information of the target event;
and if the current position of the mobile terminal is in the associated geographical range information of the target event, controlling the mobile terminal to prompt the emergency notification.
In some embodiments, the processor 180 is configured to obtain the current location of the mobile terminal when it is detected that the mobile terminal receives the emergency notification of the target event, and includes:
when detecting that a mobile terminal receives a communication message, detecting whether a preset keyword exists in the communication message, wherein the preset keyword is a keyword matched with an emergency notice of a target event;
if the preset keyword exists in the communication message, the communication message is judged to be the emergency notification of the target event, and the current position of the mobile terminal is obtained.
In some embodiments, the processor 180 is configured to obtain the current location of the mobile terminal, and includes:
acquiring the longitude of the current position of the mobile terminal;
acquiring the latitude of the current position of the mobile terminal;
and determining the current position of the mobile terminal according to the longitude and the latitude of the current position of the mobile terminal.
In some embodiments, the processor 180 is configured to compare the current location of the mobile terminal with the associated geographical range information of the target event, and includes:
comparing the longitude of the current position of the mobile terminal with the longitude in the position area;
comparing the latitude of the current position of the mobile terminal with the latitude in the position area;
in some embodiments, the processor 180 is configured to control the mobile terminal to prompt for the emergency notification if the current location of the mobile terminal is within the geographic range information associated with the target event, including:
and if the longitude of the current position of the mobile terminal is located in the longitude of the position area and the latitude of the current position of the mobile terminal is located in the latitude of the position area, controlling the mobile terminal to prompt the emergency notification.
In some embodiments, the processor 180 is configured to, when the current location of the mobile terminal is not in the associated geographic range information of the target event, obtain travel information of a user and geographic location information focused by the user, and if a location included in the travel information of the user is in the associated geographic range information of the target event or a geographic location in the geographic location information focused by the user is in the associated geographic range information of the target event, control the mobile terminal to prompt the emergency notification.
In some embodiments, the processor 180 is configured to control the mobile terminal to prompt for the emergency notification, and includes:
and removing the associated geographical range information of the target event in the emergency notification of the target event, placing the emergency notification with the associated geographical range information of the target event removed on an interface of the mobile terminal, and controlling the mobile terminal to play preset communication message reminding sound corresponding to the emergency notification.
As can be seen from the above, an embodiment of the present application provides a mobile terminal 1200, where the mobile terminal 1200 performs the following steps: when detecting that a mobile terminal receives an emergency notification of a target event, acquiring the current position of the mobile terminal, wherein the emergency notification of the target event comprises event description information of the target event and associated geographical range information of the target event; comparing the current position of the mobile terminal with the associated geographical range information of the target event; and if the current position of the mobile terminal is in the associated geographical range information of the target event, controlling the mobile terminal to prompt the emergency notification. According to the embodiment of the application, whether the emergency notification is prompted to the user or not is determined according to the current position of the mobile terminal by acquiring the current position of the mobile terminal, and not all the emergency notifications are prompted to the user, so that the prompt of the emergency notification is more targeted, and the experience is more intelligent and careful.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer executes the emergency notification method according to any of the above embodiments.
It should be noted that, for the emergency notification method described in this application, it can be understood by those skilled in the art that all or part of the process of implementing the emergency notification method described in this application may be implemented by controlling related hardware through a computer program, where the computer program may be stored in a computer readable storage medium, such as a memory of a mobile terminal, and executed by at least one processor in the mobile terminal, and during the execution, the process of implementing the embodiment of the emergency notification method may be included. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the emergency notification apparatus according to the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The emergency notification method, the emergency notification apparatus, the storage medium, and the mobile terminal provided in the embodiments of the present application are described in detail above. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An emergency notification method, the method comprising:
when detecting that a mobile terminal receives an emergency notification of a target event, acquiring the current position of the mobile terminal, wherein the emergency notification of the target event comprises event description information of the target event and associated geographical range information of the target event;
comparing the current position of the mobile terminal with the associated geographical range information of the target event;
and if the current position of the mobile terminal is in the associated geographical range information of the target event, controlling the mobile terminal to prompt the emergency notification.
2. The emergency notification method according to claim 1, wherein said obtaining the current location of the mobile terminal when detecting that the mobile terminal receives the emergency notification of the target event comprises:
when detecting that a mobile terminal receives a communication message, detecting whether a preset keyword exists in the communication message, wherein the preset keyword is a keyword matched with an emergency notice of a target event;
if the preset keyword exists in the communication message, the communication message is judged to be the emergency notification of the target event, and the current position of the mobile terminal is obtained.
3. The emergency notification method according to claim 1, wherein said obtaining the current location of the mobile terminal comprises:
acquiring the longitude of the current position of the mobile terminal;
acquiring the latitude of the current position of the mobile terminal;
and determining the current position of the mobile terminal according to the longitude and the latitude of the current position of the mobile terminal.
4. The emergency notification method of claim 3, wherein the geographical range information associated with the target event is a location area, the location area being defined by a set of latitude and longitude coordinates, and wherein comparing the current location of the mobile terminal with the geographical range information associated with the target event comprises:
comparing the longitude of the current position of the mobile terminal with the longitude in the position area;
and comparing the latitude of the current position of the mobile terminal with the latitude in the position area.
5. The emergency notification method according to claim 4, wherein the controlling the mobile terminal to prompt for the emergency notification if the current location of the mobile terminal is within the geographical range information associated with the target event comprises:
and if the longitude of the current position of the mobile terminal is located in the longitude of the position area and the latitude of the current position of the mobile terminal is located in the latitude of the position area, controlling the mobile terminal to prompt the emergency notification.
6. The emergency notification method according to claim 1, wherein after comparing the current location of the mobile terminal with the associated geographical range information of the target event, further comprising:
if the current position of the mobile terminal is not in the associated geographical range information of the target event, obtaining the travel information of the user and/or the geographical position information concerned by the user, and if the position information contained in the travel information of the user is in the associated geographical range information of the target event and/or the geographical position in the geographical position information concerned by the user is in the associated geographical range information of the target event, controlling the mobile terminal to prompt the emergency notification.
7. The emergency notification method of claim 1, wherein said controlling the mobile terminal to prompt for the emergency notification comprises:
and removing the associated geographical range information of the target event in the emergency notification of the target event, placing the emergency notification with the associated geographical range information of the target event removed on an interface of the mobile terminal, and controlling the mobile terminal to play preset communication message reminding sound corresponding to the emergency notification.
8. An emergency notification apparatus, comprising:
the mobile terminal comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the current position of the mobile terminal when detecting that the mobile terminal receives an emergency notification of a target event, and the emergency notification of the target event comprises event description information of the target event and associated geographical range information of the target event;
the comparison module is used for comparing the current position of the mobile terminal with the associated geographical range information of the target event;
and the control module is used for controlling the mobile terminal to prompt the emergency notification if the current position of the mobile terminal is in the associated geographical range information of the target event.
9. A storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the emergency notification method according to any one of claims 1 to 7.
10. A mobile terminal, characterized in that the mobile terminal comprises a processor and a memory, the memory having stored therein a computer program, the processor being adapted to execute the emergency notification method of any one of claims 1 to 7 by calling the computer program stored in the memory.
CN202010783943.1A 2020-08-06 2020-08-06 Emergency notification method, device, storage medium and mobile terminal Pending CN111988464A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010783943.1A CN111988464A (en) 2020-08-06 2020-08-06 Emergency notification method, device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010783943.1A CN111988464A (en) 2020-08-06 2020-08-06 Emergency notification method, device, storage medium and mobile terminal

Publications (1)

Publication Number Publication Date
CN111988464A true CN111988464A (en) 2020-11-24

Family

ID=73445716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010783943.1A Pending CN111988464A (en) 2020-08-06 2020-08-06 Emergency notification method, device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN111988464A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158937A (en) * 2014-07-25 2014-11-19 北京奇虎科技有限公司 Information remind method, client, and electronic equipment based on contacts in address book
CN106130870A (en) * 2016-06-02 2016-11-16 重庆扑希计算机***有限公司 Emergency based reminding method and system for prompting thereof
CN108848274A (en) * 2018-09-26 2018-11-20 广东小天才科技有限公司 A kind of message prompt method, device and equipment
CN111031526A (en) * 2019-11-11 2020-04-17 宇龙计算机通信科技(深圳)有限公司 CMAS message processing method, device, storage medium and terminal equipment
CN111381273A (en) * 2020-03-24 2020-07-07 支付宝(杭州)信息技术有限公司 Earthquake early warning method, device and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158937A (en) * 2014-07-25 2014-11-19 北京奇虎科技有限公司 Information remind method, client, and electronic equipment based on contacts in address book
CN106130870A (en) * 2016-06-02 2016-11-16 重庆扑希计算机***有限公司 Emergency based reminding method and system for prompting thereof
CN108848274A (en) * 2018-09-26 2018-11-20 广东小天才科技有限公司 A kind of message prompt method, device and equipment
CN111031526A (en) * 2019-11-11 2020-04-17 宇龙计算机通信科技(深圳)有限公司 CMAS message processing method, device, storage medium and terminal equipment
CN111381273A (en) * 2020-03-24 2020-07-07 支付宝(杭州)信息技术有限公司 Earthquake early warning method, device and equipment

Similar Documents

Publication Publication Date Title
CN108665678B (en) Rescue requesting method and device
CN106126015B (en) A kind of application program launching control method and terminal
CN108595275B (en) Prompt message pushing method and terminal
CN105740291B (en) Map interface display method and device
CN111899545B (en) Driving reminding method and device, storage medium and mobile terminal
CN110456395B (en) Positioning method and terminal equipment
CN110278329B (en) Notification message management method and mobile terminal
WO2020024789A1 (en) Avoidance driving method and related product
CN105526944B (en) Information cuing method and device
CN108551525B (en) State determination method of movement track and mobile terminal
CN108592939A (en) A kind of air navigation aid and terminal
CN109708657B (en) Reminding method and mobile terminal
CN109688611B (en) Frequency band parameter configuration method, device, terminal and storage medium
CN106302101B (en) Message reminding method, terminal and server
CN108063869B (en) Safety early warning method and mobile terminal
CN108363499B (en) Text recovery method and mobile terminal
US11735029B2 (en) Emergency communication system
CN109446435B (en) Information display apparatus, method, system, and computer-readable storage medium
CN112449308B (en) Mobile phone signal-based activity early warning method and device for active personnel
CN109660657B (en) Application program control method and device
CN108988413B (en) Mobile terminal charging method and mobile terminal
CN108093139B (en) Navigation information display method and equipment
CN107930126B (en) Game reservation data processing method and device and mobile terminal
CN111309392A (en) Equipment control method and electronic equipment
CN106201220B (en) Display content acquisition method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201124