CN107105099B - Mobile terminal alarm method and device and electronic equipment - Google Patents

Mobile terminal alarm method and device and electronic equipment Download PDF

Info

Publication number
CN107105099B
CN107105099B CN201710326068.2A CN201710326068A CN107105099B CN 107105099 B CN107105099 B CN 107105099B CN 201710326068 A CN201710326068 A CN 201710326068A CN 107105099 B CN107105099 B CN 107105099B
Authority
CN
China
Prior art keywords
alarm
mobile terminal
alarm type
type
starting
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
CN201710326068.2A
Other languages
Chinese (zh)
Other versions
CN107105099A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201710326068.2A priority Critical patent/CN107105099B/en
Publication of CN107105099A publication Critical patent/CN107105099A/en
Application granted granted Critical
Publication of CN107105099B publication Critical patent/CN107105099B/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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72418User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting emergency services
    • H04M1/72421User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting emergency services with automatic activation of emergency service functions, e.g. upon sensing an alarm
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • 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/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • 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
    • 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/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/74Details of telephonic subscriber devices with voice recognition means

Abstract

The invention relates to the technical field of communication, in particular to a mobile terminal alarm method and device and electronic equipment. The mobile terminal alarm method comprises the following steps: determining an alarm type in response to a triggering event; receiving voice information; converting the voice information into text information; and if the text information has a field matched with the preset alarm field, starting the mobile terminal to alarm according to the alarm type. Therefore, different trigger events can correspond to different use environments, different use environments correspond to different alarm types, and the mobile terminal flexibly configures the corresponding alarm types to start the alarm according to the different use environments, so that the alarm mode is diversified, and the user experience is improved.

Description

