CN101369197A - Computer window scroll bar control method - Google Patents

Computer window scroll bar control method Download PDF

Info

Publication number
CN101369197A
CN101369197A CNA2007101357694A CN200710135769A CN101369197A CN 101369197 A CN101369197 A CN 101369197A CN A2007101357694 A CNA2007101357694 A CN A2007101357694A CN 200710135769 A CN200710135769 A CN 200710135769A CN 101369197 A CN101369197 A CN 101369197A
Authority
CN
China
Prior art keywords
window
scroll bar
axis displacement
computer
input unit
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.)
Granted
Application number
CNA2007101357694A
Other languages
Chinese (zh)
Other versions
CN101369197B (en
Inventor
陈浚哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
KYE Systems Corp
Original Assignee
KYE Systems Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KYE Systems Corp filed Critical KYE Systems Corp
Priority to CN2007101357694A priority Critical patent/CN101369197B/en
Publication of CN101369197A publication Critical patent/CN101369197A/en
Application granted granted Critical
Publication of CN101369197B publication Critical patent/CN101369197B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a window scroll bar control method of a computer, comprising the following steps: an optical sensing window on an input device of the computer detects the finger moving state of a user for obtaining a moving direction; the computer input device parses the moving direction for obtaining an X-axis displacement and a Y-axis displacement; and the computer input device sends scroll bar scrolling commands to the computer when the moving direction contains the X-axis displacement and the Y-axis displacement, so as to make a first scroll bar of the window execute the scrolling program corresponding to the X-axis displacement according to the scroll bar scrolling command, and make a second scroll bar of the window execute the scrolling program corresponding to the Y-axis displacement according to the scroll bar scrolling command in the meanwhile.

Description

Computer window scroll bar control method
Technical field
The present invention relates to a kind of window control method, relate in particular to a kind of control method of utilizing optical sensing window on the computer input unit to carry out the computer interface scroll bar.
Background technology
Operating system (Operating System, be called for short OS) is a kind of computer system software, in order to as the execution environment of application program and the operation-interface of computing machine.Generally speaking, the task of operating system comprises the management of direct supervision to hardware resource, computational resource (as interior storage, processor service time) and the types of applications procedure service is provided, allows the user come control computer by output/input equipments such as keyboard, screens.Along with the maturation of diagram form user interface (Graphic User Interface, GUI, promptly so-called window interface) technology, operating system also comprises by visual window interface to be controlled/uses a computer, and this type operating system is called Windows again.
The window interface that present mouse is used in computer equipment is widely controlled, and becomes one of peripheral hardware unit of interwoveness when surfing the Net.At present up-to-date scrolling device is one to have the mode of optical sensing window on the computer input unit; The principle of optical sensing window can be divided into the image comparison formula, with two kinds of light refraction comparison formulas; And the product of this class for example is found in GENIUS TRAVELER 515 mouses.But the problem of the device of this class is, when the user (for example has two scroll bars in operation, horizontal roll moving axis and vertical scrolling axle) window the time, not convenient situation will appear operating, for example at browsing page, this moment, if the user was will read the page that is positioned at the lower right corner direction time, mouse with twin roller type is an example, the roller that just needs first rolling controlling level (or vertical) scroll bar is (or down) to the right, the control vertically roller downward (or right) of (or level) scroll bar again rolls, arrive the page that is positioned at lower right corner direction so that browse picture, that is to say that the user need finish by twice operational motion, and is very not convenient, therefore, on operation is improved quality, have to be hoisted.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of computer window scroll bar control method, by computer input unit sensing and the single operation action of resolving the user, again the single operation action is converted to the rolling stripe coiling order and is sent to computing machine, with the action of control window scroll bar, so as to promoting operation ease.
Therefore, the disclosed computer window scroll bar control method according to the present invention, according to the operating result of user in computer input unit, first scroll bar and second scroll bar of the window of control computer carry out scrolling, this window scroll bar control method includes the following step: at first, computer input unit has an optical sensing window, finger mobile status in order to the sensing user, and obtain a moving direction, wherein in the user optical sensing window place its finger after, computer input unit is obtained the origin coordinates value, and after optical sensing window was removed its finger, computer input unit was obtained the termination coordinate figure in the user; Then, computer input unit is resolved moving direction, and to obtain X-axis displacement and Y-axis displacement, wherein X-axis displacement and Y-axis displacement are obtained with the calculating that stops coordinate figure according to the origin coordinates value; When moving direction comprises X-axis displacement and Y-axis displacement, computer input unit sends the rolling stripe coiling order to computing machine, so that first scroll bar of window is according to the scrolling program of rolling stripe coiling command execution corresponding to the X-axis displacement, simultaneously, make second scroll bar of window according to the scrolling program of rolling stripe coiling command execution corresponding to the Y-axis displacement.
By this computer window scroll bar control method, finger mobile status by computer input unit sensing user, and after obtaining X-axis displacement and Y-axis displacement, parsing is sent to computing machine, and then two window scroll bars of control computer scroll to the picture of desiring to browse rapidly simultaneously, so as to solving the problem that user in the past only can once control a window scroll bar, in other words, the invention provides the user and finish the control operation of two scroll bar windows, so as to promoting operation ease with single operation.
Relevant characteristics and implementation of the present invention, conjunction with figs. is described in detail as follows as most preferred embodiment now.
Description of drawings
Fig. 1 is a flow chart of steps of the present invention;
Fig. 2 A is the parsing synoptic diagram of moving direction of the present invention;
Fig. 2 B is the parsing synoptic diagram of another moving direction of the present invention;
Fig. 3 A is the scrolling synoptic diagram of operation window of the present invention; And
Fig. 3 B is another scrolling synoptic diagram of operation window of the present invention.
Wherein, Reference numeral:
10: two-dimensional coordinate sense plane 11:X axial translation amount
12:Y axial translation amount 20: moving direction
21: moving direction 30: operation window
31: first volume moving axis 31a: window slide bar
32: the second scroll bar 32a: window slide bar
40: right 41: go up direction
42: left is to 43: following direction
Embodiment
The disclosed computer input unit according to the present invention, including, but not limited to mouse, trace ball, Trackpad, game console ... Deng computing machine periphery input media, and can in be built in mobile computer, PDA etc. and have in the electronic installation of window interface, operate relevant function so that the user to be provided.Yet appended graphic reference and the explanation usefulness of only providing not is in order to restriction the present invention.
Please refer to Fig. 1, be flow chart of steps of the present invention.As shown in Figure 1, computer window scroll bar control method of the present invention includes the following step:
At first, computer input unit sensing user's finger mobile status, to obtain a moving direction (step 100), wherein computer input unit has an optical sensing window, in order to provide the user to place its finger, and that optical sensing window is the sensing range of light transmission material and optical sensing window is corresponding with the two-dimensional coordinate sense plane that pre-defines, cooperate optical sensor circuit that user's finger is carried out sensing, to obtain the status information that finger moves, and this status information is sent to microprocessor in the computer input unit, and microprocessor can for example be central processing unit (Central Processing Unit, CPU), microcontroller (Micro Control Unit, MCU) or digital signal processor (Digital Signal Processor, DSP).And the principle of optical sensing window can be divided into the image comparison formula, with two kinds of light refraction analysis modes.
Computer input unit is resolved moving direction (step 101), to obtain X-axis displacement and Y-axis displacement, wherein in the user optical sensing window place its finger after, the optical sensor circuit of computer input unit is obtained an initial coordinate figure, in the user optical sensing window remove its finger after, the optical sensor circuit of computer input unit is obtained one and is stopped coordinate figure, and X-axis displacement and Y-axis displacement can be obtained with the calculating that stops coordinate figure according to the origin coordinates value by microprocessor.
Does computer input unit judge that moving direction comprises X-axis displacement and Y-axis displacement? (step 102), wherein the microprocessor in the computer input unit according to the origin coordinates value, stop the distribution relation of coordinate figure in predefined two-dimensional coordinate sense plane, can obtain moving direction and X-axis displacement and the Y-axis displacement of finger on the two-dimensional coordinate sense plane.
When moving direction comprises X-axis displacement and Y-axis displacement, the microprocessor of computer input unit sends the rolling stripe coiling order to computing machine, so that first scroll bar of window is according to the scrolling program of rolling stripe coiling command execution corresponding to the X-axis displacement, simultaneously, second scroll bar of window is according to the scrolling program (step 105) of rolling stripe coiling command execution corresponding to the Y-axis displacement.The rolling stripe coiling order can adopt the package mode to be sent to computing machine, and the form of package is exemplified below table:
Figure A200710135769D00071
Wherein BYTEO represents mousebutton, BYTE1 represents the X axis amount of mouse, BYTE2 represents the Y-axis vector of mouse, BYTE3 represents the Z axial vector (scroll-up/down of first volume moving axis) of mouse, BYTE4 represents the R axial vector (second scroll bar about roll) of mouse, and B8, B7, B6, B5, B4, M, R and L represent.
When moving direction does not comprise X-axis displacement and Y-axis displacement simultaneously, do you judge that then moving direction comprises the X-axis displacement? (step 103), when moving direction comprises the X-axis displacement, computer input unit sends the first rolling stripe coiling order to computing machine, so that first scroll bar of window is according to the scrolling program (step 106) of the first rolling stripe coiling command execution corresponding to the X-axis displacement.The first rolling stripe coiling order can adopt the package mode to be sent to computing machine, and the form of package no longer repeats at this as illustrational table in the step 105.
When moving direction does not comprise the X-axis displacement, do you judge that then moving direction comprises the Y-axis displacement? (step 104), when moving direction comprises the Y-axis displacement, computer input unit sends the second rolling stripe coiling order to computing machine, so that second scroll bar of window is according to the scrolling program (step 107) of the second rolling stripe coiling command execution corresponding to the Y-axis displacement.The second rolling stripe coiling order can adopt the package mode to be sent to computing machine, and the form of package no longer repeats at this as illustrational table in the step 105.
In addition; it is commutative with the order of step 104 to understand step 103 as those skilled in the art, that is to say, after computer input unit judges whether moving direction comprises the Y-axis displacement earlier; judge whether moving direction comprises the X-axis displacement, it also belongs to the category of the present invention's protection again.
Please refer to Fig. 2 A, be the parsing synoptic diagram of moving direction of the present invention.Shown in Fig. 2 A, when the user optical sensing window place its finger after, the optical sensor circuit of computer input unit can be obtained an origin coordinates value (x1, y1), then, user's moveable finger direction is shown in moving direction 20, and after finger is removed optical sensing window, optical sensor circuit is obtained a termination coordinate figure, and (x2, y2), wherein the sensing range of optical sensing window is corresponding with two-dimensional coordinate sense plane 10.
Next, the microprocessor of computer input unit is according to origin coordinates value (x1, y1) with termination coordinate figure (x2, y2) calculate X-axis displacement 11 and Y-axis displacement 12, and transmit first scrolling order and second scrolling order to computing machine, so that the past right 40 of the window slide bar 31a in the first volume moving axis 31 of operation window 30 (as shown in Figure 3A) moves the distance corresponding to X-axis displacement 11, and make simultaneously in second scroll bar 32 of operation window 30 window slide bar 32a up direction 41 move distance corresponding to Y-axis displacement 12, be equivalent to make the picture of operation window 30 to upgrade towards the direction of moving direction 20, so, the user need be the scrolling program of the may command first volume moving axis 31 and second scroll bar 32 by operational motion once only.
Please refer to Fig. 2 B, be the parsing synoptic diagram of another moving direction of the present invention.Shown in Fig. 2 B, when the user optical sensing window place its finger after, the optical sensor circuit of computer input unit can be obtained an origin coordinates value (x3, y3), then, user's moveable finger direction is shown in moving direction 21, and after finger is removed optical sensing window, optical sensor circuit is obtained a termination coordinate figure, and (x4, y4), wherein the sensing range of optical sensing window is corresponding with two-dimensional coordinate sense plane 10.
Next, the microprocessor of computer input unit is according to origin coordinates value (x3, y3) with termination coordinate figure (x4, y4) calculate X-axis displacement 11 and Y-axis displacement 12, and transmit first scrolling order and second scrolling order to computing machine, direction 42 moves the distance corresponding to X-axis displacement 11 so that the window slide bar 31a in the first volume moving axis 31 of operation window 30 (shown in Fig. 3 B) turns left, and make simultaneously in second scroll bar 32 of operation window 30 window slide bar 32a down direction 43 move distance corresponding to Y-axis displacement 12, be equivalent to make the picture of operation window 30 to upgrade towards the direction of moving direction 21, so, the user need be the scrolling program of the may command first volume moving axis 31 and second scroll bar 32 by operational motion once only.
In addition, when operation window 30 only has second scroll bar 32 and moving direction when comprising X-axis displacement 11, then computer input unit can not send the first rolling stripe coiling order to computing machine, to avoid taking resource for computer system, when operation window 30 only has first scroll bar 31 and moving direction when comprising the Y-axis displacement, then computer input unit can not send the second rolling stripe coiling order to computing machine, to avoid taking resource for computer system.
Comprehensive the above, computer window scroll bar control method of the present invention, finger mobile status by computer input unit sensing user, and after obtaining X-axis displacement and Y-axis displacement, parsing is sent to computing machine, and then two window scroll bars of control computer scroll to the picture of desiring to browse rapidly simultaneously, so as to solving the problem that user in the past only can once control a window scroll bar, in other words, the invention provides the user and finish the control operation of two scroll bar windows, so as to promoting operation ease with single operation.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; being familiar with those of ordinary skill in the art ought can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (7)

1. computer window scroll bar control method, according to the operating result of user on the optical sensing window of a computer input unit, first scroll bar and/or second scroll bar of the window of control computer carry out scrolling, it is characterized in that this window scroll bar control method includes the following step:
The optical sensing window sensing user's of this computer input unit finger mobile status is to obtain a moving direction;
This computer input unit is resolved this moving direction, to obtain an X-axis displacement and a Y-axis displacement; And
When this moving direction comprises this X-axis displacement and this Y-axis displacement, this computer input unit sends a rolling stripe coiling order to this computing machine, so that this of this window first scroll bar is according to the scrolling program of this rolling stripe coiling command execution corresponding to this X-axis displacement, and simultaneously this second scroll bar of this window according to the scrolling program of this rolling stripe coiling command execution corresponding to this Y-axis displacement.
2. computer window scroll bar control method according to claim 1, it is characterized in that, in the user this optical sensing window place its finger after, this computer input unit is obtained an initial coordinate figure, after this optical sensing window was removed its finger, this computer input unit was obtained one and is stopped coordinate figure in the user.
3. computer window scroll bar control method according to claim 2 is characterized in that, this X-axis displacement and Y-axis displacement are obtained according to this origin coordinates value and this calculating that stops coordinate figure.
4. computer window scroll bar control method according to claim 1, it is characterized in that, only have this second scroll bar and this moving direction when comprising this X-axis displacement in this window, then this computer input unit can not send this first rolling stripe coiling order to this computing machine.
5. computer window scroll bar control method according to claim 1, it is characterized in that, only have this first scroll bar and this moving direction when comprising this Y-axis displacement in this window, then this computer input unit can not send this second rolling stripe coiling order to this computing machine.
6. computer window scroll bar control method according to claim 1, it is characterized in that, when this moving direction comprises this X-axis displacement, this computer input unit sends one first rolling stripe coiling order to this computing machine, so that this of this window first scroll bar is according to the scrolling program of this first rolling stripe coiling command execution corresponding to this X-axis displacement.
7. computer window scroll bar control method according to claim 1, it is characterized in that, when this moving direction comprises this Y-axis displacement, this computer input unit sends one second rolling stripe coiling order to this computing machine, so that this of this window second scroll bar is according to the scrolling program of this second rolling stripe coiling command execution corresponding to this Y-axis displacement.
CN2007101357694A 2007-08-16 2007-08-16 Computer window scroll bar control method Expired - Fee Related CN101369197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101357694A CN101369197B (en) 2007-08-16 2007-08-16 Computer window scroll bar control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101357694A CN101369197B (en) 2007-08-16 2007-08-16 Computer window scroll bar control method

Publications (2)

Publication Number Publication Date
CN101369197A true CN101369197A (en) 2009-02-18
CN101369197B CN101369197B (en) 2010-12-08

Family

ID=40413040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101357694A Expired - Fee Related CN101369197B (en) 2007-08-16 2007-08-16 Computer window scroll bar control method

Country Status (1)

Country Link
CN (1) CN101369197B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770303A (en) * 2010-01-19 2010-07-07 中兴通讯股份有限公司 Method for realizing direction identification of optics finger navigation and mobile terminal
CN104461306A (en) * 2013-09-23 2015-03-25 博雅网络游戏开发(深圳)有限公司 Rolling assembly control method and device
CN109901766A (en) * 2017-12-07 2019-06-18 珠海金山办公软件有限公司 Moving method, device and the electronic equipment of document viewport
CN110221758A (en) * 2019-04-29 2019-09-10 平安科技(深圳)有限公司 Scroll bar control method, device, computer equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770303A (en) * 2010-01-19 2010-07-07 中兴通讯股份有限公司 Method for realizing direction identification of optics finger navigation and mobile terminal
WO2011088649A1 (en) * 2010-01-19 2011-07-28 中兴通讯股份有限公司 Method and mobile terminal for realizing direction identification of optical finger navigation
CN104461306A (en) * 2013-09-23 2015-03-25 博雅网络游戏开发(深圳)有限公司 Rolling assembly control method and device
CN109901766A (en) * 2017-12-07 2019-06-18 珠海金山办公软件有限公司 Moving method, device and the electronic equipment of document viewport
CN109901766B (en) * 2017-12-07 2023-03-24 珠海金山办公软件有限公司 Method and device for moving document viewport and electronic equipment
CN110221758A (en) * 2019-04-29 2019-09-10 平安科技(深圳)有限公司 Scroll bar control method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN101369197B (en) 2010-12-08

Similar Documents

Publication Publication Date Title
EP2533146B1 (en) Apparatus and method for providing web browser interface using gesture in device
CN102156559B (en) A kind of method of network TV remote controller analog mouse operation and device
RU2660615C2 (en) Method and device for moving page content
CN109144370B (en) Screen capturing method, device, terminal and computer readable medium
CN109933252B (en) Icon moving method and terminal equipment
CN110928461A (en) Icon moving method and electronic equipment
CN102141846A (en) Method for intuitively browsing contents and mobile terminal
CN101369197B (en) Computer window scroll bar control method
CN113296636B (en) False touch prevention method and device and electronic equipment
US20160217143A1 (en) Method and device for displaying browser resources and computer readable storage medium
CN110908555A (en) Icon display method and electronic equipment
CN103713874B (en) Power system real-time picture Web interface showing method
CN104765525A (en) Operation interface switching method and device
CN102855074A (en) Touch screen operating method
CN110888569A (en) Content selection control method and electronic equipment
CN113407075B (en) Icon sorting method and device and electronic equipment
CN104238942A (en) Touch system and image scrolling method thereof
CN106126075A (en) Control the method and device that buoy shows
CN103092412A (en) Mobile terminal and mobile terminal operation object display method
CN111596836A (en) Split-screen display method and electronic equipment
CN111880700B (en) Application program control method and device and electronic equipment
CN104808913A (en) Event responding method and device
CN111221460A (en) Content scrolling display method and electronic equipment
CN113311982A (en) Information selection method and device
JP6721049B2 (en) Page display program, page display device, and page display method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
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: 20101208

Termination date: 20180816