[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN108307065A - Fall reminding method and relevant device - Google Patents

Fall reminding method and relevant device Download PDF

Info

Publication number
CN108307065A
CN108307065A CN201810073543.4A CN201810073543A CN108307065A CN 108307065 A CN108307065 A CN 108307065A CN 201810073543 A CN201810073543 A CN 201810073543A CN 108307065 A CN108307065 A CN 108307065A
Authority
CN
China
Prior art keywords
electronic device
falling
falling position
event
fall
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
Application number
CN201810073543.4A
Other languages
Chinese (zh)
Other versions
CN108307065B (en
Inventor
张海平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810073543.4A priority Critical patent/CN108307065B/en
Publication of CN108307065A publication Critical patent/CN108307065A/en
Application granted granted Critical
Publication of CN108307065B publication Critical patent/CN108307065B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details 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)
  • User Interface Of Digital Computer (AREA)

Abstract

This application discloses one kind falling reminding method and relevant device, applied to including falling sensor, suggestion device and the electronic device of controller;Fall sensor, for passing through whether monitoring electronic device falls event;Controller, in the case where electronic device falls event, determining the drop number under target falling position recorded in the target falling position under event of falling, and update electronic device;Obtain at least one drop number under at least one falling position recorded in electronic device;Suggestion device, in the case where at least one drop number meets and imposes a condition, carrying out prompt operation, prompting operation for prompting user to prevent electronic device from falling again.The performance that can avoid electronic device using the embodiment of the present application is affected.

Description

Fall reminding method and relevant device
Technical field
This application involves electronic technology fields more particularly to one kind falling reminding method and relevant device.
Background technology
It is universal with the rapid development of intelligent terminal (such as smart mobile phone) technology, and increasingly, become user Indispensable electronic product in daily life.In actual use, it will usually occur intelligent terminal fall from user hand, from Situations such as desktop falls, intelligent terminal can be collided after falling with collision object, and then influence the performance of intelligent terminal.
Invention content
The embodiment of the present application provides one kind and falling reminding method and relevant device, for avoid the performance of electronic device by It influences.
In a first aspect, the embodiment of the present application provides a kind of electronic device, including fall sensor, suggestion device and control Device, wherein:
It is described to fall sensor, for passing through whether the monitoring electronic device falls event;
The controller, in the case where the electronic device falls event, determining and falling event described Under target falling position, and the drop number under the target falling position that is recorded in the update electronic device; Obtain at least one drop number under at least one falling position recorded in the electronic device, it is described at least one to fall Dropping place is set including the target falling position, and the falling position is to be contacted with collision object surface when the electronic device falls Position;
The suggestion device, in the case where at least one drop number meets and imposes a condition, being prompted Operation, the prompt operation is for prompting user to prevent the electronic device from falling again.
Second aspect, the embodiment of the present application provide one kind and falling reminding method, applied to including falling sensor, prompt dress The electronic device with controller is set, the method includes:
Fall whether electronic device described in Sensor monitoring falls event by described;
In the case where the electronic device falls event, is determined by the controller and fallen under event described Target falling position, and the drop number under the target falling position that is recorded in the update electronic device;
Obtained by the controller recorded in the electronic device it is at least one under at least one falling position Drop number, at least one falling position include the target falling position, and the falling position is the electronic device The position contacted with collision object surface when falling;
In the case where at least one drop number meets and imposes a condition, prompt behaviour is carried out by the suggestion device Make, the prompt operation is for prompting user to prevent the electronic device from falling again.
The third aspect, the embodiment of the present application provide a kind of device for promoting dropping, are applied to electronic device, described to fall prompt Device includes monitoring unit, determination unit, updating unit, acquiring unit and prompt unit, wherein:
The monitoring unit, for monitoring whether the electronic device falls event;
The determination unit, in the case where the electronic device falls event, determining and falling thing described The falling time under the target falling position recorded in target falling position under part, and the update electronic device Number;
The acquiring unit, for obtaining at least one under at least one falling position recorded in the electronic device A drop number, at least one falling position include the target falling position, and the falling position fills for the electronics Set the position contacted with collision object surface when falling;
The prompt unit, in the case where at least one drop number meets and imposes a condition, being prompted Operation, the prompt operation is for prompting user to prevent the electronic device from falling again.
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, in the case where electronic device occurs falling event, first determination is this time fallen The falling position of event is fallen, the drop number under the falling position recorded in electronic device is then updated;Then electricity is determined Whether at least one drop number under at least one falling position recorded in sub-device meets setting condition;If so, table Show electronic device fall situation will reach influence electronic performance degree carry out prompt operation in that case, To prompt user to prevent electronic device from falling again, and then the performance of electronic device is avoided to be affected.
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. 2A is a kind of flow diagram falling reminding method provided by the embodiments of the present application;
Fig. 2 B are the schematic diagrames of the natural system of coordinates and reference frame of a kind of electronic device provided by the embodiments of the present application;
Fig. 2 C are that a kind of electronic device provided by the embodiments of the present application falls schematic diagram;
Fig. 2 D are a kind of interface schematic diagrams 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 reminding 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 of device for promoting dropping 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 devices with wireless communication function, mobile unit, wearable device, meter It calculates equipment or is connected to other processing equipments of radio modem and various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) etc..For convenience Description, apparatus mentioned above are referred to as electronic device.
It describes in detail below to the embodiment of the present application.
The structural schematic diagram of electronic device 100 a kind of, electronic device are provided referring to Fig. 1, Fig. 1 is the embodiment of the present application 100 include:Shell 10, battery 30, cover board 40, falls sensor 50, suggestion device 60 and controls and fall biography circuit board 20 The controller 70 of sensor 50 and suggestion device 60;Cover board 40 is arranged on the housing 10, falls sensor 50 and controller 70 is arranged On circuit board 20, suggestion device 60 is connect with controller 70, wherein it includes acceleration transducer, gyro to fall sensor 50 Instrument, timer, audio collecting device etc., audio collecting device can be microphones etc., and suggestion device 60 includes display screen, raises Sound device etc.;
Fall sensor 50, for passing through whether the monitoring electronic device falls event;
Controller 70, in the case where the electronic device falls event, determination to be fallen described under event Target falling position, and the drop number under the target falling position that is recorded in the update electronic device;It obtains Take at least one drop number under at least one falling position recorded in the electronic device, it is described at least one to fall Position includes the target falling position, and the falling position is the position contacted with collision object surface when the electronic device falls It sets;
Suggestion device 60, in the case where at least one drop number meets and imposes a condition, carrying out prompt behaviour Make, the prompt operation is for prompting user to prevent the electronic device from falling again.
Wherein, electronic device 100 further includes at least one functional unit 80, controller 70 and at least one functional unit 80 Connection, at least one functional unit 80 include following at least one:Loud speaker, front camera, face identification device, close biography Sensor, ambient light sensor.
Wherein, display screen includes touch screen and display screen, and display screen includes organic light-emitting diode (OLED) display screen OLED.
Wherein, controller 70 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, in the case where electronic device occurs falling event, first determination is this time fallen The falling position of event is fallen, the drop number under the falling position recorded in electronic device is then updated;Then electricity is determined Whether at least one drop number under at least one falling position recorded in sub-device meets setting condition;If so, table Show electronic device fall situation will reach influence electronic performance degree carry out prompt operation in that case, To prompt user to prevent electronic device from falling again, and then the performance of electronic device is avoided to be affected.
In the embodiment of the application, the setting condition includes following at least one:Falling at falling position i Number j is greater than or equal to the corresponding first thresholds of the falling position i;The summation of at least one drop number is more than or waits In second threshold;P is greater than or equal to third threshold value, the P=A1×a1+A2×a2+A3×a3+…+AN×aNWherein, the Ai For in the corresponding drop numbers of the falling position i, aiFor the corresponding weights of the falling position i;The falling position i is institute One of state at least one falling position.
In the embodiment of the application, in terms of monitoring the electronic device and whether falling event, fall sensing Device 50 is specifically used for:
When fall sensor 50 monitor the electronic device acceleration change be acceleration of gravity when, by current time It was recorded as the first moment;
It, will when falling sensor 50 and monitoring that the acceleration of the electronic device becomes cancellation from the gravity angular speed Current time was recorded as the second moment;
In the case where the difference at second moment and first moment is greater than or equal to four threshold values, described in determination Electronic device falls event.
In the embodiment of the application, fall sensor 50, sensor 50 ought be fallen by, which being additionally operable to, monitors the electronics When the acceleration change of device is acceleration of gravity, the angular speed of the electronic device is obtained;
It is determining in terms of the target falling position fallen under event, controller 70 is specifically used for:
According to angular speed and the mapping relations for falling posture, determines and fall falling for the electronic device under event described Posture;And according to the mapping relations for falling posture and falling position, determine described in fall the corresponding target falling position of posture.
In the embodiment of the application, prompt operation is being carried out, the prompt operation is described for prompting user to prevent Electronic device falls aspect again,
Display screen, for detect display screen 70 are lighted by unlocking screen event in the case of, pop up a prompting frame, Display reminding text, at least one falling position and at least one drop number, described to carry in the prompting frame Show text for prompting user to prevent the electronic device from falling again.
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.
Fig. 2A is please referred to, Fig. 2A is a kind of flow diagram falling reminding method provided by the embodiments of the present application, application In electronic device as shown in Figure 1, this method includes:
Step 201:Fall whether electronic device described in Sensor monitoring falls event.
In the embodiment of the application, fall whether electronic device described in Sensor monitoring falls the specific of event Realization method has:
When fall sensor detect electronic device acceleration change be acceleration of gravity when, falling sensor will be current Moment was recorded as the first moment;Detect that the acceleration of electronic device becomes cancellation from the gravity angular speed when falling sensor When, falling sensor will be recorded as the second moment current time;It is greater than or equal to the in the difference at the second moment and the first moment In the case of four threshold values, falls sensor and determine that electronic device occurs falling event.
Wherein, the 4th threshold value is that occur falling the acceleration of event electronic device for characterizing electronic device gravity is maintained to add Speed is required most to be grown in short-term.4th threshold value can be that electronic device is customized, can also be user-defined.
Specifically, the acceleration of electronic device be 0 or close to 0 when, indicate electronic device have thing (such as human hand, Desktop etc.) support.When the acceleration change of electronic device is acceleration of gravity, indicate that electronic device does not have thing support.If Electronic device maintains the time of acceleration of gravity very short, and such case almost can be ignored electronic device influence, not remember To fall event;If electronic device maintain acceleration of gravity time it is longer, such case may on electronic device influence compared with Greatly, it is denoted as the event of falling.
Further, the method further includes:
At the second moment, audio collecting device acquires audio-frequency information;
In the case where the difference at the second moment and the first moment is greater than or equal to four threshold values, falls sensor and determine electricity The specific implementation that event occurs falling in sub-device has:
It is greater than or equal to the 4th threshold value in the difference at the second moment and the first moment, and the volume of the audio-frequency information is more than In the case of 5th threshold value, falls sensor and determine that electronic device occurs falling event.
Wherein, the 5th threshold value is for characterizing whether electronic device occurs falling the minimal volume of event.5th threshold value can Can also be user-defined to be that electronic device is customized.
Specifically, if electronic device maintains the time of acceleration of gravity longer, electronics may be filled in some cases The influence set can also be to ignore, for example user throws away electronic device to relatively soft object (such as quilt etc.), because This also needs to further determine that electronic device in that case and collides sound size when object collides, if excessive expression pair Electronic device is collided with harder collision object, is affected to electronic device, is denoted as the event of falling;Otherwise, it is not denoted as and falls Event.
Step 202:In the case where the electronic device falls event, controller determination is fallen described under event Target falling position, and the drop number under the target falling position that is recorded in the update electronic device, institute It is the position contacted with collision object surface when the electronic device falls to state falling position.
Wherein, when falling position refers to that electronic device drops into collision object from a certain height, electronic device and collision object The position of surface contact.Wherein, falling position includes screen, electronic device rear cover, electronic device downside and screen, electronics dress Upper side and screen, electronic device downside and electronic device rear cover, electronic device upper side and electronic device rear cover are set, etc. Deng.
Specifically, the drop number under target falling position recorded in electronic device is updated, that is, indicates to fill electronics The drop number under target falling position for setting record adds 1.For example, electronics fills before electronic device occurs falling event The drop number under target falling position for setting record is 10 times, then falling time under target falling position after update Number is 11 times.
In the embodiment of the application, the method further includes:
When fall sensor detect the electronic device acceleration change be acceleration of gravity when, fall sensor and obtain Take the angular speed of the electronic device;
Controller determine in the target falling position fallen under event, including:
Controller falls the initial angle of sensor according to and the angular speed determines falling for the electronic device Angle;
Controller is according to the mapping relations fallen angle Yu fall posture, and determination is in the electronics dress under falling event That sets falls posture;And according to the mapping relations for falling posture and falling position, determine described in fall the corresponding target of posture Falling position.
Wherein, fall posture include screen downward, screen upward, screen downward and electronic device on the downside of down, screen Downward and electronic device on the downside of up, screen upward and electronic device on the downside of down, screen upward and electronic device on the downside of Up etc..
Specifically, fall angle and fall the mapping relations of posture, and fall the mapping relations of posture and falling position Mapping relations it is as shown in table 1.Wherein, the natural system of coordinates of electronic device and reference frame are as shown in Figure 2 B, fall angle The angle α of the X-axis of X-axis and reference frame including natural system of coordinatesX, the Y-axis of natural system of coordinates and the Y-axis of reference frame Angle αYWith the angle α of the Z axis of the Z axis and reference frame of natural system of coordinatesZ.It should be noted that being moved in electronic device When, the natural system of coordinates of electronic device will not change.
Table 1
For example, when the acceleration change of electronic device is acceleration of gravity, if the angle of falling determined is αX =0 °, αY=100 ° and αZ=105 °, according to table 1 fall posture be screen downward and electronic device on the downside of down, fall Position be electronic device downside and screen, as shown in Figure 2 C.
Step 203:Controller obtain recorded in the electronic device it is at least one under at least one falling position Drop number, at least one falling position include the target falling position.
Wherein, at least one falling position is corresponded at least one drop number, described at least one Falling position is different.
Step 204:In the case where at least one drop number meets and imposes a condition, suggestion device carries out prompt behaviour Make, the prompt operation is for prompting user to prevent the electronic device from falling again.
Wherein, it is described setting condition be for judge electronic device fall situation whether will reach influence performance journey Degree.
In the embodiment of the application, the setting condition includes following at least one:Falling at falling position i Number j is greater than or equal to the corresponding first thresholds of the falling position i;The summation of at least one drop number is more than or waits In second threshold;P is greater than or equal to third threshold value, the P=A1×a1+A2×a2+A3×a3+…+AN×aNWherein, the Ai For in the corresponding drop numbers of the falling position i, aiFor the corresponding weights of the falling position i;The falling position i is institute One of state at least one falling position.
Wherein, for indicating before suggestion device is prompted, electronic device allows first threshold at falling position i The maximum times fallen.Specifically, the degree of impairment that falls due to electronic device when each falling position is fallen is different, Therefore corresponding first threshold can be different under different falling positions, for example falling position is corresponding first threshold of screen Value is 3, and falling position is that the corresponding first threshold of electronic device rear cover is 10.Certainly corresponding first under different falling positions Threshold value can also be identical, not limit uniquely herein.
Wherein, for second threshold for indicating before suggestion device is prompted, electronic device falls position at least one Set down the maximum times for allowing to fall in total.Second threshold can be that electronic device is customized, can also be User Defined , etc..
Wherein, the degree of impairment that falls due to electronic device when each falling position is fallen is different, different Falling position under corresponding weight can be different, for example falling position is that the corresponding weight of screen is more than falling position The corresponding weight of electronic device rear cover.Certainly corresponding weight can also be identical under different falling positions, not make herein It is unique to limit.
Wherein, the specific implementation for carrying out prompt operation can have:It carries out falling prompt operation by voice mode, or Person carries out falling prompt operation by display mode;Alternatively, carry out falling prompt operation by voice mode and display mode, Etc..
In the embodiment of the application, suggestion device includes display screen, and suggestion device carries out prompt operation, the prompt Operating the specific implementation for prompting user to prevent the electronic device from falling again has:
Detect display screen is lighted by unlocking screen event in the case of, display screen pop up a prompting frame, it is described to carry Show display reminding text in frame, at least one falling position and at least one drop number, the prompt text For prompting user to prevent the electronic device from falling again.
Specifically, for electronic device when occurring falling event, electronic device uses user not necessarily by electronic device. In this application, it after occurring falling event, if electronic device is detected lights display screen by unlocking screen event, indicates Using user by electronic device, prompt operation is carried out at this time, it is ensured that the prompt user that electronic device carries out can receive, into And improve prompt efficiency.
As an example it is assumed that at least one falling position has falling position 1, falling position 2 and falling position 3, electronics dress The drop number under falling position 1 for setting middle record is 3 times, and the drop number under falling position 2 is 5 times, is falling position It is 6 times to set the drop number under 3.Assuming that as shown in Figure 2 C, the electronics as figure shows that falls posture when electronic device falls Device fall posture be screen downward and electronic device on the downside of down, if it is falling position 3 that it is corresponding, which to fall posture, for this, So the drop number under falling position 3 is updated to 7 times by electronic device.Assuming that it is described at least one fall to impose a condition The summation of number is greater than or equal to second threshold, if second threshold=13, then summation=3+5+7=of N number of drop number 15, meet and imposes a condition.If after falling occurs in electronic device, user is unlocked screen using unlocking pin, specifically Such as Fig. 2 D, after unlocking successfully, electronic device lights display screen, while popping up a prompting frame on a display screen.
As can be seen that in the embodiment of the present application, in the case where electronic device occurs falling event, first determination is this time fallen The falling position of event is fallen, the drop number under the falling position recorded in electronic device is then updated;Then electricity is determined Whether at least one drop number under at least one falling position recorded in sub-device meets setting condition;If so, table Show electronic device fall situation will reach influence electronic performance degree carry out prompt operation in that case, To prompt user to prevent electronic device from falling again, and then the performance of electronic device is avoided to be affected.
It should be noted that example described herein is used only for explaining, restriction should not be constituted.
The embodiment of the present application also provides another more detailed method flows, as shown in figure 3, applied to as shown in Figure 1 Electronic device, this method includes:
Step 301:When the acceleration change for falling Sensor monitoring to the electronic device is acceleration of gravity, The sensor that falls will be recorded as the first moment current time;The angle speed fallen sensor and obtain the electronic device Degree.
Step 302:When the acceleration for falling Sensor monitoring to the electronic device becomes from the gravity angular speed When cancellation, the sensor that falls will be recorded as the second moment current time.
Step 303:In the case where the difference at second moment and first moment is greater than or equal to four threshold values, The sensor that falls determines that the electronic device falls event.
Step 304:Controller according to angular speed and the mapping relations for falling posture, determine it is described fall it is described under event Electronic device falls posture.
Step 305:Controller according to the mapping relations for falling posture and falling position, determine described in fall posture corresponding Target falling position.
Step 306:Controller updates the drop number under the target falling position recorded in the electronic device.
Step 307:Controller obtain recorded in the electronic device it is at least one under at least one falling position Drop number, at least one falling position include the target falling position, and the falling position is the electronic device The position contacted with collision object surface when falling;
Step 308:Meet at least one drop number and impose a condition, detects and lighted by unlocking screen event In the case of the display screen, the display screen pops up a prompting frame, display reminding text, described at least one in the prompting frame A falling position and at least one drop number, the prompt text is for prompting user to prevent the electronic device again It is secondary to fall.
Wherein, described impose a condition includes following at least one:Drop number j at falling position i is greater than or equal to The corresponding first threshold of the falling position i;The summation of at least one drop number is greater than or equal to second threshold;P is big In or be equal to third threshold value, the P=A1×a1+A2×a2+A3×a3+…+AN×aNWherein, the AiTo fall position described Set the corresponding drop numbers of i, aiFor the corresponding weights of the falling position i;The falling position i is described at least one falls One of in position.
It should be noted that the specific implementation process of each step of method shown in Fig. 3 can be found in described in the method Specific implementation process, no longer describe herein.
It is consistent with above-mentioned Fig. 2A 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 of electronic device, as shown, the electronic device includes processor, memory, communication interface and one Or multiple programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned processor It executes, above procedure includes the instruction for executing following steps:
Monitor whether the electronic device falls event;
In the case where the electronic device falls event, determines and fall the target under event described and fall position It sets, and the drop number under the target falling position recorded in the update electronic device;
Obtain at least one drop number under at least one falling position recorded in the electronic device, it is described extremely A few falling position includes the target falling position, and the falling position is when the electronic device falls and collision object table The position of face contact;
In the case where at least one drop number meets and imposes a condition, prompt operation, the prompt operation are carried out For prompting user to prevent the electronic device from falling again.
In the embodiment of the application, the setting condition includes following at least one:Falling at falling position i Number j is greater than or equal to the corresponding first thresholds of the falling position i;The summation of at least one drop number is more than or waits In second threshold;P is greater than or equal to third threshold value, the P=A1×a1+A2×a2+A3×a3+…+AN×aNWherein, the Ai For in the corresponding drop numbers of the falling position i, aiFor the corresponding weights of the falling position i;The falling position i is institute One of state at least one falling position.
In the embodiment of the application, in terms of monitoring the electronic device and whether falling event, above procedure It include the instruction specifically for executing following steps:
When it is acceleration of gravity to monitor the acceleration change of the electronic device, when will be recorded as first at current time It carves;
When monitoring that the acceleration of the electronic device becomes cancellation from the gravity angular speed, will record at current time For the second moment;
In the case where the difference at second moment and first moment is greater than or equal to four threshold values, described in determination Electronic device falls event.
In the embodiment of the application, above procedure includes the instruction for being additionally operable to execute following steps:
When it is acceleration of gravity to monitor the acceleration change of the electronic device, the angle speed of the electronic device is obtained Degree;
It is determining in terms of the target falling position fallen under event, above procedure includes being specifically used for execution or less The instruction of step:
According to angular speed and the mapping relations for falling posture, determines and fall falling for the electronic device under event described Posture;And according to the mapping relations for falling posture and falling position, determine described in fall the corresponding target falling position of posture.
In the embodiment of the application, prompt operation is being carried out, the prompt operation is described for prompting user to prevent Electronic device falls aspect again, and above procedure includes the instruction for being specifically used for executing following steps:
Detect display screen is lighted by unlocking screen event in the case of, on the display screen pop up one prompt Frame, display reminding text, at least one falling position and at least one drop number in the prompting frame are described Prompt text is for prompting user to prevent the electronic device from falling again.
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 is a kind of device for promoting dropping provided by the embodiments of the present application, it is applied to electronic device, falls Suggestion device 500 include processing unit 501, communication unit 502 and storage unit 503, processing unit 501 include monitoring unit, Determination unit, updating unit, acquiring unit and prompt unit, wherein:
The monitoring unit, for monitoring whether the electronic device falls event;
The determination unit, in the case where the electronic device falls event, determining and falling thing described The falling time under the target falling position recorded in target falling position under part, and the update electronic device Number;
The acquiring unit, for obtaining at least one under at least one falling position recorded in the electronic device A drop number, at least one falling position include the target falling position, and the falling position fills for the electronics Set the position contacted with collision object surface when falling;
The prompt unit, in the case where at least one drop number meets and imposes a condition, being prompted Operation, the prompt operation is for prompting user to prevent the electronic device from falling again.
In the embodiment of the application, the setting condition includes following at least one:Falling at falling position i Number j is greater than or equal to the corresponding first thresholds of the falling position i;The summation of at least one drop number is more than or waits In second threshold;P is greater than or equal to third threshold value, the P=A1×a1+A2×a2+A3×a3+…+AN×aNWherein, the Ai For in the corresponding drop numbers of the falling position i, aiFor the corresponding weights of the falling position i;The falling position i is institute One of state at least one falling position.
In the embodiment of the application, above-mentioned monitoring unit is specifically used for:
When it is acceleration of gravity to monitor the acceleration change of the electronic device, when will be recorded as first at current time It carves;
When monitoring that the acceleration of the electronic device becomes cancellation from the gravity angular speed, will record at current time For the second moment;
In the case where the difference at second moment and first moment is greater than or equal to four threshold values, described in determination Electronic device falls event.
In the embodiment of the application,
The acquiring unit is additionally operable to, when it is acceleration of gravity to monitor the acceleration change of the electronic device, obtain Take the angular speed of the electronic device;
It is determining in terms of the target falling position fallen under event, above-mentioned determination unit is specifically used for:
According to angular speed and the mapping relations for falling posture, determines and fall falling for the electronic device under event described Posture;And according to the mapping relations for falling posture and falling position, determine described in fall the corresponding target falling position of posture.
In the embodiment of the application, prompt operation is being carried out, the prompt operation is described for prompting user to prevent Electronic device falls aspect again, and prompt unit is specifically used for:
Detect the display screen is lighted by unlocking screen event in the case of, pop up one carry on the display screen Show frame, display reminding text, at least one falling position and at least one drop number in the prompting frame, institute Prompt text is stated for prompting user to prevent the electronic device from falling again.
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.Communication unit 503 can be transceiver, transceiver controller, radio frequency chip, communication interface etc., Storage unit 502 can be memory.
When processing unit 501 is processor, communication unit 503 is communication interface, when storage unit 502 is memory, this Apply for that the device for promoting dropping 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 falling sensor, suggestion device and controller, wherein:
It is described to fall sensor, for passing through whether the monitoring electronic device falls event;
The controller, in the case where the electronic device falls event, determination to be fallen described under event The drop number under the target falling position recorded in target falling position, and the update electronic device;It obtains At least one drop number under at least one falling position recorded in the electronic device, it is described at least one to fall position It sets including the target falling position, the falling position is the position contacted with collision object surface when the electronic device falls It sets;
The suggestion device, in the case where at least one drop number meets and imposes a condition, carrying out prompt operation, The prompt operation is for prompting user to prevent the electronic device from falling again.
2. electronic device according to claim 1, which is characterized in that the setting condition includes following at least one: Drop number j under falling position i is greater than or equal to the corresponding first thresholds of the falling position i;It is described at least one to fall The summation of number is greater than or equal to second threshold;P is greater than or equal to third threshold value, the P=A1×a1+A2×a2+A3×a3+… +AN×aNWherein, the AiFor in the corresponding drop numbers of the falling position i, aiFor the corresponding weights of the falling position i; The falling position i is one of at least one falling position.
3. electronic device according to claim 1 or 2, which is characterized in that monitoring whether the electronic device falls In terms of falling event, the sensor that falls is specifically used for:
When the acceleration change for falling Sensor monitoring to the electronic device is acceleration of gravity, will remember at current time Record was the first moment;
When it is described fall Sensor monitoring to the acceleration of the electronic device from the gravity angular speed become cancellation when, will work as The preceding moment was recorded as the second moment;
In the case where the difference at second moment and first moment is greater than or equal to four threshold values, the electronics is determined Device falls event.
4. electronic device according to claim 8, which is characterized in that
It is described to fall sensor, be additionally operable to when it is described fall Sensor monitoring to the acceleration change of the electronic device be gravity When acceleration, the angular speed of the electronic device is obtained;
It is determining in terms of the target falling position fallen under event, the controller is specifically used for:
According to angular speed and the mapping relations for falling posture, determine it is described fall the electronic device under event fall appearance Gesture;And according to the mapping relations for falling posture and falling position, determine described in fall the corresponding target falling position of posture.
5. according to claim 1-4 any one of them electronic devices, which is characterized in that the suggestion device includes display screen, Prompt operation is being carried out, described fall prompts operation for prompting user to prevent the electronic device from falling aspect again,
The display screen, for detect the display screen is lighted by unlocking screen event in the case of, pop-up one prompt Frame, display reminding text, at least one falling position and at least one drop number in the prompting frame are described Prompt text is for prompting user to prevent the electronic device from falling again.
6. one kind falling reminding method, which is characterized in that applied to including falling sensor, suggestion device and the electronics of controller Device, the method includes:
It is described to fall whether electronic device described in Sensor monitoring falls event;
In the case where the electronic device falls event, the controller is determined to be fallen the target under event and falls described Dropping place is set, and the drop number under the target falling position recorded in the update electronic device;
The controller obtains at least one drop number under at least one falling position recorded in the electronic device, At least one falling position includes the target falling position, the falling position be when the electronic device falls with touch Hit the position of object surface contact;
In the case where at least one drop number meets and imposes a condition, the suggestion device carries out prompt operation, described Prompt operation is for prompting user to prevent the electronic device from falling again.
7. according to the method described in claim 6, it is characterized in that, described impose a condition includes following at least one:Falling Drop number j under the i of position is greater than or equal to the corresponding first thresholds of the falling position i;At least one drop number Summation be greater than or equal to second threshold;P is greater than or equal to third threshold value, the P=A1×a1+A2×a2+A3×a3+…+AN ×aNWherein, the AiFor in the corresponding drop numbers of the falling position i, aiFor the corresponding weights of the falling position i;Institute Falling position i is stated as one of at least one falling position.
8. the method described according to claim 6 or 7, which is characterized in that described to fall electronic device described in Sensor monitoring and be It is no to fall event, including:
It is described to fall sensing when the acceleration change for falling Sensor monitoring to the electronic device is acceleration of gravity Device will be recorded as the first moment current time;
When it is described fall Sensor monitoring to the acceleration of the electronic device from the gravity angular speed become cancellation when, it is described Falling sensor will be recorded as the second moment current time;
It is described to fall sensing in the case where the difference at second moment and first moment is greater than or equal to four threshold values Device determines that the electronic device falls event.
9. according to the method described in claim 8, it is characterized in that, the method further includes:
It is described to fall sensing when the acceleration change for falling Sensor monitoring to the electronic device is acceleration of gravity Device obtains the angular speed of the electronic device;
The controller determines in the target falling position fallen under event, including:
The controller is determined according to angular speed and the mapping relations for falling posture in the electronic device under falling event Fall posture;And according to the mapping relations for falling posture and falling position, determine described in fall the corresponding target of posture and fall Dropping place is set.
10. according to claim 6-9 any one of them methods, which is characterized in that the suggestion device includes display screen, described Suggestion device carries out prompt operation, the prompt operation for prompting user to prevent the electronic device from falling again, including:
Detecting that the display screen pops up a prompting frame, institute in the case of lighting the display screen by unlocking screen event State display reminding text in prompting frame, at least one falling position and at least one drop number, the prompt Text is for prompting user to prevent the electronic device from falling again.
11. a kind of device for promoting dropping, which is characterized in that be applied to electronic device, the device for promoting dropping includes that monitoring is single Member, determination unit, updating unit, acquiring unit and prompt unit, wherein:
The monitoring unit, for monitoring whether the electronic device falls event;
The determination unit, in the case where the electronic device falls event, determination to be fallen described under event Target falling position, and the drop number under the target falling position that is recorded in the update electronic device;
The acquiring unit is fallen for obtaining at least one under at least one falling position recorded in the electronic device Number is fallen, at least one falling position includes the target falling position, and the falling position is that the electronic device falls The position contacted with collision object surface when falling;
The prompt unit, in the case where at least one drop number meets and imposes a condition, carrying out prompt operation, The prompt operation is for prompting user to prevent the electronic device from falling again.
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.
CN201810073543.4A 2018-01-25 2018-01-25 Fall prompting method and related equipment Expired - Fee Related CN108307065B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810073543.4A CN108307065B (en) 2018-01-25 2018-01-25 Fall prompting method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810073543.4A CN108307065B (en) 2018-01-25 2018-01-25 Fall prompting method and related equipment