Mobile terminal alarm method and device and electronic equipment
Technical Field
The invention relates to the technical field of communication, in particular to a mobile terminal alarm method and device and electronic equipment.
Background
The existing mobile phone needs a manual operator to dial an alarm or an emergency call in an emergency or dangerous situation, but a user often cannot manually dial the alarm or the emergency call in the emergency or dangerous situation.
The traditional technology provides a mobile phone alarm method, which can acquire an alarm prompt tone sent by a user in real time, and when the user is judged to be a legal user and the alarm prompt tone is matched with a preset alarm voice, automatically starting an alarm in a mobile phone background; if the alarm prompt tone is not matched with the preset alarm voice, the mobile phone is not started to alarm. Therefore, it can avoid false triggering of an alarm.
In the process of implementing the invention, the inventor finds that the traditional technology has at least the following problems: the traditional mobile phone alarm method can not distinguish the current use area or the current use time period of the mobile phone and then adopts the same alarm type to start the mobile phone alarm. However, there are different alarm requirements for automatic alarm of mobile phones in different areas or periods of use, for example, in banking places or ATM airports, where there is a high risk of robbery in the vicinity of the user. However, in the home, there is little probability of robbery in the user's surroundings. The conventional technology adopts the same alarm type for both the above two usage scenarios, and as described above, in order to prevent false triggering of an alarm, the conventional technology needs to judge the validity of a user before implementing the alarm, and then continues to implement the alarm. However, when an emergency is encountered in a bank place and an alarm needs to be given in time, the conventional technology is obviously insufficient in this respect.
Disclosure of Invention
An object of the embodiments of the present invention is to provide a mobile terminal alarm method, an apparatus thereof, and an electronic device, which solve the technical problem that the existing mobile terminal cannot flexibly configure an alarm type according to a use environment to perform an alarm.
In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:
in a first aspect, an embodiment of the present invention discloses a mobile terminal alarm method, where the method includes: determining an alarm type in response to a triggering event; receiving voice information; converting the voice information into text information; and if the text information has a field matched with a preset alarm field, starting the mobile terminal to alarm according to the alarm type.
Optionally, the trigger event includes a geographic location of the mobile terminal, and the alarm type includes a first alarm type; the determining an alarm type in response to the triggering event includes: acquiring the geographic position of the mobile terminal; judging whether the geographic position of the mobile terminal is within a preset alarm range of a designated area; if so, switching the alarm type of the mobile terminal to the first alarm type; if not, continuously determining the alarm type of the mobile terminal.
Optionally, when the alarm type is the first alarm type, the starting of the alarm of the mobile terminal according to the alarm type includes: and starting the mobile terminal to alarm according to the first alarm type.
Optionally, the trigger event includes a time point of the mobile terminal, and the alarm type includes a second alarm type and a default alarm type; the determining an alarm type in response to the triggering event includes: acquiring a time point of a mobile terminal; judging whether the time point of the mobile terminal falls into the range of a specified time period or not; if the alarm type of the mobile terminal falls into the second alarm type, switching the alarm type of the mobile terminal to the second alarm type; and if the alarm type does not fall into the alarm type, continuing to determine the alarm type of the mobile terminal.
Optionally, when the alarm type is the second alarm type, the starting of the mobile terminal alarm according to the alarm type further includes: acquiring the acceleration of the mobile terminal; if the acceleration of the mobile terminal is larger than a preset threshold value, starting the mobile terminal to alarm according to the second alarm type; and if the acceleration of the mobile terminal is smaller than a preset acceleration threshold value, the mobile terminal is not started to alarm.
Optionally, when the alarm type is the second alarm type, the starting of the alarm of the mobile terminal according to the alarm type includes: counting the total times of the text information existing in the field matched with the preset alarm field; if the total times are larger than the preset total times of alarm, starting the mobile terminal to alarm according to the second alarm type; if the total times are less than the preset alarm total times, the mobile terminal is not started to alarm.
In a second aspect, an embodiment of the present invention provides a mobile terminal alarm device, where the device includes: the response module is used for responding to the trigger event and determining the alarm type; the receiving module is used for receiving voice information; the conversion module is used for converting the voice information into text information; and the starting module is used for starting the mobile terminal to alarm according to the alarm type if the text information has a field matched with a preset alarm field.
Optionally, the trigger event includes a geographic location of the mobile terminal, and the alarm type includes a first alarm type; the response module includes: the first acquisition unit is used for acquiring the geographic position of the mobile terminal; the first judgment unit is used for judging whether the geographic position of the mobile terminal is within a preset alarm range of a designated area; the first switching unit is used for switching the mobile terminal to a first alarm type if the mobile terminal is in the first alarm type; and the first determining unit is used for continuously determining the alarm type of the mobile terminal if the mobile terminal does not belong to the alarm type.
Optionally, when the alarm type is the first alarm type, the starting module includes: and the first starting unit is used for starting the mobile terminal to alarm according to the first alarm type.
Optionally, the trigger event includes a time point of the mobile terminal, and the alarm type includes a second alarm type; the response module includes: the second acquisition unit is used for acquiring the time point of the mobile terminal; the second judging unit is used for judging whether the time point of the mobile terminal falls into the range of a specified time period or not; the second switching unit is used for switching the alarm type of the mobile terminal to the second alarm type if the alarm type of the mobile terminal falls into the second alarm type; and the second determining unit is used for continuously determining the alarm type of the mobile terminal if the mobile terminal does not fall into the alarm type.
Optionally, when the alarm type is the second alarm type, the starting module further includes: a third obtaining unit, configured to obtain an acceleration of the mobile terminal; the second starting unit is used for starting the mobile terminal to alarm according to the second alarm type if the acceleration of the mobile terminal is greater than a preset threshold; and the third starting unit is used for not starting the mobile terminal to alarm if the acceleration of the mobile terminal is smaller than a preset acceleration threshold value.
Optionally, when the alarm type is the second alarm type, the starting module includes: the counting unit is used for counting the total times of the text information existing in the field matched with the preset alarm field; the fourth starting unit is used for starting the mobile terminal to alarm according to the second alarm type if the total times are more than the preset alarm total times; and the fifth starting unit is used for not starting the mobile terminal to alarm if the total times are less than the preset alarm total times.
In a third aspect, an embodiment of the present invention provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform any of the above mobile terminal alert methods.
In various embodiments of the present invention, the type of alarm is determined by responding to a triggering event. And when the voice information is received, converting the voice information into text information, and if the text information has a field matched with a preset alarm field, starting the mobile terminal to alarm according to the alarm type. Therefore, different trigger events can correspond to different use environments, different use environments correspond to different alarm types, and the mobile terminal flexibly configures the corresponding alarm types to start the alarm according to the different use environments, so that the alarm mode is diversified, and the user experience is improved.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an alarm device of a mobile terminal according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the structure of a response module provided in FIG. 2;
FIG. 4 is a schematic diagram of the start module of FIG. 2;
FIG. 5 is a schematic diagram of the structure of another response module provided in FIG. 2;
fig. 6 is a flowchart illustrating an alarm method of a mobile terminal according to an embodiment of the present invention;
FIG. 7 is a schematic flow chart of step 61 provided in FIG. 6;
fig. 8 is a flowchart illustrating an alarm method of a mobile terminal according to another embodiment of the present invention;
FIG. 9 is a schematic flow chart of FIG. 6 providing an alternative step 61;
FIG. 10 is a schematic flow chart of a step 64 provided in FIG. 6;
FIG. 11 is a schematic flow chart of FIG. 6 providing an alternative step 64;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The mobile terminal described herein may include a portable phone, a smart phone, a tablet, a notebook, a tablet PC, a laptop computer, a digital broadcasting terminal, a personal digital assistant (PAD), a Portable Multimedia Player (PMP), and a navigator.
As shown in fig. 1, the mobile terminal 100 includes a wireless communication unit 11, an audio/video (a/V) input unit 12, a user input unit 13, a sensing unit 14, an output unit 15, a display unit 16, a memory 17, an interface unit 18, and a controller 19.
The mobile terminal 100 may include a multi-mode (multi-mode) portable terminal that is respectively connected to communication networks according to at least two communication methods or at least two operators, and a multi-standby (multi-standby) portable terminal that is simultaneously connected to the communication networks according to at least two communication methods or at least two operators.
For illustrative purposes, a terminal according to an embodiment of the present invention is described as a multi-standby terminal as an example. The multi-standby terminal is a portable terminal as shown below, that is: which is simultaneously connected to three communication networks selected from a plurality of communication methods including, for example, Code Division Multiple Access (CDMA), global system for mobile communications (GSM), Wideband Code Division Multiple Access (WCDMA), or wireless broadband (Wibro).
The wireless communication unit 11 may include at least one module capable of enabling wireless communication between the terminal and a wireless communication system or between the terminal and a network in which the mobile terminal is located. For example, the wireless communication unit 11 includes a broadcast receiving module, a mobile communication module, a wireless internet module, a short-range communication module, and a location information module.
The broadcast receiving module receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. Here, the broadcast channel may include a satellite channel and a terrestrial channel. The broadcast management server refers to a server as follows: which generates and transmits a broadcast signal and/or broadcast associated information, or receives an already-generated broadcast signal and/or broadcast associated information and transmits the already-generated broadcast signal and/or broadcast associated information to a terminal. The broadcast signal may include not only a television broadcast signal, a radio broadcast signal, and a data broadcast signal, but also a broadcast signal in a form in which a data broadcast signal is combined with a television broadcast signal or a radio broadcast signal.
The broadcast associated information may refer to information related to a broadcast channel, a broadcast program, or a broadcast service provider. The broadcast associated information may also be provided through a mobile communication network. In this case, the broadcast associated information may be received by the mobile communication module. The broadcasting related information may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB) or an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H).
The broadcast receiving module may receive a digital broadcast signal using a digital broadcasting system such as terrestrial digital multimedia broadcasting (DMB-T), satellite digital multimedia broadcasting (DMB-S), media forward link only (MediaFLO), digital video broadcasting-handheld (DVB-H), or terrestrial integrated services digital broadcasting (ISDB-T). It should be noted that the broadcast receiving module 111 may be included to be suitable not only for the above-described digital broadcasting system but also for other broadcasting systems. The broadcast signal and/or the broadcast associated information received through the broadcast receiving module may also be stored in the memory.
The mobile communication module transmits or may receive a wireless signal to or from at least one of a base station, an external terminal, and a server on a mobile communication network. Here, the wireless signal may include a voice call signal, a video call signal, or various forms of data according to the reception and transmission of the character/multimedia message.
The wireless internet module refers to a module for wireless internet connection, and may be built in or out of the terminal. Wireless internet technologies such as wireless lan (wlan) (Wi-Fi), wireless broadband (Wibro), worldwide interoperability for microwave access (Wimax), High Speed Downlink Packet Access (HSDPA) may be used.
The short-range communication module refers to a module for performing short-range communication. Short range communication technologies such as Bluetooth (Bluetooth), Radio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), or ZigBee may be used. The location information module is a module for obtaining a location of the mobile terminal, such as a Global Positioning System (GPS) module.
In addition, an audio/video (a/V) input unit 12 is used to input an audio signal or a video signal, and may include a camera and a microphone (microphone). The camera processes a still image or a video frame such as a moving picture obtained by an image sensor in a video call mode or a photographing mode. The processed video frame may be displayed on a display unit. The video frames processed by the camera may be stored in the memory or may be transmitted to the outside through the wireless communication unit. Two or more cameras may be included depending on the user environment.
The microphone receives an external sound signal through the microphone in a call mode, a recording mode, or a voice recognition mode, and processes the sound signal into electric voice data. For the call mode, the processed sound data may be converted into a format capable of being transmitted to a mobile communication base station through a mobile communication module to be output. In the microphone, various noise removal algorithms for removing noise generated during reception of an external sound signal may be implemented.
The user input unit 13 generates input data for controlling the operation of the terminal by the user. The user input unit may include, for example, a keyboard, a dome switch (dome switch), a touch pad (constant voltage/constant current), a jog wheel (jog wheel), or a jog switch (jog switch). The user input unit may include an identification module selection switch for generating a selection signal for selecting a specific identification module among the plurality of selection modules.
The sensing unit 14 may detect a current state of the mobile terminal, such as an open/close state of the mobile terminal, a position of the terminal, whether contact is made with a user, a direction of the terminal, or acceleration/deceleration of the mobile terminal, to generate a sensing signal for controlling an operation of the terminal. For example, when the terminal is a slide phone type, whether the slide phone is opened or closed may be sensed. In addition, whether the power supply unit supplies power or whether an external device is connected to the interface unit may be sensed. The sensing unit may include, for example, a touch sensor and a proximity sensor. The touch sensor is a sensor for detecting a touch operation. For example, the touch sensor may have the form of a touch film, a touch sheet, or a touch unit.
The touch sensor may have an interlayer structure (hereinafter, referred to as a "touch screen") together with the display unit. The touch sensor may be configured to convert a pressure applied to a specific portion of the display unit or a change in capacitance generated at the specific portion of the display unit into an electrical input signal. The touch sensor may be configured to detect not only a position and an area of a touch but also a pressure of the touch.
When there is a touch input on the touch sensor, a signal (or signals) corresponding thereto is sent to the touch controller. The touch controller processes the signal(s) and then sends corresponding data to the controller. Thus, the controller may determine which region of the display unit is touched.
In some embodiments, the sensing unit 14 of the mobile terminal 100 may include two touch units, namely a first touch unit 141 and a second touch unit 142, where the first touch unit 141 is capable of responding to a first touch instruction input by a user, and the second touch unit 142 is capable of responding to a second touch instruction input by the user, and each touch instruction may be a track operation, a click operation, a double-click operation, and the like performed on a touch-sensitive surface of the touch unit.
The proximity sensor may be arranged in an inner area of the terminal surrounded by or close to the touch screen. A proximity sensor refers to a sensor for detecting the presence of an object approaching a predetermined detection surface or existing in the vicinity using a force in an electromagnetic field or infrared light without mechanical contact. In addition, proximity sensors have a longer lifetime and higher utility than contact sensors.
Examples of the proximity sensor include a transmission type photosensor, a direct reflection type photosensor, a mirror reflection type photosensor, a high-frequency oscillation type proximity sensor, a capacitance type proximity sensor, a magnetic proximity sensor, and an infrared light proximity sensor. When the touch screen is capacitive, the touch screen is configured to detect the proximity of a pointer by a change in an electric field due to the proximity of the pointer. In this case, the touch screen (touch sensor) may be classified as a proximity sensor.
"proximity touch" refers to an action that causes a pointer that does not contact the touch screen but is in proximity to the touch screen to be recognized as being located on the touch screen. "contact touch" refers to an action of actually contacting a pointer on a touch screen. The position where the pointer makes the proximity touch on the touch screen represents a position where the pointer vertically corresponds to the touch screen when the pointer makes the proximity touch.
The proximity sensor detects a proximity touch and a proximity touch pattern (e.g., a proximity touch distance, a proximity touch direction, a proximity touch speed, a proximity touch time, a proximity touch position, a proximity touch movement, etc.). Information corresponding to the detected proximity touch and the proximity touch pattern may be output on the touch screen.
The display unit 16 displays (outputs) information processed in the terminal 100. For example, when the terminal is in a call mode, a User Interface (UI) or a Graphic User Interface (GUI) related to a call is displayed. When the terminal is in a video call mode or a photographing mode, photographed and/or received images, a UI or a GUI are displayed.
The display unit 16 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor liquid crystal display (TFT LCD), an organic light emitting diode display (OLED), a flexible display, and a three-dimensional (3D) display.
There may be two or more display units depending on the implementation form of the terminal. For example, in a terminal, a plurality of displays may be separately or integrally arranged on a surface, or respectively arranged on different surfaces.
The output unit 15 is used to generate an output related to a visual sense, an auditory sense, or a touch, and may include a sound output module, an alarm unit, and a haptic module.
The sound output module may output audio data received from the wireless communication unit or output audio data stored in the memory upon receiving a call signal in a call mode, a recording mode, a voice recognition mode, or a broadcast reception mode. The sound output module may output a sound signal related to a certain function performed by the mobile terminal (e.g., a sound of receiving a call signal, a sound of receiving a message, etc.). The sound output module may include a receiver, a speaker, or a buzzer.
The alarm unit outputs a signal for notifying the occurrence of an event of the terminal. Examples of the event occurring in the mobile terminal include the reception of a call signal, the reception of a message, a key signal input, and a touch input. The alarm unit may output a signal other than a video signal or an audio signal, for example, a signal notifying occurrence of an event by vibration. The video signal or the audio signal may be output through the display unit or the sound output module. Thus, the display unit or the sound output module may be classified as a part of the alarm unit.
The haptic module generates various haptic effects that a user can feel. A typical example of a haptic effect generated by a haptic module is vibration. The intensity and pattern of the vibrations generated by the haptic module may be controlled. For example, different vibrations may be output synthetically or sequentially.
The haptic module may generate various haptic effects other than vibration, such as the effects of various stimuli: for example, an array of pins that move vertically with respect to the skin-contacting surface, air jet or suction through an orifice or suction hole, rubbing across the skin surface, contact of electrodes, or electrostatic forces and the use of elements that can absorb or release heat to reproduce the effects of cold and heat.
The haptic module can not only transmit a haptic effect by a direct touch but also implement a haptic effect by, for example, a muscle sense of a finger or an arm of a user. Two or more haptic modules may be provided according to the type of formation of the terminal.
The memory 17 may store a program for operating the controller, and may temporarily store input/output data (e.g., address book, message, still image, video, etc.). The memory may also store data related to various patterns of vibration and sound output when a touch input is applied to the touch screen.
The memory may include at least one of the following types of storage media: flash memory type memory, hard disk type memory, micro multimedia card type memory, card type memory (e.g., SD or XD memory), Random Access Memory (RAM), Static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), magnetic memory, magnetic disk, and optical disk. The terminal may operate in association with a network storage that performs a storage function of the memory on the internet.
The interface unit 18 performs a function of a path connecting all external devices to the terminal. The interface unit receives data from an external device, is supplied with power and transfers power to each element within the terminal, or transmits data within the terminal to the external device. For example, a wired/wireless headset port, an external charger port, a wired/wireless data port, a memory card port, a port for connecting to a device having an identification module, an audio input/output (I/O) port, a video input/output (I/O) port, and a headset port may be included in the interface unit.
The identification module is a chip storing various information for authenticating a user's access to the terminal, and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), and a Universal Subscriber Identity Module (USIM). A device having an identification module (hereinafter referred to as "identification device") may be manufactured in the form of a smart card. Thus, the identification device may be connected with the terminal via the port.
The interface unit may be used as a path for supplying power from the cradle to the terminal when the terminal is connected with an external cradle, or a path for transmitting various command signals input by a user through the cradle to the mobile terminal. Various command signals or power input from the cradle may be used as a signal for identifying whether the terminal is properly mounted to the cradle.
In addition, the controller 19 controls the overall operation of the mobile terminal. For example, the controller 19 may perform control and processing related to a voice call, data communication, or video call. The controller 19 may include a multimedia module for playing multimedia. The multimedia module may be implemented within the controller and may be implemented separately from the controller 19.
In a hardware implementation, the embodiments described herein may be implemented using at least one of the following: application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), processors, controllers, micro-controllers, microprocessors, and other electronic units performing these functions. In some cases, these embodiments may be implemented by the controller 19.
The mobile terminal disclosed by the embodiment of the invention can complete the output of various logic functions. Wherein the mobile terminal is capable of automatically alerting in case of an emergency or dangerous situation.
Specifically, the mobile terminal determines an alert type in response to a triggering event. The trigger event is used for instructing the mobile terminal to select a corresponding alarm type, and the trigger event may include a geographical location of the mobile terminal or a time point at which the mobile terminal is located, or a default trigger event, and the like. Further, when the triggering event is the geographical location of the mobile terminal, it corresponds to the first alarm type. And when the trigger event is the time point of the mobile terminal, the trigger event corresponds to a second alarm type.
When the mobile terminal detects that the condition of the trigger event is met, the alarm type corresponding to the trigger event is determined.
When the mobile terminal obtains the current geographic position of the mobile terminal through a positioning module in the wireless communication unit and detects that the current geographic position of the mobile terminal is located in a preset alarm range of a designated area, the alarm type of the mobile terminal is switched to the first alarm type. And when detecting that the current geographic position of the mobile terminal is not located in the preset alarm range of the designated area, continuously determining the alarm type of the mobile terminal. The designated area and the preset alarm range of the designated area are defined by the mobile terminal in advance or by the mobile terminal in a default manner by the user, and no limitation is made on the area. For example, the designated area may be a user-designated office, private house, entertainment venue, and public venue, and the preset alarm range of the designated area corresponds to a range of several meters of the user-designated office, private house, entertainment venue, and public venue. For another example, the user designates a range within 100 meters from the office building "eastern sunrise" as a preset alarm range centered on the office building "eastern sunrise". For another example, the user designates a range within 2000 meters from the Guangzhou train station as a preset alarm range centered on the Guangzhou train station. For another example, when the mobile terminal detects that the user does not preset the designated area and the preset alarm range of the designated area, the mobile terminal jumps to the default definition and executes the logic of the default definition. For example, the default defined designated area is a bank place or an ATM machine or an area with a high crime rate, and when the mobile terminal detects that the current geographic location of the mobile terminal is in any of the above-mentioned areas, the alarm type of the mobile terminal is switched to the first alarm type.
Therefore, the mobile terminal can configure the corresponding alarm type according to the current geographic position of the user using the mobile terminal, so as to cope with various environmental changes.
The difference from the above embodiment is that: and when the mobile terminal detects that the time point of the mobile terminal falls within the range of the specified time period, then switching the alarm type of the mobile terminal to a second alarm type. And when the mobile terminal detects that the time point of the mobile terminal does not fall within the range of the specified time period, continuously determining the alarm type of the mobile terminal. The range of the specified time period is defined by the user at the mobile terminal in advance or by the mobile terminal itself by default, and no limitation is made here. For example, the user may predefine the specified time period between 8 pm and 9 pm (perhaps the user passes a remote place when returning home from 8 pm to 9 pm), so that the mobile terminal of the user switches to the second alarm type when the current time point of the mobile terminal of the user enters 8 pm. When the current time point of the mobile terminal of the user does not fall between 8 o 'clock and 9 o' clock in the evening, the mobile terminal is switched to the default alarm type. For another example, the user defines the specified time period in advance to be between 12 pm and 6 am every monday to friday, and then when the current time point of the mobile terminal of the user enters 12 pm, the mobile terminal is switched to the second alarm type. When the current time point of the mobile terminal of the user does not fall between 12 pm and 6 am, the mobile terminal is switched to the default alarm type. When the mobile terminal detects that the user does not preset the range of the specified time period, the mobile terminal jumps to the default definition and executes the logic of the default definition. For example, the default defined specified time period ranges from 12 a night to 3 a morning, and when the mobile terminal detects that the current time point of the mobile terminal is in the specified time period range, the alarm type of the mobile terminal is switched to the second alarm type.
The difference from the above embodiment is that: the mobile terminal can determine the alarm type according to the geographic position of the mobile terminal and the time point of the mobile terminal. Specifically, when the mobile terminal detects that the geographic position of the mobile terminal is located in a preset alarm range of a designated area and the time point of the mobile terminal is within a range of a designated time period, the mobile terminal determines the alarm type according to a preset priority level. More specifically, under the above condition, when the mobile terminal detects that the priority level of the first alarm type is higher than that of the second alarm type, the mobile terminal switches to the first alarm type. Or when the mobile terminal detects that the priority level of the second alarm type is higher than that of the first alarm type, the mobile terminal switches to the second alarm type.
The difference from the above embodiment is that: the trigger event may also be a default trigger event, which is set by the mobile terminal or a user by default, and specifically may be a preset alarm range of a non-specified area and/or a range of a non-specified time period. When the mobile terminal detects that the current geographic position of the mobile terminal is not in the preset alarm range of the designated area or does not fall into the range of the designated time period, the mobile terminal is switched to the default alarm type.
After describing the trigger event type and the determined alarm type of the above embodiments, when the mobile terminal receives the voice message, the mobile terminal converts the voice message into text message. The voice message may be sent by a user or by an audio device, wherein the user may be the owner of the mobile terminal or the non-owner of the mobile terminal. The voice information captured by the mobile terminal includes acoustic properties that the sound signal has, such as timbre, pitch, and loudness. The manner in which the speech information is converted into text information is well known to those skilled in the art and will not be described in detail herein.
The text information and each word in the voice information correspond to each other, and the mobile terminal obtains the content expressed by the user by analyzing the text information.
The text message may or may not include an alarm field. The designer trains various alarm fields in advance according to product requirements, and the alarm fields are prestored in a dictionary base of the mobile terminal. The alert field may be assigned by the meaning of a word, such as: the alarm fields are robbery, immobility, hand lifting, kidnapping, gun taking, alarm, fast point alarm, down mould today and the like. However, in some embodiments, the alert field may be assigned by an emoticon plus a word, such as: crash! | A "," screaming sound! "and the like. It is worth noting that: the preset alarm field is not necessarily a field having alarm meaning, and may also be a field conforming to a preset alarm, as described above, "today is very moldy", the mobile terminal detects the existence of the preset alarm field corresponding to "today is moldy", and the mobile terminal may also alarm because in some emergency or dangerous situations, the user may not be able to speak an alarm message that can cause the attention of thieves while the thieves are present, for example, the user speaks "fast alarm", and the thieves are likely to perform illegal activities on the user. Therefore, in order to be able to implement the alarm with better security, the aforementioned training of the alarm field may be employed.
And when the mobile terminal judges that the text information has a field matched with the preset alarm field, starting the mobile terminal to alarm according to the alarm type. And when the mobile terminal judges that the text information has no field matched with the preset alarm field, the mobile terminal is not started to alarm. For example: the voice information sent by the owner of the mobile terminal is ' robbed ', the money is hidden ', the mobile terminal accesses the dictionary bank, judges that the text information has a field ' robbery ' matched with the preset alarm field ' robbery ', and starts the mobile terminal to alarm according to the alarm type. For another example: the voice information sent by the owner of the mobile terminal is 'bad mould today, do not kill me', the mobile terminal accesses the dictionary base, judges that the text information has a field 'bad mould today' matched with a preset alarm field 'bad mould today', and starts the mobile terminal to alarm according to the alarm type.
And the mobile terminal selects different alarm modes to alarm according to different alarm types.
As previously described, when the mobile terminal determines that the current alert type is the first alert type, the mobile terminal directly initiates an alert. The alarm mode can be that a positioning function is automatically turned on in a background of the mobile terminal, the geographic position in the positioning system is automatically edited into a short message which is sent to a set telephone number in the background, the set alarm telephone or the emergency contact telephone is dialed in the background (if the person is in danger, the alarm telephone is not easy to find than the person when the alarm telephone is dialed in the background operation), when the danger is relieved, a specific word representing the relief of the alarm is spoken in a range received by a microphone on the mobile terminal, the mobile terminal automatically analyzes and compares the received specific word with the word input in advance, an alarm relieving instruction is activated when the analysis and comparison result is the specific word representing the relief of the alarm, the mobile terminal is automatically turned off for positioning, and the background telephone dialing is stopped. For example: when a user appears in a certain bank building (within 200 meters of a designated area) to transact a withdrawal, and encounters thieves and robberies within 150 meters of the bank building, the user speaks: today, we have to go down to mould, and our money is given to you without killing me. When the mobile phone (mobile terminal) of the user acquires the voice information and analyzes that a field 'mildew today' matched with a preset alarm field 'mildew today' exists, the mobile terminal is directly started to alarm according to the first alarm type.
Therefore, it can configure the alarm type according to the geographical position of the user using the mobile terminal and automatically start the alarm.
As mentioned above, when the mobile terminal determines that the current alarm type is the second alarm type, the mobile terminal starts to acquire the acceleration of the mobile terminal, and if the acceleration of the mobile terminal is greater than the preset acceleration threshold, the mobile terminal is started to alarm according to the second alarm type; if the acceleration of the mobile terminal is smaller than the preset acceleration threshold, the mobile terminal is not started to alarm. According to common knowledge, when a person faces a threat of an emergency or dangerous emergency such as a robbery, the user habitually suddenly accelerates to escape from the threat. Therefore, in the process that the user rapidly escapes from the mobile terminal, the instantaneous acceleration of the mobile terminal is suddenly increased. Therefore, when the mobile terminal is switched to the second alarm type, the alarm is started by judging that the current acceleration is greater than the preset acceleration threshold value. For example: the user is on the way home from work, usually through a dark remote lane at some time period from 8 pm to 9 pm. The user then sets the range of the specified time period to between 8 and 9 dots per night. When the user's handset (mobile terminal) starts entering the lane at 8 pm at 15, the user's handset has now entered the second alert type. When passing the lane, unfortunately, the user encounters a bad fighting event, and then the user runs quickly with the mobile phone and escapes quickly from the fighting site. At this time, the mobile phone already detects that the acceleration is greater than the preset acceleration threshold, and therefore the mobile phone starts to alarm. The alarm mode is as described above and will not be described herein.
Thus, on the one hand, it is able to configure the alarm type according to the point in time at which the user uses the mobile terminal, and automatically activate the alarm. On the other hand, it can also prevent false triggering alarm.
The above embodiment is an implementation manner of the mobile terminal performing an alarm in the second alarm type. However, the following embodiments of the present invention also provide another implementation manner in which the mobile terminal performs an alarm under the second alarm type. The difference from the above embodiment is that when the alarm type is the second alarm type, the mobile terminal counts the total times that the text information has the field matched with the preset alarm field, and if the total times is greater than the preset alarm total times, the mobile terminal is started to alarm according to the second alarm type. If the total times are less than the preset alarm total times, the mobile terminal is not started to alarm. For example: the user is on the way home from work, usually through a dark remote lane at some time period from 8 pm to 9 pm. The user then sets the range of the specified time period to between 8 and 9 dots per night. When the user's handset (mobile terminal) starts entering the lane at 8 pm at 15, the user's handset has now entered the second alert type. When the user passes the lane, unfortunately, the user is robbed and the user and the gangster complete the following conversation:
gangsters: robbery takes all of your money out of the pool, but you look good!
The user: do you know who the son is? Dare to robbe me?
Gangsters: no matter who you are, what I called you do, else I kill you!
The user: the inventor stands still, and even if the inventor works up with the mould today, the inventor works up with the mould.
The mobile terminal converts each sentence into text information, analyzes all the text information, and accesses a dictionary database containing preset alarm fields. Wherein, the dictionary database comprises the following preset alarm fields: robbing, money, killing, exciting, reversing mold and doing care. The total number of alarms is preset to be 2. And the mobile terminal judges that the total times 6 are greater than the preset alarm total times 2, and starts alarm.
Thus, on the one hand, it is able to configure the alarm type according to the point in time at which the user uses the mobile terminal, and automatically activate the alarm. On the other hand, it can also prevent false triggering alarm.
And as mentioned above, when the mobile terminal determines that the current alarm type is the default alarm type, the mobile terminal judges whether the user is a legal user according to the voice information, and when the user is judged to be a legal user, the mobile terminal judges that the text information has a field matched with the preset alarm field, and then starts the mobile terminal to alarm. And when the user is judged to be an illegal user, the mobile terminal is not started to alarm. For example, when a user is present in a dining room (which is not a designated area range) using a mobile phone, the mobile terminal determines that the current alarm type is the default alarm type. Further, when the mobile terminal receives the voice message, the tone information is extracted from the voice message, and whether the user inputting the voice message is a legal user (for example, a mobile phone owner) is judged according to the tone information, and if not, the mobile terminal is not started to alarm. If the user is legal, the mobile terminal judges that the text information has a field matched with the preset alarm field, and then the mobile terminal is started to alarm. For another example: when the user appears between 12 pm and 14 pm (which is a range other than the specified time period) using the handset, the mobile terminal determines that the current alert type is the default alert type. Further, when the mobile terminal receives the voice message, the tone information is extracted from the voice message, and whether the user inputting the voice message is a legal user (for example, a mobile phone owner) is judged according to the tone information, and if not, the mobile terminal is not started to alarm. If the user is legal, the mobile terminal judges that the text information has a field matched with the preset alarm field, and then the mobile terminal is started to alarm.
In sum, different trigger events can correspond to different use environments, different use environments correspond to different alarm types, and the mobile terminal flexibly configures the corresponding alarm types according to the different use environments to start the alarm, so that the alarm mode is diversified, and the user experience is improved.
As still another aspect of the embodiments of the present invention, an embodiment of the present invention provides a mobile terminal alarm device. The mobile terminal alarm device can realize alarm by means of software and a universal hardware platform. Specifically, as shown in fig. 2, the mobile terminal alarm device 200 includes a response module 21, a receiving module 22, a conversion module 23, and an activation module 24.
The response module 21 is configured to determine the type of alarm in response to a triggering event. The trigger event is used for instructing the mobile terminal to select a corresponding alarm type, and the trigger event may include a geographical location of the mobile terminal or a time point at which the mobile terminal is located, or a default trigger event, and the like. Further, when the triggering event is the geographical location of the mobile terminal, it corresponds to the first alarm type. And when the trigger event is the time point of the mobile terminal, the trigger event corresponds to a second alarm type.
When the mobile terminal detects that the condition of the trigger event is met, the alarm type corresponding to the trigger event is determined.
The receiving module 22 is configured to receive the voice message, and the converting module 23 is configured to convert the voice message into a text message. The voice message may be sent by a user or by an audio device, wherein the user may be the owner of the mobile terminal or the non-owner of the mobile terminal. The voice information captured by the mobile terminal includes acoustic properties that the sound signal has, such as timbre, pitch, and loudness. The manner in which the conversion module 23 converts the speech information into the text information is well known to those skilled in the art and will not be described in detail herein.
The text information and each word in the voice information correspond to each other, and the mobile terminal obtains the content expressed by the user by analyzing the text information.
The text message may or may not include an alarm field. The designer trains various alarm fields in advance according to product requirements, and the alarm fields are prestored in a dictionary base of the mobile terminal. The alert field may be assigned by the meaning of a word, such as: the alarm fields are robbery, immobility, hand lifting, kidnapping, gun taking, alarm, fast point alarm, down mould today and the like. However, in some embodiments, the alert field may be assigned by an emoticon plus a word, such as: crash! | A "," screaming sound! "and the like. It is worth noting that: the preset alarm field is not necessarily a field having alarm meaning, and may also be a field conforming to a preset alarm, as described above, "today is very moldy", the mobile terminal detects the existence of the preset alarm field corresponding to "today is moldy", and the mobile terminal may also alarm because in some emergency or dangerous situations, the user may not be able to speak an alarm message that can cause the attention of thieves while the thieves are present, for example, the user speaks "fast alarm", and the thieves are likely to perform illegal activities on the user. Therefore, in order to be able to implement the alarm with better security, the aforementioned training of the alarm field may be employed.
The starting module 24 is configured to start the mobile terminal to alarm according to the alarm type if the text information has a field matching the preset alarm field, and the starting module 24 is configured to not start the mobile terminal to alarm if the text information does not have a field matching the preset alarm field. For example: the voice message sent by the owner of the mobile terminal is ' robbed ' and the money is hidden ', the starting module 24 accesses the dictionary database, judges that the text message has a field ' robbery ' matched with the preset alarm field ' robbery ', and starts the mobile terminal to alarm according to the alarm type. For another example: the voice message sent by the owner of the mobile terminal is 'bad mould today, do not kill me', the starting module 24 accesses the dictionary library, judges that the text message has a field 'bad mould today' matched with the preset alarm field 'bad mould today', and starts the mobile terminal to alarm according to the alarm type.
Therefore, different trigger events can correspond to different use environments, different use environments correspond to different alarm types, and the mobile terminal flexibly configures the corresponding alarm types to start the alarm according to the different use environments, so that the alarm mode is diversified, and the user experience is improved.
In some embodiments, the triggering event includes a geographic location of the mobile terminal and the alert type includes a first alert type. The mobile terminal can select different alarm modes to alarm according to different alarm types. Correspondingly, as shown in fig. 3, the response module 21 includes a first obtaining unit 211, a first determining unit 212, a first switching unit 213, and a first determining unit 214, where the first obtaining unit 211 is configured to obtain the geographic location of the mobile terminal. The first determining unit 212 is configured to determine whether the geographic location of the mobile terminal is within a preset alarm range of the designated area. The first switching unit 213 is configured to switch the mobile terminal to the first alarm type if yes. The first determining unit 214 is configured to, if not, continue to determine the alarm type to which the mobile terminal belongs.
When the alarm type is the first alarm type, as shown in fig. 4, the starting module 24 includes a first starting unit 241, and the first starting unit 241 is configured to start the mobile terminal alarm according to the first alarm type.
Here, the implementation principle that the mobile terminal can configure the corresponding alarm type according to the current geographic location where the user uses the mobile terminal may be described with reference to the above embodiments, and details are not described herein.
The mobile terminal can configure the corresponding alarm type according to the current geographic position of the mobile terminal used by the user so as to cope with various environmental changes.
In some embodiments, the triggering event comprises a point in time at which the mobile terminal is located, and the alert type comprises a second alert type. The difference from the above embodiment is that, as shown in fig. 5, the response module 21 includes a second obtaining unit 215, a second determining unit 216, a second switching unit 217, and a second determining unit 218, where the second obtaining unit 215 is configured to obtain a time point of the mobile terminal; the second judging unit 216 is configured to judge whether a time point of the mobile terminal falls within a range of a specified time period; the second switching unit 217 is used for switching the alarm type of the mobile terminal to a second alarm type if the mobile terminal falls into the second alarm type; the second determining unit 218 is configured to, if the mobile terminal does not fall into the second determining unit, continue to determine the alarm type to which the mobile terminal belongs.
When the alarm type is the second alarm type, in some embodiments, as shown in fig. 4, the starting module 24 further includes a third obtaining unit 242, a second starting unit 243, and a third starting unit 244, where the third obtaining unit 242 is configured to obtain an acceleration of the mobile terminal; the second starting unit 243 is configured to start the mobile terminal to alarm according to the second alarm type if the acceleration of the mobile terminal is greater than the preset threshold; the third starting unit 244 is configured to not start the mobile terminal alarm if the acceleration of the mobile terminal is smaller than the preset acceleration threshold.
The difference from the above embodiment is that: when the alarm type is the second alarm type, as shown in fig. 4, the starting module 24 includes a counting unit 245, a fourth starting unit 246, and a fifth starting unit 247, where the counting unit 245 is configured to count the total number of times that the text information has a field matching the preset alarm field; the fourth starting unit 246 is used for starting the mobile terminal to alarm according to the second alarm type if the total times are greater than the preset alarm total times; the fifth starting unit 247 is configured to not start the mobile terminal to alarm if the total number of times is less than the preset total number of times of alarms.
Here, the implementation principle that the mobile terminal can configure the corresponding alarm type according to the current time point of the mobile terminal used by the user may be described with reference to the above embodiments, and details are not described herein.
As another aspect of the embodiments of the present invention, an embodiment of the present invention provides a mobile terminal alarm method. Referring to fig. 6, the mobile terminal alert method 600 includes:
step 61, responding to a trigger event, and determining an alarm type;
step 62, receiving voice information;
step 63, converting the voice information into text information;
and step 64, if the text information has a field matched with the preset alarm field, starting the mobile terminal to alarm according to the alarm type.
The trigger event is used for instructing the mobile terminal to select a corresponding alarm type, and the trigger event may include a geographical location of the mobile terminal or a time point at which the mobile terminal is located, or a default trigger event, and the like. Further, when the triggering event is the geographical location of the mobile terminal, it corresponds to the first alarm type. And when the trigger event is the time point of the mobile terminal, the trigger event corresponds to a second alarm type. When the mobile terminal detects that the condition of the trigger event is met, the alarm type corresponding to the trigger event is determined.
The voice message may be sent by a user or by an audio device, wherein the user may be the owner of the mobile terminal or the non-owner of the mobile terminal. The voice information captured by the mobile terminal includes acoustic properties that the sound signal has, such as timbre, pitch, and loudness. The manner in which the speech information is converted into text information is well known to those skilled in the art and will not be described in detail herein.
The text information and each word in the voice information correspond to each other, and the mobile terminal obtains the content expressed by the user by analyzing the text information.
The text message may or may not include an alarm field. The designer trains various alarm fields in advance according to product requirements, and the alarm fields are prestored in a dictionary base of the mobile terminal. The alert field may be assigned by the meaning of a word, such as: the alarm fields are robbery, immobility, hand lifting, kidnapping, gun taking, alarm, fast point alarm, down mould today and the like. However, in some embodiments, the alert field may be assigned by an emoticon plus a word, such as: crash! | A "," screaming sound! "and the like. It is worth noting that: the preset alarm field is not necessarily a field having alarm meaning, and may also be a field conforming to a preset alarm, as described above, "today is very moldy", the mobile terminal detects the existence of the preset alarm field corresponding to "today is moldy", and the mobile terminal may also alarm because in some emergency or dangerous situations, the user may not be able to speak an alarm message that can cause the attention of thieves while the thieves are present, for example, the user speaks "fast alarm", and the thieves are likely to perform illegal activities on the user. Therefore, in order to be able to implement the alarm with better security, the aforementioned training of the alarm field may be employed.
And when the mobile terminal judges that the text information has a field matched with the preset alarm field, starting the mobile terminal to alarm according to the alarm type. And when the mobile terminal judges that the text information has no field matched with the preset alarm field, the mobile terminal is not started to alarm. For example: the voice information sent by the owner of the mobile terminal is ' robbed ', the money is hidden ', the mobile terminal accesses the dictionary bank, judges that the text information has a field ' robbery ' matched with the preset alarm field ' robbery ', and starts the mobile terminal to alarm according to the alarm type. For another example: the voice information sent by the owner of the mobile terminal is 'bad mould today, do not kill me', the mobile terminal accesses the dictionary base, judges that the text information has a field 'bad mould today' matched with a preset alarm field 'bad mould today', and starts the mobile terminal to alarm according to the alarm type.
In sum, different trigger events can correspond to different use environments, different use environments correspond to different alarm types, and the mobile terminal flexibly configures the corresponding alarm types according to the different use environments to start the alarm, so that the alarm mode is diversified, and the user experience is improved.
In some embodiments, the triggering event includes a geographic location of the mobile terminal and the alert type includes a first alert type. As shown in fig. 7, step 61 comprises:
611, acquiring the geographic position of the mobile terminal;
step 612, judging whether the geographic position of the mobile terminal is within a preset alarm range of the designated area;
step 613, if yes, switching the alarm type of the mobile terminal to a first alarm type;
and step 614, if not, continuing to determine the alarm type of the mobile terminal.
The contents of the above embodiments may be referred to herein, and on the premise that the contents do not conflict with each other, the contents of the embodiments may be referred to each other, which is not described herein again.
Therefore, the mobile terminal can configure the corresponding alarm type according to the current geographic position of the user using the mobile terminal, so as to cope with various environmental changes.
In some embodiments, when the alarm type is a first alarm type, as shown in fig. 8, step 64 comprises: and starting the mobile terminal to alarm according to the first alarm type.
The difference from the above embodiment is that: the triggering event comprises a time point of the mobile terminal, and the alarm type comprises a second alarm type. As shown in fig. 9, step 61 comprises:
step 615, acquiring the time point of the mobile terminal;
step 616, judging whether the time point of the mobile terminal is in the range of the specified time period;
step 617, if the alarm type of the mobile terminal falls into the second alarm type, switching the alarm type of the mobile terminal to the second alarm type;
and step 618, if the alarm type does not fall into the alarm type, continuing to determine the alarm type of the mobile terminal.
The difference from the above embodiment is that: when the alarm type is the second alarm type, as shown in fig. 10, step 64 includes:
step 641 of acquiring the acceleration of the mobile terminal;
642, if the acceleration of the mobile terminal is larger than a preset acceleration threshold, starting the mobile terminal to alarm according to a second alarm type;
step 643, if the acceleration of the mobile terminal is smaller than the preset acceleration threshold, the mobile terminal is not started to alarm.
The difference from the above embodiment is that: when the alarm type is the second alarm type, as shown in fig. 11, step 64 includes:
step 644, counting the total times of the text information existing in the field matched with the preset alarm field;
step 645, if the total times are larger than the preset alarm total times, starting the mobile terminal to alarm according to the second alarm type;
and 646, if the total times are less than the preset alarm total times, not starting the mobile terminal to alarm.
The contents of the above embodiments may be referred to herein, and on the premise that the contents do not conflict with each other, the contents of the embodiments may be referred to each other, which is not described herein again.
Thus, on the one hand, it is able to configure the alarm type according to the point in time at which the user uses the mobile terminal, and automatically activate the alarm. On the other hand, it can also prevent false triggering alarm.
As another aspect of the embodiments of the present invention, an electronic device is provided. As shown in fig. 12, the electronic device 700 includes: the storage medium 71 and the processor 72 may be connected by a bus or other means, and the processor 72 and the storage medium 71 are connected by a bus in fig. 12 as an example. The storage medium, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the mobile terminal alarm method in the embodiments of the present invention. The processor 72 executes various functional applications and data processing of the mobile terminal alert method, i.e., functions of the respective modules of the mobile terminal alert method of the above-described method embodiments, by executing nonvolatile software programs, instructions, and modules stored in the memory 71.
Therefore, different trigger events can correspond to different use environments, different use environments correspond to different alarm types, and the electronic equipment flexibly configures the corresponding alarm types to start the alarm according to the different use environments, so that the alarm mode is diversified, and the user experience is improved.
The storage medium 71 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 non-volatile solid state storage device. In some embodiments, the storage medium 71 optionally includes memory located remotely from the processor 72, and such remote memory may be connected to the processor 72 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 program instructions/modules are stored in the memory 71 and, when executed by the one or more processors 72, perform the mobile terminal alert method of any of the method embodiments described above, e.g., perform the functions of the various steps described above.
Embodiments of the present invention also provide a non-transitory computer storage medium storing executable instructions of an electronic device, where the executable instructions are executed by one or more processors, such as one of the processors 72 in fig. 12, so that the one or more processors may execute the mobile terminal alarm method in any of the method embodiments, for example, execute the mobile terminal alarm method in any of the method embodiments.
Therefore, different trigger events can correspond to different use environments, different use environments correspond to different alarm types, and corresponding alarm types are flexibly configured according to different use environments to start alarming, so that the alarming mode is diversified, and the user experience is improved.
The above-described embodiments of the apparatus or device are merely illustrative, wherein the unit modules described as separate parts may or may not be physically separate, and the parts displayed as module units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network module units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. Based on such understanding, the above technical solutions substantially or contributing to the related art may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; within the idea of the invention, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (9)

