CN105653090B - A kind of scroll bar control method and device - Google Patents
A kind of scroll bar control method and device Download PDFInfo
- Publication number
- CN105653090B CN105653090B CN201511015948.5A CN201511015948A CN105653090B CN 105653090 B CN105653090 B CN 105653090B CN 201511015948 A CN201511015948 A CN 201511015948A CN 105653090 B CN105653090 B CN 105653090B
- Authority
- CN
- China
- Prior art keywords
- pressure value
- scroll bar
- pressing operation
- press pressure
- target location
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0414—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0485—Scrolling or panning
- G06F3/04855—Interaction with scrollbars
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
Abstract
The embodiment of the invention discloses a kind of scroll bar control method, the method includes:The pressing operation inputted on the browser interface comprising scroll bar is detected, the scroll bar includes rolling slide block and sliding rail;Obtain the corresponding press pressure value of the pressing operation;According to the correspondence of preset press pressure value and sled position, the target location in the corresponding sliding rail of the press pressure value of the pressing operation is determined;Control the target location that the rolling slide block is moved in the sliding rail.The invention also discloses a kind of scroll bar control devices.Using the present invention, the convenience of operation can be improved.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of scroll bar control methods and device.
Background technology
It is especially hand-held on the more and more VAS application -to-terminal service products of Touch Screen with the continuous development of touch technology
Terminal such as mobile phone, tablet computer etc., this kind of handheld terminal have been increasingly becoming tool indispensable in people's daily life.
Diversified function, such as browsing webpage, file operation may be implemented in handheld terminal, and carries out webpage in user
During browsing, file operation etc., be usually required for pinning always scroll bar the operation such as dragged or drawn and by the rolling of scroll bar
Movable slider is moved to the target location in sliding rail, and when screen of handheld terminal is larger, operation is cumbersome, so as to cause operation
Convenience it is insufficient.
Invention content
Technical problem to be solved of the embodiment of the present invention is, provides a kind of scroll bar control method and device, passes through
Scroll bar can be moved to any position by the press pressure value of control pressing browser interface, improve the convenience of operation.
In order to solve the above-mentioned technical problem, an embodiment of the present invention provides a kind of scroll bar control method, the method packets
It includes:
Detect the pressing operation inputted on the browser interface comprising scroll bar, the scroll bar include rolling slide block and
Sliding rail;
Obtain the corresponding press pressure value of the pressing operation;
According to the correspondence of preset press pressure value and sled position, the press pressure value of the pressing operation is determined
Target location in the corresponding sliding rail;
Control the target location that the rolling slide block is moved in the sliding rail.
Correspondingly, the embodiment of the present invention additionally provides a kind of scroll bar control device, and described device includes:
Pressing operation detection module, for detecting the pressing operation inputted on the browser interface comprising scroll bar, institute
It includes rolling slide block and sliding rail to state scroll bar;
Pressure value acquisition module, for obtaining the corresponding press pressure value of the pressing operation;
Target location determining module determines institute for the correspondence according to preset press pressure value and sled position
State the target location in the corresponding sliding rail of press pressure value of pressing operation;
Mobile control module, the target location being moved in the sliding rail for controlling the rolling slide block.
Implement the embodiment of the present invention, has the advantages that:When terminal is detected in the browser interface comprising scroll bar
When the pressing operation of upper input, obtain the corresponding press pressure value of the pressing operation, further according to preset press pressure value with
The correspondence of sled position determines mesh of the corresponding rolling slide block of the press pressure value of the pressing operation in sliding rail
Cursor position controls the rolling slide block and is moved to the target location in the sliding rail from current location, so that terminal is with rolling
The playing progress rate of the mobile adjustment browser interface of sliding block or the present displayed content etc. for adjusting browser interface.And the prior art
In, it reads in user, file operation, durings play audio or video etc., be required for pinning rolling slide block progress always
It the operation such as drags or draws and rolling slide block is moved to target location, it is particularly, inconvenient for operation when terminal screen is larger,
Compared with prior art, user only needs simply pressing browser interface that can rolling slide block be moved to cunning in the embodiment of the present invention
Target location in rail, to improve the convenience of operation.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of flow diagram of scroll bar control method in the embodiment of the present invention;
Fig. 2 is a kind of moving boundary schematic diagram of the rolling slide block of scroll bar in the embodiment of the present invention in sliding rail;
Fig. 3 is music browser interface schematic diagram in the embodiment of the present invention;
Fig. 4 is the flow diagram of the scroll bar control method in another embodiment of the present invention;
Fig. 5 is the browser interface schematic diagram that the embodiment of the present invention includes multiple scroll bars;
Fig. 6 is a kind of structural schematic diagram of scroll bar control device in the embodiment of the present invention;
Fig. 7 is the structural schematic diagram of the target location determining module of scroll bar control device in the embodiment of the present invention;
Fig. 8 is a kind of Organization Chart for the computer system executing above-mentioned scroll bar control method in the embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
Term " comprising " and " having " in description and claims of this specification and above-mentioned attached drawing and they appoint
What is deformed, it is intended that is covered and non-exclusive is included.Such as contain the process of series of steps or unit, method, system, production
The step of product or equipment are not limited to list or unit, but further include the steps that optionally do not list or unit, or
Further include optionally for other intrinsic steps of these processes, method, product or equipment or unit.
The execution of the scroll bar control method referred in the embodiment of the present invention depends on computer program, can run on Feng Ruo
On computer system according to graceful system.The computer program can integrate in the application, also can be used as independent tool-class application
Operation.The computer system can be PC, tablet computer, laptop, palm PC, smart mobile phone etc. with tactile
Control the terminal device of function.
It is described in detail separately below.
Fig. 1 is a kind of flow diagram of scroll bar control method in the embodiment of the present invention, and the method as shown in the figure is extremely
Include less:
Step S101 detects the pressing operation inputted on the browser interface comprising scroll bar.
Specifically, the scroll bar includes rolling slide block and sliding rail, the rolling slide block can carry out in the sliding rail
Sliding.Scroll bar is set on the browser interface, browsing is controlled by controlling sliding position of the rolling slide block in sliding rail
The browse state at interface.Wherein, the browser interface includes a variety of, such as office operations document interface, web page browsing interface, sound
Frequency or video playing interface etc..The browse state include the playing progress rate of audio or video, interface present displayed content etc..
Touch control operation is that user is inputted by the touch screen of terminal, including but not limited to:Pressing operation, double click operation or
The all types of operations for touching touch screen such as person's screen sliding operation.In the present embodiment, the touch control operation is pressing operation.With
In the terminal of touch screen function, the structure of touch screen includes at least three layers:Screen glass layer, touch panel layer and display panel
Layer.Wherein screen glass layer is protective layer, and touch panel layer is used to perceive the touch control operation of user, and display panel layer is for showing
The information such as text, image, also known as browser interface.In order to enable terminal fuselage (such as smart mobile phone) is thinner, more attractive, nowadays have
Technology makes touch panel layer and display panel layer merge.
In the present embodiment, the pressing operation that terminal is inputted by sensor senses user such as detects electricity by sensor
The variation etc. of appearance, resistance, temperature, pressure.
Step S102 obtains the corresponding press pressure value of the pressing operation.
Specifically, in order to realize the press pressure value obtained suffered by pressing position, it can be in advance in the screen construction of terminal
Array of pressure sensors is set, and mobile terminal can obtain the pressure value suffered by it by the array of pressure sensors.Wherein, on
It can be resistance strain gage pressure sensor, semiconductor gauge pressure sensor, pressure drag type pressure sensing to state pressure sensor
Device, inductance pressure transducer, capacitance pressure transducer, resonance type pressure sensor etc..Certainly, it is wrapped in the embodiment of the present invention
It includes but is not limited to aforesaid way to obtain press pressure value.
Step S103 determines the pressing operation according to the correspondence of preset press pressure value and sled position
Target location in the corresponding sliding rail of press pressure value.
Specifically, each sled position is corresponded with the range of pressure values of multiple non-overlapping copies respectively, obtain first
The range of pressure values of the corresponding multiple non-overlapping copies of preset multiple sled positions is taken, then determines the pressing of the pressing operation
Range of pressure values belonging to pressure value determines the press pressure value of the pressing operation further according to the range of pressure values of the determination
Target location of the corresponding rolling slide block in the sliding rail.
For example, pressure value variation range is 0~255, the variation range of rolling slide block movement is 0~10cm, by the pressure
Force value range is divided into the subrange of multiple non-overlapping copies, and corresponding rolling slide block shift position is also arranged accordingly, such as
Shown in table 1:
Table 1
Wherein, 1~position of position 51 is sliding position of the rolling slide block in sliding rail.If the pressure value size obtained is
32, then it is determined as 30~35 range, therefore corresponding shift position is position 7.
Step S104 controls the target location that the rolling slide block is moved in the sliding rail.
Specifically, rolling slide block to be moved to from current location to the corresponding target of range of pressure values belonging to press pressure value
At position.For example, as shown in Fig. 2, A is sliding rail, B is rolling slide block, if rolling slide block is currently at position 5, what is got
When press pressure value is 100, rolling slide block is moved to position 20 from position 5, when the press pressure value got is 18, then
It is moved to position 4 from position 5.
Optionally, a sub- control key C and D is respectively set at the both ends of the sliding rail, as shown in Fig. 2, touching sub- control key C
When, rolling slide block is moved to top in sliding rail along the delta direction in sub- control key C, when touching sub- control key D, rolls and slides
Block is moved to lowermost end in sliding rail along the delta direction in sub- control key D.If the scroll bar is horizontally disposed, touch
It is moved respectively to left end and right end when the sub- control key for touching both ends.
Optionally, the browse state of the browser interface is set according to the target location, and the browse state includes broadcasting
At least one of degree of putting into, present displayed content.
For example, as shown in figure 3, in a music player, by pressing browser interface, terminal is according to the pressure of pressing
After value obtains target location, by scroll bar from " 00:26 " places are moved to " 02:07 " place, meanwhile, the currently playing content of terminal
From " 00:The corresponding curriculum offering in 26 " places is " 02:The corresponding content in 07 " place.
For another example in a web page browsing interface, by pressing browser interface, terminal is obtained according to the pressure value of pressing
Behind target location, scroll bar is moved to target location from current location, meanwhile, the display content at interface is also from current location pair
The curriculum offering answered is the corresponding content in target location.
In embodiments of the present invention, when terminal detects the pressing operation inputted on the browser interface comprising scroll bar
When, the corresponding press pressure value of the pressing operation is obtained, is closed further according to preset press pressure value is corresponding with sled position
It is to determine target location of the corresponding rolling slide block of the press pressure value of the pressing operation in sliding rail, described in control
Rolling slide block is moved to the target location in the sliding rail from current location, so that terminal is clear with the mobile adjustment of rolling slide block
Look at interface playing progress rate or adjust browser interface present displayed content etc..And in the prior art, read in user,
File operation, during playing audio or video etc., be required for pinning always rolling slide block the operation such as dragged or drawn and will rolling
Movable slider is moved to target location, particularly, inconvenient for operation when terminal screen is larger, compared with prior art, this hair
User only needs simply pressing browser interface that rolling slide block can be moved to the target location in sliding rail in bright embodiment, to
Improve the convenience of operation.
Fig. 4 is the flow diagram for the scroll bar control method that another embodiment of the present invention provides, the side as shown in the figure
Method includes at least:
Step S201 obtains the quantity of the scroll bar on the browser interface comprising scroll bar.
Specifically, scroll bar is a kind of interface control key of browser interface, multiple control keys are provided on browser interface, each
The control key indicates that terminal traverses the control key parameter by control key parameter, is searched in the multiple control key parameter and default
Scroll bar control key match parameters control key parameter, and the number of control key parameter to match described in recording is described matched
The number of control key parameter is the quantity of scroll bar.
Step S202 detects the pressing operation inputted on the browser interface, when the quantity is more than 1, determines institute
State the pressing control area belonging to the corresponding pressing position of pressing operation.
Specifically, on the browser interface include multiple scroll bars when, the browser interface include at least two mutually not
The pressing control area of overlapping, and each pressing control area uniquely corresponds to each scroll bar.
As shown in figure 5, there are 2 scroll bars on browser interface, browser interface is divided into two control areas S1 and S2,
The control areas S1 carry out pressing touch then activation positioned at lower end horizontal direction scroll bar work, the control areas S2 carry out by
Pressure touches scroll bar of the then activation positioned at Right vertical direction and works.If on the browser interface further including more scroll bars,
Browser interface can be then divided into more control areas, specific divide is not construed as limiting.
Optionally, when it includes at least two scroll bars that terminal, which detects on the browser interface, display is each pressed voltage-controlled
System region, so that user can carry out pressing operation in corresponding region.
Optionally, behind the pressing control area that terminal determines belonging to the corresponding pressing position of pressing operation, displaying carries
Show information, the prompt message is for prompting user to press the corresponding rolling in control area described in multiple scroll bars
Item.There are many modes for showing prompt message, for example, showing pressing by way of text, audio or video in browser interface
The corresponding scroll bar in control area lights the corresponding scroll bar in pressing control area etc., is not especially limited herein.
Step S203, obtains the corresponding scroll bar in pressing control area of the determination, and the scroll bar includes rolling to slide
Block and sliding rail.
Specifically, according to the one-to-one relationship of pressing control area and scroll bar, the pressing control of the determination is obtained
The corresponding scroll bar in region.
For example, as shown in figure 5, if user presses the regions S1, terminal is a pair of according to press control area and scroll bar one
It should be related to, obtain horizontal positioned scroll bar, if user presses the regions S2, obtain the scroll bar being disposed vertically.
Step S204 obtains the corresponding press pressure value of the pressing operation.
Specifically, in order to realize the press pressure value obtained suffered by pressing position, it can be in advance in the screen construction of terminal
Array of pressure sensors is set, and mobile terminal can obtain the pressure value suffered by it by the array of pressure sensors.Wherein, on
It can be resistance strain gage pressure sensor, semiconductor gauge pressure sensor, pressure drag type pressure sensing to state pressure sensor
Device, inductance pressure transducer, capacitance pressure transducer, resonance type pressure sensor etc..Certainly, it is wrapped in the embodiment of the present invention
It includes but is not limited to aforesaid way to obtain press pressure value.
Step S205, judges whether the press pressure value of the pressing operation is more than or equal to predetermined threshold value.
Specifically, the press pressure value of acquisition is compared with predetermined threshold value size.
Step S206, when the press pressure value of the pressing operation is more than or equal to predetermined threshold value, according to preset pressing
The correspondence of pressure value and sled position determines the target in the corresponding sliding rail of the press pressure value of the pressing operation
Position.
Specifically, carrying out pressing operation in level-one browser interface, multiple functions may be implemented, such as webpage clicking browser interface
Headline, then the display content of terminal the corresponding secondary interface of headline of click place may be jumped to from Current Content
News content, it is also possible to rest on when previous stage interface display hide content.In the press pressure value of the pressing operation
When more than or equal to predetermined threshold value, show to be activated be rest on level-one browser interface control rolling slide block movement it is hiding to show
Content function.
Step S207 controls the target location that the rolling slide block is moved in the sliding rail.
Specifically, rolling slide block to be moved to from current location to the corresponding target of range of pressure values belonging to press pressure value
At position.For example, as shown in Fig. 2, A is sliding rail, B is rolling slide block, if rolling slide block is currently at position 5, what is got
When press pressure value is 100, rolling slide block is moved to position 20 from position 5, when the press pressure value got is 18, then
It is moved to position 4 from position 5.
Optionally, a sub- control key C and D is respectively set at the both ends of the sliding rail, as shown in Fig. 2, touching sub- control key C
When, rolling slide block is moved to top in sliding rail along the delta direction in sub- control key C, when touching sub- control key D, rolls and slides
Block is moved to lowermost end in sliding rail along the delta direction in sub- control key D.If the scroll bar is horizontally disposed, touch
It is moved respectively to left end and right end when the control key for touching both ends.
The browse state of the browser interface is arranged according to the target location by step S208.
Specifically, the sliding with rolling slide block in sliding rail, the browse state respective change of the browser interface.It is described
Browse state includes at least one of playing progress rate, present displayed content.
For example, as shown in figure 3, in a music player, by pressing browser interface, terminal is according to the pressure of pressing
After value obtains target location, by scroll bar from " 00:26 " places are moved to " 02:07 " place, meanwhile, the broadcasting content of terminal also from
“00:The corresponding curriculum offering in 26 " places is " 02:The corresponding content in 07 " place.
For another example in a web page browsing interface, by pressing browser interface, terminal is obtained according to the pressure value of pressing
Behind target location, scroll bar is moved to target location from current location, meanwhile, the display content at interface is also from current location pair
The curriculum offering answered is the corresponding content in target location.
In embodiments of the present invention, terminal obtains the quantity of scroll bar on the browser interface comprising scroll bar first, works as boundary
When bread contains multiple scroll bars, the pressing control area of multiple non-overlapping copies is included on browser interface, is detecting browser interface
When the pressing operation of upper input, the pressing control area first belonging to the corresponding pressing position of pressing operation determines that target is rolled
Dynamic item, then the corresponding press pressure value of the pressing operation is obtained, when the press pressure value is more than or equal to predetermined threshold value, then
According to the correspondence of preset press pressure value and sled position, the corresponding institute of the press pressure value of the pressing operation is determined
Target location of the rolling slide block in sliding rail is stated, the target that the rolling slide block is moved to from current location in the sliding rail is controlled
Position, so that terminal is shown with the playing progress rate or the current of adjustment browser interface of the mobile adjustment browser interface of rolling slide block
Show content etc..Using the embodiment of the present invention, on the one hand, avoid maloperation by the way that threshold value is arranged, on the other hand, user only needs letter
Rolling slide block can be moved to the target location in sliding rail by single pressing browser interface, improve the convenience of operation.
Fig. 6 is a kind of composed structure schematic diagram of scroll bar control device provided in an embodiment of the present invention, institute as shown in the figure
Stating device includes:
Pressing operation detection module 600, for detecting the pressing operation inputted on the browser interface comprising scroll bar.
Specifically, the scroll bar includes rolling slide block and sliding rail, the rolling slide block can carry out in the sliding rail
Sliding.Scroll bar is set on the browser interface, browsing is controlled by controlling sliding position of the rolling slide block in sliding rail
The browse state at interface.Wherein, the browser interface includes a variety of, such as office operations document interface, web page browsing interface, sound
Frequency or video playing interface etc..The browse state include the playing progress rate of audio or video, interface present displayed content etc..
Touch control operation is that user is inputted by the touch screen of terminal, including but not limited to:Pressing operation, double click operation or
The all types of operations for touching touch screen such as person's screen sliding operation.In the present embodiment, the touch control operation is pressing operation.With
In the terminal of touch screen function, the structure of touch screen includes at least three layers:Screen glass layer, touch panel layer and display panel
Layer.Wherein screen glass layer is protective layer, and touch panel layer is used to perceive the touch control operation of user, and display panel layer is for showing
The information such as text, image, also known as browser interface.In order to enable terminal fuselage (such as smart mobile phone) is thinner, more attractive, nowadays have
Technology makes touch panel layer and display panel layer merge.
In the present embodiment, the pressing operation that terminal is inputted by sensor senses user such as detects electricity by sensor
The variation etc. of appearance, resistance, temperature, pressure.
Pressure value acquisition module 610, for obtaining the corresponding press pressure value of the pressing operation.
Specifically, in order to realize the press pressure value obtained suffered by pressing position, it can be in advance in the screen construction of terminal
Array of pressure sensors is set, and mobile terminal can obtain the pressure value suffered by it by the array of pressure sensors.Wherein, on
It can be resistance strain gage pressure sensor, semiconductor gauge pressure sensor, pressure drag type pressure sensing to state pressure sensor
Device, inductance pressure transducer, capacitance pressure transducer, resonance type pressure sensor etc..Certainly, it is wrapped in the embodiment of the present invention
It includes but is not limited to aforesaid way to obtain press pressure value.
Target location determining module 620 is determined for the correspondence according to preset press pressure value and sled position
Target location in the corresponding sliding rail of press pressure value of the pressing operation.
Specifically, as shown in fig. 7, the target location determining module 620 includes:
Range of pressure values acquiring unit 621, for obtaining the corresponding multiple and different pressure of preset multiple sled positions
It is worth range;
Range of pressure values determination unit 622, for determining the pressure value model belonging to the press pressure value of the pressing operation
It encloses;
Target location determination unit 623, for according to the range of pressure values of the determination determine the pressing operation by
Target location of the corresponding rolling slide block of pressure pressure value in the sliding rail.
For example, pressure value variation range is 0~255, the variation range of rolling slide block movement is 0~10cm, by the pressure
Force value range is divided into the subrange of multiple non-overlapping copies, and corresponding rolling slide block shift position is also arranged accordingly, such as
Shown in table 1, wherein 1~position of position 51 is sliding position of the rolling slide block in sliding rail.If the pressure value size obtained is
32, then it is determined as 30~35 range, therefore corresponding shift position is position 7.
Mobile control module 630, the target location being moved in the sliding rail for controlling the rolling slide block.
Specifically, rolling slide block to be moved to from current location to the corresponding target of range of pressure values belonging to press pressure value
At position.For example, as shown in Fig. 2, A is sliding rail, B is rolling slide block, if rolling slide block is currently at position 5, what is got
When press pressure value is 100, rolling slide block is moved to position 20 from position 5, when the press pressure value got is 18, then
It is moved to position 4 from position 5.
Optionally, a sub- control key C and D is respectively set at the both ends of the sliding rail, as shown in Fig. 2, touching sub- control key C
When, rolling slide block is moved to top in sliding rail along the delta direction in sub- control key C, when touching sub- control key D, rolls and slides
Block is moved to lowermost end in sliding rail along the delta direction in sub- control key D.If the scroll bar is horizontally disposed, touch
It is moved respectively to left end and right end when the control key for touching both ends.
Optionally, described device further includes judgment module 640, is specifically used for judging the press pressure value of the pressing operation
Whether it is more than or equal to predetermined threshold value, when the press pressure value of the pressing operation is more than or equal to predetermined threshold value, triggers the mesh
Cursor position determining module 620 determines the pressing operation according to the correspondence of preset press pressure value and sled position
Target location in the corresponding sliding rail of press pressure value.
Specifically, carrying out pressing operation in level-one browser interface, multiple functions may be implemented, such as webpage clicking browser interface
Headline, then the display content of terminal the corresponding secondary interface of headline of click place may be jumped to from Current Content
News content, it is also possible to rest on when previous stage interface display hide content.In the press pressure value of the pressing operation
When more than or equal to predetermined threshold value, show to be activated be rest on level-one browser interface control rolling slide block movement it is hiding to show
Content function.
Optionally, the browser interface includes the pressing control area of at least two non-overlapping copies, and described device further includes
Scroll bar quantity acquisition module 650 is specifically used for obtaining the quantity of the scroll bar on the browser interface.
Specifically, scroll bar is a kind of interface control key of browser interface, multiple control keys are provided on browser interface, each
The control key indicates that terminal traverses the control key parameter by control key parameter, is searched in the multiple control key parameter and default
Scroll bar control key match parameters control key parameter, and the number of control key parameter to match described in recording is described matched
The number of control key parameter is the quantity of scroll bar.
Further alternative, when the quantity is more than 1, described device further includes:
Control area determining module 660 is pressed, for determining the pressing belonging to the corresponding pressing position of the pressing operation
Control area, each pressing control area uniquely correspond to each scroll bar.
As shown in figure 5, there are 2 scroll bars on browser interface, browser interface is divided into two control areas S1 and S2,
The control areas S1 carry out pressing touch then activation positioned at lower end horizontal direction scroll bar work, the control areas S2 carry out by
Pressure touches scroll bar of the then activation positioned at Right vertical direction and works.If on the browser interface further including more scroll bars,
Browser interface can be then divided into more control areas, specific divide is not construed as limiting.
Scroll bar acquisition module 670, the corresponding scroll bar in pressing control area for obtaining the determination.
Specifically, according to the one-to-one relationship of pressing control area and scroll bar, the pressing control of the determination is obtained
The corresponding scroll bar in region.
For example, as shown in figure 5, if user presses the regions S1, terminal is a pair of according to press control area and scroll bar one
It should be related to, obtain horizontal positioned scroll bar, if user presses the regions S2, obtain the scroll bar being disposed vertically.
Optionally, described device further includes prompt message display module 680, is specifically used for displaying prompt message, described to carry
Show information for prompting user to press the corresponding scroll bar in control area described in multiple scroll bars.
Specifically, there are many modes of displaying prompt message, for example, passing through text, audio or video in browser interface
Mode, which is shown, to be pressed the corresponding scroll bar in control area, lights the corresponding scroll bar in pressing control area etc., is not made herein specific
It limits.
Optionally, described device further includes setup module 690, is specifically used for that the browsing is arranged according to the target location
The browse state at interface.
Specifically, the sliding with rolling slide block in sliding rail, the browse state respective change of the browser interface.It is described
Browse state includes at least one of playing progress rate, present displayed content.
For example, as shown in figure 3, in a music player, by pressing browser interface, terminal is according to the pressure of pressing
After value obtains target location, by scroll bar from " 00:26 " places are moved to " 02:07 " place, meanwhile, the broadcasting content of terminal also from
“00:The corresponding curriculum offering in 26 " places is " 02:The corresponding content in 07 " place.
For another example in a web page browsing interface, by pressing browser interface, terminal is obtained according to the pressure value of pressing
Behind target location, scroll bar is moved to target location from current location, meanwhile, the display content at interface is also from current location pair
The curriculum offering answered is the corresponding content in target location.
In embodiments of the present invention, it when the pressing operation that terminal inputs on detecting browser interface, is pressed described in acquisition
The corresponding press pressure value of press operation is pressed further according to the correspondence of preset press pressure value and sled position described in determination
Target location of the corresponding rolling slide block of press pressure value of press operation in sliding rail controls the rolling slide block from current
Position is moved to the target location in the sliding rail so that terminal with the mobile adjustment browser interface of rolling slide block broadcasting into
The present displayed content etc. of degree or adjustment browser interface.Using the embodiment of the present invention, user only needs simply pressing browsing circle
Rolling slide block can be moved to the target location in sliding rail by face, improve the convenience of operation.
Fig. 8 illustrates a kind of computer system 10 based on von Neumann system of the above-mentioned scroll bar control method of operation.
The computer system 10 can be smart mobile phone, tablet computer, palm PC, and the terminals such as laptop or PC are set
It is standby.Specifically, may include the outer input interface 1001 connected by system bus, processor 1002, memory 1003 and defeated
Outgoing interface 1004.Wherein, outer input interface 1001 may include touch screen 10016, can also include optionally network interface
10018.Memory 1003 may include external memory 10032 (such as hard disk, CD or floppy disk etc.) and built-in storage 10034.It is defeated
Outgoing interface 1004 may include the equipment such as display screen 10042 and sound equipment/loudspeaker 10044.
In the present embodiment, the operation of this method is based on computer program, and the program file of the computer program is stored in
In the external memory 10032 of the aforementioned computer system 10 based on von Neumann system, it is loaded into built-in storage at runtime
It in 10034, is then compiled as being transferred in processor 1002 after machine code executing, so that being based on von Neumann system
Computer system 10 in form pressing operation detection module 600 in logic, pressure value acquisition module 610, target location true
Cover half block 620, mobile control module 630.And in above-mentioned scroll bar control method implementation procedure, the parameter of input is by outer
Portion's input interface 1001 receives, and is transferred in memory 1003 and caches, and is then input in processor 1002 and is handled, and locates
The result data of reason or be cached in memory 1003 is subsequently handled, or be passed to output interface 1004 carry out it is defeated
Go out.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium
In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (10)
1. a kind of scroll bar control method, which is characterized in that including:
The pressing operation inputted on the browser interface comprising scroll bar is detected, the scroll bar includes rolling slide block and sliding rail;
Obtain the corresponding press pressure value of the pressing operation;
According to the correspondence of preset press pressure value and sled position, determine that the press pressure value of the pressing operation corresponds to
The sliding rail in target location;
Control the target location that the rolling slide block is moved in the sliding rail;
Wherein, the browser interface includes the pressing control area of at least two non-overlapping copies;
Before the pressing operation that the detection inputs on the browser interface comprising scroll bar, further include:
Obtain the quantity of the scroll bar on the browser interface;
It is described after the pressing operation that the detection inputs on the browser interface comprising scroll bar when the quantity is more than 1
Before obtaining the corresponding press pressure value of the pressing operation, further include:
Determine the pressing control area belonging to the corresponding pressing position of the pressing operation, each pressing control area is unique
Corresponding each scroll bar;
Obtain the corresponding scroll bar in pressing control area of the determination.
2. the method as described in claim 1, which is characterized in that pair according to preset press pressure value and sled position
It should be related to, determine that the target location in the corresponding sliding rail of the press pressure value of the pressing operation includes:
Obtain the corresponding multiple and different range of pressure values of preset multiple sled positions;
Determine the range of pressure values belonging to the press pressure value of the pressing operation;
Determine that the corresponding rolling slide block of the press pressure value of the pressing operation exists according to the range of pressure values of the determination
Target location in the sliding rail.
3. the method as described in claim 1, which is characterized in that pair according to preset press pressure value and sled position
It should be related to, before determining the target location in the corresponding sliding rail of the press pressure value of the pressing operation, further include:
Judge whether the press pressure value of the pressing operation is more than or equal to predetermined threshold value;
When the press pressure value of the pressing operation is more than or equal to predetermined threshold value, execute described according to preset press pressure value
With the correspondence of sled position, the target location in the corresponding sliding rail of the press pressure value of the pressing operation is determined
Step.
4. the method as described in claim 1, which is characterized in that belonging to the corresponding pressing position of the determination pressing operation
Pressing control area after, further include:
Show prompt message, the prompt message is for prompting user to press control area pair described in multiple scroll bars
The scroll bar answered.
5. the method as described in claim 1, which is characterized in that the control rolling slide block is moved in the sliding rail
After target location, further include:
The browse state of the browser interface is set according to the target location, and the browse state includes playing progress rate, current
Show at least one of content.
6. a kind of scroll bar control device, which is characterized in that including:
Pressing operation detection module, for detecting the pressing operation inputted on the browser interface comprising scroll bar, the rolling
Item includes rolling slide block and sliding rail;
Pressure value acquisition module, for obtaining the corresponding press pressure value of the pressing operation;
Target location determining module is pressed for the correspondence according to preset press pressure value and sled position described in determination
Target location in the corresponding sliding rail of press pressure value of press operation;
Mobile control module, the target location being moved in the sliding rail for controlling the rolling slide block;
Wherein, the browser interface includes the pressing control area of at least two non-overlapping copies;
Described device further includes scroll bar quantity acquisition module, is specifically used for:
Obtain the quantity of the scroll bar on the browser interface;
When the quantity is more than 1, described device further includes:
Control area determining module is pressed, for determining the pressing control zone belonging to the corresponding pressing position of the pressing operation
Domain, each pressing control area uniquely correspond to each scroll bar;
Scroll bar acquisition module, the corresponding scroll bar in pressing control area for obtaining the determination.
7. device as claimed in claim 6, which is characterized in that the target location determining module includes:
Range of pressure values acquiring unit, for obtaining the corresponding multiple and different range of pressure values of preset multiple sled positions;
Range of pressure values determination unit, for determining the range of pressure values belonging to the press pressure value of the pressing operation;
Target location determination unit, the press pressure value for determining the pressing operation according to the range of pressure values of the determination
Target location of the corresponding rolling slide block in the sliding rail.
8. device as claimed in claim 6, which is characterized in that described device further includes judgment module, is specifically used for:
Judge whether the press pressure value of the pressing operation is more than or equal to predetermined threshold value, in the press pressure of the pressing operation
When value is more than or equal to predetermined threshold value, the target location determining module is triggered according to preset press pressure value and sled position
Correspondence determines the target location in the corresponding sliding rail of the press pressure value of the pressing operation.
9. device as claimed in claim 6, which is characterized in that described device further includes prompt message display module, specific to use
In:
Show prompt message, the prompt message is for prompting user to press control area pair described in multiple scroll bars
The scroll bar answered.
10. device as claimed in claim 6, which is characterized in that described device further includes setup module, is specifically used for:
The browse state of the browser interface is set according to the target location, and the browse state includes playing progress rate, current
Show at least one of content.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511015948.5A CN105653090B (en) | 2015-12-29 | 2015-12-29 | A kind of scroll bar control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511015948.5A CN105653090B (en) | 2015-12-29 | 2015-12-29 | A kind of scroll bar control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105653090A CN105653090A (en) | 2016-06-08 |
CN105653090B true CN105653090B (en) | 2018-09-14 |
Family
ID=56477998
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511015948.5A Active CN105653090B (en) | 2015-12-29 | 2015-12-29 | A kind of scroll bar control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105653090B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108958621A (en) * | 2018-05-29 | 2018-12-07 | Oppo广东移动通信有限公司 | information display method, device and mobile terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1808362A (en) * | 2004-12-21 | 2006-07-26 | 微软公司 | Pressure sensitive graphical controls |
CN101217730A (en) * | 2007-01-04 | 2008-07-09 | 三星电子株式会社 | Data scrolling apparatus and method for mobile terminal |
CN102314282A (en) * | 2010-06-29 | 2012-01-11 | 腾讯科技(深圳)有限公司 | Method for realizing content selection on the basis of scrolling widget and device |
CN104199611A (en) * | 2014-08-29 | 2014-12-10 | 广东欧珀移动通信有限公司 | Method and device for adjusting playing progress through mobile terminal |
CN105100917A (en) * | 2015-08-27 | 2015-11-25 | 广东欧珀移动通信有限公司 | Multimedia content playing control method and terminal device |
CN105117131A (en) * | 2015-08-27 | 2015-12-02 | 广东欧珀移动通信有限公司 | Progress bar control method and apparatus |
-
2015
- 2015-12-29 CN CN201511015948.5A patent/CN105653090B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1808362A (en) * | 2004-12-21 | 2006-07-26 | 微软公司 | Pressure sensitive graphical controls |
CN101217730A (en) * | 2007-01-04 | 2008-07-09 | 三星电子株式会社 | Data scrolling apparatus and method for mobile terminal |
CN102314282A (en) * | 2010-06-29 | 2012-01-11 | 腾讯科技(深圳)有限公司 | Method for realizing content selection on the basis of scrolling widget and device |
CN104199611A (en) * | 2014-08-29 | 2014-12-10 | 广东欧珀移动通信有限公司 | Method and device for adjusting playing progress through mobile terminal |
CN105100917A (en) * | 2015-08-27 | 2015-11-25 | 广东欧珀移动通信有限公司 | Multimedia content playing control method and terminal device |
CN105117131A (en) * | 2015-08-27 | 2015-12-02 | 广东欧珀移动通信有限公司 | Progress bar control method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN105653090A (en) | 2016-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2905689B1 (en) | Method and apparatus for displaying character on touchscreen | |
CN105955587B (en) | A kind of hiden application icon display method and device | |
CN103838456B (en) | A kind of control method and system of desktop icons display location | |
JP5946462B2 (en) | Mobile terminal and its screen control method | |
CN104077003B (en) | A kind of method and device for merging mobile phone return key, home keys and Menu key | |
CN102629164B (en) | A kind of multi-point touch equipment and method for information display and apply processing unit | |
CN101452354B (en) | Input method of electronic device, content display method and use thereof | |
KR20130090138A (en) | Operation method for plural touch panel and portable device supporting the same | |
CN103389869B (en) | A kind of method, apparatus and equipment for being adjusted to touch input interface | |
CN102073454A (en) | Mobile terminal and input control method for touch panel | |
CN105653190B (en) | Communication terminal and its one-hand operating format control method and device | |
CN102830893B (en) | Control method for screen display and system | |
CN103853439B (en) | terminal and page turning method | |
CN102169411A (en) | Multiwindow switching method and device of touch screen terminal | |
US20150378965A1 (en) | Method And Device For Text Input And Display Of Intelligent Terminal | |
CN102890607A (en) | Screen display control method for terminal and terminal | |
CN105677199A (en) | Inputting method and device based on pressure touch | |
CN105404423A (en) | Touch display device and pressure sensing touch method therefor | |
CN106681616B (en) | Method, device and equipment for displaying function bar of browser | |
CN105912208A (en) | Method and apparatus for switching display interfaces | |
CN102411472A (en) | Mobile communication device and method thereof for rapidly calling out a plurality of icons and running programs corresponding to icons | |
CN105677090A (en) | Press control method and device | |
CN104166494B (en) | page control method and device | |
CN107132982A (en) | The Single-hand control method and system of a kind of terminal device | |
CN103530044B (en) | page gesture triggering method and device |
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 |