Publications (2)

Publication Number Publication Date
CN108307065A true CN108307065A (en) 2018-07-20
CN108307065B CN108307065B (en) 2021-04-16

Family

ID=62866422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810073543.4A Expired - Fee Related CN108307065B (en) 2018-01-25 2018-01-25 Fall prompting method and related equipment

Country Status (1)

Country Link
CN (1) CN108307065B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109598364A (en) * 2018-09-29 2019-04-09 阿里巴巴集团控股有限公司 A kind of prediction technique and device
CN113015077A (en) * 2021-02-22 2021-06-22 歌尔科技有限公司 Prompting method, wearable device and readable storage medium
US20220182759A1 (en) * 2019-04-12 2022-06-09 Knowles Electronics, Llc Microphone assembly with free fall detection

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824735A (en) * 2016-03-24 2016-08-03 广东欧珀移动通信有限公司 Drop processing method of mobile terminal and mobile terminal
CN106357897A (en) * 2016-09-06 2017-01-25 广东欧珀移动通信有限公司 Fall information acquiring method and device
CN106412246A (en) * 2016-09-06 2017-02-15 广东欧珀移动通信有限公司 Drop prompting method and apparatus
US20170317707A1 (en) * 2013-03-11 2017-11-02 Apple Inc. Drop countermeasures for electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170317707A1 (en) * 2013-03-11 2017-11-02 Apple Inc. Drop countermeasures for electronic device
CN105824735A (en) * 2016-03-24 2016-08-03 广东欧珀移动通信有限公司 Drop processing method of mobile terminal and mobile terminal
CN106357897A (en) * 2016-09-06 2017-01-25 广东欧珀移动通信有限公司 Fall information acquiring method and device
CN106412246A (en) * 2016-09-06 2017-02-15 广东欧珀移动通信有限公司 Drop prompting method and apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109598364A (en) * 2018-09-29 2019-04-09 阿里巴巴集团控股有限公司 A kind of prediction technique and device
CN109598364B (en) * 2018-09-29 2022-10-28 创新先进技术有限公司 Prediction method and device
US20220182759A1 (en) * 2019-04-12 2022-06-09 Knowles Electronics, Llc Microphone assembly with free fall detection
US11743642B2 (en) * 2019-04-12 2023-08-29 Knowles Electronics, Llc. Microphone assembly with free fall detection
CN113015077A (en) * 2021-02-22 2021-06-22 歌尔科技有限公司 Prompting method, wearable device and readable storage medium
CN113015077B (en) * 2021-02-22 2022-09-20 歌尔科技有限公司 Prompting method, wearable device and readable storage medium