1. A mobile terminal alarm method is characterized by comprising the following steps:
determining an alarm type in response to a trigger event, wherein the trigger event comprises the geographic position and the time point of a mobile terminal, the alarm type comprises a first alarm type and a second alarm type, and the priority level of the first alarm type is higher than that of the second alarm type;
receiving voice information;
converting the voice information into text information;
if the text information has a field matched with a preset alarm field, starting the mobile terminal to alarm according to the alarm type;
when the geographic position of the mobile terminal is within a preset alarm range of a designated area, determining that the alarm type is the first alarm type, and starting the mobile terminal to alarm according to the first alarm type;
when the time point of the mobile terminal falls into the range of a specified time period, determining that the alarm type is the second alarm type, and counting the total times of the text information existing in the field matched with the preset alarm field according to the second alarm type; if the total times are larger than the preset total times of alarm, starting the mobile terminal to alarm according to the second alarm type; if the total times are less than the preset alarm total times, the mobile terminal is not started to alarm.
2. The method of claim 1, wherein determining the type of alarm in response to the triggering event comprises:
acquiring the geographic position of the mobile terminal;
judging whether the geographic position of the mobile terminal is within a preset alarm range of a designated area;
if so, switching the alarm type of the mobile terminal to the first alarm type;
if not, continuously determining the alarm type of the mobile terminal.
3. The method of claim 1, wherein determining the type of alarm in response to the triggering event comprises:
acquiring a time point of a mobile terminal;
judging whether the time point of the mobile terminal falls into the range of a specified time period or not;
if the alarm type of the mobile terminal falls into the second alarm type, switching the alarm type of the mobile terminal to the second alarm type;
and if the alarm type does not fall into the alarm type, continuing to determine the alarm type of the mobile terminal.
4. The method according to claim 3, wherein when the alarm type is the second alarm type, the starting of the mobile terminal alarm according to the alarm type comprises:
acquiring the acceleration of the mobile terminal;
if the acceleration of the mobile terminal is larger than a preset acceleration threshold, starting the mobile terminal to alarm according to the second alarm type;
and if the acceleration of the mobile terminal is smaller than a preset acceleration threshold value, the mobile terminal is not started to alarm.
5. A mobile terminal alarm device, comprising:
the response module is used for responding to a trigger event, determining an alarm type, wherein the trigger event comprises the geographic position and the time point of the mobile terminal, the alarm type comprises a first alarm type and a second alarm type, and the priority level of the first alarm type is higher than that of the second alarm type;
the receiving module is used for receiving voice information;
the conversion module is used for converting the voice information into text information;
the starting module is used for starting the mobile terminal to alarm according to the alarm type if the text information has a field matched with a preset alarm field;
when the geographic position of the mobile terminal is within a preset alarm range of a designated area, determining that the alarm type is the first alarm type, wherein the starting module comprises:
the first starting unit is used for starting the mobile terminal to alarm according to the first alarm type;
when the time point of the mobile terminal falls into the range of the designated time period, determining that the alarm type is the second alarm type, wherein the starting module comprises:
the counting unit is used for counting the total times of the text information existing in the field matched with the preset alarm field;
the fourth starting unit is used for starting the mobile terminal to alarm according to the second alarm type if the total times are greater than the preset alarm total times;
and the fifth starting unit is used for not starting the mobile terminal to alarm if the total times are less than the preset alarm total times.
6. The apparatus of claim 5, wherein the response module comprises:
the first acquisition unit is used for acquiring the geographic position of the mobile terminal;
the first judgment unit is used for judging whether the geographic position of the mobile terminal is within a preset alarm range of a designated area;
the first switching unit is used for switching the mobile terminal to a first alarm type if the mobile terminal is in the first alarm type;
and the first determining unit is used for continuously determining the alarm type of the mobile terminal if the mobile terminal does not belong to the alarm type.
7. The apparatus of claim 5, wherein the response module comprises:
the second acquisition unit is used for acquiring the time point of the mobile terminal;
the second judging unit is used for judging whether the time point of the mobile terminal falls into the range of the specified time period or not;
the second switching unit is used for switching the alarm type of the mobile terminal to a second alarm type if the alarm type of the mobile terminal falls into the second alarm type;
and the second determining unit is used for continuously determining the alarm type of the mobile terminal if the alarm type does not fall into the second determining unit.
8. The apparatus of claim 7, wherein when the alarm type is the second alarm type, the activation module further comprises:
a third obtaining unit, configured to obtain an acceleration of the mobile terminal;
the second starting unit is used for starting the mobile terminal to alarm according to the second alarm type if the acceleration of the mobile terminal is greater than a preset acceleration threshold;
and the third starting unit is used for not starting the mobile terminal to alarm if the acceleration of the mobile terminal is smaller than a preset acceleration threshold value.
9. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the mobile terminal alert method of any one of claims 1 to 4.
CN201710326068.2A 2017-05-10 2017-05-10 Mobile terminal alarm method and device and electronic equipment Active CN107105099B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710326068.2A CN107105099B (en) 2017-05-10 2017-05-10 Mobile terminal alarm method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710326068.2A CN107105099B (en) 2017-05-10 2017-05-10 Mobile terminal alarm method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN107105099A CN107105099A (en) 2017-08-29
CN107105099B true CN107105099B (en) 2020-02-18

