CN109088986A - Mobile terminal guard method, mobile terminal and computer readable storage medium - Google Patents

Mobile terminal guard method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN109088986A
CN109088986A CN201810825469.7A CN201810825469A CN109088986A CN 109088986 A CN109088986 A CN 109088986A CN 201810825469 A CN201810825469 A CN 201810825469A CN 109088986 A CN109088986 A CN 109088986A
Authority
CN
China
Prior art keywords
mobile terminal
data
guard method
pressure
threshold
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
Application number
CN201810825469.7A
Other languages
Chinese (zh)
Inventor
薛沛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Nanchang Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Nanchang Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd, Nanchang Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810825469.7A priority Critical patent/CN109088986A/en
Publication of CN109088986A publication Critical patent/CN109088986A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of mobile terminal guard method, mobile terminal and computer readable storage mediums; the mobile terminal guard method includes: to detect whether the mobile terminal is in unprotect state when detecting that the value of acceleration of mobile terminal is greater than or equal to first threshold;If the mobile terminal is in unprotect state, start pressure sensor preset on the mobile terminal, and obtains the pressure data of the pressure sensor acquisition;It detects in the pressure data of the pressure sensor acquisition with the presence or absence of the pressure data greater than second threshold;If there is the pressure data greater than second threshold in the pressure data of the pressure sensor acquisition, start preset Preservation tactics.Through the invention, it will be preferably minimized because surprisingly causing mobile terminal to drop bring loss, and enhance the protection to user's property.

Description