Also Published As

Publication number Publication date
CN108307065B (en) 2021-04-16

Similar Documents

Publication Publication Date Title
CN108418973A (en) Fall detection method and relevant apparatus
CN108769350A (en) Fall detection method and relevant apparatus
CN108234769A (en) Falling protection method and related product
CN102662474A (en) Terminal and method and device for controlling terminal
CN108491707A (en) A kind of solution lock control method and terminal device and medium product
CN106096360B (en) A kind of solution lock control method and terminal device
CN106951850B (en) A kind of method and mobile terminal controlling fingerprint recognition mould group
CN106127152B (en) A kind of fingerprint template update method and terminal device
CN110365853B (en) Prompting method and electronic equipment
CN106055455B (en) The anti-interference method and device of a kind of button
CN108307065A (en) Fall reminding method and relevant device
CN108646973A (en) Put out screen display methods, mobile terminal and computer readable storage medium
CN108052820A (en) A kind of solution lock control method and terminal device and Related product
CN106127001B (en) The method and terminal of a kind of booting
CN110213686A (en) A kind of detection method and terminal of earphone socket
CN108259658A (en) Flexible screen terminal and its electricity based reminding method, computer readable storage medium
CN110401773A (en) The control method and relevant apparatus of screen state
CN108307063A (en) Fall reminding method and relevant apparatus
CN110298277A (en) Fingerprint identification method and Related product
CN104898838A (en) Incoming call responding method and apparatus for handheld device
CN108777735A (en) Display area method of adjustment and relevant device
CN108304123A (en) Page display control method and related product
CN108399325A (en) Solve lock control method and Related product
CN109065017A (en) Voice data generation method and relevant apparatus
CN108924331A (en) Voice pick-up method and Related product

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210416