Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of mouse switching method and device, for realizing not needing
Software is installed on controlled computer can also switch over control by a set of mouse to multiple computers.Technical solution is as follows:
The present invention provides a kind of mouse switching method, is suitable for switching system, and the switching system includes display box, acquisition
Device and interchanger, each display box are correspondingly connected with a collector, which comprises
Coordinate of the mouse in current display box is obtained in real time;
Determine that the relative coordinate when mouse moves in the current display box each time, the relative coordinate are institute
State the difference of mouse previous coordinate and changing coordinates;
Judge whether the transverse and longitudinal coordinate in the relative coordinate is greater than threshold value or the opposite seat greater than the number of critical value
Whether the number for the negative that the transverse and longitudinal coordinate in mark is less than critical value is greater than the threshold value, obtains judging result;
The mouse is switched into target display box from current display box based on judging result, the target display box is corresponding
Left side screen, right side screen, downside screen or upside screen controlled PC;
Determine mouse message of the mouse in the target display box, and by the mouse message be sent to it is described
The corresponding collector of target display box makes the collector that the mouse message is sent to controlled PC, and the mouse message is extremely
It less include the changing coordinates of mouse in the ID value and the target display box of the target display box.
Preferably, described to be shown if so, the coordinate of the mouse is switched to target from current display box based on judging result
Show box, comprising:
If the judging result is that the abscissa in the relative coordinate is greater than the number of the critical value greater than the threshold
The mouse is switched to the target display box for the controlled PC that corresponding right side is shielded by value from the current display box;
If the judging result is that the number for the negative that the abscissa in the relative coordinate is less than the critical value is greater than
The mouse is switched to the target display box for the controlled PC that corresponding left side is shielded by the threshold value from the current display box;
If the judging result is that the ordinate in the relative coordinate is greater than the number of the critical value greater than the threshold
The mouse is switched to the target display box for the controlled PC that corresponding downside is shielded by value from the current display box;
If the judging result is that the number for the negative that the ordinate in the relative coordinate is less than the critical value is greater than
The mouse is switched to the target display box for the controlled PC that corresponding upside is shielded by the threshold value from the current display box.
Preferably, the method also includes:
If the judging result is less than the critical value for the abscissa in the relative coordinate at least once, alternatively,
Abscissa in the relative coordinate is greater than the negative of the critical value at least once, alternatively, vertical in the relative coordinate
Coordinate is less than the critical value at least once, alternatively, the ordinate in the relative coordinate is greater than described face at least once
The negative of dividing value controls the mouse without switching display box.
Preferably, mouse message of the determination mouse in the target display box, and by the mouse message
It is sent to collector corresponding with the target display box, makes the collector that the mouse message is sent to controlled PC, is wrapped
It includes:
Determine mouse message of the mouse in the target display box, and by the mouse message be sent to it is described
The corresponding collector of target display box;
Judge whether the ID value of the target display box in the mouse message matches with the ID value of the collector;
If so, making the collector that the mouse message is sent to controlled PC.
Preferably, the method also includes: the switching system by the interchanger make the target display box with
The collector interacts.
The present invention also provides a kind of mouse switching devices, are suitable for switching system, and the switching system includes display box, adopts
Storage and interchanger, each display box are correspondingly connected with a collector, and described device includes:
Module is obtained, for obtaining coordinate of the mouse in current display box in real time;
Determining module, relative coordinate when for determining that the mouse moves in the current display box each time, institute
State the difference that relative coordinate is the mouse previous coordinate and changing coordinates;
Judgment module, for judging whether the transverse and longitudinal coordinate in the relative coordinate is greater than threshold greater than the number of critical value
Whether the number for the negative that the transverse and longitudinal coordinate in value or the relative coordinate is less than critical value is greater than the threshold value, is judged
As a result;
Switching module, it is described for the mouse to be switched to target display box from current display box based on judging result
The controlled PC of the corresponding left side screen of target display box, right side screen, downside screen or upside screen;
Sending module, for determining the mouse message in the target display box, and by the mouse message be sent to
The corresponding collector of the target display box, makes the collector that the mouse message is sent to controlled PC.
Preferably, the switching module, comprising:
First switch unit, if being greater than the critical value for the judging result for the abscissa in the relative coordinate
Number be greater than the threshold value, the mouse is shown from the target that the current display box switches to the controlled PC that corresponding right side is shielded
Show box;
Second switch unit, if being less than the critical value for the judging result for the abscissa in the relative coordinate
The number of negative be greater than the threshold value, the mouse is switched to controlled PC's that corresponding left side is shielded from the current display box
Target display box;
Third switch unit, if being greater than the critical value for the judging result for the ordinate in the relative coordinate
Number be greater than the threshold value, the mouse is shown from the target that the current display box switches to the controlled PC that corresponding downside is shielded
Show box;
4th switch unit, if being less than the critical value for the judging result for the ordinate in the relative coordinate
The number of negative be greater than the threshold value, the mouse is switched to controlled PC's that corresponding upside is shielded from the current display box
Target display box.
Preferably, the switching module, further includes:
Control unit, if it is described to be that abscissa in the relative coordinate is less than at least once for the judging result
Critical value, alternatively, the abscissa in the relative coordinate is greater than the negative of the critical value at least once, alternatively, the phase
The critical value is less than at least once to the ordinate in coordinate, alternatively, the ordinate in the relative coordinate at least one
The secondary negative greater than the critical value controls the mouse without switching display box.
Preferably, the switching module, further includes:
Control unit, if it is described to be that abscissa in the relative coordinate is less than at least once for the judging result
Critical value, alternatively, the abscissa in the relative coordinate is greater than the negative of the critical value at least once, alternatively, the phase
The critical value is less than at least once to the ordinate in coordinate, alternatively, the ordinate in the relative coordinate at least one
The secondary negative greater than the critical value controls the mouse without switching display box.
Preferably, described device further include: interactive module is made for the switching system by the interchanger described
Target display box is interacted with the collector.
Compared with prior art, above-mentioned technical proposal provided by the invention has the advantages that
Coordinate of the mouse in current display box is obtained in real time, is determined when mouse moves in current display box each time
Relative coordinate, judges whether the transverse and longitudinal coordinate in relative coordinate is greater than in threshold value or relative coordinate greater than the number of critical value
Whether the number of negative that transverse and longitudinal coordinate is less than critical value is greater than threshold value, obtains judging result, based on judging result by mouse from
Current display box switches to target display box, and target display box corresponds to the controlled of left side screen, right side screen, downside screen or upside screen
PC determines mouse message of the mouse in target display box, and mouse message is sent to acquisition corresponding with target display box
Device makes collector that mouse message is sent to controlled PC.It is implemented without the installation software on controlled PC and passes through a set of mouse
Switching control can be carried out on multiple display boxes, so that user is not limited to one display box of control, by controlling multiple displays
Box obtains more information.
Specific embodiment
The present invention provides a kind of mouse switching method and device, it is implemented without the installation software on controlled computer and passes through
A set of mouse can also carry out switching control on multiple display boxes, so that user is not limited to one display box of control, pass through control
It makes multiple display boxes and obtains more information.
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 description, 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, belongs to the scope of the present invention.
The purpose of the present invention is being based on a set of KVM (Keyboard Video Mouse, keyboard, display, mouse) equipment,
Installation software is not needed on controlled computer, can realize free switching display box by a set of mouse.As shown in Figure 1, for this
A kind of configuration diagram for switching system that inventive embodiments provide.
The switching system include: id be 1 collector, id be 2 collector, id be 3 collector, id be 4 display
Display box that display box that box, id are 5, id are 6, display screen 1, display screen 2, display screen 3, controlled PC1 (Personal
Computer, personal computer or PC) and controlled PC2.
Wherein, display screen 1 and the corresponding controlled computer PC1 of display screen 2, the corresponding controlled computer PC2 of display screen 3.
In Fig. 1, the display box that id is 4 corresponds to the collector that id is 1, and the display box that id is 5 corresponds to the acquisition that id is 2
Device, the display box that id is 6 correspond to the collector that id is 3.The collector that the collector and id that id is 1 are 2 corresponding controlled PC1, id
For the 3 corresponding controlled PC2 of collector.
By determining mouse message of the mouse in display box, which is sent to and display box by interchanger
Corresponding collector, so that mouse information is sent to controlled PC by collector, to control controlled PC.
Based on switching system disclosed in the embodiments of the present invention it is found that not needing the installation software on controlled PC passes through one
Set mouse can also carry out switching control on multiple display boxes, so that user is not limited to one display box of control, pass through control
Multiple display boxes obtain more information.
The switching system in conjunction with disclosed in the embodiments of the present invention, as shown in Fig. 2, being one kind provided in an embodiment of the present invention
The flow chart of mouse switching method, method includes the following steps:
S201: coordinate of the mouse in current display box is obtained in real time.
During executing S201, first have to obtain coordinate of the mouse in current display box in real time, i.e., in display box
In, some position of the coordinate of mouse in current display box, and for this position, the coordinate for exactly needing to obtain in real time.
Such as: in current display box, mouse position coordinate is (2,3), which is the mouse for needing to obtain in real time
The coordinate being marked in current display.
It should be noted that mouse is in current display box, there are a coordinate systems corresponding with the current display box, only
It wants mouse in the display box, coordinate of the mouse in current display box can be obtained.
S202: relative coordinate when mouse moves in current display box each time is determined.
In step S202, relative coordinate is the difference of mouse previous coordinate and changing coordinates.In the process for executing S202
In, when mouse moves each time, require to determine relative coordinate of the mouse in current display box, i.e., mouse movement is how much
Secondary, the relative coordinate number of acquisition is corresponding with the mobile number of mouse.
Here by mouse in current display box it is mobile twice for, such as: mouse is mobile for the first time, obtains and the mouse
Corresponding first relative coordinate mobile second of mouse, obtains second relative coordinate corresponding with the mouse.
Specifically, determining relative coordinate when mouse moves in current display box each time are as follows: obtain mouse in real time and exist
Coordinate in current display box, the i.e. previous coordinate of mouse obtain mouse again and exist when mouse moves in current display box
Coordinate in current display box, i.e. changing coordinates, then subtracting previous coordinate using changing coordinates can be obtained relative coordinate.
Such as: in current display box, the coordinate of mouse is (2,3), coordinate of the mouse when current display box is mobile be (3,
5), the coordinate using mouse when current display box is mobile is that (3,5) subtract coordinate (2,3), and the coordinate (1,2) of acquisition is phase
To coordinate.
It should be noted that the abscissa in the relative coordinate obtained, subtracts previous seat for the abscissa in changing coordinates
Abscissa in mark, the ordinate in the relative coordinate of acquisition subtract vertical in previous coordinate for the ordinate in changing coordinates
Coordinate.
S203: judge whether the transverse and longitudinal coordinate in relative coordinate is greater than threshold value or relative coordinate greater than the number of critical value
In transverse and longitudinal coordinate be less than the number of negative of critical value and whether be greater than threshold value, obtain judging result.
In step S203, judge whether the transverse and longitudinal coordinate in relative coordinate is greater than threshold value greater than the number of critical value, is
To in relative coordinate abscissa and ordinate respectively with critical value carry out size compared with, record relative coordinate in abscissa
It is respectively greater than the number of critical value with ordinate, then judges that the abscissa and ordinate in relative coordinate are respectively greater than critical value
Number whether be greater than threshold value.
Similarly, judge whether the transverse and longitudinal coordinate in relative coordinate is greater than threshold value less than the number of the negative of critical value, be pair
Abscissa and ordinate in relative coordinate compared with critical value opposite number carries out size, record the cross in relative coordinate respectively
Coordinate and ordinate are respectively greater than the number of critical value opposite number, then judge abscissa and ordinate difference in relative coordinate
Whether the number greater than the negative of critical value is greater than threshold value.
During executing S203, determine that the relative coordinate of mouse requires to judge the transverse and longitudinal of the relative coordinate each time
Whether the transverse and longitudinal coordinate whether coordinate is greater than critical value or the relative coordinate is less than the negative of critical value, and then judgement is determining
Whether the number that the transverse and longitudinal coordinate of all relative coordinates is greater than critical value is greater than the transverse and longitudinal of the relative coordinate of threshold value or all determinations
Whether the number that coordinate is less than the negative of critical value is greater than threshold value.
It should be noted that critical value and threshold value among the above, can be set according to the actual situation, no longer carry out here
It illustrates.
S204: mouse is switched to from current display box by target display box based on judging result.
During executing S204, if the number that the transverse and longitudinal coordinate of relative coordinate is greater than critical value is greater than threshold value or phase
The number for being less than the negative of critical value to the transverse and longitudinal coordinate of coordinate is greater than threshold value, then is shown mouse from current based on relative coordinate
Box switches to target display box.Wherein, current display box is the display screen where mouse, and target display box is another display
Screen, if the number that the transverse and longitudinal coordinate for meeting above-mentioned relative coordinate is greater than critical value is greater than threshold value or the transverse and longitudinal of relative coordinate is sat
The number that mark is less than the negative of critical value is greater than threshold value, and mouse is switched on another display screen from current display screen.
It should be noted that specifically, how from current display box to be switched to another display box, such as: it is current aobvious
Show box marked as 1, it is that mouse is switched to mark from the display box marked as 1 that other two display box label, which is respectively 2 and 3,
Number be 2 display box, be also to switch to the display box marked as 3, can be set according to the actual situation.
S205: it determines mouse message of the mouse in target display box, and mouse message is sent to and target display box
Corresponding collector makes collector that mouse message is sent to controlled PC.
In step S205, mouse message is to work as including at least mouse in the ID value and target display box of target display box
Preceding coordinate.It should be noted that each display box has ID value, and the ID value of each display box is different.Executing S205
During, determine mouse message of the mouse in target display box, and the mouse message is sent to and target display box pair
Mouse message is sent to controlled computer by the collector by the collector answered.
It should be noted that each collector has ID value, and each display box is correspondingly connected with a collector, i.e., often
All there is the collector for becoming corresponding relationship therewith in one display box.
Based on mouse switching method disclosed in the embodiments of the present invention it is found that determining that mouse is in current display box each time
Relative coordinate when mobile is based on the relative coordinate, judges whether mouse from current display box is switched to target display box, if mouse
Mark from current display box is switched to target display box, determines mouse message of the mouse in target display box, and by mouse message
It is sent to collector corresponding with target display box, makes collector that mouse message is sent to controlled PC.It is implemented without in quilt
Installation software can also carry out switching control by a set of mouse on multiple display boxes on control PC, so that user is not limited to control
One display box obtains more information by controlling multiple display boxes.
Mouse is switched to from current display box based on judging result based on what is be related in embodiments of the present invention Fig. 2
The specific implementation process of target display box, as shown in figure 3, specifically including that
S301: judge whether the transverse and longitudinal coordinate in relative coordinate is greater than threshold value or relative coordinate greater than the number of critical value
In transverse and longitudinal coordinate be less than the number of negative of critical value and whether be greater than threshold value, if judging result is in determining relative coordinate
The number that abscissa is greater than critical value is greater than threshold value, then executes S302, if judging result is less than for the abscissa in relative coordinate
The number of the negative of critical value is greater than threshold value, then executes S303, if judging result is big for the ordinate in determining relative coordinate
It is greater than threshold value in the number of critical value, then executes S304, if the ordinate in relative coordinate is less than the number of the negative of critical value
Greater than threshold value, then S305 is executed.
S302: mouse is switched to the target display box for the controlled PC that corresponding right side is shielded from current display box.
During executing S302, however, it is determined that relative coordinate in abscissa be greater than critical value number be greater than threshold
Value, then switch to the right target display box from current display box for mouse.
Such as: the number of abscissa in determining relative coordinate greater than critical value P is greater than threshold value n, then mouse is from current
Display box switches to the right a display box nearest with current display box.I.e. mouse is turned right quick sliding in current display box,
And meet above-mentioned condition: number of the abscissa greater than critical value P in determining relative coordinate is greater than threshold value n, then mouse switches
The right display box to current display box is controlled.
It should be noted that including but not limited to mouse switched to the right from current display box it is nearest with current display box
One display box is directly switch to the display box close with current display box second alternatively, also can skip nearest display box, tool
Body, how to switch to be set according to the actual situation.
Such as: current display box is marked as 1, and nearest display box is marked as 2 to the right, to the right the second close display box label
It is 3, the display box marked as 1 can be switched to the display box marked as 2, also can skip the display box marked as 2, be directly switch to
Display box marked as 3.
S303: mouse is switched to the target display box for the controlled PC that corresponding left side is shielded from current display box.
During executing S303, if the number that the abscissa in relative coordinate is less than the negative of critical value is greater than threshold
Value, then switch to target display box from current display box for mouse to the left.
Such as: the number that the abscissa in determining relative coordinate is less than the negative-P of critical value is greater than threshold value n, then mouse
Switch to a display box nearest with current display box to the left from current display box.I.e. mouse is turned left quickly in current display box
Sliding, and meet above-mentioned condition: the number that the abscissa in determining relative coordinate is less than the negative-P of critical value is greater than threshold value
N, the then left side display box that mouse is switched to current display box are controlled.
S304: mouse is switched to the target display box for the controlled PC that corresponding downside is shielded from current display box.
During executing S304, however, it is determined that relative coordinate in ordinate be greater than critical value number be greater than threshold
Value, then switch to downwards target display box from current display box for mouse.
Such as: the number of ordinate in determining relative coordinate greater than critical value P is greater than threshold value n, then mouse is from current
Display box switches to downwards a display box nearest with current display box.That is mouse in current display box quick sliding down,
And meet above-mentioned condition: number of the ordinate greater than critical value P in determining relative coordinate is greater than threshold value n, then mouse switches
Following display box to current display box is controlled.
S305: mouse is switched to the target display box of the controlled PC shielded to corresponding upside from current display box.
During executing S305, if the number that the ordinate in relative coordinate is less than the negative of critical value is greater than threshold
Value, then switch up mouse to target display box from current display box.
Such as: the number that the ordinate in determining relative coordinate is less than the negative-P of critical value is greater than threshold value n, then mouse
It switches up from current display box to a display box nearest with current display box.I.e. mouse is up quick in current display box
Sliding, and meet above-mentioned condition: number of the ordinate less than critical value opposite number-P in determining relative coordinate is greater than threshold value
N, then the top display box that mouse is switched to current display box are controlled.
The mouse switching method according to disclosed in the embodiments of the present invention is it is found that if meet the transverse and longitudinal coordinate in relative coordinate
Number greater than critical value is greater than the number of the negative that threshold value or relative coordinate are less than critical value and is greater than threshold value, and mouse can be from working as
Preceding display box switches to target display box to different directions, realizes mouse between display box and display box toward not Tongfang
To the flexibility of switching.
As shown in figure 4, the flow diagram for control mouse without switching display box, specifically includes that
S401: judge whether relative coordinate is greater than threshold value greater than the number of critical value or relative coordinate is less than critical value
Whether the number of negative is greater than threshold value.The abscissa in determining relative coordinate is less than critical value at least once if it exists, then
S402 is executed to execute S402 if the abscissa in relative coordinate is greater than the negative of critical value at least once, determine if it exists
Relative coordinate in ordinate be less than critical value at least once, then S402 is executed, if the ordinate in relative coordinate is at least
Once it is greater than the negative of critical value, then executes S402.
S402: control mouse is without switching display box.
The mouse switching method according to disclosed in the embodiments of the present invention is it is found that if the transverse and longitudinal being unsatisfactory in relative coordinate is sat
The number that the number that mark is greater than critical value is greater than the negative that threshold value or relative coordinate are less than critical value is greater than threshold value, controls mouse
Without switching display box, mouse accidentally switching target display box is avoided.
Based on mouse switching method disclosed in embodiments of the present invention Fig. 2, S205 shown in Figure 2: mouse is determined
Mouse message in target display box, and mouse message is sent to collector corresponding with target display box, make collector
Mouse message is sent to the specific implementation process of controlled PC, as shown in figure 5, specifically including that
S501: it determines mouse message of the mouse in target display box, and mouse message is sent to and target display box
Corresponding collector.
During executing S501, mouse message of the mouse in target display box is determined, and mouse message is sent
Give the corresponding collector of target display box.
S502: whether the ID value for judging the target display box in mouse message matches with the ID value of collector.
During executing S502, judge the target display box in mouse message ID value and collector ID value whether
Matching.
S503: if so, making collector that mouse message is sent to controlled PC.
During executing S503, if the ID value of the target display box in mouse message and the success of the ID value of collector
Match, then makes collector that mouse message is sent to controlled PC.
The mouse switching method according to disclosed in the embodiments of the present invention can make it is found that the mouse message that controlled PC is obtained
User understand mouse which target display box be switched to.
Based on mouse switching method disclosed in the embodiments of the present invention, the mouse switching method further include:
Switching system interacts target display box with collector by interchanger.
The mouse switching method according to disclosed in the embodiments of the present invention is it is found that enable target display box by interchanger
It is interacted with collector, mouse message is sent to collector corresponding with target display box by interchanger, to be controlled PC
The mouse message of acquisition provides guarantee.
Based on a kind of mouse switching method disclosed in the embodiments of the present invention, correspondence of the embodiment of the present invention discloses one kind
Mouse switching device, structure obtain module 60, determining module 61, judgment module 62, switching mould as shown in fig. 6, specifically including that
Block 63 and sending module 64.
Module 60 is obtained, for obtaining coordinate of the mouse in current display box in real time.
Determining module 61, relative coordinate when for determining that mouse moves in current display box each time, relative coordinate
For the difference of mouse previous coordinate and changing coordinates.
Judgment module 62, for judging whether the transverse and longitudinal coordinate in relative coordinate is greater than threshold value greater than the number of critical value,
Or whether the transverse and longitudinal coordinate in relative coordinate is greater than threshold value less than the number of the negative of critical value, obtains judging result.
Switching module 63, for mouse to be switched to target display box from current display box based on judging result.
Sending module 64, for determining mouse message of the mouse in target display box, and by mouse message be sent to
The corresponding collector of target display box, makes collector that mouse message is sent to controlled PC.
Based on mouse switching device disclosed in the embodiments of the present invention it is found that determining that mouse is in current display box each time
Relative coordinate when mobile is based on the relative coordinate, judges whether mouse from current display box is switched to target display box, if mouse
Mark from current display box is switched to target display box, determines mouse message of the mouse in target display box, and by mouse message
It is sent to collector corresponding with target display box, makes collector that mouse message is sent to controlled computer.It is implemented without
Installation software can also carry out switching control by a set of mouse on multiple display boxes on controlled PC, so that user is not limited to control
A display box is made, obtains more information by controlling multiple display boxes.
A kind of alternative construction of switching module 63 in apparatus of the present invention embodiment are as follows: switching module 63 includes the first switching
Unit, the second switch unit, third switch unit and the 4th switch unit.
First switch unit, if the number for judging result to be greater than critical value for the abscissa in relative coordinate is greater than threshold
Mouse is switched to the target display box for the controlled PC that corresponding right side is shielded by value from current display box.
Second switch unit, if being less than the number of the negative of critical value for the abscissa in relative coordinate for judging result
Greater than threshold value, mouse is switched to the target display box for the controlled PC that corresponding left side is shielded from current display box.
Third switch unit, if the number for judging result to be greater than critical value for the ordinate in relative coordinate is greater than threshold
Mouse is switched to the target display box for the controlled PC that corresponding downside is shielded by value from current display box.
4th switch unit, if being less than the number of the negative of critical value for the ordinate in relative coordinate for judging result
Greater than threshold value, mouse is switched to the target display box for the controlled PC that corresponding upside is shielded from current display box.
The mouse switching device according to disclosed in the embodiments of the present invention is it is found that if meet the transverse and longitudinal coordinate in relative coordinate
Number greater than critical value is greater than number of the transverse and longitudinal coordinate in threshold value or relative coordinate less than the negative of critical value greater than threshold
Value, mouse can switch to target display box from current display box to different directions, realize mouse in display box and display box
Between toward different directions switching flexibility.
Another alternative construction of switching module 63 in apparatus of the present invention embodiment are as follows: switching module 63 includes that control is single
Member.
Control unit, if being less than critical value at least once for judging result for the abscissa in relative coordinate, alternatively,
Abscissa in relative coordinate is greater than the negative of critical value at least once, alternatively, the ordinate at least one in relative coordinate
It is secondary to be less than critical value, alternatively, the ordinate in relative coordinate is greater than the negative of critical value at least once, control mouse without
Switch display box.
The mouse switching device according to disclosed in the embodiments of the present invention is it is found that if the transverse and longitudinal being unsatisfactory in relative coordinate is sat
The number that the number that mark is greater than critical value is greater than the negative that transverse and longitudinal coordinate in threshold value or relative coordinate is less than critical value is greater than threshold
Value, control mouse avoid mouse accidentally switching display box without switching target display box.
A kind of alternative construction of sending module 64 in apparatus of the present invention embodiment are as follows: sending module 64 includes the first transmission
Unit, judging unit and the second transmission unit.
First transmission unit for determining mouse message of the mouse in target display box, and mouse message is sent to
Collector corresponding with target display box.
Judging unit, for judging whether the ID value of the target display box in mouse message matches with the ID value of collector.
Second transmission unit, for if so, making collector that mouse message is sent to controlled PC.
The mouse switching device according to disclosed in the embodiments of the present invention is it is found that the mouse message that controlled computer obtains, energy
The user made understands which display box mouse has been switched to.
Based on mouse switching device disclosed in aforementioned present invention Installation practice, the mouse switching device further include: interaction
Module.
Interactive module interacts target display box with collector by interchanger for switching system.
The mouse switching device according to disclosed in the embodiments of the present invention is it is found that enable target display box by interchanger
It is interacted with collector, mouse message is sent to collector corresponding with target display box by interchanger, to be controlled PC
The mouse message of acquisition provides guarantee.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng
See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
The foregoing description of the disclosed embodiments can be realized those skilled in the art or using the present invention.To this
A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can
Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited
It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest
Range.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.