CN106254673B - Terminal falls detection method and device - Google Patents

Terminal falls detection method and device Download PDF

Info

Publication number
CN106254673B
CN106254673B CN201610806685.8A CN201610806685A CN106254673B CN 106254673 B CN106254673 B CN 106254673B CN 201610806685 A CN201610806685 A CN 201610806685A CN 106254673 B CN106254673 B CN 106254673B
Authority
CN
China
Prior art keywords
electricity
mode
terminal
obtains
detection mode
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.)
Expired - Fee Related
Application number
CN201610806685.8A
Other languages
Chinese (zh)
Other versions
CN106254673A (en
Inventor
周意保
郑灿杰
张海平
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610806685.8A priority Critical patent/CN106254673B/en
Publication of CN106254673A publication Critical patent/CN106254673A/en
Application granted granted Critical
Publication of CN106254673B publication Critical patent/CN106254673B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/725Cordless telephones
    • H04M1/73Battery saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

What the present invention provided a kind of terminal falls detection method and device, and the detection method of falling of the terminal includes: to obtain the detection mode for currently falling direction, obtains initial detecting mode;Current remaining capacity is obtained, the first electricity is obtained;Judge whether first electricity is less than preset threshold;When first electricity is less than the preset threshold, which is switched into target detection mode, wherein the power consumption of the target detection mode is less than the power consumption of the initial detecting mode.Due to the detection mode fallen being switched to the few detection mode of power consumption, extends the stand-by time of terminal when the remaining capacity for detecting terminal being fewer.

Description

Terminal falls detection method and device
Technical field
The present invention relates to field of terminal technology, fall detection method and device more particularly to a kind of terminal.
Background technique
With the continuous development of terminal, especially designed towards thin lightization, but also end while bringing advantage to the user Hold causes the risk of damage is corresponding to increase because falling.
In routine use, terminal is inevitably faced with the danger fallen and is easy to cause its damage.What terminal was fallen Angle is different, and corresponding to impaired degree, there is also differences.The detection mode for falling direction of existing terminal generallys use one The fixed detection method of kind.When the not enough power supply of terminal, since the detection mode meeting duration of this fixation consumes terminal Electricity causes the stand-by time of terminal to shorten.It can be seen that existing terminal can not when electricity ratio is less dynamically change detection Mode causes the stand-by time of terminal to shorten.Therefore it needs to be further improved.
Summary of the invention
What the embodiment of the present invention provided a kind of terminal falls detection method and device, to solve the detection mode of existing terminal Can not when electricity ratio is less dynamically cuts detection methods, the technical issues of causing the stand-by time of terminal to shorten.
To solve the above problems, technical solution provided by the invention is as follows:
What the embodiment of the present invention provided a kind of terminal falls detection method comprising:
The detection mode for currently falling direction is obtained, initial detecting mode is obtained;
Current remaining capacity is obtained, the first electricity is obtained;
Judge whether first electricity is less than preset threshold;
When first electricity is less than the preset threshold, the initial detecting mode is switched into target detection side Formula, wherein the target detection mode be used to detect the terminal it is current fall direction, the power consumption of the target detection mode Amount is less than the power consumption of the initial detecting mode.
What the embodiment of the present invention also provided a kind of terminal falls detection device comprising:
Mode obtains module, for obtaining the detection mode for currently falling direction, obtains initial detecting mode;
First electricity obtains module and obtains the first electricity for obtaining current remaining capacity;
First judgment module, for judging whether first electricity is less than preset threshold;
First switching module is used for when first electricity is less than the preset threshold, by the initial detecting mode Switch to target detection mode, wherein the target detection mode be used to detect the terminal it is current fall direction, the mesh The power consumption for marking detection mode is less than the power consumption of the initial detecting mode.
Compared to the prior art, the terminal of the present embodiment falls detection method and device, passes through and obtains the current side of falling To detection mode, obtain initial detecting mode;Current remaining capacity is obtained, the first electricity is obtained;Judge first electricity Whether preset threshold is less than;When first electricity is less than the preset threshold, which is switched into target detection Mode, wherein the power consumption of the target detection mode is less than the power consumption of the initial detecting mode.Terminal is detected due to working as When remaining capacity is fewer, the detection mode fallen is switched into the few detection mode of power consumption, extend terminal it is standby when Between.
Detailed description of the invention
Fig. 1 is the flow chart for falling detection method for the terminal that the embodiment of the present invention one provides.
Fig. 2 is the flow chart for falling detection method of terminal provided by Embodiment 2 of the present invention.
Fig. 3 is the flow chart for falling detection method for the terminal that the embodiment of the present invention three provides.
Fig. 4 is the structural schematic diagram for falling detection device for the terminal that the embodiment of the present invention four provides.
Fig. 5 is the preferred structure schematic diagram for falling detection device for the terminal that the embodiment of the present invention four provides.
Fig. 6 is the structural schematic diagram for the terminal that the embodiment of the present invention five provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.It is understood that described herein, the specific embodiments are only for explaining the present invention, rather than to limit of the invention It is fixed.It also should be noted that only the parts related to the present invention are shown for ease of description, in attached drawing and not all knot Structure.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts Every other embodiment, shall fall within the protection scope of the present invention.
Term " first ", " second " and " third " in the present invention etc. are for distinguishing different objects, rather than for retouching State particular order.In addition, term " includes " and " having " and their any deformations, it is intended that cover and non-exclusive include. Such as contain a series of steps or units process, method, system, product or equipment be not limited to listed step or Unit, but optionally further comprising the step of not listing or unit, or optionally further comprising for these process, methods, produce The other step or units of product or equipment inherently.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
The executing subject of the method for controlling operation thereof of terminal provided in an embodiment of the present invention can provide for the embodiment of the present invention Terminal operating control device, or be integrated with mobile terminal (for example notebook, plate of the operating control device of the terminal Computer, mobile phone, wearable device etc.), the operating control device of the terminal can be realized by the way of hardware or software.
Fig. 1 is please referred to, Fig. 1 is the flow chart for falling detection method for the terminal that the embodiment of the present invention one provides.
The terminal of this preferred embodiment falls detection method, comprising:
Step S101 obtains the detection mode for currently falling direction, obtains initial detecting mode.
For example, terminal obtains the currently used detection mode for falling direction namely initial detecting mode.The terminal can be with For equipment such as mobile phone, tablet computers.
Step S102 obtains current remaining capacity, obtains the first electricity.
For example, terminal obtains its current remaining capacity.
Step S103, judges whether first electricity is less than preset threshold.
For example, terminal judges whether current remaining capacity is less than preset threshold, the preset threshold is with specific reference to empirical value Setting.
The initial detecting mode is switched to target detection when first electricity is less than the preset threshold by step S104 Mode.
For example, when terminal determines that first electricity is less than the preset threshold, by the current detection mode for falling direction Switch to the less detection mode of power consumption.Angle detecting mode of falling after switching is known as target detection mode.Wherein should The power consumption of target detection mode is less than the power consumption of the initial detecting mode.The target detection mode is worked as detecting the terminal Preceding falls direction.
The initial detecting mode includes being detected using nine axis blending algorithms, which is such as according to weight Force snesor, magnetic sensor and gyroscope detection terminal fall direction.The target detection mode includes being melted using six axis Hop algorithm is detected, which is such as to detect falling for terminal according to gravity sensor and magnetic sensor Direction.
The terminal of the present embodiment falls detection method, currently falls the detection mode in direction by obtaining, and obtains initial Detection mode;Current remaining capacity is obtained, the first electricity is obtained;Judge whether first electricity is less than preset threshold;When this When first electricity is less than the preset threshold, which is switched into target detection mode, wherein the target detection side The power consumption of formula is less than the power consumption of the initial detecting mode.Due to will fall when the remaining capacity for detecting terminal is fewer The detection mode fallen switches to the few detection mode of power consumption, extends the stand-by time of terminal.
Referring to figure 2., Fig. 2 is the flow chart for falling detection method of terminal provided by Embodiment 2 of the present invention.
The terminal of this preferred embodiment falls detection method, comprising:
Step S201 obtains the detection mode for currently falling direction, obtains initial detecting mode.
For example, terminal obtains the currently used detection mode for falling direction namely initial detecting mode.The terminal can be with For equipment such as mobile phone, tablet computers.
Step S202 obtains current remaining capacity, obtains the first electricity.
For example, terminal obtains its current remaining capacity.
In order to reduce the power consumption of terminal, terminal can be to obtain its current remaining capacity at regular intervals.That is, When the current remaining capacity of the acquisition, the step of obtaining the first electricity, includes:
Interval preset duration obtains current remaining capacity, obtains the first electricity.
For example, the terminal compartment regular hour obtains current remaining capacity, which specifically can be rule of thumb Value setting.
Step S203, judges whether first electricity is less than preset threshold.
For example, terminal judges whether current remaining capacity is less than preset threshold, the preset threshold is with specific reference to empirical value Setting.If terminal determines that current remaining capacity not less than preset threshold, returns to step S202.If terminal determines Current remaining capacity is less than preset threshold, thens follow the steps S204.
The initial detecting mode is switched to target detection when first electricity is less than the preset threshold by step S204 Mode.
For example, current detection mode is then switched to power consumption when terminal determines that the first electricity is less than preset threshold Relatively low detection mode.The initial detecting mode is such as to be detected using nine axis blending algorithms, the nine axis blending algorithm Such as to fall direction according to gravity sensor, magnetic sensor and gyroscope detection terminal.The target detection mode ratio It is for example detected using six axis blending algorithms, which is such as according to gravity sensor and magnetic sensor Detection terminal falls direction.It should be understood that in other embodiments, which can calculate for the fusion of nine axis The algorithm for falling direction of other detection terminals other than method, the target detection mode can be its other than six axis blending algorithms What he detected terminal falls the algorithm in direction, as long as the power consumption that can satisfy the initial detecting mode is higher than the target detection side The power consumption of formula, and the accuracy of the initial detecting mode is higher than the accuracy of the target detection mode.
In order to save electricity, when the power is insufficient, nine axis blending algorithms are switched to six axis blending algorithms by terminal.Wherein should The power consumption of initial detecting mode is higher than the power consumption of the target detection mode, and the accuracy of initial detecting mode is higher than the mesh Mark the accuracy of detection mode.
Step S205, according to the target detection mode obtain terminal it is current fall direction.
For example, terminal, which according to the detection mode for falling direction after switching, obtains the current of terminal, falls direction.
Step S206 obtains current remaining capacity, obtains the second electricity.
For example, terminal obtains its current remaining capacity again.
In order to reduce the power consumption of terminal, terminal can obtain current remaining capacity when detecting that it accesses power supply, That is the current remaining capacity of the acquisition, the step of obtaining the second electricity include:
A, when detecting that default power interface has signal input, current remaining capacity is obtained, obtains second electricity.
For example, obtaining current remaining capacity when terminal detects that it accesses external power supply.Preferably, terminal can be with After detecting external power supply, interval preset duration (such as a period of time) obtains current remaining capacity, obtains the second electricity. The preset duration can specifically be set based on experience value.
Step S207, judges whether second electricity is less than preset threshold.
For example, whether the remaining capacity of terminal judgement at this time is less than preset threshold, if terminal determines current residue electricity Amount is not less than preset threshold, thens follow the steps S208.If terminal determines that current remaining capacity is less than preset threshold, return Execute step S206.
The target detection mode is switched to this if second electricity is more than or equal to the preset threshold by step S208 Initial detecting mode.
For example, current detection mode is switched to when terminal determines current remaining capacity not less than preset threshold Return the relatively high detection mode of accuracy relatively high detection mode namely power consumption.Of course for the power consumption for reducing terminal, eventually End can also be after switching to detection target detection mode, and interval preset duration reacquires current remaining capacity.In order to mention The accuracy of high detection, then in electricity abundance, six axis blending algorithms are switched to nine axis blending algorithms by terminal.
The terminal of the present embodiment falls detection method, currently falls the detection mode in direction by obtaining, and obtains initial Detection mode;Current remaining capacity is obtained, the first electricity is obtained;Judge whether first electricity is less than preset threshold, when this When first electricity is less than the preset threshold, then the initial detecting mode is switched into target detection mode;According to the target detection Mode obtain terminal it is current fall direction, obtain current remaining capacity again later, obtain the second electricity;Judge described Whether two electricity are less than preset threshold;When the second electricity is more than or equal to the preset threshold, then by the target detection mode Switch to initial detecting mode.Due on the basis of first embodiment, also by with the matched detection for falling direction of electricity Mode falls direction detect terminal.When detecting that remaining capacity is relatively low, the detection mode fallen is switched to and is compared The mode of power saving, and when detecting that remaining capacity is relatively high again, the detection mode fallen is switched into more accurately side Formula.Since the flexibility of terminal can be improved according to remaining capacity dynamically cuts detection methods.
Referring to figure 3., Fig. 3 is the flow chart for falling detection method for the terminal that the embodiment of the present invention three provides.
The present embodiment is described in detail taking the terminal as an example, and the terminal of this preferred embodiment falls detection side Method, comprising:
Step S301, mobile phone obtain the detection mode for currently falling direction.
For example, mobile phone obtains the currently used detection mode for falling direction namely initial detecting mode.Such as it is following with Initial detecting mode be nine axis blending algorithms for be described.
Step S302, mobile phone obtain current remaining capacity.
For example, mobile phone obtains its current remaining capacity.
Step S303, mobile phone judge whether the remaining capacity is less than preset threshold.
For example, mobile phone judges whether current residual electricity is less than preset threshold, which sets with specific reference to empirical value It is fixed.If the remaining capacity is more than or equal to the preset threshold, returns to step S302 namely mobile phone continues to test Remaining capacity.If mobile phone determines that current residual electricity is less than preset threshold, S304 is thened follow the steps.
Step S304, when the remaining capacity is less than the preset threshold, then the initial detecting mode is switched to mesh by mobile phone Mark detection mode.
For example, when mobile phone determines that current residual electricity is less than preset threshold, by the current detection mode for falling direction Switch to the relatively low detection mode of power consumption.For example initial detecting mode is to be detected using nine axis blending algorithms, in order to Electricity is saved then when the power is insufficient to switch it to six axis blending algorithms.Wherein the power consumption of first detection mode is higher than The power consumption of the target detection mode.The initial detecting mode is such as to be detected using nine axis blending algorithms, which melts Hop algorithm is such as to fall direction according to gravity sensor, magnetic sensor and gyroscope detection terminal.The target detection Mode is such as to be detected using six axis blending algorithms, which is such as according to gravity sensor and magnetism Sensor detection terminal falls direction.It should be understood that in other embodiments, which can be nine axis Other than blending algorithm other detection terminals the algorithm for falling direction, the target detection mode can for six axis blending algorithms with Other outer detection terminals fall the algorithm in direction, as long as the power consumption that can satisfy the initial detecting mode is higher than the target The power consumption of detection mode, and the accuracy of the initial detecting mode is higher than the accuracy of the target detection mode.
Step S305, mobile phone obtain it according to the target detection mode and current fall direction.
For example, mobile phone obtains mobile phone according to six axis blending algorithms, namely by gravity sensor and magnetic sensor Currently fall direction.
The terminal of the present embodiment falls detection method, currently falls the detection mode in direction by obtaining mobile phone, obtains Initial detecting mode;Mobile phone obtains current remaining capacity;Mobile phone judges whether the remaining capacity is less than preset threshold;When this is surplus When remaining electricity is less than the preset threshold, which is switched to target detection mode by mobile phone;Mobile phone is according to this later Target detection mode obtains it and current falls direction.Due to the detection side that when detecting that remaining capacity is relatively low, will fall Formula switches to the mode for comparing power saving, therefore can save electricity, reduces the power consumption of mobile phone.
Referring to figure 4., Fig. 4 is the structural schematic diagram for falling detection device for the terminal that the embodiment of the present invention four provides.This The detection device 40 of falling of the terminal of preferred embodiment includes: that mode obtains module 41, the first electricity obtains module 42, first sentences Disconnected module 43, the first switching module 44;
Mode obtains module 41, for obtaining the detection mode for currently falling direction, obtains initial detecting mode;
First electricity obtains module 42 and obtains the first electricity for obtaining current remaining capacity;
First judgment module 43, for judging whether first electricity is less than preset threshold;
First switching module 44 is used for when first electricity is less than the preset threshold, by the initial detecting mode Switch to target detection mode, wherein the target detection mode be used to detect the terminal it is current fall direction, the target detection The power consumption of mode is less than the power consumption of the initial detecting mode.
As shown in figure 5, the device further include: the second electricity obtains module 45, the second judgment module 46, the second switching module 47;
Second electricity obtains module 45 and obtains the second electricity for obtaining current remaining capacity;
Second judgment module 46, for judging whether second electricity is less than preset threshold;
Second switching module 47 is used for when second electricity is more than or equal to the preset threshold, by the mesh Mark detection mode switches to the initial detecting mode.
Second electricity obtains module 45, is specifically used for: when detecting that default power interface has signal input, obtaining Current remaining capacity obtains the second electricity.
The initial detecting mode includes being detected using nine axis blending algorithms, which includes using six axis Blending algorithm is detected.
First switching module 44 is specifically used for: interval preset duration obtains current remaining capacity, obtains the first electricity.
The device further include: direction obtains module 48;The direction obtains module 48, for being obtained according to the target detection mode Take terminal it is current fall direction.
When it is implemented, the above modules can be used as independent entity to realize, any combination can also be carried out, is made It is realized for same or several entities, the specific implementation of the above modules can be found in the embodiment of the method for front, herein not It repeats again.
The terminal of this preferred embodiment falls detection device, currently falls the detection mode in direction by obtaining, obtains Initial detecting mode;Current remaining capacity is obtained, the first electricity is obtained;Judge whether first electricity is less than preset threshold; When first electricity is less than the preset threshold, which is switched into target detection mode, wherein the target is examined The power consumption of survey mode is less than the power consumption of the initial detecting mode.Due to when the remaining capacity for detecting terminal is fewer, The detection mode fallen is switched into the few detection mode of power consumption, extends the stand-by time of terminal.
Fig. 6 is please referred to, Fig. 6 is the structural schematic diagram for the terminal that the embodiment of the present invention five provides.
The present embodiment provides a kind of terminal, which may include that above-mentioned terminal falls detection device, the terminal Fall the specific descriptions that detection device specifically refers to example IV, details are not described herein.
The present embodiment also provides another terminal, as shown in fig. 6, the terminal 60 may include radio frequency (RF, Radio Frequency) circuit 61, the memory 62 for including one or more computer readable storage medium, input unit 63, Display unit 64 sensor 65, voicefrequency circuit 66, Wireless Fidelity (WiFi, Wireless Fidelity) module 67, includes The components such as the processor 68 and power supply 69 of one or more than one processing core.It will be understood by those skilled in the art that figure The restriction of the not structure paired terminal of terminal structure shown in 6 may include than illustrating more or fewer components, or combination Certain components or different component layouts.
Radio circuit 61 can be used for receiving and sending messages or communication process in signal send and receive, particularly, by base station After downlink information receives, one or the processing of more than one processor 68 are transferred to;In addition, the data for being related to uplink are sent to base It stands.In general, radio circuit 61 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses Family identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low-noise amplifier (LNA, Low Noise Amplifier), duplexer etc..In addition, radio circuit 61 can also by wireless communication with network and Other equipment communication.Any communication standard or agreement, including but not limited to global system for mobile telecommunications system can be used in the wireless communication Unite (GSM, Global System of Mobile communication), general packet radio service (GPRS, General Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is more Location (WCDMA, Wideband Code Division Multiple Access), long term evolution (LTE, Long Term Evolution), Email, short message service (SMS, Short Messaging Service) etc..
Memory 62 can be used for storing software program and module.Processor 68 is stored in the soft of memory 62 by operation Part program and module, thereby executing various function application and data processing.Memory 62 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 terminal use created data (such as Audio data, phone directory etc.) etc..In addition, memory 62 may include high-speed random access memory, it can also include non-volatile Property memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.Correspondingly, it deposits Reservoir 62 can also include Memory Controller, to provide the access of processor 68 and input unit 63 to memory 62.
Input unit 63 can be used for receiving the number or character information of input, and generate and user setting and function control Make related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, in some embodiments, input is single Member 63 may include touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or Trackpad collect User on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus touch-sensitive Operation on surface or near touch sensitive surface), and corresponding attachment device is driven according to preset formula.Optionally, Touch sensitive surface may include both touch detecting apparatus and touch controller.Wherein, the touching of touch detecting apparatus detection user Orientation is touched, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller is filled from touch detection Reception touch information is set, and is converted into contact coordinate, then gives processor 68, and the life that processor 68 is sent can be received It enables and is executed.Furthermore, it is possible to be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves touch-sensitive Surface.In addition to touch sensitive surface, input unit 63 can also include other input equipments.Specifically, other input equipments 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.
Display unit 64 can be used for showing information input by user or be supplied to user information and terminal it is various Graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.Display Unit 64 may include display panel, optionally, can use liquid crystal display (LCD, Liquid Crystal Display), have The forms such as machine light emitting diode (OLED, Organic Light-Emitting Diode) configure display panel.Further, Touch sensitive surface can cover display panel, after touch sensitive surface detects touch operation on it or nearby, send processor to 68 to determine the type of touch event, is followed by subsequent processing device 68 according to the type of touch event and provides corresponding view on a display panel Feel output.Although touch sensitive surface and display panel are to realize input and input work as two independent components in Fig. 6 Can, but in some embodiments it is possible to touch sensitive surface and display panel are integrated and realizes and outputs and inputs function.
Terminal 60 may also include at least one sensor 65, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel, proximity sensor can close display panel and/or back when terminal is moved in one's ear Light.As a kind of motion sensor, gravity accelerometer can detect (generally three axis) acceleration in all directions Size can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as terminal The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 66 can provide the audio interface between user and terminal by loudspeaker, microphone.Voicefrequency circuit 66 The audio data received can be converted into electric signal, be transferred to loudspeaker, voice signal output is converted to by loudspeaker;It is another The voice signal of collection is converted to electric signal by aspect, microphone, audio data is converted to after being received by voicefrequency circuit 66, then will After the processing of audio data output processor 68, such as another terminal is sent to through radio circuit 61, or audio data is defeated Out to memory 62 to be further processed.Voicefrequency circuit 66 is also possible that earphone jack, to provide peripheral hardware earphone and terminal Communication.
Wireless Fidelity (WiFi) belongs to short range wireless transmission technology, and terminal can help to use by wireless fidelity module 67 Family sends and receive e-mail, browses webpage and access streaming video etc., it provides wireless broadband internet access for user.Though Right Fig. 6 shows wireless fidelity module 67, but it is understood that, and it is not belonging to must be configured into for terminal, it completely can be with It omits within the scope of not changing the essence of the invention as needed.
Processor 68 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 62, and call the number being stored in memory 62 According to, execute terminal various functions and processing data, thus to terminal carry out integral monitoring.Optionally, processor 68 may include One or more processing cores;Preferably, processor 68 can integrate application processor and modem processor, wherein application The main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.It can With understanding, above-mentioned modem processor can not also be integrated into processor 68.
Terminal 60 further includes the power supply 69 (such as battery) powered to all parts.Preferably, power supply can pass through power supply Management system and processor 68 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.Power supply 69 can also include one or more direct current or AC power source, recharging system, power failure monitor The random components such as circuit, power adapter or inverter, power supply status indicator.
Although being not shown in Fig. 6, terminal can also include camera, bluetooth module etc., and details are not described herein.
Specifically in the present embodiment, the processor 68 in terminal can be according to following instruction, will be one or more The corresponding executable file of the process of application program is loaded into memory 62, and is stored in memory by processor 68 to run Application program in 62, to realize various functions:
The detection mode for currently falling direction is obtained, initial detecting mode is obtained;Current remaining capacity is obtained, obtains One electricity;Judge whether first electricity is less than preset threshold;When first electricity is less than the preset threshold, by the initial inspection Survey mode switches to target detection mode, wherein the target detection mode be used to detect the terminal it is current fall direction, the mesh The power consumption for marking detection mode is less than the power consumption of the initial detecting mode.
Preferably, there is processor 68 mode to obtain module, the first electricity obtains module, first judgment module, first cuts Change the mold block;
Processor 68 obtains initial detecting mode for obtaining the detection mode for currently falling direction;
Processor 68 obtains the first electricity for obtaining current remaining capacity;
Processor 68, for judging whether first electricity is less than preset threshold;
Processor 68, for when first electricity is less than preset threshold, which to be switched to target inspection Survey mode, wherein the target detection mode be used to detect the terminal it is current fall direction, the power consumption of the target detection mode Less than the power consumption of the initial detecting mode.
Aforesaid operations are for details, reference can be made to the embodiment of the method for front, and details are not described herein.
The terminal of this preferred embodiment currently falls the detection mode in direction by obtaining, obtains initial detecting mode;It obtains Current remaining capacity is taken, the first electricity is obtained;Judge whether first electricity is less than preset threshold;When first electricity is less than When the preset threshold, which is switched into target detection mode, wherein the power consumption of the target detection mode is small In the power consumption of the initial detecting mode.Due to the detection mode that when the remaining capacity for detecting terminal is fewer, will fall The few detection mode of power consumption is switched to, the stand-by time of terminal is extended.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
The detection method and device of falling for being provided for the embodiments of the invention a kind of terminal above are described in detail, Used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only used In facilitating the understanding of the method and its core concept of the invention;Meanwhile for those skilled in the art, think of according to the present invention Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair Limitation of the invention.

Claims (11)

1. a kind of terminal falls detection method characterized by comprising
The detection mode for currently falling direction is obtained, initial detecting mode is obtained;
Current remaining capacity is obtained, the first electricity is obtained;
Judge whether first electricity is less than preset threshold;
When first electricity is less than the preset threshold, the initial detecting mode is switched into target detection mode, Described in target detection mode be used to detect the terminal it is current fall direction, the power consumption of the target detection mode is less than The power consumption of the initial detecting mode.
2. terminal according to claim 1 falls detection method, which is characterized in that described when first electricity is less than When the preset threshold, after the step of initial detecting mode is switched to target detection mode, the method also includes:
Current remaining capacity is obtained, the second electricity is obtained;
Judge whether second electricity is less than preset threshold;
If second electricity is more than or equal to the preset threshold, the target detection mode is switched to described initial Detection mode.
3. terminal according to claim 2 falls detection method, which is characterized in that described to obtain current residue electricity Amount, the step of obtaining the second electricity include:
When detecting that default power interface has signal input, current remaining capacity is obtained, obtains the second electricity.
4. terminal according to claim 1 falls detection method, which is characterized in that described to obtain current residue electricity Amount, the step of obtaining the first electricity include:
Interval preset duration obtains current remaining capacity, obtains the first electricity.
5. terminal according to claim 1 falls detection method, which is characterized in that the initial detecting mode includes adopting It is detected with nine axis blending algorithms, the target detection mode includes being detected using six axis blending algorithms.
6. a kind of terminal falls detection device characterized by comprising
Mode obtains module, for obtaining the detection mode for currently falling direction, obtains initial detecting mode;
First electricity obtains module and obtains the first electricity for obtaining current remaining capacity;
First judgment module, for judging whether first electricity is less than preset threshold;
First switching module, for when first electricity is less than the preset threshold, the initial detecting mode to be switched To target detection mode, wherein the target detection mode be used to detect the terminal it is current fall direction, the target inspection The power consumption of survey mode is less than the power consumption of the initial detecting mode.
7. terminal according to claim 6 falls detection device, which is characterized in that described device further include:
Second electricity obtains module and obtains the second electricity for obtaining current remaining capacity;
Second judgment module, for judging whether second electricity is less than preset threshold;
Second switching module is used for when second electricity is more than or equal to the preset threshold, by the target detection Mode switches to the initial detecting mode.
8. terminal according to claim 7 falls detection device, which is characterized in that second electricity obtains module tool Body is used for: when detecting that default power interface has signal input, being obtained current remaining capacity, is obtained the second electricity.
9. terminal according to claim 6 falls detection device, which is characterized in that first electricity obtains module tool Body is used for: interval preset duration obtains current remaining capacity, obtains the first electricity.
10. terminal according to claim 6 falls detection device, which is characterized in that the initial detecting mode includes It is detected using nine axis blending algorithms, the target detection mode includes being detected using six axis blending algorithms.
11. a kind of computer readable storage medium, is stored with computer program, wherein the computer program to calculate Machine executes such as method described in any one of claim 1 to 5.
CN201610806685.8A 2016-09-06 2016-09-06 Terminal falls detection method and device Expired - Fee Related CN106254673B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610806685.8A CN106254673B (en) 2016-09-06 2016-09-06 Terminal falls detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610806685.8A CN106254673B (en) 2016-09-06 2016-09-06 Terminal falls detection method and device

Publications (2)

Publication Number Publication Date
CN106254673A CN106254673A (en) 2016-12-21
CN106254673B true CN106254673B (en) 2019-05-24

Family

ID=57598717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610806685.8A Expired - Fee Related CN106254673B (en) 2016-09-06 2016-09-06 Terminal falls detection method and device

Country Status (1)

Country Link
CN (1) CN106254673B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600541B (en) * 2018-04-24 2020-10-16 Oppo广东移动通信有限公司 Fall detection method and related device
CN108924914B (en) * 2018-04-27 2020-12-08 Oppo广东移动通信有限公司 Fall detection method and related product
CN114593727A (en) * 2022-03-04 2022-06-07 东集技术股份有限公司 Method, device, equipment and medium for judging falling state of handheld terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287037A (en) * 2008-05-30 2008-10-15 德信无线通讯科技(北京)有限公司 Method and device for power saving of mobile phone
CN103458099A (en) * 2012-06-05 2013-12-18 国龙信息技术(上海)有限公司 Protecting method for dropping power failure of hand-held terminal
CN105072292A (en) * 2015-08-04 2015-11-18 深圳市金立通信设备有限公司 Application control method and terminal
CN105592186A (en) * 2015-12-30 2016-05-18 赖晓东 Apparatus for protecting cellphone from being easily damaged during falling

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011110121A2 (en) * 2011-04-22 2011-09-15 华为技术有限公司 Method, terminal device, network side device and communication system for managing power supply

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287037A (en) * 2008-05-30 2008-10-15 德信无线通讯科技(北京)有限公司 Method and device for power saving of mobile phone
CN103458099A (en) * 2012-06-05 2013-12-18 国龙信息技术(上海)有限公司 Protecting method for dropping power failure of hand-held terminal
CN105072292A (en) * 2015-08-04 2015-11-18 深圳市金立通信设备有限公司 Application control method and terminal
CN105592186A (en) * 2015-12-30 2016-05-18 赖晓东 Apparatus for protecting cellphone from being easily damaged during falling

Also Published As

Publication number Publication date
CN106254673A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN106357897B (en) The acquisition methods and device of drop information
CN106502834B (en) Backup method, the apparatus and system of data
CN106412249B (en) The detection method and device of drop information
CN103530040B (en) Object element moving method, device and electronic equipment
CN104571787B (en) A kind of message display method and communication terminal
CN103365419B (en) A kind of method and apparatus triggering alarm clock control command
CN106340925B (en) A kind of charge control method, device and terminal
CN104915091B (en) A kind of method and apparatus for the prompt information that Shows Status Bar
CN106453597B (en) The method of adjustment of data synchronizing cycles, apparatus and system
CN105278937A (en) Method and device for displaying pop-up box messages
CN106646440B (en) A kind of falling height detection method and device
CN104636047A (en) Method and device for operating objects in list and touch screen terminal
CN104077184B (en) A kind of course control method and computer system of application program
CN104657666A (en) Method and device for optimizing terminal operation environment
CN104899080A (en) Method and apparatus for switching real-time image in instant messaging
CN104133757A (en) Method for obtaining memory information and terminal
CN105094501A (en) Display method, device and system for messages in mobile terminal
CN106254673B (en) Terminal falls detection method and device
CN107454270B (en) mobile terminal screen brightness control method, device and terminal
EP3570404B1 (en) Power supply control method and apparatus, storage medium, and electronic device
CN105045372A (en) Method and equipment controlling wearable device
CN104820546A (en) Functional information exhibition method and apparatus
CN106210838B (en) Caption presentation method and device
EP2998843A1 (en) Intelligent terminal and method for displaying input operation interface thereof
CN106412250B (en) One kind falling statistical method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190524

CF01 Termination of patent right due to non-payment of annual fee