CN108810250A - fall detection method and related product - Google Patents
fall detection method and related product Download PDFInfo
- Publication number
- CN108810250A CN108810250A CN201810414932.9A CN201810414932A CN108810250A CN 108810250 A CN108810250 A CN 108810250A CN 201810414932 A CN201810414932 A CN 201810414932A CN 108810250 A CN108810250 A CN 108810250A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- speed
- state
- time
- record
- 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
Abstract
The embodiment of the present application discloses one kind and falling detection method and Related product.Method includes:When detecting that the mobile terminal is switched to state of weightlessness by overweight state, the First Speed of the mobile terminal is determined;The freely falling body time of the mobile terminal is determined according to the First Speed;The target falling height of the mobile terminal is calculated according to the freely falling body time.The embodiment of the present application is conducive to improve the accuracy and reliability of the falling height detected when mobile terminal falls.
Description
Technical field
This application involves technical field of mobile terminals, and in particular to falls detection method and Related product.
Background technology
With a large amount of popularization and applications of the mobile terminals such as smart mobile phone, the application that smart mobile phone can be supported is more and more,
Function is stronger and stronger, and smart mobile phone develops towards diversification, personalized direction, becomes indispensable electricity in user's life
Sub- articles for use.User may slide smart mobile phone, lead to intelligent hand for some reason during using the smart mobile phone
Machine falls damage, it is therefore desirable to is detected to the falling height of smart mobile phone so that it is determined that falling reason and fall protection is arranged
It applies.
Invention content
The embodiment of the present application, which provides, falls detection method and Related product, and detection can be improved when mobile terminal falls
The accuracy of the falling height arrived.
In a first aspect, the embodiment of the present application, which provides one kind, falling detection method, it is applied to mobile terminal, the method packet
It includes:
When detecting that the mobile terminal is switched to state of weightlessness by overweight state, the first of the mobile terminal is determined
Speed;
The freely falling body time of the mobile terminal is determined according to the First Speed;
The target falling height of the mobile terminal is calculated according to the freely falling body time.
Second aspect, the embodiment of the present application provide one kind and falling detection method, including detection unit, determination unit and place
Unit is managed,
The detection unit, for when detecting that the mobile terminal is switched to state of weightlessness by overweight state, determining
The First Speed of the mobile terminal;
The determination unit, the freely falling body time for determining the mobile terminal according to the First Speed;
The processing unit, the target falling height for calculating the mobile terminal according to the freely falling body time.
The third aspect, the embodiment of the present application provide a kind of mobile terminal, including processor, memory and one or more
Program, wherein one or more of programs are stored in the memory, and are configured to be executed by the processor,
Described program includes the instruction for executing the step in the embodiment of the present application first aspect either method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein described computer-readable
Computer program of the storage medium storage for electronic data interchange, wherein the computer program makes computer execute such as
Step some or all of described in the embodiment of the present application first aspect or second aspect either method.
As can be seen that in the embodiment of the present application, mobile terminal is detecting that the mobile terminal cut by overweight state first
When being changed to state of weightlessness, the First Speed of the mobile terminal is determined, secondly, determined according to the First Speed described mobile whole
The freely falling body time at end finally calculates the target falling height of the mobile terminal according to the freely falling body time.Due to
It not is to fall directly down that mobile terminal may exist when there is a situation where falling, and is detecting mobile terminal in overweight
Mobile terminal upward First Speed is determined when state, time when to can determine that mobile terminal drops into extreme higher position is in turn
The falling height of mobile terminal is calculated in the time for determining freely falling body, is conducive to the standard for improving the falling height detected
True property and reliability.
Description of the drawings
The attached drawing involved by the embodiment of the present application will be briefly described below.
Fig. 1 is a kind of flow diagram falling detection method provided by the embodiments of the present application;
Fig. 2 is the flow diagram that another kind provided by the embodiments of the present application falls detection method;
Fig. 3 is the flow diagram that another kind provided by the embodiments of the present application falls detection method;
Fig. 4 is a kind of structural schematic diagram of mobile terminal provided by the embodiments of the present application;
Fig. 5 is a kind of functional unit composition block diagram of mobile terminal provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Specific implementation mode
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, technical solutions in the embodiments of the present application are clearly and completely described, it is clear that described embodiment is only
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
The every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
Term " first ", " second " in the description and claims of this application and the attached drawing etc. are for distinguishing
Different objects, rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that
It is to cover and non-exclusive includes.Such as process, method, system, product or the equipment for containing series of steps or unit do not have
It is defined in the step of having listed or unit, but further includes the steps that optionally not listing or unit, or optionally also wrap
It includes for other intrinsic steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.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.
Mobile terminal involved by the embodiment of the present application may include various handheld devices with wireless communication function,
Mobile unit, wearable device, computing device or other processing equipments and various forms for being connected to radio modem
User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal
Device) etc..For convenience of description, apparatus mentioned above is referred to as mobile terminal.Behaviour involved by the embodiment of the present invention
It is the software systems for being managed collectively to hardware resource, and providing a user business interface as system.
The embodiment of the present application is introduced below in conjunction with the accompanying drawings.
A kind of flow diagram falling detection method is provided referring to Fig. 1, Fig. 1 is the embodiment of the present application, is applied to
Mobile terminal, originally falling detection method includes:
S101, mobile terminal is when detecting that the mobile terminal is switched to state of weightlessness by overweight state, described in determination
The First Speed of mobile terminal.
Wherein, for the event of falling of mobile terminal upthrow scene, mobile terminal is fallen based on acceleration identification originally
State detects that adjacent multigroup acceleration value is believed that mobile phone is in close to acceleration of gravity and falls state, so upthrow
In scene, after mobile terminal is detached from human hand, acceleration is acquired by accelerometer, collected acceleration is acceleration of gravity
When, you can it recognizes mobile terminal and is in and fall state, and proceed by and fall timing, however in upthrow scene, it is mobile whole
End is actually still rising, and just starts to fall after rising to peak, so mobile terminal actually falls that over-evaluate should
For the height of peak to ground.
Wherein, the prior art is fallen in recognition strategy, can fall duration calculation falling height according to mobile terminal, fall
The time zero for falling duration is exactly to detect that mobile phone in timing is started when falling state, in upthrow scene, is arrived to calculate
Accurate falling height, at the time of time zero should be that mobile terminal is at the highest notch corresponding, so in order to avoid error,
Detect that mobile terminal is in fall dress state and proceeding by and fall after timing gets and fall duration, need to subtract it is mobile eventually
The duration of end uphill process can just obtain the time of mobile terminal freely falling body.
Wherein, the duration of mobile terminal uphill process can be calculated by initial velocity, and mobile terminal can pass through
The collected acceleration figure of statistical analysis accelerometer obtains in most cases mobile terminal and is detached from corresponding acceleration after human hand
Value and acceleration duration, further calculate the initial velocity to mobile terminal, movement can be calculated after obtaining initial velocity
The duration of terminal uphill process.
Wherein, mobile terminal is in overweight state during being accelerated before being detached from human hand, is detached from mobile terminal
After human hand, it is in state of weightlessness, when detecting that mobile terminal has overweight state to be switched to state of weightlessness, you can calculate movement
The First Speed of terminal, First Speed are speed when mobile terminal is detached from human hand.
S102, the mobile terminal determine the freely falling body time of the mobile terminal according to the First Speed.
Wherein, after obtaining the First Speed of mobile terminal, you can calculate the upthrow duration to mobile terminal, and then calculate
Fall duration under mobile terminal free falling body state.
S103, the mobile terminal calculate the target falling height of the mobile terminal according to the freely falling body time.
Wherein, the state of falling of mobile terminal upthrow scene includes propradation and decline state, and it is certainly to decline state
By falling bodies state, the duration of freely falling body is according to mobile terminal can be calculated the practical falling height of mobile terminal.
As can be seen that in the embodiment of the present application, mobile terminal is detecting that the mobile terminal cut by overweight state first
When being changed to state of weightlessness, the First Speed of the mobile terminal is determined, secondly, determined according to the First Speed described mobile whole
The freely falling body time at end finally calculates the target falling height of the mobile terminal according to the freely falling body time.Due to
It not is to fall directly down that mobile terminal may exist when there is a situation where falling, and is detecting mobile terminal in overweight
Mobile terminal upward First Speed is determined when state, time when to can determine that mobile terminal drops into extreme higher position is in turn
The falling height of mobile terminal is calculated in the time for determining freely falling body, is conducive to the standard for improving the falling height detected
True property and reliability.
In a possible example, the First Speed of the determination mobile terminal, including:It obtains described mobile whole
Multigroup history of the end in overweight state accelerates record, and it includes accelerating duration and acceleration value that the history, which accelerates record,;According to
Multigroup history accelerates the First Speed of the determining mobile terminal of record.
Wherein, to obtain the First Speed of mobile terminal, multigroup history that mobile terminal is under overweight state can be obtained
Accelerate record, it includes accelerating duration and acceleration value that history, which accelerates record, accelerates record to determine mobile terminal according to multigroup history
First Speed.For example, the 100 groups of nearest history obtained before mobile terminal is detached from human hand accelerate record, every group of history to add
Speed recording includes accelerating duration and acceleration value, counts to obtain by accelerometer, accelerates record according to this 100 groups of history, determines
The First Speed of mobile terminal.
As it can be seen that in this example, First Speed is the speed that mobile terminal is detached from after human hand, by the multigroup of mobile terminal
History acceleration record it is for statistical analysis can determine First Speed, to be conducive to determine that mobile terminal rises to and falls most
The time of high point.
In a possible example, it includes acceleration direction that the history, which accelerates record,;It is described according to multigroup history
Record is accelerated to determine the First Speed of the mobile terminal, including:Accelerate to obtain in record from multigroup history at least one set of
The upward history of acceleration direction accelerates record;Accelerate the acceleration duration and acceleration value of record according at least one set of history
Determine that the speed average after accelerating is the First Speed.
Wherein, it includes acceleration direction that history, which accelerates record,, can after the multigroup history for getting mobile terminal accelerates record
Accelerate to obtain the upward history acceleration record of at least one set of acceleration direction in record from multigroup history, be added according at least one set of history
Speed recording accelerates duration and acceleration value to determine the average value of the speed after accelerating as First Speed.For example, getting shifting
100 groups of history of dynamic terminal accelerate record, filter out the upward history in continuous 30 groups of directions and accelerate record, are added according to every group of history
Speed recording accelerates duration and acceleration value to determine the speed after accelerating, and 30 groups of history acceleration are recorded being averaged for corresponding speed
Value is stored in mobile terminal as First Speed.
As it can be seen that in this example, First Speed is to accelerate record to count the upward multigroup history in mobile terminal direction
Analysis obtains, and mobile terminal uphill process duration can be calculated by First Speed, i.e., is the first speed according to formula v=g*t, v
Degree, g are acceleration of gravity, and t is calculative uphill process duration.
In a possible example, the state of falling of the mobile terminal falls state and second including first and falls shape
State, described first fall under state be the mobile terminal the upward state of weightlessness of the direction of motion, described second falls state
For the state of weightlessness that the direction of motion of the mobile terminal is downward;It is described that the mobile terminal is determined according to the First Speed
The freely falling body time, including:The drop-out time of the mobile terminal is obtained, the drop-out time includes that the mobile terminal is in
Described first, which falls state and described second, falls the time of state;Determine that the mobile terminal is according to the First Speed
First falls the time of state;It was in for the first time for falling state according to the drop-out time and the mobile terminal and determines institute
It states mobile terminal and falls the time of state in described second as the freely falling body time.
Wherein, the state of falling under mobile terminal upthrow scene falls state and second including first and falls state, and first
It is the upward state of weightlessness in motion of mobile terminals direction to fall state, and second to fall state be that motion of mobile terminals direction is downward
State of weightlessness can first obtain mobile terminal drop-out time when determining the freely falling body time of mobile terminal according to First Speed,
Drop-out time included the first time for falling state and second falls the time of state, i.e. mobile terminal is detached from the movement after human hand
Duration.
Wherein, it was in for the first time for falling state since mobile terminal can be obtained according to First Speed and formula, because
Drop-out time is subtracted the time that first falls state and can be obtained mobile terminal and be in for the second time for falling state by this, that is, is moved
The freely falling body time of dynamic terminal.
As it can be seen that in this example, risen to by the way that mobile terminal is subtracted mobile terminal in the total duration fallen under state
The time of peak, you can the time that mobile terminal is in freely falling body is got, so as to which mobile terminal upthrow is calculated
Accurate falling height in scene.
In a possible example, when the freely falling body for determining the mobile terminal according to the First Speed
Between, including:Start timing when detecting that the First Speed is reduced to zero;Detecting that the speed of mobile terminal increases to
When being kept to zero after second speed, stop timing, the timing time is the freely falling body time, and the second speed is described
Second falls the maximum speed of the mobile terminal under state.
Wherein, it after determining the First Speed of mobile terminal, can be detected by the real-time speed to mobile terminal,
Detect that First Speed is kept to start timing when zero, after the movement velocity for detecting mobile terminal increases to second speed by zero
It is kept to stop timing when zero again, that is, shows to drop on the ground after mobile terminal is detached from human hand, obtained timing duration is to move
The time of free terminal falling bodies, second speed fall the maximum movement speed under state for mobile terminal in second.
As it can be seen that in this example, the freely falling body time of mobile terminal is determined by First Speed, is decayed in First Speed
Show that mobile terminal has increased to peak after zero, start timing at this time, stops meter after mobile terminal drops into ground
When, you can obtain the freely falling body time of mobile terminal, and then the accurate falling height that mobile terminal upthrow scene is calculated.
Referring to Fig. 2, Fig. 2 is a kind of flow diagram falling detection method provided by the embodiments of the present application, it is applied to
Mobile terminal, as shown, originally falling detection method and including:
S201, mobile terminal is when detecting that the mobile terminal is switched to state of weightlessness by overweight state, described in determination
The First Speed of mobile terminal.
S202, the drop-out time of mobile terminal described in the acquisition for mobile terminal, the drop-out time includes the movement
Terminal falls state and second in first and falls the time of state, and the state of falling of the mobile terminal falls shape including first
State and second falls state, described first fall under state be the mobile terminal the upward state of weightlessness of the direction of motion, institute
It states second and falls state as the downward state of weightlessness of the direction of motion of the mobile terminal.
S203, the mobile terminal according to the First Speed determine the mobile terminal be in first fall state when
Between.
S204, the mobile terminal were in for the first time for falling state according to the drop-out time and the mobile terminal
Determine that the mobile terminal is in described second and falls the time of state as the freely falling body time.
S205, the mobile terminal calculate the target falling height of the mobile terminal according to the freely falling body time.
As can be seen that in the embodiment of the present application, mobile terminal is detecting that the mobile terminal cut by overweight state first
When being changed to state of weightlessness, the First Speed of the mobile terminal is determined, secondly, determined according to the First Speed described mobile whole
The freely falling body time at end finally calculates the target falling height of the mobile terminal according to the freely falling body time.Due to
It not is to fall directly down that mobile terminal may exist when there is a situation where falling, and is detecting mobile terminal in overweight
Mobile terminal upward First Speed is determined when state, time when to can determine that mobile terminal drops into extreme higher position is in turn
The falling height of mobile terminal is calculated in the time for determining freely falling body, is conducive to the standard for improving the falling height detected
True property and reliability.
In addition, by by mobile terminal be in the total duration for falling under state subtract mobile terminal rise to peak when
Between, you can the time that mobile terminal is in freely falling body is got, it is accurate so as to be calculated in mobile terminal upthrow scene
Falling height.
Referring to Fig. 3, Fig. 3 is a kind of flow diagram falling detection method provided by the embodiments of the present application, it is applied to
Mobile terminal, as shown, originally falling detection method and including:
S301, mobile terminal is when detecting that the mobile terminal is switched to state of weightlessness by overweight state, described in acquisition
Multigroup history that mobile terminal is in overweight state accelerates record, and it includes accelerating duration and acceleration that the history, which accelerates record,
Value.
S302, the mobile terminal accelerate the First Speed of the determining mobile terminal of record according to multigroup history.
S303, the mobile terminal start timing when detecting that the First Speed is reduced to zero.
S304, the mobile terminal stop when being kept to zero after detecting that the speed of mobile terminal increases to second speed
Only timing, the timing time are the freely falling body time, and the second speed falls the shifting under state for described second
The maximum speed of dynamic terminal.
S305, the mobile terminal calculate the target falling height of the mobile terminal according to the freely falling body time.
As can be seen that in the embodiment of the present application, mobile terminal is detecting that the mobile terminal cut by overweight state first
When being changed to state of weightlessness, the First Speed of the mobile terminal is determined, secondly, determined according to the First Speed described mobile whole
The freely falling body time at end finally calculates the target falling height of the mobile terminal according to the freely falling body time.Due to
It not is to fall directly down that mobile terminal may exist when there is a situation where falling, and is detecting mobile terminal in overweight
Mobile terminal upward First Speed is determined when state, time when to can determine that mobile terminal drops into extreme higher position is in turn
The falling height of mobile terminal is calculated in the time for determining freely falling body, is conducive to the standard for improving the falling height detected
True property and reliability.
In addition, First Speed is the speed that mobile terminal is detached from after human hand, pass through multigroup history acceleration to mobile terminal
Record it is for statistical analysis can determine First Speed, to be conducive to determine that mobile terminal rises to time of highest distance.
In addition, determine the freely falling body time of mobile terminal by First Speed, the i.e. table after First Speed decays to zero
Bright mobile terminal has increased to peak, starts timing at this time, stops timing after mobile terminal drops into ground, you can
To the freely falling body time of mobile terminal, and then the accurate falling height that mobile terminal upthrow scene is calculated.
It is consistent with described Fig. 1, Fig. 2, embodiment shown in Fig. 3, referring to Fig. 4, Fig. 4 is provided by the embodiments of the present application
A kind of structural schematic diagram of mobile terminal, the running of mobile terminal there are one or multiple application programs and operating system, such as figure institute
Show, which includes processor, memory, communication interface and one or more programs, wherein one or more of
Program is different from one or more of application programs, and one or more of programs are stored in the memory, and
And be configured to be executed by the processor, described program includes the instruction for executing following steps:
When detecting that the mobile terminal is switched to state of weightlessness by overweight state, the first of the mobile terminal is determined
Speed;
The freely falling body time of the mobile terminal is determined according to the First Speed;
The target falling height of the mobile terminal is calculated according to the freely falling body time.
As can be seen that in the embodiment of the present application, mobile terminal is detecting that the mobile terminal cut by overweight state first
When being changed to state of weightlessness, the First Speed of the mobile terminal is determined, secondly, determined according to the First Speed described mobile whole
The freely falling body time at end finally calculates the target falling height of the mobile terminal according to the freely falling body time.Due to
It not is to fall directly down that mobile terminal may exist when there is a situation where falling, and is detecting mobile terminal in overweight
Mobile terminal upward First Speed is determined when state, time when to can determine that mobile terminal drops into extreme higher position is in turn
The falling height of mobile terminal is calculated in the time for determining freely falling body, is conducive to the standard for improving the falling height detected
True property and reliability.
In a possible example, in terms of the First Speed of the determination mobile terminal, in described program
Instruction is specifically used for executing following operation:Multigroup history acceleration record that the mobile terminal is in overweight state is obtained, it is described
It includes accelerating duration and acceleration value that history, which accelerates record,;Record is accelerated to determine the mobile terminal according to multigroup history
First Speed.
In a possible example, it includes acceleration direction that the history, which accelerates record,;It multigroup is gone through according to described described
In terms of history accelerates the First Speed that record determines the mobile terminal, the instruction in described program is specifically used for executing following behaviour
Make:Accelerate to obtain the upward history acceleration record of at least one set of acceleration direction in record from multigroup history;According to it is described extremely
Few one group of history accelerates the acceleration duration of record and acceleration value to determine that the speed average after accelerating is the First Speed.
In a possible example, the state of falling of the mobile terminal falls state and second including first and falls shape
State, described first fall under state be the mobile terminal the upward state of weightlessness of the direction of motion, described second falls state
For the state of weightlessness that the direction of motion of the mobile terminal is downward;The mobile terminal is determined according to the First Speed described
Freely falling body time paternal face, the instruction in described program is specifically used for executing following operation:Obtain the mobile terminal
Drop-out time, the drop-out time include that the mobile terminal falls state and described second in described first and falls state
Time;Determine that the mobile terminal was in for the first time for falling state according to the First Speed;According to the drop-out time
With the mobile terminal be in the first time for falling state determine the mobile terminal be in described second fall state when
Between be the freely falling body time.
In a possible example, in the freely falling body for determining the mobile terminal according to the First Speed
Between aspect, the instruction in described program is specifically used for executing following operation:It is opened when detecting that the First Speed is reduced to zero
Beginning timing;When being kept to zero after detecting that the speed of mobile terminal increases to second speed, stop timing, the timing time
For the freely falling body time, the second speed is the described second maximum speed for falling the mobile terminal under state.
It is described that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is appreciated that
, for mobile terminal in order to realize the function, it comprises execute the corresponding hardware configuration of each function and/or software mould
Block.Those skilled in the art should be readily appreciated that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with
Hardware or computer software drive the mode of hardware to execute, and depend on the specific application and design constraint item of technical solution
Part.Professional technician specifically can realize described function to each using distinct methods, but this reality
Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out mobile terminal according to the method example the division of functional unit, for example, can
Each functional unit is divided with each function of correspondence, two or more functions can also be integrated in a processing unit
In.The form that hardware had both may be used in the integrated unit is realized, can also be realized in the form of SFU software functional unit.It needs
It is noted that be schematical, only a kind of division of logic function to the division of unit in the embodiment of the present application, it is practical real
It is current that there may be another division manner.
Using integrated unit, Fig. 5 shows one kind of mobile terminal involved in the embodiment
Possible functional unit forms block diagram.Mobile terminal 500 is applied to mobile terminal, and being run on the mobile terminal has operating system
And one or more application program, the mobile terminal 500 include:Detection unit 501, determination unit 502 and processing unit
503,
The acquiring unit 501, for when detecting that the mobile terminal is switched to state of weightlessness by overweight state, really
The First Speed of the fixed mobile terminal;
The determination unit 502, the freely falling body time for determining the mobile terminal according to the First Speed;
The processing unit 503, the target for calculating the mobile terminal according to the freely falling body time fall height
Degree.
In a possible example, in terms of the First Speed of the determination mobile terminal, the detection unit
501 are specifically used for:Multigroup history acceleration record that the mobile terminal is in overweight state is obtained, the history accelerates record packet
It includes and accelerates duration and acceleration value;And the first speed for accelerating the determining mobile terminal of record according to multigroup history
Degree.
In a possible example, it includes acceleration direction that the history, which accelerates record,;It multigroup is gone through according to described described
In terms of history accelerates the First Speed that record determines the mobile terminal, the detection unit 501 is specifically used for:It multigroup is gone through from described
History accelerates to obtain the upward history acceleration record of at least one set of acceleration direction in record;And for being gone through according at least one set
It is the First Speed that history, which accelerates the speed average after duration and acceleration value determination acceleration that accelerates of record,.
In a possible example, the state of falling of the mobile terminal falls state and second including first and falls shape
State, described first fall under state be the mobile terminal the upward state of weightlessness of the direction of motion, described second falls state
For the state of weightlessness that the direction of motion of the mobile terminal is downward;The mobile terminal is determined according to the First Speed described
The freely falling body time in terms of, the determination unit 502 is specifically used for:The drop-out time of the mobile terminal is obtained, it is described to fall
It includes that the mobile terminal falls state and described second in described first and falls the time of state to fall the time;And it is used for root
Determine that the mobile terminal was in for the first time for falling state according to the First Speed;And for according to the drop-out time
With the mobile terminal be in the first time for falling state determine the mobile terminal be in described second fall state when
Between be the freely falling body time.
In a possible example, in the freely falling body for determining the mobile terminal according to the First Speed
Between aspect, the determination unit 502 is specifically used for:Start timing when detecting that the First Speed is reduced to zero;And it uses
In when being kept to zero after detecting that the speed of mobile terminal increases to second speed, stop timing, the timing time is institute
The freely falling body time is stated, the second speed is the described second maximum speed for falling the mobile terminal under state.
It should be noted that mobile terminal described in apparatus of the present invention embodiment is presented in the form of functional unit.
Term " unit " used herein above should be understood as meaning as widest as possible, for realizing function described by each " unit "
Object for example can be integrated circuit ASIC, single circuit, the processing for executing one or more softwares or firmware program
Device (shared, dedicated or chipset) and memory, combinational logic circuit, and/or other conjunctions for realizing above-mentioned function are provided
Suitable component.
Wherein, acquiring unit 501, determination unit 502 and processing unit 503 can be processor or controller.
The structural schematic diagram of a kind of electronic equipment 100, the electronics are provided as shown in fig. 6, Fig. 6 is the embodiment of the present application
Equipment 100 includes:Shell 110, the circuit board 120 being set in the shell 110, the display being set on the shell 110
Shield 130 and camera 140, processor 121, sensor 122 and memory 123, the sensing are provided on the circuit board 120
Device 122 and memory 123 are connect with the processor 121, and the processor 121 connects the display screen 130;Wherein,
The processor 121, for when detecting that the mobile terminal is switched to state of weightlessness by overweight state, determining
The First Speed of the mobile terminal;And when freely falling body for determining the mobile terminal according to the First Speed
Between;And the target falling height for calculating the mobile terminal according to the freely falling body time.
In a possible example, in terms of the First Speed of the determination mobile terminal, the processor 121
It is specifically used for:Multigroup history acceleration record that the mobile terminal is in overweight state is obtained, the history, which accelerates to record, includes
Accelerate duration and acceleration value;And the first speed for accelerating the determining mobile terminal of record according to multigroup history
Degree.
In a possible example, it includes acceleration direction that the history, which accelerates record,;It multigroup is gone through according to described described
In terms of history accelerates the First Speed that record determines the mobile terminal, the processor 121 is specifically used for:From multigroup history
Accelerate to obtain the upward history acceleration record of at least one set of acceleration direction in record;And for according at least one set of history
Accelerate record accelerates duration and acceleration value to determine that the speed average after accelerating is the First Speed.
In a possible example, the state of falling of the mobile terminal falls state and second including first and falls shape
State, described first fall under state be the mobile terminal the upward state of weightlessness of the direction of motion, described second falls state
For the state of weightlessness that the direction of motion of the mobile terminal is downward;The mobile terminal is determined according to the First Speed described
The freely falling body time in terms of, the processor 121 is specifically used for obtaining the drop-out time of the mobile terminal, described when falling
Between fall state and described second in described first including the mobile terminal and fall the time of state;And for according to institute
It states First Speed and determines that the mobile terminal was in for the first time for falling state;And for according to the drop-out time and institute
State mobile terminal be in the first time for falling state determine the mobile terminal be in described second fall state time be
The freely falling body time.
In a possible example, in the freely falling body for determining the mobile terminal according to the First Speed
Between aspect, the processor 121 is specifically used for:Start timing when detecting that the First Speed is reduced to zero;And it is used for
When being kept to zero after detecting that the speed of mobile terminal increases to second speed, stop timing, the timing time is described
Freely falling body time, the second speed are the described second maximum speed for falling the mobile terminal under state.
The embodiment of the present application also provides a kind of computer storage media, wherein computer storage media storage is for electricity
The computer program that subdata exchanges, the computer program make computer execute any as described in the method embodiment
Some or all of method step, the computer include mobile terminal.
The embodiment of the present application also provides a kind of computer program product, and the computer program product includes storing calculating
The non-transient computer readable storage medium of machine program, the computer program are operable to that computer is made to execute such as the side
Some or all of either method described in method embodiment step.The computer program product can be a software installation
Packet, the computer includes mobile terminal.
It should be noted that for each method embodiment above-mentioned, for simple description, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because
According to the application, certain steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know
It knows, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily the application
It is necessary.
In the described embodiment, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, for example, the unit division, it is only a kind of
Division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.The integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or
Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products
Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment
(can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the application
Step.And memory above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of the embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer-readable memory, memory
May include:Flash disk, read-only memory (English:Read-Only Memory, referred to as:ROM), random access device (English:
Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and
Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas;
Meanwhile for those of ordinary skill in the art, according to the thought of the application, can in specific embodiments and applications
There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.
Claims (12)
1. one kind falling detection method, which is characterized in that it is applied to mobile terminal, the method includes:
When detecting that the mobile terminal is switched to state of weightlessness by overweight state, the first speed of the mobile terminal is determined
Degree;
The freely falling body time of the mobile terminal is determined according to the First Speed;
The target falling height of the mobile terminal is calculated according to the freely falling body time.
2. according to the method described in claim 1, it is characterized in that, the First Speed of the determination mobile terminal, including:
Multigroup history acceleration record that the mobile terminal is in overweight state is obtained, it includes when accelerating that the history, which accelerates record,
Long and acceleration value;
Accelerate the First Speed of the determining mobile terminal of record according to multigroup history.
3. according to the method described in claim 2, it is characterized in that, it includes acceleration direction that the history, which accelerates record,;Described
Accelerate the First Speed of the determining mobile terminal of record according to multigroup history, including:
Accelerate to obtain the upward history acceleration record of at least one set of acceleration direction in record from multigroup history;
The acceleration duration of record and acceleration value is accelerated to determine the speed average after accelerating according at least one set of history
For the First Speed.
4. method according to any one of claims 1 to 3, which is characterized in that the state of falling of the mobile terminal includes
First falls state and second falls state, described first fall under state be the mobile terminal the upward mistake of the direction of motion
Weight state, described second falls state as the downward state of weightlessness of the direction of motion of the mobile terminal;It is described according to described
One speed determines the freely falling body time of the mobile terminal, including:
The drop-out time of the mobile terminal is obtained, the drop-out time includes that the mobile terminal falls shape in described first
State and described second fall state time;
Determine that the mobile terminal was in for the first time for falling state according to the First Speed;
It was in for the first time for falling state according to the drop-out time and the mobile terminal and determines that the mobile terminal is in
Described second time for falling state was the freely falling body time.
5. method according to any one of claims 1 to 3, which is characterized in that described to determine institute according to the First Speed
The freely falling body time of mobile terminal is stated, including:
Start timing when detecting that the First Speed is reduced to zero;
When being kept to zero after detecting that the speed of mobile terminal increases to second speed, stop timing, the timing time is
The freely falling body time, the second speed are the described second maximum speed for falling the mobile terminal under state.
6. a kind of mobile terminal, which is characterized in that including detection unit, determination unit and processing unit,
The detection unit, described in when detecting that the mobile terminal is switched to state of weightlessness by overweight state, determining
The First Speed of mobile terminal;
The determination unit, the freely falling body time for determining the mobile terminal according to the First Speed;
The processing unit, the target falling height for calculating the mobile terminal according to the freely falling body time.
7. mobile terminal according to claim 6, which is characterized in that in the First Speed of the determination mobile terminal
Aspect, the detection unit are specifically used for:Multigroup history acceleration record that the mobile terminal is in overweight state is obtained, it is described
It includes accelerating duration and acceleration value that history, which accelerates record,;And for accelerating record to determine the shifting according to multigroup history
The First Speed of dynamic terminal.
8. mobile terminal according to claim 7, which is characterized in that it includes acceleration direction that the history, which accelerates record,;?
In terms of the First Speed for accelerating the determining mobile terminal of record according to multigroup history, the detection unit is specifically used
In:Accelerate to obtain the upward history acceleration record of at least one set of acceleration direction in record from multigroup history;And it is used for root
The acceleration duration of record and acceleration value is accelerated to determine that the speed average after accelerating is described according at least one set of history
First Speed.
9. according to claim 6-8 any one of them mobile terminals, which is characterized in that the mobile terminal falls state packet
Include first and fall state and second and fall state, described first fall under state be the mobile terminal the direction of motion it is upward
State of weightlessness, described second falls state as the downward state of weightlessness of the direction of motion of the mobile terminal;Described according to institute
In terms of stating the freely falling body time that First Speed determines the mobile terminal, the determination unit is specifically used for:Obtain the shifting
The drop-out time of dynamic terminal, the drop-out time include that the mobile terminal falls state and described second in described first and falls
Fall the time of state;And for determining that the mobile terminal was in for the first time for falling state according to the First Speed;
And determine the mobile terminal for being in for the first time for falling state according to the drop-out time and the mobile terminal
The time for falling state in described second is the freely falling body time.
10. according to claim 6-9 any one of them mobile terminals, which is characterized in that described according to the First Speed
In terms of the freely falling body time for determining the mobile terminal, the determination unit is specifically used for:Detecting the First Speed
It is reduced to start timing when zero;And for when being kept to zero after detecting that the speed of mobile terminal increases to second speed,
Stop timing, the timing time is the freely falling body time, and the second speed is fallen described under state for described second
The maximum speed of mobile terminal.
11. a kind of mobile terminal, which is characterized in that including processor, memory, communication interface and one or more program,
Wherein, one or more of programs are stored in the memory, and are configured to be executed by the processor, the journey
Sequence includes that the instruction of the step in any one of 1-5 methods is required for perform claim.
12. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage is used for electron number
According to the computer program of exchange, wherein the computer program makes computer execute as described in any one of claim 1-5
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810414932.9A CN108810250A (en) | 2018-05-03 | 2018-05-03 | fall detection method and related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810414932.9A CN108810250A (en) | 2018-05-03 | 2018-05-03 | fall detection method and related product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108810250A true CN108810250A (en) | 2018-11-13 |
Family
ID=64093537
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810414932.9A Pending CN108810250A (en) | 2018-05-03 | 2018-05-03 | fall detection method and related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108810250A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111147658A (en) * | 2019-05-24 | 2020-05-12 | 广东小天才科技有限公司 | Falling reminding method of intelligent equipment and intelligent equipment |
CN114593727A (en) * | 2022-03-04 | 2022-06-07 | 东集技术股份有限公司 | Method, device, equipment and medium for judging falling state of handheld terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101065674A (en) * | 2004-12-01 | 2007-10-31 | 飞思卡尔半导体公司 | System and method for fall detection |
CN101523223A (en) * | 2006-10-11 | 2009-09-02 | 飞思卡尔半导体公司 | Sensor having free fall self-test capability and method therefor |
US7730764B2 (en) * | 2008-02-15 | 2010-06-08 | Panasonic Corporation | Drop detection device and portable apparatus equipped therewith |
JP6186888B2 (en) * | 2013-05-28 | 2017-08-30 | 株式会社デンソーウェーブ | Mobile device |
CN207200818U (en) * | 2017-07-27 | 2018-04-06 | 上海传英信息技术有限公司 | A kind of Shatter-resistant device and smart machine for smart machine |
-
2018
- 2018-05-03 CN CN201810414932.9A patent/CN108810250A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101065674A (en) * | 2004-12-01 | 2007-10-31 | 飞思卡尔半导体公司 | System and method for fall detection |
CN101523223A (en) * | 2006-10-11 | 2009-09-02 | 飞思卡尔半导体公司 | Sensor having free fall self-test capability and method therefor |
US7730764B2 (en) * | 2008-02-15 | 2010-06-08 | Panasonic Corporation | Drop detection device and portable apparatus equipped therewith |
JP6186888B2 (en) * | 2013-05-28 | 2017-08-30 | 株式会社デンソーウェーブ | Mobile device |
CN207200818U (en) * | 2017-07-27 | 2018-04-06 | 上海传英信息技术有限公司 | A kind of Shatter-resistant device and smart machine for smart machine |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111147658A (en) * | 2019-05-24 | 2020-05-12 | 广东小天才科技有限公司 | Falling reminding method of intelligent equipment and intelligent equipment |
CN114593727A (en) * | 2022-03-04 | 2022-06-07 | 东集技术股份有限公司 | Method, device, equipment and medium for judging falling state of handheld terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2490104B1 (en) | Method and mobile terminal for controlling application in the mobile terminal | |
CN111695429B (en) | Video image target association method and device and terminal equipment | |
CN105571609B (en) | A kind of kinematic parameter processing method and mobile terminal | |
CN108810250A (en) | fall detection method and related product | |
US20150036935A1 (en) | Information processing apparatus, information processing method, and storage medium | |
CN110245250A (en) | Image processing method and relevant apparatus | |
CN108307051A (en) | Electronic device, collision data processing method and related product | |
CN108170356A (en) | Using split screen method and Related product | |
CN110782464B (en) | Calculation method of object accumulation 3D space occupancy rate, coder-decoder and storage device | |
CN105446605B (en) | Information processing method and electronic equipment | |
CN108377293A (en) | Electronic device falls control method and Related product | |
CN111039113A (en) | Elevator running state determining method, device, equipment and medium | |
CN110231963A (en) | Application control method and relevant apparatus | |
CN112400147A (en) | Algorithm configuration method, equipment and system and movable platform | |
CN109246304A (en) | mobile terminal, calibration method and related product | |
CN104898838A (en) | Incoming call responding method and apparatus for handheld device | |
CN108270921A (en) | The detection method and Related product of drop information | |
CN111039118A (en) | UWB-based elevator operation monitoring method, medium, terminal and device | |
CN110768396B (en) | Charging control method and device, storage medium and wireless charging equipment | |
CN108924331A (en) | Voice pick-up method and Related product | |
CN108259669A (en) | The detection method and Related product of drop information | |
CN108415651A (en) | Electronic equipment, display control method and Related product | |
CN108259673A (en) | Electronic equipment falls control method and Related product | |
CN106197466B (en) | Data processing method and device and terminal | |
CN113031812A (en) | Touch event reporting method and device, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181113 |
|
RJ01 | Rejection of invention patent application after publication |