CN106453830A - Falling detection method and device - Google Patents
Falling detection method and device Download PDFInfo
- Publication number
- CN106453830A CN106453830A CN201610807832.3A CN201610807832A CN106453830A CN 106453830 A CN106453830 A CN 106453830A CN 201610807832 A CN201610807832 A CN 201610807832A CN 106453830 A CN106453830 A CN 106453830A
- Authority
- CN
- China
- Prior art keywords
- terminal
- acceleration
- fall
- information
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
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
Embodiments of the invention provide a falling detection method and device. The method comprises the following steps of: starting a falling detection server and ensuring that the falling detection service resides in a terminal system; obtaining an accelerated speed of a terminal through the falling detection service; judging whether the accelerated speed satisfies a preset condition or not; and if the accelerated speed satisfies the preset condition, determining that the terminal falls. According to the scheme, the falling detection service is ensured to reside in the terminal system, the accelerated speed of the terminal is continuously obtained and the fact whether the terminal falls or not can be judged when the accelerated speed changes; and compared with the prior art, the method and device provided by the invention have the advantage of dispensing with awakening the background programs to process the detected data so as to improve the data obtaining and processing speed and improve the falling detection correctness.
Description
Technical field
The present invention relates to field of terminal technology is and in particular to one kind falls detection method and device.
Background technology
With the development of terminal technology, the function that the terminal such as mobile phone has gets more and more.For example, music function, social work(
Energy, navigation feature etc., bring great convenience to user.While enjoying convenient, people are more next to the degree of dependence of terminal
Higher.
In actual use, terminal from user handss fall, from table fall situations such as often occurs.At present, to end
End fall when being detected, backstage detection program is in a dormant state.When the state that sensor detects terminal changes
When, then wake up background program, by background program, the data that sensor detects is processed.However, falling in terminal
When falling, fall from terminal that to start time of colliding to terminal and ground very short, and it is certain to wake up background program needs
Time.When background program is processed to the data that sensor detects after being waken up, when terminal has begun to fall one section
Between.Therefore, when this method detection terminal is fallen, the accuracy falling detection can be caused low.
Content of the invention
The embodiment of the present invention provides one kind to fall detection method and device, can improve the accuracy falling detection.
The embodiment of the present invention provides one kind to fall detection method, including:
Start and fall detection service, and fall detection service described in keeping and reside in terminal system;
Fall the acceleration that detection service obtains described terminal by described;
Judge whether described acceleration meets pre-conditioned;
If meeting pre-conditioned it is determined that described terminal is fallen.
Accordingly, the embodiment of the present invention also provides one kind to fall detection means, including:
Service module, falls detection service for starting, and falls detection service described in keeping and reside in terminal system;
First acquisition module, for falling, by described, the acceleration that detection service obtains described terminal;
Judge module, pre-conditioned for judging whether described acceleration meets;
Determining module, for when the judged result of described judge module is for being, determining that described terminal is fallen.
The embodiment of the present invention falls detection service using startup, and keeps this to fall in the resident terminal system of detection service;
The acceleration that detection service obtains this terminal is fallen by this;Judge whether this acceleration meets pre-conditioned;If meeting default
Condition is it is determined that this terminal is fallen.The program keeps falling in the resident terminal system of detection service, and persistence obtains terminal
Acceleration, quickly can judge whether terminal is fallen when acceleration changes, in terms of existing technologies, no
Background program need to be waken up the data detecting is processed, thus accelerating data acquisition and the speed processing, improve and falling
Fall the accuracy of detection.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below
Accompanying drawing is briefly described.It should be evident that drawings in the following description are only some embodiments of the present invention, for
For those skilled in the art, on the premise of not paying creative work, can also be obtained other attached according to these accompanying drawings
Figure.
Fig. 1 is the schematic flow sheet falling detection method that the embodiment of the present invention one provides.
Fig. 2 is the schematic flow sheet falling detection method that the embodiment of the present invention two provides.
Fig. 3 be the embodiment of the present invention three provide the first fall the structural representation of detection means.
Fig. 4 is the structural representation that the second that the embodiment of the present invention three provides falls detection means.
Fig. 5 be the embodiment of the present invention three provide the third fall the structural representation of detection means.
Fig. 6 is the structural representation of the first terminal that the embodiment of the present invention four provides.
Fig. 7 is the structural representation of the second terminal that the embodiment of the present invention four provides.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes.Obviously, described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under the premise of not making creative work
Example, broadly falls into the scope of protection of the invention.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second ", " the 3rd " etc.
(if present) is for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that this
The object of sample description can exchange in the appropriate case.Additionally, term " comprising " and " having " and their any deformation, meaning
Figure is to cover non-exclusive comprising.For example, contain the process of series of steps, method or contain a series of modules or list
The device of unit, terminal, system are not necessarily limited to those steps or module or the unit clearly listed, and can also include unclear
The step listed or module or unit it is also possible to include for these processes, method, device, terminal or intrinsic its of system
Its step or module or unit.
The embodiment of the present invention provides one kind to fall detection method, device and terminal, is described in detail respectively below.
Embodiment one
The present embodiment will be described from the angle falling detection means, this device specifically can integrated in the terminal, should
Terminal can be the equipment such as smart mobile phone, panel computer.
One kind falls detection method, including:Start and fall detection service, and keep this to fall detection service and reside terminal system
In system;The acceleration that detection service obtains this terminal is fallen by this;Judge whether this acceleration meets pre-conditioned;If meeting
Pre-conditioned it is determined that this terminal is fallen.
As shown in figure 1, this falls detection method, idiographic flow can include:
S101, starts and falls detection service, and keeps this to fall in the resident terminal system of detection service.
Specifically, falling detection service is one of terminal application program.Fall detection service to be used for calling sensor
Call function, by the acceleration information of acceleration transducer acquisition terminal, and is analyzed to acceleration information processing.Fall
Detection service can be installed in the terminal when terminal is dispatched from the factory.
In practical application, can start in starting up of terminal and fall detection service, and keep this to fall detection service and reside
In terminal system.Can also start and fall detection service, and keep this to fall inspection when terminal receives the open command of user
In the resident terminal system of service of surveying.It is constantly in operation shape it should be readily apparent to one skilled in the art that residing and referring to application program
State, without exiting or entering resting state from system.When falling in the resident terminal system of detection service, can be on foreground
Run or in running background.When falling in the resident terminal system of detection service, sensor can be routinely called to adjust
With function, such that it is able to routinely pass through the acceleration information of acceleration transducer acquisition terminal.
S102, falls, by this, the acceleration that detection service obtains this terminal.
In concrete application, fall detection service and call the sensor call function in terminal system.Sensor call function
Call acceleration transducer, by the acceleration information of acceleration transducer acquisition terminal.Fall detection service to collecting
Acceleration information is analyzed processing.The acceleration obtaining terminal by falling detection service is persistently carried out.That is, obtaining
The acceleration of terminal is carried out in real time, and the process obtaining terminal acceleration is not in interruption.
S103, judges whether this acceleration meets pre-conditioned.
In concrete application, in terminal is hand held by user or when being placed in pocket, terminal can be subject to from user
Holding power or the holding power from pocket.In the case of these, terminal is likely to be at kinestate it is also possible to have acceleration.
But, in these cases, even if terminal has acceleration, acceleration is also as the holding power of user or the support of pocket
Power and change at any time.When terminal is fallen, terminal is only acted on by gravity and air drag.And air drag is usual
Can neglect.Therefore, when terminal is fallen it can be understood as terminal is only affected by gravity.Terminal was being fallen
Acceleration in journey is constant, namely acceleration of gravity.
Therefore, pre-conditioned can be whether this acceleration is steady state value, or whether this acceleration is acceleration of gravity.
Judge whether this acceleration meets and pre-conditioned can specifically include following steps:
Whether the size judging this acceleration is default size;
Whether the direction judging this acceleration is preset direction.
Specifically, default size is the numerical value being stored in advance in terminal memory.Because Different Altitude Regions gravity adds
There is small difference in speed, therefore, default size can also allow user to change.Default size can also be user setup simultaneously
It is stored in the numerical value in terminal memory.Default size can be the size of acceleration of gravity.For example, default size is 9.8.Obtain
After getting the acceleration of terminal, transfer the default size of storage in terminal.Acceleration magnitude is compared with default size, with
Judge whether acceleration magnitude is default size.
Preset direction is the directional information prestoring in the terminal.Because acceleration of gravity direction is constant, it is perpendicular
Directly downward.Therefore, preset direction can be straight down.After getting the acceleration of terminal, by acceleration direction and default side
To being compared, to judge acceleration direction whether as preset direction.
When acceleration magnitude is default size, and when acceleration direction is preset direction, judged result is full for acceleration
Pre-conditioned, subsequent execution step S104 of foot.
In practical application, air drag can fall one backward acceleration of direction generation to terminal.Although produce adds
Speed values very little, but also can produce impact to the acceleration of terminal.Therefore, the actual acceleration size of terminal might not
It is acceleration of gravity size, but there is certain deviation with acceleration of gravity size.Simultaneously as the impact of sensor accuracy,
Will also result in the acceleration magnitude collecting and there is certain deviation with acceleration of gravity size.Therefore, judge the big of this acceleration
Whether little be that default size can specifically include following steps:
Obtain the difference of this acceleration magnitude and default size;
Judge whether the absolute value of this difference is less than preset difference value;
If being less than preset difference value, it is judged as that this acceleration magnitude is default size.
Specifically, preset difference value is the numerical value being stored in advance in terminal memory.For example, preset difference value is 0.2.Obtain
To after the acceleration of terminal, obtain the difference of acceleration magnitude and default size further.Then transfer in terminal memory
Whether preset difference value, the absolute value of the difference getting and preset difference value are compared, little with the absolute value that judges this difference
In preset difference value.If the absolute value of the difference getting is less than preset difference value, now can be understood as acceleration magnitude and approximate
Default size.Judged result now is default size for this acceleration magnitude.
S104, if meet pre-conditioned it is determined that this terminal is fallen.
Specifically, when the judged result in S103 meets pre-conditioned for acceleration, it is defined as this terminal and falls.
In certain embodiments, after determining that terminal is fallen, information can be issued the user with so that user and
Shi Zhixiao terminal there occurs the event of falling.Therefore, after determining that this terminal falls, fall detection method can also include with
Lower step:
Obtain corresponding information;
Show this information on the terminal.
Specifically, information Store can be will be prompted in advance in the terminal.This information is used for pointing out user terminal to occur
Fall event.For example, this information can be the text message of " terminal is fallen ", and information can also be red light
Flicker or the voice messaging of " terminal is fallen ".When determining that terminal is fallen, transfer this information from terminal,
And this information is shown on terminal.The mode shown has multiple.For example, when information is text message, can be at end
The display screen display text information at end;When information is blinking red lamp, the LED in terminal is lighted with red flicker
(light emitting diode);When information is voice messaging, this voice messaging is play by the speaker of terminal.
Further, height when information can also point out user terminal to fall, thinks that user judges the damage of terminal
Bad degree provides reference.Obtain corresponding information and can specifically include following steps:
Obtain height when this terminal is fallen;
Corresponding information is highly obtained according to this.
In concrete application, can integrated range sensor in the terminal.When determining that terminal is fallen, passed by distance
Sensor is obtaining height when terminal is fallen.Range sensor includes but is not limited to infrared sensor, ultrasonic sensor, electric capacity
Sensor etc..
Information can be the information with height correlation prestoring in the terminal, to point out user terminal there occurs
Fall event, height when prompting user terminal falls simultaneously.Can be in advance in the terminal between storing highly and information
Corresponding relation.For example, the corresponding information of height 2m be " terminal is fallen at 2m " text message, text information with
Orange font shows;The corresponding information of height 3m is the text message of " terminal is fallen at 3m ", and text information is with red
Color font shows.After getting height when terminal is fallen, obtained highly corresponding with this according to the corresponding relation prestoring
Information.
In practical application, the difference between differing heights may be less.The corresponding information of differing heights is to user's
Difference between suggesting effect also very little.Therefore, corresponding information is highly obtained according to this and can specifically include following step
Suddenly:
Determine that this highly residing height is interval;
Corresponding information is obtained according to this highly interval.
Specifically, in advance height can be divided into several intervals.For example, by height be divided into low latitude [0m, 1m), hollow [1m,
3m), high-altitude [3m, 10m) three intervals.The corresponding information in low latitude is the green text message of " terminal is fallen from low latitude ",
Green light flicker simultaneously;The corresponding information of hollow is the orange text message of " terminal is fallen from hollow ", orange lamp simultaneously
Flicker;The corresponding information in high-altitude is the red text information of " terminal from fall from high altitude ", simultaneously red colored lamp flicker.Get
After height when terminal is fallen, determine that this highly residing height is interval.Then highly interval with this according to highly interval acquisition
Corresponding information, and show this information.For example, the height getting is 4m, then corresponding highly interval is high-altitude
[3m, 10m), the information getting is the red text information of " terminal from fall from high altitude ", simultaneously red colored lamp flicker.With
Afterwards, " terminal from fall from high altitude " is shown on terminal, simultaneously with red flicker lightening LED lamp with red font.
When being embodied as, the present invention is not limited by the execution sequence of each described step, is not producing conflict
In the case of, some steps can also be carried out or be carried out simultaneously using other orders.
From the foregoing, it will be observed that provided in an embodiment of the present invention fall detection method, detection service is fallen using startup, and keep this
Fall detection service to reside in terminal system;The acceleration that detection service obtains this terminal is fallen by this;Judge this acceleration
Whether meet pre-conditioned;If meeting pre-conditioned it is determined that this terminal is fallen.It is normal that detection service is fallen in program holding
In terminal system, persistence obtains the acceleration of terminal, quickly can judge whether terminal is sent out when acceleration changes
Life is fallen, and in terms of existing technologies, need not wake up background program and the data detecting is processed, thus accelerating number
According to the speed obtaining and process, improve the accuracy falling detection.
Embodiment two
Fall detection method according to described by embodiment one, below citing is described in further detail.
In the present embodiment, specifically will be integrated in smart mobile phone with falling detection method, with falling in smart mobile phone
It is described in detail as a example detection method.
As shown in Fig. 2 falling detection method, idiographic flow can be as follows:
S201, starts and falls detection service, and keeps this to fall in the resident intelligent mobile phone system of detection service.
In concrete application, falling detection service is that smart mobile phone is arranged on one of smart mobile phone application journey when dispatching from the factory
Sequence.Fall detection service to be used for calling sensor call function, gather the acceleration number of degrees of smart mobile phone by acceleration transducer
According to, and acceleration information is analyzed process.
In practical application, can start when smart mobile phone is started shooting and fall detection service, and keep this to fall detection service
In resident intelligent mobile phone system.Can also start and fall detection service when smart mobile phone receives the open command of user, and
Keep this to fall detection service to reside in intelligent mobile phone system.It should be readily apparent to one skilled in the art that resident refer to apply journey
Sequence is constantly in running status, without exiting from system or entering resting state.Fall detection service and reside smart mobile phone
When in system, can be in front stage operation or in running background.Fall detection service to reside in intelligent mobile phone system
When, can routinely call sensor call function, such that it is able to routinely intelligent handss be gathered by acceleration transducer
The acceleration information of machine.
S202, falls, by this, the acceleration that detection service obtains this smart mobile phone.
Specifically, smart mobile phone is integrated with acceleration transducer, for gathering the acceleration information of smart mobile phone.Start
After falling detection service, fall detection service persistence and call the sensor call function in intelligent mobile phone system.Sensor is adjusted
Use function call acceleration transducer, gather the acceleration information of smart mobile phone by acceleration transducer.Fall detection service
The acceleration information collecting is analyzed process.
S203, obtains the difference of this acceleration magnitude and default size.
Specifically, default size is to be stored in advance in one of smart mobile phone numerical value.For example, default size is 9.8.Obtain
After getting the acceleration of smart mobile phone, transfer the default size of storage in smart mobile phone, and calculate this acceleration magnitude and preset
The difference of size.
S204, judges whether the absolute value of this difference is less than preset difference value.
Specifically, preset difference value is to be stored in advance in one of smart mobile phone numerical value.For example, default size is 0.2.Obtain
After getting acceleration magnitude and the difference of default size, judge whether the absolute value of this difference is less than preset difference value.For example, accelerate
Degree size is 9.75, then acceleration magnitude and the difference of default size are -0.05, and the absolute value of this difference is 0.05, can sentence
The absolute value for this difference that breaks is less than default size 0.2.
S205, if being less than preset difference value, is judged as that this acceleration magnitude is default size.
Specifically, when the absolute value judging this difference is less than preset difference value it will be appreciated that approximating for acceleration magnitude
Default size, now can determine whether that for this acceleration magnitude be default size.
S206, judges whether this acceleration direction is preset direction.
Specifically, preset direction is the directional information being stored in advance in smart mobile phone.For example, preset direction can be perpendicular
Directly downward.After judging that acceleration magnitude is default size, transfer the directional information of storage in smart mobile phone, by acceleration direction
It is compared with direction information, to judge this acceleration direction whether as preset direction.
S207, if preset direction is it is determined that this smart mobile phone falls.
Specifically, fall it may be determined that going out smart mobile phone and there occurs when judging acceleration direction for preset direction.
S208, obtains height when this smart mobile phone falls.
Specifically, it is integrated with range sensor in smart mobile phone.When determining that smart mobile phone falls, passed by distance
Sensor is obtaining height when smart mobile phone falls.Range sensor include but is not limited to infrared sensor, ultrasonic sensor,
Capacitance sensor etc..
S209, determines that this highly residing height is interval.
Specifically, in advance height can be divided into several intervals.For example, by height be divided into low latitude [0m, 1m), hollow [1m,
3m), high-altitude [3m, 10m) three intervals.After getting height when smart mobile phone falls, determine this highly residing height area
Between.For example, the height getting is 4m, then can determine this highly residing height interval for high-altitude [3m, 10m).
S210, obtains corresponding information according to this highly interval.
Specifically, information can be stored in advance in smart mobile phone.Information is used for pointing out user smart mobile phone
There occurs the event of falling.Can also the interval corresponding relation and information between of storing highly in smart mobile phone in advance.Example
As the corresponding information in low latitude is the green text message of " smart mobile phone falls from low latitude ", simultaneously green light flicker;Hollow
Corresponding information is the orange text message of " smart mobile phone falls from hollow ", simultaneously orange lamp flicker;High-altitude is corresponding
Information is the red text information of " smart mobile phone from fall from high altitude ", simultaneously red colored lamp flicker.Get smart mobile phone to fall
After height when falling, determine that this highly residing height is interval.Then highly interval corresponding with this according to highly interval acquisition
Information.For example, the height getting is 4m, then corresponding highly interval for high-altitude [3m, 10m), the prompting letter getting
Cease the red text information for " smart mobile phone from fall from high altitude ", simultaneously red colored lamp flicker.
S211, shows this information on this smart mobile phone.
Specifically, after getting information, this information is shown on smart mobile phone.Show the mode of information
Can be to show on a display screen, can be the flicker of LDE lamp or broadcasting voice message.For example, the prompting letter getting
Cease the red text information for " smart mobile phone from fall from high altitude ", simultaneously red colored lamp flicker, then with red word on smart mobile phone
Body shows " smart mobile phone from fall from high altitude ", simultaneously with red flicker lightening LED lamp.
When being embodied as, the present invention is not limited by the execution sequence of each described step, is not producing conflict
In the case of, some steps can also be carried out or be carried out simultaneously using other orders.
From the foregoing, it will be observed that provided in an embodiment of the present invention fall detection method, detection service is fallen using startup, and keep this
Fall detection service to reside in intelligent mobile phone system;The acceleration that detection service obtains this smart mobile phone is fallen by this;Pass through
Judge that whether this acceleration is predetermined acceleration and to determine whether smart mobile phone falls;Determine that smart mobile phone falls
Afterwards, corresponding information is obtained according to height when falling;And this information is shown on smart mobile phone.The program keeps
Fall detection service and reside in intelligent mobile phone system, persistence obtains the acceleration of smart mobile phone, can change in acceleration
Quickly judge whether smart mobile phone falls during change, after smart mobile phone falls, show corresponding information, relatively
For prior art, background program need not be waken up the data detecting is processed, thus accelerating data acquisition and place
The speed of reason, improves the accuracy falling detection.
Embodiment three
In order to preferably implement above method, the embodiment of the present invention also provides one kind to fall detection means, and this device is permissible
Integrated in the terminal, this terminal can be the equipment such as smart mobile phone, panel computer.
As shown in figure 3, fall detection means can include:Service module 301, the first acquisition module 302, judge module
303rd, determining module 304, are described in detail below:
This service module 301, falls detection service for starting, and keeps this to fall the resident terminal system of detection service
In;
This first acquisition module 302, for falling, by this, the acceleration that detection service obtains this terminal;
This judge module 303, pre-conditioned for judging whether this acceleration meets;
This determining module 304, for when the judged result of this judge module 303 is for being, determining that this terminal is fallen.
Preferably, as shown in figure 4, this judge module 303 includes:Size judging submodule 3031, walking direction submodule
3032, specific as follows:
This size judging submodule 3031, whether the size for judging this acceleration is default size;
Direction judging submodule 3032, whether the direction for judging this acceleration is preset direction.
Preferably, this size judging submodule 3031 specifically for:
Obtain the difference of this acceleration magnitude and default size;
Judge whether the absolute value of this difference is less than preset difference value;
If being less than preset difference value, it is judged as that this acceleration magnitude is default size.
Preferably, as shown in figure 5, this falls detection means also includes:Second acquisition module 305, reminding module 306, tool
Body is as follows:
This second acquisition module 305, for obtaining corresponding information;
This reminding module 306, for showing this information on the terminal.
When being embodied as, above modules can be realized as independent entity it is also possible to carry out combination in any, makees
To realize for same or several entities.Being embodied as of above modules can be found in embodiment of the method above, and here is not
Repeat again.
From the foregoing, it will be observed that provided in an embodiment of the present invention fall detection means, started by service module 301 and fall detection clothes
Business, and keep this to fall in the resident terminal system of detection service;First acquisition module 302 falls detection service acquisition by this and is somebody's turn to do
The acceleration of terminal;It is pre-conditioned that judge module 303 judges whether this acceleration meets;Determining module 304 is in judge module 303
Judged result be when meeting pre-conditioned, to determine that this terminal is fallen.The program keeps falling the resident terminal of detection service
In system, persistence obtains the acceleration of terminal, quickly can judge whether terminal is fallen when acceleration changes,
In terms of existing technologies, background program need not be waken up the data detecting is processed, thus accelerating data acquisition
Speed with processing, improves the accuracy falling detection.
Example IV
The embodiment of the present invention also provides a kind of terminal, and this terminal can be the equipment such as smart mobile phone, panel computer.
As shown in fig. 6, terminal 400 can include:Service module 401, the first acquisition module 402, judge module 403, really
Cover half block 404, is described in detail below:
This service module 401, falls detection service for starting, and keeps this to fall the resident terminal system of detection service
In;
This first acquisition module 402, for falling, by this, the acceleration that detection service obtains this terminal;
This judge module 403, pre-conditioned for judging whether this acceleration meets;
This determining module 404, for when the judged result of this judge module 403 is for being, determining that this terminal is fallen.
Preferably, this judge module 403 includes:Size judging submodule, walking direction submodule, specific as follows:
This size judging submodule, whether the size for judging this acceleration is default size;
Direction judging submodule, whether the direction for judging this acceleration is preset direction.
Preferably, this size judging submodule specifically for:
Obtain the difference of this acceleration magnitude and default size;
Judge whether the absolute value of this difference is less than preset difference value;
If being less than preset difference value, it is judged as that this acceleration magnitude is default size.
Preferably, terminal 400 also includes:Second acquisition module, reminding module, specific as follows:
This second acquisition module, for obtaining corresponding information;
This reminding module, for showing this information on the terminal.
Aforesaid operations specifically can be found in embodiment of the method above, will not be described here.
The embodiment of the present invention also provides another kind of terminal, as shown in fig. 7, this terminal 500 can include radio frequency (RF, Radio
Frequency) circuit 501, the memorizer 502 including one or more computer-readable recording mediums, input block
503rd, display unit 504, sensor 505, voicefrequency circuit 506, Wireless Fidelity (WiFi, Wireless Fidelity) module
507th, the parts such as processor 508 and the power supply 509 of or more than one processing core are included.People in the art
Member, it is appreciated that the restriction of the terminal structure not structure paired terminal shown in Fig. 7, can include more more or less of than illustrating
Part, or combine some parts, or different part arrangements.
Radio circuit 501 can be used for receiving and sending messages, or the reception of signal and transmission in communication process, especially, by base station
Downlink information receive after, transfer to one or more than one processor 508 processed;In addition, up data is activation will be related to
To base station.Generally, radio circuit 501 includes but is not limited to antenna, at least one amplifier, tuner, one or more vibration
Device, subscriber identity module (SIM, Subscriber Identity Module) card, transceiver, bonder, low noise amplification
Device (LNA, Low Noise Amplifier), duplexer etc..Additionally, radio circuit 501 can also pass through radio communication and network
With other equipment communication.This radio communication can use arbitrary communication standard or agreement, including but not limited to global system for mobile telecommunications
System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General
Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division many
Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term
Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc..
Memorizer 502 can be used for storing software program and module.Processor 508 is stored in memorizer 502 by operation
Software program and module, thus executing various function application and data processing.Memorizer 502 can mainly include storing journey
Sequence area and storage data field, wherein, storing program area can (compare the application program needed for storage program area, at least one function
As sound-playing function, image player function etc.) etc.;Storage data field can store according to terminal using the data being created
(such as voice data, phone directory etc.) etc..Additionally, memorizer 502 can include high-speed random access memory, can also include
Nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Phase
Ying Di, memorizer 502 can also include Memory Controller, to provide processor 508 and input block 503 to memorizer 502
Access.
Input block 503 can be used for numeral or the character information of receives input, and produces and user setup and function
Control relevant keyboard, mouse, action bars, optics or trace ball signal input.Specifically, in a specific embodiment
In, input block 503 may include Touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or touch
Control plate, can collect user thereon or neighbouring touch operation (such as user use any suitable object such as finger, stylus or
Operation on Touch sensitive surface or near Touch sensitive surface for the adnexa), and corresponding connection dress is driven according to formula set in advance
Put.Optionally, Touch sensitive surface may include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus inspection
Survey the touch orientation of user, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller from
Receive touch information on touch detecting apparatus, and be converted into contact coordinate, then give processor 508, and can reception processing
Order that device 508 is sent simultaneously is executed.Furthermore, it is possible to it is multiple using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes Touch sensitive surface.Except Touch sensitive surface, input block 503 can also include other input equipments.Specifically, other are defeated
Enter equipment and can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, Mus
One or more of mark, action bars etc..
Display unit 504 can be used for display and by the information of user input or is supplied to the information of user and the various of terminal
Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display
Unit 504 may include display floater, optionally, can using liquid crystal display (LCD, Liquid Crystal Display),
The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) are configuring display floater.Further
, Touch sensitive surface can cover display floater, when Touch sensitive surface detects thereon or after neighbouring touch operation, sends process to
Device 508, to determine the type of touch event, provides accordingly according to the type of touch event on a display panel with preprocessor 508
Visual output.Although in the figure 7, Touch sensitive surface and display floater are to realize inputting as two independent parts and to input
Function, but in some embodiments it is possible to will be integrated to Touch sensitive surface and display floater and realize input and output function.
Terminal may also include at least one sensor 505, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light
The brightness to adjust display floater for the light and shade, proximity transducer can cut out display floater and/or the back of the body when terminal moves in one's ear
Light.As one kind of motion sensor, Gravity accelerometer can detect (generally three axles) acceleration in all directions
Size, can detect that size and the direction of gravity when static, can be used for identify mobile phone attitude application (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Can also configure as terminal
Gyroscope, barometer, drimeter, thermometer, the other sensors such as infrared ray sensor, will not be described here.
Voicefrequency circuit 506 can provide the audio interface between user and terminal by speaker, microphone.Voicefrequency circuit
The voice data receiving can be converted into the signal of telecommunication by 506, be transferred to speaker, be converted to acoustical signal output by speaker;
On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone, is converted to audio frequency number by voicefrequency circuit 506 after being received
According to then after processing voice data output processor 508, through radio circuit 501 being sent to such as another terminal, or by sound
Frequency data output is to memorizer 502 to process further.Voicefrequency circuit 506 is also possible that earphone jack, to provide peripheral hardware
Earphone and the communication of terminal.
Wireless Fidelity (WiFi) belongs to short range wireless transmission technology, and terminal can be helped by wireless fidelity module 507
User sends and receive e-mail, browses webpage and access streaming video etc., and it has provided the user wireless broadband internet and has accessed.
Although Fig. 7 shows wireless fidelity module 507, but it is understood that, it is simultaneously not belonging to must be configured into of terminal, completely may be used
To omit in the scope of essence not changing invention as needed.
Processor 508 is the control centre of terminal, using the various pieces of various interfaces and the whole terminal of connection, leads to
Cross and run or software program and/or module that execution is stored in memorizer 502, and call and be stored in memorizer 502
Data, the various functions of execution terminal and processing data, thus carry out integral monitoring to terminal.Optionally, processor 508 can wrap
Include one or more processing cores;Preferably, processor 508 can integrated application processor and modem processor, wherein, should
Mainly process operating system, user interface and application program etc. with processor, modem processor mainly processes radio communication.
It is understood that above-mentioned modem processor can not also be integrated in processor 508.
Terminal also includes the power supply 509 (such as battery) powered to all parts.Preferably, power supply can pass through power supply pipe
Reason system is logically contiguous with processor 508, thus realizing management charging, electric discharge and power managed by power-supply management system
Etc. function.Power supply 509 can also include one or more direct current or alternating current power supply, recharging system, power failure inspection
The random component such as slowdown monitoring circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown in Fig. 7, terminal can also include photographic head, bluetooth module etc., will not be described here.
Specifically in the present embodiment, the processor 508 in terminal can be according to following instruction, will be one or more
The corresponding executable file of process of application program is loaded in memorizer 502, and to be run by processor 508 and be stored in storage
Application program in device 502, thus realize various functions:
Start and fall detection service, and keep this to fall detection service and reside in terminal system;Detection clothes are fallen by this
Business obtains the acceleration of this terminal;Judge whether this acceleration meets pre-conditioned;If meet pre-conditioned it is determined that this terminal
Fall.
Preferably, processor 508 has service module, the first acquisition module, judge module, determining module, specifically describes
As follows:
Processor 508 is used for falling detection service by service module startup, and it is resident eventually to keep this to fall detection service
In end system;
Processor 508 is used for falling, by this, the acceleration that detection service obtains this terminal by the first acquisition module;
Processor 508 is pre-conditioned for judging whether this acceleration meets by judge module;
Processor 508 is used for by determining module, when the judged result of this judge module is to meet pre-conditioned, determining
This terminal is fallen.
Aforesaid operations specifically can be found in embodiment of the method above, will not be described here.
From the foregoing, it will be observed that embodiments providing a kind of terminal, falling detection service by starting, and keeping this to fall
Detection service is resided in terminal system;The acceleration that detection service obtains this terminal is fallen by this;Whether judge this acceleration
Meet pre-conditioned;If meeting pre-conditioned it is determined that this terminal is fallen.Program holding is fallen detection service and is resided eventually
In end system, persistence obtains the acceleration of terminal, quickly can judge whether terminal falls when acceleration changes
Fall, in terms of existing technologies, background program need not be waken up the data detecting is processed, thus accelerate data obtaining
The speed taking and processing, improves the accuracy falling detection.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or
Part steps can be by program to complete come the hardware to instruct correlation, and this program can be stored in computer-readable storage medium
In matter, storage medium can include:Read only memory (ROM, Read Only Memory), random access memory (RAM,
Random Access Memory), disk or CD etc..
The one kind above embodiment of the present invention being provided is fallen detection method, device and terminal and is described in detail,
Specific case used herein is set forth to the principle of the present invention and embodiment, and the explanation of above example is to use
Understand the method for the present invention and its core concept in help;Simultaneously for those skilled in the art, according to the think of of the present invention
Think, all will change in specific embodiments and applications, in sum, it is right that this specification content should not be construed as
The restriction of the present invention.
Claims (10)
1. one kind falls detection method it is characterised in that including:
Start and fall detection service, and fall detection service described in keeping and reside in terminal system;
Fall the acceleration that detection service obtains described terminal by described;
Judge whether described acceleration meets pre-conditioned;
If meeting pre-conditioned it is determined that described terminal is fallen.
2. according to claim 1 fall detection method it is characterised in that described to judge whether described acceleration meets pre-
If the step of condition specifically includes:
Whether the size judging described acceleration is default size;
Whether the direction judging described acceleration is preset direction.
3. according to claim 2 fall detection method it is characterised in that the described size judging described acceleration whether
Step for default size specifically includes:
Obtain the difference of described acceleration magnitude and default size;
Judge whether the absolute value of described difference is less than preset difference value;
If being less than preset difference value, it is judged as that described acceleration magnitude is default size.
4. according to claim 1 fall detection method it is characterised in that the step fallen of the described terminal of described determination
After rapid, described detection method of falling also includes:
Obtain corresponding information;
Described information is shown on described terminal.
5. according to claim 4 fall detection method it is characterised in that the step of the corresponding information of described acquisition
Specifically include:
Obtain height when described terminal is fallen;
Corresponding information is obtained according to described height.
6. according to claim 5 fall detection method it is characterised in that described according to described height obtain carry accordingly
Show that the step of information specifically includes:
Determine that described highly residing height is interval;
According to the corresponding information of described highly interval acquisition.
7. one kind falls detection means it is characterised in that including:
Service module, falls detection service for starting, and falls detection service described in keeping and reside in terminal system;
First acquisition module, for falling, by described, the acceleration that detection service obtains described terminal;
Judge module, pre-conditioned for judging whether described acceleration meets;
Determining module, for when the judged result of described judge module is for being, determining that described terminal is fallen.
8. according to claim 7 fall detection means it is characterised in that described judge module specifically includes:
Size judging submodule, whether the size for judging described acceleration is default size;
Walking direction submodule, whether the direction for judging described acceleration is preset direction.
9. according to claim 8 fall detection means it is characterised in that described size judging submodule specifically for:
Obtain the difference of described acceleration magnitude and default size;
Judge whether the absolute value of described difference is less than preset difference value;
If being less than preset difference value, it is judged as that described acceleration magnitude is default size.
10. according to claim 7 fall detection means it is characterised in that described detection means of falling also includes:
Second acquisition module, for obtaining corresponding information;
Reminding module, for showing described information in described terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610807832.3A CN106453830A (en) | 2016-09-06 | 2016-09-06 | Falling detection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610807832.3A CN106453830A (en) | 2016-09-06 | 2016-09-06 | Falling detection method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106453830A true CN106453830A (en) | 2017-02-22 |
Family
ID=58164945
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610807832.3A Pending CN106453830A (en) | 2016-09-06 | 2016-09-06 | Falling detection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106453830A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108182274A (en) * | 2018-01-23 | 2018-06-19 | 广东欧珀移动通信有限公司 | The maintenance process method and Related product of electronic equipment |
CN108184026A (en) * | 2018-01-23 | 2018-06-19 | 广东欧珀移动通信有限公司 | Falling protection method and related product |
CN108228427A (en) * | 2018-01-23 | 2018-06-29 | 广东欧珀移动通信有限公司 | Electronic equipment prevents from falling method and Related product |
CN108307058A (en) * | 2018-01-23 | 2018-07-20 | 广东欧珀移动通信有限公司 | Fall the analysis method and Related product of reason |
CN108600540A (en) * | 2018-04-24 | 2018-09-28 | Oppo广东移动通信有限公司 | fall detection method and related product |
CN109068006A (en) * | 2018-09-29 | 2018-12-21 | Oppo广东移动通信有限公司 | Fall the method reported, relevant device and storage medium |
CN109067969A (en) * | 2018-06-26 | 2018-12-21 | 努比亚技术有限公司 | The method, apparatus and computer readable storage medium of mobile device and its shatter-resistant |
CN109246293A (en) * | 2018-08-21 | 2019-01-18 | 维沃移动通信有限公司 | One kind falling detection method and terminal device |
CN111459561A (en) * | 2020-04-01 | 2020-07-28 | 深圳创元智能软件科技有限公司 | Fall-based sleep control method and device and computer readable storage medium |
CN114283556A (en) * | 2021-12-06 | 2022-04-05 | 三星半导体(中国)研究开发有限公司 | Method, apparatus, electronic device and storage medium for autonomous distress call |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04354510A (en) * | 1991-05-31 | 1992-12-08 | Mitsubishi Electric Corp | Oven hood fan |
CN102279285A (en) * | 2011-03-11 | 2011-12-14 | 华为终端有限公司 | Terminal, method and apparatus for detecting drop information thereof |
CN102411904A (en) * | 2010-09-21 | 2012-04-11 | 和硕联合科技股份有限公司 | Display method and portable electronic device applying same |
CN102946490A (en) * | 2012-11-26 | 2013-02-27 | 上海斐讯数据通信技术有限公司 | Mobile terminal having induction refusing system and induction refusing method |
CN103297593A (en) * | 2012-02-24 | 2013-09-11 | 联想(北京)有限公司 | Mobile terminal and method for reducing falling damage |
CN103634463A (en) * | 2013-11-08 | 2014-03-12 | 小米科技有限责任公司 | Prompt method for state change and terminal |
CN104869246A (en) * | 2015-05-14 | 2015-08-26 | 惠州Tcl移动通信有限公司 | Processing method and system for detecting falling of mobile terminal, and mobile terminal |
-
2016
- 2016-09-06 CN CN201610807832.3A patent/CN106453830A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04354510A (en) * | 1991-05-31 | 1992-12-08 | Mitsubishi Electric Corp | Oven hood fan |
CN102411904A (en) * | 2010-09-21 | 2012-04-11 | 和硕联合科技股份有限公司 | Display method and portable electronic device applying same |
CN102279285A (en) * | 2011-03-11 | 2011-12-14 | 华为终端有限公司 | Terminal, method and apparatus for detecting drop information thereof |
CN103297593A (en) * | 2012-02-24 | 2013-09-11 | 联想(北京)有限公司 | Mobile terminal and method for reducing falling damage |
CN102946490A (en) * | 2012-11-26 | 2013-02-27 | 上海斐讯数据通信技术有限公司 | Mobile terminal having induction refusing system and induction refusing method |
CN103634463A (en) * | 2013-11-08 | 2014-03-12 | 小米科技有限责任公司 | Prompt method for state change and terminal |
CN104869246A (en) * | 2015-05-14 | 2015-08-26 | 惠州Tcl移动通信有限公司 | Processing method and system for detecting falling of mobile terminal, and mobile terminal |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108182274A (en) * | 2018-01-23 | 2018-06-19 | 广东欧珀移动通信有限公司 | The maintenance process method and Related product of electronic equipment |
CN108184026A (en) * | 2018-01-23 | 2018-06-19 | 广东欧珀移动通信有限公司 | Falling protection method and related product |
CN108228427A (en) * | 2018-01-23 | 2018-06-29 | 广东欧珀移动通信有限公司 | Electronic equipment prevents from falling method and Related product |
CN108307058A (en) * | 2018-01-23 | 2018-07-20 | 广东欧珀移动通信有限公司 | Fall the analysis method and Related product of reason |
CN108228427B (en) * | 2018-01-23 | 2021-08-24 | Oppo广东移动通信有限公司 | Electronic equipment, falling prevention method and related product |
CN108600540B (en) * | 2018-04-24 | 2021-02-26 | Oppo广东移动通信有限公司 | Fall detection method and related product |
CN108600540A (en) * | 2018-04-24 | 2018-09-28 | Oppo广东移动通信有限公司 | fall detection method and related product |
CN109067969A (en) * | 2018-06-26 | 2018-12-21 | 努比亚技术有限公司 | The method, apparatus and computer readable storage medium of mobile device and its shatter-resistant |
CN109246293A (en) * | 2018-08-21 | 2019-01-18 | 维沃移动通信有限公司 | One kind falling detection method and terminal device |
CN109068006A (en) * | 2018-09-29 | 2018-12-21 | Oppo广东移动通信有限公司 | Fall the method reported, relevant device and storage medium |
CN109068006B (en) * | 2018-09-29 | 2021-04-02 | Oppo广东移动通信有限公司 | Drop reporting method, related equipment and storage medium |
CN111459561A (en) * | 2020-04-01 | 2020-07-28 | 深圳创元智能软件科技有限公司 | Fall-based sleep control method and device and computer readable storage medium |
CN111459561B (en) * | 2020-04-01 | 2023-02-14 | 深圳创元智能软件科技有限公司 | Fall-based sleep control method and device and computer readable storage medium |
CN114283556A (en) * | 2021-12-06 | 2022-04-05 | 三星半导体(中国)研究开发有限公司 | Method, apparatus, electronic device and storage medium for autonomous distress call |
CN114283556B (en) * | 2021-12-06 | 2024-02-27 | 三星半导体(中国)研究开发有限公司 | Method, device, electronic equipment and storage medium for autonomous distress call |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106453830A (en) | Falling detection method and device | |
US10528012B2 (en) | Method and device for sending communication message | |
US9344838B2 (en) | Data transmission method and apparatus, and terminal with touch screen | |
US20170086020A1 (en) | Geo-fencing based location detection method and electronic device | |
CN103942113B (en) | The detection method of system reboot reason, device and terminal unit | |
CN103327102A (en) | Application program recommending method and device | |
CN106357897A (en) | Fall information acquiring method and device | |
CN106453829A (en) | Method and apparatus for detecting fall-off height | |
CN106412249A (en) | Detection method and device of drop information | |
CN104636047A (en) | Method and device for operating objects in list and touch screen terminal | |
CN104764458A (en) | Method and device for outputting navigation route information | |
CN106646440A (en) | Drop height detection method and drop height detection device | |
CN106331359A (en) | Speech signal acquisition method and apparatus and terminal | |
CN106170034A (en) | A kind of sound effect treatment method and mobile terminal | |
CN106248542A (en) | A kind of detect the method for air quality, device and terminal | |
CN104954159A (en) | Network information statistics method and device | |
CN106126675A (en) | A kind of method of recommendation of audio, Apparatus and system | |
CN104346028B (en) | Address field display methods, device and mobile terminal | |
CN105526944A (en) | Information prompt method and apparatus thereof in driving process | |
CN106055237A (en) | Swiping acceleration response method and equipment | |
CN103399706A (en) | Page interaction method, device and terminal | |
CN104169860A (en) | Intelligent terminal and method used for displaying input operation interface | |
CN106452644A (en) | Playing control method and device, and terminal | |
CN103823828A (en) | Map scale setting method, map scale setting device and terminal | |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170222 |
|
RJ01 | Rejection of invention patent application after publication |