Family

ID=59668741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710326068.2A Active CN107105099B (en) 2017-05-10 2017-05-10 Mobile terminal alarm method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN107105099B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107633666A (en) * 2017-09-13 2018-01-26 新丝绸之路科技有限公司 Alarm method, alarm processing method, electronic equipment and computer-readable storage medium
CN108769369A (en) * 2018-04-23 2018-11-06 维沃移动通信有限公司 A kind of method for early warning and mobile terminal
CN109117112B (en) * 2018-08-13 2021-07-27 维沃移动通信有限公司 Voice guide method and terminal equipment
CN109151215B (en) * 2018-10-18 2021-12-24 维沃移动通信有限公司 Alarm method and mobile terminal
CN111276137A (en) * 2018-12-04 2020-06-12 北京嘀嘀无限科技发展有限公司 Method, electronic device and computer readable medium for protecting passengers
CN110675585A (en) * 2019-09-23 2020-01-10 北京华毅东方展览有限公司 Exhibition safety control system
CN114419804B (en) * 2021-12-24 2022-11-11 宁波圣达智能科技有限公司 Bank business library management method, system, storage medium and intelligent terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877751A (en) * 2009-04-29 2010-11-03 英华达(上海)电子有限公司 Safety alarm device and method for mobile equipment
KR101759190B1 (en) * 2011-01-04 2017-07-19 삼성전자주식회사 Method for reporting emergency stateduring call service in portable wireless terminal and apparatus thereof
CN103002131A (en) * 2012-11-16 2013-03-27 深圳市宝尔爱迪科技有限公司 Mobile phone alarm method and system
CN106157561A (en) * 2015-04-23 2016-11-23 中兴通讯股份有限公司 The alarm method of terminal and device
CN105491235B (en) * 2015-12-01 2019-11-26 Tcl移动通信科技(宁波)有限公司 A kind of alarm method and its system of the mobile phone based on gesture and action recognition
CN105744064A (en) * 2016-01-29 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Automatic communication help calling method, automatic communication help calling and terminal
CN106412227A (en) * 2016-06-16 2017-02-15 北京小米移动软件有限公司 Anti-lost alarm method and device and device for anti-lost alarm
CN106303961A (en) * 2016-08-11 2017-01-04 北京小米移动软件有限公司 Automatic alarm method and equipment

