CN106646440A - Drop height detection method and drop height detection device - Google Patents
Drop height detection method and drop height detection device Download PDFInfo
- Publication number
- CN106646440A CN106646440A CN201610806726.3A CN201610806726A CN106646440A CN 106646440 A CN106646440 A CN 106646440A CN 201610806726 A CN201610806726 A CN 201610806726A CN 106646440 A CN106646440 A CN 106646440A
- Authority
- CN
- China
- Prior art keywords
- terminal
- height
- detection data
- fallen
- detection
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S11/00—Systems for determining distance or velocity not using reflection or reradiation
- G01S11/12—Systems for determining distance or velocity not using reflection or reradiation using electromagnetic waves other than radio waves
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S11/00—Systems for determining distance or velocity not using reflection or reradiation
- G01S11/14—Systems for determining distance or velocity not using reflection or reradiation using ultrasonic, sonic, or infrasonic waves
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Electromagnetism (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The embodiments of the invention provide a drop height detection method and a drop height detection device. The method comprises the following steps: when detecting that a terminal drops, turning on a distance sensor; receiving detection data reported by the distance sensor; acquiring the time interval between the time when the distance sensor is turned on and the time when the detection data is received; and acquiring the drop height of the terminal according to the detection data and the time interval. According to the scheme, the time interval between the time when the distance sensor is turned on and the time when the detection data is received is acquired after the detection data of the sensor is received, and then, the drop height of the terminal is acquired according to the detection data and the time interval. The delay in detection data reception is considered during height acquisition, and the detected height is corrected using the acquired time interval. Compared with the prior art, the accuracy of drop height detection can be improved.
Description
Technical field
The present invention relates to field of terminal technology, and in particular to a kind of falling height detection method and device.
Background technology
With the function that the terminals such as the development of terminal technology, mobile phone have it is more and more.For example, music function, social work(
Energy, navigation feature etc., bring great convenience to user.While enjoying convenient, people are more next to the degree of dependence of terminal
It is higher.
In actual use, situations such as often there is terminal and fall from user's hand, fall from table.Fallen according to terminal
Differing heights when falling, terminal can be subject to different degrees of damage.For example, terminal frame is broken, and terminal screen is broken, or even eventually
End cannot normal work.Therefore, terminal all can be counted after falling to data such as falling height, drop numbers.
Currently, height when terminal is fallen by range sensor come detection terminal.But, terminal is to detect generation
After falling event, range sensor is just opened, and need to call sensor to call a function to obtain data from range sensor.
In this detection method, open range sensor and call sensor call function be required for consume the regular hour, cause away from
Detect that the moment of height is later than the moment that terminal is fallen from sensor, so as to cause falling height detection inaccurate.
The content of the invention
The embodiment of the present invention provides a kind of falling height detection method and device, can improve the accurate of falling height detection
Property.
The embodiment of the present invention provides a kind of falling height detection method, including:
When detecting terminal and falling, range sensor is opened;
Receive the detection data that the range sensor is reported;
Obtain the time interval between the moment for opening range sensor and the moment for receiving detection data;
The height when terminal is fallen is obtained according to the detection data and the time interval.
Accordingly, the embodiment of the present invention also provides a kind of falling height detection means, including:
Whether detection module, fall for detection terminal;
Opening module, for when detecting the terminal and falling, opening range sensor;
Receiver module, for receiving the detection data that the range sensor is reported;
First acquisition module, for obtaining between the moment for opening range sensor and the moment for receiving detection data
Time interval;
Second acquisition module, for obtaining the height when terminal is fallen according to the detection data and the time interval
Degree.
The embodiment of the present invention is adopted when detecting terminal and falling, unlatching range sensor;Receive the Distance-sensing
The detection data that device is reported;Obtain between the time between the moment for opening range sensor and the moment for receiving detection data
Every;The height when terminal is fallen is obtained according to the detection data and the time interval.The program is receiving the inspection of sensor
After surveying data, the time interval between the moment for obtaining turn on sensor and the moment for receiving detection data, then according to inspection
Survey data and time interval to obtain height when terminal is fallen, when height is obtained prolonging when receiving detection data is considered
When, the height for detecting is corrected using the time interval for getting, in terms of existing technologies, can improve and fall
The accuracy of the height detection that falls.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below will be to making needed for embodiment description
Accompanying drawing is briefly described.It should be evident that drawings in the following description are only some embodiments of the present invention, for
For those skilled in the art, on the premise of not paying creative work, can be attached to obtain others according to these accompanying drawings
Figure.
Fig. 1 is the schematic flow sheet of the falling height detection method that the embodiment of the present invention one is provided.
Fig. 2 is the schematic flow sheet of the falling height detection method that the embodiment of the present invention two is provided.
Fig. 3 is the structural representation of the first falling height detection means that the embodiment of the present invention three is provided.
Fig. 4 is the structural representation of second falling height detection means that the embodiment of the present invention three is provided.
Fig. 5 is the structural representation of the third falling height detection means that the embodiment of the present invention three is provided.
Fig. 6 is the structural representation of the 4th kind of falling height detection means that the embodiment of the present invention three is provided.
Fig. 7 is the structural representation of the first terminal that the embodiment of the present invention four is provided.
Fig. 8 is the structural representation of second terminal that the embodiment of the present invention four is provided.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described.Obviously, described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on
Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Term " first ", " second ", " 3rd " in description and claims of this specification and above-mentioned accompanying drawing etc.
(if present) is the object for distinguishing similar, without being used to describe specific order or precedence.It should be appreciated that this
The object of sample description can be exchanged in the appropriate case.Additionally, term " comprising " and " having " and their any deformation, meaning
Figure is to cover non-exclusive including.For example, the process of series of steps, method are contained or a series of modules or list is contained
The device of unit, terminal, system are not necessarily limited to those steps or module or the unit clearly listed, and can also include unclear
The step of list or module or unit, it is also possible to include its intrinsic for these processes, method, device, terminal or system
Its step or module or unit.
The embodiment of the present invention provides a kind of falling height detection method, device and terminal, will carry out respectively specifically below
It is bright.
Embodiment one
The present embodiment will be described from the angle of falling height detection means, and the device can specifically be integrated in terminal
In, the terminal can be the equipment such as smart mobile phone, panel computer.
A kind of falling height detection method, including:When detecting terminal and falling, range sensor is opened;Receive
The detection data that the range sensor is reported;Obtain between the moment for opening range sensor and the moment for receiving detection data
Time interval;The height when terminal is fallen is obtained according to the detection data and the time interval.
As shown in figure 1, the falling height detection method, idiographic flow can include:
S101, when detecting terminal and falling, opens range sensor.
Specifically, the state of sensor real-time detection terminal can be passed through.For example, can in terminal integrated gravity sensitive
Device, the acceleration of real-time detection terminal judges whether terminal is fallen by acceleration.In concrete application, work as end
When inactive state, the arm of force in gravity sensor produces deformation due to Action of Gravity Field, so as to sense gravity acceleration g,
Under normal circumstances it is believed that g=9.8m/s2.When terminal is fallen, terminal is in free falling body state, the gravity in terminal
Sensor is also at free falling body state, so as to the deformation that the arm of force in gravity sensor is produced due to Action of Gravity Field disappears,
The acceleration that now gravity sensor is sensed is 0.Therefore, when the acceleration for detecting terminal is 0, that is, show that terminal occurs
Fall and be in free falling body state.Now open the range sensor in terminal.By range sensor detection terminal and ground
The distance in face, namely terminal is apart from the height on ground, and report detection data.Range sensor includes but is not limited to infrared ray biography
Sensor, capacitance sensor, ultrasonic sensor etc..Opening range sensor can specifically include following steps:
When it is determined that the terminal is fallen, open command is generated;
Range sensor is opened according to the open command.
Specifically, when detecting terminal and falling, the processor in terminal generates open command.The open command refers to
Show unlatching range sensor.Electric power system of the processor in the open command control terminal is powered to range sensor, and
Call sensor call function.Sensor call function calls range sensor to be detected.Range sensor detects distance
After data, the detection data is reported.It follows that determining that terminal falls that to report detection data with sensor be not same stepping
Capable, can there is certain time delay in centre.
In practical application, when terminal is in free falling body state, it may be possible to which terminal there occurs to be fallen, it is also possible to be
What user actively caused the moment that terminal is put down.For example, user is dealt into terminal on sofa, close apart from sofa in terminal
When user's mmk terminal slip out of the hand.In this case, after user slips out of the hand terminal, before terminal is not also contacted with sofa,
Terminal can briefly freedom of entry falling bodies state.But such case should avoid being confirmed to be terminal to be fallen.
In certain embodiments, in order to avoid there is error detection, detect terminal fall can specifically include it is following
Step:
When detecting terminal into state of weightlessness, timing is carried out to the state of weightlessness of the terminal;
When the duration of the timing reaches preset duration, determine that the terminal is fallen.
Specifically, state of weightlessness refers to state when terminal is only subject to Action of Gravity Field, namely free falling body state.Work as inspection
The acceleration of terminal is measured by 9.8m/s2When being changed into 0, that is, show that terminal enters state of weightlessness, now open timer to terminal
State of weightlessness carry out timing.Preset duration is to prestore a duration numerical value in the terminal.For example, preset duration is
0.2s.When the duration of the timing reaches preset duration, namely the duration of terminal state of weightlessness is when reaching the preset duration, really
The fixed terminal is fallen.Now open the range sensor in terminal.By range sensor detection terminal and ground away from
From, namely terminal is apart from the height on ground, and report detection data.
S102, receives the detection data that the range sensor is reported.
Specifically, range sensor is detected after range data, reports the detection data.Processor in terminal is received should
Detection data, and the detection data is processed.The detection data is the distance between terminal and ground, namely terminal is worked as
The height on front distance ground.
S103, obtains the time interval between the moment for opening range sensor and the moment for receiving the detection data.
Specifically, fall when detecting terminal, when opening range sensor, when recording the start-up time as first
Carve.In concrete application, the moment for generating open command can be recorded as the first moment.Receive the inspection that range sensor is reported
When surveying data, the time of reception is recorded as the second moment.Then, calculate between the time between the first moment and the second moment
Every.
S104, the height when terminal is fallen is obtained according to the detection data and the time interval.
Specifically, get after time interval, end can be calculated according to the distance of the movement of falling object and time relationship
Hold the height fallen in the time interval.Then the height for being fallen in the time interval according to detection data and terminal is obtaining
Height when terminal is fallen.
In certain embodiments, the height for being obtained when the terminal is fallen according to the detection data and the time interval can have
Body is comprised the following steps:
Time error is obtained according to the preset duration and the time interval, the time error starts to drop to and connects for the terminal
Receive the time expended during the detection data;
The height when terminal is fallen is obtained according to the detection data and the time error.
Specifically, terminal starts to drop to receive and can exist between detection data regular hour error, can basis
The preset duration obtains the time error with the time interval.In concrete application, time mistake can be obtained by below equation
Difference:
T=t1+t2
Wherein, t is time error, t1For preset duration, t2For time interval.For example, preset duration t1For 0.2s, obtain
Time interval t for arriving2For 0.1s, then time error t is 0.3s.Then according to the detection data and the time error for receiving
Obtain height when terminal is fallen.Can be concrete according to the height that the detection data and the time error are obtained when the terminal is fallen
Comprise the following steps:
Height error is obtained according to the time error, the height error starts to drop to and receives the detection number for the terminal
According to when the height that fallen;
The height when terminal is fallen is obtained according to the height error and the detection data.
Specifically, height error is that the terminal starts to drop to and receives the height fallen during the detection data.Can be with
Height error is obtained according to the time error.In concrete application, height error can be obtained by below equation:
H1=0.5 × g × t2
Wherein, H1For height error, g is acceleration of gravity, under normal circumstances g=9.8m/s2, t is to miss the time for calculating
Difference.For example, time error t for calculating is 0.3s, then can calculate height error H1For 0.441m.Subsequently, can by with
Lower formula is obtaining height when terminal is fallen:
H=H1+H2
Wherein, height when H falls for terminal, H1For the height error for calculating, H2For the detection data of sensor.Example
Such as, height error H for calculating1For 0.441m, detection data H2For 1m, then can calculate height H when terminal is fallen is
1.441m。
When being embodied as, the present invention is not limited by the execution sequence of each described step, is not producing conflict
In the case of, some steps can also sequentially be carried out or while carried out using other.
From the foregoing, it will be observed that falling height detection method provided in an embodiment of the present invention, employing is fallen when detecting terminal
When, open range sensor;Receive the detection data that the range sensor is reported;Obtain and open the moment of range sensor and connect
Time interval between the moment for receiving detection data;Obtained when the terminal is fallen according to the detection data and the time interval
Highly.The program obtains the moment of turn on sensor and receives detection data after the detection data for receiving sensor
Time interval between moment is high obtaining then according to detection data and time interval obtaining height when terminal is fallen
Time delay when receiving detection data is considered when spending, the height for detecting is repaiied using the time interval for getting
Just, in terms of existing technologies, the accuracy of falling height detection can be improved.
Embodiment two
Falling height detection method according to described by embodiment one, is below described in further detail citing.
In the present embodiment, will be specifically integrated in smart mobile phone with falling height detection method, with smart mobile phone
It is described in detail as a example by falling height detection method.
As shown in Fig. 2 falling height detection method, idiographic flow can be as follows:
S201, when detecting smart mobile phone into state of weightlessness, to the state of weightlessness of the smart mobile phone timing is carried out.
Specifically, it is integrated with gravity sensor in smart mobile phone.Adding for smart mobile phone, is obtained in real time by gravity sensor
Speed.Smart mobile phone state in which is judged according to acceleration.When detecting the acceleration of smart mobile phone by 9.8m/s2It is changed into 0
When, that is, show that smart mobile phone enters state of weightlessness.Now open timer carries out timing to the state of weightlessness of smart mobile phone.Work as intelligence
The acceleration of energy mobile phone is undergone mutation again, and by 0 9.8m/s is become greater than2When, show that smart mobile phone contacts to earth, state of weightlessness knot
Beam.Now stop timing.
S202, when the duration of the timing reaches preset duration, determines that the smart mobile phone falls.
Specifically, preset duration is a duration numerical value being stored in advance in smart mobile phone memory.For example, when presetting
A length of 0.2s.After smart mobile phone opens timing, the preset duration is transferred from memory.It is persistently that the duration of timing is pre- with this
If duration is compared.When the duration of timing reaches the preset duration, determine that the smart mobile phone falls.
S203, generates open command.
Specifically, when it is determined that smart mobile phone falls, the processor of smart mobile phone generates open command.The unlatching refers to
Order indicates to open the range sensor on smart mobile phone.
S204, according to the open command range sensor is opened.
Specifically, it is integrated with range sensor on smart mobile phone.The range sensor can be infrared ray sensor, electric capacity
Sensor, ultrasonic sensor etc..The processor of smart mobile phone is generated after open command, according to the intelligent hand of open command control
Electric power system in machine is powered to range sensor, and calls sensor call function.Sensor call function calls distance to pass
Sensor is detected.Range sensor is detected after range data, reports the detection data.
S205, receives the detection data that the range sensor is reported.
Specifically, range sensor is detected after range data, reports the detection data.Processor in smart mobile phone connects
The detection data is received, and the detection data is processed.The detection data of range sensor be smart mobile phone and ground it
Between distance, namely the height on smart mobile phone current distance ground.
S206, obtains the time interval between the moment for opening range sensor and the moment for receiving detection data.
Specifically, when opening range sensor, the start-up time is recorded as the first moment.In concrete application, Ke Yiji
Record generates the moment of open command as the first moment.When receiving the detection data that range sensor is reported, the reception is recorded
Moment is used as the second moment.Then, the time interval between the first moment and the second moment is calculated.
S207, according to the preset duration and the time interval time error is obtained, and the time error is opened for the smart mobile phone
Beginning drops to and receives the time expended during the detection data.
Specifically, smart mobile phone starts to fall and there is certain time delay between detection data with receiving, and the time delay is
Time error.The time error can be calculated by below equation:
T=t1+t2
Wherein, t is time error, t1For preset duration, t2For time interval.For example, preset duration t1For 0.2s, obtain
Time interval t for arriving2For 0.1s, then time error t is 0.3s.
S208, according to the time error height error is obtained, and the height error starts to drop to reception for the smart mobile phone
The height fallen during to detection data.
Specifically, after smart mobile phone falls, when smart mobile phone starts to drop to and receives the detection data
Certain height is fallen, the height is height error.The height error can be calculated by below equation:
H1=0.5 × g × t2
Wherein, H1For height error, g is acceleration of gravity, under normal circumstances g=9.8m/s2, t is to miss the time for calculating
Difference.For example, time error t for calculating is 0.3s, then can calculate height error H1For 0.441m.
S209, the height when smart mobile phone falls is obtained according to the height error and the detection data.
Specifically, get after height error, you can smart mobile phone is obtained according to the height error and detection data and is fallen
When height.Specifically, height when can be fallen come computational intelligence mobile phone by below equation:
H=H1+H2
Wherein, height when H falls for smart mobile phone, H1For the height error for calculating, H2For the detection of range sensor
Data.For example, height error H for calculating1For 0.441m, detection data H2For 1m, then can calculate when smart mobile phone falls
Height H is 1.441m.
When being embodied as, the present invention is not limited by the execution sequence of each described step, is not producing conflict
In the case of, some steps can also sequentially be carried out or while carried out using other.
From the foregoing, it will be observed that falling height detection method provided in an embodiment of the present invention, using smart mobile phone is detected mistake is entered
During weight state, timing is carried out to the state of weightlessness;When the duration of the timing reaches scheduled duration, determine that smart mobile phone falls
Fall;Generate open command;Range sensor is opened according to the open command;Receive the detection data that the range sensor is reported;
Obtain the time interval between the moment for opening range sensor and the moment for receiving detection data;According to preset duration and should
Time interval obtains time error;Height error is obtained according to the time error;Obtained according to the height error and detection data
Height when smart mobile phone falls.The program after the detection data for receiving sensor, obtain turn on sensor moment with
Time interval between the moment for receiving detection data, then obtains time error, according to time error according to time interval
Height error is obtained, finally according to height error and detection data height when smart mobile phone falls is obtained.The program is being obtained
Time error when receiving detection data is considered during height, using the time error height error is obtained, and using the height
Degree error is corrected to the height for detecting, and in terms of existing technologies, can improve the accurate of falling height detection
Property.
Embodiment three
In order to preferably implement above method, the embodiment of the present invention also provides a kind of falling height detection means, the device
Can with it is integrated in the terminal, the terminal can be the equipment such as smart mobile phone, panel computer.
As shown in figure 3, falling height detection means can include:Detection module 301, opening module 302, receiver module
303rd, the first acquisition module 304, the second acquisition module 305, are described in detail below:
Whether the detection module 301, fall for detection terminal;
The opening module 302, for when detecting the terminal and falling, opening range sensor;
The receiver module 303, for receiving the detection data that the range sensor is reported;
First acquisition module 304, for obtaining the moment and the moment for receiving detection data of opening range sensor
Between time interval;
Second acquisition module 305, for obtaining the height when terminal is fallen according to the detection data and the time interval
Degree.
Preferably, as shown in figure 4, the detection module 301 includes:Timing submodule 3011, determination sub-module 3012, specifically
It is as follows:
The timing submodule 3011, for when terminal is detected into state of weightlessness, entering to the state of weightlessness of the terminal
Row timing;
The determination sub-module 3012, for when the duration of the timing reaches preset duration, determining that the terminal is fallen.
Preferably, as shown in figure 5, the opening module 302 includes:Instruction submodule 3021, unlatching submodule 3022, specifically
It is as follows:
The instruction submodule 3021, for when it is determined that the terminal is fallen, generating open command;
The unlatching submodule 3022, for opening range sensor according to the open command.
Preferably, as shown in fig. 6, second acquisition module 305 includes:First acquisition submodule 3051, second obtains son
Module 3052, it is specific as follows:
First acquisition submodule 3051, for obtaining time error according to the preset duration and the time interval, this when
Between error be that the terminal starts to drop to and receives the time expended during the detection data;
Second acquisition submodule 3052, for being obtained when the terminal is fallen according to the detection data and the time error
Highly.
Preferably, second acquisition submodule 3052 specifically for:
Height error is obtained according to the time error, the height error starts to drop to and receives the detection number for the terminal
According to when the height that fallen;
The height when terminal is fallen is obtained according to the height error and the detection data.
When being embodied as, above modules can be realized as independent entity, it is also possible to be combined, and be made
Realize for same or several entities.Being embodied as of above modules can be found in embodiment of the method above, and here is not
Repeat again.
From the foregoing, it will be observed that falling height detection means provided in an embodiment of the present invention, detects terminal and sends out in detection module 301
When life is fallen, range sensor is opened by opening module 302;Receiver module 303 receives the detection that the range sensor is reported
Data;First acquisition module 304 obtains the time between the moment for opening range sensor and the moment for receiving detection data
Interval;Second acquisition module 305 obtains the height when terminal is fallen according to the detection data and the time interval.The program exists
Time after receiving the detection data of sensor, between the moment for obtaining turn on sensor and the moment for receiving detection data
Interval, then according to detection data and time interval obtaining height when terminal is fallen, when height is obtained reception is considered
To time delay during detection data, the height for detecting is corrected using the time interval for getting, relative to existing skill
For art, the accuracy of falling height detection can be improved.
Example IV
The embodiment of the present invention also provides a kind of terminal, and the terminal can be the equipment such as smart mobile phone, panel computer.
As shown in fig. 7, terminal 400 can include:Detection module 401, opening module 402, receiver module 403, first are obtained
Delivery block 404, the second acquisition module 405, are described in detail below:
Whether the detection module 401, fall for detection terminal;
The opening module 402, for when detecting the terminal and falling, opening range sensor;
The receiver module 403, for receiving the detection data that the range sensor is reported;
First acquisition module 404, for obtaining the moment and the moment for receiving detection data of opening range sensor
Between time interval;
Second acquisition module 405, for obtaining the height when terminal is fallen according to the detection data and the time interval
Degree.
Preferably, the detection module 401 includes:Timing submodule, determination sub-module, it is specific as follows:
The timing submodule, for when terminal is detected into state of weightlessness, counting to the state of weightlessness of the terminal
When;
The determination sub-module, for when the duration of the timing reaches preset duration, determining that the terminal is fallen.
Preferably, the opening module 402 includes:Instruction submodule, unlatching submodule, it is specific as follows:
The instruction submodule, for when it is determined that the terminal is fallen, generating open command;
The unlatching submodule, for opening range sensor according to the open command.
Preferably, second acquisition module 405 includes:First acquisition submodule, the second acquisition submodule, it is specific as follows:
First acquisition submodule, for obtaining time error according to the preset duration and the time interval, the time misses
Differ to start to drop to for the terminal and receive the time expended during the detection data;
Second acquisition submodule, for obtaining the height when terminal is fallen according to the detection data and the time error
Degree.
Preferably, second acquisition submodule specifically for:
Height error is obtained according to the time error, the height error starts to drop to and receives the detection number for the terminal
According to when the height that fallen;
The height when terminal is fallen is obtained according to the height error and the detection data.
Aforesaid operations specifically can be found in embodiment of the method above, will not be described here.
The embodiment of the present invention also provides another kind of terminal, as shown in figure 8, the terminal 500 can include radio frequency (RF, Radio
Frequency) circuit 501, include the memory 502, input block of one or more computer-readable recording mediums
503rd, display unit 504, sensor 505, voicefrequency circuit 506, Wireless Fidelity (WiFi, Wireless Fidelity) module
507th, the part such as or the processor 508 and power supply 509 of more than one processing core is included.People in the art
Member it is appreciated that in Fig. 8 the terminal structure that illustrates not structure paired terminal restriction, can include more more or less of than illustrating
Part, or some parts are combined, or different part arrangements.
Radio circuit 501 can be used to receive and send messages, or in communication process signal reception and transmission, especially, by base station
Downlink information receive after, transfer to one or more than one processor 508 processed;In addition, up data is activation will be related to
To base station.Generally, radio circuit 501 includes but is not limited to antenna, at least one amplifier, tuner, one or more vibrations
Device, subscriber identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low noise amplification
Device (LNA, Low Noise Amplifier), duplexer etc..Additionally, radio circuit 501 can also be by radio communication and network
With other equipment communication.The radio communication can be using arbitrary communication standard or agreement, including but not limited to global system for mobile telecommunications
System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General
Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is many
Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term
Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc..
Memory 502 can be used to store software program and module.Processor 508 is stored in memory 502 by operation
Software program and module, so as to perform various function application and data processing.Memory 502 can mainly include storage journey
Sequence area and storage data field, wherein, the application program (ratio that storing program area can be needed for storage program area, at least one function
Such as sound-playing function, image player function) etc.;Storage data field can be stored and use created data according to terminal
(such as voice data, phone directory etc.) etc..Additionally, memory 502 can include high-speed random access memory, can also include
Nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Phase
Ying Di, memory 502 can also include Memory Controller, to provide processor 508 and input block 503 to memory 502
Access.
Input block 503 can be used for numeral, character information or the user's characteristic information (such as fingerprint) of receives input, and
Produce the keyboard relevant with user's setting and function control, mouse, action bars, optics or trace ball signal input.Specifically
Ground, input block 503 can include fingerprint recognition module.In certain embodiments, input block 503 can also include touch-sensitive table
Face.Touch sensitive surface, also referred to as touch display screen or Trackpad, user can be collected thereon or neighbouring touch operation (such as
User uses the operations of any suitable object or annex on Touch sensitive surface or near Touch sensitive surface such as finger, stylus), and
Corresponding attachment means are driven according to formula set in advance.Optionally, Touch sensitive surface may include touch detecting apparatus and touch
Two parts of controller.Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings,
Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching
Point coordinates, then give processor 508, and the order sent of receiving processor 508 and can be performed.Furthermore, it is possible to using electricity
The polytypes such as resistive, condenser type, infrared ray and surface acoustic wave realize Touch sensitive surface.Except Touch sensitive surface, input block 503
Other input equipments can also be included.Specifically, other input equipments can include but is not limited to physical keyboard, function key (ratio
Such as volume control button, switch key), trace ball, mouse, one or more in action bars etc..
Display unit 504 can be used for show by user input information or be supplied to user information and terminal it is various
Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.Show
Unit 504 may include display floater, optionally, can using liquid crystal display (LCD, Liquid Crystal Display),
The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) are configuring display floater.Further
, Touch sensitive surface can cover display floater, when Touch sensitive surface is detected thereon or after neighbouring touch operation, send process to
Device 508 is provided on a display panel accordingly with preprocessor 508 with determining the type of touch event according to the type of touch event
Visual output.Although in fig. 8, Touch sensitive surface and display floater are realizing being input into and be input into as two independent parts
Function, but in some embodiments it is possible to by Touch sensitive surface and display floater it is integrated and realize input and output function.
Terminal may also include at least one sensor 505, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light
Light and shade adjusting the brightness of display floater, proximity transducer can close display floater and/or the back of the body when terminal is moved in one's ear
Light.As one kind of motion sensor, (generally three axles) acceleration in the detectable all directions of Gravity accelerometer
Size, can detect that size and the direction of gravity when static, can be used for recognize mobile phone attitude application (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Can also configure as terminal
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be described here.
Voicefrequency circuit 506 can pass through the COBBAIF that loudspeaker, microphone are provided between user and terminal.Voicefrequency circuit
The voice data for receiving can be converted into electric signal by 506, be transferred to loudspeaker, and by loudspeaker voice signal output is converted to;
On the other hand, the voice signal of collection is converted to electric signal by microphone, and audio frequency number is converted to after being received by voicefrequency circuit 506
According to, then after voice data output processor 508 is processed, Jing radio circuits 501 being sent to such as another terminal, or by sound
Frequency data output is to memory 502 so as to further process.Voicefrequency circuit 506 is also possible that earphone jack, to provide peripheral hardware
The communication of earphone and terminal.
Wireless Fidelity (WiFi) belongs to short range wireless transmission technology, and terminal can be helped by wireless fidelity module 507
User sends and receive e-mail, browses webpage and access streaming video etc., and it has provided the user wireless broadband internet and has accessed.
Although Fig. 8 shows wireless fidelity module 507, but it is understood that, it is simultaneously not belonging to must be configured into for terminal, completely may be used
To omit in the essential scope for do not change invention as needed.
Processor 508 is the control centre of terminal, using various interfaces and the various pieces of the whole terminal of connection, is led to
Cross operation or perform the software program and/or module that are stored in memory 502, and call and be stored in memory 502
Data, perform the various functions and processing data of terminal, so as to carry out integral monitoring to terminal.Optionally, processor 508 can be wrapped
Include one or more processing cores;Preferably, processor 508 can integrated application processor and modem processor, wherein, should
Operating system, user interface and application program etc. are mainly processed with processor, modem processor mainly processes radio communication.
It is understood that above-mentioned modem processor can not also be integrated in processor 508.
Terminal also includes the power supply 509 (such as battery) powered to all parts.Preferably, power supply can pass through power supply pipe
Reason system is logically contiguous with processor 508, so as to realize management charging, electric discharge and power managed by power-supply management system
Etc. function.Power supply 509 can also include one or more direct current or AC power, recharging system, power failure inspection
The random component such as slowdown monitoring circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown in Fig. 8, terminal can also include camera, bluetooth module etc., will not be described here.
Specifically in the present embodiment, the processor 508 in terminal can be according to following instruction, will be one or more
The corresponding executable file of process of application program is loaded in memory 502, and is run by processor 508 and be stored in storage
Application program in device 502, so as to realize various functions:
When detecting terminal and falling, range sensor is opened;Receive the detection data that the range sensor is reported;
Obtain the time interval between the moment for opening range sensor and the moment for receiving detection data;According to the detection data and
The time interval obtains the height when terminal is fallen.
Preferably, there is processor 508 detection module, opening module, receiver module, the first acquisition module, second to obtain
Module, is described in detail below:
Processor 508 is used for by opening module when detection module detects terminal and falls, and opens Distance-sensing
Device;
Processor 508 is used to receive the detection data that the range sensor is reported by receiver module;
Processor 508 is used to be obtained by the first acquisition module to be opened the moment of range sensor and receives detection data
Moment between time interval;
Processor 508 falls for obtaining the terminal according to the detection data and the time interval by the second acquisition module
When height.
Aforesaid operations specifically can be found in embodiment of the method above, will not be described here.
From the foregoing, it will be observed that embodiments provide a kind of terminal, by when detecting terminal and falling, open away from
From sensor;Receive the detection data that the range sensor is reported;Obtain and open the moment of range sensor and receive detection
Time interval between the moment of data;The height when terminal is fallen is obtained according to the detection data and the time interval.Should
Scheme after the detection data for receiving sensor, obtain turn on sensor moment and receive detection data moment between
Time interval, then according to detection data and time interval obtaining height when terminal is fallen, consider when height is obtained
Time delay during detection data is received, using the time interval for getting the height for detecting is corrected, relative to
For prior art, the accuracy of falling height detection can be improved.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or
Part steps can be by program to instruct the hardware of correlation to complete, and the program can be stored in computer-readable storage medium
In matter, storage medium can include:Read-only storage (ROM, Read Only Memory), random access memory (RAM,
Random Access Memory), disk or CD etc..
A kind of falling height detection method, device and the terminal for being provided the embodiment of the present invention above has carried out detailed Jie
Continue, specific case used herein is set forth to the principle and embodiment of the present invention, the explanation of above example is only
It is to be used to help understand the method for the present invention and its core concept;Simultaneously for those skilled in the art, according to the present invention's
Thought, will change in specific embodiments and applications, and in sum, this specification content should not be construed as
Limitation of the present invention.
Claims (10)
1. a kind of falling height detection method, it is characterised in that include:
When detecting terminal and falling, range sensor is opened;
Receive the detection data that the range sensor is reported;
Obtain the time interval between the moment for opening range sensor and the moment for receiving detection data;
The height when terminal is fallen is obtained according to the detection data and the time interval.
2. falling height detection method according to claim 1, it is characterised in that the terminal that detects falls tool
Body includes:
When detecting terminal into state of weightlessness, timing is carried out to the state of weightlessness of the terminal;
When the duration of the timing reaches preset duration, determine that the terminal is fallen.
3. falling height detection method according to claim 2, it is characterised in that described to fall when detecting terminal
When, open range sensor the step of specifically include:
When it is determined that the terminal is fallen, open command is generated;
Range sensor is opened according to the open command.
4. falling height detection method according to claim 3, it is characterised in that described according to the detection data and institute
State the step of time interval obtains the height when terminal is fallen and specifically include:
Time error is obtained according to the preset duration and the time interval, the time error starts to fall for the terminal
The time expended when the detection data is received;
The height when terminal is fallen is obtained according to the detection data and the time error.
5. falling height detection method according to claim 4, it is characterised in that described according to the detection data and institute
State the step of time error obtains the height when terminal is fallen and specifically include:
Height error is obtained according to the time error, the height error starts to drop to and receives the inspection for the terminal
Survey the height fallen during data;
The height when terminal is fallen is obtained according to the height error and the detection data.
6. a kind of falling height detection means, it is characterised in that include:
Whether detection module, fall for detection terminal;
Opening module, for when detecting the terminal and falling, opening range sensor;
Receiver module, for receiving the detection data that the range sensor is reported;
First acquisition module, for obtaining the time between the moment for opening range sensor and the moment for receiving detection data
Interval;
Second acquisition module, for obtaining the height when terminal is fallen according to the detection data and the time interval.
7. falling height detection means according to claim 6, it is characterised in that the detection module is specifically included:
Timing submodule, for when terminal is detected into state of weightlessness, to the state of weightlessness of the terminal timing being carried out;
Determination sub-module, for when the duration of the timing reaches preset duration, determining that the terminal is fallen.
8. falling height detection means according to claim 7, it is characterised in that the opening module is specifically included:
Instruction submodule, for when it is determined that the terminal is fallen, generating open command;
Submodule is opened, for opening range sensor according to the open command.
9. falling height detection means according to claim 8, it is characterised in that second acquisition module is specifically wrapped
Include:
First acquisition submodule, for obtaining time error according to the preset duration and the time interval, the time misses
Difference starts to drop to the time expended when receiving the detection data for the terminal;
Second acquisition submodule, for obtaining the height when terminal is fallen according to the detection data and the time error
Degree.
10. falling height detection means according to claim 9, it is characterised in that second acquisition submodule is concrete
For:
Height error is obtained according to the time error, the height error starts to drop to and receives the inspection for the terminal
Survey the height fallen during data;
The height when terminal is fallen is obtained according to the height error and the detection data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610806726.3A CN106646440B (en) | 2016-09-06 | 2016-09-06 | A kind of falling height detection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610806726.3A CN106646440B (en) | 2016-09-06 | 2016-09-06 | A kind of falling height detection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106646440A true CN106646440A (en) | 2017-05-10 |
CN106646440B CN106646440B (en) | 2019-02-26 |
Family
ID=58851599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610806726.3A Expired - Fee Related CN106646440B (en) | 2016-09-06 | 2016-09-06 | A kind of falling height detection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106646440B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107289915A (en) * | 2017-06-15 | 2017-10-24 | 杭州士兰微电子股份有限公司 | Measurement apparatus and measuring method |
CN108234720A (en) * | 2018-01-22 | 2018-06-29 | 广东欧珀移动通信有限公司 | Electronic device falls detection method and Related product |
CN108259669A (en) * | 2018-01-17 | 2018-07-06 | 广东欧珀移动通信有限公司 | The detection method and Related product of drop information |
CN108307066A (en) * | 2018-01-25 | 2018-07-20 | 广东欧珀移动通信有限公司 | Fall data reporting method and relevant apparatus |
CN108810246A (en) * | 2018-04-26 | 2018-11-13 | Oppo广东移动通信有限公司 | Fall data reporting method and relevant apparatus |
CN110646638A (en) * | 2019-09-29 | 2020-01-03 | 安徽创世科技股份有限公司 | Helmet falling impact detection method and device |
CN111147658A (en) * | 2019-05-24 | 2020-05-12 | 广东小天才科技有限公司 | Falling reminding method of intelligent equipment and intelligent equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006292690A (en) * | 2005-04-14 | 2006-10-26 | Asahi Kasei Electronics Co Ltd | System and method for determination of falling |
CN201674560U (en) * | 2010-05-27 | 2010-12-15 | 宁波高新区智点科技有限公司 | Mobile terminal shock resistant device |
CN102222509A (en) * | 2010-04-14 | 2011-10-19 | 神基科技股份有限公司 | Magnetic storage device capable of recording falling height and electronic product using same |
CN102279285A (en) * | 2011-03-11 | 2011-12-14 | 华为终端有限公司 | Terminal, method and apparatus for detecting drop information thereof |
CN203301550U (en) * | 2013-04-28 | 2013-11-20 | 深圳市金立通信设备有限公司 | Drop-resistance apparatus and mobile terminal |
CN104950726A (en) * | 2015-06-23 | 2015-09-30 | 何春旺 | Delay correction method and device for remote-control driving device |
-
2016
- 2016-09-06 CN CN201610806726.3A patent/CN106646440B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006292690A (en) * | 2005-04-14 | 2006-10-26 | Asahi Kasei Electronics Co Ltd | System and method for determination of falling |
CN102222509A (en) * | 2010-04-14 | 2011-10-19 | 神基科技股份有限公司 | Magnetic storage device capable of recording falling height and electronic product using same |
CN201674560U (en) * | 2010-05-27 | 2010-12-15 | 宁波高新区智点科技有限公司 | Mobile terminal shock resistant device |
CN102279285A (en) * | 2011-03-11 | 2011-12-14 | 华为终端有限公司 | Terminal, method and apparatus for detecting drop information thereof |
CN203301550U (en) * | 2013-04-28 | 2013-11-20 | 深圳市金立通信设备有限公司 | Drop-resistance apparatus and mobile terminal |
CN104950726A (en) * | 2015-06-23 | 2015-09-30 | 何春旺 | Delay correction method and device for remote-control driving device |
Non-Patent Citations (1)
Title |
---|
薛皓等: "基于TinyOS的TDOA测距误差修正方法", 《北京邮电大学学报》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107289915A (en) * | 2017-06-15 | 2017-10-24 | 杭州士兰微电子股份有限公司 | Measurement apparatus and measuring method |
CN107289915B (en) * | 2017-06-15 | 2023-09-15 | 杭州士兰微电子股份有限公司 | Measuring device and measuring method |
CN108259669A (en) * | 2018-01-17 | 2018-07-06 | 广东欧珀移动通信有限公司 | The detection method and Related product of drop information |
CN108234720A (en) * | 2018-01-22 | 2018-06-29 | 广东欧珀移动通信有限公司 | Electronic device falls detection method and Related product |
CN108234720B (en) * | 2018-01-22 | 2021-04-02 | Oppo广东移动通信有限公司 | Electronic device, fall detection method and related product |
CN108307066A (en) * | 2018-01-25 | 2018-07-20 | 广东欧珀移动通信有限公司 | Fall data reporting method and relevant apparatus |
CN108810246A (en) * | 2018-04-26 | 2018-11-13 | Oppo广东移动通信有限公司 | Fall data reporting method and relevant apparatus |
CN108810246B (en) * | 2018-04-26 | 2020-06-09 | Oppo广东移动通信有限公司 | Drop data reporting method and related device |
CN111147658A (en) * | 2019-05-24 | 2020-05-12 | 广东小天才科技有限公司 | Falling reminding method of intelligent equipment and intelligent equipment |
CN110646638A (en) * | 2019-09-29 | 2020-01-03 | 安徽创世科技股份有限公司 | Helmet falling impact detection method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106646440B (en) | 2019-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106646440A (en) | Drop height detection method and drop height detection device | |
CN106412249B (en) | The detection method and device of drop information | |
CN103530040B (en) | Object element moving method, device and electronic equipment | |
CN106453829B (en) | A kind of falling height detection method and device | |
CN103716331B (en) | Method, terminal, server and system for numerical value transfer | |
CN106549464A (en) | A kind of charge control method, device and computer equipment | |
CN103365419B (en) | A kind of method and apparatus triggering alarm clock control command | |
CN104967896A (en) | Method for displaying bulletscreen comment information, and apparatus thereof | |
CN103455407A (en) | Mobile terminal CPU (Central Processing Unit) occupation rate monitoring method and device and mobile terminal | |
CN106357897A (en) | Fall information acquiring method and device | |
CN103442330A (en) | Position notification method and device | |
CN106453830A (en) | Falling detection method and device | |
CN104636047A (en) | Method and device for operating objects in list and touch screen terminal | |
CN104571529A (en) | Application wake method and mobile terminal | |
CN106340925A (en) | Charging control method, apparatus and terminal | |
CN106341713A (en) | Multimedia synchronous play method, apparatus and system, and terminal | |
CN106161800A (en) | Incoming call reminding method and device and mobile communication terminal | |
CN103399706A (en) | Page interaction method, device and terminal | |
CN106412250B (en) | One kind falling statistical method and device | |
CN104424203A (en) | Method and system for viewing photo sharing state in mobile device | |
CN104135396B (en) | Show the method for network speed information, device and terminal | |
CN106648205B (en) | Dormancy control method, device and terminal | |
CN106227337A (en) | A kind of screen luminance adjustment method, device and terminal | |
CN106254673A (en) | Terminal fall detection method and device | |
CN103310155B (en) | A kind of method and apparatus searching viral parent |
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 | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190226 |
|
CF01 | Termination of patent right due to non-payment of annual fee |