Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
First embodiment
As shown in Fig. 2, the first embodiment of the present invention provides a kind of control method of slide, this method comprises:
Step 201, when detecting the slide to display interface, the sliding trace of slide is obtained.
Wherein, in the embodiment of invention, above-mentioned display interface can be list display interface, such as mobile terminal is set
Set list interface, it is of course possible to which understanding does not limit the specific shape of above-mentioned display interface in an embodiment of the present invention
Formula.
In this as an example, the concrete form of above-mentioned sliding trace can be if the solid line in Figure 1A is (i.e. in Figure 1A
Curve), shown in the curve in Figure 1B or the curve in Fig. 1 C.Wherein, in Figure 1A, Figure 1B and Fig. 1 C, Y-axis is coordinate system
In be parallel to display content glide direction (i.e. the display direction of display interface) reference axis, X-axis be coordinate system in perpendicular to
Show the reference axis of the glide direction (i.e. the display direction of display interface) of content, the B in Figure 1B and Fig. 1 C indicates sliding rail
Angle between mark and display direction.In addition, above-mentioned mobile terminal can be the equipment such as smart phone, tablet computer.
Step 202, whether detection sliding trace deviates the display direction of display interface.
Wherein, in an embodiment of the present invention, the specific implementation of above-mentioned steps 202 includes the following steps: that detection is slided
Whether the distance between the initial position of dynamic rail mark and final position are greater than the first pre-determined distance and sliding trace and display direction
Between angle whether be greater than predetermined angle, and if sliding trace initial position and the distance between final position be greater than first
Angle between pre-determined distance and sliding trace and display direction is greater than predetermined angle, it is determined that sliding trace deviates display circle
The display direction in face;And if the distance between the initial position of sliding trace and final position be not more than the first pre-determined distance, and/
Or, the angle between sliding trace and display direction is greater than predetermined angle, it is determined that sliding trace is without departing from the aobvious of display interface
Show direction.
And in an embodiment of the present invention, the display direction of above-mentioned display interface is the sliding of the display content of display interface
Direction.
Step 203, if sliding trace deviate display direction, obtain slide on display direction first sliding away from
From the second sliding distance and the second sliding speed with the first sliding speed and slide in the vertical direction of display direction
Degree.
Wherein, in an embodiment of the present invention, if sliding trace deviates display direction, it is determined that the cunning of above-mentioned slide
Dynamic rail mark is longer and angle between sliding trace and display direction is larger, shows that user wants to slide larger distance, and phase
Larger distance is slided in prestige as early as possible, and in an embodiment of the present invention, by obtaining slide in display direction and display side
To vertical direction on sliding distance and sliding speed, be just able to achieve the desired sliding effect of user.
Step 204, according to the first sliding distance, the second sliding distance, the first sliding speed and the second sliding speed, aobvious
Show and executes slide on interface.
It should be noted that if display direction of the sliding trace without departing from display interface, then mobile terminal according to existing at present
The mode that slide is executed on display interface, executes slide in the display interface.
As it can be seen that in an embodiment of the present invention, by when detecting the slide to display interface, obtaining sliding behaviour
The sliding trace of work, and the display direction whether sliding trace deviates display interface is detected, and if sliding trace deviation display side
To then obtaining first sliding distance and first sliding speed and slide of the slide on display direction and showing
The second sliding distance and the second sliding speed in the vertical direction in direction, finally according to the first sliding distance, second sliding away from
From, the first sliding speed and the second sliding speed, slide is executed in the display interface, and the interaction that can satisfy user needs
It asks, improves the intelligence and ease for use of mobile terminal, the user experience is improved.
Second embodiment
As shown in figure 3, the first embodiment of the present invention provides a kind of control method of slide, this method comprises:
Step 301, when detecting the slide to display interface, the sliding trace of slide is obtained.
Wherein, in the embodiment of invention, above-mentioned display interface can be list display interface, such as mobile terminal is set
Set list interface, it is of course possible to which understanding does not limit the specific shape of above-mentioned display interface in an embodiment of the present invention
Formula.
In this as an example, the concrete form of above-mentioned sliding trace can be if the solid line in Figure 1A is (i.e. in Figure 1A
Curve), shown in the curve in Figure 1B or the curve in Fig. 1 C.Wherein, in Figure 1A, Figure 1B and Fig. 1 C, Y-axis is coordinate system
In be parallel to display content glide direction (i.e. the display direction of display interface) reference axis, X-axis be coordinate system in perpendicular to
Show the reference axis of the glide direction (i.e. the display direction of display interface) of content, the B in Figure 1B and Fig. 1 C indicates sliding rail
Angle between mark and display direction.In addition, above-mentioned mobile terminal can be the equipment such as smart phone, tablet computer.
Step 302, whether detection sliding trace deviates the display direction of display interface.
Wherein, in an embodiment of the present invention, the specific implementation of above-mentioned steps 302 includes the following steps: that detection is slided
Whether the distance between the initial position of dynamic rail mark and final position are greater than the first pre-determined distance and sliding trace and display direction
Between angle whether be greater than predetermined angle, and if sliding trace initial position and the distance between final position be greater than first
Angle between pre-determined distance and sliding trace and display direction is greater than predetermined angle, it is determined that sliding trace deviates display circle
The display direction in face;And if the distance between the initial position of sliding trace and final position be not more than the first pre-determined distance, and/
Or, the angle between sliding trace and display direction is greater than predetermined angle, it is determined that sliding trace is without departing from the aobvious of display interface
Show direction.
Step 303, if sliding trace deviate display direction, obtain slide on display direction first sliding away from
From the second sliding distance and the second sliding speed with the first sliding speed and slide in the vertical direction of display direction
Degree.
Wherein, in an embodiment of the present invention, if display direction of the sliding trace without departing from display interface, mobile terminal
In the way of executing slide in the display interface at present, slide is executed in the display interface.
And in an embodiment of the present invention, the specific implementation of above-mentioned steps 303 includes the following steps: to be grasped according to sliding
Angle between the sliding trace and sliding trace and display direction of work obtains the first sliding distance and the second sliding distance,
And according to the angle between the speed and sliding trace and display direction of slide, obtains the first sliding speed and slided with second
Dynamic speed.
It should be noted that according to the angle between sliding trace and display direction, sliding trace and slide
The specific implementation that speed obtains the first sliding distance, the second sliding distance, the first sliding speed and the second sliding speed can
It is realized, therefore here, its specific implementation is not repeated excessively by the simple prior art.And in this as one
Example, it is assumed that sliding trace is the curve in Figure 1B, then the first sliding distance and the second sliding distance that get are Figure 1B
Shown in the first sliding distance and the second sliding distance, it is similar, it is assumed that sliding trace be Fig. 1 C in curve, get
First sliding speed and the second sliding speed are the first sliding speed shown in Fig. 1 C and the second sliding speed.
Step 304, according to the first sliding distance and the second sliding distance, obtain what slide slided on display direction
Final distance.
Wherein, in an embodiment of the present invention, the specific implementation of step 304 are as follows: pass through formulaFinal distance is calculated.Wherein, S indicates final distance, S1Indicate the first sliding distance, S2It indicates
Second sliding distance.In this as an example, it is assumed that sliding trace is the curve in Figure 1B, then the final distance got
For final distance shown in Figure 1B.
Step 305, according to the first sliding speed and the second sliding speed, obtain what slide slided on display direction
Final speed.
Wherein, in an embodiment of the present invention, the specific implementation of step 305 are as follows: pass through formulaFinal speed is calculated.Wherein, V indicates final speed, V1Indicate the first sliding speed, V2It indicates
Second sliding speed.In this as an example, it is assumed that sliding trace is the curve in Fig. 1 C, then the final speed got
For final speed shown in Fig. 1 C.
Step 306, according to final distance and final speed, slide is executed in the display interface.
Wherein, in an embodiment of the present invention, due at present can by slide (such as pass through user's finger input
Slide) distance and speed slided on display direction, the total distance of display content sliding and the speed of sliding are obtained,
Therefore in an embodiment of the present invention, by it is above-mentioned it is final distance as the distance slided on display direction, while by it is above-mentioned most
Terminal velocity as the speed slided on display direction, just can obtain on display interface display content sliding total distance and
The speed of sliding, to execute slide in the display interface.
Wherein, in an embodiment of the present invention, it is slided when since distance display bottom of screen or the closer position in top
When dynamic, if the specific implementation of above-mentioned steps 306 includes the following steps: that the initial position of slide is the aobvious of mobile terminal
Final distance is then increased presupposition multiple with final speed, the final distance after being increased by the predeterminated position on display screen curtain
With final speed, and according to after increase it is final distance and final speed, execute slide in the display interface.Wherein, on
Stating predeterminated position is to show on screen with the bottom of display screen or top at a distance of the position of the second pre-determined distance, as one
Example, above-mentioned second pre-determined distance can be the 10% of the length of display screen curtain.As it can be seen that in an embodiment of the present invention, if sliding
The initial position of dynamic operation is the predeterminated position on the display screen of mobile terminal, show user think to slide as early as possible it is farther away away from
From then needing final distance obtained in step 304 increasing presupposition multiple with final speed obtained in step 305
(such as 1.5 times), after being increased it is final distance and final speed, and according to after increase it is final apart from and final speed,
Slide is executed in the display interface, so that the total distance of display content sliding and the speed of sliding reach user's expectation, it is real
Now promote the purpose of the experience of the display content on user's sliding display interface.
It can be seen that in an embodiment of the present invention, by obtaining and sliding when detecting the slide to display interface
The sliding trace of dynamic operation, and detect the display direction whether sliding trace deviates display interface, and if sliding trace deviate it is aobvious
Show direction, then obtains first sliding distance and first sliding speed and slide of the slide on display direction and exist
The second sliding distance and the second sliding speed in the vertical direction of display direction are finally slided according to the first sliding distance, second
Dynamic distance, the first sliding speed and the second sliding speed, obtain final distance that slide slides on display direction with most
Terminal velocity, and slide is executed with final speed according to final distance in the display interface, the interaction that can satisfy user needs
It asks, improves the intelligence and ease for use of mobile terminal, the user experience is improved.
3rd embodiment
As shown in Figure 4 A and 4 B shown in FIG., the third embodiment of the present invention provides a kind of mobile terminal, the mobile terminal 400 packet
It includes:
First obtains module 401, for obtaining the sliding of slide when detecting the slide to display interface
Track;
Whether detection module 402 deviates the display direction of display interface for detecting sliding trace;
Second obtains module 403, for obtaining slide on display direction when sliding trace deviates display direction
The second sliding distance in the vertical direction of display direction of the first sliding distance and the first sliding speed and slide
With the second sliding speed;
Sliding block 404, for according to the first sliding distance, the second sliding distance, the first sliding speed and the second sliding
Speed executes slide in the display interface.
Wherein, above-mentioned mobile terminal 400 can be the equipment such as smart phone, tablet computer.
Optionally, detection module 402 includes:
Whether detection sub-module, the distance between initial position and final position for detecting sliding trace are greater than first
Whether the angle between pre-determined distance and sliding trace and display direction is greater than predetermined angle;
Determine submodule, for the initial position in sliding trace between final position at a distance from be greater than first it is default away from
From and angle between sliding trace and display direction be greater than predetermined angle when, determine that sliding trace deviates the aobvious of display interface
Show direction.
Optionally, the second acquisition module 403 includes:
First acquisition submodule, between the sliding trace and sliding trace and display direction according to slide
Angle obtains the first sliding distance and the second sliding distance;
Second acquisition submodule, for the angle between the speed and sliding trace and display direction according to slide
Degree obtains the first sliding speed and the second sliding speed.
Optionally, sliding block 404 includes:
Third acquisition submodule 4041, for obtaining slide and existing according to the first sliding distance and the second sliding distance
The final distance slided on display direction;
4th acquisition submodule 4042, for obtaining slide and existing according to the first sliding speed and the second sliding speed
The final speed slided on display direction;
Submodule 4043 is slided, for executing slide in the display interface according to finally distance and final speed.
Optionally, sliding submodule 4043 includes:
First sliding unit, for being the predeterminated position of mobile terminal shown on screen in the initial position of slide
When, final distance is increased into presupposition multiple with final speed, final distance and final speed after being increased;
Second sliding unit, for executing sliding in the display interface according to the final distance and final speed after increase
Operation;
Wherein, predeterminated position is to show on screen with the bottom of display screen or top at a distance of the position of the second pre-determined distance
It sets.
Optionally, third acquisition submodule 4041, specifically for passing through formulaIt is calculated most
Whole distance;
Wherein, S indicates final distance, S1Indicate the first sliding distance, S2Indicate the second sliding distance.
Optionally, the 4th acquisition submodule 4042, specifically for passing through formulaIt is calculated most
Terminal velocity;
Wherein, V indicates final speed, V1Indicate the first sliding speed, V2Indicate the second sliding speed.
Wherein, in an embodiment of the present invention, mobile terminal is by obtaining when detecting the slide to display interface
Take the sliding trace of slide, and detect the display direction whether sliding trace deviates display interface, and if sliding trace it is inclined
From display direction, then first sliding distance and first sliding speed of the slide on display direction, and sliding behaviour are obtained
Make the second sliding distance and the second sliding speed in the vertical direction of display direction, finally according to the first sliding distance, the
Two sliding distances, the first sliding speed and the second sliding speed, execute slide in the display interface, can satisfy user's
Interaction demand improves the intelligence and ease for use of mobile terminal, and the user experience is improved.
It should be noted that the mobile terminal that third embodiment of the invention provides is the mobile terminal using the above method,
That is all embodiments of the above method are suitable for the mobile terminal, and can reach the same or similar beneficial effect.
Fourth embodiment
As shown in figure 5, the fourth embodiment of the present invention provides a kind of mobile terminal, which includes: at least
One processor 501, memory 502, at least one network interface 504 and other users interface 503.In mobile terminal 500
Various components are coupled by bus system 505.It is understood that bus system 505 is for realizing the company between these components
Connect letter.Bus system 505 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But
It is that various buses are all designated as bus system 505 in Fig. 5 for the sake of clear explanation.
Wherein, user interface 503 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synch link DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 502 of system and method described herein is intended to include but is not limited to these and arbitrarily its
It is suitble to the memory of type.
In some embodiments, memory 502 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 5021 and application program 5022.
Wherein, operating system 5021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 5022 includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 5022.
In embodiments of the present invention, by the program or instruction of calling memory 502 to store, specifically, can be application
The program or instruction stored in program 5022, processor 501 are used for when detecting the slide to display interface, are obtained and are slided
The sliding trace of dynamic operation;Whether detection sliding trace deviates the display direction of display interface;If sliding trace deviates display side
To then obtaining first sliding distance and first sliding speed and slide of the slide on display direction and showing
The second sliding distance and the second sliding speed in the vertical direction in direction;According to the first sliding distance, the second sliding distance,
One sliding speed and the second sliding speed, execute slide in the display interface.
The method that the embodiments of the present invention disclose can be applied in processor 501, or be realized by processor 501.
Processor 501 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing
Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor
And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only
In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at
The step of memory 502, processor 501 reads the information in memory 502, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein
The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or
It is realized outside processor.
Optionally, processor 501 is also used to: whether detecting the distance between initial position and final position of sliding trace
Whether the angle greater than the first pre-determined distance and between sliding trace and display direction is greater than predetermined angle;If sliding trace
The angle of the distance between initial position and final position greater than the first pre-determined distance and between sliding trace and display direction is big
In predetermined angle, it is determined that the display direction of sliding trace deviation display interface.
Optionally, processor 501 is also used to: according to the sliding trace of slide and sliding trace and display direction it
Between angle, obtain the first sliding distance and the second sliding distance;According to the speed of slide and sliding trace and display
Angle between direction obtains the first sliding speed and the second sliding speed.
Optionally, processor 501 is also used to: according to the first sliding distance and the second sliding distance, being obtained slide and is existed
The final distance slided on display direction;According to the first sliding speed and the second sliding speed, slide is obtained in display side
The final speed of upward sliding;According to final distance and final speed, slide is executed in the display interface.
Optionally, processor 501 is also used to: if the initial position of slide is pre- on the display screen of mobile terminal
If position, then final distance is increased into presupposition multiple with final speed, final distance and final speed after being increased;Root
According to the final distance and final speed after increase, slide is executed in the display interface.Wherein, predeterminated position is display screen
Upper and display screen bottom or top are at a distance of the position of the second pre-determined distance.
Optionally, processor 501 is also used to: passing through formulaFinal distance is calculated.Wherein,
S indicates final distance, S1Indicate the first sliding distance, S2Indicate the second sliding distance.
Optionally, processor 501 is also used to: passing through formulaFinal speed is calculated.Wherein,
V indicates final speed, V1Indicate the first sliding speed, V2Indicate the second sliding speed.
Mobile terminal 500 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
In the fourth embodiment of the present invention, mobile terminal is by obtaining when detecting the slide to display interface
Take the sliding trace of slide, and detect the display direction whether sliding trace deviates display interface, and if sliding trace it is inclined
From display direction, then first sliding distance and first sliding speed of the slide on display direction, and sliding behaviour are obtained
Make the second sliding distance and the second sliding speed in the vertical direction of display direction, finally according to the first sliding distance, the
Two sliding distances, the first sliding speed and the second sliding speed, execute slide in the display interface, can satisfy user's
Interaction demand improves the intelligence and ease for use of mobile terminal, and the user experience is improved.
5th embodiment
As shown in fig. 6, the fifth embodiment of the present invention provides a kind of mobile terminal, which can be hand
Machine, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal 600 in Fig. 6 includes radio frequency (Radio Frequency, RF) circuit 610, memory 620, input
Unit 630, display unit 640, processor 660, voicefrequency circuit 670, WiFi (Wireless Fidelity) module 680 and electricity
Source 690.
Wherein, input unit 630 can be used for receiving the number or character information of user's input, and generation and mobile terminal
The related signal input of 600 user setting and function control.Specifically, in the embodiment of the present invention, which can
To include touch panel 631.Touch panel 631, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses the operations of any suitable object or attachment on touch panel 631 such as finger, stylus), and according to preparatory
The formula of setting drives corresponding attachment device.Optionally, touch panel 631 may include touch detecting apparatus and touch controller
Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
The processor 660 is given again, and can be received order that processor 660 is sent and be executed.Furthermore, it is possible to using resistance-type,
The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 631.In addition to touch panel 631, input unit
630 can also include other input equipments 632, other input equipments 632 can include but is not limited to physical keyboard, function key
One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 640 can be used for showing information input by user or be supplied to the information and movement of user
The various menu interfaces of terminal 600.Display unit 640 may include display panel 641, optionally, can use LCD or organic hair
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that touch panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined
After measuring touch operation on it or nearby, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device
660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 660 is the control centre of mobile terminal 600, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or executing the software program and/or module that are stored in first memory 621, and calling storage
Data in second memory 622 execute the various functions and processing data of mobile terminal 600, thus to mobile terminal 600
Carry out integral monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/
Or the data in the second memory 622, processor 660 are used for when detecting the slide to display interface, are obtained and are slided
The sliding trace of dynamic operation;Whether detection sliding trace deviates the display direction of display interface;If sliding trace deviates display side
To then obtaining first sliding distance and first sliding speed and slide of the slide on display direction and showing
The second sliding distance and the second sliding speed in the vertical direction in direction;According to the first sliding distance, the second sliding distance,
One sliding speed and the second sliding speed, execute slide in the display interface.
Optionally, processor 660 is also used to: whether detecting the distance between initial position and final position of sliding trace
Whether the angle greater than the first pre-determined distance and between sliding trace and display direction is greater than predetermined angle;If sliding trace
The angle of the distance between initial position and final position greater than the first pre-determined distance and between sliding trace and display direction is big
In predetermined angle, it is determined that the display direction of sliding trace deviation display interface.
Optionally, processor 660 is also used to: according to the sliding trace of slide and sliding trace and display direction it
Between angle, obtain the first sliding distance and the second sliding distance;According to the speed of slide and sliding trace and display
Angle between direction obtains the first sliding speed and the second sliding speed.
Optionally, processor 660 is also used to: according to the first sliding distance and the second sliding distance, being obtained slide and is existed
The final distance slided on display direction;According to the first sliding speed and the second sliding speed, slide is obtained in display side
The final speed of upward sliding;According to final distance and final speed, slide is executed in the display interface.
Optionally, processor 660 is also used to: if the initial position of slide is pre- on the display screen of mobile terminal
If position, then final distance is increased into presupposition multiple with final speed, final distance and final speed after being increased;Root
According to the final distance and final speed after increase, slide is executed in the display interface.Wherein, predeterminated position is display screen
Upper and display screen bottom or top are at a distance of the position of the second pre-determined distance.
Optionally, processor 660 is also used to: passing through formulaFinal distance is calculated.Wherein,
S indicates final distance, S1Indicate the first sliding distance, S2Indicate the second sliding distance.
Optionally, processor 660 is also used to: passing through formulaFinal speed is calculated.Wherein,
V indicates final speed, V1Indicate the first sliding speed, V2Indicate the second sliding speed.
As it can be seen that mobile terminal is by detecting the slide to display interface in the fifth embodiment of the present invention
When, the sliding trace of slide is obtained, and detect the display direction whether sliding trace deviates display interface, and if sliding rail
Mark deviates display direction, then obtains first sliding distance and first sliding speed of the slide on display direction, and sliding
Second sliding distance and second sliding speed of the dynamic operation in the vertical direction of display direction, finally according to the first sliding away from
From, the second sliding distance, the first sliding speed and the second sliding speed, execute slide in the display interface, can satisfy
The interaction demand of user improves the intelligence and ease for use of mobile terminal, and the user experience is improved.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.