CN106357897B - The acquisition methods and device of drop information - Google Patents

The acquisition methods and device of drop information Download PDF

Info

Publication number
CN106357897B
CN106357897B CN201610806684.3A CN201610806684A CN106357897B CN 106357897 B CN106357897 B CN 106357897B CN 201610806684 A CN201610806684 A CN 201610806684A CN 106357897 B CN106357897 B CN 106357897B
Authority
CN
China
Prior art keywords
acceleration
terminal
component
angle
direction
Prior art date
Application number
CN201610806684.3A
Other languages
Chinese (zh)
Other versions
CN106357897A (en
Inventor
周意保
郑灿杰
张海平
张强
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to CN201610806684.3A priority Critical patent/CN106357897B/en
Publication of CN106357897A publication Critical patent/CN106357897A/en
Application granted granted Critical
Publication of CN106357897B publication Critical patent/CN106357897B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers; Analogous equipment at exchanges
    • H04M1/72Substation extension arrangements; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selecting
    • H04M1/725Cordless telephones
    • H04M1/72519Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status
    • H04M1/72563Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status with means for adapting by the user the functionality or the communication capability of the terminal under specific circumstances
    • H04M1/72569Portable communication terminals with improved user interface to control a main telephone operation mode or to indicate the communication status with means for adapting by the user the functionality or the communication capability of the terminal under specific circumstances according to context or environment related information
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality

Abstract

The present invention provides the acquisition methods and device of a kind of drop information, and the acquisition methods of the drop information include: the acceleration for obtaining terminal, and detect whether the acceleration meets preset condition;When detecting that the acceleration meets preset condition, the component of the acceleration before current time is obtained;When detecting that acceleration changes, the variable quantity that falls parameter of the terminal on preset direction in the change procedure is obtained, change component is obtained;Collision characteristic information is determined according to the component of acceleration and the change component.Due to that can obtain finally with direction, angle and the position when collision on the ground according to the changing value in direction or angle in the component of acceleration and falling process when falling, therefore improve accuracy.

Description

The acquisition methods and device of drop information

Technical field

The present invention relates to field of terminal technology, more particularly to the acquisition methods and device of a kind of drop information.

Background technique

In routine use, terminal is inevitably faced with the danger fallen and is easy to cause its damage.Usual terminal is fallen The angle fallen is different, and corresponding to impaired degree, there is also differences.

In order to reduce the damage in falling process to terminal, it usually needs collect the direction in falling process and position letter Breath carries out fall protection setting to terminal according to these information later.The existing acquisition modes for falling direction and position, generally It is only capable of obtaining by acceleration transducer measurement.However existing acquisition modes do not consider that terminal is likely to occur in falling process The case where overturning, causes the accuracy of the direction obtained and location information poor.Therefore it needs to be further improved.

Summary of the invention

The embodiment of the present invention provides the acquisition methods and device of a kind of drop information, to solve the acquisition of existing drop information The poor technical problem of the accuracy of method.

To solve the above problems, technical solution provided by the invention is as follows:

The embodiment of the present invention provides a kind of acquisition methods of drop information comprising:

The acceleration of terminal is obtained, and detects whether the acceleration meets preset condition;

When detecting that the acceleration meets preset condition, the component of acceleration before current time is obtained;

When detecting that acceleration changes, obtains terminal described in the change procedure and fall ginseng on preset direction Several variable quantities, obtains change component;

Collision characteristic information is determined according to the component of acceleration and the change component.

The embodiment of the present invention also provides a kind of acquisition device of drop information comprising:

First obtains module, for obtaining the acceleration of terminal, and detects whether the acceleration meets preset condition;

Second obtains module, for when detecting that the acceleration meets preset condition, before obtaining current time Component of acceleration;

Third obtains module, exists for when detecting that acceleration changes, obtaining terminal described in the change procedure Fall Parameters variation amount on preset direction, obtains change component;

Determining module, for determining collision characteristic information according to the component of acceleration and the change component.

Compared to the prior art, the acquisition methods and device of the drop information of the present embodiment, by the acceleration for obtaining terminal Degree, and detect whether the acceleration meets preset condition;When detecting that the acceleration meets preset condition, current time is obtained The component of acceleration before;When detecting that acceleration changes, the terminal is obtained in the change procedure in preset direction On the variable quantity for falling parameter, obtain change component;Collision feature letter is determined according to the component of acceleration and the change component Breath.Due to that can be obtained most according to the changing value in direction or angle in the component of acceleration and falling process when falling Whole direction, angle and position with when collision on the ground, therefore improve accuracy.

Detailed description of the invention

Fig. 1 is the flow chart of the acquisition methods for the drop information that the embodiment of the present invention one provides.

Fig. 2 is the flow chart of the acquisition methods of drop information provided by Embodiment 2 of the present invention.

Fig. 3 is the flow chart of the acquisition methods for the drop information that the embodiment of the present invention three provides.

Fig. 4 is the structural schematic diagram of the acquisition device for the drop information that the embodiment of the present invention four provides.

Fig. 5 is the preferred structure schematic diagram of the acquisition device for the drop information that the embodiment of the present invention four provides.

Fig. 6 is the structural schematic diagram for the terminal that the embodiment of the present invention five provides.

Specific embodiment

Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.It is understood that described herein, the specific embodiments are only for explaining the present invention, rather than to limit of the invention It is fixed.It also should be noted that only the parts related to the present invention are shown for ease of description, in attached drawing and not all knot Structure.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts Every other embodiment, shall fall within the protection scope of the present invention.

Term " first ", " second " and " third " in the present invention etc. are for distinguishing different objects, rather than for retouching State particular order.In addition, term " includes " and " having " and their any deformations, it is intended that cover and non-exclusive include. Such as contain a series of steps or units process, method, system, product or equipment be not limited to listed step or Unit, but optionally further comprising the step of not listing or unit, or optionally further comprising for these process, methods, produce The other step or units of product or equipment inherently.

Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.

The executing subject of the method for controlling operation thereof of terminal provided in an embodiment of the present invention can provide for the embodiment of the present invention Terminal operating control device, or be integrated with mobile terminal (for example notebook, plate of the operating control device of the terminal Computer, mobile phone, wearable device etc.), the operating control device of the terminal can be realized by the way of hardware or software.

Fig. 1 is please referred to, Fig. 1 is the flow chart of the acquisition methods for the drop information that the embodiment of the present invention one provides.

The acquisition methods of the drop information of this preferred embodiment, comprising:

Step S101, obtains the acceleration of terminal, and detects whether the acceleration meets preset condition.

For example, terminal obtains acceleration by acceleration transducer, and judges whether terminal is according to the acceleration and fall Fall state;The preset condition such as falls state.For example, terminal can detecte whether acceleration is equal to acceleration of gravity.If It detects that acceleration is equal to acceleration of gravity, then determines that terminal meets preset condition, otherwise, it is determined that terminal is unsatisfactory for default item Part.The terminal can be the equipment such as mobile phone, tablet computer.If terminal, which determines that it is in, falls state, S102 is thened follow the steps.

Step S102 obtains the component of acceleration before current time when detecting that the acceleration meets preset condition.

For example, when terminal determine its be in fall state when, terminal obtains the component of acceleration before falling, for example terminal obtains Take its component of acceleration on three directions of x, y, z.

Step S103 obtains in the change procedure terminal on preset direction when detecting that acceleration changes The variable quantity for falling parameter, obtain change component.

For example, whether terminal continues to test its current acceleration by acceleration of gravity when terminal is in and falls state Become 0.For example, when acceleration is 0, it is possible to determine that terminal is landed at this time.If a terminal detects that current acceleration is by weight When power acceleration becomes 0, terminal obtains the variable quantity before acceleration is 0 in x, y, z three square upwardly directions or angle, Obtain change component.It includes at least one of direction and angle that this, which falls parameter,.

Step S104 determines collision characteristic information according to the component of acceleration and the change component.

For example, terminal is determined according to the component of acceleration before falling and the direction before landing or the variable quantity of angle The information such as angle, position and direction when terminal and collision on the ground.The position of the collision be such as long side land, short side Ground, the back side land, screen lands etc..The angle of the collision be such as terminal landing when and ground angle.The side of the collision Fall to such as level, falls vertically, inclination is fallen etc..

Whether the acquisition methods of the drop information of the present embodiment by obtaining the acceleration of terminal, and detect the acceleration Meet preset condition;When detecting that the acceleration meets preset condition, the component of the acceleration before current time is obtained;When When detecting that acceleration changes, obtains the terminal in the change procedure and fall Parameters variation amount on preset direction, obtain To change component;Collision characteristic information is determined according to the component of acceleration and the change component.Due to can be according to when falling The changing value in direction or angle in component of acceleration and falling process, obtain finally with angle when collision on the ground, side To and position, therefore improve accuracy.

Referring to figure 2., Fig. 2 is the flow chart of the acquisition methods of drop information provided by Embodiment 2 of the present invention.

The acquisition methods of the drop information of this preferred embodiment, comprising:

Step S201, obtains the acceleration of terminal, and detects whether the acceleration meets preset condition.

For example, terminal obtains acceleration by acceleration transducer, and judges whether terminal is according to the acceleration and fall Fall state;The preset condition such as falls state.For example, terminal can detecte whether acceleration is equal to acceleration of gravity.If It detects that acceleration is equal to acceleration of gravity, then determines that terminal meets preset condition, otherwise, it is determined that terminal is unsatisfactory for default item Part.The terminal can be the equipment such as mobile phone, tablet computer.If terminal, which determines that it is in, falls state, S202 is thened follow the steps. Otherwise, terminal can be with return step S201.

In order to improve the accuracy of detection, which can be compared by terminal with preset range, if the acceleration Degree is located in preset range, then terminal determines that it is in and falls state namely whether the detection acceleration meets preset condition The step of include:

A, judge whether the acceleration is located in preset range;

B, if it is determined that the acceleration is located in the preset range, it is determined that the acceleration meets preset condition.

For example, whether terminal judges acceleration close to acceleration of gravity, if it is decided that the acceleration close to acceleration of gravity, Then determine that the terminal is in and falls state.If it is determined that the acceleration keeps off acceleration of gravity, then determine that the terminal is not in Fall state.The preset range is such as the range close to acceleration of gravity, can specifically be set based on experience value.

Step S202 obtains the component of acceleration before current time when detecting that the acceleration meets preset condition.

For example, when terminal determine its be in fall state when, terminal obtains the component of acceleration before falling, for example terminal obtains Take its component of acceleration on three directions of x, y, z.

In order to prevent in falling process, important loss of data, terminal can also be when detecting that it falls, will be important Data backed up namely described when detecting that the acceleration meets preset condition, the method also includes:

D, preset data is backed up.

For example, the preset data is such as the data of default application program, the default application program is such as preparatory by user Selection the application program for needing to carry out data backup, when terminal detect its be in fall state when, user is pre-selected The data of application program backed up.Such as when terminal detect its be in fall state when, to the number of address list and photo According to being backed up.

Step S203 is obtained according to the component of acceleration and is initially fallen characteristic information.

For example, terminal is determined according to the component of acceleration before falling, the initial value in direction or angle before falling, Initially fallen characteristic information.

Step S204 obtains in the change procedure terminal on preset direction when detecting that acceleration changes The variable quantity for falling parameter, obtain change component.

For example, whether terminal continues to test its current acceleration by acceleration of gravity when terminal is in and falls state Become 0.For example, when acceleration is 0, it is possible to determine that terminal is landed at this time.If a terminal detects that current acceleration is by weight When power acceleration becomes 0, terminal obtains the variable quantity before acceleration is 0 in x, y, z three square upwardly directions or angle, Obtain change component.It includes at least one of direction and angle that this, which falls parameter,.

In order to improve the accuracy of detection, current acceleration can be compared by terminal with 0, if the two is equal When, then show that acceleration changes.Namely the step of should detecting when acceleration changes, includes:

E, detect whether the acceleration is equal to preset value;

F, when the acceleration is equal to the preset value, it is determined that the acceleration changes.

For example, terminal continues to test whether its current acceleration is 0.For example, when acceleration is 0, it is possible to determine that eventually It lands at this time at end.

Step S205, initially falls characteristic information according to this and the change component determines the collision characteristic information.

For example, terminal is according to the direction before falling the perhaps initial value of angle and the direction before landing or angle The variable quantity of degree determines the information such as terminal and angle, position and direction when collision on the ground.For example, before terminal falls this Direction or corresponding with the progress of the variable quantity in direction or angle in the falling process plus-minus of initial value of angle calculate, thus Obtain the information such as angle, position and the direction when terminal and collision on the ground.The position of the collision is such as that long side lands, is short While landing, the back side lands, screen lands etc..The angle of the collision be such as terminal landing when and ground angle.The collision Direction such as level fall, fall vertically, inclination is fallen etc..

Whether the acquisition methods of the drop information of the present embodiment by obtaining the acceleration of terminal, and detect the acceleration Meet preset condition;When detecting that the acceleration meets preset condition, the component of the acceleration before current time is obtained;Root It is obtained according to the component of acceleration and initially falls characteristic information;When detecting that acceleration changes, obtain in the change procedure The variable quantity that falls parameter of the terminal on preset direction, obtains change component;Initially fall characteristic information according to this and is somebody's turn to do Change component determines the collision characteristic information.Due to can be obtained according to component of acceleration when falling direction or angle just Initial value, later further according to the changing value in direction or angle in falling process, obtain finally with angle when collision on the ground, side To and position, therefore improve treatment effeciency.

Referring to figure 3., Fig. 3 is the flow chart of the acquisition methods for the drop information that the embodiment of the present invention three provides.

The present embodiment is described in detail taking the terminal as an example, the acquisition side of the drop information of this preferred embodiment Method, comprising:

Step S301, mobile phone obtain its acceleration, and judge whether the acceleration is equal to acceleration of gravity.

For example, mobile phone obtains acceleration by acceleration transducer, and judge whether the acceleration is equal to acceleration of gravity, Fall state to judge whether mobile phone is in.For example, determining that mobile phone is in if detecting that acceleration is equal to acceleration of gravity Fall state, otherwise, it is determined that mobile phone, which is not at, falls state.If mobile phone, which determines that it is in, falls state, then follow the steps S302.Otherwise, mobile phone can be with return step S301.

Step S302, if the acceleration is equal to acceleration of gravity, mobile phone obtains the component of acceleration before the moment.

For example, when mobile phone determine its be in fall state when, mobile phone obtains the component of acceleration before falling, for example mobile phone obtains Take its component of acceleration ax, ay, az on three directions of x, y, z.

Step S303, mobile phone obtains angle of the mobile phone on preset direction according to the component of acceleration, obtains initial angle.

For example, component of acceleration ax, ay, az that mobile phone is obtained according to step 302, obtain mobile phone before falling in x, y, z Angle on three directions, obtains initial angle.

Step S304, when detecting acceleration equal to preset value, the mobile phone is on preset direction in acquisition falling process Angle variable quantity obtains angle change component.

For example, whether mobile phone continues to test its current acceleration by acceleration of gravity when mobile phone is in and falls state Become 0.For example, when acceleration is 0, it is possible to determine that mobile phone lands at this time.If mobile phone detects current acceleration by weight When power acceleration becomes 0, mobile phone obtains the variation of the angle before acceleration is 0 on three directions of x, y, z by gyroscope Amount, obtains angle change component.

Step S305, collision characteristic information is determined according to the initial angle and the angle change component.

For example, mobile phone will fall before fall that angle is corresponding with the progress of the variable quantity of the angle in falling process to be added and subtracted Operation obtains mobile phone finally with angle when collision on the ground, and determines direction for falling and position etc. according to the angle.

For example, mobile phone is landed with lying fashion, x=0 degree, y=0 degree, falling position is such as screen or the back side, then is tied Closing the positive and negative of z value can determine that screen or the back side land.

Using x as axis, mobile phone is landed with standing manner, x=-90 degree, y=0 degree;Falling position is such as downside short side.

Using x as axis, mobile phone is landed in a manner of standing upside down, x=+90 degree, y=0 degree;Falling position is such as upside short side.

Using y as axis, mobile phone is landed before falling with lying fashion, fall in counterclockwise rotation it is upright;X=0 degree, y=+90 Degree;Falling position is such as left side long side.

Using y as axis, mobile phone is landed before falling with lying fashion, fall in counterclockwise rotation it is upright;X=0, y=-90 fall Dropping place is set such as right side long side.

The acquisition methods of the drop information of the present embodiment, mobile phone obtain its acceleration, and judge whether the acceleration is equal to Acceleration of gravity;If the acceleration is equal to acceleration of gravity, mobile phone obtains the component of acceleration before the moment;Mobile phone according to The component of acceleration obtains angle of the mobile phone on preset direction, obtains initial angle;It is preset when mobile phone detection acceleration is equal to When value, angle variable quantity of the mobile phone on preset direction in falling process is obtained, angle change component is obtained;Mobile phone is according to this Initial angle and the angle change component determine collision characteristic information.Due to passing through the angle in the angle and falling process before falling Degree determine with the information such as angle, direction, position when collision on the ground, improve detection efficiency.

Referring to figure 4., Fig. 4 is the structural schematic diagram of the acquisition device for the drop information that the embodiment of the present invention four provides.This The acquisition device 40 of the drop information of preferred embodiment includes: that the first acquisition module 41, second obtains module 42, third obtains mould Block 43, determining module 44;

First obtains module 41, for obtaining the acceleration of terminal, and detects whether the acceleration meets preset condition;

Second obtains module 42, for when detecting that the acceleration meets preset condition, before obtaining current time Component of acceleration;

Third obtains module 43, exists for when detecting that acceleration changes, obtaining the terminal in the change procedure The variable quantity for falling parameter on preset direction, obtains change component;

Determining module 44, for determining collision characteristic information according to the component of acceleration and the change component.

The third obtains module 43, is specifically used for:

Detect whether the acceleration is equal to preset value;When the acceleration is equal to the preset value, it is determined that acceleration hair Changing.

As shown in figure 5, the determining module 44 includes: acquisition of information submodule 441 and determining submodule 442;

Acquisition of information submodule 441 initially falls characteristic information for obtaining according to the component of acceleration;

It determines submodule 442, determines that the collision feature is believed for initially falling characteristic information and the change component according to this Breath.

The determination submodule 442 carries out plus and minus calculation specifically for this initially to be fallen to characteristic information and the change component Obtain the collision characteristic information.

The first acquisition module 41, is specifically used for:

Judge whether the acceleration is located in preset range;When the judgement acceleration is located in the preset range When, it is determined that the acceleration meets preset condition.

Described device further include: backup module 45;

Backup module 45, for being backed up to preset data when detecting that the acceleration meets preset condition.

When it is implemented, the above modules can be used as independent entity to realize, any combination can also be carried out, is made It is realized for same or several entities, the specific implementation of the above modules can be found in the embodiment of the method for front, herein not It repeats again.

The acquisition device of the drop information of this preferred embodiment by obtaining the acceleration of terminal, and detects the acceleration Whether preset condition is met;When detecting that the acceleration meets preset condition, point of the acceleration before current time is obtained Amount;When detecting that acceleration changes, the change of falling parameter of the terminal on preset direction in the change procedure is obtained Change amount, obtains change component;Collision characteristic information is determined according to the component of acceleration and the change component.Due to can be according to falling The changing value in the direction or angle in component of acceleration and falling process when falling obtains finally and when collision on the ground Angle, direction and position, therefore improve accuracy.

Fig. 6 is please referred to, Fig. 6 is the structural schematic diagram for the terminal that the embodiment of the present invention five provides.

The present embodiment provides a kind of terminal, which may include the acquisition device of above-mentioned drop information, this falls letter The acquisition device of breath specifically refers to the specific descriptions of example IV, and details are not described herein.

The present embodiment also provides another terminal, as shown in fig. 6, the terminal 60 may include radio frequency (RF, Radio Frequency) circuit 61, the memory 62 for including one or more computer readable storage medium, input unit 63, Display unit 64 sensor 65, voicefrequency circuit 66, Wireless Fidelity (WiFi, Wireless Fidelity) module 67, includes The components such as the processor 68 and power supply 69 of one or more than one processing core.It will be understood by those skilled in the art that figure The restriction of the not structure paired terminal of terminal structure shown in 6 may include than illustrating more or fewer components, or combination Certain components or different component layouts.

Radio circuit 61 can be used for receiving and sending messages or communication process in signal send and receive, particularly, by base station After downlink information receives, one or the processing of more than one processor 68 are transferred to;In addition, the data for being related to uplink are sent to base It stands.In general, radio circuit 61 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses Family identity module (SIM, Subscriber IdentityModule) card, transceiver, coupler, low-noise amplifier (LNA, Low Noise Amplifier), duplexer etc..In addition, radio circuit 61 can also by wireless communication with network and other set Standby communication.The wireless communication can be used any communication standard or agreement, including but not limited to global system for mobile communications (GSM, Global System of Mobile communication), general packet radio service (GPRS, General Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division multiple access (WCDMA, Wideband Code Division Multiple Access), long term evolution (LTE, Long Term Evolution), Email, short message service (SMS, Short Messaging Service) etc..

Memory 62 can be used for storing software program and module.Processor 68 is stored in the soft of memory 62 by operation Part program and module, thereby executing various function application and data processing.Memory 62 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to terminal use created data (such as Audio data, phone directory etc.) etc..In addition, memory 62 may include high-speed random access memory, it can also include non-volatile Property memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.Correspondingly, it deposits Reservoir 62 can also include Memory Controller, to provide the access of processor 68 and input unit 63 to memory 62.

Input unit 63 can be used for receiving the number or character information of input, and generate and user setting and function control Make related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, in one embodiment, input unit 63 may include touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face or near touch sensitive surface), and corresponding attachment device is driven according to preset formula.Optionally, it touches Sensitive surfaces may include both touch detecting apparatus and touch controller.Wherein, the touch of touch detecting apparatus detection user Orientation, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch detecting apparatus Upper reception touch information, and it is converted into contact coordinate, then give processor 68, and the order that processor 68 is sent can be received And it is executed.Furthermore, it is possible to realize touch-sensitive table using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Face.In addition to touch sensitive surface, input unit 63 can also include other input equipments.Specifically, other input equipments may include But in being not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more.

Display unit 64 can be used for showing information input by user or be supplied to user information and terminal it is various Graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.Display Unit 64 may include display panel, optionally, can use liquid crystal display (LCD, Liquid Crystal Display), have The forms such as machine light emitting diode (OLED, Organic Light-Emitting Diode) configure display panel.Further, Touch sensitive surface can cover display panel, after touch sensitive surface detects touch operation on it or nearby, send processor to 68 to determine the type of touch event, is followed by subsequent processing device 68 according to the type of touch event and provides corresponding view on a display panel Feel output.Although touch sensitive surface and display panel are to realize input and input work as two independent components in Fig. 6 Can, but in some embodiments it is possible to touch sensitive surface and display panel are integrated and realizes and outputs and inputs function.

Terminal 60 may also include at least one sensor 65, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel, proximity sensor can close display panel and/or back when terminal is moved in one's ear Light.As a kind of motion sensor, gravity accelerometer can detect (generally three axis) acceleration in all directions Size can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as terminal The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.

Voicefrequency circuit 66 can provide the audio interface between user and terminal by loudspeaker, microphone.Voicefrequency circuit 66 The audio data received can be converted into electric signal, be transferred to loudspeaker, voice signal output is converted to by loudspeaker;It is another The voice signal of collection is converted to electric signal by aspect, microphone, audio data is converted to after being received by voicefrequency circuit 66, then will After the processing of audio data output processor 68, such as another terminal is sent to through radio circuit 61, or audio data is defeated Out to memory 62 to be further processed.Voicefrequency circuit 66 is also possible that earphone jack, to provide peripheral hardware earphone and terminal Communication.

Wireless Fidelity (WiFi) belongs to short range wireless transmission technology, and terminal can help to use by wireless fidelity module 67 Family sends and receive e-mail, browses webpage and access streaming video etc., it provides wireless broadband internet access for user.Though Right Fig. 6 shows wireless fidelity module 67, but it is understood that, and it is not belonging to must be configured into for terminal, it completely can be with It omits within the scope of not changing the essence of the invention as needed.

Processor 68 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 62, and call the number being stored in memory 62 According to, execute terminal various functions and processing data, thus to terminal carry out integral monitoring.Optionally, processor 68 may include One or more processing cores;Preferably, processor 68 can integrate application processor and modem processor, wherein application The main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.It can With understanding, above-mentioned modem processor can not also be integrated into processor 68.

Terminal 60 further includes the power supply 69 (such as battery) powered to all parts.Preferably, power supply can pass through power supply Management system and processor 68 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.Power supply 69 can also include one or more direct current or AC power source, recharging system, power failure monitor The random components such as circuit, power adapter or inverter, power supply status indicator.

Although being not shown in Fig. 6, terminal can also include camera, bluetooth module etc., and details are not described herein.

Specifically in the present embodiment, the processor 68 in terminal can be according to following instruction, will be one or more The corresponding executable file of the process of application program is loaded into memory 62, and is stored in memory by processor 68 to run Application program in 62, to realize various functions:

The acceleration of terminal is obtained, and detects whether the acceleration meets preset condition;When detect the acceleration meet When preset condition, the component of acceleration before current time is obtained;When detecting that acceleration changes, the variation is obtained The variable quantity that falls parameter of the terminal on preset direction, obtains change component in journey;According to the component of acceleration and the change Change component and determines collision characteristic information.

Preferably, processor 68 has first to obtain module, the second acquisition module, third acquisition module, determining module;

Processor 68 for obtaining the acceleration of terminal, and detects whether the acceleration meets preset condition;

Processor 68, for obtaining the acceleration before current time when detecting that the acceleration meets preset condition Component;

Processor 68 is presetting side for when detecting that acceleration changes, obtaining the terminal in the change procedure The upward variable quantity for falling parameter, obtains change component;

Processor 68, for determining collision characteristic information according to the component of acceleration and the change component.

Aforesaid operations are for details, reference can be made to the embodiment of the method for front, and details are not described herein.

The terminal of this preferred embodiment by obtaining the acceleration of terminal, and detects whether the acceleration meets default item Part;When detecting that the acceleration meets preset condition, the component of the acceleration before current time is obtained;Accelerate when detecting When degree changes, the variable quantity that falls parameter of the terminal on preset direction in the change procedure is obtained, obtains variation point Amount;Collision characteristic information is determined according to the component of acceleration and the change component.Due to that can be divided according to acceleration when falling The changing value of amount and the direction in falling process or angle, acquisition and angle, direction and the position when collision on the ground, because This improves accuracy.

Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..

The acquisition methods and device for being provided for the embodiments of the invention a kind of drop information above are described in detail, Used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only used In facilitating the understanding of the method and its core concept of the invention;Meanwhile for those skilled in the art, think of according to the present invention Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair Limitation of the invention.

Claims (9)

1. a kind of acquisition methods of drop information characterized by comprising
The acceleration of terminal is obtained, and detects whether the acceleration meets preset condition;
When detecting that the acceleration meets preset condition, preset data is backed up, and before obtaining current time Component of acceleration;
When detecting that acceleration changes, obtains terminal described in the change procedure and fall parameter on preset direction Variable quantity, obtains change component, and the change component includes the variable quantity in the direction or angle in falling process;
It is obtained according to the component of acceleration and initially falls characteristic information, described initially to fall characteristic information include the side before falling To or angle initial value;
According to the variation of the direction before described fall the perhaps initial value of angle and the direction in falling process or angle Amount determines collision characteristic information, angle, position and direction when the collision characteristic information includes terminal and collision on the ground.
2. the acquisition methods of drop information according to claim 1, which is characterized in that described to detect acceleration The step of when variation includes:
Detect whether the acceleration is equal to preset value;
When the acceleration is equal to the preset value, it is determined that the acceleration changes.
3. the acquisition methods of drop information according to claim 1, which is characterized in that described initially to fall spy according to described Reference breath and change component the step of determining the collision characteristic information include:
By it is described initially fall characteristic information and the change component and carry out plus and minus calculation obtain the collision characteristic information.
4. the acquisition methods of drop information according to claim 1, which is characterized in that whether the detection acceleration The step of meeting preset condition include:
Judge whether the acceleration is located in preset range;
If it is determined that the acceleration is located in the preset range, it is determined that the acceleration meets preset condition.
5. a kind of acquisition device of drop information characterized by comprising
First obtains module, for obtaining the acceleration of terminal, and detects whether the acceleration meets preset condition;
Second obtains module, for obtaining the acceleration before current time when detecting that the acceleration meets preset condition Spend component;
Backup module, for being backed up to preset data when detecting that the acceleration meets preset condition;
Third obtains module, for when detecting that acceleration changes, obtaining terminal described in the change procedure default The variable quantity for falling parameter on direction, obtains change component, the change component include direction in falling process or The variable quantity of angle;
Determining module, for determining collision characteristic information according to the component of acceleration and the change component;
Wherein, the determining module includes:
Acquisition of information submodule initially falls characteristic information for obtaining according to the component of acceleration, described initially to fall spy Reference breath includes the initial value in the direction or angle before falling;
Submodule is determined, for the initial value in direction or angle before falling according to, and the side in falling process To or the variable quantity of angle determine the collision characteristic information, when the collision characteristic information includes terminal and collision on the ground Angle, position and direction.
6. the acquisition device of drop information according to claim 5, which is characterized in that the third obtains module, specifically For:
Detect whether the acceleration is equal to preset value;When the acceleration is equal to the preset value, it is determined that the acceleration Degree changes.
7. the acquisition device of drop information according to claim 5, which is characterized in that the determining submodule, it is specific to use In by it is described initially fall characteristic information and the change component and carry out plus and minus calculation obtain the collision characteristic information.
8. the acquisition device of drop information according to claim 5, which is characterized in that described first obtains module, specifically For:
Judge whether the acceleration is located in preset range;When determining that the acceleration is located in the preset range, then Determine that the acceleration meets preset condition.
9. a kind of computer readable storage medium, computer program of the storage for the acquisition of drop information, wherein the meter Calculation machine program makes computer execute such as the described in any item methods of Claims 1-4.
CN201610806684.3A 2016-09-06 2016-09-06 The acquisition methods and device of drop information CN106357897B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610806684.3A CN106357897B (en) 2016-09-06 2016-09-06 The acquisition methods and device of drop information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610806684.3A CN106357897B (en) 2016-09-06 2016-09-06 The acquisition methods and device of drop information

Publications (2)

Publication Number Publication Date
CN106357897A CN106357897A (en) 2017-01-25
CN106357897B true CN106357897B (en) 2019-07-16

Family

ID=57859355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610806684.3A CN106357897B (en) 2016-09-06 2016-09-06 The acquisition methods and device of drop information

Country Status (1)

Country Link
CN (1) CN106357897B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107819909B (en) * 2017-11-27 2020-01-14 Oppo广东移动通信有限公司 Electronic device and fall protection method thereof
CN108337370B (en) * 2018-01-16 2019-07-19 Oppo广东移动通信有限公司 Fault detection method and Related product
CN108234703A (en) * 2018-01-18 2018-06-29 广东欧珀移动通信有限公司 Electronic device, camera shooting head inspecting method and Related product
CN108307065A (en) * 2018-01-25 2018-07-20 广东欧珀移动通信有限公司 Fall reminding method and relevant device
CN108769350A (en) * 2018-04-27 2018-11-06 Oppo广东移动通信有限公司 Fall detection method and relevant apparatus
CN108833671A (en) * 2018-04-28 2018-11-16 Oppo广东移动通信有限公司 Electronic device falls detection method and Related product
CN108616682A (en) * 2018-05-18 2018-10-02 维沃移动通信有限公司 A kind of camera head protecting method and terminal
CN109088986A (en) * 2018-07-25 2018-12-25 南昌努比亚技术有限公司 Mobile terminal guard method, mobile terminal and computer readable storage medium
CN109639892A (en) * 2018-12-14 2019-04-16 顺丰科技有限公司 A kind of handheld terminal and its fall monitoring method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685324A (en) * 2012-04-23 2012-09-19 华为终端有限公司 Automatic data backup method and device
CN104092180A (en) * 2014-06-20 2014-10-08 三星电子(中国)研发中心 Collision detection processing method and device
CN104427092A (en) * 2013-08-22 2015-03-18 中兴通讯股份有限公司 Automatic shutdown method and device for mobile terminal and mobile terminal
CN104680088A (en) * 2013-11-29 2015-06-03 中兴通讯股份有限公司 Mobile terminal falling prevention method and falling prevention device
CN105866469A (en) * 2016-03-25 2016-08-17 广东欧珀移动通信有限公司 Terminal acceleration data processing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10030937B2 (en) * 2013-05-09 2018-07-24 Shooting Simulator, Llc System and method for marksmanship training
CN104460696B (en) * 2014-10-29 2017-05-24 广东欧珀移动通信有限公司 Protection processing method, system and device for mobile terminal falling

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685324A (en) * 2012-04-23 2012-09-19 华为终端有限公司 Automatic data backup method and device
CN104427092A (en) * 2013-08-22 2015-03-18 中兴通讯股份有限公司 Automatic shutdown method and device for mobile terminal and mobile terminal
CN104680088A (en) * 2013-11-29 2015-06-03 中兴通讯股份有限公司 Mobile terminal falling prevention method and falling prevention device
CN104092180A (en) * 2014-06-20 2014-10-08 三星电子(中国)研发中心 Collision detection processing method and device
CN105866469A (en) * 2016-03-25 2016-08-17 广东欧珀移动通信有限公司 Terminal acceleration data processing method and device

Also Published As

Publication number Publication date
CN106357897A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
AU2018200188B2 (en) Side menu displaying method and apparatus and terminal
US20160247484A1 (en) Method for Generating Display Frame and Terminal Device
EP2988199A1 (en) Clicking control method and terminal
CN103500002B (en) The method of application program management, device and terminal unit
CN104518953B (en) Method for deleting message, instant communication terminal and system
CN103455256B (en) The method and terminal of Rotation screen display picture
US10033920B2 (en) Method for controlling cameras, non-transitory storage medium and terminal
CN104243671B (en) Volume adjusting method, device and electronic equipment
CN104965721B (en) The method and device that a kind of pair of application program is updated
US20170187566A1 (en) Alerting Method and Mobile Terminal
US9697622B2 (en) Interface adjustment method, apparatus, and terminal
CN104383681B (en) Method for controlling game program, device and mobile terminal
CN104869468A (en) Method and apparatus for displaying screen information
CN104967896A (en) Method for displaying bulletscreen comment information, and apparatus thereof
CN105005457A (en) Geographical location display method and apparatus
US10691328B2 (en) Method and apparatus for switching the display state between messaging records and contacts information
CN103530040B (en) Object element moving method, device and electronic equipment
US9922438B2 (en) Method and apparatus for switching real-time image in instant messaging
TWI520043B (en) Method, device and moving terminal for examining messages
CN103530115B (en) Application program display method and device and terminal equipment
US20170147187A1 (en) To-be-shared interface processing method, and terminal
CN103365419B (en) A kind of method and apparatus triggering alarm clock control command
CN106453829B (en) A kind of falling height detection method and device
EP2851779A1 (en) Method, device, storage medium and terminal for displaying a virtual keyboard
CN106778585A (en) A kind of face key point-tracking 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant