CN106371630B - A kind of processing method for falling data, device and mobile terminal - Google Patents

A kind of processing method for falling data, device and mobile terminal Download PDF

Info

Publication number
CN106371630B
CN106371630B CN201610807103.8A CN201610807103A CN106371630B CN 106371630 B CN106371630 B CN 106371630B CN 201610807103 A CN201610807103 A CN 201610807103A CN 106371630 B CN106371630 B CN 106371630B
Authority
CN
China
Prior art keywords
mobile terminal
acceleration value
falling
normal acceleration
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201610807103.8A
Other languages
Chinese (zh)
Other versions
CN106371630A (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 CN201610807103.8A priority Critical patent/CN106371630B/en
Publication of CN106371630A publication Critical patent/CN106371630A/en
Application granted granted Critical
Publication of CN106371630B publication Critical patent/CN106371630B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The present invention provides a kind of processing method for falling data, device and mobile terminal, including:Whether detection mobile terminal, which is in, is fallen state;When detect the mobile terminal be in fall state when, controlling the mobile terminal, back is down when falling;When falling down at mobile terminal back, whether the normal acceleration value for detecting the mobile terminal occurs exception;If detecting, exception occurs for the normal acceleration value of the mobile terminal, controls the mobile terminal to be rotated in landing, to discharge gravitional force.The present invention is by the way that when mobile terminal falls, control mobile terminal back down, is rotated when mobile terminal lands; discharge gravitional force; relative to prior art, significant increase mobile terminal security when falling, the screen of mobile terminal is preferably protected.

Description

A kind of processing method for falling data, device and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of processing method for falling data, device and movement Terminal.
Background technology
With the development and popularization of mobile terminal, among mobile terminal also increasingly penetrates with daily life, such as Mobile phone, have become communication tool indispensable in people's life.
During routine use mobile phone, situation that mobile phone can fall unavoidably, because current mobile phone is mostly Contact action structure, therefore screen size is increasing, the probability that screen damages because of falling is also increasing, prior art In there is no the method for effectively screen anti-tamper, therefore, how solving the flimsy technology of screen, there is an urgent need to be resolved.
The content of the invention
It is an object of the invention to provide a kind of processing method for falling data, device and mobile terminal, it is intended to which lifting moves Security when dynamic terminal is dropped.
In order to solve the above technical problems, the embodiment of the present invention provides following technical scheme:
A kind of processing method for falling data, including:
Whether detection mobile terminal, which is in, is fallen state;
When detect the mobile terminal be in fall state when, controlling the mobile terminal, back is down when falling;
When falling down at mobile terminal back, whether the normal acceleration value for detecting the mobile terminal occurs exception;
If detecting, exception occurs for the normal acceleration value of the mobile terminal, controls the mobile terminal in landing Rotated, to discharge gravitional force.
In order to solve the above technical problems, the embodiment of the present invention also provides following technical scheme:
A kind of processing unit for falling data, including:
Fall detection module, fall state for detecting mobile terminal and whether being in;
First control module, for when detect the mobile terminal be in fall state when, control the mobile terminal When falling, back is down;
Acceleration detection module, during for falling down at mobile terminal back, detect the vertical of the mobile terminal plus Whether velocity amplitude occurs exception;
Second control module, for when the normal acceleration value for detecting the mobile terminal occurs abnormal, controlling institute State mobile terminal to be rotated in landing, to discharge gravitional force.
In order to solve the above technical problems, the embodiment of the present invention also provides following technical scheme:
A kind of mobile terminal, including:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs the embodiment of the present invention and carries Any processing method for falling data supplied.
Relative to prior art, a kind of processing method for falling data, device and mobile terminal that the present embodiment provides, lead to Cross when mobile terminal falls, control mobile terminal back down, is rotated when mobile terminal lands, and discharges gravity Potential energy, relative to prior art, significant increase mobile terminal security when falling, preferably protect the screen of mobile terminal Curtain.
Brief description of the drawings
Below in conjunction with the accompanying drawings, by the way that the embodiment of the present invention is described in detail, technical scheme will be made And other beneficial effects are apparent.
Fig. 1 is the schematic flow sheet of the processing method provided in an embodiment of the present invention for falling data;
Fig. 2 is gravity sensor induction acceleration direction schematic diagram provided in an embodiment of the present invention;
Fig. 3 is another schematic flow sheet of the processing method provided in an embodiment of the present invention for falling data;
Fig. 4 is the module diagram of the processing unit provided in an embodiment of the present invention for falling data;
Fig. 5 is another module diagram of the processing unit provided in an embodiment of the present invention for falling data;
Fig. 6 is mobile terminal structure schematic diagram provided in an embodiment of the present invention.
Embodiment
Schema is refer to, wherein identical element numbers represent identical component, and principle of the invention is to implement one Illustrated in appropriate computing environment.The following description is based on the illustrated specific embodiment of the invention, and it should not be by It is considered as the limitation present invention other specific embodiments not detailed herein.
Term as used herein " module " can regard the software object to be performed in the arithmetic system as.It is as described herein Different components, module, engine and service can be regarded as the objective for implementation in the arithmetic system.And device as described herein and side Method is preferably implemented in a manner of software, can also be implemented certainly on hardware, within the scope of the present invention.
It will be described in detail respectively below.
In the present embodiment, will be described from the angle for the processing unit for falling data, this falls the processing dress of data Putting can specifically integrate in the terminal, such as:Smart mobile phone, tablet personal computer etc..
A kind of processing method for falling data, including:Whether detection mobile terminal, which is in, is fallen state;It is described when detecting Mobile terminal is in when falling state, and controlling the mobile terminal, back is down when falling;At mobile terminal back towards drop When falling, whether the normal acceleration value for detecting the mobile terminal occurs exception;If detecting, the vertical of the mobile terminal adds Exception occurs for velocity amplitude, then controls the mobile terminal to be rotated in landing, to discharge gravitional force.
Referring to Fig. 1, Fig. 1 is the schematic flow sheet of the processing method provided in an embodiment of the present invention for falling data.
It is understood that the data of falling are obtained for mobile terminal in falling process by the sensor on mobile terminal The time interval for falling state that the normal acceleration and processor taken calculates according to normal acceleration.
Specifically, methods described includes:
In step S101, whether detection mobile terminal, which is in, is fallen state.
Wherein, if detecting that the mobile terminal is in falls state, step S102 is performed, if detecting the movement Whether terminal is not at falling state, then continue to detect the mobile terminal and be in fall state.
Specifically, whether the detection mobile terminal, which is in, is fallen state, including:
(1) the current normal acceleration value of mobile terminal is obtained.
Wherein, the normal acceleration value refers to what is obtained by mobile terminal gravity sensor, referring to Fig. 2, Fig. 2 For gravity sensor induction acceleration direction schematic diagram, including X-axis, Y-axis and Z axis, the normal acceleration value is specific Refer to the acceleration magnitude of Z-direction straight down, the unit of acceleration magnitude is M/S2
It is understood that gravity sensor (Gravity Sensor, G-sensor) is used for the direction for detecting acceleration And size, be equivalent to the motion state of detection mobile phone, the function of gravity sensor understand get up it is fairly simple, mainly perceive plus The change of turn of speed, for example the various mobile changes such as rock, fall, rising, declining and electric signal can be converted into by gravity sensor, Then after being analyzed by the calculating of microprocessor, it becomes possible to complete the good function of programming.
The mobile terminal acceleration schematic diagram of table 1
X 0.053
Y -0.006
Z 9.793
For example refer to shown in table 1, table 1 is mobile terminal acceleration schematic diagram, and this data keeps flat for mobile terminal to be fallen When, acquired each axle acceleration data.
(2) judge whether the normal acceleration value exceedes predetermined acceleration value.
It is understood that the predetermined acceleration value should be set to gravity acceleration value, but due in the application of reality, Mobile terminal, due to the different reason of gravity acceleration value by air drag and each area, is preset and added in drop Velocity amplitude and acceleration of gravity have certain error, so to may be configured as force of gravity acceleration low certain for the predetermined acceleration value The value of scope, such as 9.5M/S2
Wherein, if judging, the normal acceleration value exceedes predetermined acceleration value, step (3) is performed, if judging The normal acceleration value is no more than predetermined acceleration value, then performs step (4).
(3) if judging, the normal acceleration value exceedes predetermined acceleration value, is determined as that the mobile terminal is in Fall state.
(4) if judging, the normal acceleration value is no more than predetermined acceleration value, is determined as the mobile terminal not In falling state.
For example mobile phone obtains the acceleration magnitude of mobile phone straight down, such as 9.7M/S by gravity sensor2, now hand Predetermined acceleration value on machine is 9.5M/S2, the acceleration magnitude of mobile phone straight down is more than predetermined acceleration value, is determined as now Mobile phone, which is in, falls state.
In step s 102, when detect mobile terminal be in fall state when, control mobile terminal back when falling Down.
It is understood that the back of the mobile terminal is the opposing face relative to mobile terminal screen, for movement eventually The rear shell surface at end.
Wherein, the mobile terminal can be set in falling process by installing the brakings such as motor in the terminal in advance It is standby, the starter motor in falling process, make mobile terminal land the back side, due to mobile terminal toward fixed direction vibrations The back side is the most firm position of mobile terminal, and avoids the direct collision on the ground of screen and cause broken situation, therefore can be more The safety of good protection mobile terminal.
In a kind of possible embodiment, can in advance the mobile terminal back side increase by one layer of elastomeric material, as sponge, Rubber etc., certain buffering effect, the injury of bigger reduction mobile terminal can be so obtained in landing.
In step s 103, when falling down at mobile terminal back, detect mobile terminal normal acceleration value whether Generation is abnormal.
It is understood that in the moment of mobile terminal landing, speed is almost changed into 0, and normal acceleration now can become It is very small, the change of this normal acceleration can be obtained by gravity sensor to judge whether mobile terminal lands.
Wherein, if abnormal, execution step S104 occurs for the normal acceleration value of the mobile terminal, if described mobile whole Whether the normal acceleration no exceptions at end, then the normal acceleration value for continuing to detect the mobile terminal occur exception.
Specifically, whether the normal acceleration value for detecting the mobile terminal occurs exception, including:
(1) whether detection change of normal acceleration value in preset time exceedes preset range.
Wherein, if detecting, the change of the normal acceleration value in preset time exceedes preset range, performs step (2), if detecting, the change of the normal acceleration value in preset time is no more than preset range, performs step (3).
For example mobile phone, within the time of 0.2 second, normal acceleration is suddenly from 9.7M/S2It is changed into 0.6M/S2, then described in explanation The situation that mobile phone is landed.
(2) if detecting, the change of the normal acceleration value in preset time exceedes preset range, is determined as the shifting The normal acceleration value of dynamic terminal occurs abnormal.
(3) if detecting, the change of the normal acceleration value in preset time is no more than preset range, is determined as described The normal acceleration value no exceptions of mobile terminal.
In step S104, if detecting, exception occurs for the normal acceleration value of mobile terminal, and control mobile terminal exists Rotated during landing, to discharge gravitional force.
It is understood that mobile terminal starts to rotate in the moment of landing, the gravitional force of a part can be converted For rotary power potential energy, more fully reduce stress of the mobile terminal in landing, protect the security of mobile terminal.
Wherein it is possible to landing the mobile terminal by opening the motor equal power device of installation on mobile terminals Moment start to rotate.
From the foregoing, a kind of processing method for falling data that the present embodiment provides, by when mobile terminal falls, Control mobile terminal back down, rotated when mobile terminal lands, gravitional force is discharged, relative to existing skill Art, significant increase mobile terminal security when falling, preferably protect the screen of mobile terminal.
Citing, is described in further detail by the method according to described by above-described embodiment below.
Referring to Fig. 3, Fig. 3 is another schematic flow sheet of the processing method provided in an embodiment of the present invention for falling data.
Specifically, methods described includes:
In step s 201, detect mobile terminal and whether be in and fall state.
In a kind of possible embodiment, fall state whether detection mobile terminal is in, in addition to
Rotation motor is set on mobile terminals.The rotation motor is connected to the processor of mobile terminal, can receive The execution order that mobile terminal is sent.
For example four micro motors are installed in the inside of mobile phone, this 4 micro motors connection cell phone mainboard, mobile phone can be with Control command is conducted to motor.
Wherein, if detecting that the mobile terminal is in falls state, step S202 is performed, if detecting the movement Terminal is not at falling state, then performs step S201.
Specifically, whether the detection mobile terminal, which is in, is fallen state, including:
(1) the current normal acceleration value of mobile terminal is obtained.
(2) judge whether the normal acceleration value exceedes predetermined acceleration value.
Wherein, if judging, the normal acceleration value exceedes predetermined acceleration value, step (3) is performed, if judging The normal acceleration value is no more than predetermined acceleration value, then performs step (4).
(3) if judging, the normal acceleration value exceedes predetermined acceleration value, is determined as that the mobile terminal is in Fall state.
(4) if judging, the normal acceleration value is no more than predetermined acceleration value, is determined as the mobile terminal not In falling state.
For example the predetermined acceleration value given tacit consent in mobile phone is 9.5M/S2, now detect the acceleration of mobile terminal straight down Angle value is if 9.7M/S2, it is judged as being more than predetermined acceleration value, then illustrates that now mobile phone is in the state fallen.
In step S202, the rotation motor set on mobile terminal is driven to control mobile terminal back court when falling Under.
Wherein, driving rotation motor is to get mobile terminal by the gravity sensor of mobile terminal and be in fall state When, a control instruction is produced, control instruction is sent to the motor being connected on mobile terminal and realized, in rotation motor After receiving control instruction, perform vibrations operation so that the screen of mobile terminal want to toss about i.e. dorsal part down, reduce mobile terminal Injury.
Such as mobile phone detect in fall state when, by processor produce a control instruction, by this control instruction Send to being connected on four micro motors of mobile phone, after micro motor receives control instruction, start to shake, mobile phone is existed It is aerial to complete upset, reach a back purpose directed downwardly.
In step S203, whether the normal acceleration value for detecting mobile terminal occurs exception.
It is understood that in the moment of mobile terminal landing, speed is almost changed into 0, and normal acceleration now can become Must be very small, the change of this normal acceleration can be obtained by gravity sensor to judge whether mobile terminal lands.
Wherein, if abnormal, execution step S204 occurs for the normal acceleration value of the mobile terminal, if described mobile whole The normal acceleration value no exceptions at end, then perform step S203.
(1) whether detection change of normal acceleration value in preset time exceedes preset range.
Wherein, if detecting, the change of the normal acceleration value in preset time exceedes preset range, performs step (2), if detecting, the change of the normal acceleration value in preset time is no more than preset range, performs step (3).
(2) if detecting, the change of the normal acceleration value in preset time exceedes preset range, is determined as the shifting The normal acceleration value of dynamic terminal occurs abnormal.
(3) if detecting, the change of the normal acceleration value in preset time is no more than preset range, is determined as described The normal acceleration value no exceptions of mobile terminal.
For example in mobile phone in the moment of landing, due to being collided with ground, acceleration straight down is drastically smaller, When the gravity sensor on mobile phone in very short time as in 0.2 second time, acceleration straight down is by 9.7M/S2It is changed into 0.6M/S2, difference, which changes, has exceeded preset range, then it represents that now mobile phone falls on the ground, is determined as the vertical acceleration of mobile phone Degree occurs abnormal.
In step S204, obtain mobile terminal and be in the time interval for falling state.
Wherein, the time interval for falling state be mobile terminal by fall state when timing until detection It is that mobile terminal terminates timing when landing to normal acceleration exception.
In step S205, rotational time value is determined according to time interval.
It is understood that the time interval has indirectly reacted the height that mobile terminal is dropped, time interval is longer, The height that mobile terminal is dropped is higher, then more easily causes damage.
The time interval contingency table of table 2
Time interval Rotational time value
0~0.5S 1S
0.5~1S 2S
1~1.5S 3S
For example refer to shown in table 2, table 2 is time interval contingency table, and time interval is longer as can be seen from the table, corresponding Rotational time value is longer.
For example detect that drop-out time is 0.7S to mobile phone in the air, referring to table 1, scope determines hand between 0.5~1S Machine rotational time value is 2S.
In step S206, when control mobile terminal is rotated in landing, value of starting the clock, when time value etc. When the rotational time value, the mobile terminal is controlled to stop the rotation.
Wherein, when detecting that normal acceleration occurs abnormal, that is, mobile terminal landing is represented, produces rotation instruction, will The rotation instruction is sent to the rotation motor being connected with mobile terminal, to drive the rotation motor, controls the movement Terminal is rotated in landing.
In a kind of possible embodiment, mobile terminal can send prompting message in rotary course, to prompt user Mobile terminal drop, prevent from losing.
For example mobile phone produces rotation instruction when falling, the rotation instruction is sent to connection and the rotation on mobile phone In motor, rotation motor receives rotation instruction and starts to shake, after mobile phone is started rotation by vibrations, when mobile phone starts to calculate Between be worth, when mobile phone calculated time value is 2S, i.e. the rotational time value 2S equal to above-mentioned determination, mobile phone produce a closing refer to Order, the out code is sent to rotation motor, and the rotation motor receives out code, stops the rotation.
From the foregoing, a kind of processing method for falling data that the present embodiment provides, by being set in advance on mobile phone Rotation motor is put, when mobile terminal falls, driving rotation motor calculates mobile terminal and fallen to control mobile terminal back down Time to determine rotational time, is based on rotational time to be rotated when mobile terminal lands, to discharge gravitional force, Relative to prior art, significant increase mobile terminal security when falling, the screen of mobile terminal is preferably protected.
For ease of preferably implementing the processing method provided in an embodiment of the present invention for falling data, the embodiment of the present invention also carries For a kind of device based on the above-mentioned processing method for falling data.The wherein implication of noun and the above-mentioned processing method for falling data In it is identical, specific implementation details may be referred to explanation in embodiment of the method.
Referring to Fig. 4, Fig. 4 is the module diagram of the processing unit provided in an embodiment of the present invention for falling data.Specifically For, the processing unit 300 for falling data, including:Fall detection module 31, the first control module 32, acceleration detection The control module 34 of module 33 and second.
It is described to fall detection module 31, fall state for detecting mobile terminal and whether being in.
First control module 32, for when detect the mobile terminal be in fall state when, control the shifting Back is down when falling for dynamic terminal.
Wherein, the mobile terminal can be set in falling process by installing the brakings such as motor in the terminal in advance It is standby, by the starter motor of the first control module 32 in falling process, mobile terminal is made the back of the body toward fixed direction vibrations Land in face.
The acceleration detection module 33, during for falling down at mobile terminal back, detect the mobile terminal Whether normal acceleration value occurs exception.
It is understood that in the moment of mobile terminal landing, speed is almost changed into 0, and normal acceleration now can become It is very small, can by the acceleration detection module 33 call gravity sensor obtain normal acceleration anomalous variation come Whether detection is mobile lands.
Second control module 34, for when detect the mobile terminal normal acceleration value occur it is abnormal when, The mobile terminal is controlled to be rotated in landing, to discharge gravitional force.
Wherein it is possible to landing the mobile terminal by opening the motor equal power device of installation on mobile terminals Moment start to rotate.
From the foregoing, a kind of processing unit for falling data that the present embodiment provides, by when mobile terminal falls, Control mobile terminal back down, rotated when mobile terminal lands, gravitional force is discharged, relative to existing skill Art, significant increase mobile terminal security when falling, preferably protect the screen of mobile terminal.
Citing, is described in further detail by the device according to described by above-described embodiment below.
Referring to Fig. 5, Fig. 5 is another module diagram of the processing unit provided in an embodiment of the present invention for falling data. Specifically, the processing unit 400 for falling data, including:Fall detection module 41, the first control module 42, acceleration Detection module 43, time interval acquisition module 44, the control module 46 of time value determining module 45 and second.
Wherein, detection module 41, the first control module 42, the acceleration detection module 43 and second fallen controls mould Block 46 is controlled with fall detection module 31, the first control module 32, the acceleration detection module 33 and second in above-described embodiment Molding block 34.The function of being realized is consistent, does not repeat herein.
The setup module 41, for setting rotation motor on mobile terminals.
Wherein, the rotation motor in the setup module 41 is connected to mobile terminal, can receive mobile terminal transmission Perform order.
It is described to fall detection module 41, fall state for detecting mobile terminal and whether being in.
Wherein, the detection module 41 that falls includes:Acquisition submodule 411, judging submodule 412 and decision sub-module 413。
Specifically, the acquisition submodule 411, the normal acceleration value current for obtaining mobile terminal.It is described to sentence Disconnected submodule 412, for judging whether the normal acceleration value exceedes predetermined acceleration value.The decision sub-module 413, use Fall state in when judging that the normal acceleration value exceedes predetermined acceleration value, being determined as that the mobile terminal is in. The decision sub-module 413, it is additionally operable to, when judging that the normal acceleration value is no more than predetermined acceleration value, be determined as institute Mobile terminal is stated to be not at falling state.
First control module 42, the rotation motor set on mobile terminal is driven to control the mobile terminal falling Back is down when falling.
Wherein, control instruction is produced by first control module, the control instruction is sent to rotation motor, to drive Dynamic motor starts vibrations operation, and controlling the mobile terminal, back is down when falling.
The acceleration detection module 43, during for falling down at mobile terminal back, detect the mobile terminal Whether normal acceleration value occurs exception.
Wherein, the acceleration detection module 43 includes:Detection sub-module 431 and decision sub-module 432.
Specifically, the detection sub-module 431, for detect in preset time normal acceleration value change whether More than preset range.The decision sub-module 432, with for surpassing when the change for detecting the normal acceleration value in preset time When crossing preset range, it is determined as that exception occurs for the normal acceleration value of the mobile terminal.The decision sub-module 432, is also used In when the change for detecting the normal acceleration value in preset time is no more than preset range, it is determined as the mobile terminal Normal acceleration value no exceptions.
It is understood that in the moment of mobile terminal landing, speed is almost changed into 0, and normal acceleration now can become Must be very small, the acceleration detection module 43 can be by calling gravity sensor to obtain this change to judge mobile terminal Whether land.
The time interval acquisition module 44, for obtaining mobile terminal in the time interval for falling state.
Wherein, the time interval acquisition module 44 fall detection module 41 detect mobile terminal be in fall state When start timing and terminate timing when acceleration detection module 43 detects normal acceleration abnormal i.e. mobile terminal landing.
The time value determining module 45, for determining rotational time value according to the time interval.
Second control module 46, when being additionally operable to control the mobile terminal rotated in landing, start to calculate Time value, when the time value is equal to the rotational time value, the mobile terminal is controlled to stop the rotation.
From the foregoing, a kind of processing unit for falling data that the present embodiment provides, by being set in advance on mobile phone Rotation motor is put, when mobile terminal falls, driving rotation motor calculates mobile terminal and fallen to control mobile terminal back down Time to determine rotational time, is based on rotational time to be rotated when mobile terminal lands, to discharge gravitional force, Relative to prior art, significant increase mobile terminal security when falling, the screen of mobile terminal is preferably protected.
Referring to Fig. 6, Fig. 6 is mobile terminal structure schematic diagram provided in an embodiment of the present invention.Described in the present embodiment Mobile terminal, including:At least one input equipment 1000;At least one output equipment 2000;At least one processor 3000, Such as central processing unit (CPU, Central Processing Unit);It is above-mentioned input equipment 1000, defeated with memory 4000 Go out equipment 2000, processor 3000 and memory 4000 to connect by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely contact panel, physical button or mouse etc..
Above-mentioned output equipment 2000 concretely display screen.
Above-mentioned memory 4000 can be high-speed RAM memory, or non-labile memory (non-volatile ), such as magnetic disk storage memory.Above-mentioned memory 4000 is used to store batch processing code, above-mentioned input equipment 1000, defeated Go out equipment 2000 and processor 3000 is used to call the program code stored in memory 4000, perform following operation:
Code is performed by processor 3000, whether detection mobile terminal, which is in, is fallen state.
By processor 3000 perform code, when detect the mobile terminal be in fall state when, control the shifting Back is down when falling for dynamic terminal.
Code is performed by processor 3000, when falling down at mobile terminal back, detects hanging down for the mobile terminal Whether straight acceleration magnitude occurs exception.
Code is performed by processor 3000, if detecting, exception occurs for the normal acceleration value of the mobile terminal, The mobile terminal is controlled to be rotated in landing, to discharge gravitional force.
In some embodiments, code can also carry out by processor 3000, the detection mobile terminal is It is no before fall state, in addition to:Control the mobile terminal when falling back down, including:Drive mobile terminal The rotation motor of upper setting, the rotation motor driving under control the mobile terminal falling when back down;Control institute Mobile terminal is stated to be rotated in landing, including:The rotation motor set on driving mobile terminal, drives in the rotation motor The dynamic lower control mobile terminal is rotated in landing.
In some embodiments, code can also carry out by processor 3000, the detection mobile terminal is No be in falls state, including:Obtain the current normal acceleration value of mobile terminal;Judge whether the normal acceleration value surpasses Cross predetermined acceleration value;If judging, the normal acceleration value exceedes predetermined acceleration value, is determined as the mobile terminal In falling state;If judging, the normal acceleration value is no more than predetermined acceleration value, is determined as the mobile terminal It is not at falling state.
In some embodiments, code can also carry out by processor 3000, the detection mobile terminal Whether normal acceleration value occurs exception, including:The change of the normal acceleration value in preset time is detected whether more than default Scope;If detecting, the change of the normal acceleration value in preset time exceedes preset range, is determined as the mobile terminal Normal acceleration value occur it is abnormal;If detecting, the change of the normal acceleration value in preset time is no more than preset range, Then it is determined as the normal acceleration value no exceptions of the mobile terminal.
In some embodiments, code can also carry out by processor 3000, the control mobile terminal exists Before being rotated during landing, in addition to:Obtain mobile terminal and be in the time interval for falling state;According to the time interval Determine rotational time value;The mobile terminal is controlled to be rotated in landing, including:The mobile terminal is controlled in landing When being rotated, value of starting the clock, when the time value is equal to the rotational time value, the mobile terminal is controlled to stop Spin-ended turn.
By the mobile terminal can perform any processing method for falling data that inventive embodiments are provided, because This, it is possible to achieve any beneficial effect fallen achieved by the processing method of data that inventive embodiments are provided, refer to Embodiment above, will not be repeated here.
It when it is implemented, above unit can be realized as independent entity, can also be combined, be made Realized for same or several entities, the specific implementation of above unit can be found in embodiment of the method above, herein not Repeat again.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, the detailed description above with respect to the processing method for falling data is may refer to, here is omitted.
The processing method for falling data, device and mobile terminal provided in an embodiment of the present invention, it is for example tablet personal computer, hand Machine etc., the mobile terminal, fall the processing unit of data and fall the processing methods of data and belong to same design, described The either method provided in the processing method embodiment for falling data can be run by falling in the processing unit of data, it has Body implementation process refers to the processing method embodiment for falling data, and here is omitted.
It should be noted that to it is of the present invention fall the processing method of data for, this area common test personnel can Realize that the embodiment of the present invention falls all or part of flow of the processing method of data to understand, be that can pass through computer program To control the hardware of correlation to complete, the computer program can be stored in a computer read/write memory medium, such as stored In the memory of terminal, and by least one computing device in the terminal, it may include to fall as described in the process of implementation Fall the flow of the embodiment of the processing method of data.Wherein, described storage medium can be magnetic disc, CD, read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory) etc..
For falling the processing unit of data described in the embodiment of the present invention, its each functional module can be integrated in one In process chip or modules are individually physically present, can also two or more modules be integrated in a mould In block.Above-mentioned integrated module can both be realized in the form of hardware, can also be realized in the form of software function module. If the integrated module is realized in the form of software function module and is used as independent production marketing or in use, can also It is stored in a computer read/write memory medium, the storage medium is for example read-only storage, disk or CD etc..
A kind of processing method for falling data, device and the mobile terminal provided above the embodiment of the present invention is carried out It is discussed in detail, specific case used herein is set forth to the principle and embodiment of the present invention, above example Illustrate to be only intended to help the method and its core concept for understanding the present invention;Meanwhile for those skilled in the art, according to this The thought of invention, there will be changes in specific embodiments and applications, in summary, this specification content should It is interpreted as limitation of the present invention.

Claims (8)

  1. A kind of 1. processing method for falling data, it is characterised in that including:
    Whether detection mobile terminal, which is in, is fallen state;
    When detect the mobile terminal be in fall state when, controlling the mobile terminal, back is down when falling;
    Obtain mobile terminal and be in the time interval for falling state, and rotational time value is determined according to the time interval;
    When falling down at mobile terminal back, whether the normal acceleration value for detecting the mobile terminal occurs exception, wherein Including:Whether detection change of normal acceleration value in preset time exceedes preset range;If detect in preset time The change of normal acceleration value exceedes preset range, then is determined as that exception occurs for the normal acceleration value of the mobile terminal;If Detect that the change of the normal acceleration value in preset time is no more than preset range, be then determined as the vertical of the mobile terminal Acceleration magnitude no exceptions;
    If detecting, exception occurs for the normal acceleration value of the mobile terminal, controls the mobile terminal to be carried out in landing Rotation, to discharge gravitional force, and when being rotated when controlling the mobile terminal in landing, value of starting the clock, when When the time value is equal to the rotational time value, the mobile terminal is controlled to stop the rotation.
  2. 2. the processing method as claimed in claim 1 for falling data, it is characterised in that
    Control the mobile terminal when falling back down, including:The rotation motor set on mobile terminal is driven to control Back is down when falling for the mobile terminal;
    The mobile terminal is controlled to be rotated in landing, including:The rotation motor set on mobile terminal is driven to control The mobile terminal is rotated in landing.
  3. 3. the processing method as claimed in claim 1 for falling data, it is characterised in that whether the detection mobile terminal In falling state, including:
    Obtain the current normal acceleration value of mobile terminal;
    Judge whether the normal acceleration value exceedes predetermined acceleration value;
    If judging, the normal acceleration value exceedes predetermined acceleration value, is determined as that the mobile terminal is in and falls shape State;
    If judging, the normal acceleration value is no more than predetermined acceleration value, is determined as that the mobile terminal is not at falling State.
  4. A kind of 4. processing unit for falling data, it is characterised in that including:
    Fall detection module, fall state for detecting mobile terminal and whether being in;
    First control module, for when detect the mobile terminal be in fall state when, control the mobile terminal falling Back is down when falling;
    Time interval acquisition module, for obtaining mobile terminal in the time interval for falling state;
    Time value determining module, for determining rotational time value according to the time interval;
    Acceleration detection module, during for falling down at mobile terminal back, detect the normal acceleration of the mobile terminal Whether value occurs exception, including:Detection sub-module, for detect in preset time normal acceleration value change whether More than preset range;Decision sub-module, for exceeding default model when the change for detecting the normal acceleration value in preset time When enclosing, it is determined as that exception occurs for the normal acceleration value of the mobile terminal;The decision sub-module, it is additionally operable to detect When the change of normal acceleration value is no more than preset range in preset time, it is determined as the normal acceleration value of the mobile terminal No exceptions;
    Second control module, for when the normal acceleration value for detecting the mobile terminal occurs abnormal, controlling the shifting Dynamic terminal is rotated in landing, to discharge gravitional force, and when being rotated when controlling the mobile terminal in landing, Start the clock value, when the time value is equal to the rotational time value, control the mobile terminal to stop the rotation.
  5. 5. the processing unit as claimed in claim 4 for falling data, it is characterised in that described device also includes:
    First control module, it is additionally operable to drive the rotation motor set on mobile terminal to control the mobile terminal falling Back is down when falling;
    Second control module, it is additionally operable to drive the rotation motor set on mobile terminal to control the mobile terminal falling Rotated during ground.
  6. 6. the as claimed in claim 4 processing unit for falling data, it is characterised in that it is described to fall detection module, including:
    Acquisition submodule, the normal acceleration value current for obtaining mobile terminal;
    Judging submodule, for judging whether the normal acceleration value exceedes predetermined acceleration value;
    Decision sub-module, for when judging that the normal acceleration value exceedes predetermined acceleration value, being determined as the movement Terminal, which is in, falls state;
    The decision sub-module, it is additionally operable to, when judging that the normal acceleration value is no more than predetermined acceleration value, be determined as The mobile terminal is not at falling state.
  7. A kind of 7. mobile terminal, it is characterised in that including:
    It is stored with the memory of executable program code;
    The processor coupled with the memory;
    The processor calls the executable program code stored in the memory, performs such as claim 1 to right It is required that the method described in 3 any one.
  8. 8. a kind of computer-readable recording medium, it is stored with computer program, wherein, the computer program causes computer Perform the method as described in claim 1.
CN201610807103.8A 2016-09-06 2016-09-06 A kind of processing method for falling data, device and mobile terminal Expired - Fee Related CN106371630B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610807103.8A CN106371630B (en) 2016-09-06 2016-09-06 A kind of processing method for falling data, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610807103.8A CN106371630B (en) 2016-09-06 2016-09-06 A kind of processing method for falling data, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106371630A CN106371630A (en) 2017-02-01
CN106371630B true CN106371630B (en) 2018-03-20

Family

ID=57898965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610807103.8A Expired - Fee Related CN106371630B (en) 2016-09-06 2016-09-06 A kind of processing method for falling data, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106371630B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108307055B (en) * 2018-01-18 2019-08-30 Oppo广东移动通信有限公司 Electronic device, the guard method fallen and Related product
CN108307059B (en) * 2018-01-23 2020-08-14 Oppo广东移动通信有限公司 Fall protection method and related product
CN108401076A (en) * 2018-03-23 2018-08-14 南京粤讯电子科技有限公司 Mobile terminal falling protection method, mobile terminal and computer readable storage medium
TWI740169B (en) * 2019-06-26 2021-09-21 達爾生技股份有限公司 Measuring device and measuring method
CN111641752B (en) * 2020-05-22 2021-05-18 维沃移动通信有限公司 Method and device for adjusting screen state, electronic equipment and readable storage medium
CN113031772B (en) * 2021-03-23 2023-06-23 维沃移动通信有限公司 Gesture control method and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869246A (en) * 2015-05-14 2015-08-26 惠州Tcl移动通信有限公司 Processing method and system for detecting falling of mobile terminal, and mobile terminal
CN204652827U (en) * 2015-06-18 2015-09-16 济宁市技师学院 Electronic product Shatter-resistant device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869246A (en) * 2015-05-14 2015-08-26 惠州Tcl移动通信有限公司 Processing method and system for detecting falling of mobile terminal, and mobile terminal
CN204652827U (en) * 2015-06-18 2015-09-16 济宁市技师学院 Electronic product Shatter-resistant device

