CN109309761B - Emergency call method, mobile terminal and computer readable storage medium - Google Patents

Emergency call method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN109309761B
CN109309761B CN201811282146.4A CN201811282146A CN109309761B CN 109309761 B CN109309761 B CN 109309761B CN 201811282146 A CN201811282146 A CN 201811282146A CN 109309761 B CN109309761 B CN 109309761B
Authority
CN
China
Prior art keywords
alarm
emergency
preset
information
mobile terminal
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.)
Active
Application number
CN201811282146.4A
Other languages
Chinese (zh)
Other versions
CN109309761A (en
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811282146.4A priority Critical patent/CN109309761B/en
Publication of CN109309761A publication Critical patent/CN109309761A/en
Application granted granted Critical
Publication of CN109309761B publication Critical patent/CN109309761B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/08Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using communication transmission lines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device

Abstract

The invention discloses an emergency help-seeking method, which comprises the following steps: when an alarm request triggered by an alarm key is detected and fingerprint authentication is passed, a first emergency alarm instruction is triggered, then when the first emergency alarm instruction is detected, whether a first shielding percentage meets a preset alarm condition is determined based on a preset value, whether the first shielding percentage meets the preset alarm condition is determined based on the preset value, next, when the first shielding percentage meets the preset alarm condition, first alarm information is generated, and finally, the first alarm information is sent to a preset terminal of a first emergency contact corresponding to the first emergency alarm instruction. The invention also discloses a mobile terminal and a computer readable storage medium. By triggering the alarm key and carrying out fingerprint identification, the alarm operation process of the mobile terminal is simplified, the identity of an alarm person is confirmed, and meanwhile, the alarm information is determined to be generated through the shielding area of the screen, so that the risk of false alarm is effectively reduced.

Description

Emergency call method, mobile terminal and computer readable storage medium
Technical Field
The present invention relates to the field of mobile terminal technologies, and in particular, to an emergency help method, a mobile terminal, and a computer-readable storage medium.
Background
With the maturity of smart phone technology and the reduction of price, smart phones have become the personal tools that people commonly own, even the old and children have mobile phones, and besides the most basic communication functions, people also design many other new functions for smart phones, such as GPRS positioning, alarming, photographing, camera shooting and other functions.
At present, the smart phone market has few alarm applications, which are roughly divided into two types: the first method is that an alarm App is installed on a smart phone, and then an alarm is given by triggering a menu in the App, so that the alarm mode has the defects of complex operation and easiness in exposing a target by lighting a screen; the other method is to alarm by pressing an alarm button on the smart phone for a long time, and the method is commonly applied to the children's mobile phones, but the method has high misoperation probability and brings unnecessary panic and trouble. Furthermore, the existing alarm application usually only sends location information to the emergency contact once, and when the location of the alarm changes, the emergency contact cannot know the specific location information.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide an emergency help-seeking method, a mobile terminal and a computer readable storage medium, and aims to solve the technical problems that the existing alarm method of the mobile terminal is complex in operation, false alarm is easy to generate, and alarm position information cannot be updated in time.
In order to achieve the above object, the present invention provides an emergency help-seeking method applied to a mobile terminal having an alarm device, the emergency help-seeking method comprising the steps of:
when a first emergency alarm instruction is detected, acquiring a first shielding percentage of a screen based on the first emergency alarm instruction;
determining whether the first shielding percentage meets a preset alarm condition based on a preset value;
when the first shielding percentage meets a preset alarm condition, generating first alarm information;
and sending the first alarm information to a preset terminal of a first emergency contact corresponding to the first emergency alarm instruction.
In one embodiment, the acquiring a first occlusion percentage of a screen based on a first emergency alert instruction when the first emergency alert instruction is detected includes:
when the first emergency alarm instruction is detected, determining the number of shielded pixels of the screen through an ambient light sensor of the mobile terminal;
determining the first occlusion percentage based on the number of occluded pixels and a total amount of pixels of the screen.
In an embodiment, the method for displaying the screen of the mobile terminal includes the steps of, when a first emergency alarm instruction is detected, obtaining a first shielding percentage of the screen based on the first emergency alarm instruction, and further including:
when an alarm request triggered by the alarm key is detected and fingerprint information is detected by the fingerprint sensing area, determining whether the fingerprint information is matched with a preset fingerprint;
and when the fingerprint information is matched with the preset fingerprint, triggering the first emergency alarm instruction.
In an embodiment, the step of determining whether the first occlusion percentage satisfies a preset alarm condition based on a preset value includes:
determining whether the first occlusion percentage is greater than or equal to the preset value, wherein the first occlusion percentage meets a preset alarm condition when the first occlusion percentage is greater than or equal to the preset value.
In an embodiment, when the first occlusion percentage meets a preset alarm condition, the step of generating first alarm information includes:
when the first shielding percentage meets a preset alarm condition, acquiring an alarm short message and position positioning information corresponding to the mobile terminal;
and generating the first alarm information based on the position positioning information and the alarm short message.
In an embodiment, after the step of sending the first alarm information to the preset terminal of the first emergency contact corresponding to the first emergency alarm instruction, the method further includes:
and acquiring position positioning information corresponding to the mobile terminal at preset time intervals, and sending second alarm information comprising the position positioning information to a preset terminal of the first emergency contact.
In an embodiment, after the step of determining whether the first occlusion percentage satisfies a preset alarm condition based on a preset value, the method further includes:
and when the first shielding percentage does not meet the preset alarm condition, outputting prompt information of unsuccessful alarm.
In an embodiment, after the step of sending the first alarm information to the preset terminal of the first emergency contact corresponding to the first emergency alarm instruction, the method further includes:
when a second emergency alarm instruction is detected within the preset time, whether third alarm information is generated or not is determined based on a second shielding percentage of the current screen and a preset value;
and when third alarm information is generated, sending the third alarm information to a preset terminal of a second emergency contact corresponding to the second emergency alarm instruction.
In addition, in order to achieve the above object, the present invention further provides a mobile terminal, where the mobile terminal is provided with an alarm key, and the mobile terminal includes: the emergency help system comprises a memory, a processor and an emergency help program stored on the memory and capable of running on the processor, wherein the emergency help program when executed by the processor implements the steps of any one of the emergency help methods.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium having an emergency help program stored thereon, wherein the emergency help program, when executed by a processor, implements the steps of the emergency help method according to any one of the above.
According to the method, when an alarm request triggered by an alarm key is detected and fingerprint authentication is passed, a first emergency alarm instruction is triggered, when the first emergency alarm instruction is detected, whether a first shielding percentage meets a preset alarm condition or not is determined based on a preset value, whether the first shielding percentage meets the preset alarm condition or not is determined based on the preset value, then when the first shielding percentage meets the preset alarm condition, first alarm information is generated, and finally the first alarm information is sent to a preset terminal of a first emergency contact corresponding to the first emergency alarm instruction. The invention also discloses a mobile terminal and a computer readable storage medium. By triggering the alarm key and carrying out fingerprint identification, the alarm operation process of the mobile terminal is simplified, the identity of an alarm person is confirmed, and meanwhile, the alarm information is determined to be generated through the shielding area of the screen, so that the risk of false alarm is effectively reduced.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a first embodiment of an emergency help method according to the present invention;
fig. 4 is a flowchart illustrating a third embodiment of the emergency help method according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, Wi-Fi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal 100 depicted in fig. 1 is not intended to be limiting of the mobile terminal 100, and that the mobile terminal 100 may include more or less components than those shown, or some components may be combined, or a different arrangement of components.
The various components of the mobile terminal 100 are described in detail below with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution), etc.
Wi-Fi belongs to a short-distance wireless transmission technology, and the mobile terminal 100 can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the Wi-Fi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the Wi-Fi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal 100, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the Wi-Fi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the Wi-Fi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a 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 fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device 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 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 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.
The processor 110 is a control center of the mobile terminal 100, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal 100 and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby monitoring the mobile terminal 100 as a whole. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
Further, in the mobile terminal shown in fig. 1, the processor 110 is configured to call the emergency call-for-help program stored in the memory 109, and perform the following operations:
when a first emergency alarm instruction is detected, acquiring a first shielding percentage of a screen based on the first emergency alarm instruction;
determining whether the first shielding percentage meets a preset alarm condition based on a preset value;
when the first shielding percentage meets a preset alarm condition, generating first alarm information;
and sending the first alarm information to a preset terminal of a first emergency contact corresponding to the first emergency alarm instruction.
Further, the processor 110 may invoke the emergency help program stored in the memory 109 and further perform the following operations:
when the first emergency alarm instruction is detected, determining the number of shielded pixels of the screen through an ambient light sensor of the mobile terminal;
determining the first occlusion percentage based on the number of occluded pixels and a total amount of pixels of the screen.
Further, the processor 110 may invoke the emergency help program stored in the memory 109 and further perform the following operations:
when an alarm request triggered by the alarm key is detected and fingerprint information is detected by the fingerprint sensing area, determining whether the fingerprint information is matched with a preset fingerprint;
and when the fingerprint information is matched with the preset fingerprint, triggering the first emergency alarm instruction.
Further, the processor 110 may invoke the emergency help program stored in the memory 109 and further perform the following operations:
determining whether the first occlusion percentage is greater than or equal to the preset value, wherein the first occlusion percentage meets a preset alarm condition when the first occlusion percentage is greater than or equal to the preset value.
Further, the processor 110 may invoke the emergency help program stored in the memory 109 and further perform the following operations:
when the first shielding percentage meets a preset alarm condition, acquiring an alarm short message and position positioning information corresponding to the mobile terminal;
and generating the first alarm information based on the position positioning information and the alarm short message.
Further, the processor 110 may invoke the emergency help program stored in the memory 109 and further perform the following operations:
and acquiring position positioning information corresponding to the mobile terminal at preset time intervals, and sending second alarm information comprising the position positioning information to a preset terminal of the first emergency contact.
Further, the processor 110 may invoke the emergency help program stored in the memory 109 and further perform the following operations:
and when the first shielding percentage does not meet the preset alarm condition, outputting prompt information of unsuccessful alarm.
Further, the processor 110 may invoke the emergency help program stored in the memory 109 and further perform the following operations:
when a second emergency alarm instruction is detected within the preset time, whether third alarm information is generated or not is determined based on a second shielding percentage of the current screen and a preset value;
and when third alarm information is generated, sending the third alarm information to a preset terminal of a second emergency contact corresponding to the second emergency alarm instruction.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the mobile terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above terminal hardware structure and communication network system, the present invention provides various embodiments of the emergency help method.
The invention also provides an emergency help-seeking method, and referring to fig. 3, fig. 3 is a schematic flow chart of a first embodiment of the emergency help-seeking method of the invention.
The mobile terminal comprises an alarm key and supports a fingerprint identification function, wherein the alarm key is arranged in the fingerprint sensing area, namely when a user triggers the alarm key with a finger, the fingerprint sensing area synchronously scans and verifies the fingerprint.
In this embodiment, the emergency call-for-help method includes the steps of:
step S100, when a first emergency alarm instruction is detected, acquiring a first shielding percentage of a screen based on the first emergency alarm instruction;
in this embodiment, when the mobile terminal detects an emergency alert instruction, in order to prevent a user from performing a false alert determination, the false alert determination is performed according to a shielding percentage of a current screen.
Specifically, step S100 includes:
step S110, when the first emergency alarm instruction is detected, determining the number of shielded pixels of the screen through an ambient light sensor of the mobile terminal;
in this embodiment, the generation and sending of the alarm information require that the screen of the mobile terminal is shielded in a certain proportion, which can be understood as that an alarm person shields the screen by a special gesture and triggers an alarm key at the same time.
Specifically, an ambient light sensor is arranged on a screen of the mobile terminal, shielded pixels are obtained through the ambient light sensor, it is determined which pixels belong to a shielded range, a brightness value of the pixels obtained by the ambient light sensor can be compared with a preset brightness value, when the brightness of the pixels is smaller than or equal to the preset brightness, the pixels are defined as shielded pixels, when the brightness of the pixels is larger than the preset brightness, the pixels are non-shielded pixels and are not used for calculating shielding percentage, and the number of the shielded pixels of the current screen is accumulated.
Step S120, determining the first occlusion percentage based on the number of occluded pixels and the total amount of pixels of the screen.
In this embodiment, an ambient light sensor of the mobile terminal obtains the number of shielded pixels of the screen, further determines the total number of pixels of all pixels of the current screen, and determines the shielding percentage according to the number of shielded pixels and the total number of pixels of all pixels of the screen, specifically, divides the total number of pixels of all pixels of the screen by the number of shielded pixels, and obtains a quotient, which is the shielding percentage, where a value range of the shielding percentage is between 0% and 100%.
Step S200, determining whether the first shielding percentage meets a preset alarm condition or not based on a preset value;
in this embodiment, the generation of alarm information requires that the screen of mobile terminal has sheltered from of a certain proportion, can understand that the alarm person shelters from the screen with special gesture, so will judge and shelter from whether to satisfy the alarm condition, and then judge whether need report to the police.
Specifically, the preset alarm condition is as follows: and when the shielding percentage is greater than or equal to a preset value, judging that the shielding percentage meets the preset alarm condition, otherwise, when the shielding percentage is less than the preset value, judging that the shielding percentage does not meet the preset alarm condition.
Step S300, when the first shielding percentage meets a preset alarm condition, generating first alarm information;
in this embodiment, when the shielding percentage satisfies the preset alarm condition, that is, the shielding percentage is greater than or equal to the preset value, by using the comparison result between the shielding percentage and the preset value, it can be determined whether the alarm is a false alarm, and further determine whether to generate alarm information, that is, if it is determined that the alarm instruction generated this time is a false alarm according to the shielding percentage and the preset value, the alarm information is not generated, and if it is determined that the alarm instruction generated this time is not a false alarm, the alarm information is generated, wherein the alarm information includes position information, an alarm short message and the like, and the position information supports real-time update, that is, when the positions of the alarm person and the mobile terminal are changed, the position information can be updated in time.
And S400, sending the first alarm information to a preset terminal of a first emergency contact corresponding to the first emergency alarm instruction.
In this embodiment, after determining that the alarm instruction is not a false alarm and generates the alarm information, the mobile terminal sends the alarm information to a preset terminal corresponding to an emergency contact, and the emergency contact can take corresponding measures to help an alarm user when receiving the alarm information. The emergency contact persons need to be set before alarming, and in the invention, the emergency contact persons are divided into general emergency contact persons and special emergency contact persons, and the general emergency contact persons and the special emergency contact persons are correspondingly sent to different emergency contact persons according to different levels of alarming.
Further, in an embodiment, step S100 further includes, before:
step S500, when an alarm request triggered by the alarm key is detected and fingerprint information is detected by the fingerprint sensing area, determining whether the fingerprint information is matched with a preset fingerprint;
in this embodiment, mobile terminal includes a fingerprint induction zone at least to mobile terminal's warning key sets up in the fingerprint induction zone, and the fingerprint induction zone starts fingerprint scanning when the warning key is pressed by the finger, and carries out fingerprint authentication, matches the fingerprint information of gathering promptly with predetermineeing the fingerprint, if the two is unanimous, then fingerprint authentication passes, otherwise, fingerprint authentication fails.
It should be noted that, in the present invention, two conditions are required for generating the alarm command: the first condition is that the alarm key is pressed, the other condition is that fingerprint authentication is passed, only when both conditions are met, the emergency alarm instruction can be triggered, and the purpose of fingerprint authentication is to identify the identity and determine the identity information of the alarm person.
Step S600, when the fingerprint information is matched with the preset fingerprint, triggering the first emergency alarm instruction.
In this embodiment, the preset fingerprint is collected before the alarm and stored in a preset storage area, where the preset storage area may be a memory area of the mobile terminal or an external storage device of the mobile terminal, such as an expansion card. After fingerprint information is collected in the fingerprint induction area, the mobile terminal matches the fingerprint information with a preset fingerprint, and when the fingerprint information is matched with the preset fingerprint, the fingerprint authentication is passed, and an emergency alarm instruction is triggered.
Further, in an embodiment, after step S300, the method further includes: and acquiring position positioning information corresponding to the mobile terminal at preset time intervals, and sending second alarm information comprising the position positioning information to a preset terminal of the first emergency contact.
In this embodiment, the alarm information includes position location information, and the position location information supports real-time updating, that is, when the positions of the alarm and the mobile terminal change, the position location information can be updated in time, and in order to acquire the updated position information in time and grasp the position of the alarm, the mobile terminal can send the updated position location information to the corresponding alarm contact at regular time according to a certain time interval, such as 3 minutes.
According to the emergency help-seeking method provided by the embodiment, when an alarm request triggered by an alarm key is detected and fingerprint authentication is passed, a first emergency alarm instruction is triggered, when the first emergency alarm instruction is detected, whether a first shielding percentage meets a preset alarm condition is determined based on a preset value, then whether the first shielding percentage meets the preset alarm condition is determined based on the preset value, next, when the first shielding percentage meets the preset alarm condition, first alarm information is generated, and finally, the first alarm information is sent to a preset terminal of a first emergency contact corresponding to the first emergency alarm instruction. By triggering the alarm key and carrying out fingerprint identification, the alarm operation process of the mobile terminal is simplified, the identity of an alarm person is confirmed, and meanwhile, the alarm information is determined to be generated through the shielding area of the screen, so that the risk of false alarm is effectively reduced.
A second embodiment of the emergency help method according to the present invention is proposed based on the first embodiment, and in this embodiment, the step S200 includes:
step S210, determining whether the first shielding percentage is greater than or equal to the preset value, wherein when the first shielding percentage is greater than or equal to the preset value, the first shielding percentage meets a preset alarm condition;
in this embodiment, the generation of the alarm information requires that the screen of the mobile terminal is shielded in a certain proportion, which can be understood as that an alarm uses a special gesture to shield the screen, so that when the shielding percentage is determined to be greater than or equal to a preset value, it can be determined that the alarm is not a false alarm, so that the alarm information is generated, that is, when the shielding percentage is greater than or equal to the preset value, the shielding percentage meets a preset alarm condition; when the shielding percentage is determined to be smaller than the preset value, the fact that the screen is not shielded by the alarm person according to the conditions can be inferred, and the alarm is judged to be false alarm, so that the alarm information is not generated.
It should be noted that the shielding percentage is calculated by the number of shielding pixels of the current screen and the total pixel amount of all pixel points of the screen, the value range of the shielding percentage is 0-100%, the preset value is also a percentage, and is set according to the specific size of the screen of the mobile terminal, when the screen is large, the preset value can be set to be small, when the screen is small, the preset value can be set to be large, and the preset value is recommended to be not less than 50%, so that the occurrence of false alarm can be effectively reduced.
Further, in an embodiment, step S300 includes:
step S310, when the first shielding percentage meets a preset alarm condition, acquiring an alarm short message and position positioning information corresponding to the mobile terminal;
in this embodiment, when the shielding percentage is greater than or equal to the preset value, it indicates that the alarm person partially or completely shields the screen when triggering the alarm key, so that it is determined that the alarm is true, the mobile terminal may generate alarm information, that is, obtain the position location information from the position location module related to the mobile terminal, and obtain the alarm short message to be sent, where the alarm short message is edited in advance and stored in the preset storage area of the mobile terminal.
Step S320, generating the first alarm information based on the position positioning information and the alarm short message.
In this embodiment, the alarm information includes position location information and an alarm short message, and in addition, the alarm information further includes an ID of an emergency contact, a sending path, and the like.
It should be noted that the location positioning information may be longitude and latitude information of a geographic location of the mobile terminal, the longitude and latitude information may accurately position an address, which is more accurate than literal geographic location information, and the accurate position address may enable the emergency contact to determine the location of the alarm.
Further, in an embodiment, after the step S200, the method further includes: and when the first shielding percentage does not meet the preset alarm condition, outputting prompt information of unsuccessful alarm.
In this embodiment, the reason why the shielding percentage does not satisfy the preset alarm condition is that the alarm does not shield the screen, the alarm is determined to be a false alarm, the alarm is unsuccessful, further, the mobile terminal outputs the prompt message that the alarm is unsuccessful, the alarm confirms according to the actual situation, if the alarm is a false alarm, the alarm prompt message can be selected to be quit, and if the alarm is real, the alarm can be restarted by adopting a shielding gesture.
According to the emergency help-seeking method provided by the embodiment, the alarm key is triggered and the fingerprint identification is carried out, so that the alarm operation flow of the mobile terminal is simplified, the identity of an alarm person is confirmed, meanwhile, the alarm information is determined to be generated through the screen shielding area, the risk of false alarm is effectively reduced, and the user experience is further improved.
Based on the second embodiment, referring to fig. 4, a third embodiment of the emergency help method of the present invention is proposed, in this embodiment, after step S400, the method further includes:
in this embodiment, the alarm level is determined according to the number of times of generating the alarm instruction, and the alarm level may be divided into a general alarm and a special alarm, where the two alarm levels correspond to two emergency contacts, where if the alarm level is the general alarm, the mobile terminal sends an alarm message to the general emergency contact, and if the alarm level is the special alarm, the mobile terminal sends an alarm message to the special emergency contact, for example, the general emergency contact is a parent or a teacher, and the special emergency contact may be a public security department, etc.
Step S700, when a second emergency alarm instruction is detected within a preset time, whether third alarm information is generated or not is determined based on a second shielding percentage of a current screen and a preset value;
in this embodiment, when the alarm instruction is detected for the first time, the alarm level is a general alarm, and within the preset time, if the mobile terminal detects the alarm instruction again, it needs to determine whether to generate a new alarm message according to the shielding percentage of the current screen and the preset value.
It should be noted that if a new alarm message is determined to be generated according to the shielding percentage of the current screen and the preset value, the alarm level is upgraded from a general alarm to a special alarm, and then all the alarm messages are sent to the special emergency contact; if the situation that a new alarm message is not generated is judged according to the shielding percentage of the current screen and the preset value, the alarm level is not upgraded and still is a common alarm, and all the alarm messages are sent to a common emergency contact.
And step S800, when third alarm information is generated, the third alarm information is sent to a preset terminal of a second emergency contact corresponding to the second emergency alarm instruction.
In this embodiment, a new alarm message is determined to be generated according to the shielding percentage of the current screen and the preset value, and then the alarm level is upgraded from a general alarm to a special alarm, and a contact receiving the alarm information needs to be upgraded from a general emergency contact to a special emergency contact. Specifically, when new alarm information is generated, the new alarm information is sent to a preset terminal of the special emergency contact.
In the emergency help-seeking method provided by this embodiment, when a second emergency alarm instruction is detected within a preset time, whether third alarm information is generated is determined based on a second shielding percentage of a current screen and a preset value, and then when the third alarm information is generated, the third alarm information is sent to a preset terminal of a second emergency contact corresponding to the second emergency alarm instruction. The alarm level is determined according to the received alarm times, and the corresponding emergency contact is notified, so that more effective help is provided for an alarm, and the user experience is improved.
Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, where an emergency help program is stored on the computer-readable storage medium, and when executed by a processor, the emergency help program implements the following operations:
when a first emergency alarm instruction is detected, acquiring a first shielding percentage of a screen based on the first emergency alarm instruction;
determining whether the first shielding percentage meets a preset alarm condition based on a preset value;
when the first shielding percentage meets a preset alarm condition, generating first alarm information;
and sending the first alarm information to a preset terminal of a first emergency contact corresponding to the first emergency alarm instruction.
Further, the emergency help program when executed by the processor further performs the following operations:
when the first emergency alarm instruction is detected, determining the number of shielded pixels of the screen through an ambient light sensor of the mobile terminal;
determining the first occlusion percentage based on the number of occluded pixels and a total amount of pixels of the screen.
Further, the emergency help program when executed by the processor further performs the following operations:
when an alarm request triggered by the alarm key is detected and fingerprint information is detected by the fingerprint sensing area, determining whether the fingerprint information is matched with a preset fingerprint;
and when the fingerprint information is matched with the preset fingerprint, triggering the first emergency alarm instruction.
Further, the emergency help program when executed by the processor further performs the following operations:
determining whether the first occlusion percentage is greater than or equal to the preset value, wherein the first occlusion percentage meets a preset alarm condition when the first occlusion percentage is greater than or equal to the preset value.
Further, the emergency help program when executed by the processor further performs the following operations:
when the first shielding percentage meets a preset alarm condition, acquiring an alarm short message and position positioning information corresponding to the mobile terminal;
and generating the first alarm information based on the position positioning information and the alarm short message.
Further, the emergency help program when executed by the processor further performs the following operations:
and acquiring position positioning information corresponding to the mobile terminal at preset time intervals, and sending second alarm information comprising the position positioning information to a preset terminal of the first emergency contact.
Further, the emergency help program when executed by the processor further performs the following operations:
and when the first alarm information is not generated, outputting prompt information of unsuccessful alarm.
Further, the emergency help program when executed by the processor further performs the following operations:
when a second emergency alarm instruction is detected within the preset time, whether third alarm information is generated or not is determined based on a second shielding percentage of the current screen and a preset value;
and when third alarm information is generated, sending the third alarm information to a preset terminal of a second emergency contact corresponding to the second emergency alarm instruction.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. An emergency help method is applied to a mobile terminal, and comprises the following steps:
when a first emergency alarm instruction is detected, acquiring a first shielding percentage of a screen based on the first emergency alarm instruction;
determining whether the first shielding percentage meets a preset alarm condition based on a preset value;
when the first shielding percentage meets a preset alarm condition, generating first alarm information;
sending the first alarm information to a preset terminal of a first emergency contact corresponding to the first emergency alarm instruction;
the step of determining whether the first occlusion percentage satisfies a preset alarm condition based on a preset value includes:
determining whether the first occlusion percentage is greater than or equal to the preset value, wherein the first occlusion percentage meets a preset alarm condition when the first occlusion percentage is greater than or equal to the preset value.
2. The emergency help method of claim 1, wherein the step of acquiring a first occlusion percentage of a screen based on a first emergency alert instruction when the first emergency alert instruction is detected comprises:
when the first emergency alarm instruction is detected, determining the number of shielded pixels of the screen through an ambient light sensor of the mobile terminal;
determining the first occlusion percentage based on the number of occluded pixels and a total amount of pixels of the screen.
3. An emergency help method according to claim 1, wherein the fingerprint sensing area of the mobile terminal is provided with an alarm key, and the step of obtaining a first occlusion percentage of the screen based on the first emergency alarm instruction when the first emergency alarm instruction is detected further comprises:
when an alarm request triggered by the alarm key is detected and fingerprint information is detected by the fingerprint sensing area, determining whether the fingerprint information is matched with a preset fingerprint;
and when the fingerprint information is matched with the preset fingerprint, triggering the first emergency alarm instruction.
4. An emergency help-seeking method according to claim 1, wherein the step of generating first alarm information when the first occlusion percentage satisfies a preset alarm condition includes:
when the first shielding percentage meets a preset alarm condition, acquiring an alarm short message and position positioning information corresponding to the mobile terminal;
and generating the first alarm information based on the position positioning information and the alarm short message.
5. The emergency help method according to claim 1, wherein after the step of sending the first alarm information to the preset terminal of the first emergency contact corresponding to the first emergency alarm instruction, the method further comprises:
and acquiring position positioning information corresponding to the mobile terminal at preset time intervals, and sending second alarm information comprising the position positioning information to a preset terminal of the first emergency contact.
6. An emergency help method according to claim 1, wherein the step of determining whether the first percentage of occlusion satisfies a preset alarm condition based on a preset value further comprises:
and when the first shielding percentage does not meet the preset alarm condition, outputting prompt information of unsuccessful alarm.
7. An emergency help method according to any one of claims 1 to 6, wherein after the step of sending the first alarm information to a preset terminal of a first emergency contact corresponding to the first emergency alarm instruction, the method further comprises:
when a second emergency alarm instruction is detected within the preset time, whether third alarm information is generated or not is determined based on a second shielding percentage of the current screen and a preset value;
and when third alarm information is generated, sending the third alarm information to a preset terminal of a second emergency contact corresponding to the second emergency alarm instruction.
8. A mobile terminal, characterized in that, the mobile terminal is equipped with the warning key, the mobile terminal includes: memory, a processor and an emergency help program stored on the memory and executable on the processor, the emergency help program when executed by the processor implementing the steps of the emergency help method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon an emergency help program which, when executed by a processor, implements the steps of the emergency help method according to any one of claims 1 to 7.
CN201811282146.4A 2018-10-30 2018-10-30 Emergency call method, mobile terminal and computer readable storage medium Active CN109309761B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811282146.4A CN109309761B (en) 2018-10-30 2018-10-30 Emergency call method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811282146.4A CN109309761B (en) 2018-10-30 2018-10-30 Emergency call method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109309761A CN109309761A (en) 2019-02-05
CN109309761B true CN109309761B (en) 2021-06-15