Mobile terminal guard method, mobile terminal and computer readable storage medium
Technical field
The present invention relates to field of communication technology more particularly to mobile terminal guard methods, mobile terminal and computer-readable Storage medium.
Background technique
With the development of computer technology, people are higher and higher to the degree of dependence of mobile terminal, such as smart phone, electronics Book, tablet computer etc., mobile terminal are increasingly becoming people's work, essential a part of living.
Currently, user can usually occur accidentally mobile terminal to be caused to be dropped when carrying or using mobile terminal, Mobile terminal is caused to hit with hard object.When the dynamics of shock is larger, the component short circuit that may cause mobile terminal makes Mobile terminal damage, or even since the heat that component short circuit generates causes mobile terminal on fire, cause even more serious disaster.
Summary of the invention
The main purpose of the present invention is to provide a kind of mobile terminal guard method, mobile terminal and computer-readable storages Medium, it is intended to solve after mobile terminal is dropped in the prior art, cause mobile terminal component short-circuit, to cause adverse consequences The technical issues of.
To achieve the above object, the present invention provides a kind of mobile terminal guard method, the mobile terminal guard method packet It includes:
When detecting that the value of acceleration of mobile terminal is greater than or equal to first threshold, whether the mobile terminal is detected In unprotect state;
If the mobile terminal is in unprotect state, start pressure sensor preset on the mobile terminal, and Obtain the pressure data of the pressure sensor acquisition;
It detects in the pressure data of the pressure sensor acquisition with the presence or absence of the pressure data greater than second threshold;
If there is the pressure data greater than second threshold in the pressure data of the pressure sensor acquisition, start preset Preservation tactics.
Optionally, described to detect that the step of whether mobile terminal is in unprotect state includes:
Whether the range data for obtaining proximity sensor acquisition preset on the mobile terminal, detect the range data Greater than third threshold value;
If the range data is greater than third threshold value, the mobile terminal is in unprotect state.
Optionally, whether the detection mobile terminal is in after unprotect state, further includes:
If the mobile terminal is in unprotect state, alarm information is sent to preset associate device.
Optionally, with the presence or absence of the pressure greater than second threshold in the pressure data of the detection pressure sensor acquisition After force data, further includes:
When, there is no when the pressure data greater than second threshold, acquisition is wet in the pressure data of pressure sensor acquisition Spend the humidity data of sensor acquisition;
Detect whether the humidity data is greater than the 4th threshold value;
If the humidity data is greater than the 4th threshold value, the power supply to the component of the mobile terminal is cut off.
Optionally, whether the detection humidity data is greater than after the 4th threshold value, further includes:
If the humidity data is less than or equal to the 4th threshold value, obtain in the pressure data that the pressure sensor acquires The maximum pressure data of numerical value;
Based on the maximum pressure data of the numerical value, impact event is generated, and records the impact event.
Optionally, described to be based on the maximum pressure data of the numerical value, impact event is generated, and record the impact event Later, further includes:
Whether the number for detecting the impact event of record is greater than the 5th threshold value;
If the number of the impact event of record is greater than the 5th threshold value, fault pre-alarming information is exported.
Optionally, the step of starting preset Preservation tactics include:
Cut off the power supply to the component of the mobile terminal.
Optionally, the mobile terminal has two screens, power supply of the cutting to the component of the mobile terminal The step of include:
The current posture information of the mobile terminal is obtained, according to the posture information, determines target screen;
Cut off the power supply to the target screen.
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 protective program that can be run on the memory and on the processor, it is described it is mobile eventually The step of end protective program realizes mobile terminal guard 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 protective program on storage medium, realizes when the mobile terminal protective program is executed by processor as above The step of described mobile terminal guard method.
In the present invention, when detecting that the value of acceleration of mobile terminal is greater than or equal to first threshold, the shifting is detected Whether dynamic terminal is in unprotect state;If the mobile terminal is in unprotect state, start pre- on the mobile terminal The pressure sensor set, and obtain the pressure data of the pressure sensor acquisition;Detect the pressure of the pressure sensor acquisition With the presence or absence of the pressure data greater than second threshold in force data;If existing in the pressure data of the pressure sensor acquisition big In the pressure data of second threshold, then start preset Preservation tactics.Through the invention, mobile terminal will be caused to drop band because unexpected The loss come is preferably minimized, and enhances the protection to user's property.
Detailed description of the invention
The hardware structural diagram of Fig. 1 mobile 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 guard method first embodiment of the present invention;
Fig. 4 is the scene set schematic diagram of proximity sensor in one embodiment of mobile terminal guard method of the present invention;
Fig. 5 is the schematic diagram of a scenario of user's hand-held mobile terminal in one embodiment of mobile terminal guard method of the present invention;
Fig. 6 is the scene set schematic diagram of pressure sensor in one embodiment of mobile terminal guard method of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
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.
In the embodiment of the present invention, mobile terminal guard method is applied to mobile terminal, which can be with various shapes Formula is implemented.For example, mobile terminal involved in the present invention may include such as mobile phone, tablet computer, laptop, palm The mobile terminals such as computer, personal digital assistant (Personal Digital Assistant, PDA).
It will be illustrated by taking tablet computer 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 other types of mobile whole End.
Referring to Fig. 1, the hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention, the 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, storage The components such as device 109, processor 110 and power supply 111.It will be understood by those skilled in the art that terminal structure shown in Fig. 1 The restriction to mobile terminal is not constituted, mobile terminal may include components more more or fewer than diagram, or combine certain Component or different component layouts.
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 audio 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 terminal 100 executes can also be provided (for example, call signal receives sound, message connects Quiet down 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 (audio data), and can be audio 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 terminal 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 terminal, 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 generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 107 may include touch panel 1071 and its His input equipment 1072.Touch panel 1071, also referred to as touch screen collect the touch operation (ratio of user on it or nearby Such as user is using finger, stylus any suitable object or attachment on touch panel 1071 or near touch panel 1071 Operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detecting apparatus With two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring Signal transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is converted At contact coordinate, then processor 110 is given, and order that processor 110 is sent can be received and executed.Furthermore, it is possible to adopt Touch panel 1071 is realized with 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 Audio 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, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out to main screen page display terminal whole Monitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulation Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processing Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 109 of computer storage medium Believe module, Subscriber Interface Module SIM and mobile terminal protective program, processor 110 can be used for calling to be stored in memory 109 Mobile terminal protective program, and execute following steps:
When detecting that the value of acceleration of mobile terminal is greater than or equal to first threshold, whether the mobile terminal is detected In unprotect state;
If the mobile terminal is in unprotect state, start pressure sensor preset on the mobile terminal, and Obtain the pressure data of the pressure sensor acquisition;
It detects in the pressure data of the pressure sensor acquisition with the presence or absence of the pressure data greater than second threshold;
If there is the pressure data greater than second threshold in the pressure data of the pressure sensor acquisition, start preset Preservation tactics.
Further, processor 110 can be used for calling the mobile terminal protective program stored in memory 109, also hold Row following steps:
Whether the range data for obtaining proximity sensor acquisition preset on the mobile terminal, detect the range data Greater than third threshold value;
If the range data is greater than third threshold value, the mobile terminal is in unprotect state.
Further, processor 110 can be used for calling the mobile terminal protective program stored in memory 109, also hold Row following steps:
If the mobile terminal is in unprotect state, alarm information is sent to preset associate device.
Further, processor 110 can be used for calling the mobile terminal protective program stored in memory 109, also hold Row following steps:
When, there is no when the pressure data greater than second threshold, acquisition is wet in the pressure data of pressure sensor acquisition Spend the humidity data of sensor acquisition;
Detect whether the humidity data is greater than the 4th threshold value;
If the humidity data is greater than the 4th threshold value, the power supply to the component of the mobile terminal is cut off.
Further, processor 110 can be used for calling the mobile terminal protective program stored in memory 109, also hold Row following steps:
If the humidity data is less than or equal to the 4th threshold value, obtain in the pressure data that the pressure sensor acquires The maximum pressure data of numerical value;
Based on the maximum pressure data of the numerical value, impact event is generated, and records the impact event.
Further, processor 110 can be used for calling the mobile terminal protective program stored in memory 109, also hold Row following steps:
Whether the number for detecting the impact event of record is greater than the 5th threshold value;
If the number of the impact event of record is greater than the 5th threshold value, fault pre-alarming information is exported.
Further, processor 110 can be used for calling the mobile terminal protective program stored in memory 109, also hold Row following steps:
Cut off the power supply to the component of the mobile terminal.
Further, processor 110 can be used for calling the mobile terminal protective program stored in memory 109, also hold Row following steps:
The current posture information of the mobile terminal is obtained, according to the posture information, determines target screen;
Cut off the power supply to the target screen.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
It is the flow diagram of mobile terminal guard method first embodiment of the present invention referring to Fig. 3, Fig. 3.
In one embodiment, mobile terminal guard method includes:
Step S10 detects the movement when detecting that the value of acceleration of mobile terminal is greater than or equal to first threshold Whether terminal is in unprotect state;
In real life, when object is in unexpected falling state, due to gravitational influence, acceleration magnitude For G=9.8.Therefore, first threshold can be set to 9.8.When the value for the acceleration for detecting mobile terminal is greater than or equal to 9.8 When, illustrate that mobile terminal is likely to be at unexpected falling state.
In the present embodiment, when the value of the acceleration of mobile terminal is greater than or equal to 9.8, there are still a variety of possibility.For example, It may be user's hand-held mobile terminal, the acceleration of user reaches some value during hand-held mobile terminal is moved, So that the acceleration value for the acceleration transducer acquisition being arranged in mobile terminal is greater than or equal to 9.8, but at this time due to mobile whole End is in the state being held by a user, and there is no the risks for dropping damage.It may also be that mobile terminal is placed in clothes by user It fills in pocket, the acceleration value of user during the motion reaches some value, so that the acceleration sensing being arranged in mobile terminal The acceleration value of device acquisition is greater than or equal to 9.8, but at this time since mobile terminal is placed in garment pocket, and there is no drop The risk of damage.Therefore, in the present embodiment, when the value for the acceleration for detecting mobile terminal is greater than or equal to first threshold, Need to continue subsequent detection process, i.e. whether detection mobile terminal is in unprotect state.
In one embodiment of the invention, acceleration transducer can be set in the terminal, when mobile terminal is in booting shape When state or screen illuminating state, control acceleration transducer acquires the acceleration information of mobile terminal in real time.Accelerate when detecting When spending the value of the acceleration of the mobile terminal of sensor acquisition more than or equal to 9.8, subsequent detection process is carried out, i.e. detection movement Whether terminal is in unprotect state.
In an alternate embodiment of the present invention, it can detect whether mobile terminal is in unprotect shape by proximity sensor State.Proximity sensor can detecte the distance between mobile terminal and other objects.Other objects can be the hand of user, table Face etc..
Referring to the scene set signal that Fig. 4, Fig. 4 are proximity sensor in one embodiment of mobile terminal guard method of the present invention Figure.As shown in figure 4, regarding mobile terminal as a cuboid, it is respectively provided in the up, down, left, right, before and after position of mobile terminal (multiple proximity sensors can be also set as needed) in one proximity sensor.When the value for the acceleration for detecting mobile terminal is greater than Or when being equal to first threshold, the range data of proximity sensor acquisition is obtained.In the present embodiment, 6 proximity sensors are provided with, 6 range data can be obtained, then detect whether 6 range data are all larger than third threshold value, third threshold value in the present embodiment It may be configured as 10 centimetres (value can be configured according to actual needs, herein with no restrictions).If 6 range data are all larger than 10 Centimetre, then illustrate that mobile terminal is currently at unprotect state.When being provided with N number of proximity sensor, obtain N number of close to sensing N number of range data of device acquisition, when detecting that N number of range data is all larger than third threshold value, it is believed that mobile terminal is currently at Unprotect state.
Referring to Fig. 5, Fig. 5 is that the scene of user's hand-held mobile terminal in one embodiment of mobile terminal guard method of the present invention is shown It is intended to.As shown in figure 5, the range sensor for being set to the mobile terminal back side collects mobile terminal number at a distance from user hand According to, the range data will necessarily very little, that is, there is a range data and be less than or equal to third threshold value, then it is assumed that mobile terminal is current In there is guard mode, just without carrying out follow-up process.
In the present embodiment, proximity sensor can be optical displacement sensor, linear proximity sensor or ultrasonic wave Displacement sensor etc..Proximity sensor measures the distance between mobile phone and object using time-of-flight method.Specifically, pass through The especially short light pulse of infrared pulse sensor emission, and measure this light pulse from being emitted to the time being reflected by the object back, The distance between mobile phone and object are calculated by time of measuring interval.Wherein, optical displacement sensor: what light source issued Illumination is mapped on object, and the reflected light of object is focused on by sensitive lens on one-dimensional position detecting element.If right As the position of object changes, the imaging position on position detecting element will be different.Linear proximity sensor: when such as logical in coil Alternating current is crossed, magnetic flux phenomenon will be generated, if what that coil passed through is metal object, one can be generated in metal object Kind eddy current issues magnetic flux to prevent this variation from generating.Its caused result is exactly to make the induction of coil that certain change occur Change.By just can be measured the distance between mobile phone and object to the Functional Analysis of this variation.Ultrasonic displacement sensor: Ultrasonic wave is sent from sender to object, by being received its back wave by wave device.It is connect by calculating ultrasonic wave from being sent to The relationship between time and velocity of sound needed for until receipts, to calculate the distance between mobile phone and object.
Step S20 starts pressure preset on the mobile terminal and passes if the mobile terminal is in unprotect state Sensor, and obtain the pressure data of the pressure sensor acquisition;
In the present embodiment, when the value of the acceleration of mobile terminal is greater than or equal to first threshold, and mobile terminal is in nothing When guard mode, illustrating mobile terminal, there is currently the risks dropped, then start pressure sensor preset on mobile terminal, and Obtain the pressure data of pressure sensor acquisition.
Referring to the scene set signal that Fig. 6, Fig. 6 are pressure sensor in one embodiment of mobile terminal guard method of the present invention Figure.As shown in fig. 6, pressure sensor is arranged on four angles of mobile terminal screen, when mobile terminal is single screen, then it is arranged Four pressure sensors;When mobile terminal is double screen, then eight pressure sensors are set.
Step S30 is detected in the pressure data of the pressure sensor acquisition with the presence or absence of the pressure greater than second threshold Data;
Step S40, if there is the pressure data greater than second threshold in the pressure data of pressure sensor acquisition, Start preset Preservation tactics.
Since the position where each angle of each screen of mobile terminal is provided with pressure sensor, mobile terminal is being fallen When falling, at least one angle can collide to generate pressure value with contact surface, and pressure value is bigger to illustrate that shock degree is tighter Weight will cause mobile terminal component to be damaged when pressure value is greater than some value.In the present embodiment, when several pressures Exist in several pressure datas of force snesor acquisition and is greater than the second threshold (maximum that second threshold can be born according to mobile terminal Pressure value is configured, for example, mobile terminal maximum can bear the pressure of 10N according to the test data of mobile terminal manufacturer Force value can set 10N for the second threshold) pressure data when, illustrating mobile terminal currently has the risk of damage, then opens Move preset Preservation tactics.
In the present embodiment, mobile terminal power supply can be turned off to member devices all in mobile terminal by starting preset Preservation tactics The power supply of part;Starting preset Preservation tactics can also be power supply of the cutting mobile terminal power supply to mobile terminal screen.
In the present embodiment, when detecting that the value of acceleration of mobile terminal is greater than or equal to first threshold, described in detection Whether mobile terminal is in unprotect state;If the mobile terminal is in unprotect state, start on the mobile terminal Preset pressure sensor, and obtain the pressure data of the pressure sensor acquisition;Detect the pressure sensor acquisition With the presence or absence of the pressure data greater than second threshold in pressure data;If existing in the pressure data of the pressure sensor acquisition Greater than the pressure data of second threshold, then start preset Preservation tactics.Through this embodiment, mobile terminal will be caused to fall because unexpected It falls bring loss to be preferably minimized, enhances the protection to user's property.
Further, in one embodiment of mobile terminal guard method of the present invention, whether the detection mobile terminal is located Include: in the step of unprotect state
Whether the range data for obtaining proximity sensor acquisition preset on the mobile terminal, detect the range data Greater than third threshold value;
If the range data is greater than third threshold value, the mobile terminal is in unprotect state.
In an alternate embodiment of the present invention, it can detect whether mobile terminal is in unprotect shape by proximity sensor State.Proximity sensor can detecte the distance between mobile terminal and other objects.Other objects can be the hand of user, table Face etc..
Referring to the scene set signal that Fig. 4, Fig. 4 are proximity sensor in one embodiment of mobile terminal guard method of the present invention Figure.As shown in figure 4, regarding mobile terminal as a cuboid, it is respectively provided in the up, down, left, right, before and after position of mobile terminal (multiple proximity sensors can be also set as needed) in one proximity sensor.When the value for the acceleration for detecting mobile terminal is greater than Or when being equal to first threshold, the range data of proximity sensor acquisition is obtained.In the present embodiment, 6 proximity sensors are provided with, 6 range data can be obtained, then detect whether 6 range data are all larger than third threshold value, third threshold value in the present embodiment It may be configured as 10 centimetres (value can be configured according to actual needs, herein with no restrictions).If 6 range data are all larger than 10 Centimetre, then illustrate that mobile terminal is currently at unprotect state.When being provided with N number of proximity sensor, obtain N number of close to sensing N number of range data of device acquisition, when detecting that N number of range data is all larger than third threshold value, it is believed that mobile terminal is currently at Unprotect state.
In the present embodiment, even if the value of the acceleration of mobile terminal is greater than first threshold, but it not can determine that mobile terminal is worked as Before have and drop risk, therefore, whether detection mobile terminal is in unprotect state, is only in unprotect shape in mobile terminal When state, subsequent protection mechanism is just carried out, when mobile terminal, which is in, guard mode, keeps the normal operation shape of mobile terminal State improves the usage experience of user so that this embodiment scheme more meets user demand.
Further, in one embodiment of mobile terminal guard method of the present invention, whether the detection mobile terminal is located After unprotect state, further includes:
If the mobile terminal is in unprotect state, alarm information is sent to preset associate device.
In the present embodiment, when the value of the acceleration of mobile terminal is greater than or equal to first threshold, and mobile terminal is in Unprotect state, it may be possible to which mobile terminal is inadvertently fallen off from the packet of user, it is also possible to favorite outer from the garment pocket of user It falls, in order to remind user in time, warning information can be sent to preset associate device.In the present embodiment, user can be pre- First establish the incidence relation of other equipment (such as Intelligent bracelet, smartwatch etc.) and mobile terminal.When adding for mobile terminal The value of speed is greater than or equal to first threshold, and when mobile terminal is in unprotect state, alarm information is sent to preset Associate device, associate device are alerted after receiving alarm information.Such as it is accused in the form of vibration, sound, light etc. It is alert, so that user's in time knows that mobile terminal drop event currently has occurred.
Further, in one embodiment of mobile terminal guard method of the present invention, after step S30, further includes:
When, there is no when the pressure data greater than second threshold, acquisition is wet in the pressure data of pressure sensor acquisition Spend the humidity data of sensor acquisition;
Detect whether the humidity data is greater than the 4th threshold value;
If the humidity data is greater than the 4th threshold value, the power supply to the component of the mobile terminal is cut off.
In the present embodiment, mobile terminal, which is not necessarily, to be dropped on ground or other more hard objects.For example, mobile Terminal drops the number pressure being not present in the pressure data that may cause pressure sensor acquisition in water greater than second threshold According to, but dropped due to mobile terminal easily causes mobile terminal to damage in water.Therefore, in the present embodiment, work as pressure sensor There is no when the pressure data greater than second threshold in the pressure data of acquisition, the humidity data of humidity sensor acquisition is obtained, It is greater than the 4th threshold value when detecting by humidity data (the 4th threshold value is configured according to the actual situation, if humidity data is more than the Four threshold values illustrate that humidity sensor is in water) when, cut off confession of the mobile terminal power supply to components all in mobile terminal Electricity.It avoids causing mobile terminal internal component short-circuit because of water inlet, mobile terminal is caused to damage.
Further, in one embodiment of mobile terminal guard method of the present invention, whether the detection humidity data is big After the 4th threshold value, further includes:
If the humidity data is less than or equal to the 4th threshold value, obtain in the pressure data that the pressure sensor acquires The maximum pressure data of numerical value;
Based on the maximum pressure data of the numerical value, impact event is generated, and records the impact event.
In the present embodiment, if humidity data is less than or equal to the 4th threshold value, illustrate that mobile terminal is currently dropped on ground Or on other objects, but it is relatively light (in the presence of the pressure greater than second threshold in the pressure data of pressure sensor acquisition to hit dynamics Data), it is not necessarily to starting protection strategy, the maximum pressure data of numerical value in the pressure data of pressure sensor acquisition is obtained, is based on The maximum pressure data of numerical value, generates and records impact event.In one embodiment, the impact event of record are as follows: time T, it is maximum Hit pressure value M.General mobile terminal manufacturer can inform the shock pressure value X that consumer's mobile terminal can be born, if At this time there is damage in mobile terminal after dropping, i.e., when the shock pressure value that mobile terminal is subject to does not reach X also, is damaged Bad, illustrating the mobile terminal, there are quality problems, then consumer can carry out legal right-safeguarding according to the impact event of record, sufficiently protect The interests of consumer are hindered.
Further, described to be based on the maximum pressure of the numerical value in one embodiment of mobile terminal guard method of the present invention Data generate impact event, and after recording the impact event, further includes:
Whether the number for detecting the impact event of record is greater than the 5th threshold value;
If the number of the impact event of record is greater than the 5th threshold value, fault pre-alarming information is exported.
In the present embodiment, since mobile terminal internal structure is complicated, and there are more fine components, in mobile terminal After undergoing multiple impact, even if it is smaller to hit dynamics every time, it would still be possible to cause the position of its internal component to misplace, thus The normal work for influencing mobile terminal even results in mobile terminal damage.In the present embodiment, when the impact event for detecting record Number be greater than the 5th threshold value (being configured according to the actual situation) when, export fault pre-alarming information, remind the user that in time Mobile terminal is overhauled, guarantees the good hardware state of mobile terminal.
Further, in one embodiment of mobile terminal guard method of the present invention, the step of the starting preset Preservation tactics Include:
Cut off the power supply to the component of the mobile terminal.
In the present embodiment, mobile terminal power supply can be turned off to member devices all in mobile terminal by starting preset Preservation tactics The power supply of part;Starting preset Preservation tactics can also be power supply of the cutting mobile terminal power supply to mobile terminal screen.
Further, in one embodiment of mobile terminal guard method of the present invention, the mobile terminal has two screens, institute Stating the step of cutting off the power supply to the component of the mobile terminal includes:
The current posture information of the mobile terminal is obtained, according to the posture information, determines target screen;
Cut off the power supply to the target screen.
In the present embodiment, for double screen mobile terminal, when mobile terminal landing, at least one screen can be straight It connects and ground face contact.It, can be according to posture according to the posture information of three-axis sensor acquisition mobile terminal built-in in mobile terminal Information determine in two screens directly with the target screen of ground face contact (may be one be also likely to be two), then cutting pair The power supply of target screen avoids because the component in target screen is short-circuit and on fire.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with mobile terminal protective program, realized when the mobile terminal protective program is executed by processor as described above mobile The step of terminal protecting methdo.
Each implementation of the specific embodiment of computer readable storage medium of the present invention and above-mentioned mobile terminal guard method Example is essentially identical, and this will not be repeated here.
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 other elements that are 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 one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or 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 guard method, which is characterized in that be applied to mobile terminal, the mobile terminal guard method packet It includes:
When detecting that the value of acceleration of mobile terminal is greater than or equal to first threshold, detect whether the mobile terminal is in Unprotect state;
If the mobile terminal is in unprotect state, start pressure sensor preset on the mobile terminal, and obtain The pressure data of the pressure sensor acquisition;
It detects in the pressure data of the pressure sensor acquisition with the presence or absence of the pressure data greater than second threshold;
If there is the pressure data greater than second threshold in the pressure data of the pressure sensor acquisition, start preset protection Strategy.
2. mobile terminal guard method as described in claim 1, which is characterized in that whether the detection mobile terminal is located Include: in the step of unprotect state
The range data for obtaining proximity sensor acquisition preset on the mobile terminal, detects whether the range data is greater than Third threshold value;
If the range data is greater than third threshold value, the mobile terminal is in unprotect state.
3. mobile terminal guard method as described in claim 1, which is characterized in that whether the detection mobile terminal is located After unprotect state, further includes:
If the mobile terminal is in unprotect state, alarm information is sent to preset associate device.
4. mobile terminal guard method as described in claim 1, which is characterized in that the detection pressure sensor acquisition Pressure data in the presence or absence of greater than second threshold pressure data after, further includes:
When, there is no when the pressure data greater than second threshold, acquisition humidity passes in the pressure data of pressure sensor acquisition The humidity data of sensor acquisition;
Detect whether the humidity data is greater than the 4th threshold value;
If the humidity data is greater than the 4th threshold value, the power supply to the component of the mobile terminal is cut off.
5. mobile terminal guard method as claimed in claim 4, which is characterized in that whether the detection humidity data is big After the 4th threshold value, further includes:
If the humidity data is less than or equal to the 4th threshold value, numerical value in the pressure data of the pressure sensor acquisition is obtained Maximum pressure data;
Based on the maximum pressure data of the numerical value, impact event is generated, and records the impact event.
6. mobile terminal guard method as claimed in claim 5, which is characterized in that described to be based on the maximum pressure of the numerical value Data generate impact event, and after recording the impact event, further includes:
Whether the number for detecting the impact event of record is greater than the 5th threshold value;
If the number of the impact event of record is greater than the 5th threshold value, fault pre-alarming information is exported.
7. such as mobile terminal guard method described in any one of claims 1 to 6, which is characterized in that the preset guarantor of starting Protecting tactful step includes:
Cut off the power supply to the component of the mobile terminal.
8. mobile terminal guard method as claimed in claim 7, which is characterized in that the mobile terminal has two screens, The cutting includes: to the step of power supply of the component of the mobile terminal
The current posture information of the mobile terminal is obtained, according to the posture information, determines target screen;
Cut off the power supply to the target screen.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes: memory, processor and is stored in the storage On device and the mobile terminal protective program that can run on the processor, the mobile terminal protective program is by the processor It realizes when execution such as the step of mobile terminal guard 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 Protective program is held, is realized when the mobile terminal protective program is executed by processor as described in any item of the claim 1 to 8 The step of mobile terminal guard method.
CN201810825469.7A 2018-07-25 2018-07-25 Mobile terminal guard method, mobile terminal and computer readable storage medium Pending CN109088986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810825469.7A CN109088986A (en) 2018-07-25 2018-07-25 Mobile terminal guard method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810825469.7A CN109088986A (en) 2018-07-25 2018-07-25 Mobile terminal guard method, mobile terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109088986A true CN109088986A (en) 2018-12-25

Family

ID=64838562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810825469.7A Pending CN109088986A (en) 2018-07-25 2018-07-25 Mobile terminal guard method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109088986A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618058A (en) * 2018-12-29 2019-04-12 努比亚技术有限公司 A kind of protection screen is from broken screen method and device, touch control device and storage medium
CN109828635A (en) * 2019-01-24 2019-05-31 维沃移动通信有限公司 A kind of method and terminal device of the screen position adjusting terminal device
CN112333320A (en) * 2020-10-30 2021-02-05 歌尔科技有限公司 Electronic equipment drop detection method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2745259Y (en) * 2004-11-29 2005-12-07 惠州Tcl移动通信有限公司 A waterproof circuit and a handset
JP2015515852A (en) * 2012-04-16 2015-05-28 中▲興▼通▲訊▼股▲フン▼有限公司 Waterproof device
CN105100427A (en) * 2015-06-05 2015-11-25 努比亚技术有限公司 Electronic equipment and method thereof for preventing accidents
CN105703335A (en) * 2016-04-29 2016-06-22 乐视控股(北京)有限公司 Mobile phone anti-drop self-protection method and device
CN106357897A (en) * 2016-09-06 2017-01-25 广东欧珀移动通信有限公司 Fall information acquiring method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2745259Y (en) * 2004-11-29 2005-12-07 惠州Tcl移动通信有限公司 A waterproof circuit and a handset
JP2015515852A (en) * 2012-04-16 2015-05-28 中▲興▼通▲訊▼股▲フン▼有限公司 Waterproof device
CN105100427A (en) * 2015-06-05 2015-11-25 努比亚技术有限公司 Electronic equipment and method thereof for preventing accidents
CN105703335A (en) * 2016-04-29 2016-06-22 乐视控股(北京)有限公司 Mobile phone anti-drop self-protection method and device
CN106357897A (en) * 2016-09-06 2017-01-25 广东欧珀移动通信有限公司 Fall information acquiring method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618058A (en) * 2018-12-29 2019-04-12 努比亚技术有限公司 A kind of protection screen is from broken screen method and device, touch control device and storage medium
CN109828635A (en) * 2019-01-24 2019-05-31 维沃移动通信有限公司 A kind of method and terminal device of the screen position adjusting terminal device
WO2020151523A1 (en) * 2019-01-24 2020-07-30 维沃移动通信有限公司 Method for adjusting terminal device screen position and terminal device
CN112333320A (en) * 2020-10-30 2021-02-05 歌尔科技有限公司 Electronic equipment drop detection method and electronic equipment

Similar Documents

Publication Publication Date Title
CN108196778A (en) Control method, mobile terminal and the computer readable storage medium of screen state
CN108566479A (en) screen state control method, mobile terminal and computer readable storage medium
CN108345819A (en) A kind of method and apparatus sending warning message
CN108319338A (en) Display screen determines method, mobile terminal and computer readable storage medium
CN110266876A (en) A kind of pressure threshold determines method, apparatus and computer readable storage medium
CN108132752A (en) A kind of method for editing text and mobile terminal
CN108512625A (en) Anti-interference method, mobile terminal and the storage medium of camera
CN108234767A (en) Control method, mobile terminal and the computer readable storage medium of screen state
CN108172161A (en) Display methods, mobile terminal and computer readable storage medium based on flexible screen
CN109358831A (en) A kind of display control method, mobile terminal and computer readable storage medium
CN109005574A (en) Cell selecting method, mobile terminal and computer readable storage medium
CN108512991A (en) A kind of based reminding method, mobile terminal and computer readable storage medium
CN109618058A (en) A kind of protection screen is from broken screen method and device, touch control device and storage medium
CN109088986A (en) Mobile terminal guard method, mobile terminal and computer readable storage medium
CN108376239A (en) A kind of face identification method, mobile terminal and storage medium
CN109739394A (en) A kind of processing method of SAR value, mobile terminal
CN109218527A (en) screen brightness control method, mobile terminal and computer readable storage medium
CN107896287A (en) Phone number risk monitoring method and mobile terminal
CN109739630A (en) Game switching method, mobile terminal and computer readable storage medium
CN108510264A (en) Method of payment, mobile terminal and readable storage medium storing program for executing
CN108184011A (en) A kind of reminder announced method, terminal and computer readable storage medium
CN110064196A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN109238299A (en) A kind of step-recording method, wearable device and computer readable storage medium
CN108833667A (en) A kind of terminal shatter-resistant method, terminal and computer readable storage medium
CN108769534A (en) A kind of focalization method and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181225