CN108418973A - Fall detection method and relevant apparatus - Google Patents
Fall detection method and relevant apparatus Download PDFInfo
- Publication number
- CN108418973A CN108418973A CN201810287212.0A CN201810287212A CN108418973A CN 108418973 A CN108418973 A CN 108418973A CN 201810287212 A CN201810287212 A CN 201810287212A CN 108418973 A CN108418973 A CN 108418973A
- Authority
- CN
- China
- Prior art keywords
- height
- atmospheric pressure
- electronic device
- value
- pressure value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
This application discloses one kind falling detection method and relevant apparatus, applied to the electronic device for including baroceptor and controller, wherein:Baroceptor, for obtaining multiple atmospheric pressure values of the electronic device within the first period, the duration of the first period is less than or equal to first threshold;Controller, for determining height change value of the electronic device within the first period according to the conversion formula of multiple atmospheric pressure values and atmospheric pressure value and height;Controller is additionally operable to, in the case where height change value is greater than or equal to second threshold, determine that electronic device falls.The accuracy for falling detection can be improved using the embodiment of the present application.
Description
Technical field
This application involves electronic technology fields more particularly to one kind falling detection method and relevant apparatus.
Background technology
With the development of intelligent terminal technology, the function that the intelligent terminals such as tablet computer, smart mobile phone have is more and more.
For example, video capability, chat feature, camera function etc., bring great advantage to the user.While enjoying convenient, people
It is also higher and higher to the degree of dependence of intelligent terminal.In actual use, it will usually intelligent terminal occur and fall from the hand of user
Situations such as falling, falling from table.
Invention content
The embodiment of the present application provides one kind and falling detection method and relevant apparatus, and the accuracy for falling detection can be improved.
In a first aspect, the embodiment of the present application provides a kind of electronic device, including baroceptor and controller, wherein:
The baroceptor, for obtaining multiple atmospheric pressure values of the electronic device within the first period, described first
The duration of period is less than or equal to first threshold;
The controller, for determining the electronics according to the conversion formula of the multiple atmospheric pressure value and atmospheric pressure value and height
Height change value of the device within first period;
The controller is additionally operable in the case where the height change value is greater than or equal to second threshold, described in determination
Electronic device falls.
Second aspect, the embodiment of the present application provide one kind and falling detection method, applied to the electronics for including baroceptor
Device, the method includes:
Multiple atmospheric pressure values of the electronic device within the first period are obtained by the baroceptor, when described first
The duration of section is less than or equal to first threshold;
Determine the electronic device described first according to the conversion formula of the multiple atmospheric pressure value and atmospheric pressure value and height
Height change value in period;
In the case where the height change value is greater than or equal to second threshold, determine that the electronic device falls.
The third aspect, the embodiment of the present application provide one kind and falling detection device, are applied to electronic device, described to fall detection
Device includes acquiring unit, the first determination unit and the second determination unit, wherein:
The acquiring unit, for obtaining multiple atmospheric pressure values of the electronic device within the first period, when described first
The duration of section is less than or equal to first threshold;
First determination unit, for determining institute according to the conversion formula of the multiple atmospheric pressure value and atmospheric pressure value and height
State height change value of the electronic device within first period;
Second determination unit, in the case where the height change value is greater than or equal to second threshold, determining
The electronic device falls.
Fourth aspect, the embodiment of the present application provide a kind of electronic device, including processor, memory, communication interface and
One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned
It manages device to execute, above procedure includes the instruction for executing the step in the embodiment of the present application second aspect either method.
5th aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above computer is readable
Computer program of the storage medium storage for electronic data interchange, wherein above computer program makes computer execute such as
Step some or all of described in the embodiment of the present application second aspect either method.
6th 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 second 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 atmospheric pressure value during falling can change, and pass through
Baroceptor obtains multiple atmospheric pressure values in the first period, determines that electronic device exists according to the conversion formula of atmospheric pressure value and height
Height change value in first period;Judge whether the height change value is greater than or equal to second threshold, if so, determining electronics
Device falls.Since baroceptor is very sensitive to the variation of height, based on baroceptor detection electronics dress
It sets and whether falls, the accuracy for falling detection can be improved.
These aspects or other aspects of the application can more straightforward in the following description.
Description of the drawings
In order to illustrate more clearly of the technical solution in the embodiment of the present application or background technology, the application will be implemented below
Attached drawing illustrates needed in example or background technology.
Fig. 1 is a kind of structural schematic diagram of electronic device provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram falling detection method provided by the embodiments of the present application;
Fig. 3 is the flow diagram that another kind provided by the embodiments of the present application falls detection method;
Fig. 4 is a kind of structural schematic diagram of electronic device provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram falling detection device provided by the embodiments of the present application.
Specific implementation
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
The embodiment of the application part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
The every other embodiment that member is obtained without making creative work should all belong to the model of the application protection
It encloses.
It is described in detail separately below.
Term " first ", " second ", " third " in the description and claims of this application and the attached drawing and "
Four " etc. be for distinguishing different objects, rather than for describing particular order.In addition, term " comprising " and " having " and it
Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process of series of steps or unit, method, be
The step of system, product or equipment are not limited to list or unit, but further include the steps that optionally not listing or list
Member, or further include optionally for the intrinsic other 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 may include various handheld device, mobile unit, wearable device (example with wireless communication function
Such as smartwatch, Intelligent bracelet, pedometer), computing device or other processing equipments for being connected to radio modem, with
And various forms of user equipmenies (User Equipment, UE), mobile station (Mobile Station, MS), terminal device
(terminal device) etc..For convenience of description, apparatus mentioned above is referred to as electronic device.
It describes in detail below to the embodiment of the present application.
Referring to Fig. 1, Fig. 1 is a kind of structural schematic diagram of electronic device provided by the present application, electronic device 100 includes:
The controller 50 of shell 10, circuit board 20, baroceptor 30, display screen 40, control pressure sensor 30, display screen 40;Gas
Pressure sensor 30 and controller 50 are arranged on circuit board 20, and display screen 40 is connect with controller 50, wherein:
Baroceptor 30, for obtaining multiple atmospheric pressure values of the electronic device within the first period, when described first
The duration of section is less than or equal to first threshold;
Controller 50, for determining that the electronics fills according to the conversion formula of the multiple atmospheric pressure value and atmospheric pressure value and height
Set the height change value within first period;
Controller 50 is additionally operable to, in the case where the height change value is greater than or equal to second threshold, determine the electricity
Sub-device is fallen.
Wherein, electronic device 100 further includes at least one functional unit 60, controller 50 and at least one functional unit 60
Connection, at least one functional unit 60 include following at least one:Loud speaker, microphone, face identification device, close sensing
Device, ambient light sensor.
Wherein, display screen 40 includes touch screen and display screen, and display screen includes organic light-emitting diode (OLED) display screen OLED.
Wherein, controller 50 may include processor and memory, which is the control centre of electronic device, utilize
The various pieces of various interfaces and the entire electronic device of connection, by running or executing the software journey being stored in memory
Sequence and/or module, and the data being stored in memory are called, the various functions and processing data of electronic device are executed, from
And integral monitoring is carried out to electronic device.Optionally, processor can integrate application processor and modem processor, wherein
The main processing operation system of application processor, user interface and application program etc., modem processor mainly handles channel radio
Letter.It is understood that the modem processor can not also be integrated into processor.
Wherein, memory can be used for storing software program and module, and processor is stored in the soft of memory by operation
Part program and module, to execute various function application and the data processing of electronic device.Memory can include mainly depositing
Store up program area and storage data field, wherein storing program area can storage program area, the application program needed at least one function
Deng;Storage data field can be stored uses created data etc. according to electronic device.In addition, memory may include high speed with
Machine access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or its
His volatile solid-state part.
As can be seen that in the embodiment of the present application, electronic device atmospheric pressure value during falling can change, and pass through
Baroceptor obtains multiple atmospheric pressure values in the first period, determines that electronic device exists according to the conversion formula of atmospheric pressure value and height
Height change value in first period;Judge whether the height change value is greater than or equal to second threshold, if so, determining electronics
Device falls.Since baroceptor is very sensitive to the variation of height, based on baroceptor detection electronics dress
It sets and whether falls, the accuracy for falling detection can be improved.
In the embodiment of the application, controller 50 is additionally operable to determine that the electronic device meets setting condition, described
Setting condition includes following at least one:It detects the pressing operation of the starting HOME keys for the electronic device, detect
The present system time of touch control operation and the electronic device for the display screen was in for the second period.
In the embodiment of the application, determined according to the conversion formula of the multiple atmospheric pressure value and atmospheric pressure value and height
In terms of height change value of the electronic device within first period, controller 50 is specifically used for:
Corresponding first height value of the first atmospheric pressure value is determined according to atmospheric pressure value and the first height conversion formula of height, it is described
The initial time of first period corresponds to first atmospheric pressure value;
Corresponding second height value of the second atmospheric pressure value is determined according to atmospheric pressure value and the first height conversion formula of height, it is described
The end time of first period corresponds to second atmospheric pressure value;
Using the difference of first height value and second height value as the electronic device in first period
Interior height change value.
In the embodiment of the application, determined according to the conversion formula of the multiple atmospheric pressure value and atmospheric pressure value and height
In terms of height change value of the electronic device within first period, controller 50 is specifically used for:
The corresponding third height value of third atmospheric pressure value is determined according to atmospheric pressure value and the second height conversion formula of height, it is described
The initial time of first period corresponds to the third atmospheric pressure value;
Corresponding 4th height value of the 4th atmospheric pressure value is determined according to atmospheric pressure value and the second height conversion formula of height, it is described
The end time of first period corresponds to the 4th atmospheric pressure value;
Using the third height value and the difference of the 4th height value as the electronic device in first period
Interior height change value.
In the embodiment of the application, controller 50 is additionally operable to correspond to the electronic device in first period
Height value be stored in designated position, the data preserved in the designated position are non-erasable.
It should be noted that the specific implementation process of the present embodiment can be found in the specific implementation process described in following methods,
It no longer describes herein.
Referring to Fig. 2, Fig. 2 is a kind of flow diagram falling detection method provided by the embodiments of the present application, it is applied to
Electronic device shown in FIG. 1, this method include:
Step 201:Controller obtains multiple gas of the electronic device within the first period by the baroceptor
The duration of pressure value, first period is less than or equal to first threshold.
Wherein, baroceptor refers to the barometer in electronic device.
Wherein, an atmospheric pressure value corresponds to a moment in the first period;Atmospheric pressure value i and atmospheric pressure value j can be identical, also may be used
With difference, atmospheric pressure value i and atmospheric pressure value j are one of in multiple atmospheric pressure values.
Wherein, the corresponding maximum of duration of first threshold characterization residing first period when electronic device may fall
Value, i.e., when the duration of the first period is less than or equal to first threshold, electronic device may fall;When the first period
When length is more than first threshold, electronic device does not fall.
Wherein, first threshold can be user setting, can also be what electronic device was arranged, be not limited thereto.
Step 202:Controller determines the electronics according to the conversion formula of the multiple atmospheric pressure value and atmospheric pressure value and height
Height change value of the device within first period.
Wherein, at least one atmospheric pressure value and the conversion formula of height are stored in electronic device.
Wherein, height change value of the electronic device within the first period refers to electronic device in the starting of the first period
The difference of the height value of the end time of the height value at quarter and the first period.
Step 203:In the case where the height change value is greater than or equal to second threshold, controller determines the electronics
Device falls.
Wherein, second threshold characterizes the minimum value when electronic device falls corresponding to height change, i.e., when height
When changing value is greater than or equal to second threshold, electronic device falls;When height change value is less than second threshold, electronics dress
It sets and does not fall.
Wherein, second threshold can be user setting, can also be what electronic device was arranged, be not limited thereto.
As can be seen that in the embodiment of the present application, electronic device atmospheric pressure value during falling can change, and pass through
Baroceptor obtains multiple atmospheric pressure values in the first period, determines that electronic device exists according to the conversion formula of atmospheric pressure value and height
Height change value in first period;Judge whether the height change value is greater than or equal to second threshold, if so, determining electronics
Device falls.Since baroceptor is very sensitive to the variation of height, based on baroceptor detection electronics dress
It sets and whether falls, the accuracy for falling detection can be improved.
In the embodiment of the application, the electronic device further includes display screen, and controller passes through the air pressure sensing
Before device obtains multiple atmospheric pressure values of the electronic device within the first period, the method further includes:
Controller determines that the electronic device meets and imposes a condition that the setting condition includes following at least one:Detection
To the starting HOME keys for the electronic device pressing operation, detect for the touch control operation of the display screen and described
The present system time of electronic device was in for the second period.
Specifically, when detecting the pressing operation for the HOME keys of electronic device, indicate that user is used at this time
Electronic device.However, in the case where electronic device is in and is not used by a user, electronic device is generally placed on desk,
Pocket is medium elsewhere, and the possibility that electronic device falls in this case is minimum, therefore is directed to confirmly detecting
In the case of the pressing operation of the HOME keys of electronic device, controller obtains electronic device in the first period by baroceptor
Interior multiple atmospheric pressure values.
Specifically, when detecting the touch control operation for display screen, indicate that electronics dress may be used in user at this time
Set chatted, read and the one of which such as music operation.If the touch control operation for display screen is not detected, indicate user this
When be likely to be not used electronic device, in this case electronic device be generally placed on desk, pocket it is medium elsewhere,
The possibility that electronic device falls is minimum, therefore in the case where detecting the touch control operation for display screen, controller
Multiple atmospheric pressure values of the electronic device within the first period are obtained by baroceptor.
Specifically, the second period was the non-sleep period, only can just be carried out using electronic device in non-sleep period user
Office or amusement.In the case where the present system time of electronic device is in sleep period, user is in sleep state, at this time
User will not use electronic device, electronic device to be generally placed on desk and charge.In the current system of electronic device
In the case that time is in the non-sleep period, controller is multiple within the first period by baroceptor acquisition electronic device
Atmospheric pressure value obtains always the atmospheric pressure value of electronic device compared to controller by baroceptor, can reduce electronics dress in this way
The power consumption set.
In the embodiment of the application, in the pressing for detecting power key or volume key for the electronic device
In the case of operation, controller obtains multiple air pressures of the electronic device within the first period by the baroceptor
Value.
In the embodiment of the application, detecting that wearable device and the electronic device be in the feelings of binding state
Under condition, controller obtains multiple atmospheric pressure values of the electronic device within the first period by the baroceptor.
In the embodiment of the application, in the case where detecting that the current operational objective of the electronic device is applied, control
Device processed obtains multiple atmospheric pressure values of the electronic device within the first period by the baroceptor.
Wherein, intended application can be Video Applications, music application and short Video Applications.
As it can be seen that in the embodiment of the present application, when the current operational objective of electronic device is in application, such as smart mobile phone is being broadcast
Placing TV is acute or film, smart mobile phone playing music, smart mobile phone are recording short-sighted frequency, in the example above, electronics
Device is in the state being held by a user, and electronic device there is a possibility that fall at this time, and especially user holds smart mobile phone
When recording short-sighted frequency (such as the short-sighted frequency of trill), the limb activity amplitude of user is excessive, the possibility higher that smart mobile phone falls,
Therefore in the case where detecting that the current operational objective of electronic device is applied, controller passes through described in baroceptor acquisition
Multiple atmospheric pressure values of the electronic device within the first period.
In the embodiment of the application, each atmospheric pressure value corresponds to a moment, and controller is according to the multiple atmospheric pressure value
Height change value of the electronic device within first period is determined with the conversion formula of atmospheric pressure value and height, including:
Controller determines the first atmospheric pressure value corresponding first highly according to atmospheric pressure value with the first height conversion formula of height
Value, the initial time of first period correspond to first atmospheric pressure value;
Controller determines the second atmospheric pressure value corresponding second highly according to atmospheric pressure value with the first height conversion formula of height
Value, the end time of first period correspond to second atmospheric pressure value;
Controller is using the difference of first height value and second height value as the electronic device described the
Height change value in one period.
Wherein, atmospheric pressure value and the first height conversion formula of height are:
Wherein, PaFor atmospheric pressure value, unit hpa, H are height above sea level, unit m.
For example, controller determines that corresponding first atmospheric pressure value of the initial time of the first period is
10.1003447779hpa, controller are high according to the first of the first atmospheric pressure value (10.1003447779hpa) and atmospheric pressure value and height
Degree conversion formula determines that corresponding first height value of the first atmospheric pressure value (10.1003447779hpa) is 20.80m, and controller determines
Corresponding second atmospheric pressure value of end time of first period is 10.1024809895hpa, and controller is according to the second atmospheric pressure value
(10.1024809895hpa) and atmospheric pressure value and the first height conversion formula of height determine the second atmospheric pressure value
(10.1024809895hpa) corresponding second height value is 19.30m, and controller determines the first height value (20.8m) and second
The difference (1.50m) of height value (19.30m) is height change value of the electronic device within the first period.
In the embodiment of the application, each atmospheric pressure value corresponds to a moment, and controller is according to the multiple atmospheric pressure value
Height change value of the electronic device within first period is determined with the conversion formula of atmospheric pressure value and height, including:
Controller determines the corresponding third height of third atmospheric pressure value according to atmospheric pressure value and the second height conversion formula of height
Value, the initial time of first period correspond to the third atmospheric pressure value;
Controller determines the 4th atmospheric pressure value the corresponding 4th highly according to atmospheric pressure value with the second height conversion formula of height
Value, the end time of first period correspond to the 4th atmospheric pressure value;
Controller is using the difference of the third height value and the 4th height value as the electronic device described the
Height change value in one period.
Wherein, atmospheric pressure value and the second height conversion formula of height are:
Pa=P0×(5.3788H2×10-9-1.1975H×10-4+1)
Wherein, PaFor atmospheric pressure value, unit hpa, P0For the atmospheric pressure value on sea level, P0=10.1325hpa, H are height above sea level
Degree, unit m.
For example, controller determines that the corresponding third atmospheric pressure value of the initial time of the first period is
10.1072855483hpa, controller are high according to the second of third atmospheric pressure value (10.1072855483hpa) and atmospheric pressure value and height
Degree conversion formula determines that the corresponding third height value of third atmospheric pressure value (10.1072855483hpa) is 20.80m, and controller determines
Corresponding 4th atmospheric pressure value of end time of first period is 10.1091023198hpa, and controller is according to the 4th atmospheric pressure value
(10.1091023198hpa) and atmospheric pressure value and the second height conversion formula of height determine the 4th atmospheric pressure value
(10.1091023198hpa) corresponding 4th height value is 19.30m, and controller determines third height value (20.8m) and the 4th
The difference (1.50m) of height value (19.30m) is height change value of the electronic device within the first period.
In the embodiment of the application, each atmospheric pressure value corresponds to a moment, and controller is according to the multiple atmospheric pressure value
Height change value of the electronic device within first period is determined with the conversion formula of atmospheric pressure value and height, including:
Controller determines the 5th atmospheric pressure value the corresponding 5th highly according to atmospheric pressure value with the third height conversion formula of height
Value, the initial time of first period correspond to the 5th atmospheric pressure value;
Controller determines the 6th atmospheric pressure value the corresponding 6th highly according to atmospheric pressure value with the third height conversion formula of height
Value, the end time of first period correspond to the 6th atmospheric pressure value;
Controller is using the difference of the 5th height value and the 6th height value as the electronic device described the
Height change value in one period.
Wherein, atmospheric pressure value and the third height conversion formula of height are:
Wherein, PaFor atmospheric pressure value, unit hpa, H are height above sea level, unit m.
For example, controller determines that corresponding 5th atmospheric pressure value of the initial time of the first period is
10.1038151631hpa, controller are high according to the 5th atmospheric pressure value (10.1038151631hpa) and the third of atmospheric pressure value and height
Degree conversion formula determines that corresponding 5th height value of the 5th atmospheric pressure value (10.1038151631hpa) is 20.80m, and controller determines
Corresponding 6th atmospheric pressure value of end time of first period is 10.1057916546hpa, and controller is according to the 6th atmospheric pressure value
(10.1057916546hpa) and atmospheric pressure value and the third height conversion formula of height determine the 6th atmospheric pressure value
(10.1057916546hpa) corresponding 6th height value is 19.30m, and controller determines the 5th height value (20.8m) and the 6th
The difference (1.50m) of height value (19.30m) is height change value of the electronic device within the first period.
In the embodiment of the application, the method further includes:
The electronic device is stored in designated position by controller in first period corresponding height value, described specified
The data preserved in position are non-erasable.
Wherein, the first period included multiple moment, and each moment corresponds to an atmospheric pressure value, and each atmospheric pressure value corresponds to a height
Angle value.
Wherein, designated position can be a subregion in electronic device, can also be one point fallen in server
Area.
As it can be seen that in the embodiment of the present application, it is in the case where determining that electronic device falls, the first period is corresponding
Multiple height values are stored in electronic device or fall in server, so that height value pair of the electronic device manufacturer based on storage
Electronic device repairs, or carries out structure design to electronic device based on the height value of storage.
The embodiment of the present application also provides another more detailed method flows, as shown in figure 3, applied to shown in FIG. 1
Electronic device, this method include:
Step 301:Controller determines that the electronic device meets and imposes a condition that the setting condition includes following at least one
Kind:Detect for the electronic device HOME keys pressing operation, detect for the display screen touch control operation and
The present system time of the electronic device was in for the second period.
Step 302:Controller obtains multiple gas of the electronic device within the first period by the baroceptor
The duration of pressure value, first period is less than or equal to first threshold.
Step 303:Controller determines that the first atmospheric pressure value is corresponding according to atmospheric pressure value with the first height conversion formula of height
The initial time of first height value, first period corresponds to first atmospheric pressure value.
Step 304:Controller determines that the second atmospheric pressure value is corresponding according to atmospheric pressure value with the first height conversion formula of height
The end time of second height value, first period corresponds to second atmospheric pressure value.
Step 305:Controller is using the difference of first height value and second height value as the electronic device
Height change value within first period.
Step 306:Controller determines that third atmospheric pressure value is corresponding according to atmospheric pressure value with the second height conversion formula of height
The initial time of third height value, first period corresponds to the third atmospheric pressure value.
Step 307:Controller determines that the 4th atmospheric pressure value is corresponding according to atmospheric pressure value with the second height conversion formula of height
The end time of 4th height value, first period corresponds to the 4th atmospheric pressure value.
Step 308:Controller is using the third height value and the difference of the 4th height value as the electronic device
Height change value within first period.
Wherein, step 303- steps 305 and step 306- steps 308 are arranged side by side.
Step 309:Controller judges whether the height change value is greater than or equal to second threshold;
If so, thening follow the steps 310.
If it is not, thening follow the steps 302.
Step 310:Controller determines that the electronic device falls.
Step 311:The electronic device is stored in designated position by controller in first period corresponding height value,
The data preserved in the designated position are non-erasable.
It should be noted that the specific implementation process of each step of method shown in Fig. 3 can be found in the specific of the above method
Realization process, no longer describes herein.
It is consistent with above-mentioned Fig. 2 and embodiment shown in Fig. 3, referring to Fig. 4, Fig. 4 is provided by the embodiments of the present application one
The structural schematic diagram of kind electronic device, the electronic device include processor, memory, communication interface and one or more journeys
Sequence, wherein said one or multiple programs are stored in above-mentioned memory, and are configured to be executed by above-mentioned processor, on
It includes the instruction for executing following steps to state program:
Multiple atmospheric pressure values of the electronic device within the first period are obtained, the duration of first period is less than or equal to
First threshold;
Determine the electronic device described first according to the conversion formula of the multiple atmospheric pressure value and atmospheric pressure value and height
Height change value in period;
In the case where the height change value is greater than or equal to second threshold, determine that the electronic device falls.
In the embodiment of the application, above procedure further includes the instruction for executing following steps:
It determines that the electronic device meets to impose a condition, the setting condition includes following at least one:It detects and is directed to
The pressing operations of the HOME keys of the electronic device detects touch control operation and the electronic device for the display screen
Present system time was in for the second period.
In the embodiment of the application, determined according to the conversion formula of the multiple atmospheric pressure value and atmospheric pressure value and height
In terms of height change value of the electronic device within first period, above procedure includes being specifically used for executing following steps
Instruction:
Corresponding first height value of the first atmospheric pressure value is determined according to atmospheric pressure value and the first height conversion formula of height, it is described
The initial time of first period corresponds to first atmospheric pressure value;
Corresponding second height value of the second atmospheric pressure value is determined according to atmospheric pressure value and the first height conversion formula of height, it is described
The end time of first period corresponds to second atmospheric pressure value;
Using the difference of first height value and second height value as the electronic device in first period
Interior height change value.
In the embodiment of the application, determined according to the conversion formula of the multiple atmospheric pressure value and atmospheric pressure value and height
In terms of height change value of the electronic device within first period, above procedure includes being specifically used for executing following steps
Instruction:
The corresponding third height value of third atmospheric pressure value is determined according to atmospheric pressure value and the second height conversion formula of height, it is described
The initial time of first period corresponds to the third atmospheric pressure value;
Corresponding 4th height value of the 4th atmospheric pressure value is determined according to atmospheric pressure value and the second height conversion formula of height, it is described
The end time of first period corresponds to the 4th atmospheric pressure value;
Using the third height value and the difference of the 4th height value as the electronic device in first period
Interior height change value.
In the embodiment of the application, above procedure further includes the instruction for executing following steps:
The electronic device is stored in designated position in first period corresponding height value, in the designated position
The data of preservation are non-erasable.
It should be noted that the specific implementation process of the present embodiment can be found in the specific implementation described in above method embodiment
Process no longer describes herein.
Referring to Fig. 5, Fig. 5, which is one kind provided by the embodiments of the present application, falls detection device, it is applied to electronic device, this falls
It includes processing unit 501, storage unit 502 and communication unit 503 to fall detection device 500, and processing unit 501 includes obtaining list
Member, the first determination unit and the second determination unit, wherein:
The acquiring unit, for obtaining multiple atmospheric pressure values of the electronic device within the first period, when described first
The duration of section is less than or equal to first threshold;
First determination unit, for determining institute according to the conversion formula of the multiple atmospheric pressure value and atmospheric pressure value and height
State height change value of the electronic device within first period;
Second determination unit, in the case where the height change value is greater than or equal to second threshold, determining
The electronic device falls.
In the embodiment of the application, the processing unit 501 further includes:
Third determination unit imposes a condition for determining that the electronic device meets, the setting condition include with down toward
Few one kind:It detects the pressing operation of the HOME keys for the electronic device, detect the touch-control behaviour for the display screen
Make and the present system time of the electronic device was in for the second period.
In the embodiment of the application, determined according to the conversion formula of the multiple atmospheric pressure value and atmospheric pressure value and height
In terms of height change value of the electronic device within first period, above-mentioned first determination unit is specifically used for:
Corresponding first height value of the first atmospheric pressure value is determined according to atmospheric pressure value and the first height conversion formula of height, it is described
The initial time of first period corresponds to first atmospheric pressure value;
Corresponding second height value of the second atmospheric pressure value is determined according to atmospheric pressure value and the first height conversion formula of height, it is described
The end time of first period corresponds to second atmospheric pressure value;
Using the difference of first height value and second height value as the electronic device in first period
Interior height change value.
In the embodiment of the application, determined according to the conversion formula of the multiple atmospheric pressure value and atmospheric pressure value and height
In terms of height change value of the electronic device within first period, above-mentioned first determination unit is specifically used for:
The corresponding third height value of third atmospheric pressure value is determined according to atmospheric pressure value and the second height conversion formula of height, it is described
The initial time of first period corresponds to the third atmospheric pressure value;
Corresponding 4th height value of the 4th atmospheric pressure value is determined according to atmospheric pressure value and the second height conversion formula of height, it is described
The end time of first period corresponds to the 4th atmospheric pressure value;
Using the third height value and the difference of the 4th height value as the electronic device in first period
Interior height change value.
In the embodiment of the application, the processing unit 501 further includes:
Storage unit, for the electronic device to be stored in designated position in first period corresponding height value,
The data preserved in the designated position are non-erasable.
Wherein, processing unit 501 can be processor or controller, (such as can be central processing unit (Central
Processing Unit, CPU), general processor, digital signal processor (Digital Signal Processor, DSP),
Special integrated manipulator (Application-Specific Integrated Circuit, ASIC), field programmable gate array
It is (Field Programmable Gate Array, FPGA) or other programmable logic device, transistor logic, hard
Part component or its arbitrary combination.Storage unit 502 can be memory, and communication unit 503 can be transceiver, transmitting-receiving control
Device, radio frequency chip, communication interface etc..
When processing unit 501 is processor, storage unit 502 is memory, when communication unit 503 is communication interface, this
Apply for that the detection device of falling involved by embodiment can be electronic device shown in Fig. 4.
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 electronic device.
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 electronic device.
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 sells or use as independent product
When, it can be stored in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or
Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products
Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment
(can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application
Step.And memory above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of 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, read-only memory (English:Read-Only Memory, referred to as:ROM), random access device (English:
Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and
Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas;
Meanwhile for those of ordinary skill in the art, according to the thought of the application, can in specific implementation and application range
There is change place, to sum up above-mentioned, the contents of this specification should not be construed as limiting the present application.
Claims (13)
1. a kind of electronic device, which is characterized in that including baroceptor and controller, wherein:
The baroceptor, for obtaining multiple atmospheric pressure values of the electronic device within the first period, first period
Duration be less than or equal to first threshold;
The controller, for determining the electronic device according to the conversion formula of the multiple atmospheric pressure value and atmospheric pressure value and height
Height change value within first period;
The controller is additionally operable to, in the case where the height change value is greater than or equal to second threshold, determine the electronics
Device falls.
2. electronic device according to claim 1, which is characterized in that
The controller is additionally operable to determine that the electronic device meets setting condition, and the setting condition includes following at least one
Kind:It detects the pressing operation of the starting HOME keys for the electronic device, detect the touch-control behaviour for the display screen
Make and the present system time of the electronic device was in for the second period.
3. electronic device according to claim 1 or 2, which is characterized in that according to the multiple atmospheric pressure value and atmospheric pressure value
In terms of height change value of the electronic device within first period being determined with the conversion formula of height, the control utensil
Body is used for:
Corresponding first height value of the first atmospheric pressure value is determined according to atmospheric pressure value and the first height conversion formula of height, described first
The initial time of period corresponds to first atmospheric pressure value;
Corresponding second height value of the second atmospheric pressure value is determined according to atmospheric pressure value and the first height conversion formula of height, described first
The end time of period corresponds to second atmospheric pressure value;
Using the difference of first height value and second height value as the electronic device within first period
Height change value.
4. electronic device according to claim 1 or 2, which is characterized in that according to the multiple atmospheric pressure value and atmospheric pressure value
In terms of height change value of the electronic device within first period being determined with the conversion formula of height, the control utensil
Body is used for:
The corresponding third height value of third atmospheric pressure value is determined according to atmospheric pressure value and the second height conversion formula of height, described first
The initial time of period corresponds to the third atmospheric pressure value;
Corresponding 4th height value of the 4th atmospheric pressure value is determined according to atmospheric pressure value and the second height conversion formula of height, described first
The end time of period corresponds to the 4th atmospheric pressure value;
Using the third height value and the difference of the 4th height value as the electronic device within first period
Height change value.
5. according to claim 1-4 any one of them electronic devices, which is characterized in that
The controller is additionally operable to the electronic device being stored in designated position in first period corresponding height value,
The data preserved in the designated position are non-erasable.
6. one kind falling detection method, which is characterized in that applied to the electronic device for including baroceptor, the method packet
It includes:
Multiple atmospheric pressure values of the electronic device within the first period are obtained by the baroceptor, first period
Duration is less than or equal to first threshold;
Determine the electronic device in first period according to the conversion formula of the multiple atmospheric pressure value and atmospheric pressure value and height
Interior height change value;
In the case where the height change value is greater than or equal to second threshold, determine that the electronic device falls.
7. described to pass through institute according to the method described in claim 6, it is characterized in that, the electronic device further includes display screen
It states before baroceptor obtains multiple atmospheric pressure values of the electronic device within the first period, the method further includes:
It determines that the electronic device meets to impose a condition, the setting condition includes following at least one:It detects for described
The pressing operations of the starting HOME keys of electronic device detects touch control operation and the electronic device for the display screen
Present system time was in for the second period.
8. the method described according to claim 6 or 7, which is characterized in that each atmospheric pressure value corresponds to a moment, described according to institute
The conversion formula for stating multiple atmospheric pressure values and atmospheric pressure value and height determines that height of the electronic device within first period becomes
Change value, including:
Corresponding first height value of the first atmospheric pressure value is determined according to atmospheric pressure value and the first height conversion formula of height, described first
The initial time of period corresponds to first atmospheric pressure value;
Corresponding second height value of the second atmospheric pressure value is determined according to atmospheric pressure value and the first height conversion formula of height, described first
The end time of period corresponds to second atmospheric pressure value;
Using the difference of first height value and second height value as the electronic device within first period
Height change value.
9. the method described according to claim 6 or 7, which is characterized in that each atmospheric pressure value corresponds to a moment, described according to institute
The conversion formula for stating multiple atmospheric pressure values and atmospheric pressure value and height determines that height of the electronic device within first period becomes
Change value, including:
The corresponding third height value of third atmospheric pressure value is determined according to atmospheric pressure value and the second height conversion formula of height, described first
The initial time of period corresponds to the third atmospheric pressure value;
Corresponding 4th height value of the 4th atmospheric pressure value is determined according to atmospheric pressure value and the second height conversion formula of height, described first
The end time of period corresponds to the 4th atmospheric pressure value;
Using the third height value and the difference of the 4th height value as the electronic device within first period
Height change value.
10. according to claim 6-9 any one of them methods, which is characterized in that the method further includes:
The electronic device is stored in designated position in first period corresponding height value, is preserved in the designated position
Data it is non-erasable.
11. one kind falling detection device, which is characterized in that be applied to electronic device, the detection device of falling includes obtaining list
Member, the first determination unit and the second determination unit, wherein:
The acquiring unit, for obtaining multiple atmospheric pressure values of the electronic device within the first period, first period
Duration is less than or equal to first threshold;
First determination unit, for determining institute according to the conversion formula of the multiple atmospheric pressure value and atmospheric pressure value and height above sea level
State height change value of the electronic device within first period;
Second determination unit, described in the case where the height change value is greater than or equal to second threshold, determining
Electronic device falls.
12. 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
It includes for executing the instruction such as the step in claim 6-10 any one of them methods.
13. 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 such as claim 6-10 any one of them methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810287212.0A CN108418973A (en) | 2018-03-30 | 2018-03-30 | Fall detection method and relevant apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810287212.0A CN108418973A (en) | 2018-03-30 | 2018-03-30 | Fall detection method and relevant apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108418973A true CN108418973A (en) | 2018-08-17 |
Family
ID=63134356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810287212.0A Pending CN108418973A (en) | 2018-03-30 | 2018-03-30 | Fall detection method and relevant apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108418973A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109246293A (en) * | 2018-08-21 | 2019-01-18 | 维沃移动通信有限公司 | One kind falling detection method and terminal device |
CN110365853A (en) * | 2019-08-20 | 2019-10-22 | 维沃移动通信有限公司 | A kind of reminding method and electronic equipment |
CN110389285A (en) * | 2019-08-27 | 2019-10-29 | 厦门四联信息技术有限公司 | A method of passing through height above sea level variation monitoring overhead transmission line failure |
CN110702161A (en) * | 2019-10-31 | 2020-01-17 | 国网上海市电力公司 | Device and method for monitoring and positioning dropping of pins of insulators of transmission towers |
CN111147658A (en) * | 2019-05-24 | 2020-05-12 | 广东小天才科技有限公司 | Falling reminding method of intelligent equipment and intelligent equipment |
CN111452750A (en) * | 2020-03-12 | 2020-07-28 | 淮阴工学院 | Automobile anti-falling system and method thereof |
CN113349760A (en) * | 2020-03-06 | 2021-09-07 | 瀚谊世界科技股份有限公司 | Fall detection method, single barometer device and system |
TWI739336B (en) * | 2020-03-09 | 2021-09-11 | 瀚誼世界科技股份有限公司 | Barometer device, method for fall detection, and dual-barometer system thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104169680A (en) * | 2012-03-13 | 2014-11-26 | 皇家飞利浦有限公司 | Monitoring the change in height of a device using an air pressure sensor |
CN104348963A (en) * | 2013-08-06 | 2015-02-11 | 航天信息股份有限公司 | Method for preventing falling damage of electronic equipment and electronic equipment |
CN106412247A (en) * | 2016-09-06 | 2017-02-15 | 广东欧珀移动通信有限公司 | Drop protection method and apparatus |
JP2017045266A (en) * | 2015-08-26 | 2017-03-02 | 京セラ株式会社 | Mobile electronic device, control method, and control program |
CN206506573U (en) * | 2016-12-29 | 2017-09-19 | 广东小天才科技有限公司 | Mobile phone protective cover |
-
2018
- 2018-03-30 CN CN201810287212.0A patent/CN108418973A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104169680A (en) * | 2012-03-13 | 2014-11-26 | 皇家飞利浦有限公司 | Monitoring the change in height of a device using an air pressure sensor |
CN104348963A (en) * | 2013-08-06 | 2015-02-11 | 航天信息股份有限公司 | Method for preventing falling damage of electronic equipment and electronic equipment |
JP2017045266A (en) * | 2015-08-26 | 2017-03-02 | 京セラ株式会社 | Mobile electronic device, control method, and control program |
CN106412247A (en) * | 2016-09-06 | 2017-02-15 | 广东欧珀移动通信有限公司 | Drop protection method and apparatus |
CN206506573U (en) * | 2016-12-29 | 2017-09-19 | 广东小天才科技有限公司 | Mobile phone protective cover |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109246293A (en) * | 2018-08-21 | 2019-01-18 | 维沃移动通信有限公司 | One kind falling detection method and terminal device |
CN111147658A (en) * | 2019-05-24 | 2020-05-12 | 广东小天才科技有限公司 | Falling reminding method of intelligent equipment and intelligent equipment |
CN110365853A (en) * | 2019-08-20 | 2019-10-22 | 维沃移动通信有限公司 | A kind of reminding method and electronic equipment |
CN110365853B (en) * | 2019-08-20 | 2021-06-18 | 维沃移动通信有限公司 | Prompting method and electronic equipment |
CN110389285A (en) * | 2019-08-27 | 2019-10-29 | 厦门四联信息技术有限公司 | A method of passing through height above sea level variation monitoring overhead transmission line failure |
CN110702161A (en) * | 2019-10-31 | 2020-01-17 | 国网上海市电力公司 | Device and method for monitoring and positioning dropping of pins of insulators of transmission towers |
CN113349760A (en) * | 2020-03-06 | 2021-09-07 | 瀚谊世界科技股份有限公司 | Fall detection method, single barometer device and system |
TWI739336B (en) * | 2020-03-09 | 2021-09-11 | 瀚誼世界科技股份有限公司 | Barometer device, method for fall detection, and dual-barometer system thereof |
CN111452750A (en) * | 2020-03-12 | 2020-07-28 | 淮阴工学院 | Automobile anti-falling system and method thereof |
CN111452750B (en) * | 2020-03-12 | 2022-02-11 | 淮阴工学院 | Automobile anti-falling system and method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108418973A (en) | Fall detection method and relevant apparatus | |
CN106022062B (en) | Unlocking method and mobile terminal | |
CN109543570B (en) | Fingerprint identification method and related product | |
CN108763316B (en) | Audio list management method and mobile terminal | |
CN108491707A (en) | A kind of solution lock control method and terminal device and medium product | |
CN108769350A (en) | Fall detection method and relevant apparatus | |
CN106055455B (en) | The anti-interference method and device of a kind of button | |
CN108595003A (en) | Function control method and relevant device | |
CN108388340B (en) | Electronic equipment control method and related product | |
CN108415865A (en) | Interface circuit and electronic device | |
CN108307383A (en) | Data reporting method and related product | |
CN108121641A (en) | State information display method and relevant device | |
CN107967092A (en) | Application related information display methods and relevant device | |
CN109756818A (en) | Dual microphone noise-reduction method, device, storage medium and electronic equipment | |
CN108307065A (en) | Fall reminding method and relevant device | |
CN106453909B (en) | A kind of power regulating method and mobile terminal | |
CN108307063B (en) | Fall prompting method and related device and medium | |
CN108646975A (en) | Information processing method and device | |
CN109065017A (en) | Voice data generation method and relevant apparatus | |
CN108415856A (en) | Hardware compatibility method and relevant apparatus | |
CN108920390A (en) | insertion detection circuit, insertion detection method and electronic device | |
CN108965583A (en) | Proximity test method and relevant device | |
CN108540659A (en) | Reduce method, terminal and the computer readable storage medium of TDD influence of noises | |
CN108304123A (en) | Page display control method and related product | |
CN110190641B (en) | Charging control circuit, terminal equipment and data line |
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: 20180817 |
|
RJ01 | Rejection of invention patent application after publication |