CN109743466A - Mobile terminal power-off method, mobile terminal and computer readable storage medium - Google Patents
Mobile terminal power-off method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN109743466A CN109743466A CN201910207019.6A CN201910207019A CN109743466A CN 109743466 A CN109743466 A CN 109743466A CN 201910207019 A CN201910207019 A CN 201910207019A CN 109743466 A CN109743466 A CN 109743466A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- power
- signal
- overboard
- movement velocity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The invention discloses a kind of mobile terminal power-off method, mobile terminal and computer readable storage mediums, the method comprising the steps of: after detecting the current motor pattern of mobile terminal is freely falling body mode, whether the first movement velocity for detecting the mobile terminal is decreased to be greater than the second movement velocity of pre-set velocity within a preset time;If detecting, the first movement velocity of the mobile terminal is decreased to the second movement velocity greater than pre-set velocity within a preset time, generates overboard signal;Power-off signal is triggered according to the overboard signal, and the mobile terminal power outage is controlled according to the power-off signal.The invention avoids after mobile terminal is fallen in water, mobile terminal leads to the component short circuit of mobile terminal also in energized state after water penetrates into mobile terminal, when improving mobile terminal and falling in water, the safety of component.
Description
Technical field
The present invention relates to field of terminal technology more particularly to a kind of mobile terminal power-off methods, mobile terminal and computer
Readable storage medium storing program for executing.
Background technique
More and more mobile terminals all realize different degrees of waterproofing grade by physical seal mode at present, still
Due to waterproof higher cost, industrial design is complicated, and the waterproof of existing many mobile terminals, which remains unchanged, is in the anti-spilling grade on basis.
Therefore, after mobile terminal is fallen in water, water can penetrate into mobile terminal, cause mobile terminal component short-circuit, to burn out
The component of mobile terminal.
Summary of the invention
It is a primary object of the present invention to propose a kind of mobile terminal power-off method, mobile terminal and computer-readable storage
Medium, it is intended to solve after mobile terminal falls in water, water penetrates into the technology for leading to the short circuit of mobile terminal component in mobile terminal
Problem.
To achieve the above object, the present invention provides a kind of mobile terminal power-off method, the mobile terminal power-off methods
Include:
After detecting the current motor pattern of mobile terminal is freely falling body mode, the first of the mobile terminal is detected
Whether movement velocity is decreased to the second movement velocity greater than pre-set velocity within a preset time;
If detecting, the first movement velocity of the mobile terminal is decreased to the greater than pre-set velocity within a preset time
Two movement velocitys then generate overboard signal;
Power-off signal is triggered according to the overboard signal, and the mobile terminal power supply is controlled according to the power-off signal and is stopped
Only power.
Optionally, described that power-off signal is triggered according to the overboard signal, and the shifting is controlled according to the power-off signal
After the step of dynamic terminal supplying power stops power supply, further includes:
Start the sealing device of the power supply power supply entrance according to the power-off signal.
Optionally, described that power-off signal is triggered according to the overboard signal, and the shifting is controlled according to the power-off signal
After the step of dynamic terminal supplying power stops power supply, further includes:
After the mobile terminal detects power-on instruction, controls the power-off signal and be in failure state.
Optionally, described after the mobile terminal detects power-on instruction, it controls the power-off signal and is in failure shape
The step of state includes:
After the mobile terminal detects power-on instruction, judge the humidity value of the mobile terminal whether be less than preset it is wet
Spend threshold value;
If the humidity value is less than the default humidity threshold, controls the power-off signal and be in failure state.
Optionally, described after the mobile terminal detects power-on instruction, judge that the humidity value of the mobile terminal is
After no the step of being less than default humidity threshold, further includes:
If the humidity value is more than or equal to the default humidity threshold, controls the power-off signal and kept
Effect state.
Optionally, described after detecting the current motor pattern of mobile terminal is freely falling body mode, detect the shifting
First movement velocity of dynamic terminal whether be decreased within a preset time the step of the second movement velocity greater than pre-set velocity it
Before, further includes:
Detect whether the acceleration of the mobile terminal straight down is more than or equal to predetermined acceleration;
If detecting, the acceleration of the mobile terminal straight down is more than or equal to the predetermined acceleration, it is determined that
The current motor pattern of the mobile terminal is freely falling body mode.
Optionally, after the step of current motor pattern of the determination mobile terminal is freely falling body mode, also
Include:
Adjustment instruction is triggered, to adjust the posture when motion of mobile terminals according to the adjustment instruction.
Optionally, described that power-off signal is triggered according to the overboard signal, and the shifting is controlled according to the power-off signal
Moving the step of terminal supplying power stops power supply includes:
Power-off signal is triggered according to the overboard signal, and after the operation data for storing the mobile terminal according to
Power-off signal controls the mobile terminal power outage.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal include memory,
Processor and be stored in the mobile terminal power-down procedure that can be run on the memory and on the processor, it is described it is mobile eventually
The step of end power-down procedure realizes mobile terminal power-off method as described above when being executed by the processor.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
It is stored with mobile terminal power-down procedure on storage medium, realizes when the mobile terminal power-down procedure is executed by processor as above
The step of described mobile terminal power-off method.
The present invention detects its first movement velocity default by being in free freely falling body mode in mobile terminal
When being decreased to the second movement velocity greater than pre-set velocity in the time, determines that mobile terminal is fallen in water, generate overboard signal, and
Power-off signal is triggered according to overboard signal and controls mobile terminal power outage, so that mobile terminal is in off-mode, is avoided
After mobile terminal is fallen in water, mobile terminal leads to mobile terminal after water penetrates into mobile terminal also in energized state
Component short circuit, when improving mobile terminal and falling in water, the safety of component.
Detailed description of the invention
A kind of Fig. 1 hardware structural diagram of terminal of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of mobile terminal power-off method first embodiment of the present invention;
Fig. 4 is the flow diagram of mobile terminal power-off method second embodiment of the present invention;
Fig. 5 is the flow diagram of mobile terminal power-off method 3rd embodiment of the present invention.
The realization, the function and the advantages of the object of the present invention will be explained referring to attached drawing in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The voice data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal 100, utilizes various interfaces and the entire mobile terminal of connection
100 various pieces, by running or executing the software program and/or module that are stored in memory 109, and calling storage
Data in memory 109 execute the various functions and processing data of mobile terminal 100, to carry out to mobile terminal 100
Integral monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and
Modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation
Processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110
In.
In addition, processor 110 is for calling the movement stored in memory 109 in mobile terminal 100 shown in Fig. 1
Terminal power-down procedure, and execute following operation:
After detecting the current motor pattern of mobile terminal is freely falling body mode, the first of the mobile terminal is detected
Whether movement velocity is decreased to the second movement velocity greater than pre-set velocity within a preset time;
If detecting, the first movement velocity of the mobile terminal is decreased to the greater than pre-set velocity within a preset time
Two movement velocitys then generate overboard signal;
Power-off signal is triggered according to the overboard signal, and the mobile terminal power supply is controlled according to the power-off signal and is stopped
Only power.
Further, described that power-off signal is triggered according to the overboard signal, and according to power-off signal control
After the step of mobile terminal power outage, processor 1001 is also used to call the mobile terminal stored in memory 1005
Power-down procedure, and execute following operation:
Start the sealing device of the power supply power supply entrance according to the power-off signal.
Further, described that power-off signal is triggered according to the overboard signal, and according to power-off signal control
After the step of mobile terminal power outage, processor 1001 is also used to call the mobile terminal stored in memory 1005
Power-down procedure, and execute following operation:
After the mobile terminal detects power-on instruction, controls the power-off signal and be in failure state.
Further, described after the mobile terminal detects power-on instruction, it controls the power-off signal and is in failure
The step of state includes:
After the mobile terminal detects power-on instruction, judge the humidity value of the mobile terminal whether be less than preset it is wet
Spend threshold value;
If the humidity value is less than the default humidity threshold, controls the power-off signal and be in failure state.
Further, described after the mobile terminal detects power-on instruction, judge the humidity value of the mobile terminal
After the step of whether being less than default humidity threshold, processor 1001 is also used to call the mobile terminal stored in memory 1005
Power-down procedure, and execute following operation:
If the humidity value is more than or equal to the default humidity threshold, controls the power-off signal and kept
Effect state.
Further, described after detecting the current motor pattern of mobile terminal is freely falling body mode, described in detection
Whether the first movement velocity of mobile terminal is decreased to the step of the second movement velocity greater than pre-set velocity within a preset time
Before, processor 1001 is also used to call the mobile terminal power-down procedure stored in memory 1005, and executes following operation:
Detect whether the acceleration of the mobile terminal straight down is more than or equal to predetermined acceleration;
If detecting, the acceleration of the mobile terminal straight down is more than or equal to the predetermined acceleration, it is determined that
The current motor pattern of the mobile terminal is freely falling body mode.
Further, after the step of current motor pattern of the determination mobile terminal is freely falling body mode,
Processor 1001 is also used to call the mobile terminal power-down procedure stored in memory 1005, and executes following operation:
Adjustment instruction is triggered, to adjust the posture when motion of mobile terminals according to the adjustment instruction.
Further, described that power-off signal is triggered according to the overboard signal, and according to power-off signal control
The step of mobile terminal power outage includes:
Power-off signal is triggered according to the overboard signal, and after the operation data for storing the mobile terminal according to
Power-off signal controls the mobile terminal power outage.
The present embodiment detects its first movement velocity pre- by being in free freely falling body mode in mobile terminal
If be decreased to the second movement velocity greater than pre-set velocity in the time, determine that mobile terminal is fallen in water, generates overboard signal,
And power-off signal is triggered according to overboard signal and controls mobile terminal power outage, so that mobile terminal is in off-mode, keeps away
Exempt from after mobile terminal is fallen in water, mobile terminal leads to mobile terminal after water penetrates into mobile terminal also in energized state
Component short circuit, when improving mobile terminal and falling in water, the safety of component.
Mobile terminal specific embodiment of the present invention and following each embodiments of mobile terminal power-off method are essentially identical, herein
It repeats no more.
Based on above structure, each embodiment of mobile terminal power-off method of the present invention is proposed.
The present invention provides a kind of mobile terminal power-off method.
It is the flow diagram of mobile terminal power-off method first embodiment of the present invention referring to Fig. 3, Fig. 3.
In the present embodiment, the embodiment of mobile terminal power-off method is provided, it should be noted that although in flow chart
In show logical order, but in some cases, shown or described step can be executed with the sequence for being different from herein
Suddenly.
In the present embodiment, mobile terminal power-off method includes:
Step S10 is detected described mobile whole after detecting the current motor pattern of mobile terminal is freely falling body mode
Whether first movement velocity at end is decreased to the second movement velocity greater than pre-set velocity within a preset time.
After mobile terminal detects that its current motor pattern is freely falling body mode, it is current for acquisition for mobile terminal
The speed of service, and it is denoted as the first movement velocity, and detect whether its first movement velocity is decreased to be greater than in advance within a preset time
If the second movement velocity of speed.It is understood that the first movement velocity is greater than the second movement velocity.It should be noted that
When mobile terminal detects that its current acceleration is gravity acceleration g, that is, it can be shown that the current motor pattern of mobile terminal
For freely falling body mode.Mobile terminal can be used acceleration transducer and detect whether its current acceleration is acceleration of gravity.
It should be noted that momentum is indicated with symbol p, p=m × v, m are mass of object, and v indicates the object of linear motion
Speed.When mobile terminal is fallen, a uniformly accelrated rectilinear motion can be regarded as, acceleration is gravity acceleration g, if moved
Elemental height when dynamic terminal is fallen is h (h1, h2... multi-point sampler), then speed when mobile terminal freely falls to ground
Meet V2=2 × g × h, therefore the momentum for hitting ground isP=m × v, m are the quality of mobile terminal, suitable
Shi Sudu is v=p ÷ m;If mobile terminal is fallen in ground, due to the percussion on floor, speed v is being zero in a flash,
And if mobile terminal is fallen in water, since water has buoyancy, impact in a flash, speed v reduces suddenly, but still can be greater than
Zero, therefore velocity variations when mobile terminal has impact at that moment can be judged by velocity sensor, to judge whether
It falls in water or on ground.Therefore, pre-set velocity should be disposed proximate in zero or null numerical value.Preset time can root
It is arranged according to specific need, if the corresponding zequin of preset time is opened when being initially located in freely falling body mode from mobile terminal
Begin to calculate, then preset time should be set as longer;If the corresponding zequin of preset time is in freely from mobile terminal
Falling bodies mode, and when mobile terminal has impact, starts to calculate, then in order to guarantee relatively accurately to determine that mobile terminal is to fall into
It is still fallen into water in other media (such as ground), preset time should be set as shorter, can such as set preset time to
0.5s (second) or 0.7s etc..
Step S20, if it is default to detect that the first movement velocity of the mobile terminal is decreased to be greater than within a preset time
Second movement velocity of speed, then generate overboard signal.
If mobile terminal detects that its first movement velocity is decreased to the second fortune greater than pre-set velocity within a preset time
Dynamic speed, mobile terminal then generates overboard signal, at this point, showing that mobile terminal is fallen in water.Further, if mobile terminal detects
It is not decreased to the second movement velocity greater than pre-set velocity within a preset time to its first movement velocity, mobile terminal then continues
Detect whether its first movement velocity is decreased to be greater than the second movement velocity of pre-set velocity within a preset time.
Step S30 triggers power-off signal according to the overboard signal, and described mobile whole according to power-off signal control
Hold power outage.
After mobile terminal generates overboard signal, mobile terminal informs the middle control program built in it according to overboard signal,
It has fallen in water, at this point, mobile terminal starts corresponding emergence program by middle control program, to trigger power-off signal, and root
Start the power supply occluding device built in it according to the power-off signal, to control its power outage.It is understood that when movement
After the power outage of terminal, mobile terminal can automatic shutdown.
The present embodiment detects its first movement velocity pre- by being in free freely falling body mode in mobile terminal
If be decreased to the second movement velocity greater than pre-set velocity in the time, determine that mobile terminal is fallen in water, generates overboard signal,
And power-off signal is triggered according to overboard signal and controls mobile terminal power outage, so that mobile terminal is in off-mode, keeps away
Exempt from after mobile terminal is fallen in water, mobile terminal leads to mobile terminal after water penetrates into mobile terminal also in energized state
Component short circuit, when improving mobile terminal and falling in water, the safety of component.
Further, step S30 includes:
Step a triggers power-off signal, and the root after the operation data for storing the mobile terminal according to the overboard signal
The mobile terminal power outage is controlled according to the power-off signal.
Further, under normal circumstances, user be all accidentally can just mobile terminal be made to fall in water, and herein it
Before, mobile terminal may be used in user, if mobile terminal power supply stops supplying immediately in mobile terminal after falling in water
Electricity, mobile terminal are forced to shut down, the loss for the operation data for being easy to cause mobile terminal current, therefore, in order to guarantee to move
Operation data is not lost in terminal, and after mobile terminal triggers power-off signal according to overboard signal, mobile terminal first stores its fortune
Row data, after successfully storing its operation data, mobile terminal controls its power outage further according to power-off signal.Wherein,
Operation data includes but is not limited to the currently running application name of mobile terminal, the current operation number of each application program
According to, if the currently running application program of mobile terminal includes video reproduction program, then the operation data of the video reproduction program
Video name and playback progress including currently played video etc..
Further, mobile terminal can also just store its current operation data after generating overboard signal, in success
Power-off signal is triggered further according to overboard signal after storage operation data.
Further, if detecting power-on instruction after mobile terminal is automatically into off-mode, mobile terminal according to
The power-on instruction obtains its operation data stored before closing, after mobile terminal-opening, is started according to the operation data
Application program before mobile terminal shutdown comes back to the operating status before mobile terminal shutdown.
Further, the second embodiment of mobile terminal power-off method of the present invention is proposed.The of mobile terminal power-off method
The difference of two embodiments and the first embodiment of mobile terminal power-off method is, referring to Fig. 4, the mobile terminal power-off method
Further include:
Step S40 starts the sealing device of the power supply power supply entrance according to the power-off signal.
After mobile terminal triggers power-off signal, mobile terminal is according to the sealing of the power-off signal startup power supply power inlet
Device, after preventing mobile terminal from falling in water, water penetrates into battery from power supply power supply entrance, leads to corona discharge, further
Ground protects the components such as battery and mainboard in mobile terminal.Wherein, sealing device can be metal or plastic thin
Piece, after starting sealing device, which can seal power supply power supply entrance;It is mobile after mobile terminal detects power-on instruction
Terminal can close sealing device, at this point, sealing device would not seal power supply power supply entrance, power supply can normal power supply.It can manage
Solution, as long as the size of thin slice can seal power supply power supply entrance, do not need that too greatly, mobile terminal otherwise can be occupied
Too many space causes mobile terminal figure to become larger, and improves the production cost of mobile terminal.
The present embodiment by mobile terminal trigger power-off signal after, according to the power-off signal startup power supply power inlet
Sealing device prevents mobile terminal after falling in water, even if power supply has stopped power supply, but since water passes through power supply confession
Electric entrance penetrates into battery, causes mobile terminal power supply to be powered again, to burn out component, further improves mobile terminal
The safety of middle component.
Further, the 3rd embodiment of mobile terminal power-off method of the present invention is proposed.The of mobile terminal power-off method
The difference of three embodiments and the first or second embodiments of mobile terminal power-off method is that, referring to Fig. 5, the mobile terminal is disconnected
Method for electrically further include:
Step S50 controls the power-off signal and is in failure state after the mobile terminal detects power-on instruction.
When the power outage of mobile terminal, i.e., after mobile terminal is in off-mode, mobile terminal detects whether to detect
Measure power-on instruction.After mobile terminal detects power-on instruction, mobile terminal controls at power-off signal according to the power-on instruction
In failure state, i.e. closing power supply occluding device, at this point, mobile terminal power supply can normal power supply, mobile terminal can be from shutdown shape
State enters open state.Wherein, power-on instruction is that mobile terminal user passes through the power on button triggering in pressing mobile terminal.
It is understood that in the present embodiment, mobile terminal is automatically into off-mode, and open state is mobile terminal root
Enter after being manually operated according to user.It should be noted that if user setting mobile terminal in off-mode when presetting
After length, mobile terminal automatic trigger power-on instruction, at this point, mobile terminal can also control power-off signal with automatic trigger power-on instruction
In failure state.Preset duration can be arranged according to specific needs by user, can such as set preset duration to 5 hours, it is 8 small
When or 12 hours etc..
It should be noted that in embodiments of the present invention, step S50 can be executed after step S30, it can also be in step
It is executed after S40.
The present embodiment is by controlling power-off signal according to the power-on instruction and being in failure shape after detecting power-on instruction
State, so that mobile terminal can enter open state from off-mode, to guarantee the normal operation of mobile terminal.
Further, step S50 includes:
Step b judges whether the humidity value of the mobile terminal is less than after the mobile terminal detects power-on instruction
Default humidity threshold.
Step c controls the power-off signal and is in failure shape if the humidity value is less than the default humidity threshold
State.
Further, after mobile terminal detects power-on instruction, mobile terminal passes through the humidity detector built in it
Its internal humidity value is detected, and judges whether detected humidity value is less than default humidity threshold.Wherein, default humidity threshold can
It can be obtained according to experiment measurement, i.e., it can be normal when humidity value is less than that value by experiment detection mobile terminal component
Operation, the value are default humidity threshold.Humidity detector includes but is not limited to wet-and-dry-bulb thermometer and electronics humidity sensor
Device.When mobile terminal determines that its humidity value is less than default humidity threshold, mobile terminal control power-off signal is in failure state,
So that the component of mobile terminal can operate normally.
Further, the mobile terminal power-off method further include:
Step d controls the power-off signal and continues if the humidity value is more than or equal to the default humidity threshold
In effective status.
Further, if mobile terminal determines that its humidity value is more than or equal to default humidity threshold, mobile terminal is controlled
Power-off signal processed keeps effective status, to avoid due to mobile terminal interior humidity it is too big, in mobile terminal start-up course
In, mobile terminal component is short-circuit and damages the component.Further, determine that humidity value is more than or equal in mobile terminal
After default humidity threshold, mobile terminal can in real time or timing detects whether its humidity value is less than default humidity threshold, and is examining
When measuring its humidity value less than default humidity threshold, control power-off signal is in failure state.
The present embodiment is by if humidity value is less than default humidity threshold, controlling power-off letter after detecting power-on instruction
Number be in failure state;If humidity value is more than or equal to default humidity threshold, controls power-off signal and keep effective shape
State avoids the control mobile terminal when mobile terminal interior humidity value is more than or equal to default humidity threshold from being in booting shape
State leads to the component in mobile terminal and damages because of short circuit, further improves the safety of component in mobile terminal.
Further, the fourth embodiment of mobile terminal power-off method of the present invention is proposed.The of mobile terminal power-off method
The difference of four embodiments and the first, second or third embodiment of mobile terminal power-off method is that the mobile terminal powers off
Method further include:
Step e, detects whether the acceleration of the mobile terminal straight down is more than or equal to predetermined acceleration.
Step f, if detecting, the acceleration of the mobile terminal straight down is more than or equal to the predetermined acceleration,
Then determine that the current motor pattern of the mobile terminal is freely falling body mode.
When mobile terminal is in open state, mobile terminal can in real time or timing detects its acceleration straight down,
And judge whether its acceleration straight down is more than or equal to predetermined acceleration.Specifically, mobile terminal can pass through acceleration
Degree sensor detects the downward acceleration of its current vertical.Wherein, the value of predetermined acceleration is smaller than the value of acceleration of gravity.It can
With understanding, acceleration of gravity is 9.8m/s^2 (rice every quadratic power second), then predetermined acceleration may be configured as 9.5 (rice every two
The power second) or 9 (rice every quadratic power seconds) etc..If it is pre- that mobile terminal detects that its acceleration straight down is more than or equal to
If acceleration, mobile terminal then determines that its current motor pattern is freely falling body mode;If mobile terminal detects that it is vertical
Downward acceleration is less than predetermined acceleration, and mobile terminal then determines that its current motor pattern is not freely falling body mode.
The present embodiment by detect the acceleration of mobile terminal straight down be more than or equal to predetermined acceleration when,
It determines that the current motor pattern of mobile terminal is freely falling body mode, avoids and be only equal to gravity in acceleration straight down
Just think that the current motor pattern of mobile terminal is freely falling body mode when acceleration, and has ignored air drag etc. to mobile whole
Influence when falling is made a clean sweep of, it follows that embodiment improves the accuracy that determining mobile terminal is in freely falling body mode, from
And improve the accuracy whether determining mobile terminal falls in water.
Further, the mobile terminal power-off method further include:
Step g triggers adjustment instruction, to adjust the posture when motion of mobile terminals according to the adjustment instruction.
Further, when mobile terminal determines that its current motor pattern is freely falling body mode, mobile terminal triggering
Adjustment instruction adjusts posture when its movement according to the adjustment instruction.Specifically, when mobile terminal is in freely falling body mode
When, if mobile terminal detects it currently be display screen downward, mobile terminal can adjust its center of gravity position according to adjustment instruction
It sets, so that its display screen is upward, display screen is avoided to fall damage;Or when being provided with shatter-resistant region in the terminal, if
It is not shatter-resistant region and ground face contact when mobile terminal is fallen, mobile terminal then adjusts its position of centre of gravity according to adjustment instruction, with
Control when it falls is shatter-resistant region and ground face contact.
The present embodiment is by the way that when mobile terminal current kinetic mode is freely falling body mode, mobile terminal triggering adjustment refers to
It enables, posture when its movement is adjusted according to the adjustment instruction, when falling to reduce mobile terminal, in contact surface contact process
Damaged condition.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium.
Mobile terminal power-down procedure is stored on computer readable storage medium, mobile terminal power-down procedure is held by processor
Following steps are realized when row:
After detecting the current motor pattern of mobile terminal is freely falling body mode, the first of the mobile terminal is detected
Whether movement velocity is decreased to the second movement velocity greater than pre-set velocity within a preset time;
If detecting, the first movement velocity of the mobile terminal is decreased to the greater than pre-set velocity within a preset time
Two movement velocitys then generate overboard signal;
Power-off signal is triggered according to the overboard signal, and the mobile terminal power supply is controlled according to the power-off signal and is stopped
Only power.
Further, described that power-off signal is triggered according to the overboard signal, and according to power-off signal control
After the step of mobile terminal power outage, following step is also realized when the mobile terminal power-down procedure is executed by processor
It is rapid:
Start the sealing device of the power supply power supply entrance according to the power-off signal.
Further, described that power-off signal is triggered according to the overboard signal, and according to power-off signal control
After the step of mobile terminal power outage, following step is also realized when the mobile terminal power-down procedure is executed by processor
It is rapid:
After the mobile terminal detects power-on instruction, controls the power-off signal and be in failure state.
Further, described after the mobile terminal detects power-on instruction, it controls the power-off signal and is in failure
The step of state includes:
After the mobile terminal detects power-on instruction, judge the humidity value of the mobile terminal whether be less than preset it is wet
Spend threshold value;
If the humidity value is less than the default humidity threshold, controls the power-off signal and be in failure state.
Further, described after the mobile terminal detects power-on instruction, judge the humidity value of the mobile terminal
After the step of whether being less than default humidity threshold, following step is also realized when the mobile terminal power-down procedure is executed by processor
It is rapid:
If the humidity value is more than or equal to the default humidity threshold, controls the power-off signal and kept
Effect state.
Further, described after detecting the current motor pattern of mobile terminal is freely falling body mode, described in detection
Whether the first movement velocity of mobile terminal is decreased to the step of the second movement velocity greater than pre-set velocity within a preset time
Before, following steps are also realized when the mobile terminal power-down procedure is executed by processor:
Detect whether the acceleration of the mobile terminal straight down is more than or equal to predetermined acceleration;
If detecting, the acceleration of the mobile terminal straight down is more than or equal to the predetermined acceleration, it is determined that
The current motor pattern of the mobile terminal is freely falling body mode.
Further, after the step of current motor pattern of the determination mobile terminal is freely falling body mode,
The mobile terminal power-down procedure also realizes following steps when being executed by processor:
Adjustment instruction is triggered, to adjust the posture when motion of mobile terminals according to the adjustment instruction.
Further, described that power-off signal is triggered according to the overboard signal, and according to power-off signal control
The step of mobile terminal power outage includes:
Power-off signal is triggered according to the overboard signal, and after the operation data for storing the mobile terminal according to
Power-off signal controls the mobile terminal power outage.
The embodiment of the present invention detects its first movement velocity by being in free freely falling body mode in mobile terminal
It when being decreased to the second movement velocity greater than pre-set velocity within a preset time, determines that mobile terminal is fallen in water, generates overboard
Signal, and power-off signal is triggered according to overboard signal and controls mobile terminal power outage, so that mobile terminal is in shutdown shape
State avoids after mobile terminal is fallen in water, and mobile terminal causes to move also in energized state after water penetrates into mobile terminal
The component short circuit of terminal, when improving mobile terminal and falling in water, the safety of component.
Computer readable storage medium specific embodiment of the present invention and each embodiment base of above-mentioned mobile terminal power-off method
This is identical, and details are not described herein.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include the other elements being not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of mobile terminal power-off method, which is characterized in that the mobile terminal power-off method the following steps are included:
After detecting the current motor pattern of mobile terminal is freely falling body mode, the first movement of the mobile terminal is detected
Whether speed is decreased to the second movement velocity greater than pre-set velocity within a preset time;
If detecting, the first movement velocity of the mobile terminal is decreased to the second fortune greater than pre-set velocity within a preset time
Dynamic speed, then generate overboard signal;
Power-off signal is triggered according to the overboard signal, and the mobile terminal power supply is controlled according to the power-off signal and stops supplying
Electricity.
2. mobile terminal power-off method as described in claim 1, which is characterized in that described triggered according to the overboard signal is broken
Electric signal, and after the step of controlling the mobile terminal power outage according to the power-off signal, further includes:
Start the sealing device of the power supply power supply entrance according to the power-off signal.
3. mobile terminal power-off method as described in claim 1, which is characterized in that described triggered according to the overboard signal is broken
Electric signal, and after the step of controlling the mobile terminal power outage according to the power-off signal, further includes:
After the mobile terminal detects power-on instruction, controls the power-off signal and be in failure state.
4. mobile terminal power-off method as claimed in claim 3, which is characterized in that described when the mobile terminal detects out
After machine instruction, controlling the step of power-off signal is in failure state includes:
After the mobile terminal detects power-on instruction, judge whether the humidity value of the mobile terminal is less than default humidity threshold
Value;
If the humidity value is less than the default humidity threshold, controls the power-off signal and be in failure state.
5. mobile terminal power-off method as claimed in claim 4, which is characterized in that described when the mobile terminal detects out
After machine instruction, after judging the step of whether humidity value of the mobile terminal is less than default humidity threshold, further includes:
If the humidity value is more than or equal to the default humidity threshold, controls the power-off signal and keep effective shape
State.
6. mobile terminal power-off method as described in claim 1, which is characterized in that described when detecting that mobile terminal is current
Motor pattern is after freely falling body mode, whether the first movement velocity for detecting the mobile terminal is decreased within a preset time
Greater than pre-set velocity the second movement velocity the step of before, further includes:
Detect whether the acceleration of the mobile terminal straight down is more than or equal to predetermined acceleration;
If detecting, the acceleration of the mobile terminal straight down is more than or equal to the predetermined acceleration, it is determined that described
The current motor pattern of mobile terminal is freely falling body mode.
7. mobile terminal power-off method as claimed in claim 6, which is characterized in that the determination mobile terminal is current
After the step of motor pattern is freely falling body mode, further includes:
Adjustment instruction is triggered, to adjust the posture when motion of mobile terminals according to the adjustment instruction.
8. mobile terminal power-off method as described in any one of claim 1 to 7, which is characterized in that described according to described overboard
Signal triggers power-off signal, and the step of controlling the mobile terminal power outage according to the power-off signal includes:
Power-off signal is triggered according to the overboard signal, and according to the power-off after the operation data for storing the mobile terminal
Signal controls the mobile terminal power outage.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes memory, processor and is stored in the memory
Mobile terminal power-down procedure that is upper and can running on the processor, the mobile terminal power-down procedure are held by the processor
It realizes when row such as the step of mobile terminal power-off method described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium mobile whole
Power-down procedure is held, is realized when the mobile terminal power-down procedure is executed by processor as described in any item of the claim 1 to 8
The step of mobile terminal power-off method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910207019.6A CN109743466A (en) | 2019-03-18 | 2019-03-18 | Mobile terminal power-off method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910207019.6A CN109743466A (en) | 2019-03-18 | 2019-03-18 | Mobile terminal power-off method, mobile terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109743466A true CN109743466A (en) | 2019-05-10 |
Family
ID=66370889
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910207019.6A Pending CN109743466A (en) | 2019-03-18 | 2019-03-18 | Mobile terminal power-off method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109743466A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113312681A (en) * | 2020-02-26 | 2021-08-27 | 神讯电脑(昆山)有限公司 | Electronic device and circuit protection method thereof |
CN113703559A (en) * | 2021-07-16 | 2021-11-26 | 浪潮电子信息产业股份有限公司 | Power supply control method, device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103561171A (en) * | 2013-10-31 | 2014-02-05 | 惠州Tcl移动通信有限公司 | Protection processing method and system for mobile phone to fall into water |
CN104460696A (en) * | 2014-10-29 | 2015-03-25 | 广东欧珀移动通信有限公司 | Protection processing method, system and device for mobile terminal falling |
CN104580654A (en) * | 2013-10-09 | 2015-04-29 | 中兴通讯股份有限公司 | A terminal and an electronic waterproof method |
CN105262908A (en) * | 2015-11-24 | 2016-01-20 | 上海斐讯数据通信技术有限公司 | Terminal falling-overboard protection method and system |
CN105703335A (en) * | 2016-04-29 | 2016-06-22 | 乐视控股(北京)有限公司 | Mobile phone anti-drop self-protection method and device |
CN107103258A (en) * | 2016-02-23 | 2017-08-29 | 西安中兴新软件有限责任公司 | A kind of terminal protecting methdo and device |
-
2019
- 2019-03-18 CN CN201910207019.6A patent/CN109743466A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104580654A (en) * | 2013-10-09 | 2015-04-29 | 中兴通讯股份有限公司 | A terminal and an electronic waterproof method |
CN103561171A (en) * | 2013-10-31 | 2014-02-05 | 惠州Tcl移动通信有限公司 | Protection processing method and system for mobile phone to fall into water |
CN104460696A (en) * | 2014-10-29 | 2015-03-25 | 广东欧珀移动通信有限公司 | Protection processing method, system and device for mobile terminal falling |
CN105262908A (en) * | 2015-11-24 | 2016-01-20 | 上海斐讯数据通信技术有限公司 | Terminal falling-overboard protection method and system |
CN107103258A (en) * | 2016-02-23 | 2017-08-29 | 西安中兴新软件有限责任公司 | A kind of terminal protecting methdo and device |
CN105703335A (en) * | 2016-04-29 | 2016-06-22 | 乐视控股(北京)有限公司 | Mobile phone anti-drop self-protection method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113312681A (en) * | 2020-02-26 | 2021-08-27 | 神讯电脑(昆山)有限公司 | Electronic device and circuit protection method thereof |
CN113703559A (en) * | 2021-07-16 | 2021-11-26 | 浪潮电子信息产业股份有限公司 | Power supply control method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11366510B2 (en) | Processing method for reducing power consumption and mobile terminal | |
CN109151180A (en) | A kind of object identifying method and mobile terminal | |
CN108040316A (en) | A kind of amplitude detection method and mobile terminal | |
CN109068378A (en) | The method, apparatus of mobile terminal and control mobile terminal breath screen | |
CN107943374A (en) | The startup method and collapsible terminal of application program in collapsible terminal | |
CN109981009A (en) | A kind of control method and mobile terminal of stepper motor | |
CN108334272A (en) | A kind of control method and mobile terminal | |
CN108881617A (en) | A kind of display changeover method and mobile terminal | |
CN109067949A (en) | A kind of electronic equipment and its control method | |
CN108597512A (en) | Method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN109151200A (en) | A kind of means of communication and mobile terminal | |
CN110012148A (en) | A kind of bracelet control method, bracelet and computer readable storage medium | |
CN109743466A (en) | Mobile terminal power-off method, mobile terminal and computer readable storage medium | |
CN108712612A (en) | A kind of photographic method, terminal and computer readable storage medium | |
CN109388326A (en) | A kind of electronic equipment, the control method and device of dual-screen electronic device | |
CN107885423B (en) | Picture processing method and mobile terminal | |
CN110401463A (en) | A kind of SIM card support device for ejecting and terminal | |
CN108471475A (en) | A kind of concealed pick-up head control method and terminal device | |
CN109126127A (en) | Game control method, dual-screen mobile terminal and computer readable storage medium | |
CN108512616A (en) | Method for displaying signal intensity, mobile terminal and computer readable storage medium | |
CN110517034A (en) | A kind of object identifying method and mobile terminal | |
CN108614720A (en) | Application program launching method, equipment and computer readable storage medium | |
CN108228301A (en) | The method, apparatus and computer readable storage medium of the long sectional drawing of screen interface | |
CN108108092A (en) | The method, apparatus and computer readable storage medium that message is checked under screen mode toggle | |
CN108008808B (en) | Operation parameter adjusting method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190510 |
|
RJ01 | Rejection of invention patent application after publication |