Also Published As

Publication number Publication date
CN107105099A (en) 2017-08-29

Similar Documents

Publication Publication Date Title
CN107105099B (en) Mobile terminal alarm method and device and electronic equipment
US10129044B2 (en) Method and apparatus for controlling smart device
US10123196B2 (en) Method and device for alarm triggering
EP3232299B1 (en) Physical key component, terminal, and touch response method and device
EP3151117B1 (en) Method and device for delaying information broadcasting
EP2642729B1 (en) Mobile terminal and control method thereof
US20160196463A1 (en) Method and apparatus for implementing touch key and fingerprint identification, and terminal device
EP2911126A1 (en) Method and device for protecting terminal apparatus and terminal apparatus and medium
EP3076745B1 (en) Methods and apparatuses for controlling wireless access point
EP3249960B1 (en) Method and device for identifying a short message
KR20140141916A (en) Apparatus and Method for operating a receiving notification function of a user device
EP2879360A1 (en) Mobile terminal and control method for the mobile terminal
CN105281993B (en) Play the method and device of multimedia file
CN105868709B (en) Method and device for closing fingerprint identification function
EP3247144B1 (en) Method and apparatus for accessing base station
CN107733872B (en) Information printing method and device
CN111243224A (en) Method and device for realizing alarm
CN105867733A (en) Notice display method and device and mobile device
CN110618783B (en) Text broadcasting method, device and medium
CN104952228B (en) Anti-theft protection open method, apparatus and system
KR20100093345A (en) Mobile terminal and method for alarming reception of danger message thereof
CN104469683B (en) Communication pattern switching method and device
CN105630141A (en) Information browsing reminding method and device
CN107734303B (en) Video identification method and device
CN109243447A (en) Voice sends triggering 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
GR01 Patent grant
GR01 Patent grant