The control system of computer viewing window
The control system of the relevant a kind of computer viewing window of the present invention.It is applied in the system of windowing software for a kind of three-dimensional space Genius mouse.
After Microsoft released form Windows 95, the user generally came operating computer by windows system, and windowing software utilization on computers is extensive day by day, and the Genius mouse of energy flexible operating form running is also more and more important in the use.Common people obtain, read form and file from windowing software, or use windowing software and draw, write work such as file, usually need scrolling form spool, scrolling form spool must utilize Genius mouse that vernier is very accurately moved on on the spool and just can operate, this operation is very inconvenient, and work as document overlength, when needing to seek the purpose page, spool can not be done scrolling fast and effectively with user's idea, sometimes scrolling is excessive, sometimes scrolling quantity not sufficient, roll scroll can not resemble as the Genius mouse moving cursor so flexibly with convenient.
In order to make the Genius mouse roll scroll more convenient, Microsoft releases a kind of Genius mouse with wheel shaft, be called the wisdom Genius mouse, the mode that its wheel shaft of utilization wisdom Genius mouse is pressed and rotated, can control scrolling and other relevant actions of form spool like a cork, dwindle in the form perhaps fast roll scroll etc. as amplification, Microsoft presses and the rotating axle relevant information at the wheel shaft of wisdom Genius mouse, done a new definition especially, be called wheel shaft profile standard, wheel shaft profile standard by these redeterminations, the action of wheel shaft just can transfer the apprehensible information of form to, the user can control the scrolling of current window inner reel easily by wheel shaft, after the driver of wisdom Genius mouse receives the axle information of wisdom Genius mouse, this axle information can be passed to a hiding form, should hide form can change axle information according to the wheel shaft profile standard that Microsoft formulated, pass to current window again, but if this redetermination information of current window interpretation, then current window can be passed to this wheel shaft profile standardize information the sub-window under it, do suitable action, dwindle as amplification, roll scroll etc., if current window be can not interpretation wheel shaft profile standardize information form, then current window can be ignored this information, and current window is failure to actuate.But the form of interpretation wisdom slide-mouse wheel shaft functional specification information comprises form 97 compatible application software (for example Microsoft Office 97), world-wide web explorer 3.0 (InternetExplorer 30.0) or the like.Though the wisdom slide-mouse can be applicable on the windowing software, but because Microsoft is a new definition for the standardize information of the wheel s function of wisdom Genius mouse, for example some early stage windowing softwares such as MicrosoftOffice 95 package softwares can not this redetermination of interpretation, can't contain all windowing softwares with the scope that causes the wisdom Genius mouse to be used.
Fundamental purpose of the present invention is to provide a kind of Genius mouse to can be used for computer viewing window control system on whole forms.When its wheel shaft to the three-dimensional space Genius mouse moves, the three-dimensional space Genius mouse spreads out of three-dimensional space information, assistance by a concealing program of hiding, but in the form of interpretation wisdom Genius mouse information, the three-dimensional space Genius mouse has as the specific function as the wisdom Genius mouse, dwindle the form content as amplification, the quick rolling function of spool etc., if the wheel shaft of operation three-dimensional space Genius mouse in can not the form of interpretation wisdom Genius mouse information, the three-dimensional space Genius mouse spreads out of three-dimensional space information also can carry out the function that some Genius mouses have, as roll scroll, the spool automatic rolling function, or the quick rolling function of spool etc.
For achieving the above object, the present invention takes following scheme:
The control system of computer viewing window of the present invention is by a concealing program (daemon program), makes a three-dimensional space Genius mouse on any form, can carry out and identical functions as the wisdom Genius mouse, has overcome the shortcoming of wisdom Genius mouse.
The control system of computer viewing window of the present invention comprises
One display screen;
One indicative control unit is in order to control the display action of a display screen;
One central control unit, in order to carry out the following step:
(a) control one driver sends an input control signal of an index input unit to a concealing program;
(b) concealing program is set the setting of pattern according to user's form:
(b1) when being set at a forbidden energy pattern, concealing program is abandoned input control signal;
(b2) when being set at a wisdom Genius mouse pattern, concealing program is sent a wisdom Genius mouse wheel shaft functional specification information and is given current window;
(b3) when being set at a mode standard, to step (c);
(b4) when being set at an automatic mode, this concealing program is judged the form of a current window automatically:
(bb1) but when current window is interpretation one wisdom Genius mouse information state, then sends wisdom Genius mouse wheel shaft functional specification information and give current window;
(bb2) be can not interpretation wisdom Genius mouse information state the time at current window, to step (c);
(c) concealing program is judged input control signal;
(c1) when input control signal was one first action, described indicative control unit was carried out a spool vague generalization rolling function;
(c2) when input control signal is one second action, make this indicative control unit carry out a spool automatic rolling function; And
(c3) when this input control signal was one the 3rd action, this indicative control unit was carried out the quick rolling function of a spool.
Described system is characterized in that, described index input unit is a three-dimensional space wheel shaft Genius mouse, and described input control signal is a three-dimensional space Genius mouse information.
Described system is characterized in that, described first action is for rotating the wheel shaft of described three-dimensional space Genius mouse.
Described system is characterized in that, the step of the described spool vague generalization of described execution rolling function comprises the following steps:
(A1) concealing program is obtained a vernier current location;
(A2) when slider position on spool, roll scroll then;
(A3) when slider position in described current window, then concealing program is found out the spool that meets most in the described current window, its level of control, direction and state according to a spool direction control model;
(A4) a wheel shaft amount of spin that transmits according to described driver is found out the scrolling number of times of a default scrolling unit quantity, and current window comes roll scroll according to the scrolling number of times.
Described system is characterized in that, described spool direction control model has three kinds of setting patterns:
(B1)-and the X-axis pattern: be set at the X-axis pattern, be form scrolling horizontal direction spool;
(B2)-and the Y-axis pattern: be set at the Y-axis pattern, be form scrolling vertical direction spool;
(B3)-recently connect the spool pattern of vernier: be set at spool pattern near vernier, then the form scrolling from slider position near spool.
Described system is characterized in that, when described wheel shaft rotates, depresses a letters shift (LTRS) key of a keyboard, and described window spool scrolling changes to another scrolling.
Described system is characterized in that, the described three-dimensional space Genius mouse revolution axis of a movable block one lattice, then the described default scrolling unit quantity of scrolling once, and default scrolling unit quantity is rotating axle one lattice, described form spool scrolling triplex row.
Described system is characterized in that, described second action is for clicking the wheel shaft of described three-dimensional space Genius mouse.
Described system is characterized in that, described the 3rd action is for continuing pressing the wheel shaft of described three-dimensional space Genius mouse.
Described system is characterized in that, described second action is the wheel shaft that clicks described three-dimensional space Genius mouse, and the 3rd action is for continuing pressing the wheel shaft of described three-dimensional space Genius mouse.
Described system, it is characterized in that, described three-dimensional space information is when pressing the wheel shaft of described three-dimensional space Genius mouse, the information that described concealing program can notify described driver not transmit the three-dimensional space Genius mouse is again given system, but send described Genius mouse information to described concealing program, simultaneously concealing program writes down the time that described Genius mouse wheel shaft is depressed, and concealing program writes down depressing T.T. of described Genius mouse wheel shaft, relatively depresses the length of T.T. and Preset Time:
Be not more than described Preset Time T.T. when depressing, carry out described spool automatic rolling function; And
When depressing T.T., carry out the quick rolling function of spool greater than described Preset Time.
Described system is characterized in that, described Genius mouse information comprises Genius mouse moving direction and the information that moves size.
Described system is characterized in that, described Preset Time is 0.2 second.
Described system is characterized in that, described spool is carried out the step of automatic rolling function, comprises the following steps:
(c1) concealing program is set up a timer;
(c2) be the once described form spool of scrolling every a set time;
(c3) adjust this spool scrolling direction according to Genius mouse moving direction and the spool direction control model that sets;
(c4) receive any key information of described three-dimensional space Genius mouse and three-dimensional space information again when described concealing program, then described driver sends Genius mouse information to system again; And
(c5) described concealing program stops spool automatic coiling state.
Described system is characterized in that, the mode that described step (C3) is adjusted spool scrolling direction more comprises:
When described Genius mouse moved, described form spool scrolling direction was the Genius mouse moving direction;
When Genius mouse was not mobile, then form spool scrolling direction was the direction that described spool scrolling direction setting pattern sets.
Described system is characterized in that, described spool is carried out quick scrolling, comprises the following steps:
(D1) described concealing program receives three-dimensional space Genius mouse information, transfers the Genius mouse displacement to described form spool scrolling amount, and described form spool scrolling amount is directly proportional with described Genius mouse amount of movement;
(D2) the quick described form spool of scrolling;
(D3) according to described Genius mouse moving direction, adjust described spool scrolling direction;
(D4) decontrol described wheel shaft, then driver is passed to system with Genius mouse information again;
(D5) described concealing program stops the quick scrolling of spool.
Described system is characterized in that, described step (D3) more comprises:
When described Genius mouse was not mobile, the form spool is scrolling not;
When described Genius mouse moved, the scrolling direction was consistent with described Genius mouse moving direction.
Described system is characterized in that, described concealing program is according to described form spool scrolling direction, and described vernier shape is become arrow, a downward arrow, an arrow, an arrow to the right left upwards.
Described system is characterized in that, described user's form setting pattern has 4 kinds of setting forms:
(E1) mode standard, the choice criteria mode button;
(E2) wisdom Genius mouse pattern is selected wisdom Genius mouse mode button;
(E3) automatic mode: mode standard button and wisdom Genius mouse mode button are all selected;
(E4) forbidden energy pattern: wisdom Genius mouse mode button and the neither selection of mode standard button.
Described system is characterized in that, described wisdom Genius mouse wheel shaft functional specification information has 4 kinds of forms:
(F1) wheel shaft of the described three-dimensional space of rotation Genius mouse: come the described form spool of scrolling according to a default scrolling unit quantity;
(F2) pin described keyboard-Ctrl rotates the wheel shaft of described three-dimensional space Genius mouse simultaneously: amplify and dwindle the form content;
(F3) click the wheel shaft of described three-dimensional space Genius mouse: carry out described spool automatic rolling function;
(F4) continue to pin the wheel shaft of described three-dimensional space Genius mouse: carry out the quick rolling function of spool.
Reach preferred embodiment in conjunction with the accompanying drawings, characteristics of the present invention be described in detail below:
The accompanying drawing simple declaration:
Fig. 1 is the synoptic diagram that flows to of three-dimensional space Genius mouse data.
Fig. 2 A is the process flow diagram of preferred embodiment concealing program of the present invention.
Fig. 2 B is A among Fig. 2 A, B, C, four kinds of flow chart of steps of D.
Fig. 2 C is E among Fig. 2 B, the process flow diagram of two kinds of steps of F.
Fig. 2 D is G among Fig. 2 C, the process flow diagram of two kinds of steps of H.
Fig. 3 is the hardware synoptic diagram of system of the present invention.
As shown in Figure 1, has a wheel shaft on the three-dimensional space Genius mouse 11, as user during to wheel shaft 12 action of three-dimensional space Genius mouse 11, three-dimensional space Genius mouse 11 can be sent the information and the Genius mouse displacement information that belong to wheel shaft and give driver 13, concealing program 14 is by reading the information that belongs to wheel shaft on the driver 13, wherein concealing program 14 is a concealed type form, if the information of wheel shaft is for depressing wheel shaft, then concealing program 14 can be called out driver 13, require driver 13 to stop to transmit the Genius mouse displacement information and give system, and the Genius mouse displacement information is passed to concealing program 14, wherein the Genius mouse displacement information comprises the mobile size and the moving direction of three-dimensional space Genius mouse.Concealing program 14 is set pattern according to user's form, is not to send wisdom Genius mouse wheel shaft functional specification information to give current window 15, and be exactly the scrolling of directly controlling current window 15.If user's form is set the forbidden energy pattern that is set at of pattern, then concealing program 14 is ignored the information that belongs to wheel shaft.When concealing program 14 is given current window 15 for sending wisdom Genius mouse wheel shaft functional specification information, if but current window 15 is the form of this redetermination information of interpretation, then current window 15 can be passed to sub-window under it to the wheel shaft functional specification information that receives, do the application function identical with the wisdom Genius mouse, as the content of amplifying or dwindling current window 15, roll scroll etc., if current window 15 can not interpretation intelligence Genius mouse wheel shaft functional specification information, then ignore this standardize information, current window 15 is failure to actuate.When concealing program 14 is when directly controlling the spool scrolling of current window 15, then concealing program 14 can be sent suitable form standard operation according to the axle information that is received, and announcement information is given current window 15, but this information of current window 15 interpretations, parallel concealing program 14 desired actions.
Microsoft is at the operation of wisdom Genius mouse wheel shaft, redetermination some functional specification information, after wheel shaft rotation or wheel shaft are depressed, just can realize some functions according to this information, and the three-dimensional space Genius mouse can be realized 4 kinds of standard operations wherein, and the 4 kind operation informations identical with the wisdom Genius mouse are as follows:
(A1) wheel shaft of rotation Genius mouse: roll scroll;
(A2) Ctrl of keypad rotates the wheel shaft of Genius mouse simultaneously: start amplification or dwindle form content function;
(A3) click the wheel shaft of Genius mouse: start the spool automatic rolling function;
(A4) continue pressing the wheel shaft of Genius mouse: start the quick rolling function of spool.
Please refer to Fig. 2 A, it is to illustrate this method preferred embodiment concealing program process flow diagram, after at first carrying out the axle information of step 21 reception three-dimensional space Genius mouse, enter step 22, detect the setting pattern of user's form, step 23 is set pattern according to user's form, selects A, B, which kind of pattern of C, D.Wherein user's form is set the setting means of pattern, be to utilize the control panel in the Genius mouse application settings program of three-dimensional space to finish, 2 selection buttons are arranged on the control panel, one is wisdom Genius mouse mode button, another is the mode standard button, utilize these two selection buttons to set out 4 kinds of patterns that user's form is set pattern, the user is before utilization three-dimensional space Genius mouse is controlled the form spool, will configure earlier to which kind of user's form and set pattern, 4 kinds of user's form setting patterns are as follows:
(B1) wisdom Genius mouse pattern: select wisdom Genius mouse mode button;
(B2) mode standard: choice criteria mode button;
(B3) automatic mode: select wisdom Genius mouse mode button and mode standard button; And
(B4) forbidden energy pattern: wisdom Genius mouse mode button and the neither selection of mode standard button.
In step 23, when concealing program when judging that this is set at wisdom Genius mouse pattern, execution in step A then, if be set at mode standard, execution in step B then, if be set at automatic mode, execution in step C then is if be set at forbidden energy pattern, then execution in step D.
Please refer to Fig. 2 B, it is to illustrate A among the 2A, B, and C, four kinds of flow chart of steps of D, if concealing program execution in step A, then step 24 according to the information that belongs to wheel shaft, is sent suitable wisdom Genius mouse wheel shaft functional specification information and is given current window.If concealing program execution in step B, step 25 goes to judge the information that belongs to wheel shaft earlier, if this information is for pressing wheel shaft, and execution in step F then.If concealing program execution in step C, step 26, but judge whether interpretation wisdom of current window Genius mouse information, if current window be can not interpretation wisdom Genius mouse information form, execution in step B then, but if current window is the form of interpretation wisdom Genius mouse information, then execution in step A.When execution in step D, step 27 is then abandoned the information of wheel shaft.
Please refer to Fig. 2 C, it is to illustrate E among Fig. 2 B, the process flow diagram of two kinds of steps of F, when concealing program execution in step E, promptly be that the three-dimensional space Genius mouse is carried out spool vague generalization rolling function, step 31, obtain slider position, step 32 judges that slider position is whether on the spool of current window, if slider position is on the spool of current window, then step 33 according to the wheel shaft amount of spin, is found out the scrolling number of times of a scrolling unit quantity of presetting, step 34 is come scrolling vernier spool just thereon according to the scrolling number of times.For example: wheel shaft one lattice of the moving three-dimensional space of revolution Genius mouse, this program can be controlled the once default scrolling unit quantity of spool scrolling of current window, and wherein Yu She scrolling unit quantity is the revolution axis of a movable block one lattice, form spool scrolling triplex row.If slider position is not on the spool of current window, this program of step 35 can be according to spool direction control model, find out the spool that meets most in the current window, its level of control (Handle), direction and state, step 36 is according to the wheel shaft amount of spin, find out the scrolling number of times, step 37 control current window spool scrolling.The setting button of spool direction control model wherein, also be on the control panel of three-dimensional space Genius mouse application settings program, on the control panel except there being user's form to set the model selection button, also have 3 setting buttons, these 3 setting buttons are 3 kinds of direction modes that are used for setting spool direction control model, and 3 setting buttons are as follows:
(C1) X-axis pattern: when being set at the X-axis pattern, horizontal direction spool left and right sides scrolling;
(C2) Y-axis pattern: when being set at the Y-axis pattern, the vertical direction spool is scrolling up and down; And
(C3) near the spool pattern of vernier: when being set at the spool pattern near vernier, the most approaching what which axle of vernier then is with regard to which axle of scrolling.
If during rotating axle, depress the letters shift (LTRS) key (shift key) of keyboard, then this form spool scrolling changes to another scrolling.
Please refer to Fig. 2 C, during execution in step F, concealing program enters step 38, can call out driver and stop to transmit Genius mouse information to system, step 39 requires driver that Genius mouse information is passed and comes, and wherein this Genius mouse information comprises the Genius mouse moving direction and moves size, step 40, time keeping when the Genius mouse wheel shaft is depressed gets off, step 41, the T.T. that record Genius mouse wheel shaft is depressed, step 42, judge and whether to depress T.T. greater than a Preset Time, if depress T.T. greater than a Preset Time, execution in step H then, otherwise execution in step G, and this Preset Time is 0.2 second.
Please refer to Fig. 2 D, it is to illustrate G among Fig. 2 C, the process flow diagram of two kinds of steps of H, when execution in step G, promptly be that the three-dimensional space Genius mouse is carried out the spool automatic rolling function, step 43, can set up a timer, step 44, will form spool of scrolling every a set time, each scrolling amount is a preset value, for example each scrolling or each scrolling 5 row page by page, step 45, according to Genius mouse moving direction and the spool direction control model that sets, adjust spool scrolling direction, when Genius mouse moves, the direction of spool scrolling is consistent with the Genius mouse moving direction, when Genius mouse was not mobile, the direction of spool scrolling was as the criterion with 3 kinds of spool direction control models that set, and step 46 is if receive that the more any button of relevant Genius mouse is pressed or wheel shaft rotates, the information of depressing, then call out driver and again Genius mouse information is passed to system, step 47 stops spool automatic coiling state.
Please refer to 2D figure, when execution in step H, promptly is that the three-dimensional space Genius mouse is carried out the quick rolling function of spool, and step 48 with the Genius mouse displacement that receives, is enlarged into spool scrolling amount with certain ratio, and the Genius mouse displacement is directly proportional with spool scrolling amount; Step 49 is according to the quick scrolling form of spool scrolling amount spool; Step 50, the direction of spool scrolling adjusts according to the direction that Genius mouse moves, and when Genius mouse moved, spool scrolling direction was consistent with the Genius mouse moving direction, and when Genius mouse was not mobile, spool is scrolling not also; Step 51 is then called out driver and again Genius mouse information is passed to system if detecting the Genius mouse wheel shaft has decontroled; Step 52 stops the quick scrolling state of spool.
When the three-dimensional space Genius mouse is carried out the quick rolling function of spool, concealing program is according to form spool scrolling direction, change the vernier shape, wherein the vernier shape can become arrow, a downward arrow, an arrow, an arrow to the right left upwards.
The above-mentioned information that belongs to wheel shaft of mentioning, promptly be the three-dimensional space information of this three-dimensional space Genius mouse, knowing the technology of the present invention person can know by inference easily, and three-dimensional space information is the three-dimensional space Genius mouse by the third service data that hand motion produced, this three-dimensional space information is not just can reach with wheel spindle device, also can utilize other to be assemblied in mechanical hook-up on this three-dimensional space Genius mouse, express three-dimensional space information, for example in the present embodiment, be to utilize wheel shaft to express three-dimensional space information, also can utilize a little ball or rocking bar to show this three-dimensional space information, have more than and be limited to wheel shaft and just can express three-dimensional space information, pass on this specific function that three-dimensional space Genius mouse will show by three-dimensional space information.
In the above-mentioned information that belongs to wheel shaft, rotating axle may be defined as first action, click wheel shaft and may be defined as second action, continue pressing wheel shaft to may be defined as the 3rd action, wherein first, second, the definition of the 3rd action is not what fix, in the present embodiment, show the specific function of Genius mouse by wheel shaft, then first, second, the definition of the 3rd action is different again, if first, second, the 3rd action is the definition at the wheel shaft action, its definition of order also can be with above-mentioned different, for example rotating axle may be defined as the 3rd action, may be defined as first action or the like and click wheel shaft, so first, second, the definition of the 3rd action is not what fix, just be used for expression when Genius mouse will show specific function, as the spool automatic rolling function, the quick rolling function of spool etc., must be by first, second, the 3rd action is finished, first, second, the 3rd action can have difference according to the program design difference in definition, but main purpose is explanation will carry out a certain specific function on the form time, on the Genius mouse corresponding action must be arranged.
As shown in Figure 3, the circuit block diagram of its expression this case system, screen 100 in the drawings, and central control unit 200 and indicative control unit 300 connect successively.Screen 100 in this case system is in order to the display window image, and central control unit 200 is in order to carry out all program circuits of native system, and indicative control unit 200 then shows in order to the form on the control screen 100.
Effect of the present invention is as follows:
The control system of computer viewing window of the present invention can make the three-dimensional space Genius mouse use on all forms, overcome the shortcoming that wisdom Genius mouse in the past can only be used on the part windowing software, makes vernier control convenient again flexibly.
Though the present invention discloses as above with a preferred embodiment, it is not in order to limiting the present invention, anyly has the knack of this operator, does a little change and retouching not breaking away under the spiritual design situation of the present invention, should belong in protection scope of the present invention yet.