CN106873896B - A kind of control method and mobile terminal of slide - Google Patents

A kind of control method and mobile terminal of slide Download PDF

Info

Publication number
CN106873896B
CN106873896B CN201710116279.3A CN201710116279A CN106873896B CN 106873896 B CN106873896 B CN 106873896B CN 201710116279 A CN201710116279 A CN 201710116279A CN 106873896 B CN106873896 B CN 106873896B
Authority
CN
China
Prior art keywords
sliding
distance
speed
slide
final
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710116279.3A
Other languages
Chinese (zh)
Other versions
CN106873896A (en
Inventor
董琳倩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Vivo Mobile Communication Co Ltd Beijing Branch
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 Vivo Mobile Communication Co Ltd, Vivo Mobile Communication Co Ltd Beijing Branch filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710116279.3A priority Critical patent/CN106873896B/en
Publication of CN106873896A publication Critical patent/CN106873896A/en
Application granted granted Critical
Publication of CN106873896B publication Critical patent/CN106873896B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

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

Abstract

The embodiment provides a kind of control method of slide and mobile terminals, wherein this method comprises: obtaining the sliding trace of slide when detecting the slide to display interface;Whether detection sliding trace deviates the display direction of display interface;If sliding trace deviates display direction, second sliding distance and second sliding speed of first sliding distance and first sliding speed and slide of the slide on display direction in the vertical direction of display direction are obtained;According to the first sliding distance, the second sliding distance, the first sliding speed and the second sliding speed, slide is executed in the display interface, can satisfy the interaction demand of user, improves the intelligence and ease for use of mobile terminal, the user experience is improved.

Description

A kind of control method and mobile terminal of slide
Technical field
The present invention relates to electronic technology field, in particular to the control method and mobile terminal of a kind of slide.
Background technique
The longitudinal sliding motion effect of major part mobile terminal is determined by following two factors now: finger is in Y-axis (preset coordinate The reference axis of the glide direction of display content is parallel in system) on the distance slided and the speed slided in Y-axis.According to this two The total distance and finger of a final display content sliding of factor decision show the speed of content sliding after frameing out.
By taking Figure 1A as an example, Y-axis is that the reference axis of the glide direction of display content is parallel in coordinate system, and X-axis is coordinate system In perpendicular to display content glide direction reference axis, when user's finger input slide sliding trace (such as Figure 1A In solid line) corresponding sliding distance it is longer when, indicate that user thinks to slide larger distance as early as possible, and desired display content is most Fast sliding larger distance, but practical sliding trace and Y-axis angle (the angle A in such as Figure 1A) are larger causes to slide in Y-axis Distance (length of solid line with the arrow in such as Figure 1A) is shorter, and sliding speed component is smaller in Y-axis, according to the meter of existing method Calculation mode, the initial velocity after final finger frames out is smaller, and shows that the distance of content sliding is shorter, is unable to satisfy user Interaction demand.
Summary of the invention
The control method and mobile terminal for being designed to provide a kind of slide of the embodiment of the present invention, it is existing to solve Mobile terminal in technology is when executing slide, the problem of being unable to satisfy the interaction demand of user.
In order to achieve the above object, the embodiment provides a kind of control method of slide, this method packets It includes:
When detecting the slide to display interface, the sliding trace of slide is obtained;
Whether detection sliding trace deviates the display direction of display interface;
If sliding trace deviates display direction, first sliding distance and first of the slide on display direction is obtained The second sliding distance and the second sliding speed of sliding speed and slide in the vertical direction of display direction;
According to the first sliding distance, the second sliding distance, the first sliding speed and the second sliding speed, in the display interface Execute slide.
The embodiments of the present invention also provide a kind of mobile terminals, comprising:
First obtains module, for when detecting the slide to display interface, obtaining the sliding rail of slide Mark;
Whether detection module deviates the display direction of display interface for detecting sliding trace;
Second obtains module, for obtaining slide on display direction when sliding trace deviates display direction The second sliding distance of first sliding distance and the first sliding speed and slide in the vertical direction of display direction and Second sliding speed;
Sliding block, for according to the first sliding distance, the second sliding distance, the first sliding speed and the second sliding speed Degree, executes slide in the display interface.
Above scheme of the invention is include at least the following beneficial effects:
In an embodiment of the present invention, by obtaining slide when detecting the slide to display interface Sliding trace, and detect the display direction whether sliding trace deviates display interface, and if sliding trace deviate display direction, First sliding distance and first sliding speed and slide of the slide on display direction are obtained in display direction The second sliding distance and the second sliding speed in vertical direction, finally according to the first sliding distance, the second sliding distance, first Sliding speed and the second sliding speed, execute slide in the display interface, can satisfy the interaction demand of user, improve The intelligence and ease for use of mobile terminal, the user experience is improved.
Detailed description of the invention
Figure 1A is one of the schematic diagram of sliding trace of slide;
Figure 1B is the two of the schematic diagram of the sliding trace of slide;
Fig. 1 C is the three of the schematic diagram of the sliding trace of slide;
Fig. 2 is the flow chart of the control method of slide in first embodiment of the invention;
Fig. 3 is the flow chart of the control method of slide in second embodiment of the invention;
Fig. 4 A is one of the structural schematic diagram of mobile terminal in third embodiment of the invention;
Fig. 4 B is the second structural representation of mobile terminal in third embodiment of the invention;
Fig. 5 is the structural schematic diagram of mobile terminal in fourth embodiment of the invention;
Fig. 6 is the structural schematic diagram of mobile terminal in fifth embodiment of the invention.
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.

Claims (12)

1. a kind of control method of slide, which is characterized in that the described method includes:
When detecting the slide to display interface, the sliding trace of the slide is obtained;
Detect the display direction whether sliding trace deviates the display interface, wherein the display side of the display interface To the glide direction to show content;
If the sliding trace deviates the display direction, first cunning of the slide on the display direction is obtained Dynamic the second sliding distance of distance and the first sliding speed and the slide in the vertical direction of the display direction With the second sliding speed;
According to first sliding distance and second sliding distance, it is sliding on the display direction to obtain the slide Dynamic final distance;
According to first sliding speed and second sliding speed, it is sliding on the display direction to obtain the slide Dynamic final speed;
According to the final distance and the final speed, slide is executed on the display interface.
2. the method according to claim 1, wherein whether the detection sliding trace deviates the display The step of display direction at interface, comprising:
Detect whether the distance between the initial position of the sliding trace and final position are greater than the first pre-determined distance and described Whether the angle between sliding trace and the display direction is greater than predetermined angle;
If the distance between the initial position of the sliding trace and final position are greater than the first pre-determined distance and the sliding rail Angle between mark and the display direction is greater than the predetermined angle, it is determined that the sliding trace deviates the display interface Display direction.
3. the method according to claim 1, wherein described obtain the slide on the display direction The first sliding distance and the first sliding speed and the slide in the vertical direction of the display direction second The step of sliding distance and the second sliding speed, comprising:
According to the angle between the sliding trace of the slide and the sliding trace and the display direction, institute is obtained State the first sliding distance and second sliding distance;
According to the angle between the speed of the slide and the sliding trace and the display direction, described the is obtained One sliding speed and the second sliding speed.
4. the method according to claim 1, wherein described according to the final distance and the final speed, In the step of executing slide on the display interface, comprising:
If the initial position of the slide is the predeterminated position on the display screen of mobile terminal, by the final distance Increase presupposition multiple with the final speed, final distance and final speed after being increased;
According to the final distance and final speed after the increase, slide is executed on the display interface;
Wherein, the predeterminated position is default at a distance of second with the bottom of the display screen or top on the display screen The position of distance.
5. the method according to claim 1, wherein described slide according to first sliding distance with described second Dynamic distance, obtain the slide slided on the display direction it is final apart from the step of, comprising:
Pass through formulaThe final distance is calculated;
Wherein, S indicates the final distance, S1Indicate first sliding distance, S2Indicate second sliding distance.
6. the method according to claim 1, wherein described slide according to first sliding speed with described second Dynamic speed obtains the slide the final speed slided on the display direction the step of, comprising:
Pass through formulaThe final speed is calculated;
Wherein, V indicates the final speed, V1Indicate first sliding speed, V2Indicate second sliding speed.
7. a kind of mobile terminal characterized by comprising
First obtains module, for when detecting the slide to display interface, obtaining the sliding rail of the slide Mark;
Whether detection module deviates the display direction of the display interface for detecting the sliding trace, wherein the display The display direction at interface is the glide direction for showing content;
Second obtains module, for obtaining the slide described when the sliding trace deviates the display direction The Vertical Square of the first sliding distance and the first sliding speed and the slide on display direction in the display direction Upward the second sliding distance and the second sliding speed;
Third acquisition submodule, for obtaining the sliding behaviour according to first sliding distance and second sliding distance Make the final distance slided on the display direction;
4th acquisition submodule, for obtaining the sliding behaviour according to first sliding speed and second sliding speed Make the final speed slided on the display direction;
Submodule is slided, for executing sliding behaviour on the display interface according to the final distance and the final speed Make.
8. mobile terminal according to claim 7, which is characterized in that the detection module includes:
Whether detection sub-module, the distance between initial position and final position for detecting the sliding trace are greater than first Whether the angle between pre-determined distance and the sliding trace and the display direction is greater than predetermined angle;
Determine submodule, for be greater than at a distance from the initial position of the sliding trace is between final position first it is default away from From and angle between the sliding trace and the display direction be greater than the predetermined angle when, determine the sliding trace Deviate the display direction of the display interface.
9. mobile terminal according to claim 7, which is characterized in that described second, which obtains module, includes:
First acquisition submodule, for according to the sliding trace of the slide and the sliding trace and the display side Angle between obtains first sliding distance and second sliding distance;
Second acquisition submodule, for according to the speed of the slide and the sliding trace and the display direction it Between angle, obtain first sliding speed and the second sliding speed.
10. mobile terminal according to claim 7, which is characterized in that the sliding submodule includes:
First sliding unit, for being the predeterminated position of mobile terminal shown on screen in the initial position of the slide When, the final distance is increased into presupposition multiple with the final speed, final distance and final speed after being increased;
Second sliding unit, for being executed on the display interface according to the final distance and final speed after the increase Slide;
Wherein, the predeterminated position is default at a distance of second with the bottom of the display screen or top on the display screen The position of distance.
11. mobile terminal according to claim 7, which is characterized in that the third acquisition submodule, specifically for passing through FormulaThe final distance is calculated;
Wherein, S indicates the final distance, S1Indicate first sliding distance, S2Indicate second sliding distance.
12. mobile terminal according to claim 7, which is characterized in that the 4th acquisition submodule, specifically for passing through FormulaThe final speed is calculated;
Wherein, V indicates the final speed, V1Indicate first sliding speed, V2Indicate second sliding speed.
CN201710116279.3A 2017-03-01 2017-03-01 A kind of control method and mobile terminal of slide Active CN106873896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710116279.3A CN106873896B (en) 2017-03-01 2017-03-01 A kind of control method and mobile terminal of slide

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710116279.3A CN106873896B (en) 2017-03-01 2017-03-01 A kind of control method and mobile terminal of slide

Publications (2)

Publication Number Publication Date
CN106873896A CN106873896A (en) 2017-06-20
CN106873896B true CN106873896B (en) 2019-01-29

Family

ID=59168781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710116279.3A Active CN106873896B (en) 2017-03-01 2017-03-01 A kind of control method and mobile terminal of slide

Country Status (1)

Country Link
CN (1) CN106873896B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110989916A (en) * 2019-12-13 2020-04-10 天通畅达(深圳)科技有限公司 Method and device for realizing operation interface by sliding screen

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727230A (en) * 2008-10-17 2010-06-09 中国移动通信集团公司 Method and device for controlling cursor of touch screen, and mobile communication terminal
EP2579143A1 (en) * 2008-12-01 2013-04-10 Research In Motion Limited Portable electronic device and method of controlling same
CN103365577A (en) * 2012-03-28 2013-10-23 联想(北京)有限公司 Control method and electronic device with touch screen
CN103984500A (en) * 2014-05-23 2014-08-13 百度在线网络技术(北京)有限公司 Webpage content displaying method and device
CN105022583A (en) * 2015-07-22 2015-11-04 北京元心科技有限公司 Locking method and apparatus for touch screen
CN105892841A (en) * 2015-11-20 2016-08-24 乐视移动智能信息技术(北京)有限公司 Application search callout method and apparatus as well as system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727230A (en) * 2008-10-17 2010-06-09 中国移动通信集团公司 Method and device for controlling cursor of touch screen, and mobile communication terminal
EP2579143A1 (en) * 2008-12-01 2013-04-10 Research In Motion Limited Portable electronic device and method of controlling same
CN103365577A (en) * 2012-03-28 2013-10-23 联想(北京)有限公司 Control method and electronic device with touch screen
CN103984500A (en) * 2014-05-23 2014-08-13 百度在线网络技术(北京)有限公司 Webpage content displaying method and device
CN105022583A (en) * 2015-07-22 2015-11-04 北京元心科技有限公司 Locking method and apparatus for touch screen
CN105892841A (en) * 2015-11-20 2016-08-24 乐视移动智能信息技术(北京)有限公司 Application search callout method and apparatus as well as system

Also Published As

Publication number Publication date
CN106873896A (en) 2017-06-20

Similar Documents

Publication Publication Date Title
CN106843739B (en) A kind of display control method and mobile terminal of mobile terminal
CN106101848B (en) A kind of barrage display methods and electronic equipment
CN106951141B (en) A kind of processing method and mobile terminal of icon
CN106155480B (en) A kind of interface display method and mobile terminal of application program
CN106293332B (en) A kind of processing method and mobile terminal of singlehanded positioning application
CN106125984B (en) A kind of the touch-control processing method and mobile terminal of mobile terminal
CN106528160B (en) A kind of application program image target adding method and terminal
CN106951174B (en) A kind of method of adjustment and mobile terminal of dummy keyboard
CN106126108B (en) A kind of generation method and mobile terminal of thumbnail
CN106570372B (en) A kind of the starting method and mobile terminal of application program
CN106325753B (en) A kind of display methods and mobile terminal of payment interface
CN106126077A (en) A kind of application program image target display control method and mobile terminal
CN106445235B (en) A kind of touch initial position recognition methods and mobile terminal
CN106227488B (en) A kind of display methods and mobile terminal of reminder message
CN106648035A (en) Image resolution adjusting method and mobile terminal
CN106354303B (en) A kind of photographic method and mobile terminal of mobile terminal
CN106371745B (en) A kind of interface switching method and mobile terminal
CN107193482A (en) The operating method and mobile terminal of a kind of mobile terminal screen
CN106354411B (en) A kind of interface starting method and mobile terminal
CN106126035A (en) A kind of method that application program shows and mobile terminal
CN107329689B (en) A kind of backing method and mobile terminal of hand-writing input method
CN105893130B (en) A kind of processing method and mobile terminal of application program for mobile terminal
CN105243345A (en) Accidental touch preventing method for electronic equipment and electronic equipment
CN107562473B (en) Application program display method and mobile terminal
CN107562345A (en) A kind of information storage means and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20171110

Address after: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Applicant after: VIVO MOBILE COMMUNICATION CO., LTD.

Applicant after: Wewo Mobile Communication Co. Ltd. Beijing branch

Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Applicant before: VIVO MOBILE COMMUNICATION CO., LTD.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200521

Address after: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Patentee after: VIVO MOBILE COMMUNICATION Co.,Ltd.

Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Co-patentee before: Wewo Mobile Communication Co. Ltd. Beijing branch

Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd.