CN106371630A - Falling data processing method, falling data processing device and mobile terminal - Google Patents

Falling data processing method, falling data processing device and mobile terminal Download PDF

Info

Publication number
CN106371630A
CN106371630A CN201610807103.8A CN201610807103A CN106371630A CN 106371630 A CN106371630 A CN 106371630A CN 201610807103 A CN201610807103 A CN 201610807103A CN 106371630 A CN106371630 A CN 106371630A
Authority
CN
China
Prior art keywords
mobile terminal
acceleration value
falling
normal acceleration
described mobile
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610807103.8A
Other languages
Chinese (zh)
Other versions
CN106371630B (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 invention provides a falling data processing method, a falling data processing device and a mobile terminal. The method comprises the following steps of detecting whether the mobile terminal is in a falling state or not; when the detection result shows that the mobile terminal is in the falling state, controlling the mobile terminal to be in a posture that the back part faces the downward direction during falling; when the mobile terminal falls in the posture that the back part faces the downward direction, detecting whether the vertical acceleration value of the mobile terminal is abnormal or not; if the condition that the vertical acceleration value of the mobile terminal is abnormal is detected, controlling the mobile terminal to rotate during falling down on the ground so as to release the gravitational potential energy. When the mobile terminal falls down, the mobile terminal is controlled to be in the posture that the back part faces the downward direction; the rotation is performed when the mobile terminal falls on the ground; the gravitational potential energy is released. Compared with the prior art, the method, the device and the mobile terminal provided by the invention have the advantages that the safety of the mobile terminal during the falling is greatly improved; a screen of the mobile terminal is better protected.

Description

A kind of processing method 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 falling data, device and movement Terminal.
Background technology
Development with mobile terminal and popularization, mobile terminal also increasingly penetrates among daily life, such as Mobile phone, has become as indispensable communication tool in people's life.
During routine use mobile phone, the situation that mobile phone can fall unavoidably, because current mobile phone is mostly Contact action structure, therefore screen size are increasing, and the probability that screen damages because of falling is also increasing, prior art In there is no the vandal-proof method of effectively screen, therefore, how to solve the flimsy technology of screen in the urgent need to being resolved.
Content of the invention
It is an object of the invention to provide a kind of processing method falling data, device and mobile terminal are it is intended to lifting moves Safety when dynamic terminal is dropped.
For solving above-mentioned technical problem, embodiment of the present invention offer technical scheme below:
A kind of processing method falling data, comprising:
Whether detection mobile terminal is in and falls state;
When detect described mobile terminal be in fall state when, back is down when falling to control described mobile terminal;
When mobile terminal back is fallen down, detect whether the normal acceleration value of described mobile terminal occurs exception;
If detecting, the normal acceleration value of described mobile terminal occurs extremely, to control described mobile terminal when landing Rotated, to discharge gravitional force.
For solving above-mentioned technical problem, the embodiment of the present invention also provides technical scheme below:
A kind of processing meanss falling data, comprising:
Fall detection module, fall state for detecting whether mobile terminal is in;
First control module, for when detect described mobile terminal be in fall state when, control described mobile terminal When falling, back is down;
Acceleration detection module, for when mobile terminal back is fallen down, detecting vertically adding of described mobile terminal Whether velocity amplitude there is exception;
Second control module, during for occurring abnormal when the normal acceleration value detecting described mobile terminal, controls institute State mobile terminal to be rotated when landing, to discharge gravitional force.
For solving above-mentioned technical problem, the embodiment of the present invention also provides technical scheme below:
A kind of mobile terminal, comprising:
Be stored with the memorizer of executable program code;
The processor coupling with described memorizer;
Described processor calls the described executable program code of storage in described memorizer, and the execution embodiment of the present invention carries For any one fall the processing method of data.
With respect to prior art, a kind of processing method falling data, device and mobile terminal that the present embodiment provides, lead to Cross when mobile terminal falls, control mobile terminal back down, rotated when mobile terminal lands, discharge gravity Potential energy, with respect to prior art, significant increase mobile terminal safety when falling, preferably protect the screen of mobile terminal Curtain.
Brief description
Below in conjunction with the accompanying drawings, by the specific embodiment detailed description to the present invention, technical scheme will be made And other beneficial effects are apparent.
Fig. 1 is the schematic flow sheet of the processing method falling data provided in an embodiment of the present invention;
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 falling data provided in an embodiment of the present invention;
Fig. 4 is the module diagram of the processing meanss falling data provided in an embodiment of the present invention;
Fig. 5 is another module diagram of the processing meanss falling data provided in an embodiment of the present invention;
Fig. 6 is mobile terminal structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Refer to schema, wherein identical element numbers represent identical assembly, and the principle of the present invention is to be implemented in one To illustrate in suitable computing environment.The following description is based on the illustrated specific embodiment of the invention, and it should be by It is considered as limiting the present invention other specific embodiments not detailed herein.
Term as used herein " module " can regard the software object being to execute on this arithmetic system as.As herein described It is the objective for implementation on this arithmetic system that different assemblies, module, engine and service can be regarded as.And device as herein described and side Method is preferably implemented in the way of software, certainly also can be implemented on hardware, all within the scope of the present invention.
It is described in detail respectively below.
In the present embodiment, the angle from the processing meanss falling data is described, this falls the process dress of data Put specifically can integrated in the terminal, such as: smart mobile phone, panel computer etc..
A kind of processing method falling data, comprising: whether detection mobile terminal is in and falls state;Described when detecting Mobile terminal is in when falling state, and back is down when falling to control described mobile terminal;At mobile terminal back towards drop When falling, detect whether the normal acceleration value of described mobile terminal occurs exception;If detecting, the vertical of described mobile terminal adds Velocity amplitude occurs extremely, then to control described mobile terminal to be rotated when landing, to discharge gravitional force.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of the processing method falling data provided in an embodiment of the present invention.
It is understood that described data of falling is obtained by the sensor on mobile terminal in falling process for mobile terminal The time interval falling state that the normal acceleration taking and processor calculate according to normal acceleration.
Specifically, methods described includes:
In step s101, whether detection mobile terminal is in and falls state.
Wherein, if detecting that described mobile terminal is in fall state, execution step s102, if detect described movement Terminal is not at falling state, then whether the described mobile terminal of continuation detection is in and falls state.
Specifically, whether the described mobile terminal of described detection is in and falls state, comprising:
(1) obtain the current normal acceleration value of mobile terminal.
Wherein, described normal acceleration value refers to obtain by mobile terminal gravity sensor, refers to Fig. 2, Fig. 2 For gravity sensor induction acceleration direction schematic diagram, including x-axis, y-axis and z-axis, described normal acceleration value is concrete Refer to z-axis direction accekeration straight down, the unit of accekeration is m/s2.
It is understood that gravity sensor (gravity sensor, g-sensor) is used for detecting the direction of acceleration And size, be equivalent to the kinestate of detection mobile phone, the function of gravity sensor understand get up fairly simple, mainly perception plus The change of turn of speed, the various mobile changes such as such as rocks, falls, rising, declining and can be converted into the signal of telecommunication by gravity sensor, Then it becomes possible to complete the good function of programming after the calculating analysis of microprocessor.
Table 1 mobile terminal acceleration schematic diagram
x 0.053
y -0.006
z 9.793
Such as, 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 described normal acceleration value exceedes predetermined acceleration value.
It is understood that described predetermined acceleration value should be set to gravity acceleration value, but due in actual application, Mobile terminal in drop, due to by air drag and each different reason of regional gravity acceleration value, preset plus Velocity amplitude and acceleration of gravity have certain error, thus described predetermined acceleration value to may be configured as force of gravity acceleration low certain The value of scope, such as 9.5m/s2.
Wherein, if judging, described normal acceleration value exceedes predetermined acceleration value, and execution step (3), if judge Described normal acceleration value is less than predetermined acceleration value, then execution step (4).
(3) if judging, described normal acceleration value exceedes predetermined acceleration value, is judged to that described mobile terminal is in Fall state.
(4) if judging, described normal acceleration value is less than predetermined acceleration value, is judged to described mobile terminal not It is in and fall state.
Such as, mobile phone obtains mobile phone accekeration straight down, such as 9.7m/s by gravity sensor2, now handss Predetermined acceleration value on machine is 9.5m/s2, mobile phone accekeration straight down be more than predetermined acceleration value, be judged to now Mobile phone is in and falls state.
In step s102, when detect mobile terminal be in fall state when, control mobile terminal back when falling Down.
It is understood that the back of described mobile terminal is the opposing face with respect to mobile terminal screen, for moving eventually The rear shell surface at end.
Wherein, described mobile terminal can be set by installing the braking such as motor in advance in the terminal in falling process Standby, starter motor in falling process, make mobile terminal toward fixing direction vibrations, so that the back side is landed, due to mobile terminal The back side is mobile terminal position the firmest, and avoids the direct collision on the ground of screen and lead to broken situation, therefore can be more The safety of good protection mobile terminal.
In a kind of possible embodiment, one layer of elastomeric material can be increased at the mobile terminal back side in advance, such as sponge, Rubber etc., can obtain certain buffering effect so when landing, the injury of bigger reduction mobile terminal.
In step s103, when mobile terminal back is fallen down, whether the normal acceleration value of detection mobile terminal Occur abnormal.
It is understood that the moment landed in mobile terminal, speed is almost changed into 0, and normal acceleration now can become Obtain very little, can judge whether mobile terminal lands by the change that gravity sensor obtains this normal acceleration.
Wherein, if the normal acceleration value of described mobile terminal occurs abnormal, execution step s104, if described mobile whole The normal acceleration no exceptions at end, then continue to detect whether the normal acceleration value of described mobile terminal occurs exception.
Specifically, detect whether the normal acceleration value of described mobile terminal occurs exception, comprising:
(1) whether detection change of normal acceleration value in Preset Time exceedes preset range.
Wherein, if detecting, the change of normal acceleration value in Preset Time exceedes preset range, execution step (2), if detecting the change of normal acceleration value in Preset Time less than preset range, execution step (3).
Such as, within the time of 0.2 second, normal acceleration is suddenly from 9.7m/s for mobile phone2It is changed into 0.6m/s2, then illustrate described Mobile phone there occurs situation about landing.
(2) if detecting, the change of normal acceleration value in Preset Time exceedes preset range, is judged to described shifting The normal acceleration value of dynamic terminal occurs abnormal.
(3) if detecting, the change of normal acceleration value in Preset Time, less than preset range, is judged to described The normal acceleration value no exceptions of mobile terminal.
In step s104, if detecting the normal acceleration value generation of mobile terminal extremely, mobile terminal is controlled to exist Rotated when landing, to discharge gravitional force.
It is understood that mobile terminal started to rotate in the moment landed, can be by a part of transform gravitational energy For rotary power potential energy, more fully reduce the stress when landing for the mobile terminal, the safety of protection mobile terminal.
Wherein it is possible to make described mobile terminal land by opening the motor equal power device installed on mobile terminals Moment start rotate.
From the foregoing, a kind of processing method falling data that the present embodiment provides, by when mobile terminal falls, Control mobile terminal back down, rotated when mobile terminal lands, discharge gravitional force, with respect to existing skill Art, significant increase mobile terminal safety when falling, preferably protect the screen of mobile terminal.
Citing is described in further detail by method according to described by above-described embodiment below.
Refer to Fig. 3, Fig. 3 is another schematic flow sheet of the processing method falling data provided in an embodiment of the present invention.
Specifically, methods described includes:
In step s201, whether detection mobile terminal is in and falls state.
In a kind of possible embodiment, fall state whether detection mobile terminal is in, also include
Rotation motor is set on mobile terminals.Described rotation motor is connected to the processor of mobile terminal, can receive The execution order that mobile terminal sends.
Such as, in the inside of mobile phone, four micromotors are installed, this 4 micromotors connect cell phone mainboard, and mobile phone is permissible Conduct control command to motor.
Wherein, if detecting that described mobile terminal is in fall state, execution step s202, if detect described movement Terminal is not at falling state, then execution step s201.
Specifically, whether the described mobile terminal of described detection is in and falls state, comprising:
(1) obtain the current normal acceleration value of mobile terminal.
(2) judge whether described normal acceleration value exceedes predetermined acceleration value.
Wherein, if judging, described normal acceleration value exceedes predetermined acceleration value, and execution step (3), if judge Described normal acceleration value is less than predetermined acceleration value, then execution step (4).
(3) if judging, described normal acceleration value exceedes predetermined acceleration value, is judged to that described mobile terminal is in Fall state.
(4) if judging, described normal acceleration value is less than predetermined acceleration value, is judged to described mobile terminal not It is in and fall state.
Such as, in mobile phone, the predetermined acceleration value of acquiescence is 9.5m/s2, now detect mobile terminal acceleration straight down Angle value is if 9.7m/s2, it is judged as more than predetermined acceleration value, then illustrating that now mobile phone is in the state fallen.
In step s202, the rotation motor driving setting on mobile terminal is to control mobile terminal back court when falling Under.
Wherein, rotation motor is driven to be to get mobile terminal and be in by the gravity sensor of mobile terminal to fall state When, produce a control instruction, control instruction is sent to the motor being connected on mobile terminal and realizes, in rotation motor After receiving control instruction, so that the screen of mobile terminal is wanted to toss about, i.e. dorsal part down, reduces mobile terminal for execution vibrations operation Injury.
Such as, mobile phone detect be in fall state when, by processor produce a control instruction, by this control instruction Send to four micromotors being connected to mobile phone, after micromotor receives control instruction, start to shake, so that mobile phone is existed Complete in the air to overturn, reach a back purpose directed downwardly.
In step s203, whether the normal acceleration value of detection mobile terminal there is exception.
It is understood that the moment landed in mobile terminal, speed is almost changed into 0, and normal acceleration now can become Obtain very little, this normal acceleration can be obtained by gravity sensor and change to judge whether mobile terminal lands.
Wherein, if the normal acceleration value of described mobile terminal occurs abnormal, execution step s204, if described mobile whole The normal acceleration value no exceptions at end, then execution step s203.
(1) whether detection change of normal acceleration value in Preset Time exceedes preset range.
Wherein, if detecting, the change of normal acceleration value in Preset Time exceedes preset range, execution step (2), if detecting the change of normal acceleration value in Preset Time less than preset range, execution step (3).
(2) if detecting, the change of normal acceleration value in Preset Time exceedes preset range, is judged to described shifting The normal acceleration value of dynamic terminal occurs abnormal.
(3) if detecting, the change of normal acceleration value in Preset Time, less than preset range, is judged to described The normal acceleration value no exceptions of mobile terminal.
Such as, in mobile phone in the moment landed, due to colliding with ground, acceleration straight down is drastically less, When, in the such as 0.2 second time in very short time of the gravity sensor on mobile phone, acceleration straight down is by 9.7m/s2It is changed into 0.6m/s2, difference change exceeded preset range then it represents that now mobile phone falls on the ground, be judged to the vertical acceleration of mobile phone Degree occurs abnormal.
In step s204, obtain mobile terminal and be in the time interval falling state.
Wherein, the described time interval falling state be mobile terminal by be in fall state when timing until detection It is to terminate timing when mobile terminal lands to normal acceleration exception.
In step s205, rotational time value is determined according to time interval.
It is understood that described 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 cause damage.
Table 2 time interval contingency table
Time interval Rotational time value
0~0.5s 1s
0.5~1s 2s
1~1.5s 3s
Such as, refer to shown in table 2, table 2 is time interval contingency table, longer by SEE time interval in table, corresponding Rotational time value is longer.
Such as, drop-out time is 0.7s in the air mobile phone is detected, and referring to table 1, scope, between 0.5~1s, determines handss Machine rotational time value is 2s.
In step s206, when controlling mobile terminal to be rotated when landing, value of starting the clock, when time value etc. When described rotational time value, described mobile terminal is controlled to stop the rotation.
Wherein, when detecting that normal acceleration occurs abnormal, that is, represent that mobile terminal lands, produce rotation instruction, will Described rotation instruction is sent to the rotation motor being connected with mobile terminal, to drive described rotation motor, controls described movement Terminal is rotated when landing.
In a kind of possible embodiment, mobile terminal, in rotary course, can send prompting message, to point out user Mobile terminal drop, prevents from losing.
Such as, mobile phone, when falling, produces rotation and instructs, and described rotation is instructed the rotation sending to connection and mobile phone In motor, rotation motor receives rotation instruction to start to shake, after vibrations make mobile phone start rotation, when mobile phone starts to calculate Between be worth, when mobile phone calculated time value be 2s when, that is, be equal to above-mentioned determination rotational time value 2s, mobile phone produce a closing refer to Order, described out code is sent to rotation motor, and described rotation motor receives out code, stops the rotation.
From the foregoing, a kind of processing method falling data that the present embodiment provides, by setting on mobile phone in advance Put rotation motor, when mobile terminal falls, drive rotation motor to control mobile terminal back down, calculate mobile terminal and fall Time, being based on rotational time when mobile terminal lands was to be rotated to determine rotational time, to discharge gravitional force, With respect to prior art, significant increase mobile terminal safety when falling, preferably protect the screen of mobile terminal.
Implement the processing method falling data provided in an embodiment of the present invention for ease of more preferable, the embodiment of the present invention also carries For a kind of device based on the above-mentioned processing method falling data.The wherein implication of noun and the above-mentioned processing method falling data In identical, implement details and may be referred to the explanation in embodiment of the method.
Refer to Fig. 4, Fig. 4 is the module diagram of the processing meanss falling data provided in an embodiment of the present invention.Specifically For, the described processing meanss 300 falling data, comprising: fall detection module 31, the first control module 32, acceleration detection Module 33 and the second control module 34.
Described fall detection module 31, fall state for detecting whether mobile terminal is in.
Described first control module 32, for when detect described mobile terminal be in fall state when, control described shifting Back is down when falling for dynamic terminal.
Wherein, described mobile terminal can be set by installing the braking such as motor in advance in the terminal in falling process Standby, by described first control module 32 starter motor in falling process, make mobile terminal toward fixing direction vibrations, make the back of the body Face is landed.
Described acceleration detection module 33, for when mobile terminal back is fallen down, detecting described mobile terminal Whether normal acceleration value there is exception.
It is understood that the moment landed in mobile terminal, speed is almost changed into 0, and normal acceleration now can become Very little, can by described acceleration detection module 33 call gravity sensor obtain normal acceleration ANOMALOUS VARIATIONS Lai Whether detection is mobile lands.
Described second control module 34, during for occurring abnormal when the normal acceleration value detecting described mobile terminal, Described mobile terminal is controlled to be rotated when landing, to discharge gravitional force.
Wherein it is possible to make described mobile terminal land by opening the motor equal power device installed on mobile terminals Moment start rotate.
From the foregoing, a kind of processing meanss falling data that the present embodiment provides, by when mobile terminal falls, Control mobile terminal back down, rotated when mobile terminal lands, discharge gravitional force, with respect to existing skill Art, significant increase mobile terminal safety when falling, preferably protect the screen of mobile terminal.
Citing is described in further detail by device according to described by above-described embodiment below.
Refer to Fig. 5, Fig. 5 is another module diagram of the processing meanss falling data provided in an embodiment of the present invention. Specifically, the described processing meanss 400 falling data, comprising: fall detection module 41, the first control module 42, acceleration Detection module 43, time interval acquisition module 44, time value determining module 45 and the second control module 46.
Wherein, described detection module 41, the first control module 42, acceleration detection module 43 and the second control mould are fallen Fall detection module 31, the first control module 32, acceleration detection module 33 and the second control in block 46 and above-described embodiment Molding block 34.The function of being realized is consistent, does not repeat herein.
Described setup module 41, for arranging rotation motor on mobile terminals.
Wherein, the rotation motor in described setup module 41 is connected to mobile terminal, can receive mobile terminal transmission Execute order.
Described fall detection module 41, fall state for detecting whether mobile terminal is in.
Wherein, the described detection module 41 that falls includes: acquisition submodule 411, judging submodule 412 and decision sub-module 413.
Specifically, described acquisition submodule 411, the normal acceleration value current for obtaining mobile terminal.Described sentence Disconnected submodule 412, for judging whether described normal acceleration value exceedes predetermined acceleration value.Described decision sub-module 413, uses In when judging that described normal acceleration value exceedes predetermined acceleration value, it is judged to that described mobile terminal is in and falls state. Described decision sub-module 413, is additionally operable to, when judging that described normal acceleration value is less than predetermined acceleration value, be judged to institute State mobile terminal to be not at falling state.
Described first control module 42, the rotation motor driving setting on mobile terminal is to control described mobile terminal falling When falling, back is down.
Wherein, control instruction is produced by described first control module, described control instruction is sent to rotation motor, to drive Dynamic motor starts vibrations operation, and back is down when falling to control described mobile terminal.
Described acceleration detection module 43, for when mobile terminal back is fallen down, detecting described mobile terminal Whether normal acceleration value there is exception.
Wherein, described acceleration detection module 43 includes: detection sub-module 431 and decision sub-module 432.
Specifically, described detection sub-module 431, for detection normal acceleration value in Preset Time change whether Exceed preset range.Described decision sub-module 432, with for surpassing when the change detecting normal acceleration value in Preset Time When crossing preset range, it is judged to that the normal acceleration value of described mobile terminal occurs abnormal.Described decision sub-module 432, also uses In when the change detecting normal acceleration value in Preset Time is less than preset range, it is judged to described mobile terminal Normal acceleration value no exceptions.
It is understood that the moment landed in mobile terminal, speed is almost changed into 0, and normal acceleration now can become Obtain very little, described acceleration detection module 43 can change to judge mobile terminal by calling gravity sensor obtain this Whether land.
Described time interval acquisition module 44, is in, for obtaining mobile terminal, the time interval falling state.
Wherein, described time interval acquisition module 44 falls state falling detection module 41 and detect that mobile terminal is in When to start timing until acceleration detection module 43 detects normal acceleration exception be to terminate timing when mobile terminal lands.
Described time value determining module 45, for determining rotational time value according to described time interval.
Described second control module 46, when being additionally operable to control described mobile terminal to be rotated when landing, starts to calculate Time value, when described time value is equal to described rotational time value, controls described mobile terminal to stop the rotation.
From the foregoing, a kind of processing meanss falling data that the present embodiment provides, by setting on mobile phone in advance Put rotation motor, when mobile terminal falls, drive rotation motor to control mobile terminal back down, calculate mobile terminal and fall Time, being based on rotational time when mobile terminal lands was to be rotated to determine rotational time, to discharge gravitional force, With respect to prior art, significant increase mobile terminal safety when falling, preferably protect the screen of mobile terminal.
Refer 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, comprising: at least one input equipment 1000;At least one outut device 2000;At least one processor 3000, Such as central processing unit (cpu, central processing unit);With memorizer 4000, above-mentioned input equipment 1000, defeated Go out equipment 2000, processor 3000 and memorizer 4000 to connect by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely contact panel, physical button or mouse etc..
Above-mentioned outut device 2000 concretely display screen.
Above-mentioned memorizer 4000 can be high speed ram memorizer, alternatively non-labile memorizer (non-volatile Memory), such as disk memory.Above-mentioned memorizer 4000 is used for storing batch processing code, above-mentioned input equipment 1000, defeated Go out equipment 2000 and processor 3000 be used for calling the program code of storage in memorizer 4000, execution is following to be operated:
Code is executed by processor 3000, whether detection mobile terminal is in and falls state.
By processor 3000 execute code, when detect described mobile terminal be in fall state when, control described shifting Back is down when falling for dynamic terminal.
Code is executed by processor 3000, when mobile terminal back is fallen down, detects hanging down of described mobile terminal Whether straight accekeration there is exception.
Code is executed by processor 3000, if detecting the normal acceleration value generation of described mobile terminal extremely, Described mobile terminal is controlled to be rotated when landing, to discharge gravitional force.
In some embodiments, code be can also carry out by processor 3000, the described mobile terminal of described detection is No be in fall state before, also include: back is down when falling to control described mobile terminal, comprising: drive mobile terminal The rotation motor of upper setting, back is down when falling to control described mobile terminal under described rotation motor drives;Control institute State mobile terminal to be rotated when landing, comprising: drive the rotation motor of setting on mobile terminal, drive in described rotation motor The described mobile terminal of dynamic lower control is rotated when landing.
In some embodiments, code be can also carry out by processor 3000, the described mobile terminal of described detection is No being in falls state, comprising: obtain the current normal acceleration value of mobile terminal;Judge whether described normal acceleration value surpasses Cross predetermined acceleration value;If judging, described normal acceleration value exceedes predetermined acceleration value, is judged to described mobile terminal It is in and fall state;If judging, described normal acceleration value is less than predetermined acceleration value, is judged to described mobile terminal It is not at falling state.
In some embodiments, code be can also carry out by processor 3000, the described mobile terminal of described detection Whether normal acceleration value there is exception, comprising: it is default whether detection change of normal acceleration value in Preset Time exceedes Scope;If detecting, the change of normal acceleration value in Preset Time exceedes preset range, is judged to described mobile terminal Normal acceleration value occur abnormal;If detecting, the change of normal acceleration value in Preset Time is less than preset range, Then it is judged to the normal acceleration value no exceptions of described mobile terminal.
In some embodiments, code be can also carry out by processor 3000, the described mobile terminal of described control exists Before being rotated when landing, also include: obtain mobile terminal and be in the time interval falling state;According to described time interval Determine rotational time value;Described mobile terminal is controlled to be rotated when landing, comprising: to control described mobile terminal when landing When being rotated, value of starting the clock, when described time value is equal to described rotational time value, control described mobile terminal to stop Spin-ended turn.
Any one inventive embodiments can be executed being provided by this mobile terminal falls the processing method of data, because This, it is possible to achieve inventive embodiments provided any one fall beneficial effect achieved by the processing method of data, refer to Embodiment above, will not be described here.
When being embodied as, above unit can be realized as independent entity it is also possible to carry out combination in any, makees To realize for same or several entities, being embodied as of above unit can be found in embodiment of the method above, and here is 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 described in detail in certain embodiment Point, may refer to the detailed description above with respect to the processing method falling data, here is omitted.
The processing method falling data provided in an embodiment of the present invention, device and mobile terminal, such as panel computer, handss Machine etc., described mobile terminal, falls the processing meanss of data and falls the processing method of data and belong to same design, described Fall the either method providing in the processing method embodiment that data is fallen described in can running on the processing meanss of data, its tool Process of realizing body falls the processing method embodiment of data described in referring to, and here is omitted.
It should be noted that for the processing method falling data of the present invention, this area common test personnel can To understand all or part of flow process realizing the processing method that the embodiment of the present invention falls data, can be by computer program Hardware to control correlation to complete, and described computer program can be stored in a computer read/write memory medium, such as stores In the memorizer of terminal, and by least one computing device in this terminal, may include in the process of implementation and fall as described The flow process of the embodiment of the processing method of the data that falls.Wherein, described storage medium can be magnetic disc, CD, read only memory (rom, read only memory), random access memory (ram, random access memory) etc..
For falling the processing meanss 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 it is also possible to two or more modules are integrated in a mould In block.Above-mentioned integrated module both can be to be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized. If described integrated module realized using in the form of software function module and as independent production marketing or use when it is also possible to It is stored in a computer read/write memory medium, described storage medium is such as read only memory, disk or CD etc..
A kind of processing method falling data, device and the mobile terminal that above the embodiment of the present invention are provided are carried out It is discussed in detail, specific case used herein is set forth to the principle of the present invention and embodiment, above example Illustrate that being only intended to help understands the method for the present invention and its core concept;Simultaneously for those skilled in the art, according to this The thought of invention, all will change in specific embodiments and applications, and in sum, this specification content should not It is interpreted as limitation of the present invention.

Claims (10)

1. a kind of processing method falling data is it is characterised in that include:
Whether detection mobile terminal is in and falls state;
When detect described mobile terminal be in fall state when, back is down when falling to control described mobile terminal;
When mobile terminal back is fallen down, detect whether the normal acceleration value of described mobile terminal occurs exception;
If detecting, the normal acceleration value of described mobile terminal occurs extremely, to control described mobile terminal to carry out when landing Rotation, to discharge gravitional force.
2. fall the processing method of data as claimed in claim 1 it is characterised in that the described mobile terminal of described detection whether It is in before falling state, also include:
Back is down when falling to control described mobile terminal, comprising: the rotation motor driving setting on mobile terminal is to control Back is down when falling for described mobile terminal;
Described mobile terminal is controlled to be rotated when landing, comprising: the rotation motor driving setting on mobile terminal is to control Described mobile terminal is rotated when landing.
3. fall the processing method of data as claimed in claim 1 it is characterised in that the described mobile terminal of described detection whether It is in and fall state, comprising:
Obtain the current normal acceleration value of mobile terminal;
Judge whether described normal acceleration value exceedes predetermined acceleration value;
If judging, described normal acceleration value exceedes predetermined acceleration value, is judged to that described mobile terminal is in and falls shape State;
If judging, described normal acceleration value is less than predetermined acceleration value, is judged to that described mobile terminal is not at falling State.
4. fall the processing method of data as claimed in claim 1 it is characterised in that the described mobile terminal of described detection hang down Whether straight accekeration there is exception, comprising:
Whether detection change of normal acceleration value in Preset Time exceedes preset range;
If detecting, the change of normal acceleration value in Preset Time exceedes preset range, is judged to described mobile terminal Normal acceleration value occurs abnormal;
If detecting, the change of normal acceleration value in Preset Time is less than preset range, is judged to described mobile terminal Normal acceleration value no exceptions.
5. the processing method falling data as described in any one of Claims 1-4 is it is characterised in that move as described in described control Before dynamic terminal is rotated when landing, also include:
Obtain mobile terminal and be in the time interval falling state;
Rotational time value is determined according to described time interval;
Described mobile terminal is controlled to be rotated when landing, comprising: when controlling described mobile terminal to be rotated when landing, Start the clock value, when described time value is equal to described rotational time value, control described mobile terminal to stop the rotation.
6. a kind of processing meanss falling data are it is characterised in that include:
Fall detection module, fall state for detecting whether mobile terminal is in;
First control module, for when detect described mobile terminal be in fall state when, control described mobile terminal falling When falling, back is down;
Acceleration detection module, for when mobile terminal back is fallen down, detecting the normal acceleration of described mobile terminal Whether value there is exception;
Second control module, during for occurring abnormal when the normal acceleration value detecting described mobile terminal, controls described shifting Dynamic terminal is rotated when landing, to discharge gravitional force.
7. fall the processing meanss of data as claimed in claim 6 it is characterised in that described device also includes:
Described first control module, is additionally operable to drive the rotation motor of setting on mobile terminal to control described mobile terminal falling When falling, back is down;
Described second control module, is additionally operable to drive the rotation motor of setting on mobile terminal to control described mobile terminal falling Rotated during ground;
Time interval acquisition module, is in, for obtaining mobile terminal, the time interval falling state;
Time value determining module, for determining rotational time value according to described time interval;
Described second control module, when being additionally operable to control described mobile terminal to be rotated when landing, value of starting the clock, When described time value is equal to described rotational time value, described mobile terminal is controlled to stop the rotation.
8. fall the processing meanss of data as claimed in claim 6 it is characterised in that described fall detection module, comprising:
Acquisition submodule, the normal acceleration value current for obtaining mobile terminal;
Judging submodule, for judging whether described normal acceleration value exceedes predetermined acceleration value;
Decision sub-module, for when judging that described normal acceleration value exceedes predetermined acceleration value, being judged to described movement Terminal is in falls state;
Described decision sub-module, is additionally operable to, when judging that described normal acceleration value is less than predetermined acceleration value, be judged to Described mobile terminal is not at falling state.
9. fall the processing meanss of data as claimed in claim 6 it is characterised in that described acceleration detection module, comprising:
Detection sub-module, for detection, in Preset Time, whether the change of normal acceleration value exceedes preset range;
Decision sub-module, during for exceeding preset range when the change detecting normal acceleration value in Preset Time, judges Normal acceleration value for described mobile terminal occurs extremely;
Described decision sub-module, is additionally operable to the change when detecting normal acceleration value in Preset Time and is less than preset range When, it is judged to the normal acceleration value no exceptions of described mobile terminal.
10. a kind of mobile terminal is it is characterised in that include:
Be stored with the memorizer of executable program code;
The processor coupling with described memorizer;
Described processor calls the described executable program code of storage in described memorizer, and execution such as claim 1 is to right Require the method described in 5 any one.
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 true CN106371630A (en) 2017-02-01
CN106371630B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108307059A (en) * 2018-01-23 2018-07-20 广东欧珀移动通信有限公司 Falling protection method and related product
CN108307055A (en) * 2018-01-18 2018-07-20 广东欧珀移动通信有限公司 Electronic device, the guard method fallen and Related product
CN108401076A (en) * 2018-03-23 2018-08-14 南京粤讯电子科技有限公司 Mobile terminal falling protection method, mobile terminal and computer readable storage medium
CN111641752A (en) * 2020-05-22 2020-09-08 维沃移动通信有限公司 Method and device for adjusting screen state and electronic equipment
CN112137623A (en) * 2019-06-26 2020-12-29 达尔生技股份有限公司 Measuring device and measuring method
CN113031772A (en) * 2021-03-23 2021-06-25 维沃移动通信有限公司 Attitude 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

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108307055A (en) * 2018-01-18 2018-07-20 广东欧珀移动通信有限公司 Electronic device, the guard method fallen and Related product
US10498879B2 (en) 2018-01-18 2019-12-03 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Electronic device, protection method and related product
CN108307059A (en) * 2018-01-23 2018-07-20 广东欧珀移动通信有限公司 Falling protection method 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
CN112137623A (en) * 2019-06-26 2020-12-29 达尔生技股份有限公司 Measuring device and measuring method
CN111641752A (en) * 2020-05-22 2020-09-08 维沃移动通信有限公司 Method and device for adjusting screen state and electronic equipment
CN111641752B (en) * 2020-05-22 2021-05-18 维沃移动通信有限公司 Method and device for adjusting screen state, electronic equipment and readable storage medium
CN113031772A (en) * 2021-03-23 2021-06-25 维沃移动通信有限公司 Attitude control method and electronic equipment

Also Published As

Publication number Publication date
CN106371630B (en) 2018-03-20

Similar Documents

Publication Publication Date Title
CN106371630A (en) Falling data processing method, falling data processing device and mobile terminal
CN102984372A (en) Method and device for extinguishing and lighting screen and mobile terminal
CN105912143B (en) The detection method and electronic equipment of a kind of electronic equipment
CN104460696A (en) Protection processing method, system and device for mobile terminal falling
CN106505695A (en) A kind of charge control method, device and terminal
CN103956792A (en) Method and device for controlling charging temperature rise of mobile terminal
CN104460935A (en) Information processing method and electronic equipment
CN103546643A (en) Method and device for timely reminding user that mobile intelligent equipment falls off and is damaged
CN104869246A (en) Processing method and system for detecting falling of mobile terminal, and mobile terminal
CN106331253B (en) A kind of terminal processing method, device and processing terminal
CN103377353A (en) Electronic device and touch screen protection method and protection system thereof
CN106340925A (en) Charging control method, apparatus and terminal
CN105575045A (en) Pavement condition prompting method and apparatus for mobile terminal, and mobile terminal
CN108377293B (en) Electronic device, fall control method and related product
EP2903246A1 (en) Voice recognition function realizing method and device
CN106055455A (en) Anti-interference method and device for key
CN106412664A (en) Multimedia synchronous play method, device and system, and terminal
CN106055400A (en) Method and device for accelerated awakening of terminal
CN105978084A (en) Method and device for charging electronic equipment
CN111010640A (en) Earphone control method, earphone and storage medium
CN105007356A (en) Method and system for preventing battery output current from being hopped and mobile terminal
CN106802698B (en) Electronic device and control method thereof
CN105978088A (en) Method and apparatus for charging electronic equipment
CN106254673A (en) Terminal fall detection method and device
CN103123463B (en) A kind of method and device of control system state

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