[summary of the invention]
In view of above-mentioned condition, be necessary to provide a kind of mobile phone that can report to the police at off-mode.
A kind of mobile phone comprises processor, switch module, alarm switch and start switch.Processor comprises control port, interruptive port and start detection port.The switch module is connected with this control port, interruptive port and start detection port, the common port that this processor is controlled this switch module by this control port optionally with this interruptive port maybe this start detection port conduct.This alarm switch is communicated with this start switch by this switch module under off-mode, by this processor the control of this switch module is switched to this interruptive port in that open state is next
Further, this switch module is for having a common port, two links and a control end, this common port is electrically connected with this alarm switch, these two links are electrically connected with this start detection port and interruptive port respectively, this control end is electrically connected with this control port, and this common port optionally conducts with these two links.
Further, this common port conducts with this start detection port under off-mode, triggers this alarm switch and can realize start.
Further, this common port conducts with this interruptive port under open state, triggers this alarm switch and can realize that SOS reports to the police
Further, this mobile phone also comprises battery, battery detecting module, is connected in the control switch between this battery detecting module and this processor, this battery detecting module is for detection of the electric weight of battery, and when the electric weight of this battery is lower than the threshold value of electricity shutdown, send low electric off signal to processor.
The alarm switch of above-mentioned mobile phone by switch module starting hand-set, and then sends alarm signal under the mobile phone shutdown state, therefore, above-mentioned mobile phone can be reported to the police under the mobile phone shutdown state.
Also be necessary to provide a kind of mobile phone alarming method.
A kind of mobile phone alarming method, it comprises the steps: the trigger alarm switch; Judge whether low electricity shutdown, if, then close low electric shut-off function, then carry out next step, if not, then directly carry out next step; Start; And send alarm signal.
Above-mentioned mobile phone alarming method can be reported to the police under the mobile phone shutdown state.
[embodiment]
Below main accompanying drawings the specific embodiment of the present invention.
See also Fig. 1, the mobile phone 100 of embodiment one comprises processor 110, switch module 120, alarm switch 130 and start switch 140.Processor 110 directly is electrically connected with an end of start switch 140, and is electrically connected with an end of alarm switch 130 by switch module 120.Trigger alarm switch 130 can send alarm signal, for example, and SOS distress signal, 110 alarm signals, 120 alarm signals etc.In this example, describe as example to send the SOS distress signal.
Processor 110 comprises control port 111, interruptive port 113 and start detection port 115.Start detection port 115 is electrically connected with switch module 120 and start switch 140.
Switch module 120 can be analog switch, relay etc., and it can be directly battery-powered, makes it in running order.Specifically in the present embodiment, switch module 120 is analog switch, and it comprises a common port, two links and a control end.Common port optionally conducts with these two links.Alarm switch 130 is electrically connected with the common port of switch module 120.Two links are connected to respectively start detection port 115 and the interruptive port 113 of processor 110.Control end is connected to the control port 111 of processor.Under the state of shutdown, processor 110 is not worked, and can't control switch module 120, therefore, need to pull down resistor or pull-up resistor be set in the control end increase of switch module 120, makes it be stabilized in a certain state.In the present embodiment, the common port of switch module 120 is conducted by acquiescence and start detection port 115 under the state of shutdown, control port 111 is GPIO (General Purpose Input Output, universal input/output or bus extender) port.Behind closed alarm switch 130, starting-up signal is dragged down, mobile phone 100 starts.After mobile phone 100 was finished initialization, processor 110 conducted by common port and the interruptive port 113 of control port 111 control switch modules 120, and this moment, processor 110 responses were interrupted, and carried out the SOS application program, sent the SOS distress signal.
Alarm switch 130, the processor 110 that is used for control mobile phone 100 sends alarm signal.
Start switch 140 is used for control mobile phone 100 open states.
Under the state of mobile phone shutdown, alarm switch 130 is crossed the start detection port 115 that switch module 120 is connected to processor 110, links to each other with start switch 140 simultaneously.When alarm switch 130 is closed, alarm switch 130 switch 140 that is equivalent to start shooting, the processor 110 of mobile phone 100 is carried out boot programs.After mobile phone 100 was opened, processor 110 switched to interruptive port 113 by the common port of control port 111 control switch modules 120, and processor 110 responses are interrupted, and then carry out the SOS application program, send the SOS signal.
The alarm switch 130 of above-mentioned mobile phone 100 by switch module 120 starting hand-sets, and then sends alarm signal under the mobile phone shutdown state, therefore, above-mentioned mobile phone 100 can be reported to the police under the mobile phone shutdown state.
See also Fig. 2, the mobile phone 200 of embodiment two and mobile phone 100 basic simlarities of embodiment one, its difference is: mobile phone 200 also comprises control switch 250, battery detecting module 260 and battery 270; Battery detecting module 260 when the electric weight of battery 270 is lower than the threshold value of electricity shutdown, sends low electric off signal to processor 210 for detection of the electric weight of battery 270.Battery detecting module 260 is electrically connected with processor 210 by control switch 250.Battery 270 is electrically connected with battery detecting module 260, and provides power supply for processor 210.The electric quantity signal that battery detecting module 260 detects battery 270 sends to processor 210, when the electric weight of battery 270 is lower than the threshold value of electricity shutdown, mobile phone 100 automatic shutdowns, the conversation that is used for sending the SOS signal or keeps certain hour to preserve enough electric weight.Judge whether to send the SOS distress signal after the start, if then the automatic disconnection control switch 250, with the low electricity shutdown measuring ability of shielding battery detecting module 260, thus the conversation that makes the dump energy of battery 270 be used for sending the SOS signal or keep certain hour.
The establishing method of the threshold value of low electricity shutdown is as follows: by the complete discharge curve of battery comprehensive tester test battery.Need to consider the power consumption of typical case's application, such as conversation power consumption, backlight lightening power consumption, stand-by power consumption etc. determine that finally certain discharging current carries out this test; Consider that hardware is to the minimum voltage requirement of mobile phone power-on, determine the minimum voltage that mobile phone can be worked, corresponding discharge curve data must guarantee that battery still has certain capacity to support the telephone operation of certain hour after low electricity shutdown, and then determine the threshold value of low electricity shutdown.
Be appreciated that control switch 250, battery detecting module 260 also can be built in the processor 210, are finished the function of control switch 250, battery detecting module 260 by processor 210.
See also Fig. 3, the mobile phone alarming method of embodiment one comprises the steps:
Step S201 is if need to send alarm signal, then trigger alarm switch.This alarm signal can be SOS distress signal, 110 alarm signals, 120 alarm signals etc.
Step S202 judges whether low electricity shutdown, if then carry out S203; If not, then directly carry out S204.
Step S203 is if low electric shut-off function is then closed in low electricity shutdown.
Step S204 is if not low electricity shutdown, then directly start.
Step S205 sends alarm signal.
Above-mentioned mobile phone alarming method can be reported to the police under the mobile phone shutdown state.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.