CN108307065B - Fall prompting method and related equipment - Google Patents

Fall prompting method and related equipment Download PDF

Info

Publication number
CN108307065B
CN108307065B CN201810073543.4A CN201810073543A CN108307065B CN 108307065 B CN108307065 B CN 108307065B CN 201810073543 A CN201810073543 A CN 201810073543A CN 108307065 B CN108307065 B CN 108307065B
Authority
CN
China
Prior art keywords
falling
electronic device
prompting
fall
event
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.)
Expired - Fee Related
Application number
CN201810073543.4A
Other languages
Chinese (zh)
Other versions
CN108307065A (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

Images

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

Abstract

The application discloses a falling prompting method and related equipment, which are applied to an electronic device comprising a falling sensor, a prompting device and a controller; the falling sensor is used for monitoring whether the electronic device has a falling event or not; the controller is used for determining a target falling position under the falling event and updating falling times recorded in the electronic device under the target falling position under the condition that the electronic device has the falling event; acquiring at least one falling frequency recorded in the electronic device at least one falling position; and the prompting device is used for performing prompting operation under the condition that at least one falling frequency meets the set condition, and the prompting operation is used for prompting a user to prevent the electronic device from falling again. By adopting the embodiment of the application, the performance of the electronic device can be prevented from being influenced.

Description

Fall prompting method and related equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a fall prompting method and related devices.
Background
With the rapid development and the increasing popularity of the technology of the intelligent terminal (such as a smart phone), the technology of the intelligent terminal is now an indispensable electronic product in the daily life of users. In actual use, the intelligent terminal usually falls from the user hand, falls from the desktop and the like, and the intelligent terminal collides with a collision object after falling, so that the performance of the intelligent terminal is influenced.
Disclosure of Invention
The embodiment of the application provides a falling prompt method and related equipment, which are used for avoiding the performance of an electronic device from being affected.
In a first aspect, an embodiment of the present application provides an electronic device, including a drop sensor, a prompting device, and a controller, wherein:
the falling sensor is used for monitoring whether the electronic device has a falling event or not;
the controller is used for determining a target falling position under the falling event and updating falling times under the target falling position recorded in the electronic device under the condition that the electronic device has the falling event; acquiring at least one falling frequency recorded in the electronic device at least one falling position, wherein the at least one falling position comprises the target falling position, and the falling position is a position in contact with the surface of a collision object when the electronic device falls;
and the prompting device is used for performing prompting operation under the condition that the at least one falling frequency meets the set condition, and the prompting operation is used for prompting a user to prevent the electronic device from falling again.
In a second aspect, an embodiment of the present application provides a fall prompting method, which is applied to an electronic device including a fall sensor, a prompting device, and a controller, and the method includes:
monitoring whether a falling event occurs to the electronic device through the falling sensor;
determining, by the controller, a target falling position under the falling event and updating falling times recorded in the electronic device under the target falling position in case of a falling event of the electronic device;
acquiring, by the controller, at least one falling frequency recorded in the electronic device at least one falling position, where the at least one falling position includes the target falling position, and the falling position is a position where the electronic device is in contact with a surface of a collision object when falling;
and under the condition that the at least one falling frequency meets the set condition, performing prompt operation through the prompt device, wherein the prompt operation is used for prompting a user to prevent the electronic device from falling again.
In a third aspect, an embodiment of the present application provides a fall prompting device, which is applied to an electronic device, and the fall prompting device includes a monitoring unit, a determining unit, an updating unit, an obtaining unit, and a prompting unit, where:
the monitoring unit is used for monitoring whether the electronic device has a falling event or not;
the determining unit is used for determining a target falling position under the falling event and updating falling times under the target falling position recorded in the electronic device under the condition that the electronic device has the falling event;
the acquiring unit is used for acquiring at least one falling frequency recorded in the electronic device at least one falling position, wherein the at least one falling position comprises the target falling position, and the falling position is a position which is in contact with the surface of a collision object when the electronic device falls;
and the prompting unit is used for performing prompting operation under the condition that the at least one falling frequency meets the set condition, and the prompting operation is used for prompting a user to prevent the electronic device from falling again.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps of any of the methods in the second aspect of the embodiment of the present application.
In a fifth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods in the second aspect of the present application.
In a sixth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps described in any one of the methods of the second aspect of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the application, when a fall event occurs in the electronic device, the fall position of the fall event is determined first, and then the fall times recorded in the electronic device at the fall position are updated; then determining whether at least one falling frequency recorded in the electronic device at least one falling position meets a set condition; if so, the falling condition of the electronic device is about to reach the degree of influencing the performance of the electronic device, and under the condition, prompt operation is carried out to prompt a user to prevent the electronic device from falling again, so that the performance of the electronic device is prevented from being influenced.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present application, the drawings required to be used in the embodiments or the background art of the present application will be described below.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2A is a schematic flowchart of a fall prompting method according to an embodiment of the present application;
fig. 2B is a schematic diagram of a natural coordinate system and a reference coordinate system of an electronic device according to an embodiment of the present disclosure;
fig. 2C is a schematic view of a drop of an electronic device provided in an embodiment of the present application;
FIG. 2D is a schematic illustration of an interface provided by an embodiment of the present application;
fig. 3 is a schematic flowchart of another fall prompting method provided in the embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a fall prompting device provided in the embodiment of the present application.
Detailed description of the invention
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The following are detailed below.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic apparatus may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem having wireless communication functions, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal Equipment (terminal device), and so on. For convenience of description, the above-mentioned apparatuses are collectively referred to as electronic devices.
The following describes embodiments of the present application in detail.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application, where the electronic device 100 includes: a housing 10, a circuit board 20, a battery 30, a cover plate 40, a fall sensor 50, an alarm device 60, and a controller 70 that controls the fall sensor 50 and the alarm device 60; the cover plate 40 is arranged on the shell 10, the fall sensor 50 and the controller 70 are arranged on the circuit board 20, and the prompting device 60 is connected with the controller 70, wherein the fall sensor 50 comprises an acceleration sensor, a gyroscope, a timer, an audio acquisition device and the like, the audio acquisition device can be a microphone and the like, and the prompting device 60 comprises a display screen, a loudspeaker and the like;
a drop sensor 50 for monitoring whether a drop event occurs in the electronic device;
a controller 70, configured to determine a target falling position in the event of a falling event of the electronic apparatus, and update the falling times at the target falling position recorded in the electronic apparatus; acquiring at least one falling frequency recorded in the electronic device at least one falling position, wherein the at least one falling position comprises the target falling position, and the falling position is a position in contact with the surface of a collision object when the electronic device falls;
and the prompting device 60 is used for performing a prompting operation under the condition that the at least one falling frequency meets a set condition, wherein the prompting operation is used for prompting a user to prevent the electronic device from falling again.
Wherein, the electronic device 100 further includes at least one functional component 80, the controller 70 is connected to the at least one functional component 80, and the at least one functional component 80 includes at least one of the following: the device comprises a loudspeaker, a front camera, a face recognition device, a proximity sensor and an ambient light sensor.
The display screen comprises a touch screen and a display screen, and the display screen comprises an organic light emitting diode display screen OLED.
The controller 70 may include a processor, which is a control center of the electronic device, and a memory, which is connected to various parts of the entire electronic device by various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory and calling data stored in the memory, thereby integrally monitoring the electronic device. Optionally, the processor may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor may not be integrated into the processor.
The memory may be used for storing software programs and modules, and the processor executes various functional applications and data processing of the electronic device by operating the software programs and modules stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
It can be seen that, in the embodiment of the application, when a fall event occurs in the electronic device, the fall position of the fall event is determined first, and then the fall times recorded in the electronic device at the fall position are updated; then determining whether at least one falling frequency recorded in the electronic device at least one falling position meets a set condition; if so, the falling condition of the electronic device is about to reach the degree of influencing the performance of the electronic device, and under the condition, prompt operation is carried out to prompt a user to prevent the electronic device from falling again, so that the performance of the electronic device is prevented from being influenced.
In an embodiment of the present application, the setting condition includes at least one of: the falling frequency j under the falling position i is greater than or equal to a first threshold corresponding to the falling position i; the sum of the at least one number of falls is greater than or equal to a second threshold; p is greater than or equal to a third threshold, said P ═ A1×a1+A2×a2+A3×a3+…+AN×aNWherein, A isiFor the number of falls corresponding to the fall position i, aiThe weight corresponding to the falling position i; the fall position i is one of the at least one fall position.
In an embodiment of the present application, in monitoring whether the electronic device has a drop event, the drop sensor 50 is specifically configured to:
when the falling sensor 50 monitors that the acceleration change of the electronic device is gravity acceleration, recording the current moment as a first moment;
when the falling sensor 50 monitors that the acceleration of the electronic device changes from the gravity angular velocity to zero, recording the current moment as a second moment;
and determining that the electronic device has a falling event when the difference between the second moment and the first moment is greater than or equal to a fourth threshold.
In an embodiment of the present application, the drop sensor 50 is further configured to obtain an angular velocity of the electronic device when the drop sensor 50 monitors that the acceleration of the electronic device changes into a gravitational acceleration;
in determining a target fall location under the fall event, the controller 70 is specifically configured to:
determining a falling posture of the electronic device under the falling event according to a mapping relation between the angular velocity and the falling posture; and determining a target falling position corresponding to the falling posture according to the mapping relation between the falling posture and the falling position.
In one embodiment of the application, in performing the prompting operation, the prompting operation is used for prompting the user to prevent the electronic device from falling down again,
and the display screen is used for popping up a prompt box when the condition that the display screen 70 is lightened through a screen unlocking event is detected, a prompt text, the at least one falling position and the at least one falling frequency are displayed in the prompt box, and the prompt text is used for prompting a user to prevent the electronic device from falling again.
It should be noted that, the specific implementation process of the present embodiment may refer to the specific implementation process described in the following method, and is not described here.
Referring to fig. 2A, fig. 2A is a schematic flowchart of a fall prompting method according to an embodiment of the present application, applied to an electronic device shown in fig. 1, where the method includes:
step 201: the drop sensor monitors whether a drop event occurs to the electronic device.
In an embodiment of the present application, a specific implementation manner of monitoring whether a drop event occurs to the electronic device by a drop sensor includes:
when the fall sensor detects that the acceleration of the electronic device changes into the gravity acceleration, the fall sensor records the current moment as a first moment; when the falling sensor detects that the acceleration of the electronic device changes from the gravity angular velocity to zero, the falling sensor records the current moment as a second moment; and under the condition that the difference value between the second moment and the first moment is larger than or equal to a fourth threshold value, the falling sensor determines that the falling event occurs to the electronic device.
Wherein the fourth threshold is a shortest time length required for representing that the electronic device maintains the acceleration of gravity when the electronic device is in a falling event. The fourth threshold may be electronic device-defined or user-defined.
Specifically, when the acceleration of the electronic device is 0 or close to 0, it indicates that the electronic device is supported by things (such as a human hand, a table top, etc.). When the acceleration of the electronic device changes to the gravity acceleration, the electronic device is not supported by anything. If the time for maintaining the gravity acceleration of the electronic device is short, the influence of the gravity acceleration on the electronic device can be almost ignored and is not recorded as a falling event; if the electronic device maintains the gravity acceleration for a longer time, the electronic device may be affected by the gravity acceleration more, and the electronic device is recorded as a falling event.
Further, the method further comprises:
at the second moment, the audio acquisition device acquires audio information;
under the condition that the difference value between the second moment and the first moment is greater than or equal to the fourth threshold, the specific implementation manner of determining that the electronic device has the fall event by the fall sensor is as follows:
and under the condition that the difference value between the second moment and the first moment is greater than or equal to a fourth threshold value and the volume of the audio information is greater than a fifth threshold value, the falling sensor determines that the electronic device has a falling event.
Wherein the fifth threshold is a minimum volume for characterizing whether the electronic device has a fall event. The fifth threshold may be electronic device-defined or user-defined.
Specifically, if the time that the electronic device maintains the gravitational acceleration is long, the influence on the electronic device may be negligible in some cases, such as when the user throws the electronic device onto a relatively soft object (such as a quilt, etc.), and therefore, in such a case, it is further necessary to determine the sound level when the electronic device collides with an impact object, and if the sound level is too large, the impact on the electronic device is large, and the electronic device is recorded as a falling event; otherwise, it is not recorded as a fall event.
Step 202: under the condition that the electronic device has a falling event, a controller determines a target falling position under the falling event and updates falling times recorded in the electronic device under the target falling position, wherein the falling position is a position of the electronic device contacting with the surface of a collision object when falling.
The falling position refers to a position where the electronic device is in contact with the surface of an impact object when the electronic device falls from a certain height to the impact object. The falling position includes a screen, an electronic device rear cover, an electronic device lower side surface and a screen, an electronic device upper side surface and a screen, an electronic device lower side surface and an electronic device rear cover, an electronic device upper side surface and an electronic device rear cover, and the like.
Specifically, the number of falls at the target fall position recorded in the electronic apparatus is updated, that is, the number of falls at the target fall position recorded in the electronic apparatus is increased by 1. For example, the number of falls at the target falling position recorded in the electronic device before the electronic device has a falling event is 10, and the number of falls at the target falling position after updating is 11.
In an embodiment of the present application, the method further includes:
when the fall sensor detects that the acceleration change of the electronic device is gravity acceleration, the fall sensor acquires the angular velocity of the electronic device;
a controller determines a target fall location under the fall event, comprising:
the controller determines the falling angle of the electronic device according to the initial angle of the falling sensor and the angular speed;
the controller determines the falling posture of the electronic device under the falling event according to the mapping relation between the falling angle and the falling posture; and determining a target falling position corresponding to the falling posture according to the mapping relation between the falling posture and the falling position.
The falling posture includes screen down, screen up, screen down and electronic device underside down, screen down and electronic device underside up, screen up and electronic device underside down, screen up and electronic device underside up, and so on.
Specifically, a mapping relationship of the falling angle to the falling posture, and a mapping relationship of the falling posture to the falling position are shown in table 1. Wherein, the natural coordinate system and the reference coordinate system of the electronic device are shown in fig. 2B, and the falling angle includes an included angle α between an X-axis of the natural coordinate system and an X-axis of the reference coordinate systemXThe included angle alpha between the Y axis of the natural coordinate system and the Y axis of the reference coordinate systemYAnd the included angle alpha between the Z axis of the natural coordinate system and the Z axis of the reference coordinate systemZ. It should be noted that the natural coordinate system of the electronic device does not change when the electronic device moves.
TABLE 1
Figure BDA0001558832660000081
Figure BDA0001558832660000091
For example, when the acceleration of the electronic device changes to the gravitational acceleration, if the determined falling angle is αX=0°、α Y100 ° and αZAs can be seen from table 1, the falling posture is screen down and the electronic device lower side is facing down, and the falling position is the electronic device lower side and the screen, as shown in fig. 2C.
Step 203: a controller obtains at least one fall number recorded in the electronic device at least one fall location, the at least one fall location including the target fall location.
Wherein the at least one falling position corresponds to the at least one falling frequency one by one, and the at least one falling position is different from each other.
Step 204: and under the condition that the at least one falling frequency meets the set condition, a prompting device carries out prompting operation, and the prompting operation is used for prompting a user to prevent the electronic device from falling again.
The set condition is used for judging whether the dropping condition of the electronic device is about to reach the degree of influencing the performance.
In an embodiment of the present application, the setting condition includes at least one of: the falling frequency j under the falling position i is greater than or equal to a first threshold corresponding to the falling position i; the sum of the at least one number of falls is greater than or equal to a second threshold; p is greater than or equal to a third threshold, said P ═ A1×a1+A2×a2+A3×a3+…+AN×aNWherein, A isiFor the number of falls corresponding to the fall position i, aiThe weight corresponding to the falling position i; the fall position i is one of the at least one fall position.
The first threshold is used for representing the maximum number of times that the electronic device is allowed to fall under the falling position i before the prompting device prompts. Specifically, since the falling damage condition of the electronic device is different when each falling position falls, the corresponding first threshold values may be different in different falling positions, for example, the first threshold value corresponding to the falling position is 3 for the screen, and the first threshold value corresponding to the falling position is 10 for the rear cover of the electronic device. Of course, the corresponding first threshold values at different falling positions may also be the same, and are not limited to the only one.
Wherein the second threshold is used for representing the maximum number of total allowed falls of the electronic device in at least one falling position before prompting by the prompting device. The second threshold may be electronic device-customized, user-customized, and so on.
The falling damage conditions of the electronic device when each falling position falls are different, so that the weights corresponding to different falling positions can be different, for example, the weight corresponding to the falling position as the screen is greater than the weight corresponding to the falling position as the rear cover of the electronic device. Of course, the corresponding weights at different fall positions may also be the same, and are not limited to the specific one.
The specific implementation manner of performing the prompt operation may be: the falling prompt operation is carried out in a voice mode, or the falling prompt operation is carried out in a display mode; or the falling prompt operation is carried out in a voice mode and a display mode, and the like.
In an embodiment of the application, the prompt device includes a display screen, and the prompt device carries out prompt operation, the prompt operation is used for prompting a user to prevent the electronic device from falling again, and the specific implementation manner of the prompt operation is as follows:
when the situation that the display screen is lightened through a screen unlocking event is detected, a prompt box pops up on the display screen, a prompt text, the at least one falling position and the at least one falling frequency are displayed in the prompt box, and the prompt text is used for prompting a user to prevent the electronic device from falling again.
In particular, when the electronic device is in a falling event, the user of the electronic device is not necessarily at the electronic device. In this application, after the fall incident appears, if electronic device detects and lights up the display screen through screen unblock incident, show to use the user by electronic device, carry out the suggestion operation this moment, can guarantee that the suggestion user that electronic device goes on can receive, and then promoted suggestion efficiency.
For example, assuming that at least one falling position has a falling position 1, a falling position 2 and a falling position 3, the number of falls recorded in the electronic device at the falling position 1 is 3, the number of falls recorded at the falling position 2 is 5, and the number of falls recorded at the falling position 3 is 6. Assuming that the falling posture of the electronic device when falling is shown in fig. 2C, it can be seen that the falling posture of the electronic device is screen-down and the lower side of the electronic device is side-down, and if the falling posture corresponds to the falling position 3, the electronic device updates the falling number of times at the falling position 3 to 7. Assuming that the setting condition is that the sum of the at least one drop number is greater than or equal to the second threshold, if the second threshold is 13, the sum of the N drop numbers is 3+5+ 7-15, and the setting condition is satisfied. If the electronic device falls, the user uses the unlocking password to unlock the screen, as shown in fig. 2D, after the unlocking is successful, the electronic device lights up the display screen, and simultaneously pops up a prompt box on the display screen.
It can be seen that, in the embodiment of the application, when a fall event occurs in the electronic device, the fall position of the fall event is determined first, and then the fall times recorded in the electronic device at the fall position are updated; then determining whether at least one falling frequency recorded in the electronic device at least one falling position meets a set condition; if so, the falling condition of the electronic device is about to reach the degree of influencing the performance of the electronic device, and under the condition, prompt operation is carried out to prompt a user to prevent the electronic device from falling again, so that the performance of the electronic device is prevented from being influenced.
It should be noted that the examples described in this application are for illustration only and should not be construed as limiting.
The embodiment of the present application also provides another more detailed method flow, as shown in fig. 3, which is applied to the electronic device shown in fig. 1, and the method includes:
step 301: when the falling sensor monitors that the acceleration of the electronic device changes into the gravity acceleration, the falling sensor records the current moment as a first moment; the drop sensor acquires an angular velocity of the electronic device.
Step 302: and when the falling sensor monitors that the acceleration of the electronic device changes from the gravity angular velocity to zero, the falling sensor records the current moment as a second moment.
Step 303: and under the condition that the difference value between the second moment and the first moment is larger than or equal to a fourth threshold value, the drop sensor determines that the electronic device has a drop event.
Step 304: and the controller determines the falling posture of the electronic device under the falling event according to the mapping relation between the angular velocity and the falling posture.
Step 305: and the controller determines a target falling position corresponding to the falling posture according to the mapping relation between the falling posture and the falling position.
Step 306: the controller updates the falling times under the target falling position recorded in the electronic device.
Step 307: the controller acquires at least one falling frequency recorded in the electronic device under at least one falling position, wherein the at least one falling position comprises the target falling position, and the falling position is a position in contact with the surface of a collision object when the electronic device falls;
step 308: when the at least one falling frequency meets a set condition, a prompt box pops up on the display screen when the display screen is detected to be lightened through a screen unlocking event, a prompt text is displayed in the prompt box, the at least one falling position and the at least one falling frequency are displayed, and the prompt text is used for prompting a user to prevent the electronic device from falling again.
Wherein the setting condition includes at least one of: the falling frequency j under the falling position i is greater than or equal to a first threshold corresponding to the falling position i; the sum of the at least one number of falls is greater than or equal to a second threshold; p is greater than or equal to a third threshold, said P ═ A1×a1+A2×a2+A3×a3+…+AN×aNWherein, A isiFor the number of falls corresponding to the fall position i, aiThe weight corresponding to the falling position i; the fall position i is one of the at least one fall position.
It should be noted that, for the specific implementation of the steps of the method shown in fig. 3, reference may be made to the specific implementation of the method, and no description is provided here.
In accordance with the embodiments shown in fig. 2A and fig. 3, please refer to fig. 4, and fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in the drawing, the electronic device includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for performing the following steps:
monitoring whether the electronic device has a falling event;
under the condition that the electronic device has a falling event, determining a target falling position under the falling event, and updating falling times under the target falling position recorded in the electronic device;
acquiring at least one falling frequency recorded in the electronic device at least one falling position, wherein the at least one falling position comprises the target falling position, and the falling position is a position in contact with the surface of a collision object when the electronic device falls;
and under the condition that the at least one falling frequency meets the set condition, performing prompt operation, wherein the prompt operation is used for prompting a user to prevent the electronic device from falling again.
In an embodiment of the present application, the setting condition includes at least one of: the falling frequency j under the falling position i is greater than or equal to a first threshold corresponding to the falling position i; the sum of the at least one number of falls is greater than or equal to a second threshold; p is greater than or equal to a third threshold, said P ═ A1×a1+A2×a2+A3×a3+…+AN×aNWherein, A isiFor the number of falls corresponding to the fall position i, aiThe weight corresponding to the falling position i; the fall position i is one of the at least one fall position.
In an embodiment of the present application, in monitoring whether the electronic device has a fall event, the program includes instructions specifically configured to:
when the acceleration change of the electronic device is monitored to be the gravity acceleration, recording the current moment as a first moment;
when the acceleration of the electronic device is monitored to be changed from the gravity angular velocity to zero, recording the current moment as a second moment;
and determining that the electronic device has a falling event when the difference between the second moment and the first moment is greater than or equal to a fourth threshold.
In an embodiment of the application, the program includes instructions for further performing the steps of:
when the acceleration change of the electronic device is monitored to be the gravity acceleration, acquiring the angular velocity of the electronic device;
in determining a target fall location under the fall event, the program includes instructions that are specifically configured to perform the steps of:
determining a falling posture of the electronic device under the falling event according to a mapping relation between the angular velocity and the falling posture; and determining a target falling position corresponding to the falling posture according to the mapping relation between the falling posture and the falling position.
In an embodiment of the application, in performing a prompt operation for prompting a user to prevent the electronic apparatus from falling off again, the program includes instructions specifically for performing the following steps:
when the situation that the display screen is lightened through a screen unlocking event is detected, a prompt box pops up on the display screen, a prompt text, the at least one falling position and the at least one falling frequency are displayed in the prompt box, and the prompt text is used for prompting a user to prevent the electronic device from falling again.
It should be noted that, for the specific implementation process of the present embodiment, reference may be made to the specific implementation process described in the above method embodiment, and a description thereof is omitted here.
Referring to fig. 5, fig. 5 is a drop prompting device provided in an embodiment of the present application, which is applied to an electronic device, where the drop prompting device 500 includes a processing unit 501, a communication unit 502, and a storage unit 503, and the processing unit 501 includes a monitoring unit, a determining unit, an updating unit, an obtaining unit, and a prompting unit, where:
the monitoring unit is used for monitoring whether the electronic device has a falling event or not;
the determining unit is used for determining a target falling position under the falling event and updating falling times under the target falling position recorded in the electronic device under the condition that the electronic device has the falling event;
the acquiring unit is used for acquiring at least one falling frequency recorded in the electronic device at least one falling position, wherein the at least one falling position comprises the target falling position, and the falling position is a position which is in contact with the surface of a collision object when the electronic device falls;
and the prompting unit is used for performing prompting operation under the condition that the at least one falling frequency meets the set condition, and the prompting operation is used for prompting a user to prevent the electronic device from falling again.
In an embodiment of the present application, the setting condition includes at least one of: the falling frequency j under the falling position i is greater than or equal to a first threshold corresponding to the falling position i; the sum of the at least one number of falls is greater than or equal to a second threshold; p is greater than or equal to a third threshold, said P ═ A1×a1+A2×a2+A3×a3+…+AN×aNWherein, A isiFor the number of falls corresponding to the fall position i, aiThe weight corresponding to the falling position i; the fall position i is one of the at least one fall position.
In an embodiment of the present application, the monitoring unit is specifically configured to:
when the acceleration change of the electronic device is monitored to be the gravity acceleration, recording the current moment as a first moment;
when the acceleration of the electronic device is monitored to be changed from the gravity angular velocity to zero, recording the current moment as a second moment;
and determining that the electronic device has a falling event when the difference between the second moment and the first moment is greater than or equal to a fourth threshold.
In one embodiment of the present application,
the acquisition unit is further used for acquiring the angular velocity of the electronic device when the acceleration change of the electronic device is monitored to be the gravitational acceleration;
in terms of determining a target fall location under the fall event, the determining unit is specifically configured to:
determining a falling posture of the electronic device under the falling event according to a mapping relation between the angular velocity and the falling posture; and determining a target falling position corresponding to the falling posture according to the mapping relation between the falling posture and the falling position.
In an embodiment of the application, in performing a prompt operation, where the prompt operation is used to prompt a user to prevent the electronic device from falling off again, the prompt unit is specifically configured to:
when the situation that the display screen is lightened through a screen unlocking event is detected, a prompt box pops up on the display screen, a prompt text, the at least one falling position and the at least one falling frequency are displayed in the prompt box, and the prompt text is used for prompting a user to prevent the electronic device from falling again.
The Processing Unit 501 may be a Processor or a controller (e.g., a Central Processing Unit (CPU), a general purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof), the communication Unit 503 may be a transceiver, a transceiver controller, a radio frequency chip, a communication interface, or the like, and the storage Unit 502 may be a memory.
When the processing unit 501 is a processor, the communication unit 503 is a communication interface, and the storage unit 502 is a memory, the fall prompting device according to the embodiment of the present application may be the electronic device shown in fig. 4.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising electronic equipment.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific implementation and application scope, and in view of the above, the content of the present specification should not be construed as a limitation to the present application.

Claims (9)

1. The utility model provides an electronic device which characterized in that, includes drop sensor, suggestion device, audio acquisition device and controller, wherein:
the falling sensor is used for monitoring whether the electronic device has a falling event or not; the method comprises the following steps: recording the current moment as a first moment when the acceleration change of the electronic device is monitored to be the gravity acceleration, recording the current moment as a second moment when the acceleration change of the electronic device from the gravity angular velocity to zero is monitored, acquiring audio information by the audio acquisition device at the second moment, and determining that the electronic device has a falling event under the conditions that the difference value between the second moment and the first moment is greater than or equal to a fourth threshold value and the volume of the audio information is greater than a fifth threshold value;
the controller is used for determining a target falling position under the falling event and updating falling times under the target falling position recorded in the electronic device under the condition that the electronic device has the falling event; acquiring at least one falling frequency recorded in the electronic device at least one falling position, wherein the at least one falling position comprises the target falling position, and the falling position is a position in contact with the surface of a collision object when the electronic device falls;
the prompting device is used for performing a prompting operation under the condition that the at least one falling frequency meets a set condition, and the prompting operation is used for prompting a user to prevent the electronic device from falling again;
wherein the setting condition is that P is greater than or equal to a third threshold, and P ═ A1×a1+A2×a2+A3×a3+…+Ai×ai+…+AN×aNI is 1, 2, 3 … N, N is a positive integer, wherein A isiFor the number of falls corresponding to the fall position i, aiThe weight corresponding to the falling position i; the fall position i is one of the at least one fall position.
2. The electronic device of claim 1,
the falling sensor is further used for acquiring the angular velocity of the electronic device when the falling sensor monitors that the acceleration of the electronic device changes into the gravity acceleration;
when determining a target fall location under the fall event, the controller is specifically configured to:
determining a falling posture of the electronic device under the falling event according to a mapping relation between the angular velocity and the falling posture; and determining a target falling position corresponding to the falling posture according to the mapping relation between the falling posture and the falling position.
3. An electronic device according to claim 1 or 2, wherein the prompting device comprises a display screen,
the display screen is used for popping up a prompt box when the display screen is detected to be lightened through a screen unlocking event, a prompt text, the at least one falling position and the at least one falling frequency are displayed in the prompt box, and the prompt text is used for prompting a user to prevent the electronic device from falling again.
4. A fall prompting method is applied to an electronic device comprising a fall sensor, a prompting device, an audio acquisition device and a controller, and comprises the following steps:
the fall sensor monitors whether the electronic device has a fall event; the method comprises the following steps: recording the current moment as a first moment when the acceleration change of the electronic device is monitored to be the gravity acceleration, recording the current moment as a second moment when the acceleration change of the electronic device from the gravity angular velocity to zero is monitored, acquiring audio information by the audio acquisition device at the second moment, and determining that the electronic device has a falling event under the conditions that the difference value between the second moment and the first moment is greater than or equal to a fourth threshold value and the volume of the audio information is greater than a fifth threshold value;
under the condition that the electronic device has a falling event, the controller determines a target falling position under the falling event and updates falling times under the target falling position recorded in the electronic device;
the controller acquires at least one falling frequency recorded in the electronic device at least one falling position, wherein the at least one falling position comprises the target falling position, and the falling position is a position in contact with the surface of a collision object when the electronic device falls;
under the condition that the at least one falling frequency meets a set condition, the prompting device carries out prompting operation, and the prompting operation is used for prompting a user to prevent the electronic device from falling again;
the setting condition is that P is greater than or equal to a third threshold value, and P ═ A1×a1+A2×a2+A3×a3+…+Ai×ai+…+AN×aNI is 1, 2, 3 … N, N is a positive integer, wherein A isiFor the number of falls corresponding to the fall position i, aiThe weight corresponding to the falling position i; the fall position i is one of the at least one fall position.
5. The method of claim 4, further comprising:
when the falling sensor monitors that the acceleration change of the electronic device is gravity acceleration, the falling sensor acquires the angular velocity of the electronic device;
the controller determines a target fall location under the fall event, including:
the controller determines the falling posture of the electronic device under the falling event according to the mapping relation between the angular velocity and the falling posture; and determining a target falling position corresponding to the falling posture according to the mapping relation between the falling posture and the falling position.
6. The method according to claim 4 or 5, wherein the prompting device comprises a display screen, and the prompting device performs a prompting operation for prompting a user to prevent the electronic device from falling down again, and comprises:
when the situation that the display screen is lightened through a screen unlocking event is detected, the display screen pops up a prompt box, a prompt text, the at least one falling position and the at least one falling frequency are displayed in the prompt box, and the prompt text is used for prompting a user to prevent the electronic device from falling again.
7. The utility model provides a fall suggestion device which characterized in that is applied to electronic device, fall suggestion device includes monitoring unit, confirms unit, update unit, acquisition unit and suggestion unit, wherein:
the monitoring unit is used for monitoring whether the electronic device has a falling event or not; the method comprises the following steps: recording the current moment as a first moment when the acceleration change of the electronic device is monitored to be the gravity acceleration, recording the current moment as a second moment when the acceleration change of the electronic device from the gravity angular velocity to zero is monitored, collecting audio information at the second moment, and determining that the electronic device falls under the condition that the difference value between the second moment and the first moment is greater than or equal to a fourth threshold value and the volume of the audio information is greater than a fifth threshold value;
the determining unit is used for determining a target falling position under the falling event and updating falling times under the target falling position recorded in the electronic device under the condition that the electronic device has the falling event;
the acquiring unit is used for acquiring at least one falling frequency recorded in the electronic device at least one falling position, wherein the at least one falling position comprises the target falling position, and the falling position is a position which is in contact with the surface of a collision object when the electronic device falls;
the prompting unit is used for performing a prompting operation under the condition that the at least one falling frequency meets a set condition, wherein the prompting operation is used for prompting a user to prevent the electronic device from falling again;
wherein the setting condition is that P is greater than or equal to a third threshold, and P ═ A1×a1+A2×a2+A3×a3+…+Ai×ai+…+AN×aNI is 1, 2, 3 … N, N is a positive integer, wherein A isiFor the number of falls corresponding to the fall position i, aiThe weight corresponding to the falling position i; the fall position i is one of the at least one fall position.
8. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 4-6.
9. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any of the claims 4-6.
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 CN108307065A (en) 2018-07-20
CN108307065B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109598364B (en) * 2018-09-29 2022-10-28 创新先进技术有限公司 Prediction method and device
WO2020210120A1 (en) * 2019-04-12 2020-10-15 Knowles Electronics, Llc Microphone assembly with free fall detection
CN113015077B (en) * 2021-02-22 2022-09-20 歌尔科技有限公司 Prompting method, wearable device and readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9432492B2 (en) * 2013-03-11 2016-08-30 Apple Inc. Drop countermeasures for electronic device
CN105824735B (en) * 2016-03-24 2019-02-12 Oppo广东移动通信有限公司 A kind of mobile terminal falls processing method and mobile terminal
CN106357897B (en) * 2016-09-06 2019-07-16 Oppo广东移动通信有限公司 The acquisition methods and device of drop information

Also Published As

Publication number Publication date
CN108307065A (en) 2018-07-20

Similar Documents

Publication Publication Date Title
CN108769350B (en) Fall detection method and related device
CN108550353B (en) Brightness adjusting method and related product
CN108234769A (en) Falling protection method and related product
CN107292342B (en) Data processing method and related product
CN108307065B (en) Fall prompting method and related equipment
CN106126176B (en) A kind of audio collocation method and mobile terminal
CN106357897A (en) Fall information acquiring method and device
CN108111687B (en) Display control method and related product
CN102662474A (en) Terminal and method and device for controlling terminal
CN106170034B (en) A kind of sound effect treatment method and mobile terminal
CN106412249A (en) Detection method and device of drop information
CN107329778B (en) System updating method and related product
CN108174016B (en) Terminal anti-falling control method, terminal and computer readable storage medium
CN108418973A (en) Fall detection method and relevant apparatus
CN107317918B (en) Parameter setting method and related product
CN108377293B (en) Electronic device, fall control method and related product
CN106534324A (en) Data sharing method and cloud server
CN108307059B (en) Fall protection method and related product
CN109618058A (en) A kind of protection screen is from broken screen method and device, touch control device and storage medium
CN108052820A (en) A kind of solution lock control method and terminal device and Related product
CN107256383B (en) Fingerprint acquisition method and device, related terminal equipment and readable storage medium
CN108307063B (en) Fall prompting method and related device and medium
CN106980554B (en) Process processing method and device
CN106126171B (en) A kind of sound effect treatment method and mobile terminal
CN108600542B (en) Gyroscope calibration method and device

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