CN108760214A - Projected angle of impact acquisition methods and Related product - Google Patents
Projected angle of impact acquisition methods and Related product Download PDFInfo
- Publication number
- CN108760214A CN108760214A CN201810393603.0A CN201810393603A CN108760214A CN 108760214 A CN108760214 A CN 108760214A CN 201810393603 A CN201810393603 A CN 201810393603A CN 108760214 A CN108760214 A CN 108760214A
- Authority
- CN
- China
- Prior art keywords
- electronic device
- acceleration
- moment
- value
- angle
- 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
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M7/00—Vibration-testing of structures; Shock-testing of structures
- G01M7/08—Shock-testing
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/10—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
- G01C21/12—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
- G01C21/16—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation
- G01C21/18—Stabilised platforms, e.g. by gyroscope
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present application discloses a kind of projected angle of impact acquisition methods and Related product, is applied to electronic device, electronic device includes acceleration transducer and gyroscope, and projected angle of impact acquisition methods include:Acceleration value of the electronic device in first time period is obtained by acceleration transducer, determines that electronic device is in and falls state, and obtain the initial angle that electronic device falls the moment;Multiple acceleration values of the electronic device in second time period are obtained by acceleration transducer, multiple acceleration change absolute values of electronic device are obtained according to multiple acceleration values;If detecting, continuous two acceleration change absolute values are more than predetermined threshold value, determine that electronic device is hit, and obtain the shock moment hit;The projected angle of impact of electronic device is determined by initial angle and gyro data.By determining, acceleration change value determines electronic device generation shock more than predetermined threshold value and obtains projected angle of impact the embodiment of the present application twice in succession, improves the accuracy rate for hitting judgement.
Description
Technical field
This application involves technical field of data processing, and in particular to projected angle of impact acquisition methods and Related product.
Background technology
(such as with electronic device:Mobile phone, tablet computer etc.) a large amount of popularization and applications, the application that electronic device can be supported
More and more, function is stronger and stronger, and electronic device develops towards diversification, personalized direction, becomes in user's life not
The appliance and electronic that can lack.By taking mobile phone as an example, user using mobile phone when, mobile phone may because of operation error to fall
And finally hit with ground, but the specific data hit can not be obtained.
Invention content
The embodiment of the present application provides a kind of projected angle of impact acquisition methods and Related product, to by electronic device not
With the monitoring of state, different data are obtained, and determine the projected angle of impact of electronic device according to the different data of acquisition, promotion obtains
The accuracy rate for evidence of fetching.
In a first aspect, the embodiment of the present application provides a kind of projected angle of impact acquisition methods, it is applied to electronic device, the shock
Angle acquisition methods include:
It determines that the electronic device is in and falls state, and the electronic device is obtained by the acceleration transducer and is fallen
Fall the initial angle at moment;
The acceleration value that the electronic device different moments are monitored by the acceleration transducer, when according to the difference
The acceleration value at quarter determines acceleration change absolute value;
If detecting, continuous two acceleration change absolute values are more than predetermined threshold value, determine that the electronic device is hit
It hits, and obtains the shock moment that the shock occurs;
The projected angle of impact of the electronic device, the gyro data are determined by the initial angle and gyro data
It is falling constantly to the data of the shock moment from described for the gyroscope record.
Second aspect, the application provide a kind of projected angle of impact acquisition device, and the projected angle of impact acquisition device includes falling
Determination unit, acceleration monitoring unit hit determination unit and projected angle of impact acquiring unit, wherein:
It is described to fall determination unit, fall state for determining that the electronic device is in, and pass by the acceleration
Sensor obtains the initial angle that the electronic device falls the moment;
The acceleration monitoring unit, for monitoring the electronic device different moments by the acceleration transducer
Acceleration value determines acceleration change absolute value according to the acceleration value of the different moments;
The shock determination unit, if for detecting that continuous two acceleration change absolute values are more than predetermined threshold value, really
The fixed electronic device is hit, and obtains the shock moment that the shock occurs;
The projected angle of impact acquiring unit, for determining the electronic device by the initial angle and gyro data
Projected angle of impact, the gyro data is falling constantly to the number of the shock moment from described for gyroscope record
According to.
The third aspect, the embodiment of the present application provide a kind of electronic device, including processor, memory, communication interface, and
One or more programs, one or more of programs are stored in the memory, and are configured by the processor
It executes, described program includes the instruction for executing the step in first aspect either method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, and storage is handed over for electronic data
The computer program changed, wherein the computer program makes computer execute the step described in first aspect either method
Instruction.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein above computer program product
Non-transient computer readable storage medium including storing computer program, above computer program are operable to make calculating
Machine executes the step some or all of as described in the embodiment of the present application first aspect either method.The computer program product
It can be a software installation packet.
As can be seen that in the embodiment of the present application, electronic device obtains electronic device at first by acceleration transducer
Between acceleration value in section, determine that electronic device is in and fall state, and obtain the initial angle that electronic device falls the moment, so
Multiple acceleration values of the electronic device in second time period are obtained by acceleration transducer again afterwards, and according to multiple acceleration
Value obtains multiple acceleration change absolute values of electronic device, when monitoring that continuous two acceleration value change absolute values are both greater than
Predetermined threshold value, it is determined that electronic device is hit, while obtaining shock moment;The number recorded by initial angle and gyroscope
According to determining the projected angle of impact that electronic device is hit.In this process, exhausted by getting two continuous acceleration changes
Electronic device, which is hit, to be judged more than predetermined threshold value to value, shock judging nicety rate can be promoted, passed additionally by acceleration
The data of sensor and gyroscope record determine the angle that electronic device is hit, and improve the accuracy for obtaining angle value.From
And keep the data being collected into more efficient, promote the intelligent of electronic device.
Description of the drawings
The attached drawing involved by the embodiment of the present application will be briefly described below.
Figure 1A is a kind of structural schematic diagram of electronic device provided by the embodiments of the present application;
Figure 1B is a kind of projected angle of impact acquisition methods flow diagram provided by the embodiments of the present application;
Fig. 1 C are that a kind of electronic device provided by the embodiments of the present application falls status diagram;
Fig. 1 D are that a kind of electronic device initial tilt provided by the embodiments of the present application obtains schematic diagram;
Fig. 2 is another projected angle of impact acquisition methods flow diagram provided by the embodiments of the present application;
Fig. 3 is another projected angle of impact acquisition methods flow diagram provided by the embodiments of the present application;
Fig. 4 is the structural schematic diagram of another electronic device provided by the embodiments of the present application;
Fig. 5 is a kind of functional unit composition block diagram of projected angle of impact acquisition device provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram with another electronic device 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 above-mentioned 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.
Electronic device involved by the embodiment of the present application may include various handheld devices with wireless communication function,
Mobile unit, wearable device are (for example, smartwatch, wireless headset, brain wave collector, virtual reality/augmented reality are set
It is standby), computing device or be connected to other processing equipments of radio modem and various forms of user equipment (user
Equipment, UE), mobile station (mobile station, MS), terminal device (terminal device) etc..For convenience
Description, apparatus mentioned above are referred to as electronic device.Certainly, the electronic device in the embodiment of the present application can configure outside some
Accessory is enclosed, for example, screen protecting film, protective case etc..Electronic device in the embodiment of the present application at least may include processor,
And what is connect with processor falls detection sensor, it may include following at least one to fall detection sensor:Acceleration passes
Sensor, distance measuring sensor, wind speed wind direction sensor, camera etc., above-mentioned camera can be following at least one:It is infrared to take the photograph
As head, it is seen that light video camera head, can also be dual camera, and the position according to camera setting can also be:Front camera, after
Set camera, side camera etc..Above-mentioned processor can integrate Sensor Hub modules, alternatively, electronic device can include
Sensor Hub modules can control Sensor Hub modules by processor and complete following the embodiment of the present application.
It describes in detail below to the embodiment of the present application.
A is please referred to Fig.1, Figure 1A is a kind of structural schematic diagram of electronic device 100 provided by the embodiments of the present application, above-mentioned electricity
Sub-device 100 includes:Processor 110, acceleration transducer 120 and gyroscope 130, acceleration transducer 120 and gyroscope 130
It is all connected to processor 110.
The acceleration transducer 120, for obtain acceleration value of the electronic device in first time period and
Multiple acceleration values in second time period;
The gyroscope 130 includes from falling the data to shock moment constantly for recording gyro data;
The processor 110, for determining the electricity according to acceleration value of the electronic device in first time period
Sub-device, which is in, falls state, and obtains the initial angle that the electronic state falls the moment;According to the electronic device
Multiple acceleration values in two periods obtain multiple acceleration change absolute values of the electronic device;If detecting continuous two
A acceleration change absolute value is more than predetermined threshold value, determines that the electronic device is hit, and obtains and the shock occurs
Shock moment;The projected angle of impact of the electronic device is determined by the initial angle and gyro data.
As can be seen that in the embodiment of the present application, electronic device obtains electronic device at first by acceleration transducer
Between acceleration value in section, determine that electronic device is in and fall state, and obtain the initial angle that electronic device falls the moment, so
Multiple acceleration values of the electronic device in second time period are obtained by acceleration transducer again afterwards, and according to multiple acceleration
Value obtains multiple acceleration change absolute values of electronic device, when monitoring that continuous two acceleration value change absolute values are both greater than
Predetermined threshold value, it is determined that electronic device is hit, while obtaining shock moment;The number recorded by initial angle and gyroscope
According to determining the projected angle of impact that electronic device is hit.In this process, exhausted by getting two continuous acceleration changes
Electronic device, which is hit, to be judged more than predetermined threshold value to value, shock judging nicety rate can be promoted, passed additionally by acceleration
The data of sensor and gyroscope record determine the angle that electronic device is hit, and improve the accuracy for obtaining angle value.From
And keep the data being collected into more efficient, promote the intelligent of electronic device.
B is please referred to Fig.1, Figure 1B is a kind of projected angle of impact acquisition methods flow diagram provided by the embodiments of the present application, is answered
For electronic device, electronic device includes acceleration transducer and gyroscope, as shown in Figure 1B, this projected angle of impact acquisition methods packet
Include following steps:
Step 101 obtains acceleration value of the electronic device in first time period by the acceleration transducer,
It determines that the electronic device is in and falls state, and obtain the initial angle that the electronic device falls the moment.
Specifically, refer to that electronic device falls moment critical value and its a period of time before in first time period.Accelerate
It spends sensor and acceleration related data is exported according to the setting period, which can be factory settings, can also be user's setting,
Its value includes 20ms, 30ms, 1s, 2s etc..It refers to that object is in free falling body state, in this process, the object to fall state
Body is not acted on by other external force, then the acceleration transducer installed in electronic device is in the desired acceleration of each axis
0, but since electronic device may may also be detected small add by some wind-force or resistance, electronic device in air
Speed, such as 10mg, 20mg or 30mg etc..Therefore, when detect electronic device each axis acceleration simultaneously close to 0 when, can
Judge that electronic device is in and falls state.In the previous moment that electronic device falls, electronic device is being hung down by gravity
Histogram to acceleration value be acceleration of gravity, then being accelerated according to the practical acceleration value obtained of acceleration transducer and gravity
Angle value, you can obtain the initial tilt that electronic device falls eve.Wherein acceleration transducer can be that individual axis acceleration passes
Sensor, double-shaft acceleration sensor or 3-axis acceleration sensor may include condenser type, electricity according to the difference of sensing element
Sense formula, strain-type, pressure resistance type, piezoelectric type, range can be ± 0.5g, ± 1g, ± 2g, ± 3g, ± 6g or ± 18g etc., wherein g
Indicate acceleration of gravity.
Optionally, it determines that electronic device is in fall the method for state and include:Pass through the acceleration in the first time period
Angle value obtains the electronic device at least one acceleration value of vertical direction, and at least one acceleration value includes one
Acceleration value or multiple acceleration values;When detecting that at least one acceleration value is in preset range, electronic device is determined
In falling state.
C is please referred to Fig.1, Fig. 1 C are that a kind of electronic device provided by the embodiments of the present application falls status diagram, such as Fig. 1 C
Shown, when electronic device 100 remains static, by gravity, therefore it is in the component of acceleration of vertical direction
1g, i.e. a=g=9.81m/s2, and when electronic device 100 falls, are in free falling body state, therefore it is in vertical direction
Component of acceleration is 0 or other tend to infinitesimal acceleration value, such as 20mg or 30mg, then preset range may be configured as
50mg, when the T0 moment detect electronic device vertical direction acceleration value a1<50mg, then can determine at electronic device
In falling state.Alternatively, it is also possible to obtain the acceleration value a2 at T2 moment again according to fixed cycle M1, if a2<50mg, and it is known
a1<50mg, then can determine that electronic device is in falls state.
Electronic device is determined after falling state, please refers to Fig.1 D, Fig. 1 D are a kind of electricity provided by the embodiments of the present application
Sub-device initial tilt obtains schematic diagram, as shown in figure iD, when electronic device, which is in, does not fall state, in adding for vertical direction
Velocity component is 1g, then according to the acceleration information of the X, Y, Z axis of the acceleration transducer output in electronic device, you can obtain
Obtain the inclination angle of electronic device and horizontal plane x, y, z.Formula is as follows:
Wherein g indicates acceleration of gravity, aX, aYAnd aZThe acceleration of the X, Y, Z axis of acceleration transducer output is indicated respectively
Degree, θ1, θ2And θ3Indicate that the angle of electronic device and horizontal x, y, z axis, that is, electronic device are falling the initial of moment respectively
Angle, aX, aY, aZIt is given data with g, θ can get by antitrigonometric function operation1, θ2And θ3Value.
As it can be seen that in the embodiment of the present application, by obtain electronic device vertical direction component of acceleration, it may be determined that
Whether electronic device, which is in, is fallen state, while can get electronics dress according to vertical direction acceleration and each axle acceleration of sensor
That sets falls initial angle, simplifies electronic device and falls state determining procedure.
Step 102 obtains multiple acceleration of the electronic device in second time period by the acceleration transducer
Angle value obtains multiple acceleration change absolute values of the electronic device according to the multiple acceleration value.
Specifically, when referring to that electronic device falls one section in moment critical value and its falling process in second time period
Between, electronic device can according to certain period export acceleration related data, wherein this period can in first time period
Cycle phase it is same, can also be the period less than first time period.Acceleration change absolute value, i.e., what the two neighboring period obtained
Absolute difference between acceleration value, changing size by the absolute value without direction can reflect that difference changes size.
As shown in table 1, it determines that electronic device is in moment t0 and falls state, acceleration transducer is exported by the period of s1
The acceleration of acceleration information, record is as shown in the table:
Acceleration change absolute value of 1 electronic device of table in falling process
Moment | X-axis acceleration | Y-axis acceleration | Z axis acceleration | Acceleration change absolute value |
t0 | 0.02g | 0.02g | 0.02g | / |
t0+s1 | 0.018g | 0.019g | 0.02g | 0.003g |
t0+2s1 | 0.019g | 0.02g | 0.021g | 0.003g |
t0+3s1 | -20g | -21g | -19g | 60.06g |
After the multiple acceleration change absolute values for obtaining electronic device, step 103 is executed.
If step 103 detects that continuous two acceleration change absolute values are more than predetermined threshold value, the electronic device is determined
It hits, and obtains the shock moment that the shock occurs.
Specifically, when electronic device and object collide, huge backward acceleration is will produce, if mutually collide
Object has elasticity, then electronic device can carry out counter motion with certain acceleration, if the object mutually collided does not have bullet
Property, then electronic device will be attributed to zero again within a short period of time in the huge acceleration of collision moment generation, acceleration transducer
It is recorded as acceleration of gravity 1g.And the acceleration change of electronic device includes regular hour process, when detecting electronic device
Acceleration change be more than predetermined threshold value when, in a very short time, whether the acceleration change of detection electronic installation again
More than predetermined threshold value, if so, determining that electronic device collides.Predetermined threshold value is preset acceleration value, can be passed through
User's manual setting or electronic device automatically generate, and can be 5g, 8g, 10g or 20g etc., due to colliding with electronic device
Object material it is different, then the acceleration variable generated also can be different.Optionally, by detecting continuous more than two acceleration
It spends change absolute value and is more than predetermined threshold value, determine that electronic device is hit.The time interval of detection can be with continuous acceleration
Change absolute value number successively decreases.The number of detection increases, and can further promote shock determination rate of accuracy.
Optionally, detect that continuous two acceleration change absolute values include more than predetermined threshold value:When detecting that first is pre-
If the corresponding acceleration change absolute value of time interval is more than predetermined threshold value, the first prefixed time interval corresponding first is recorded
Moment and the second moment;The acceleration change detected between the second prefixed time interval corresponding second moment and third moment is exhausted
Whether predetermined threshold value is more than to value;If so, determining that continuous two acceleration change absolute values are more than predetermined threshold value, wherein first
Moment, the second moment and third moment occur according to chronological order.
As shown in table 1, if predetermined threshold value is 10g, detect that electronic device is corresponding with the first prefixed time interval of s1
Acceleration change absolute value is 60.06g, is more than predetermined threshold value, and it is t0+2s1 to record the interval corresponding first moment, when second
It is t0+3s1 to carve, and the acceleration change absolute value between the second moment and third moment is then recorded with the second prefixed time interval
Whether predetermined threshold value is more than, wherein the second prefixed time interval is s2, and s2<S1, as shown in table 2:
Continuous acceleration change absolute value of 2 electronic device of table in falling process
Moment | X-axis acceleration | Y-axis acceleration | Z axis acceleration | Acceleration change absolute value |
t0+2s1 | 0.019g | 0.02g | 0.021g | 0.003g |
t0+3s1 | -20g | -21g | -19g | 60.06g |
t0+3s1+s2 | -40g | -40g | -39g | 59g |
Using acceleration changes of the s2 between time interval the second moment t0+3s1 recorded and third moment t0+3s1+s2
Absolute value is 59g, is more than predetermined threshold value 10g, therefore can determine that electronic device is hit.Obtain what electronic device was hit
Moment.
Optionally, obtaining method at the time of electronic device is hit includes:Determine that the first moment hit
Shock moment, or determine that the middle point moment between the first moment and the second moment is shock moment.
As shown in table 2, the first moment was t0+2s1, and acceleration at this time is a value for being in preset range, can be sentenced
It is t0+3s1 to determine electronic device in state, the second moment is fallen, and acceleration at this time is more than predetermined threshold value, determines electronics
It collides, then be between the first moment and the second moment at the time of electronic device collides, but due to obtaining electricity
The acceleration transducer data and gyro data of sub-device are and the electronics in order to obtain angle when electronic device is hit
Device occurs to hit eve and acceleration transducer data when hitting are closest, therefore can be directly by the first moment
At the time of being determined as electronic device and hit, and the data of electronic device need not be still further obtained as shock moment number
According at the time of i.e. t '=t1, wherein t ' expression are hit, t1 indicated for the first moment;Alternatively, at the time of being known to occur to hit
Between the first moment and the second moment, then further the middle point moment between the first moment and the second moment can be determined as
Shock moment.Determine that formula is:
At the time of wherein t ' expressions are hit.
As it can be seen that in the embodiment of the present application, by detecting that continuous two acceleration change absolute values are more than predetermined threshold value
It determines that electronic device is hit, the accuracy rate of electronic device crash situation detection can be promoted, shake is avoided to misidentify.And lead to
The nearest moment recorded before hitting will be occurred as shock moment by crossing, and can simplify shock moment obtaining step, reduction obtains again
The calculating consumption taken;The intermediate time at the nearest moment recorded after if the nearest moment recorded before hitting occurring and hit
As shock moment occurs, the acquisition precision of shock moment can be promoted.
Step 104, the projected angle of impact that the electronic device is determined by the initial angle and gyro data, the top
Spiral shell instrument data are falling constantly to the data of the shock moment from described for the gyroscope record.
Specifically, gyroscope is the instrument for recording angular speed, and during electronic device falls, gyroscope is according to certain
Periodic recording electronic device from the angular speed to shock moment constantly is fallen, the wherein period can be 5ms, 10ms, 20ms or
30ms etc..It is integrated in time dimension by the magnitude of angular velocity to acquisition, can get angle of the electronic device in falling process
Degree variation, the electronic device initial angle that step 101 obtains is added with angle change, you can is obtained electronic device and is hit
When angle.
Optionally, determine that the projected angle of impact of electronic device includes by initial angle and gyro data:Obtain gyroscope
Sampling period in data and multiple magnitude of angular velocities;Determine that electronic device was falling according to sampling period and multiple magnitude of angular velocities
Angle change value in journey;According to initial angle and angle change value, the projected angle of impact of electronic device is determined.
As shown in table 3, it determines that electronic device is at the t0 moment and falls state, determine that electronic device is hit at the t1 moment
It hits, within this period, the data of gyroscope record are as follows:
3 gyro data table of table
Moment | X-axis angular speed (°/sec) | Y-axis angular speed (°/sec) | Z axis angular speed (°/sec) |
t0 | x1 | y1 | z1 |
t0+s3 | x2 | y2 | z2 |
t0+2s3 | x3 | y3 | z3 |
t0+3s3 | x4 | y4 | z4 |
t1 | x5 | y5 | z5 |
The period that gyroscope reads data is s3, then the projected angle of impact of electronic device can be obtained by formula (3):
Wherein θX、θYAnd θZIndicate the shock angle with horizontal x, y and z axes, gyroscope X, Y, Z axis when electronic device is hit
Angular speed can value be -50~50 °/sec, -75~75 °/sec or -200~200 °/sec etc., according to the manufacture of gyroscope
Parameter determines.
In the embodiment of the present application, electronic device obtains electronic device in first time period by acceleration transducer
Acceleration value determines that electronic device is in and falls state, and obtains the initial angle that electronic device falls the moment, then passes through again
Acceleration transducer obtains multiple acceleration values of the electronic device in second time period, and obtains electricity according to multiple acceleration values
Multiple acceleration change absolute values of sub-device preset threshold when monitoring that continuous two acceleration value change absolute values are both greater than
Value, it is determined that electronic device is hit, while obtaining shock moment;The data recorded by initial angle and gyroscope, really
Determine the projected angle of impact that electronic device is hit.In this process, by getting two continuous acceleration change absolute values
Judge that electronic device is hit more than predetermined threshold value, shock judging nicety rate can be promoted, additionally by acceleration transducer
The angle that electronic device is hit is determined with the data of gyroscope record, improves the accuracy for obtaining angle value.To make
The data being collected into can be more efficient, promotes the intelligent of electronic device.
Referring to Fig. 2, Fig. 2 is another projected angle of impact acquisition methods flow diagram provided by the embodiments of the present application, such as
Shown in Fig. 2, the projected angle of impact acquisition methods include the following steps:
Step 201 obtains acceleration value of the electronic device in first time period by acceleration transducer, determine described in
Electronic device, which is in, falls state, and obtains the initial angle that the electronic device falls the moment;
Step 202 obtains multiple acceleration of the electronic device in second time period by the acceleration transducer
Angle value obtains multiple acceleration change absolute values of the electronic device according to the multiple acceleration value;
Step 203, when detect the corresponding acceleration change absolute value of the first prefixed time interval be more than predetermined threshold value when,
Record first prefixed time interval corresponding first moment and the second moment;
Acceleration between step 204, the second prefixed time interval of detection corresponding second moment and third moment
Whether change absolute value is more than predetermined threshold value;
Step 205, if so, determining that continuous two acceleration change absolute values are more than predetermined threshold value, determine the electronics
Device is hit, and obtains the shock moment that the shock occurs;
Step 206, the projected angle of impact that the electronic device is determined by the initial angle and gyro data, the top
Spiral shell instrument data are falling constantly to the data of the shock moment from described for the gyroscope record.
In the embodiment of the present application, when detecting that acceleration change absolute value is more than predetermined threshold value for the first time, it is recorded
Corresponding start/stop time, then detects whether acceleration change absolute value adjacent thereafter is more than predetermined threshold value, if so, judgement
Electronic device is hit.It is this to judge that the method whether electronic device hits misidentify to avoid shake, further
Promote the accuracy rate for hitting detection.
Referring to Fig. 3, Fig. 3 is another projected angle of impact acquisition methods flow diagram provided by the embodiments of the present application, such as
Shown in Fig. 3, the projected angle of impact acquisition methods include the following steps:
Step 301 obtains acceleration value of the electronic device in first time period by acceleration transducer;
Step 302, obtained by the acceleration value in the first time period electronic device vertical direction extremely
A few acceleration value, at least one acceleration value include an acceleration value or multiple acceleration values;
Step 303, when detecting that at least one acceleration value is in preset range, determine the electronic device
In state is fallen, the initial angle that the electronic device falls the moment is obtained;
Step 304 obtains multiple acceleration of the electronic device in second time period by the acceleration transducer
Angle value obtains multiple acceleration change absolute values of the electronic device according to the multiple acceleration value;
Step 305, when detect the corresponding acceleration change absolute value of the first prefixed time interval be more than predetermined threshold value when,
Record first prefixed time interval corresponding first moment and the second moment;
Acceleration between step 306, the second prefixed time interval of detection corresponding second moment and third moment
Whether change absolute value is more than predetermined threshold value;
Step 307, if so, determining that continuous two acceleration change absolute values are more than predetermined threshold value, determine the electronics
Device is hit;
Step 308, determine first moment be the shock moment of the shock occurs, or determine first moment and
Middle point moment between second moment is shock moment;
Step 309, the sampling period in acquisition gyro data and multiple magnitude of angular velocities, the gyro data are described
Gyroscope record falls constantly from described to the data of the shock moment;
Step 310 determines the electronic device in falling process according to the sampling period and the multiple magnitude of angular velocity
In angle change value;
Step 311, according to the initial angle and the angle change value, determine the projected angle of impact of the electronic device.
In the embodiment of the present application, electronic device obtains electronic device in first time period by acceleration transducer
Acceleration value determines that electronic device is in and falls state, and obtains the initial angle that electronic device falls the moment, then passes through again
Acceleration transducer obtains multiple acceleration values of the electronic device in second time period, and obtains electricity according to multiple acceleration values
Multiple acceleration change absolute values of sub-device preset threshold when monitoring that continuous two acceleration value change absolute values are both greater than
Value, it is determined that electronic device is hit, while obtaining shock moment;The data recorded by initial angle and gyroscope, really
Determine the projected angle of impact that electronic device is hit.In this process, by getting two continuous acceleration change absolute values
Judge that electronic device is hit more than predetermined threshold value, shock judging nicety rate can be promoted, additionally by acceleration transducer
The angle that electronic device is hit is determined with the data of gyroscope record, improves the accuracy for obtaining angle value.To make
The data being collected into can be more efficient, promotes the intelligent of electronic device.
As it is above-mentioned consistently, referring to Fig. 4, the structure that Fig. 4 is another electronic device provided by the embodiments of the present application is shown
It is intended to, as shown in figure 4, the electronic device includes processor, memory, communication interface and one or more programs, wherein on
It states one or more programs to be stored in above-mentioned memory, and is configured to be executed by above-mentioned processor, above procedure includes
Instruction for executing following steps:
Obtain acceleration value of the electronic device in first time period by the acceleration transducer, determine described in
Electronic device, which is in, falls state, and obtains the initial angle that the electronic device falls the moment;
Multiple acceleration values of the electronic device in second time period are obtained by the acceleration transducer, according to
The multiple acceleration value obtains multiple acceleration change absolute values of the electronic device;
If detecting, continuous two acceleration change absolute values are more than predetermined threshold value, determine that the electronic device is hit
It hits, and obtains the shock moment that the shock occurs;
The projected angle of impact of the electronic device, the gyro data are determined by the initial angle and gyro data
It is falling constantly to the data of the shock moment from described for the gyroscope record.
As can be seen that in the embodiment of the present application, electronic device obtains electronic device at first by acceleration transducer
Between acceleration value in section, determine that electronic device is in and fall state, and obtain the initial angle that electronic device falls the moment, so
Multiple acceleration values of the electronic device in second time period are obtained by acceleration transducer again afterwards, and according to multiple acceleration
Value obtains multiple acceleration change absolute values of electronic device, when monitoring that continuous two acceleration value change absolute values are both greater than
Predetermined threshold value, it is determined that electronic device is hit, while obtaining shock moment;The number recorded by initial angle and gyroscope
According to determining the projected angle of impact that electronic device is hit.In this process, exhausted by getting two continuous acceleration changes
Electronic device, which is hit, to be judged more than predetermined threshold value to value, shock judging nicety rate can be promoted, passed additionally by acceleration
The data of sensor and gyroscope record determine the angle that electronic device is hit, and improve the accuracy for obtaining angle value.From
And keep the data being collected into more efficient, promote the intelligent of electronic device.
In a possible example, in terms of detecting that continuous two acceleration change absolute values are more than predetermined threshold value,
Instruction in described program is specifically used for executing following operation:
When detecting that the corresponding acceleration change absolute value of the first prefixed time interval is more than predetermined threshold value, described in record
First prefixed time interval corresponding first moment and the second moment;
The acceleration change detected between the second prefixed time interval corresponding second moment and third moment is absolute
Whether value is more than predetermined threshold value;
If so, determine that continuous two acceleration change absolute values are more than predetermined threshold value, wherein first moment, described
Second moment and the third moment occur according to chronological order.
In a possible example, hitting for the electronic device is being determined by the initial angle and gyro data
In terms of hitting angle, the instruction in described program is specifically used for executing following operation:
Obtain the sampling period in the gyro data and multiple magnitude of angular velocities;
Angle of the electronic device in falling process is determined according to the sampling period and the multiple magnitude of angular velocity
Changing value;
According to the initial angle and the angle change value, the projected angle of impact of the electronic device is determined.
In a possible example, fall state aspect determining that the electronic device is in, the finger in described program
It enables and is specifically used for executing following operation:
The electronic device is obtained by the acceleration value in the first time period in at least one of vertical direction to add
Velocity amplitude, at least one acceleration value include an acceleration value or multiple acceleration values;
When detecting that at least one acceleration value is in preset range, determines that the electronic device is in and fall
State.
In a possible example, the shock moment that the shock occurs is being obtained, the instruction in described program is specific
For performing the following operations:
Determine first moment be the shock moment of the shock occurs, or
Determine that the middle point moment between first moment and second moment is shock moment.
It is above-mentioned 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 electronic device in order to realize above-mentioned 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, in conjunction with each exemplary unit of embodiment description presented herein
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 electronic device according to the above method example 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 above-mentioned 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.
Fig. 5 is the functional unit composition block diagram of projected angle of impact acquisition device 500 involved in the embodiment of the present application.This hits
It hits angle acquisition device 500 and is applied to electronic device, which includes falling determination unit 501, accelerating
It spends monitoring unit 502, hit determination unit 503 and projected angle of impact acquiring unit 504.It is wherein, described to fall determination unit 501,
For obtaining acceleration value of the electronic device in first time period by the acceleration transducer, the electronics is determined
Device, which is in, falls state, and obtains the initial angle that the electronic device falls the moment;The acceleration monitoring unit 502,
For obtaining multiple acceleration values of the electronic device in second time period by the acceleration transducer, according to described
Multiple acceleration values obtain multiple acceleration change absolute values of the electronic device;The shock determination unit 503, if for
It detects that continuous two acceleration change absolute values are more than predetermined threshold value, determines that the electronic device is hit, and obtain hair
The shock moment of the raw shock;The projected angle of impact acquiring unit 504, for passing through the initial angle and gyro data
Determine that the projected angle of impact of the electronic device, the gyro data are falling constantly to institute from described for the gyroscope record
State the data of shock moment.
As can be seen that in the embodiment of the present application, electronic device obtains electronic device at first by acceleration transducer
Between acceleration value in section, determine that electronic device is in and fall state, and obtain the initial angle that electronic device falls the moment, so
Multiple acceleration values of the electronic device in second time period are obtained by acceleration transducer again afterwards, and according to multiple acceleration
Value obtains multiple acceleration change absolute values of electronic device, when monitoring that continuous two acceleration value change absolute values are both greater than
Predetermined threshold value, it is determined that electronic device is hit, while obtaining shock moment;The number recorded by initial angle and gyroscope
According to determining the projected angle of impact that electronic device is hit.In this process, exhausted by getting two continuous acceleration changes
Electronic device, which is hit, to be judged more than predetermined threshold value to value, shock judging nicety rate can be promoted, passed additionally by acceleration
The data of sensor and gyroscope record determine the angle that electronic device is hit, and improve the accuracy for obtaining angle value.From
And keep the data being collected into more efficient, promote the intelligent of electronic device.
In a possible example, the shock determination unit 503 also particularly useful for:
When detecting that the corresponding acceleration change absolute value of the first prefixed time interval is more than predetermined threshold value, described in record
First prefixed time interval corresponding first moment and the second moment;
The acceleration change detected between the second prefixed time interval corresponding second moment and third moment is absolute
Whether value is more than predetermined threshold value;
If so, determine that continuous two acceleration change absolute values are more than predetermined threshold value, wherein first moment, described
Second moment and the third moment occur according to chronological order.
In a possible example, the projected angle of impact acquiring unit 504 also particularly useful for:
Obtain the sampling period in the gyro data and multiple magnitude of angular velocities;
Angle of the electronic device in falling process is determined according to the sampling period and the multiple magnitude of angular velocity
Changing value;
According to the initial angle and the angle change value, the projected angle of impact of the electronic device is determined.
In a possible example, it is described fall determination unit 501 also particularly useful for:
The electronic device is obtained by the acceleration value in the first time period in at least one of vertical direction to add
Velocity amplitude, at least one acceleration value include an acceleration value or multiple acceleration values;
When detecting that at least one acceleration value is in preset range, determines that the electronic device is in and fall
State.
In a possible example, the shock determination unit 503 also particularly useful for:
Determine first moment be the shock moment of the shock occurs, or
Determine that the middle point moment between first moment and second moment is shock moment.
The embodiment of the present application also provides another electronic devices, as shown in fig. 6, for convenience of description, illustrate only with
The relevant part of the embodiment of the present application, particular technique details do not disclose, please refer to the embodiment of the present application method part.The electronics
Device can be include mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA), sale
The arbitrary terminal devices such as terminal (Point Of Sales, POS), vehicle-mounted computer, by taking electronic device is mobile phone as an example:
Fig. 6 shows the part-structure block diagram with the relevant mobile phone of mobile terminal provided by the embodiments of the present application.Such as Fig. 6
Shown in mobile phone 6000 include:At least one processor 6011, memory 6012, communication interface (including SIM interface 6014, sound
Frequency input interface 6015, serial line interface 6016 and other communication interfaces 6017), (including the receiver of signal processing module 6013
6018, transmitter 6019, LOs6020 and signal processor 6021), input/output module (including display screen 6022, loud speaker
6023, microphone 6024, sensor 6025 etc.).It will be understood by those skilled in the art that electronic device construction shown in Fig. 6
Do not constitute the restriction to electronic device, may include than illustrating more or fewer components, either combine certain components or
Different component arrangements.
Each component parts of mobile phone is specifically introduced with reference to Fig. 6:
Processor 6011 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone,
By running or execute the software program and/or module that are stored in memory 6012, and calls and be stored in memory
Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor can integrate
Application processor (for example, CPU, alternatively, GPU) and modem processor, wherein the main processing operation system of application processor
System, user interface and application program etc., modem processor mainly handles wireless communication.It is understood that above-mentioned modulation
Demodulation processor can not also be integrated into processor.
Wherein, the processor 6011, for executing following steps:
Obtain acceleration value of the electronic device in first time period by the acceleration transducer, determine described in
Electronic device, which is in, falls state, and obtains the initial angle that the electronic device falls the moment;
Multiple acceleration values of the electronic device in second time period are obtained by the acceleration transducer, according to
The multiple acceleration value obtains multiple acceleration change absolute values of the electronic device;
If detecting, continuous two acceleration change absolute values are more than predetermined threshold value, determine that the electronic device is hit
It hits, and obtains the shock moment that the shock occurs;
The projected angle of impact of the electronic device, the gyro data are determined by the initial angle and gyro data
It is falling constantly to the data of the shock moment from described for the gyroscope record.
Memory 6012 can include mainly storing program area and storage data field, wherein storing program area can store operation
Application program etc. needed for system, at least one function;Storage data field can be stored uses created data etc. according to mobile phone.
In addition, memory may include high-speed random access memory, can also include nonvolatile memory, for example, at least a magnetic
Disk storage device, flush memory device or other volatile solid-state parts.
Communication interface for being communicatively coupled with external equipment, including SIM interface 6014, audio input interface 6015,
Serial line interface 6016 and other communication interfaces 6017.
Input/output module 6010 may include display screen 6022, loud speaker 6023, microphone 6024, sensor 6025 etc.,
Wherein, display screen 6022 is used to show the first image taken, and is shown to obtained 3D facial images, sensor
6025 may include optical sensor, motion sensor, brain wave sensor, camera and other sensors.Specifically, light sensing
Device may include environmental sensor and proximity sensor, wherein environmental sensor can adjust touch-control according to the light and shade of ambient light
The brightness of display screen, proximity sensor can close touching display screen and/or backlight when mobile phone is moved in one's ear.Motion-sensing
Device for example can be accelerometer sensor, and accelerometer sensor can detect in all directions the big of (generally three axis) acceleration
It is small, size and the direction of gravity are can detect that when static, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching, phase
Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc..
Signal processing module 6013 is used to handle mobile phone and sends letter from external equipment received signal and to external equipment
Number, external equipment for example can be base station, wherein receiver 6018 is used to receive the signal of external equipment transmission, and by the letter
It number is transmitted to signal processor 6021, transmitter emits for 6019 signal for being exported to signal processor 6021.
In earlier figures 1B, Fig. 2 or embodiment shown in Fig. 3, each step method flow can the structure based on the mobile phone it is real
It is existing.
In earlier figures 4 and embodiment shown in fig. 5, each unit function can be realized based on the structure of the mobile phone.
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 above method embodiment
Some or all of method step, above computer include mobile terminal.
The embodiment of the present application also provides a kind of computer program product, and above computer program product includes storing calculating
The non-transient computer readable storage medium of machine program, above computer program are operable to that computer is made to execute such as above-mentioned side
Some or all of either method described in method embodiment step.The computer program product can be a software installation
Packet, above 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 above-described embodiments, 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, said units 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 above-mentioned 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.Above-mentioned 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 above-mentioned integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product,
It can be stored in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or
Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products
Out, which is stored in a memory, including some instructions are used so that a computer equipment (can
For personal computer, server or network equipment etc.) execute all or part of step of each embodiment above method of the application
Suddenly.And memory above-mentioned includes:USB flash disk, read-only memory (Read-Only Memory, ROM), random access memory
The various media that can store program code such as (Random Access Memory, RAM), 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 above-described 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, ROM, 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. a kind of projected angle of impact acquisition methods, which is characterized in that be applied to electronic device, the electronic device includes that acceleration passes
Sensor and gyroscope, the projected angle of impact acquisition methods include:
Acceleration value of the electronic device in first time period is obtained by the acceleration transducer, determines the electronics
Device, which is in, falls state, and obtains the initial angle that the electronic device falls the moment;
Multiple acceleration values of the electronic device in second time period are obtained by the acceleration transducer, according to described
Multiple acceleration values obtain multiple acceleration change absolute values of the electronic device;
If detecting, continuous two acceleration change absolute values are more than predetermined threshold value, determine that the electronic device is hit, and
Obtain the shock moment that the shock occurs;
Determine that the projected angle of impact of the electronic device, the gyro data are institutes by the initial angle and gyro data
State falling constantly to the data of the shock moment from described for gyroscope record.
2. according to the method described in claim 1, it is characterized in that, described detect that continuous two acceleration change absolute values are big
Include in predetermined threshold value:
When detecting that the corresponding acceleration change absolute value of the first prefixed time interval is more than predetermined threshold value, described first is recorded
Prefixed time interval corresponding first moment and the second moment;
The acceleration change absolute value detected between the second prefixed time interval corresponding second moment and third moment is
It is no to be more than predetermined threshold value;
If so, determining that continuous two acceleration change absolute values are more than predetermined threshold value, wherein first moment, described second
Moment and the third moment occur according to chronological order.
3. method according to claim 1 or 2, which is characterized in that described to pass through the initial angle and gyro data
Determine that the projected angle of impact of the electronic device includes:
Obtain the sampling period in the gyro data and multiple magnitude of angular velocities;
Angle change of the electronic device in falling process is determined according to the sampling period and the multiple magnitude of angular velocity
Value;
According to the initial angle and the angle change value, the projected angle of impact of the electronic device is determined.
4. according to the method described in claim 1, it is characterized in that, the determination electronic device, which is in, falls state packet
It includes:
By the acceleration value in the first time period obtain the electronic device vertical direction at least one acceleration
Value, at least one acceleration value include an acceleration value or multiple acceleration values;
When detecting that at least one acceleration value is in preset range, determines that the electronic device is in and fall shape
State.
5. there is the method asked described in 2 according to right, which is characterized in that described obtain occurs the shock moment of the shock and include:
Determine first moment be the shock moment of the shock occurs, or
Determine that the middle point moment between first moment and second moment is shock moment.
6. a kind of projected angle of impact acquisition device, which is characterized in that the projected angle of impact acquisition device includes falling determination unit, is added
Speed monitoring unit hits determination unit and projected angle of impact acquiring unit, wherein:
It is described to fall determination unit, for obtaining the electronic device in first time period by the acceleration transducer
Acceleration value determines that the electronic device is in and falls state, and obtains the initial angle that the electronic device falls the moment;
The acceleration monitoring unit, for obtaining the electronic device in second time period by the acceleration transducer
Multiple acceleration values, multiple acceleration change absolute values of the electronic device are obtained according to the multiple acceleration value;
If the shock determination unit determines institute for detecting that continuous two acceleration change absolute values are more than predetermined threshold value
It states electronic device to hit, and obtains the shock moment that the shock occurs;
The projected angle of impact acquiring unit, for determining hitting for the electronic device by the initial angle and gyro data
Angle is hit, the gyro data is falling constantly to the data of the shock moment from described for the gyroscope record.
7. device according to claim 6, which is characterized in that the shock determination unit is specifically used for:
When detecting that the corresponding acceleration change absolute value of the first prefixed time interval is more than predetermined threshold value, described first is recorded
Prefixed time interval corresponding first moment and the second moment;
The acceleration change absolute value detected between the second prefixed time interval corresponding second moment and third moment is
It is no to be more than predetermined threshold value;
If so, determining that continuous two acceleration change absolute values are more than predetermined threshold value, wherein first moment, described second
Moment and the third moment occur according to chronological order.
8. the device described according to claim 6 or 7, which is characterized in that the projected angle of impact acquiring unit is specifically used for:
Obtain the sampling period in the gyro data and multiple magnitude of angular velocities;
Angle change of the electronic device in falling process is determined according to the sampling period and the multiple magnitude of angular velocity
Value;
According to the initial angle and the angle change value, the projected angle of impact of the electronic device is determined.
9. device according to claim 6, which is characterized in that the determination unit of falling is specifically used for:
By the acceleration value in the first time period obtain the electronic device vertical direction at least one acceleration
Value, at least one acceleration value include an acceleration value or multiple acceleration values;
When detecting that at least one acceleration value is in preset range, determines that the electronic device is in and fall shape
State.
10. device according to claim 7, which is characterized in that the shock determination unit also particularly useful for:
Determine first moment be the shock moment of the shock occurs, or
Determine that the middle point moment between first moment and second moment is shock moment.
11. a kind of electronic device, which is characterized in that including processor, memory, communication interface, and one or more programs,
One or more of programs are stored in the memory, and are configured to be executed by the processor, described program packet
Include the instruction for executing the step in method as described in any one in claim 1-5.
12. a kind of computer readable storage medium, which is characterized in that computer program of the storage for electronic data interchange,
In, the computer program makes computer execute method as described in any one in claim 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810393603.0A CN108760214A (en) | 2018-04-27 | 2018-04-27 | Projected angle of impact acquisition methods and Related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810393603.0A CN108760214A (en) | 2018-04-27 | 2018-04-27 | Projected angle of impact acquisition methods and Related product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108760214A true CN108760214A (en) | 2018-11-06 |
Family
ID=64012318
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810393603.0A Pending CN108760214A (en) | 2018-04-27 | 2018-04-27 | Projected angle of impact acquisition methods and Related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108760214A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110072010A (en) * | 2019-04-18 | 2019-07-30 | 维沃移动通信有限公司 | One kind falling detection method and terminal device |
CN110514375A (en) * | 2019-07-26 | 2019-11-29 | 上海卫星装备研究所 | The virtual vibration test test method of satellite and system based on virtual reality |
CN110794168A (en) * | 2019-10-29 | 2020-02-14 | 歌尔股份有限公司 | Detection method and device for piezoelectric glue spraying system |
CN111812356A (en) * | 2020-06-05 | 2020-10-23 | 厦门亿联网络技术股份有限公司 | Fall detection method and device based on triaxial accelerometer |
CN113302457A (en) * | 2018-11-07 | 2021-08-24 | 全球人寿担保服务有限公司 | Method and system for detecting whether protective shell of portable electronic device exists during falling impact |
US20220341965A1 (en) * | 2021-04-22 | 2022-10-27 | Asustek Computer Inc. | Electronic device with function of recording falling and hitting events and falling and hitting event recording method thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103731557A (en) * | 2014-01-08 | 2014-04-16 | 南方医科大学 | Smartphone-based real-time falling detection system and method |
CN104000596A (en) * | 2014-05-29 | 2014-08-27 | 上海斐讯数据通信技术有限公司 | Mobile terminal based tumble detecting method |
CN106406994A (en) * | 2016-09-06 | 2017-02-15 | 广东欧珀移动通信有限公司 | Fall protection method and device |
CN206147905U (en) * | 2016-10-27 | 2017-05-03 | 浙江理工大学 | System based on multi -sensor fusion fall detection |
CN106941561A (en) * | 2017-02-16 | 2017-07-11 | 上海与德通讯技术有限公司 | Mobile terminal falls detection method, fall protection method and mobile terminal |
CN107633655A (en) * | 2017-09-26 | 2018-01-26 | 深圳市金立通信设备有限公司 | A kind of fall detection method, terminal and computer-readable recording medium |
-
2018
- 2018-04-27 CN CN201810393603.0A patent/CN108760214A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103731557A (en) * | 2014-01-08 | 2014-04-16 | 南方医科大学 | Smartphone-based real-time falling detection system and method |
CN104000596A (en) * | 2014-05-29 | 2014-08-27 | 上海斐讯数据通信技术有限公司 | Mobile terminal based tumble detecting method |
CN106406994A (en) * | 2016-09-06 | 2017-02-15 | 广东欧珀移动通信有限公司 | Fall protection method and device |
CN206147905U (en) * | 2016-10-27 | 2017-05-03 | 浙江理工大学 | System based on multi -sensor fusion fall detection |
CN106941561A (en) * | 2017-02-16 | 2017-07-11 | 上海与德通讯技术有限公司 | Mobile terminal falls detection method, fall protection method and mobile terminal |
CN107633655A (en) * | 2017-09-26 | 2018-01-26 | 深圳市金立通信设备有限公司 | A kind of fall detection method, terminal and computer-readable recording medium |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113302457A (en) * | 2018-11-07 | 2021-08-24 | 全球人寿担保服务有限公司 | Method and system for detecting whether protective shell of portable electronic device exists during falling impact |
CN110072010A (en) * | 2019-04-18 | 2019-07-30 | 维沃移动通信有限公司 | One kind falling detection method and terminal device |
CN110072010B (en) * | 2019-04-18 | 2021-01-26 | 维沃移动通信有限公司 | Drop detection method and terminal equipment |
CN110514375A (en) * | 2019-07-26 | 2019-11-29 | 上海卫星装备研究所 | The virtual vibration test test method of satellite and system based on virtual reality |
CN110794168A (en) * | 2019-10-29 | 2020-02-14 | 歌尔股份有限公司 | Detection method and device for piezoelectric glue spraying system |
CN111812356A (en) * | 2020-06-05 | 2020-10-23 | 厦门亿联网络技术股份有限公司 | Fall detection method and device based on triaxial accelerometer |
US20220341965A1 (en) * | 2021-04-22 | 2022-10-27 | Asustek Computer Inc. | Electronic device with function of recording falling and hitting events and falling and hitting event recording method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108760214A (en) | Projected angle of impact acquisition methods and Related product | |
CN108769350A (en) | Fall detection method and relevant apparatus | |
CN108924914B (en) | Fall detection method and related product | |
EP2816450B1 (en) | Information processing apparatus, and information processing method | |
CN108390964A (en) | A kind of camera head protecting method and mobile terminal | |
CN108769380A (en) | Projected angle of impact acquisition methods and Related product | |
CN109597481A (en) | AR virtual portrait method for drafting, device, mobile terminal and storage medium | |
CN106441350A (en) | Step counting method and terminal | |
JP6315184B2 (en) | Impact detection circuit, physical quantity detection device, electronic device, moving object, and impact detection method | |
CN108287611A (en) | Screen touch-control response method, terminal and computer storage media | |
WO2019141085A1 (en) | Electronic device, collision data processing method and related products | |
CN105797319A (en) | Badminton motion data processing method and device | |
CN108174016A (en) | A kind of terminal shatter-resistant control method, terminal and computer readable storage medium | |
CN108833779A (en) | Filming control method and Related product | |
CN102420905A (en) | Method and device for controlling mobile phone to play music by using gravity sensor | |
CN111443821B (en) | Processing method and device | |
CN107728847A (en) | One kind charging interference processing method and mobile terminal | |
CN108377293A (en) | Electronic device falls control method and Related product | |
CN110072010B (en) | Drop detection method and terminal equipment | |
CN108646975A (en) | Information processing method and device | |
CN108833667A (en) | A kind of terminal shatter-resistant method, terminal and computer readable storage medium | |
CN108777735A (en) | Display area method of adjustment and relevant device | |
CN104898838A (en) | Incoming call responding method and apparatus for handheld device | |
CN108089710A (en) | A kind of electronic equipment control method, device and electronic equipment | |
EP3582080A1 (en) | Systems and methods for integrating haptics overlay in augmented reality |
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: 20181106 |
|
RJ01 | Rejection of invention patent application after publication |