Family

ID=65222752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811282146.4A Active CN109309761B (en) 2018-10-30 2018-10-30 Emergency call method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109309761B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110379121A (en) * 2019-05-07 2019-10-25 深圳市泰和安科技有限公司 A kind of hazard alarm method and server
CN112243063A (en) * 2019-07-18 2021-01-19 北京奇虎科技有限公司 Automatic alarm method and device based on mobile terminal and mobile terminal
CN111035366A (en) * 2019-12-30 2020-04-21 苏州普康智慧养老产业科技有限公司 Home-based aged-care intelligent service system based on Internet of things
CN116260953A (en) * 2021-02-08 2023-06-13 青岛海信激光显示股份有限公司 Laser projection device
CN113793436A (en) * 2021-09-13 2021-12-14 亚尔五金集团有限公司 Method for preventing false alarm of intelligent home door lock and intelligent door lock system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094466A (en) * 2015-08-12 2015-11-25 小米科技有限责任公司 Environmental light measurement method and device
CN105549726A (en) * 2014-10-31 2016-05-04 小米科技有限责任公司 Method and device for sending information
CN106453795A (en) * 2016-09-26 2017-02-22 珠海格力电器股份有限公司 Emergency alarm method and apparatus of mobile terminal
CN107819940A (en) * 2017-10-25 2018-03-20 东莞市爱黔粤机电技术有限公司 A kind of method of mobile terminal emergency alarm
CN108052812A (en) * 2017-11-29 2018-05-18 努比亚技术有限公司 A kind of terminal alarms method, terminal and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180013869A1 (en) * 2016-07-07 2018-01-11 Vladimir Smelyansky Integration of voip phone services with intelligent cloud voice recognition

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105549726A (en) * 2014-10-31 2016-05-04 小米科技有限责任公司 Method and device for sending information
CN105094466A (en) * 2015-08-12 2015-11-25 小米科技有限责任公司 Environmental light measurement method and device
CN106453795A (en) * 2016-09-26 2017-02-22 珠海格力电器股份有限公司 Emergency alarm method and apparatus of mobile terminal
CN107819940A (en) * 2017-10-25 2018-03-20 东莞市爱黔粤机电技术有限公司 A kind of method of mobile terminal emergency alarm
CN108052812A (en) * 2017-11-29 2018-05-18 努比亚技术有限公司 A kind of terminal alarms method, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN109309761A (en) 2019-02-05

