CN104216602B - A kind of method and system for control slide block - Google Patents
A kind of method and system for control slide block Download PDFInfo
- Publication number
- CN104216602B CN104216602B CN201310214034.6A CN201310214034A CN104216602B CN 104216602 B CN104216602 B CN 104216602B CN 201310214034 A CN201310214034 A CN 201310214034A CN 104216602 B CN104216602 B CN 104216602B
- Authority
- CN
- China
- Prior art keywords
- slider bar
- user behavior
- sliding block
- angle
- bar
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Abstract
The invention belongs to graphical interfaces field, a kind of method and system for control slide block is disclosed.Method for control slide block includes:Detect the first user behavior, first user behavior represents the activation of rotary mode, the rotary mode includes the first slider bar of display, and the angle between first slider bar and the second slider bar is more than 0 degree, and second slider bar is to enter the slider bar shown before rotary mode;In response to detecting first user behavior, first slider bar is shown;So that sliding block is slided along first slider bar.By above-mentioned technical proposal, by user's sloping slide bar sliding block can be slided along inclined slider bar automatically, it is to avoid user pulls visual to sliding block caused by sliding block block using finger.
Description
Technical field
The present invention relates to graphical interfaces field, more particularly, to a kind of method and system for control slide block.
Background technology
With the continuous popularization of touch panel device, the various applications with sliding block and slider bar are more and more.Such as media
Sliding block and slider bar are generally used in player to be operated, video is played to facilitate user to choose specific time point
Or audio.Also the application of some e-book readings is also operated using sliding block and slider bar.
But all there is the problem of sliding block is difficult to precise positioning in these applications.Still with the media player on touch panel device
Exemplified by, user wishes to see video since the time point of 5 minutes 1 hour, and user is accomplished by the sliding block that press...withes one's finger, by sliding block edge
Slider bar and drag to desired position and decontrol again.User, which is accomplished by repeatedly pulling the trial unclamped, under normal circumstances could allow cunning
Block is accurately positioned at the position of 5 minutes 1 hour.
For touch panel device, the awkward reason of above-mentioned user is caused to be:The finger tip area of user is than sliding
Block area is big, and finger tip can block display location of the sliding block in slider bar in sliding process, and it is anti-that user can not receive vision in time
Feedback perceive sliding block be in what particular location, and due to finger tip and touch screen contact area compared with conference cause slide granularity compared with
Greatly.Particularly in the less mobile device of screen, the situation that slider bar is shorter, granularity is bigger, user is more difficult to precise positioning cunning
Block.
The content of the invention
User is accurately positioned sliding block for convenience, the embodiments of the invention provide a kind of method for control slide block and is
System.
According to an aspect of the invention, there is provided a kind of method for control slide block, methods described includes:Detection the
One user behavior, first user behavior represents the activation of rotary mode, and the rotary mode includes the first slider bar of display,
Angle between first slider bar and the second slider bar is more than 0 degree, and second slider bar is before entering rotary mode
The slider bar of display;In response to detecting first user behavior, first slider bar is shown;So that sliding block is along described
One slider bar is slided.
According to another aspect of the present invention there is provided a kind of system for control slide block, the system includes:First
Detection module, is configured as detecting the first user behavior, first user behavior represents the activation of rotary mode, the rotation
Pattern includes the first slider bar of display, and the angle between first slider bar and the second slider bar is more than 0 degree, and described second slides
Block bar is to enter the slider bar shown before rotary mode;Rotation-activated module, is configured to respond to detect described first
User behavior, shows first slider bar;Sliding block, is configured such that sliding block is slided along first slider bar.
Technical scheme provided by the present invention can accurately positioning sliding block, and make it that the vision of slide position is anti-
Feedback is unaffected.
Brief description of the drawings
By the way that disclosure illustrative embodiments are described in more detail with reference to accompanying drawing, the disclosure above-mentioned and its
Its purpose, feature and advantage will be apparent, wherein, in disclosure illustrative embodiments, identical reference number
Typically represent same parts.
Fig. 1 shows the block diagram suitable for being used for the exemplary computer system/server 12 for realizing embodiment of the present invention;
Fig. 2 shows a kind of schematic flow sheet of method for control slide block of the embodiment of the present invention;
Fig. 3 shows a kind of specific user interface schematic diagram of the embodiment of the present invention;
Fig. 4 shows a kind of structural representation of system for control slide block of the embodiment of the present invention;
Fig. 5 shows the structural representation of another system for control slide block of the embodiment of the present invention.
Embodiment
The preferred embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing
Preferred embodiment, however, it is to be appreciated that may be realized in various forms the disclosure without the embodiment party that should be illustrated here
Formula is limited.On the contrary, these embodiments are provided so that the disclosure is more thorough and complete, and can be by the disclosure
Scope completely convey to those skilled in the art.
Person of ordinary skill in the field knows that the present invention can be implemented as system, method or computer program product.
Therefore, the disclosure can be implemented as following form, i.e.,:Can be complete hardware, can also be complete software (including
Firmware, resident software, microcode etc.), it can also be the form that hardware and software is combined, referred to generally herein as " circuit ", " mould
Block " or " system ".In addition, in certain embodiments, the present invention is also implemented as in one or more computer-readable mediums
In computer program product form, computer-readable program code is included in the computer-readable medium.
Any combination of one or more computer-readable media can be used.Computer-readable medium can be calculated
Machine readable signal medium or computer-readable recording medium.Computer-readable recording medium for example can be --- but do not limit
In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or it is any more than combination.Calculate
The more specifically example (non exhaustive list) of machine readable storage medium storing program for executing includes:Electrical connection with one or more wires, just
Take formula computer disk, hard disk, random access memory (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In this document, computer-readable recording medium can any include or store journey
The tangible medium of sequence, the program can be commanded execution system, device or device and use or in connection.
Computer-readable signal media can be included in a base band or as the data-signal of carrier wave part propagation,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium beyond computer-readable recording medium, the computer-readable medium can send, propagate or
Transmit for being used or program in connection by instruction execution system, device or device.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but do not limit
In --- wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that the present invention is operated
Program code, described program design language includes object oriented program language-such as Java, Smalltalk, C++, also
Including conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete
Ground performs, partly performs on the user computer, performs, partly exists as an independent software kit on the user computer
Part performs or performed completely on remote computer or server on the remote computer on subscriber computer.It is being related to
In the situation of remote computer, remote computer can be by the network of any kind --- including LAN (LAN) or wide area
Net (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (for example using ISP come
By Internet connection).
The flow chart of method, device (system) and computer program product below with reference to the embodiment of the present invention and/or
The block diagram description present invention.It should be appreciated that each square frame in each square frame and flow chart and/or block diagram of flow chart and/or block diagram
Combination, can be realized by computer program instructions.These computer programs, which are captured, can be supplied to all-purpose computer, special
The processor of computer or other programmable data processing units, so that a kind of machine is produced, these computer program instructions
Performed by computer or other programmable data processing units, generate in the square frame in implementation process figure and/or block diagram and advise
The device of fixed function/operation.
These computer program instructions can also be stored in can cause computer or other programmable data processing units
In the computer-readable medium worked in a specific way, so, the instruction being stored in computer-readable medium just produces one
Command device (the instruction of function/operation specified in the individual square frame including in implementation process figure and/or block diagram
Means manufacture (manufacture)).
Computer program instructions can also be loaded into computer, other programmable data processing units or miscellaneous equipment
On so that series of operation steps is performed on computer, other programmable data processing units or miscellaneous equipment, in terms of producing
The process that calculation machine is realized, so that the instruction performed on computer or other programmable devices can provide implementation process figure
And/or the process of function/operation specified in the square frame in block diagram.
Fig. 1 shows the block diagram suitable for being used for the exemplary computer system/server 12 for realizing embodiment of the present invention.
The computer system/server 12 that Fig. 1 is shown is only an example, to the function of the embodiment of the present invention and should not use scope
Bring any limitation.
As shown in figure 1, computer system/server 12 is showed in the form of universal computing device.Computer system/service
The component of device 12 can include but is not limited to:One or more processor or processing unit 16, system storage 28, connection
The bus 18 of different system component (including system storage 28 and processing unit 16).
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC)
Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Computer system/server 12 typically comprises various computing systems computer-readable recording medium.These media can be appointed
What usable medium that can be accessed by computer system/server 12, including volatibility and non-volatile media, it is moveable and
Immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 30 and/or cache memory 32.Computer system/server 12 may further include other removable
Dynamic/immovable, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for
Read and write immovable, non-volatile magnetic media (Fig. 1 is not shown, is commonly referred to as " hard disk drive ").Although not showing in Fig. 1
Going out, can providing for the disc driver to may move non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable
The CD drive of anonvolatile optical disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases,
Each driver can be connected by one or more data media interfaces with bus 18.Memory 28 can include at least one
Individual program product, the program product has one group of (for example, at least one) program module, and these program modules are configured to perform
The function of various embodiments of the present invention.
Program/utility 40 with one group of (at least one) program module 42, can be stored in such as memory 28
In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs
The realization of network environment is potentially included in each or certain combination in module and routine data, these examples.Program mould
Block 42 generally performs function and/or method in embodiment described in the invention.
Computer system/server 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, aobvious
Show device 24 etc.) communicate, the equipment that can also enable a user to interact with the computer system/server 12 with one or more is led to
Letter, and/or any set with make it that the computer system/server 12 communicated with one or more of the other computing device
Standby (such as network interface card, modem etc.) communication.This communication can be carried out by input/output (I/O) interface 22.And
And, computer system/server 12 can also pass through network adapter 20 and one or more network (such as LAN
(LAN), wide area network (WAN) and/or public network, such as internet) communication.As illustrated, network adapter 20 passes through bus
18 communicate with other modules of computer system/server 12.It should be understood that although not shown in the drawings, computer can be combined
Systems/servers 12 use other hardware and/or software module, include but is not limited to:Microcode, device driver, at redundancy
Manage unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Referring now to Fig. 2, Fig. 2 shows a kind of method for control slide block provided in an embodiment of the present invention.Step
210, the first user behavior is detected, first user behavior represents the activation of rotary mode;In response to detecting first use
Family behavior then enters step 220;Step 220, the first slider bar is shown;Step 230 so that sliding block is along first slider bar
Slide.In the present embodiment, rotary mode includes the first slider bar of display, and the angle between the first slider bar and the second slider bar is big
In 0 degree, the second slider bar is to enter the slider bar shown before rotary mode.In the present embodiment, the first slider bar and second is slided
Block bar can be shown simultaneously, just can also no longer show the second slider bar when showing the first slider bar.In the specific implementation,
One slider bar and the second slider bar can be an objects, namely the second slider bar can be tilted to a cunning of angle composition first
Block bar.
The method that embodiment illustrated in fig. 2 is provided can avoid user for the dragging of sliding block, and sliding block can be along have rotated one
The slider bar for determining angle is slided automatically.Also be not in that sliding block is blocked and shadow by finger because user no longer needs to pull sliding block
The problem of ringing the visual feedback of slide position.Various embodiments of the present invention are not intended to limit sliding block and specifically should with slider bar for which
With.For example, it may be the application in video playback, played content is sometime put to help user to be accurately positioned,
It can be the application in audio or other multimedias, or can also be application in electronic reading etc..
Detailed illustration is carried out to the embodiment shown in Fig. 2 referring to Fig. 3.
In step 210, the first user behavior can be user by two fingers by any two in the second slider bar 320
On point and keep a period of time.The present invention is not intended to limit the embodiment of the first user behavior, as long as it is pre-set
Can represent activate rotary mode behavior both may be used.For example, the first user behavior can also be one finger of user by sliding block
A period of time is kept on bar or by some specific position.Moreover, for non-touch screen equipment, the first user behavior can be with
Being user moves on in slider bar a certain position by mouse and pins left button or right button is kept for a period of time etc..In addition, first uses
Family behavior can also be the confirmation for prompting, and such as user answers "Yes" for prompting " whether into rotary mode ", or
Click on the button of " entering rotary mode ".More first user behaviors are no longer enumerated herein.The present invention is not intended to limit the second cunning
The concrete form of block bar 320, for example, horizontal positioned or be disposed vertically, and is straight line or is curve etc..
In a step 220, the first slider bar 310 can be that identical shape can also be different from the second slider bar 320
Shape.For example, the second slider bar 320 is curve and the first slider bar 310 is straight line.The present invention is not intended to limit the first slider bar
Near the particular location of 310 displays, the position that may be displayed on the second slider bar 320, away from the second slider bar 320.
Also, after the first slider bar 310 is shown, the display of the second slider bar 320 can be still kept, second can also be no longer shown
Slider bar 320.If the first slider bar 310 is away from the second slider bar 320, the angle is the first slider bar 310 or its extended line
With the second slider bar 320 or the angle of its extended line.One kind of step 220 is achieved in that rotates one by the second slider bar 320
Individual angle is as the first slider bar 310, and the angle of the rotation is the folder between the first slider bar 310 and the second slider bar 320
Angle.For convenience, following examples are straight line, the second slider bar with the first slider bar 310 and the second slider bar 320
320 are horizontal, and the first slider bar 310 have intersection point with the second slider bar 320 exemplified by illustrate.
In step 230, sliding block 330 can be along the first slider bar 310 from line slip.
In the present embodiment, by sliding block from line slip, user can be avoided inaccurate to being positioned caused by the dragging of sliding block
Really and the problems such as inconvenient operation, and will not to sliding block by it is any it is visual block, the visual feedback of slide position is very
Directly.
In an embodiment of the present invention, the embodiment shown in Fig. 2 can also include step:Determine the slip speed of the sliding block
Degree.Wherein sliding speed is relevant with the angle between the first slider bar and the second slider bar.Now, step 230 can be specifically real
Apply for according to the sliding speed of determination along the first slider bar sliding slider.For example, the slip of user's adjustment sliding block is fast for convenience
Degree, can set the more big then sliding speed of the angle faster.For example the sliding speed can be the function on angle again, namely
V=f (α) × v0, wherein v0 are the original sliding speed of a sliding block either default values, and v is the slip entered after rotary mode
Speed, α is the angle between the first slider bar and the second slider bar.For example, v=1/60 ° × α × vi.In the present embodiment
In, sliding speed is related to angle, the sliding speed of sliding block can simply and be intuitively adjusted for a user, so as to more
The position of more accurate positioning sliding block in short time.Also, the sliding speed of sliding block is adjusted by adjustment angle to keep away
Exempt to adjust the sliding speed of sliding block by finger dragging, blocked so as to be not in that finger is visual to sliding block.
In one embodiment of the invention, method as shown in Figure 2 can also include:Detect the fourth user behavior of user, institute
State the angle between fourth user behavior representation change first slider bar and second slider bar;In response to detecting
Fourth user behavior is stated, changes the angle between first slider bar and second slider bar.The present invention is not intended to limit
The embodiment of four user behaviors.Such as fourth user behavior can be user after rotary mode is entered, and not decontrol hand,
Continue the slider bar of rotational display.Or fourth user behavior can be user after rotary mode is entered, put in slider bar
It is rotated on some position.
In an embodiment of the present invention, the step 230 in the embodiment shown in Fig. 2 can for example include:So that the cunning
Block is slided along first slider bar to the glide direction under Action of Gravity Field.User uses for convenience, can be slided according to first
The angle that block bar rotates compared with the second slider bar determines direction that sliding block is slided along slider bar.Further, in order that
Obtain the movement that user more intuitively operates sliding block, the glide direction under can allowing sliding block along the first slider bar to Action of Gravity Field
Slide.The arrow of the top of the first slider bar 310 represents the direction that sliding block is slided in reference picture 2, Fig. 2.It can be seen that, sliding block is edge
The first slider bar 310 to slide towards the direction of Action of Gravity Field.So, user is just without remembeing that sliding block glide direction is slided with operation
Relation between block bar, only with the understanding in daily life general knowledge for Action of Gravity Field, it is possible to the cunning of shirtsleeve operation sliding block
Dynamic direction.
In one embodiment of the invention, the embodiment shown in Fig. 2 can also include step:Detect second user behavior;Response
In detecting the second user behavior, first slider bar is operated accordingly.Wherein, second user behavior and phase
The corresponding relation for the operation answered includes at least one of:If the amplification of the whole slider bar of the second user behavior representation,
Corresponding operation is that the whole of first slider bar is amplified into operation;If the second user behavior representation is whole
Slider bar diminution, corresponding operation is that the whole of first slider bar are carried out into reduction operations;If described second
User behavior represents the amplification of the slider bar of part, and corresponding operation is to be amplified the part of first slider bar
Operation;If the diminution of the slider bar of the second user behavior representation part, corresponding operation is by first sliding block
The part of bar carries out reduction operation.The present embodiment is not intended to limit the embodiment of second user behavior.For example, second user
Behavior can be pinned the two ends of the first slider bar and stretch out or inwardly compress.For example, second user behavior can be by
Firmly certain a part of two ends of the first slider bar and stretch out or inwardly compress.For example second user behavior, which can also be, to set
Standby inclination to the left or to the right.It is appreciated that as all or part of of the first slider bar is exaggerated or diminution, first cunning
The granularity of block bar can change therewith, namely the unit quantity that sliding block is slided can change.For example, not changing the first cunning in user
During the granularity of block bar, sliding block is along the length that the unit quantity that slider bar is slided is 5 seconds, and it is the 1st small that user pins the first slider bar
When the point of 10 minutes and the point of 30 minutes the 1st hour and stretch out, then the part of this 20 minutes length is exaggerated, and is slided
Unit quantity changes into the length of 1 second.Now, user can be more accurate in this 20 minutes length and easily found uncommon
The position of prestige.
In one embodiment of the invention, embodiment illustrated in fig. 2 can also further include:The 3rd user behavior is detected, it is described
3rd user behavior represents to exit rotary mode;In response to detecting the 3rd user behavior, cancel the display of the first slider bar, only
Show second slider bar.The present invention is not intended to limit the embodiment of the 3rd user behavior.3rd user behavior is for example
It is that user decontrols slider bar, either the 3rd user behavior can be that user clicks on specific region or can also be for prompting
The confirmation of problem.In the present embodiment, after rotary mode is exited, sliding block can be stopped on position when exiting, Huo Zheye
Can allow sliding block to enter common operator scheme, for example, continue to play video with original speed.In the present embodiment, due to rotation
Can only show that the first slider bar can also be while showing the first slider bar and the second slider bar, institute when rotary-die type is activated
To be shown while when exiting rotary mode, being and only cancel the first slider bar of the first slider bar or cancellation
Second slider bar.
In one embodiment of the invention, in embodiment as shown in Figure 2, in response to detecting the first user behavior, display the
One slider bar can include:In response to detecting the first user behavior, cancel the display of the second slider bar, only show the first sliding block
Bar.In the present embodiment, do not show that the second slider bar can cause user interface more succinct, and can be only with an object
Just realize the first slider bar and the second slider bar.
In one embodiment of the invention, into after rotary mode, the display of the second slider bar can not be cancelled, but dimmed
Or it is changed into translucent.User can be so facilitated to adjust the angle between the first slider bar and the second slider bar.Certainly, ability
Field technique personnel are appreciated that even if not showing that the second slider bar can also be adjusted between the first slider bar and the second slider bar
Angle.
Between the above embodiment of the present invention can each other with reference to, combine, obtain more embodiments.For example, shown in Fig. 2
The step of embodiment can include validating that sliding speed and glide direction simultaneously.For example, the embodiment shown in Fig. 2 can be simultaneously
The step of including determining sliding speed and exiting rotary mode.
It is above-mentioned to further describe with a specific example below in order to be preferably illustrated to the embodiment of the present invention
Embodiment of the method.In this example, by using new to the progress bar control in tool graphical user interface bag (GUI Toolkit)
Design complete above-described embodiment.By taking Java AWT as an example, by defining, new class represents the activation of rotary mode and moved back
Go out, for example, set ScrollBarRotation.EnteringAction to represent the activation of rotary mode, set
ScrollBarRotation.ExitingAction represents exiting for rotary mode.It can be monitored by adding rotary mode
Device come receive user enter rotary mode event, for example with public void addRotationListener
(ActionListener l) detects the first user behavior to realize.The detection of corresponding 3rd user behavior can also pass through rotation
Rotary-die type monitor is realized.Further, it is also possible to using public void removeRotationListener
(ActionListenerl) rotary mode monitor is removed.In this example, static int ROTATION_ can be passed through
INCREMENT and static int ROTATION_DECREMENT are clockwise for user to define the glide direction of sliding block respectively
Sliding block forward slip and sliding block is slided backward during user's rotate counterclockwise slider bar during rotary slider bar.It can such as use
Public double getRotationIncrement () or public void setRotationIncrement
(double v) sets the anglec of rotation of slider bar.Again for example can using public double getLength () or
Public void setLength (double v) are to set the length of slider bar to realize the stretching or compression of slider bar
Deng.It will be understood by those skilled in the art that various embodiments of the present invention, example can also be realized using others GUI Toolkit
MacAPP on such as AWT, Swing based on Java, the CroPL based on C++, the apple platform and GTK+ in Linux platform.
As shown in figure 4, the embodiment of the present invention also provides a kind of system 400 for control slide block.The system 400 includes:
First detection module 410, is configured as detecting the first user behavior, first user behavior represents the activation of rotary mode,
The rotary mode includes the first slider bar of display, and the angle between first slider bar and the second slider bar is more than 0 degree, institute
It is to enter the slider bar shown before rotary mode to state the second slider bar;Rotation-activated module 420, is configured to respond to detection
To first user behavior, first slider bar is shown;Sliding block 430, is configured such that sliding block along described
One slider bar is slided.By using system 400 provided in an embodiment of the present invention, can be activated relief sliding block edge in rotary mode
The first slider bar to slide automatically, it is no longer necessary to which user uses finger sliding slider, so as to avoid screening of the finger for sliding block
Sliding block positioning is inaccurate caused by gear.
As shown in figure 5, system as shown in Figure 4 can also include speed determination module 510, the cunning is configured to determine that
The sliding speed of block, wherein the sliding speed is relevant with the angle.Sliding block 430 is configured to so that sliding block
Slided according to the sliding speed of determination along first slider bar., can be with by using system 500 provided in an embodiment of the present invention
User is allowed by adjusting the change that the angle of the first slider bar and the second slider bar realizes the sliding speed of sliding block.Further,
In another embodiment of the present invention, the angle between the first slider bar and the second slider bar is about big, and sliding speed is faster.
In one embodiment of the invention, sliding block 430 is configured to so that sliding block is along first slider bar
Glide direction under to Action of Gravity Field is slided.
In one embodiment of the invention, system 400 as shown in Figure 4 can also include:Second detection module, is configured as inspection
Survey second user behavior;Operation module, is configured to respond to detect the second user behavior, to first slider bar
Operated accordingly.Wherein, the corresponding relation of the second user behavior and corresponding operation include it is following at least it
One:If the amplification of the whole slider bar of the second user behavior representation, corresponding operation is by first slider bar
Whole be amplified operation;If the diminution of the whole slider bar of the second user behavior representation, corresponding operation is
Whole by first slider bar carry out reduction operation;If the amplification of the slider bar of the second user behavior representation part,
Corresponding operation is that the part of first slider bar is amplified into operation;If the second user behavior representation part
Slider bar diminution, corresponding operation is that the part of first slider bar is carried out into reduction operation.
In one embodiment of the invention, system 400 as shown in Figure 4 can also include:3rd detection module, is configured as
The 3rd user behavior is detected, the 3rd user behavior represents to exit rotary mode;Module is exited in rotation, is configured to respond to
The 3rd user behavior is detected, cancels the display of first slider bar, only shows second slider bar.
In one embodiment of the invention, system 400 as shown in Figure 4 can also include:4th detection module, is configured as
Fourth user behavior is detected, the fourth user behavior representation changes between first slider bar and second slider bar
Angle;Angulation change module, is configured to respond to detect the fourth user behavior, changes first slider bar and institute
State the angle between the second slider bar.
In one embodiment of the invention, in system 400, rotation-activated module 420 is configured in response to detecting
First user behavior, cancels the display of second slider bar, only shows first slider bar.
Details is referred to corresponding embodiment of the method, and said apparatus embodiment to realizing in said apparatus embodiment
Between can be each other with reference to obtaining more embodiments.
Flow chart and block diagram in accompanying drawing show system, method and the computer journey of multiple embodiments according to the present invention
Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation
The part of one module of table, program segment or code a, part for the module, program segment or code is used comprising one or more
In the executable instruction for realizing defined logic function.It should also be noted that in some realizations as replacement, being marked in square frame
The function of note can also be with different from the order marked in accompanying drawing generation.For example, two continuous square frames can essentially base
Originally it is performed in parallel, they can also be performed in the opposite order sometimes, this is depending on involved function.It is also noted that
It is, the combination of each square frame in block diagram and/or flow chart and the square frame in block diagram and/or flow chart that can use and perform rule
Fixed function or the special hardware based system of operation realize, or can use the group of specialized hardware and computer instruction
Close to realize.
It is described above various embodiments of the present invention, described above is exemplary, and non-exclusive, and
It is not limited to disclosed each embodiment.In the case of without departing from the scope and spirit of illustrated each embodiment, for this skill
Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport
The principle, practical application or the technological improvement to the technology in market of each embodiment are best being explained, or is leading this technology
Other those of ordinary skill in domain are understood that each embodiment disclosed herein.
Claims (16)
1. a kind of method for control slide block, methods described includes:
The first user behavior is detected, first user behavior represents the activation of rotary mode, and the rotary mode includes display
First slider bar, the angle between first slider bar and the second slider bar is more than 0 degree, and second slider bar is to enter to revolve
The slider bar shown before rotary-die type;
In response to detecting first user behavior, first slider bar is shown;
So that sliding block is slided along first slider bar.
2. according to the method described in claim 1, wherein,
Methods described further comprises:The sliding speed of the sliding block is determined, wherein the sliding speed is relevant with the angle;
It is described so that sliding block is slided along first slider bar, including:So that the sliding block according to the sliding speed of determination along institute
State the slip of the first slider bar.
3. method according to claim 2, wherein, the sliding speed is relevant with the angle, including:The angle is got over
Greatly, the sliding speed is faster.
4. according to the method described in claim 1, wherein, it is described so that sliding block along first slider bar slide include:So that
The sliding block is slided along first slider bar to the glide direction under Action of Gravity Field.
5. the method according to any one of claim 1-4, wherein, methods described further comprises:
Detect second user behavior;
In response to detecting the second user behavior, first slider bar is operated accordingly;
Wherein, the corresponding relation of the second user behavior and corresponding operation includes at least one of:
If the amplification of the whole slider bar of the second user behavior representation, corresponding operation is by first slider bar
Whole be amplified operation;
If the diminution of the whole slider bar of the second user behavior representation, corresponding operation is by first slider bar
Whole carry out reduction operations;
If the amplification of the slider bar of the second user behavior representation part, corresponding operation is by first slider bar
Part be amplified operation;
If the diminution of the slider bar of the second user behavior representation part, corresponding operation is by first slider bar
Part carry out reduction operation.
6. the method according to any one of claim 1-4, wherein, methods described further comprises:
The 3rd user behavior is detected, the 3rd user behavior represents to exit rotary mode;
In response to detecting the 3rd user behavior, cancel the display of first slider bar, only show second sliding block
Bar.
7. the method according to any one of claim 1-4, wherein, methods described further comprises:
Detect fourth user behavior, the fourth user behavior representation change first slider bar and second slider bar it
Between angle;
In response to detecting the fourth user behavior, change the folder between first slider bar and second slider bar
Angle.
8. the method according to any one of claim 1-4, wherein, it is described in response to detecting the first user row
To show first slider bar, including in response to detecting first user behavior, cancel the aobvious of second slider bar
Show, only show first slider bar.
9. a kind of system for control slide block, the system includes:
First detection module, is configured as detecting the first user behavior, first user behavior represents the activation of rotary mode,
The rotary mode includes the first slider bar of display, and the angle between first slider bar and the second slider bar is more than 0 degree, institute
It is to enter the slider bar shown before rotary mode to state the second slider bar;
Rotation-activated module, is configured to respond to detect first user behavior, shows first slider bar;
Sliding block, is configured such that sliding block is slided along first slider bar.
10. system according to claim 9, wherein,
The system further comprises:Speed determination module, is configured to determine that the sliding speed of the sliding block, wherein the cunning
Dynamic speed is relevant with the angle;
The sliding block is configured to cause the sliding block according to the sliding speed of determination along first slider bar
Slide.
11. system according to claim 10, wherein, the sliding speed is relevant with the angle, including:The angle
Bigger, the sliding speed is faster.
12. system according to claim 9, wherein, the sliding block is configured to so that the sliding block edge
First slider bar to slide to the glide direction under Action of Gravity Field.
13. the system according to any one of claim 9-12, wherein, the system further comprises:
Second detection module, is configured as detecting second user behavior;
Operation module, is configured to respond to detect the second user behavior, first slider bar is carried out corresponding
Operation;
Wherein, the corresponding relation of the second user behavior and corresponding operation includes at least one of:
If the amplification of the whole slider bar of the second user behavior representation, corresponding operation is by first slider bar
Whole be amplified operation;
If the diminution of the whole slider bar of the second user behavior representation, corresponding operation is by first slider bar
Whole carry out reduction operations;
If the amplification of the slider bar of the second user behavior representation part, corresponding operation is by first slider bar
Part be amplified operation;
If the diminution of the slider bar of the second user behavior representation part, corresponding operation is by first slider bar
Part carry out reduction operation.
14. the system according to any one of claim 9-12, wherein, the system further comprises:
3rd detection module, is configured as detecting the 3rd user behavior, the 3rd user behavior represents to exit rotary mode;
Module is exited in rotation, is configured to respond to detect the 3rd user behavior, cancels the aobvious of first slider bar
Show, only show second slider bar.
15. the system according to any one of claim 9-12, wherein, the system further comprises:
4th detection module, is configured as detecting fourth user behavior, the fourth user behavior representation changes described first and slided
Angle between block bar and second slider bar;
Angulation change module, is configured to respond to detect the fourth user behavior, changes first slider bar and institute
State the angle between the second slider bar.
16. the system according to any one of claim 9-12, wherein, the rotation-activated module is configured to
In response to detecting first user behavior, cancel the display of second slider bar, only show first slider bar.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310214034.6A CN104216602B (en) | 2013-05-31 | 2013-05-31 | A kind of method and system for control slide block |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310214034.6A CN104216602B (en) | 2013-05-31 | 2013-05-31 | A kind of method and system for control slide block |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104216602A CN104216602A (en) | 2014-12-17 |
CN104216602B true CN104216602B (en) | 2017-10-20 |
Family
ID=52098164
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310214034.6A Expired - Fee Related CN104216602B (en) | 2013-05-31 | 2013-05-31 | A kind of method and system for control slide block |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104216602B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106598427A (en) * | 2016-11-23 | 2017-04-26 | 上海斐讯数据通信技术有限公司 | Fast scroll realization method and apparatus |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10301745A (en) * | 1997-04-28 | 1998-11-13 | Mitsubishi Electric Corp | Slide bar display controller |
CN101325076A (en) * | 2008-07-28 | 2008-12-17 | 宇龙计算机通信科技(深圳)有限公司 | Portable equipment and medium play method thereof |
CN101714055A (en) * | 2008-10-06 | 2010-05-26 | 三星电子株式会社 | Method and apparatus for displaying graphical user interface depending on a user's contact pattern |
CN102257463A (en) * | 2008-12-18 | 2011-11-23 | 日本电气株式会社 | Slide bar display control apparatus and slide bar display control method |
CN102413264A (en) * | 2010-09-22 | 2012-04-11 | 夏普株式会社 | Image editing apparatus and image editing method |
-
2013
- 2013-05-31 CN CN201310214034.6A patent/CN104216602B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10301745A (en) * | 1997-04-28 | 1998-11-13 | Mitsubishi Electric Corp | Slide bar display controller |
CN101325076A (en) * | 2008-07-28 | 2008-12-17 | 宇龙计算机通信科技(深圳)有限公司 | Portable equipment and medium play method thereof |
CN101714055A (en) * | 2008-10-06 | 2010-05-26 | 三星电子株式会社 | Method and apparatus for displaying graphical user interface depending on a user's contact pattern |
CN102257463A (en) * | 2008-12-18 | 2011-11-23 | 日本电气株式会社 | Slide bar display control apparatus and slide bar display control method |
CN102413264A (en) * | 2010-09-22 | 2012-04-11 | 夏普株式会社 | Image editing apparatus and image editing method |
Also Published As
Publication number | Publication date |
---|---|
CN104216602A (en) | 2014-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105474163B (en) | Natural quick function gesture | |
CA2883962C (en) | Systems and methods for handling stackable workspaces | |
US20110035700A1 (en) | Multi-Operation User Interface Tool | |
US20100095234A1 (en) | Multi-touch motion simulation using a non-touch screen computer input device | |
US20130227464A1 (en) | Screen change method of touch screen portable terminal and apparatus therefor | |
CN108353126A (en) | Digital viewfinder user interface for multiple cameras | |
JP2015512078A (en) | Confident item selection using direct manipulation | |
CN104063128B (en) | A kind of information processing method and electronic equipment | |
CN107734373A (en) | Barrage sending method and device, storage medium, electronic equipment | |
US9767853B2 (en) | Touch screen video scrolling | |
US9626086B1 (en) | Adjusting eraser size in drawing applications | |
US9513713B2 (en) | Fine control of media presentation progress | |
US20160129636A1 (en) | Modifying a three-dimensional object to be printed without exceeding a time or cost threshold | |
US9870122B2 (en) | Graphical user interface for rearranging icons | |
TW201601051A (en) | Smart and scalable touch user interface display | |
JP2015530687A (en) | User interface for content selection and extended content selection | |
CN108008876A (en) | A kind of display methods of suspension windows, device, equipment and storage medium | |
US10754524B2 (en) | Resizing of images with respect to a single point of convergence or divergence during zooming operations in a user interface | |
US10620815B2 (en) | Continued selection during scrolling past screen edge thresholds | |
CN104216602B (en) | A kind of method and system for control slide block | |
US20170285902A1 (en) | Modifying Settings of an Electronic Test or Measurement Instrument | |
US10120555B2 (en) | Cursor positioning on display screen | |
US10409465B2 (en) | Selecting areas of content on a touch screen | |
CN107077272B (en) | Hit testing to determine enabling direct manipulation in response to user action | |
CN110162251B (en) | Image scaling method and device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171020 |