CN108307058B - Method for analyzing falling reasons and related product - Google Patents

Method for analyzing falling reasons and related product Download PDF

Info

Publication number
CN108307058B
CN108307058B CN201810064417.2A CN201810064417A CN108307058B CN 108307058 B CN108307058 B CN 108307058B CN 201810064417 A CN201810064417 A CN 201810064417A CN 108307058 B CN108307058 B CN 108307058B
Authority
CN
China
Prior art keywords
electronic
falling
max
distance
values
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.)
Active
Application number
CN201810064417.2A
Other languages
Chinese (zh)
Other versions
CN108307058A (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 CN201810064417.2A priority Critical patent/CN108307058B/en
Publication of CN108307058A publication Critical patent/CN108307058A/en
Application granted granted Critical
Publication of CN108307058B publication Critical patent/CN108307058B/en
Active 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

Abstract

The application provides a drop reason analysis method and a related product, wherein the method comprises the following steps: acquiring acceleration data of the electronic device; collecting the distance between the electronic device and the ground; the method comprises the steps of obtaining the falling speed of the electronic device, generating a falling track of the electronic device according to the speed, the distance and the acceleration data, and determining the falling reason of the electronic device according to the falling track. The technical scheme provided by the application has the advantage of high user experience.

Description

Method for analyzing falling reasons and related product
Technical Field
The application relates to the technical field of terminal equipment, in particular to a drop reason analysis method and a related product.
Background
In the prior art, a mobile terminal (such as a mobile phone, a tablet computer, etc.) has become a preferred electronic device for a user and has the highest use frequency, for the mobile terminal, the screen is easy to break, which is a problem that manufacturers or users cannot avoid, and after the screen is broken, the remaining value of the terminal is greatly reduced, because the price for repairing and changing the screen of most manufacturers almost exceeds the remaining value of the terminal. And 2.5D glass is popular in the industry at present as a screen, so that the screen is more easily damaged by falling and broken, and a great amount of research and development cost is spent by each mainstream manufacturer to research and develop the falling resistance of the whole machine.
The existing drop reason calculation is based on single acceleration data calculation, drop reason analysis is inaccurate, subsequent analysis of drop data is affected, and experience of customers is affected.
Content of application
The embodiment of the application provides a drop reason analysis method and a related product, which can realize accurate calculation of the drop reason and improve user experience.
In a first aspect, the embodiments of the present application provide an application processor AP, a gravity sensor and a distance sensor, where the gravity sensor and the distance sensor are connected to the AP through at least one circuit,
the gravity sensor is used for collecting acceleration data when the robot falls;
the distance sensor is used for collecting the distance between the electronic device and the ground when the electronic device falls;
the AP is used for acquiring the speed of the electronic device when the electronic device falls, generating a falling track of the electronic device according to the speed, the distance and the acceleration data, and determining the falling reason of the electronic device according to the falling track.
In a second aspect, a method for analyzing a drop cause is provided, and the method is applied in an electronic device and includes:
acquiring acceleration data of the electronic device;
collecting the distance between the electronic device and the ground;
the method comprises the steps of obtaining the falling speed of the electronic device, generating a falling track of the electronic device according to the speed, the distance and the acceleration data, and determining the falling reason of the electronic device according to the falling track.
In a third aspect, an electronic device is provided, which includes: a processing unit, a touch display screen, a gravity sensor, a circuit and a distance sensor,
the gravity sensor is used for acquiring acceleration data of the electronic device;
the distance sensor is used for acquiring the distance between the electronic device and the ground;
the processing unit is used for acquiring the falling speed of the electronic device, generating a falling track of the electronic device according to the speed, the distance and the acceleration data, and determining the falling reason of the electronic device according to the falling track.
In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method provided in the second aspect.
In a fifth aspect, there is provided a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform the method provided by the second aspect.
The embodiment of the application has the following beneficial effects:
it can be seen that the technical scheme that this application provided gathers acceleration data, distance and speed when falling, and the orbit that falls of electron device is generated according to this acceleration data, distance and speed, and the reason that falls is obtained according to this orbit analysis that falls like this, and the reason that falls is judged based on multiple parameter to the technical scheme of this application, has considered multiple condition, has improved the degree of accuracy that the reason that falls was judged, improves user's experience degree.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Fig. 1a is a schematic diagram of a parallel plate capacitor provided in an embodiment of the present application.
FIG. 1b is a schematic diagram of another parallel plate capacitor provided in embodiments of the present application.
FIG. 1c is a schematic diagram of yet another parallel plate capacitor provided by an embodiment of the present application.
FIG. 1d is a schematic diagram of acceleration provided by an embodiment of the present application.
Fig. 2 is a schematic view of an electronic device disclosed in an embodiment of the present application.
Fig. 3 is a schematic diagram of a convolution according to an embodiment of the present application.
Fig. 4 is a schematic flow chart of a method for analyzing a drop cause according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a mobile phone disclosed in an embodiment of the present application.
Detailed Description
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 some, but not all, embodiments of the present application. 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 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 device in the present application may include a smart phone (e.g., an Android phone, an iOS phone, a windows phone, etc.), a tablet computer, a palm computer, a notebook computer, a Mobile internet device (MID, Mobile internet devices), or a wearable device, and the electronic devices are merely examples, but not exhaustive, and include but are not limited to the electronic devices, and for convenience of description, the electronic devices are referred to as User Equipment (UE) in the following embodiments. Of course, in practical applications, the user equipment is not limited to the above presentation form, and may also include: intelligent vehicle-mounted terminal, computer equipment and the like.
In the electronic device provided in the first aspect, the AP is specifically configured to input the falling trajectory into a preset falling model to calculate an output result, and obtain a falling cause according to the output result.
In the electronic device provided in the first aspect, the AP is specifically configured to extract Y feature points from the fall estimation, obtain distance values, time values, and speed values corresponding to the Y feature points, form a three-dimensional matrix with the distance values, time values, and speed values, and input the three-dimensional matrix into the fall model to perform multi-layer forward operation to obtain an output result.
In the electronic device provided in the first aspect, the AP is specifically configured to query a maximum value of element values in the output result, determine that the drop reason is an intentional drop if the maximum value corresponds to an intentional drop at a position of the output result, and determine that the drop reason is an accidental drop if the maximum value corresponds to an accidental drop at the position of the output result.
In a second aspect, the method for determining a drop cause of the electronic device according to the drop track includes:
and inputting the falling track into a preset falling model to calculate to obtain an output result, and obtaining the falling reason according to the output result.
In a second aspect, the method for inputting the fall trajectory into a preset fall model to calculate an output result includes:
and extracting Y characteristic points from the fall estimation, acquiring distance values, time and speed values corresponding to the Y characteristic points, forming a three-dimensional matrix by the distance values, the time and the speed values, and inputting the three-dimensional matrix into a fall model to execute multilayer forward operation to obtain an output result.
In a second aspect, the obtaining of the drop cause according to the output result includes:
and inquiring the maximum value in the element values in the output result, if the maximum value correspondingly falls off intentionally at the position of the output result, determining that the falling reason is deliberately fallen, and if the maximum value correspondingly falls off accidentally at the position of the output result, determining that the falling reason is fallen off accidentally.
In a second aspect, a method for generating a fall trajectory of an electronic device from the velocity, distance, and acceleration data is provided, comprising:
traversing n acceleration values in the sequence of the acquisition time from the n acceleration values, searching G acceleration values which are larger than a set threshold value from the n acceleration values, and acquiring the first time t0 with the earliest acquisition time and the maximum time t0 with the latest acquisition time from the G acceleration valuesTime tmaxAcquiring distance sensor at t0 and tmaxThe number of distances F between t0 and t is obtainedmaxSelecting max (E, F, J), wherein J is the set number of the characteristic points of the fall estimation, adjusting the distance number F and the speed number E to max (E, F, J), and determining t0 and t in the fall coordinate systemmaxAnd the positions of max (E, F, J) feature points in between, and connecting the adjacent feature points to obtain the falling track. Max (E, F, J) represents the maximum value of E, F, J.
Referring to fig. 1, fig. 1 is a schematic view of an electronic device according to an embodiment of the present disclosure, fig. 1 is a schematic view of an electronic device 100 according to an embodiment of the present disclosure, where the electronic device 100 includes: the touch screen display device comprises a shell 110, a circuit board 120, a battery 130, a cover plate 140, a touch display screen 150, a Gravity Sensor (G-Sensor for short) 170 and a distance Sensor 180, wherein the circuit board 120, the battery 130 and the cover plate 140 are arranged on the shell 110, and the circuit board 120 is also provided with a circuit connected with the touch display screen 150; the circuit board 120 may further include: an application processor AP190, a gravity sensor 170, and a distance sensor 180, and a Positioning module (specifically, for example, a Global Positioning System (GPS) module or a beidou module) may be integrated in the application processor AP 190.
The touch Display screen may be a Thin Film Transistor-Liquid Crystal Display (TFT-LCD), a Light Emitting Diode (LED) Display screen, an Organic Light Emitting Diode (OLED) Display screen, or the like.
The gravity sensor 170 is used for detecting the direction and magnitude of the acceleration, and is equivalent to detecting the motion state of the electronic device. The function of the G-sensor is simple to understand, and mainly senses the change of the acceleration force, such as various movement changes of shaking, falling, rising, falling and the like, which can be converted into an electric signal by the G-sensor, and then the acceleration value of the electronic device can be determined after the calculation and analysis of the application processor AP 190.
Optionally, the electronic device may further include: the geomagnetic sensor and the gyroscope are respectively connected with the application processor AP 190. On the electronic device, the G-sensor not only works alone, but also works in cooperation with the geomagnetic sensor 171 and the gyroscope 172, providing more accurate and comprehensive motion sensing capability.
Specifically, in the electronic device, the gravity sensor 170 may actually be a parallel plate capacitor, and the capacitance value of the parallel plate capacitor is inversely proportional to the distance between the plates, and the linear acceleration in each direction can be calculated by detecting the capacitance change in the direction X, Y, Z.
Taking the acceleration calculation mode in the X direction as an example, the acceleration value may specifically be:
FIG. 1a is a schematic diagram of a parallel plate capacitor.
Referring to FIG. 1a, the acceleration corresponding to FIG. 1a is 0, and as shown in FIG. 1a, since there is no acceleration value, the middle parallel plate is at the initial position, and thus the capacitance C is obtained1=C0C of the1May be the capacitance between the parallel plate and the lower electrode, C0May be an initial capacitance value. Capacitance value C at this time2=C0C of the2Can be the capacitance between the parallel plate and the upper electrode, in this case, the capacitance C1Corresponding distance d1=d0(ii) a Capacitor C2Corresponding distance d2=d0(ii) a Wherein d is1May be the distance between the parallel plate and the lower electrode, d2May be the distance between the parallel plate and the upper electrode. Since the acceleration value at this time is zero, C1=C2=C0(ii) a A can be calculated according to the formulax=0。
Referring to FIG. 1b, the acceleration corresponding to FIG. 1b is positive, and the parallel plate will move toward the lower electrode due to the positive acceleration, and assuming that the moving distance is x, then for flatThe distance between the row plate and the upper electrode is increased by x, so that d is the distance1=d0-x,d2=d0+ x; the calculation formula according to the plate capacitance is shown as the following formula:
where S may be the corresponding area between the two plates of a parallel plate capacitor,. epsilon.is the dielectric constant (which is determined by the material of the plate electrodes), k is the electrostatic constant, and d is the distance between the two plates of the parallel plate capacitor.
The capacitance values shown in FIG. 1b are as follows:
therefore, C is due to the parallel plate of the parallel plate capacitor moving toward the lower electrode1>C2I.e. ax>0。
Referring to FIG. 1c, the acceleration corresponding to FIG. 1c is negative, and the parallel plate moves toward the upper electrode due to the negative acceleration, and if the moving distance is x, the distance between the parallel plate and the upper electrode is increased by x, so that d is the time when the distance between the parallel plate and the upper electrode is increased1=d0+x,d2=d0-x; the calculation formula according to the plate capacitance is shown as the following formula:
the capacitance values shown in FIG. 1c are as follows:
at this time due to the parallel plates of the parallel plate capacitorMove toward the upper electrode, so C1<C2I.e. ax<0。
That is, through the test of the parallel plate capacitor described above, a specific acceleration value can be obtained, and this value can indicate the direction of acceleration.
Specifically, for the electronic device, the tested acceleration value has three directions, as shown in fig. 1d, which is a schematic diagram of the three directions tested by the electronic device, specifically, the acceleration value can be divided into an X-axis direction, a Y-axis direction and a Z-axis direction, and the specific display schematic diagram is shown in fig. 1 d.
Specifically, in an optional drop test, the corresponding acceleration value during the drop process may be:
ax=0.049m/S2
ay=—0.026m/S2
az=9.800m/S2
the electronic device can be determined to be in a falling state according to the data.
As shown in fig. 2, for a schematic structural diagram of an electronic device provided in the present application, as shown in fig. 2, the electronic device 200 includes: the device comprises a shell, an application processor AP210, a touch display screen 220, a gravity sensor 250, a distance sensor 260 and a circuit 240, wherein the touch display screen is connected with the application processor AP through at least one circuit. The AP210 is connected to the gravity sensor 250 and the distance sensor through another circuit, where the circuit 240 specifically includes: a bus, a flexible circuit board, a connection chip, etc., although the circuit 240 may have other expressions in practical applications, and the embodiments of the present invention do not limit the expressions of the circuit 240. The electronic device 200 may further include: a geomagnetic sensor and a gyroscope, which may collect data in conjunction with the gravity sensor 250; the electronic device 200 may further include: an artificial intelligence processor, which may be separately provided or integrated with the application processor AP210, for convenience of description, as in the embodiment shown in fig. 2, the artificial intelligence processor is integrated in the AP210, and the AP210 may further integrate a positioning module, which is used for acquiring the position coordinates of the electronic device.
The gravity sensor 250 is used for acquiring acceleration data of the electronic device when the electronic device falls and transmitting the acceleration data to the application processor AP;
the distance sensor 260 is used for collecting the distance between the electronic device and the ground when the electronic device falls off and transmitting the distance to the AP 210;
the AP210 is configured to acquire a speed of the electronic device when the electronic device falls, generate a fall trajectory of the electronic device according to the speed, the distance, and the acceleration data, and determine a fall cause of the electronic device according to the fall trajectory.
The falling determination mode may specifically be determined according to an acceleration value, specifically, a state of the electronic device is determined according to the acceleration value, where the state includes: a non-falling state and a falling state;
optionally, the acceleration data may be a plurality of capacitance values of the parallel plate capacitor, and specifically, may be C as shown in fig. 1a, 1b, and 1C1And C2The value of (c). In practical application, of course, the acceleration data of X, Y, Z three axes as shown in fig. 1d needs to be collected. Of course, in practical applications, other gravity sensors are used, and the acceleration data may be other types of data, and the embodiments of the present application do not limit the actual expression of the acceleration data.
The speed may be obtained by acquiring two GPS coordinates in a time period by the AP210, acquiring a distance in the time period according to the two GPS coordinates, and obtaining the speed by dividing the distance by the time period. Of course, in practical applications, the AP210 may also use other manners to acquire the speed, and the application is not limited to the specific implementation manner of the speed.
The number of the acceleration values may be n acceleration values. Specifically, the AP210 traverses n acceleration values in the order of the acquisition points, and determines the AP to be in a falling state if m consecutive acceleration values are greater than a set threshold, or determines the AP to be in a non-falling state. Wherein n and m are integers greater than or equal to 2, and m is less than n.
Reasons for such falls include, but are not limited to: the drop can be one or more of intentional drop and accidental drop, and the drop reason can be of other types in practical application, and the specific embodiment of the application is not limited to the specific expression form of the drop reason.
The application provides a technical scheme gathers acceleration data, distance and speed when falling, generates electron device's the orbit that falls according to this acceleration data, distance and speed, and the orbit analysis that should fall is so according to obtaining the reason that falls, and the technical scheme of this application is based on multiple parameter judgement reason that falls, has considered the multiple condition, has improved the degree of accuracy that falls the reason and judges, improves user's experience degree.
The AP210 is specifically configured to traverse n acceleration values from the n acceleration values in the order of the acquisition time, search G acceleration values of the n acceleration values that are greater than a set threshold, and obtain a first time t0 at which the acquisition time is earliest and a maximum time t at which the acquisition time is latest from the G acceleration valuesmaxAcquiring distance sensor at t0 and tmaxThe number of distances F between t0 and t is obtainedmaxSelecting max (E, F, J), wherein J is the set number of the characteristic points of the fall estimation, adjusting the distance number F and the speed number E to max (E, F, J), and determining t0 and t in the fall coordinate systemmaxAnd the positions of max (E, F, J) feature points in between, and connecting the adjacent feature points to obtain the falling track. Max (E, F, J) represents the maximum value of E, F, J.
The fall trajectory is shown in fig. 3, and the characteristic point is the origin point shown in fig. 3, as shown in fig. 3.
The AP210 is specifically configured to input the falling trajectory into a preset falling model to calculate an output result, and obtain a falling cause according to the output result.
Optionally, the AP210 may be specifically configured to obtain an element number X of input data in the drop model, extract X/3 feature points from the drop trajectory, extract X/3 time values, X/3 velocity values, and X/3 distance values corresponding to the X/3 feature points, use the X/3 time values, X/3 velocity values, and X/3 distance values as X element numbers of the input data to form input data, input the input data into a preset drop model, perform multilayer forward operation to obtain a forward operation result, and output the forward operation result as an output result.
Optionally, the AP210 may be specifically configured to query a maximum value of element values in the output result, determine that the drop reason is intentional drop if the maximum value corresponds to intentional drop at the position of the output result, and determine that the drop reason is accidental drop if the maximum value corresponds to accidental drop at the position of the output result.
Optionally, the AP210 may be specifically configured to extract Y feature points from the fall estimation, obtain distance values, time values, and speed values corresponding to the Y feature points, form a three-dimensional matrix with the distance values, time values, and speed values, and input the three-dimensional matrix into the fall model to perform multilayer forward operation to obtain an output result.
Referring to fig. 4, fig. 4 provides a method for analyzing a drop cause, the method being applied in an electronic device, the electronic device including: the system comprises an application processor AP, a touch display screen, a gravity sensor and a distance sensor, wherein the touch display screen is connected with the application processor through at least one circuit; as shown in fig. 4, the method includes:
s401, acquiring acceleration data of the electronic device;
s402, collecting the distance between the electronic device and the ground;
step S403, acquiring a falling speed of the electronic device, generating a falling trajectory of the electronic device according to the falling speed, the falling distance and the acceleration data, and determining a falling cause of the electronic device according to the falling trajectory.
Optionally, the implementation method of step S403 may include:
traversing n acceleration values according to the sequence of acquisition time from the n acceleration values, searching G acceleration values which are larger than a set threshold value from the n acceleration values, and acquiring a first acceleration value with the earliest acquisition time from the G acceleration valuesTime t0 and latest maximum time tmaxAcquiring distance sensor at t0 and tmaxThe number of distances F between t0 and t is obtainedmaxSelecting max (E, F, J), wherein J is the set number of the characteristic points of the fall estimation, adjusting the distance number F and the speed number E to max (E, F, J), and determining t0 and t in the fall coordinate systemmaxAnd the positions of max (E, F, J) feature points in between, and connecting the adjacent feature points to obtain the falling track. Max (E, F, J) represents the maximum value of E, F, J.
Optionally, the implementation method of step S403 may include:
and inputting the falling track into a preset falling model to calculate to obtain an output result, and obtaining the falling reason according to the output result.
The above inputting the falling trajectory into a preset falling model to obtain an output result by calculation includes:
acquiring the element quantity X of input data in the falling model, extracting X/3 feature points from the falling track, extracting X/3 time values, X/3 speed values and X/3 distance values corresponding to the X/3 feature points, taking the X/3 time values, the X/3 speed values and the X/3 distance values as X element quantities of the input data to form input data, inputting the input data into a preset falling model to execute multilayer forward operation to obtain a forward operation result, and outputting the forward operation result as an output result.
Referring to fig. 5, fig. 5 provides an electronic device, including: a housing, a circuit board, a battery, a cover plate, a gravity sensor 504, a touch display screen 503, a distance sensor 501 and a processing unit 502, wherein,
a gravity sensor 504 for collecting acceleration data of the electronic device;
the pressure sensor 501 is used for acquiring the distance between the electronic device and the ground;
the processing unit 502 is configured to obtain a speed of the electronic device when the electronic device falls, generate a fall trajectory of the electronic device according to the speed, the distance, and the acceleration data, and determine a fall cause of the electronic device according to the fall trajectory.
The application provides a technical scheme gathers acceleration data, distance and speed when falling, generates electron device's the orbit that falls according to this acceleration data, distance and speed, and the orbit analysis that should fall is so according to obtaining the reason that falls, and the technical scheme of this application is based on multiple parameter judgement reason that falls, has considered the multiple condition, has improved the degree of accuracy that falls the reason and judges, improves user's experience degree.
Fig. 6 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present disclosure. Referring to fig. 6, the handset includes: radio Frequency (RF) circuit 910, memory 920, input unit 930, sensor 950, audio circuit 960, Wireless Fidelity (WiFi) module 970, application processor AP980, and power supply 990. Those skilled in the art will appreciate that the handset configuration shown in fig. 6 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. The application processor AP980 may also incorporate an AI processor, i.e., an artificial intelligence chip.
The following describes each component of the mobile phone in detail with reference to fig. 6:
the input unit 930 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 930 may include a touch display screen 933, a fingerprint recognition apparatus 931, a face recognition apparatus 936, an iris recognition apparatus 937, and other input devices 932. The input unit 930 may also include other input devices 932. In particular, other input devices 932 may include, but are not limited to, one or more of physical keys, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like. Wherein the content of the first and second substances,
and the sensor 950 is configured to acquire acceleration data of the electronic device and a distance between the mobile phone and the ground, and transmit the acceleration data and the distance value to the AP 980.
And the AP980 is used for acquiring the speed of the electronic device when the electronic device falls, generating a falling track of the electronic device according to the speed, the distance and the acceleration data, and determining the falling reason of the electronic device according to the falling track.
The AP980 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions and processes of the mobile phone by operating or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby integrally monitoring the mobile phone. Optionally, AP980 may include one or more processing units; alternatively, the AP980 may integrate an application processor that handles primarily the operating system, user interface, and applications, etc., and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into the AP 980.
Further, the memory 920 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.
RF circuitry 910 may be used for the reception and transmission of information. In general, the RF circuit 910 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 910 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The handset may also include at least one sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the touch display screen according to the brightness of ambient light, and the proximity sensor may turn off the touch display screen and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and a cell phone. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and the audio signal is converted by the speaker 961 to be played; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, and the electrical signal is received by the audio circuit 960 and converted into audio data, and the audio data is processed by the audio playing AP980, and then sent to another mobile phone via the RF circuit 910, or played to the memory 920 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 970, and provides wireless broadband Internet access for the user. Although fig. 6 shows the WiFi module 970, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope of not changing the essence of the application.
The handset also includes a power supply 990 (e.g., a battery) for supplying power to various components, and optionally, the power supply may be logically connected to the AP980 via a power management system, so that functions of managing charging, discharging, and power consumption are implemented via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, a light supplement device, a light sensor, and the like, which are not described herein again.
It can be seen that, through this application embodiment, after the acceleration data is gathered, the state of electron device is confirmed according to the acceleration data, when confirming for falling the state, gather the first picture on ground through the camera, then obtain the distance on electron device's ground according to acceleration value and acquisition time, extract electron device's second picture (specifically can be the appearance picture), just so can generate and have electron device fall the 3D animation on ground, improved user's experience degree.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes a computer to execute part or all of the steps of any one of the methods for analyzing a drop cause as described in the above method embodiments.
Embodiments of the present application also provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any one of the methods for analyzing a fall cause as described in the above method embodiments.
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 exemplary 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 division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. 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 may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The integrated units, if implemented in the form of software program modules and sold or used as stand-alone products, may be stored in a computer readable memory. 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 method described in 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 embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. An electronic device, the electronic device comprising: an application processor AP, a gravity sensor and a distance sensor, said gravity sensor and said distance sensor being connected to said AP via at least one circuit,
the gravity sensor is used for collecting acceleration data when the robot falls;
the distance sensor is used for collecting the distance between the electronic device and the ground when the electronic device falls;
the AP is used for acquiring the speed of the electronic device when the electronic device falls, generating a falling track of the electronic device according to the speed, the distance and the acceleration data, and determining the falling reason of the electronic device according to the falling track;
in the aspect of generating the drop trajectory of the electronic device, the AP is specifically configured to:
traversing n acceleration values in the n acceleration values of the acceleration data according to the sequence of the acquisition time, searching G acceleration values which are larger than a set threshold value in the n acceleration values, and acquiring the first time t0 with the earliest acquisition time and the latest maximum time t from the G acceleration valuesmaxAcquiring the distance sensor at the t0 and the tmaxThe number of distances F between them, obtainedT0 and tmaxSelecting max (E, F, J), wherein J is the set number of the characteristic points of the falling track, adjusting the distance number F and the speed number E to max (E, F, J), and determining the t0 and the t in the falling coordinate systemmaxMax (E, F, J) feature points in between, connecting adjacent feature points to obtain the fall trajectory, where max (E, F, J) represents the maximum value in E, F, J.
2. The electronic device of claim 1,
and the AP is specifically used for inputting the falling track into a preset falling model to calculate to obtain an output result, and obtaining the falling reason according to the output result.
3. The electronic device of claim 2,
the AP is specifically used for extracting Y characteristic points from the falling track, acquiring distance values, time and speed values corresponding to the Y characteristic points, forming a three-dimensional matrix by the distance values, the time and the speed values, and inputting the three-dimensional matrix into the falling model to execute multilayer forward operation to obtain an output result.
4. The electronic device of claim 2,
the AP is specifically configured to query a maximum value of the element values in the output result, determine that the drop reason is intentional drop if the maximum value is intentionally dropped at the position of the output result, and determine that the drop reason is accidental drop if the maximum value is mistakenly dropped at the position of the output result.
5. A method for analyzing a drop cause is applied to an electronic device, and the method comprises the following steps:
acquiring acceleration data of the electronic device;
collecting the distance between the electronic device and the ground;
acquiring the speed of the electronic device when the electronic device falls, generating a falling track of the electronic device according to the speed, the distance and the acceleration data, and determining the falling reason of the electronic device according to the falling track;
the generating a fall trajectory of the electronic device according to the speed, distance and acceleration data comprises:
traversing n acceleration values in the acceleration data according to the sequence of the acquisition time, searching G acceleration values which are larger than a set threshold value in the n acceleration values, and acquiring the first time t0 with the earliest acquisition time and the latest maximum time t from the G acceleration valuesmaxAcquiring the distance sensor at the t0 and the tmaxThe number of distances F between the t0 and the t is obtainedmaxSelecting max (E, F, J), wherein J is the set number of the characteristic points of the falling track, adjusting the distance number F and the speed number E to max (E, F, J), and determining the t0 and the t in the falling coordinate systemmaxMax (E, F, J) feature points in between, connecting adjacent feature points to obtain the fall trajectory, where max (E, F, J) represents the maximum value in E, F, J.
6. The method of claim 5, wherein determining the drop cause of the electronic device according to the drop trajectory comprises:
and inputting the falling track into a preset falling model to calculate to obtain an output result, and obtaining the falling reason according to the output result.
7. The method of claim 6, wherein inputting the fall trajectory into a predetermined fall model to obtain an output comprises:
extracting Y characteristic points from the falling track, acquiring distance values, time and speed values corresponding to the Y characteristic points, forming a three-dimensional matrix by the distance values, the time and the speed values, and inputting the three-dimensional matrix into the falling model to execute multilayer forward operation to obtain an output result.
8. The method of claim 6, wherein obtaining the cause of the drop based on the output comprises:
and inquiring the maximum value in the element values in the output result, if the maximum value correspondingly falls off intentionally at the position of the output result, determining that the falling reason is deliberately fallen, and if the maximum value correspondingly falls off accidentally at the position of the output result, determining that the falling reason is fallen off accidentally.
9. An electronic device, the electronic device comprising: a processing unit, a touch display screen, a gravity sensor, a circuit and a distance sensor,
the gravity sensor is used for acquiring acceleration data of the electronic device;
the distance sensor is used for acquiring the distance between the electronic device and the ground;
the processing unit is used for acquiring the speed of the electronic device when the electronic device falls, generating a falling track of the electronic device according to the speed, the distance and the acceleration data, and determining the falling reason of the electronic device according to the falling track;
in the aspect of generating the drop trajectory of the electronic device, the processing unit is specifically configured to:
traversing n acceleration values in the acceleration data according to the sequence of the acquisition time, searching G acceleration values which are larger than a set threshold value in the n acceleration values, and acquiring the first time t0 with the earliest acquisition time and the latest maximum time t from the G acceleration valuesmaxAcquiring the distance sensor at the t0 and the tmaxThe number of distances F between the t0 and the t is obtainedmaxSelecting max (E, F, J), wherein J is the set number of the characteristic points of the falling track, adjusting the distance number F and the speed number E to max (E, F, J), and determining the t0 and the t in the falling coordinate systemmaxMax (E, F, J) feature points in between, and connecting adjacent feature points to obtain the fall trajectory, wherein max (E, F, J) represents E,F. The maximum value in J.
10. A computer-readable storage medium, characterized in that it stores a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 5-8.
11. A computer program product, characterized in that the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform the method according to any of claims 5-8.
CN201810064417.2A 2018-01-23 2018-01-23 Method for analyzing falling reasons and related product Active CN108307058B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810064417.2A CN108307058B (en) 2018-01-23 2018-01-23 Method for analyzing falling reasons and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810064417.2A CN108307058B (en) 2018-01-23 2018-01-23 Method for analyzing falling reasons and related product

Publications (2)

Publication Number Publication Date
CN108307058A CN108307058A (en) 2018-07-20
CN108307058B true CN108307058B (en) 2020-07-03

Family

ID=62865977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810064417.2A Active CN108307058B (en) 2018-01-23 2018-01-23 Method for analyzing falling reasons and related product

Country Status (1)

Country Link
CN (1) CN108307058B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9167061B2 (en) * 2012-03-29 2015-10-20 Gary Shuster Gyroscopic alerting mechanism for portable communications device
CN104460696B (en) * 2014-10-29 2017-05-24 广东欧珀移动通信有限公司 Protection processing method, system and device for mobile terminal falling
JP2017046087A (en) * 2015-08-25 2017-03-02 金 昌植 Mobile terminal case
CN105162993A (en) * 2015-10-28 2015-12-16 深圳市大悦智能科技有限公司 Automatic surveying method for mobile phone screen breaking insurance
CN106412249B (en) * 2016-09-06 2019-07-16 Oppo广东移动通信有限公司 The detection method and device of drop information
CN106357897B (en) * 2016-09-06 2019-07-16 Oppo广东移动通信有限公司 The acquisition methods and device of drop information
CN106355115B (en) * 2016-09-06 2019-05-03 Oppo广东移动通信有限公司 A kind of drop information processing method and processing device
CN106453830A (en) * 2016-09-06 2017-02-22 广东欧珀移动通信有限公司 Falling detection method and device
CN106979782B (en) * 2017-02-21 2019-11-01 深圳市海派通讯科技有限公司 Mobile terminal falls detection method and mobile terminal

Also Published As

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

Similar Documents

Publication Publication Date Title
CN107292237B (en) Fingerprint acquisition method and related product
CN107220592B (en) Optical fingerprint acquisition method and related product
CN107770729B (en) Signal intensity prompting method and related product
CN107146616A (en) Apparatus control method and Related product
CN107341006B (en) Screen locking wallpaper recommendation method and related products
CN104571529A (en) Application wake method and mobile terminal
CN107562303B (en) Method and device for controlling element motion in display interface
US10663521B2 (en) Method and device for ascertaining required charging time
CN108255632B (en) Fall data calculation method based on artificial intelligence and related product
CN108989546B (en) Approach detection method of electronic device and related product
EP3829189A1 (en) Volume-based master-slave switching method and related products
CN107172267B (en) Fingerprint identification control method and related product
CN107256383B (en) Fingerprint acquisition method and device, related terminal equipment and readable storage medium
CN108307049B (en) Drop model updating method of electronic device and related product
CN108307058B (en) Method for analyzing falling reasons and related product
CN110188675B (en) Vein collection method and related products
CN105486302A (en) Map displaying method and terminal
CN108196717B (en) Electronic device and related product
CN108227840B (en) Electronic device and related product
CN108307057B (en) Fall data analysis method and related product
CN108769383B (en) Fall data processing method and related product
CN104423865A (en) Method and device for displaying playing cards on terminal with touch screen
CN110771121A (en) Application resource recommendation method and related equipment
CN109068006B (en) Drop reporting method, related equipment and storage medium
CN106484688B (en) Data processing method and system

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