Similar Documents

Publication Publication Date Title
CN108924364B (en) Message reminding method, mobile terminal and computer readable storage medium
CN109309761B (en) Emergency call method, mobile terminal and computer readable storage medium
CN109151169B (en) Camera authority management method, mobile terminal and computer readable storage medium
CN109068167B (en) Screen recording interaction method, mobile terminal, wearable device and storage medium
CN110035176B (en) Brightness adjusting method of mobile terminal, mobile terminal and storage medium
CN107635070B (en) Message reminding method, terminal and storage medium
CN109219004B (en) Short message unsubscribing method and device, mobile terminal and readable storage medium
CN109195213B (en) Mobile terminal screen control method, mobile terminal and computer readable storage medium
CN107862217B (en) Position information acquisition method, mobile terminal and computer storage medium
CN107172605B (en) Emergency call method, mobile terminal and computer readable storage medium
CN112533189A (en) Transmission method, mobile terminal and storage medium
CN109146463B (en) Mobile payment method, mobile terminal and computer readable storage medium
CN108551525B (en) State determination method of movement track and mobile terminal
CN112306799A (en) Abnormal information acquisition method, terminal device and readable storage medium
CN107682541B (en) Audio control method for screen projection, mobile terminal and storage medium
CN109309762B (en) Message processing method, device, mobile terminal and storage medium
CN109754819B (en) Data processing method, device and storage medium
CN108234751B (en) Automatic danger detection method, mobile terminal and computer readable storage medium
CN108038362B (en) Unread information display method and device and computer readable storage medium
CN108063869B (en) Safety early warning method and mobile terminal
CN112866685A (en) Screen projection delay measuring method, mobile terminal and computer readable storage medium
CN112604281A (en) Game visual field control method, mobile terminal and computer readable storage medium
CN109831241B (en) Rescue method, router and computer readable storage medium
CN108876387B (en) Payment verification method, payment verification equipment and computer-readable storage medium
CN108566476B (en) Information processing method, terminal and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant