Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for implementing rolling of scroll bars

A scrolling bar and scrolling direction technology, applied in the computer field, can solve the problems of fixed scrolling speed and rigid scrolling effect, so as to improve the visual effect and user experience

Active Publication Date: 2014-07-02
BEIJING FEINNO COMM TECH
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve the problems in the prior art that the scrolling speed of the scrolling bar is fixed and the scrolling effect is rigid, the embodiment of the present invention provides a method and device for realizing the scrolling of the scrolling bar

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for implementing rolling of scroll bars
  • Method and device for implementing rolling of scroll bars
  • Method and device for implementing rolling of scroll bars

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0072] See figure 1 , which shows a flow chart of the method for implementing scroll bar scrolling provided by Embodiment 1 of the present invention. The method for implementing scroll bar scrolling may include:

[0073] Step 101, receiving a scrolling message, the scrolling message includes a target scrolling distance and a scrolling direction;

[0074] Step 102, generating scrolling data of a predetermined type according to the scrolling message, and the predetermined type includes at least two types of variable acceleration, uniform acceleration, constant speed, variable deceleration, uniform deceleration, and attenuation;

[0075] Step 103, sequentially adding the generated rolling data of the predetermined type into the rolling data queue;

[0076] Step 104, scrolling the scroll bar corresponding to the scroll message according to the scroll data in the scroll data queue in turn.

[0077] To sum up, the method for implementing scroll bar scrolling provided by Embodimen...

Embodiment 2

[0079] In order to further describe the method for realizing scroll bar scrolling provided by Embodiment 1, taking the predetermined types of scrolling data generated as examples of scrolling data at a constant speed, scrolling data at a constant deceleration, and attenuating scrolling data, please refer to figure 2 , which shows the flow chart of the method for realizing scroll bar scrolling provided by Embodiment 2 of the present invention, wherein the window displaying multimedia content may be an interactive window of instant messaging software, or other multimedia display with scroll bar window. In order to realize the visual scroll bar scrolling effect, the method adopted in Embodiment 2 of the present invention is: divide the total scrolling distance into multiple single scrolling distances, and generate a piece of scrolling data corresponding to each single scrolling distance; Set a fixed scrolling cycle, the scrolling device reads a piece of scrolling data at the beg...

Embodiment 3

[0107] see image 3 , an embodiment of the present invention provides a device structure diagram of a device for realizing scroll bar scrolling, and the device may include:

[0108] A message receiving module 301, configured to receive a scrolling message, which includes a target scrolling distance and a scrolling direction;

[0109] The rolling data generating module 302 is configured to generate scrolling data of a predetermined type according to the scrolling message received by the message receiving module 301, and the predetermined type includes at least two types of variable acceleration, uniform acceleration, constant speed, variable deceleration, uniform deceleration and attenuation ;

[0110] A queue adding module 303, configured to add the generated scrolling data of a predetermined type into the scrolling data queue in sequence;

[0111] The scrolling module 304 is configured to scroll the scroll bar corresponding to the scroll message sequentially according to th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for implementing rolling of scroll bars, and belongs to the field of computers. The method comprises the following steps of receiving rolling information which comprises an object rolling distance and an object rolling direction; generating rolling data in the preset type according to the rolling information; sequentially adding the generated rolling data in the preset types in a rolling data queue; and sequentially rolling the scroll bars corresponding to the rolling information according to the rolling data in the rolling data queue. The preset types comprise at least two types of variable acceleration, constant acceleration, constant speed, variable deceleration, constant deceleration and attenuation. The rolling data in at least two types are generated according to the received rolling information, the corresponding scroll bars roll sequentially according to the rolling data added in the rolling queue, the problems that the rolling speed of scroll bars in the prior art is fixed, and the rolling effect is rigid and stiff are solved, and the purpose of improving the visual effect and the user experience is achieved.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for realizing the scrolling of a scroll bar. Background technique [0002] With the rapid development of Internet technology, users can browse or communicate with text, images, sounds and videos in windows displaying multimedia content. When there are many multimedia contents, the displayable area of ​​the window can usually only display a part of the content. In order to view other contents, the content of the non-displayable area can be scrolled to the currently visible display area by scrolling the scroll bar of the window. [0003] The existing method for realizing scroll bar scrolling includes: when the multimedia window is in an active state (for example, the mouse focus is on the multimedia window), receiving a scroll message generated when a user scroll operation is detected; Direction to scroll the window's scroll bar at a preset scroll speed. [0004] In t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/0481
Inventor 张明贺
Owner BEIJING FEINNO COMM TECH