A kind of backstage placement of emergency calls processing method, mobile terminal and storage mediumTechnical field
The present invention relates to technical field of mobile terminals, and in particular to be a kind of backstage placement of emergency calls processing method,Mobile terminal and storage medium.
Background technique
In the case where certain urgent, the user of mobile terminal need other people unconsciously in the case where dial urgent electricityWords, to ask for help;In current mobile terminal, for common emergency dialing mode there are two drawbacks, one is need userThe display screen for removing to light mobile terminal, enters dialing interface, the method is not convenient enough;Another is in placement of emergency callsWhen, the display screen of mobile terminal, which is in, is always on state, and has call sound outflow after closing of the circuit, is thus easy to by himPeople perceives, and is unfavorable for user's in case of emergency placement of emergency calls number.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is that in view of the above drawbacks of the prior art, a kind of backstage is provided and is dialed tightlyAnxious call processing method, mobile terminal and storage medium, it is intended to be dialed by pressing volume increasing key and volume reducing key tightUrgent telegram words, avoid in emergency circumstances placement of emergency calls discovered by other people.
The technical proposal for solving the technical problem of the invention is as follows:
The present invention provides a kind of backstage placement of emergency calls processing method, wherein the backstage placement of emergency calls processing methodThe following steps are included:
Emergency number is set on the backstage of mobile terminal in advance, and the emergency number is stored;
The shortcut key of emergency number described in speed dial is set, and by the shortcut key and the emergency numberIt is associated storage;
When the shortcut key is pressed, the emergency number is dialed on the backstage of mobile terminal.
Further, described that emergency number is set on the backstage of mobile terminal in advance, and by the emergency call numberCode stored specifically includes the following steps:
Emergency number is set in the dialing interface of mobile terminal in advance;
The dialing interface is hidden when dialing the emergency number by dialing interface setting;
By emergency number storage to mobile terminal.
Further, the shortcut key of emergency number described in the setting speed dial, and by the shortcut keyWith the emergency number be associated storage specifically includes the following steps:
The shortcut key that the emergency number instruction is dialed in triggering is set;
The compressing time of the shortcut key is set;
The emergency number, shortcut key and compressing time are associated storage.
Further, when the shortcut key is pressed, the emergency number is dialed on the backstage of mobile terminalBefore further include:
Mobile terminal detects whether the shortcut key is pressed.
Further, when the shortcut key is pressed, the emergency number is dialed on the backstage of mobile terminalSpecifically includes the following steps:
When the shortcut key is pressed, judge whether the compressing time of the shortcut key is more than preset time;
When the compressing time of the shortcut key is more than preset time, dial instruction, placement of emergency calls number are triggered.
Further, when the compressing time of the shortcut key is more than preset time, dial instruction is triggered, is dialed urgentAfter telephone number the following steps are included:
If the screen of display screen is in illuminating state, dialing interface is hidden, keeps the interface of mobile terminal constant;
If the screen of display screen is in OFF state, the display screen is kept to be in OFF state.
Further, when the compressing time of the shortcut key is more than preset time, dial instruction is triggered, is dialed urgentIt is further comprising the steps of after telephone number:
When the emergency number is connected, control breath light shows pre-set color, to prompt emergency call number described in userCode has been turned on;
The loudspeaker of the mobile terminal is closed, while opening microphone and being conversed and recorded.
Further, the shortcut key includes volume increasing key and volume reducing key, when the volume increasing key and soundWhen amount reducing key is pressed simultaneously, then the instruction of the emergency number is dialed in triggering.
The present invention also provides a kind of mobile terminals, wherein including processor, and the storage being connected to the processorDevice, the memory are stored with backstage placement of emergency calls processing routine, and the backstage placement of emergency calls processing routine is by instituteIt states when processor executes for realizing the backstage placement of emergency calls processing method.
The present invention also provides a kind of storage mediums, wherein the storage medium is stored with the processing of backstage placement of emergency callsProgram, when the backstage placement of emergency calls processing routine is executed by processor for realizing the backstage placement of emergency calls atReason method.
The technical solution adopted in the present invention has the advantages that the present invention passes through setting volume increasing key and volumeReducing key triggers the instruction of placement of emergency calls, so that mobile terminal is increased new function: having at the placement of emergency calls of backstageThe new function of reason: when user presses the two keys simultaneously, then can rapidly dial pre-set emergency number,User is facilitated rapidly to be alarmed in a damaged condition;Simultaneously as not showing dialing in placement of emergency calls numberInterface, and due to not playing any sound when emergency number is switched on, discover user can not at other peopleIn the case of placement of emergency calls number, to guarantee the safety of user.
Detailed description of the invention
Fig. 1 is a kind of flow chart of backstage placement of emergency calls processing method in present pre-ferred embodiments.
Fig. 2 is a kind of functional schematic block diagram of mobile terminal in present pre-ferred embodiments.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer and more explicit, right as follows in conjunction with drawings and embodimentsThe present invention is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and do not have toIt is of the invention in limiting.
Embodiment one
Referring to Figure 1, Fig. 1 is a kind of flow chart of backstage placement of emergency calls processing method in present pre-ferred embodiments.
As shown in Figure 1, the embodiment of the invention provides a kind of backstage placement of emergency calls processing method, the method includesFollowing steps:
Step S100 is arranged emergency number on the backstage of mobile terminal in advance, and the emergency number is depositedStorage.
In the embodiment of the present invention, before realizing speed dial emergency call, need in advance in dialing circle of mobile terminalSetting needs the emergency number dialed on face, and the emergency number can be stored in advance in the terminal, and with columnThe form of table is presented on mobile terminal dialing interface;Specifically, the emergency number in the embodiment of the present invention can be oftenAlarm call number, the alarm call number of common alarm call number, each department including various countries, is also possible to userThe telephone number of the emergency contact of self-setting, such as: relatives, friend or telephone number of colleague of user etc..
Further, after setting up the emergency number, can be arranged by the dialing interface of mobile terminalDialing interface, specific manifestation are as follows: Drop Down Menu Choices, the drop-down can be set on dialing interface are hidden when placement of emergency callsBreath light color and setting emergency call when menu option may include setting dialing hidden function, setting emergency call connectionEmergency speech information etc. is sent when connection.
After setting up the emergency number and correlation function, it is arranged in the contact person of mobile terminal urgentTelephony packets, and the emergency number is stored in the emergency call grouping.
I.e. specifically, the step S100 the following steps are included:
Emergency number is arranged in the dialing interface of mobile terminal in advance in step S101;
Step S102 hides the dialing interface when dialing the emergency number by dialing interface setting;
Step S103, by emergency number storage to mobile terminal.
Correlation function by presetting emergency number, and when the emergency number is dialed in setting is (hiddenHide dialing interface, breath light prompt, send emergency speech information etc.), dial user can when pressing shortcut key promptlyTelephone number, facilitates the operation of user, while also improving the efficiency of placement of emergency calls number.
The shortcut key of emergency number described in speed dial is arranged in step S200, and by the shortcut key and instituteIt states emergency number and is associated storage.
In the embodiment of the present invention, after user stores emergency number, touching can be set by system setup optionHair dials the shortcut key of emergency number instruction, and the shortcut key includes volume increasing key and volume reducing key,And be arranged when the volume increasing key and volume reducing key are pressed simultaneously, just trigger the finger for dialing the emergency numberIt enables.
Further, the instruction of user's false triggering placement of emergency calls number in order to prevent, the settable volume increaseThe compressing time of key and volume reducing key;Preferably, when the time that the volume increasing key and volume reducing key press simultaneously is superWhen spending 10 seconds, the instruction of the emergency number is dialed in triggering.
In addition, when user setting has multiple emergency numbers, settable different compressing time is distinguished, for example,Settable 10-20 seconds is dialed the first emergency number, dials second emergency number etc. within 20-30 seconds.
After the compressing time is set up, can by the emergency number, shortcut key and compressing time intoRow associated storage.
I.e. specifically, the step S200 the following steps are included:
The shortcut key of the emergency number instruction is dialed in step S201, setting triggering;
The compressing time of the shortcut key is arranged in step S202;
The emergency number, shortcut key and compressing time are associated storage by step S203.
The instruction of placement of emergency calls number is triggered by being arranged while pressing volume increasing key and volume reducing key, withAnd the compressing time of the two keys is set, it can prevent user under nonemergency, there is a phenomenon where maloperations;Meanwhile it is logicalThe volume increasing key and volume reducing key for crossing setting mobile terminal two sides can facilitate user in emergency as fast key is dialedUnder operation.
Step S300 dials the emergency number on the backstage of mobile terminal when the shortcut key is pressed.
In the embodiment of the present invention, when mobile terminal detects volume increasing key and volume reducing key while being pressed, sentenceWhether the volume increasing key and the volume reducing key of breaking while the time being pressed are more than preset time (preset time is 10 seconds),Or judge the volume increasing key and volume reducing key while the time being pressed whether in preset time section (such as:In 10-20 seconds);When being more than preset time, or when in preset time section, dial instruction, placement of emergency calls are triggeredNumber.
While mobile terminal triggers dial instruction, the current display interface of mobile terminal is also detected, if display screenScreen be in illuminating state, then hide dialing interface, keep the interface of mobile terminal constant;If the screen of display screen is inOFF state then keeps the display screen to be in OFF state.
Further, when the emergency number is connected, control breath light shows that (pre-set color can lead to pre-set colorCross user's sets itself), to prompt emergency number described in user to have been turned on;Meanwhile being discovered by other people dialled in order to preventLogical emergency call, closes the loudspeaker of the mobile terminal, mobile terminal cannot issue any sound at this time, and open microphoneIt is conversed and is recorded, retain live evidence.
Further, in order to allow the side of answering to learn the current emergency situation of user, settable emergency speech information, when describedWhen emergency number is switched on, the voice messagings such as " being inconvenient to speak ", " under dangerous situation " are sent to the side of answering, allows and connectsThe current situation of user is learnt by the side of listening, in case the side of answering takes for phone and is accidentally touched and hung up the telephone.
It further, can be in the urgent electricity in order to allow the side of answering rapidly to learn the current geographic position information of userWhen words number is switched on, the current geographical location information of user is sent to the side of answering;Answering can be believed by the geographical locationBreath quickly finds the position of user, reduces rescue search time.
I.e. specifically, the step S300 the following steps are included:
Step S301, mobile terminal detect whether the shortcut key is pressed;
Step S302, when the shortcut key is pressed, when whether the compressing time for judging the shortcut key is more than defaultBetween;
Step S303 triggers dial instruction, placement of emergency calls when the compressing time of the shortcut key is more than preset timeNumber;
Step S304, when the emergency number is connected, control breath light shows pre-set color, tight described in user to promptAnxious telephone number has been turned on;
Step S305, closes the loudspeaker of the mobile terminal, while opening microphone and being conversed and recorded.
Whether the present invention is concurrently depressed by detection key, and detects whether to be more than compressing time, is avoided because accidentallyIt touches and placement of emergency calls number;Meanwhile being changed colour by setting breath light to prompt user's emergency call to have been turned on, and pass throughDialing interface is hidden in dialing, mute speaker opens microphone location, allows user the case where other people can not discoverLower placement of emergency calls number, to guarantee the safety of user.
Certainly, those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method,It is that related hardware (such as processor, controller etc.) can be instructed to complete by backstage placement of emergency calls processing routine, instituteStating backstage placement of emergency calls processing routine can be stored in a computer-readable storage medium, which when being executed may be usedProcess including such as above-mentioned each method embodiment.Wherein the storage medium can be memory, magnetic disk, CD etc..
Embodiment two
Fig. 2 is referred to, Fig. 2 is a kind of functional schematic block diagram of mobile terminal in present pre-ferred embodiments.
As shown in Fig. 2, the embodiment of the invention provides a kind of mobile terminal, the mobile terminal of the embodiment of the present invention can beMobile phone (or tablet computer), wherein the mobile terminal of the present embodiment includes processor 10, and is connect with the processor 10Memory 20;
The memory 20 is stored with backstage placement of emergency calls processing routine, and the backstage placement of emergency calls processing routine is by instituteIt states when processor 10 executes for realizing above-mentioned backstage placement of emergency calls processing method;As detailed above.
Embodiment three
The embodiment of the invention provides a kind of storage mediums, wherein the storage medium is stored at the placement of emergency calls of backstageProgram is managed, for realizing above-mentioned backstage placement of emergency calls when which is executed by processor 10Processing method;As detailed above.
In conclusion the present invention triggers the finger of placement of emergency calls by setting volume increasing key and volume reducing keyEnable, so that mobile terminal is increased new function: with backstage placement of emergency calls processing new function: when user and meanwhile press this twoWhen a key, then pre-set emergency number can be rapidly dialed, user is facilitated to carry out in a damaged condition fastlyIt alarms fastly;Simultaneously as not showing dialing interface in placement of emergency calls number, and due in emergency number quiltAny sound is not played when connection, allows user's placement of emergency calls number in the case where other people can not discover, to protectDemonstrate,prove the safety of user.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills canWith improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present inventionProtect range.