Also Published As

Publication number Publication date
CN106371630A (en) 2017-02-01

Similar Documents

Publication Publication Date Title
CN106371630B (en) A kind of processing method for falling data, device and mobile terminal
CN105912143B (en) The detection method and electronic equipment of a kind of electronic equipment
CN104460696B (en) Protection processing method, system and device for mobile terminal falling
CN102984372A (en) Method and device for extinguishing and lighting screen and mobile terminal
US20160301797A1 (en) Impact-Resisting Method and Device for Mobile Terminal
US10579030B2 (en) Lifting desk control method
CN103546643A (en) Method and device for timely reminding user that mobile intelligent equipment falls off and is damaged
CN106406994A (en) Fall protection method and device
CN106340925A (en) Charging control method, apparatus and terminal
CN104460935A (en) Information processing method and electronic equipment
CN103377353A (en) Electronic device and touch screen protection method and protection system thereof
CN103925979B (en) The method and apparatus that washing machine undergarment is weighed
CN106331253A (en) Terminal processing method, device and processing terminal
CN103207955A (en) Method and system for protecting electronic terminal and electronic terminal
CN105575045A (en) Road condition reminding method and device for mobile terminal and mobile terminal
CN106412247A (en) Drop protection method and apparatus
CN106549465A (en) Charge control method, device, system and terminal
CN105242780A (en) Interactive control method and apparatus
CN108377293A (en) Electronic device falls control method and Related product
CN105046886A (en) Method, vehicle and mobile terminal for realizing driving behavior supervision and prompting
CN105162930A (en) Recording method and device for mobile terminal
CN106899716A (en) The method of the protective case, terminal and terminal shatter-resistant of terminal
CN108075548B (en) Charging control method, mobile terminal and computer readable storage medium
CN105511614A (en) Anti-collision method and anti-collision device for mobile terminal
CN106155268B (en) Control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

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

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

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

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

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180320

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