CN104571583A - Method and device for switching KVM (Keyboard Video Mouse) - Google Patents
Method and device for switching KVM (Keyboard Video Mouse) Download PDFInfo
- Publication number
- CN104571583A CN104571583A CN201410835600.XA CN201410835600A CN104571583A CN 104571583 A CN104571583 A CN 104571583A CN 201410835600 A CN201410835600 A CN 201410835600A CN 104571583 A CN104571583 A CN 104571583A
- Authority
- CN
- China
- Prior art keywords
- ops
- keyboard
- mouse
- duty
- dimension
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/038—Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
- G06F3/0383—Signal control means within the pointing device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method and a device for switching KVM (Keyboard Video Mouse). The method comprises the following steps: the layout order of an OPS (Operator Station) and correlation relationship among OPS identifications in an OWP (Operator Work Place) are pre-saved in the operation station OPS through which the mouse and the keyboard are connected; the working states of each OPS in the OWP is obtained from the OPS through which the mouse and the keyboard are connected; the OPS through which the mouse and the keyboard are connected judges that some dimensionality meets the condition of switching to the next or former OPS; according to the correlation relationships and the working states of each OPS in the OWP, the OPS in which the mouse and the keyboard exist at present is judged as the OPS of which next or former working state is normal at the dimensionality, and the OPS of which next or former working state is normal is not the OPS self; the mouse and the keyboard are switched to the OPS of which next or the former working state is normal. By the scheme of the invention, switching flexibility and reliability are improved.
Description
Technical field
The present invention relates to computer realm, espespecially one realizes the method and apparatus that keyboard display mouse (KVM, KeyboardVideo Mouse) switches.
Background technology
In monitor and control of nuclear power station system, multiple stage active station (OPS, Operator Station) forms a set of operation element space (OWP, Operator Work Place), and every platform OPS has independently display and main frame.Monitor and control of nuclear power station system requirements uses a set of mouse and Keyboard Control multiple stage OPS.
The method that the existing KVM of realization switches roughly comprises:
Adopt KVM switcher to connect multiple host, be connected in KVM switcher by mouse and keyboard, the screen virtual of multiple host become a giant-screen, the screen of every platform is divided into 1280 × 1024 points by resolution, the position of mouse will be moved on these aspects; KVM switcher resolves position and the movement of mouse, and ((n × 1280+x), y) gives each main frame by RS-422 bus broadcast the position of mouse on virtual coordinates; The value of n that judges KVM software on each main frame decides which platform main frame of mouse action; As mouse action First main frame during n=0, mouse action second main frame etc. during n=1; Keyboard along with mouse, with mouse action same main frame; Other main frames shielding mouse and keyboard operation, and hide cursor of mouse, realizes only having among multiple host a main frame can by mouse and keyboard operation, and the numerical value change that KVM switcher follows n automatically switches.
Existing realize KVM switch method in, because KVM switcher adopts hardware implementing, when KVM switcher breaks down, KVM switcher cannot carry out work, and there is inconvenience in the wiring of KVM switcher, the OPS quantity that KVM switcher can be supported is also restricted, therefore, dirigibility is poor, and extendability is poor.
Summary of the invention
In order to solve the problem, the present invention proposes a kind of method and apparatus realizing KVM and switch, the dirigibility of switching can be improved.
In order to achieve the above object, the present invention proposes a kind of method realizing keyboard display mouse KVM and switch, comprising:
Connect the corresponding relation between layout order and OPS mark preserving OPS in OWP in the active station OPS of mouse and keyboard in advance;
The OPS connecting mouse and keyboard obtains the duty of each OPS in OWP;
The OPS connecting mouse and keyboard judges that a certain dimension meets the condition being switched to next or a upper OPS, and according to the duty of OPS each in corresponding relation and OWP judge the OPS at mouse and the current place of keyboard this dimension exist next or on a duty be normal OPS, and judge that next or a upper duty be normal OPS are not self, be normal OPS by mouse and keyboard shift to next or a upper duty of this dimension.
Preferably, when the OPS of described connection mouse and keyboard receives the initiation message from other OPS, the method also comprises:
The OPS of described connection mouse and keyboard sends the state of keyboard indicator to the OPS sending initiation message.
Preferably, when the OPS of described connection mouse and keyboard judges that the state of keyboard indicator changes, the method also comprises:
The OPS of described connection mouse and keyboard sends the state of the keyboard indicator after change to other OPS of described OWP.
Preferably, the OPS of described connection mouse and keyboard judges that a certain dimension meets the condition being switched to next OPS and comprises:
The OPS of described connection mouse and keyboard judges that mouse moves the first border, limit exceeding self screen.
Preferably, the layout of described OPS is two dimension, and the OPS of described connection mouse and keyboard judges that wherein a dimension meets the condition being switched to next OPS and comprises:
The OPS of described connection mouse and keyboard judges that described mouse moves the first border, limit exceeding self screen;
The OPS of described connection mouse and keyboard judges that another dimension meets the condition being switched to next OPS and comprises:
Described connection mouse and the OPS of keyboard judge that mouse moves the Second Edge border vertical with described first border, limit exceeding self screen.
Preferably, the described duty according to OPS each in corresponding relation and OWP judges that the OPS at mouse and the current place of keyboard exists next duty in a certain dimension is that normal OPS comprises:
Search layout order corresponding to the OPS at mouse and the current place of keyboard according to described corresponding relation, the duty of one or more OPS judged under described a certain dimension in the OPS of layout order after the layout order found according to the duty of OPS each in described OWP is normal.
Preferably, described is that normal OPS comprises by mouse and keyboard shift to next duty of this dimension:
Shield the screen of self.
Preferably, when the OPS of described connection mouse and keyboard intercepts mouse instructions and/or keyboard instruction, the method also comprises:
Next duty described mouse instructions and/or keyboard instruction being sent to this dimension described is normal OPS.
Preferably, also comprise:
Next duty of this dimension described is after normal OPS receives described mouse instructions and/or keyboard instruction, performs corresponding operation according to the mouse instructions received and/or keyboard instruction.
Preferably, when next duty judging this dimension described be normal OPS is self, the method also comprises:
Intercept and capture described mouse instructions and/or keyboard instruction, perform corresponding operation according to described mouse instructions and/or keyboard instruction.
Preferably, the OPS of described connection mouse and keyboard judges that a certain dimension meets the condition being switched to an OPS and comprises:
Described connection mouse and the OPS of keyboard judge that mouse moves the three limit border parallel with the first border, limit exceeding self screen.
Preferably, the layout of described OPS is two dimension, and the OPS of described connection mouse and keyboard judges that wherein a dimension meets the condition being switched to an OPS and comprises:
Described connection mouse and the OPS of keyboard judge that described mouse moves the three limit border parallel with described first border, limit exceeding self screen; The OPS of described connection mouse and keyboard judges that another dimension meets the condition being switched to an OPS and comprises:
Described connection mouse and the OPS of keyboard judge that mouse moves the four limit border parallel with Second Edge border exceeding self screen.
Preferably, the described duty according to OPS each in corresponding relation and OWP judges that the OPS at mouse and the current place of keyboard duty on a certain dimension exists is that normal OPS comprises:
Search layout order corresponding to the OPS at mouse and the current place of keyboard according to described corresponding relation, the duty of one or more OPS judged under described a certain dimension in the OPS of layout order before the layout order found according to the duty of OPS each in described OWP is normal.
Preferably, when the OPS of described connection mouse and keyboard judges to meet the condition that described a certain dimension is switched to next OPS, and judge that the OPS at described mouse and the current place of keyboard is when to there is not next duty be normal OPS to described a certain dimension according to the duty of each OPS in described corresponding relation and described OWP, the method also comprises:
The OPS of described connection mouse and keyboard does not carry out the switching of mouse and keyboard.
Preferably, the described duty according to OPS each in corresponding relation and OWP judges that the OPS at mouse and the current place of keyboard does not exist next duty in a certain dimension is that normal OPS comprises:
Search layout order corresponding to the OPS at described mouse and the current place of keyboard according to described corresponding relation, judge that the duty of the OPS of layout order after the layout order found is abnormal under described a certain dimension according to the duty of OPS each in described OWP.
Preferably, when the OPS of described connection mouse and keyboard judges to meet the condition that a certain dimension is switched to a upper OPS, and when judging the OPS at described mouse and the current place of keyboard according to the duty of each OPS in described corresponding relation and described OWP a duty is normal OPS on described a certain dimension does not exist, the method also comprises:
The OPS of described connection mouse and keyboard does not carry out the switching of mouse and keyboard.
Preferably, the described duty according to OPS each in corresponding relation and OWP judges that the OPS at mouse and the current place of keyboard duty on a certain dimension does not exist is that normal OPS comprises:
Search layout order corresponding to the OPS at described mouse and the current place of keyboard according to described corresponding relation, judge that the duty of the OPS of layout order before the layout order found is abnormal under described a certain dimension according to the duty of OPS each in described OWP.
The invention allows for a kind of device realizing keyboard display mouse KVM and switch, at least comprise:
Memory module, for preserving the corresponding relation between the layout order of OPS in OWP and OPS mark in advance;
Acquisition module, for obtaining the duty of each OPS in OWP;
Handover module, for judging that a certain dimension meets the condition being switched to next or a upper OPS, and according to the duty of OPS each in corresponding relation and OWP judge the OPS at mouse and the current place of keyboard this dimension exist next or on a duty be normal OPS, and judge that next or a upper duty be normal OPS are not self, be normal OPS by mouse and keyboard shift to next or a upper duty of this dimension.
Preferably, also comprise:
Receiver module, for receiving the initiation message from other OPS;
Sending module, for sending the state of keyboard indicator to the OPS sending initiation message.
Preferably, also comprise:
Sending module, for judging that the state of keyboard indicator changes, other OPS to described OWP send the state of the keyboard indicator after change.
Preferably, also comprise:
The data processing module of mouse-keyboard, for intercepting and capturing mouse instructions and/or keyboard instruction;
Described sending module also for:
Next duty described mouse instructions and/or keyboard instruction being sent to this dimension described is normal OPS.
Preferably, described handover module also for:
Described in judging, next duty of this dimension is normal OPS is self;
The data processing module of described mouse-keyboard also for:
Intercept and capture described mouse instructions and/or keyboard instruction, perform corresponding operation according to described mouse instructions and/or keyboard instruction.
Preferably, judge to meet the condition that described a certain dimension is switched to next OPS, and to judge that the OPS at described mouse and the current place of keyboard does not exist next duty in described a certain dimension according to the duty of each OPS in described corresponding relation and described OWP be normal OPS, do not carry out the switching of mouse and keyboard.
Preferably, judge to meet the condition that a certain dimension is switched to an OPS, and judge that the OPS at described mouse and the current place of keyboard duty on described a certain dimension does not exist is normal OPS according to the duty of each OPS in described corresponding relation and described OWP, do not carry out the switching of mouse and keyboard.
Compared with prior art, the present invention includes: connect the corresponding relation between layout order and OPS mark preserving OPS in OWP in the active station OPS of mouse and keyboard in advance; The OPS connecting mouse and keyboard obtains the duty of each OPS in OWP; The OPS connecting mouse and keyboard judges that a certain dimension meets the condition being switched to next or a upper OPS, and according to the duty of OPS each in corresponding relation and OWP judge the OPS at mouse and the current place of keyboard this dimension exist next or on a duty be normal OPS, and judge that next or a upper duty be normal OPS are not self, be normal OPS by mouse and keyboard shift to next or a upper duty of this dimension.By the solution of the present invention, adopt software simulating KVM switching, do not need to adopt hardware switches to switch to realize KVM, thus improve the dirigibility of switching.
Further, when the OPS connecting mouse and keyboard breaks down, other OPS of OWP can be connected to realize KVM switching at mouse and keyboard, thus improve dirigibility and the reliability of switching.
Accompanying drawing explanation
Be described the accompanying drawing in the embodiment of the present invention below, the accompanying drawing in embodiment is for a further understanding of the present invention, is used from explanation the present invention, does not form limiting the scope of the invention with instructions one.
Fig. 1 is the process flow diagram that the present invention realizes the method that KVM switches;
Fig. 2 is the layout of OPS of the present invention is two-dimentional schematic diagram;
Fig. 3 is the composition schematic diagram that the present invention realizes the device that KVM switches.
Embodiment
For the ease of the understanding of those skilled in the art, below in conjunction with accompanying drawing, the invention will be further described, can not be used for limiting the scope of the invention.It should be noted that, when not conflicting, the various modes in the embodiment in the application and embodiment can combine mutually.
See Fig. 1, the present invention proposes a kind of method realizing KVM and switch, comprising:
The corresponding relation between the layout order of OPS in OWP and OPS mark is preserved in advance in the OPS of step 100, connection mouse and keyboard.
In this step, the OPS of connection mouse and keyboard can be any OPS in OWP.
In this step, the corresponding relation between the layout order of OPS in OWP and OPS mark can be kept in configuration file.
In this step, can also comprise in corresponding relation: Internet protocol (IP, the InternetProtocol) address of OPS.
In this step, the layout of OPS can be one dimension, also can be two-dimentional.Such as, Fig. 2 is the layout of OPS is two-dimentional schematic diagram.As shown in Figure 2, OWP comprises nine OPS, is arranged in three row three row.The layout order of OPS arbitrarily can set according to the layout of OPS, if one can be identified in each dimension according to the layout order of OPS and next OPS just passable.
OPS in Fig. 2, the quantity of row and column can be different, and the quantity of the OPS often going or often arrange also can be different, and as the OPS of nine in Fig. 2, can line up 2 row, first row is 4 OPS, and one is 5 OPS.
The OPS of step 101, connection mouse and keyboard obtains the duty of each OPS in OWP.
In this step, the OPS connecting mouse and keyboard can also periodically update the duty of each OPS in OWP.
In this step, the OPS connecting mouse and keyboard can send query messages by periodicity each OPS in OWP, receives the duty from each OPS and preserves.
Wherein, the information that instruction OPS returns the duty of self is included in query messages.
In this step, the OPS connecting mouse and keyboard after receiving enabled instruction, can obtain the duty of each OPS in OWP and periodically updates.
Wherein, user can send enabled instruction in the mode of shortcut to the OPS connecting mouse and keyboard, also can adopt other mode, the protection domain that concrete realization is not intended to limit the present invention, repeat no more here.
The OPS of step 102, connection mouse and keyboard judges that a certain dimension meets the condition being switched to next or a upper OPS, and according to the duty of OPS each in corresponding relation and OWP judge the OPS at mouse and the current place of keyboard this dimension exist next or on a duty be normal OPS, and judge that next or a upper duty be normal OPS are not self, be normal OPS by mouse and keyboard shift to next or a upper duty of this dimension.
In this step, the OPS connecting mouse and keyboard judges that a certain dimension meets the condition being switched to next OPS and comprises:
The OPS connecting mouse and keyboard judges that mouse moves the first border, limit exceeding self screen.
Wherein, the first limit can be any of screen.
Wherein, when the layout of OPS is two dimension, the OPS connecting mouse and keyboard judges that wherein a dimension meets the condition being switched to next OPS and comprises:
The OPS connecting mouse and keyboard judges that mouse moves the first border, limit exceeding self screen.
The OPS connecting mouse and keyboard judges that another dimension meets the condition being switched to next OPS and comprises:
Connect mouse and judge that mouse moves the Second Edge border vertical with the first border, limit exceeding self screen with the OPS of keyboard.
Wherein, can rudimentary Mouse hook function be used to intercept and capture the moving coordinate of mouse in the outer com assembly of process, specific implementation belongs to the common practise of those skilled in the art, and the protection domain be not intended to limit the present invention, repeats no more here.
After obtaining the moving coordinate of mouse; can judge that mouse moves the first border, limit or Second Edge border whether exceeding self screen according to the moving coordinate of mouse; specific implementation belongs to the common practise of those skilled in the art, and the protection domain be not intended to limit the present invention, repeats no more here.
In this step, under original state, mouse can default setting be connected on the OPS of mouse and keyboard with the OPS at the current place of keyboard, also can be arranged on other OPS.
In this step, when the OPS connecting mouse and keyboard judges that a certain dimension meets the condition being switched to a upper OPS, and judge that the OPS at mouse and the current place of keyboard duty on this dimension exists is normal OPS according to the duty of OPS each in corresponding relation and OWP, and when judging that a duty be normal OPS is not self, mouse and keyboard shift are normal OPS to the upper duty of this dimension by the OPS connecting mouse and keyboard.
Wherein, the OPS connecting mouse and keyboard judges that a certain dimension meets the condition being switched to an OPS and comprises:
Connect mouse and judge that mouse moves the three limit border parallel with the first border, limit exceeding self screen with the OPS of keyboard.
Wherein, when the layout of OPS is two dimension, the OPS connecting mouse and keyboard judges that wherein a dimension meets the condition being switched to an OPS and comprises:
Connect mouse and judge that mouse moves the three limit border parallel with the first border, limit exceeding self screen with the OPS of keyboard.
The OPS connecting mouse and keyboard judges that another dimension meets the condition being switched to an OPS and comprises:
Connect mouse and judge that mouse moves the four limit border parallel with Second Edge border exceeding self screen with the OPS of keyboard.
In this step, when the OPS connecting mouse and keyboard judges to meet the condition that a certain dimension is switched to next OPS, and judging that the OPS at mouse and the current place of keyboard is when to there is not next duty be normal OPS to this dimension according to the duty of OPS each in corresponding relation and OWP, the OPS connecting mouse and keyboard does not carry out the switching of mouse and keyboard.
In this step, when the OPS connecting mouse and keyboard judges to meet the condition that a certain dimension is switched to a upper OPS, and when judging the OPS at mouse and the current place of keyboard according to the duty of OPS each in corresponding relation and OWP a duty is normal OPS on this dimension does not exist, the OPS connecting mouse and keyboard does not carry out the switching of mouse and keyboard.
In this step, judge that the OPS at mouse and the current place of keyboard is that normal OPS comprises in this next duty of dimension presence or absence according to the duty of OPS each in corresponding relation and OWP:
Layout order corresponding to the OPS at mouse and the current place of keyboard is searched according to corresponding relation, the duty of one or more OPS judged under this dimension in the OPS of layout order after the layout order found according to the duty of OPS each in OWP is normal, then judging that the OPS at mouse and the current place of keyboard exists next duty in this dimension is normal OPS.
When judging that the duty of the OPS of layout order after the layout order found under this dimension is abnormal according to the duty of OPS each in OWP, judging that the OPS at mouse and the current place of keyboard does not exist next duty in this dimension is normal OPS.
In this step, judge that the OPS at mouse and the current place of keyboard duty in this dimension presence or absence is that normal OPS comprises according to the duty of OPS each in corresponding relation and OWP:
Layout order corresponding to the OPS at mouse and the current place of keyboard is searched according to corresponding relation, the duty of one or more OPS judged under this dimension in the OPS of layout order before the layout order found according to the duty of OPS each in OWP is normal, then judge that the OPS at mouse and the current place of keyboard duty on this dimension exists is normal OPS.
When judging that the duty of the OPS of layout order before the layout order found is abnormal according to the duty of OPS each in OWP, judge that the OPS at mouse and the current place of keyboard duty on this dimension does not exist is normal OPS.
In this step, be that normal OPS comprises by mouse and keyboard shift to next or a upper duty of this dimension:
Shield the screen of self.
Wherein, prior art can be adopted to shield the screen of self, and make from after receiving any mouse instructions and/or keyboard instruction, do not carry out any operation, the protection domain be not intended to limit the present invention, repeats no more here.
In this step, when the OPS connecting mouse and keyboard intercepts mouse instructions and/or keyboard instruction, next or the upper duty that mouse instructions and/or keyboard instruction are sent to this dimension are normal OPS.
Wherein, next or a upper duty of this dimension are after normal OPS receives mouse instructions and/or keyboard instruction, perform corresponding operation according to the mouse instructions received and/or keyboard instruction.
Particularly, next or a upper duty of this dimension are, after normal OPS receives mouse instructions and/or keyboard instruction, send to operating system, and operating system performs corresponding operation.
Wherein, next or a upper duty of this dimension mouse instructions and/or keyboard instruction can be sent to be normal OPS by network middleware, be implemented as existing method, the protection domain be not intended to limit the present invention, repeats no more here.
In this step, when judging that next duty of this dimension be normal OPS is self, intercepting and capturing mouse instructions and/or keyboard instruction, performing corresponding operation according to the mouse instructions intercepted and/or keyboard instruction.
Wherein, mouse instructions can be left button or right-click, double-click etc., and keyboard instruction can be that keyboard is pressed, lifted etc.
Wherein, the OPS connecting mouse and keyboard can use rudimentary mouse-keyboard Hook Function to intercept and capture mouse instructions and/or keyboard instruction in the outer com assembly of process; specific implementation belongs to the common practise of those skilled in the art, and the protection domain be not intended to limit the present invention, repeats no more here.
In method of the present invention, when the OPS connecting mouse and keyboard receives the initiation message from other OPS, the OPS connecting mouse and keyboard can also send the state of keyboard indicator to the OPS sending initiation message.
Wherein, under default conditions, the Num Lock lamp in keyboard indicator district is bright, and Caps Lock lamp and Scroll Lock lamp do not work.The state of the Num Lock lamp of each OPS in OWP, Caps Lock lamp and Scroll Lock lamp should be consistent.
Wherein, OPS sends initiation message in startup or when restarting to the OPS connecting mouse and keyboard.
Wherein, the OPS connecting mouse and keyboard can send the state of keyboard indicator to the OPS sending initiation message by network middleware.
Wherein, when the OPS connecting mouse and keyboard judges that the state of keyboard indicator changes, the OPS connecting mouse and keyboard sends the state of the keyboard indicator after change to other OPS in OWP.
Wherein, whether whether the OPS connecting mouse and keyboard can be pressed and lift the state judging keyboard indicator and change by the button corresponding according to keyboard indicator; If the button that keyboard indicator is corresponding is pressed and lifts, then judge that the state of keyboard indicator changes; If the button that keyboard indicator is corresponding is not pressed and lifts, then judge that the state of keyboard indicator does not change.Such as, when Num Lock key is pressed and lifts, think that the state of Num Lock lamp changes; When Caps Lock key is pressed and lifts, think that the state of Caps Lock lamp changes; When ScrollLock key is pressed and lifts, think that the state of Scroll Lock lamp changes.
Wherein, the OPS connecting mouse and keyboard can send the state of the keyboard indicator after change in a broadcast manner to other OPS in OWP.
Wherein, the state of the keyboard indicator that the OPS connecting mouse and keyboard can only change, also can send the state of all keyboard indicators after change.
In prior art, realize KVM and switch and must use hardware switches, this hardware switches becomes the key point of whole kvm system, once this hardware switches breaks down, then whole kvm system is all unavailable; And of the present invention without the need to using hardware switches to switch to realize KVM, decrease trouble spot.
In prior art, practical application KVM switcher realizes needing to connect up when KVM switches, and needs each main frame to lay and be fixed on fixing position; And KVM changing method of the present invention has saved space and cost.
The layout of switching to OPS of KVM changing method of the present invention does not limit, and performance is better than existing KVM changing method.
The present invention, without the need to using hardware exchange equipment, only need use network to carry out the transmission of data, only uses software to carry out a set of mouse-keyboard and controls the unperturbed of multiple stage main frame.
Further, when the OPS connecting mouse and keyboard breaks down, other OPS of OWP can be connected to realize KVM switching at mouse and keyboard, thus improve dirigibility and the reliability of switching.
See Fig. 3, the invention allows for a kind of device realizing keyboard display mouse KVM and switch, at least comprise:
Memory module, for preserving the corresponding relation between the layout order of OPS in OWP and OPS mark in advance;
Acquisition module, for obtaining the duty of each OPS in OWP;
Handover module, for judging that a certain dimension meets the condition being switched to next OPS, and to judge that the OPS at mouse and the current place of keyboard exists next duty in this dimension according to the duty of OPS each in corresponding relation and OWP be normal OPS, and judge that next or a upper duty be normal OPS are not self, be normal OPS by mouse and keyboard shift to next duty of this dimension.
In device of the present invention, also comprise:
Receiver module, for receiving the initiation message from other OPS;
Sending module, for sending the state of keyboard indicator to the OPS sending initiation message.
In device of the present invention, also comprise:
Sending module, for judging that the state of keyboard indicator changes, other OPS to OWP send the state of the keyboard indicator after change.
In device of the present invention, also comprise:
The data processing module of mouse-keyboard, for intercepting and capturing mouse instructions and/or keyboard instruction;
Sending module also for:
Next duty of this dimension mouse instructions and/or keyboard instruction is sent to be normal OPS.
In device of the present invention, handover module also for:
Described in judging, next duty of this dimension is normal OPS is self;
The data processing module of mouse-keyboard also for:
Intercept and capture mouse instructions and/or keyboard instruction, perform corresponding operation according to mouse instructions and/or keyboard instruction.
In device of the present invention, handover module also for:
Judge that a certain dimension meets the condition being switched to an OPS, and judge that the OPS at mouse and the current place of keyboard duty on a certain dimension exists is normal OPS according to the duty of OPS each in corresponding relation and OWP, by mouse and the keyboard shift OPS to a upper normal job of a certain dimension.
In device of the present invention, judge to meet the condition that a certain dimension is switched to next OPS, and to judge that the OPS at mouse and the current place of keyboard does not exist next duty in a certain dimension according to the duty of OPS each in corresponding relation and OWP be normal OPS, do not carry out the switching of mouse and keyboard.
In device of the present invention, judge to meet the condition that a certain dimension is switched to an OPS, and judge that the OPS at mouse and the current place of keyboard duty on a certain dimension does not exist is normal OPS according to the duty of OPS each in corresponding relation and OWP, do not carry out the switching of mouse and keyboard.
It should be noted that; above-described embodiment is only understand for the ease of those skilled in the art; be not limited to protection scope of the present invention; under the prerequisite not departing from inventive concept of the present invention, any apparent replacement and improvement etc. that those skilled in the art make the present invention are all within protection scope of the present invention.
Claims (24)
1. realize the method that keyboard display mouse KVM switches, it is characterized in that, comprising:
Connect the corresponding relation between layout order and OPS mark preserving OPS in OWP in the active station OPS of mouse and keyboard in advance;
The OPS connecting mouse and keyboard obtains the duty of each OPS in OWP;
The OPS connecting mouse and keyboard judges that a certain dimension meets the condition being switched to next or a upper OPS, and according to the duty of OPS each in corresponding relation and OWP judge the OPS at mouse and the current place of keyboard this dimension exist next or on a duty be normal OPS, and judge that next or a upper duty be normal OPS are not self, be normal OPS by mouse and keyboard shift to next or a upper duty of this dimension.
2. method according to claim 1, is characterized in that, when the OPS of described connection mouse and keyboard receives the initiation message from other OPS, the method also comprises:
The OPS of described connection mouse and keyboard sends the state of keyboard indicator to the OPS sending initiation message.
3. method according to claim 1, is characterized in that, when the OPS of described connection mouse and keyboard judges that the state of keyboard indicator changes, the method also comprises:
The OPS of described connection mouse and keyboard sends the state of the keyboard indicator after change to other OPS of described OWP.
4. the method according to claims 1 to 3 any one, is characterized in that, the OPS of described connection mouse and keyboard judges that a certain dimension meets the condition being switched to next OPS and comprises:
The OPS of described connection mouse and keyboard judges that mouse moves the first border, limit exceeding self screen.
5. method according to claim 4, is characterized in that, the layout of described OPS is two dimension, and the OPS of described connection mouse and keyboard judges that wherein a dimension meets the condition being switched to next OPS and comprises:
The OPS of described connection mouse and keyboard judges that described mouse moves the first border, limit exceeding self screen;
The OPS of described connection mouse and keyboard judges that another dimension meets the condition being switched to next OPS and comprises:
Described connection mouse and the OPS of keyboard judge that mouse moves the Second Edge border vertical with described first border, limit exceeding self screen.
6. the method according to claims 1 to 3 any one, it is characterized in that, it is that normal OPS comprises that the described duty according to OPS each in corresponding relation and OWP judges that the OPS at mouse and the current place of keyboard exists next duty in a certain dimension:
Search layout order corresponding to the OPS at mouse and the current place of keyboard according to described corresponding relation, the duty of one or more OPS judged under described a certain dimension in the OPS of layout order after the layout order found according to the duty of OPS each in described OWP is normal.
7. the method according to claims 1 to 3 any one, is characterized in that, described is that normal OPS comprises by mouse and keyboard shift to next duty of this dimension:
Shield the screen of self.
8. the method according to claims 1 to 3 any one, is characterized in that, when the OPS of described connection mouse and keyboard intercepts mouse instructions and/or keyboard instruction, the method also comprises:
Next duty described mouse instructions and/or keyboard instruction being sent to this dimension described is normal OPS.
9. method according to claim 8, is characterized in that, also comprises:
Next duty of this dimension described is after normal OPS receives described mouse instructions and/or keyboard instruction, performs corresponding operation according to the mouse instructions received and/or keyboard instruction.
10. method according to claim 8, is characterized in that, when next duty judging this dimension described be normal OPS is self, the method also comprises:
Intercept and capture described mouse instructions and/or keyboard instruction, perform corresponding operation according to described mouse instructions and/or keyboard instruction.
11. methods according to claims 1 to 3 any one, it is characterized in that, the OPS of described connection mouse and keyboard judges that a certain dimension meets the condition being switched to an OPS and comprises:
Described connection mouse and the OPS of keyboard judge that mouse moves the three limit border parallel with the first border, limit exceeding self screen.
12. methods according to claim 11, is characterized in that, the layout of described OPS is two dimension, and the OPS of described connection mouse and keyboard judges that wherein a dimension meets the condition being switched to an OPS and comprises:
Described connection mouse and the OPS of keyboard judge that described mouse moves the three limit border parallel with described first border, limit exceeding self screen; The OPS of described connection mouse and keyboard judges that another dimension meets the condition being switched to an OPS and comprises:
Described connection mouse and the OPS of keyboard judge that mouse moves the four limit border parallel with Second Edge border exceeding self screen.
13. methods according to claims 1 to 3 any one, it is characterized in that, the described duty according to OPS each in corresponding relation and OWP judges that the OPS at mouse and the current place of keyboard duty on a certain dimension exists is that normal OPS comprises:
Search layout order corresponding to the OPS at mouse and the current place of keyboard according to described corresponding relation, the duty of one or more OPS judged under described a certain dimension in the OPS of layout order before the layout order found according to the duty of OPS each in described OWP is normal.
14. methods according to claims 1 to 3 any one, it is characterized in that, when the OPS of described connection mouse and keyboard judges to meet the condition that described a certain dimension is switched to next OPS, and judge that the OPS at described mouse and the current place of keyboard is when to there is not next duty be normal OPS to described a certain dimension according to the duty of each OPS in described corresponding relation and described OWP, the method also comprises:
The OPS of described connection mouse and keyboard does not carry out the switching of mouse and keyboard.
15. methods according to claim 14, is characterized in that, it is that normal OPS comprises that the described duty according to OPS each in corresponding relation and OWP judges that the OPS at mouse and the current place of keyboard does not exist next duty in a certain dimension:
Search layout order corresponding to the OPS at described mouse and the current place of keyboard according to described corresponding relation, judge that the duty of the OPS of layout order after the layout order found is abnormal under described a certain dimension according to the duty of OPS each in described OWP.
16. methods according to claims 1 to 3 any one, it is characterized in that, when the OPS of described connection mouse and keyboard judges to meet the condition that a certain dimension is switched to a upper OPS, and when judging the OPS at described mouse and the current place of keyboard according to the duty of each OPS in described corresponding relation and described OWP a duty is normal OPS on described a certain dimension does not exist, the method also comprises:
The OPS of described connection mouse and keyboard does not carry out the switching of mouse and keyboard.
17. methods according to claim 16, is characterized in that, the described duty according to OPS each in corresponding relation and OWP judges that the OPS at mouse and the current place of keyboard duty on a certain dimension does not exist is that normal OPS comprises:
Search layout order corresponding to the OPS at described mouse and the current place of keyboard according to described corresponding relation, judge that the duty of the OPS of layout order before the layout order found is abnormal under described a certain dimension according to the duty of OPS each in described OWP.
18. 1 kinds of devices realizing keyboard display mouse KVM and switch, is characterized in that, at least comprise:
Memory module, for preserving the corresponding relation between the layout order of OPS in OWP and OPS mark in advance;
Acquisition module, for obtaining the duty of each OPS in OWP;
Handover module, for judging that a certain dimension meets the condition being switched to next or a upper OPS, and according to the duty of OPS each in corresponding relation and OWP judge the OPS at mouse and the current place of keyboard this dimension exist next or on a duty be normal OPS, and judge that next or a upper duty be normal OPS are not self, be normal OPS by mouse and keyboard shift to next or a upper duty of this dimension.
19. devices according to claim 18, is characterized in that, also comprise:
Receiver module, for receiving the initiation message from other OPS;
Sending module, for sending the state of keyboard indicator to the OPS sending initiation message.
20. devices according to claim 18, is characterized in that, also comprise:
Sending module, for judging that the state of keyboard indicator changes, other OPS to described OWP send the state of the keyboard indicator after change.
21. devices according to claim 18 ~ 20 any one, is characterized in that, also comprise:
The data processing module of mouse-keyboard, for intercepting and capturing mouse instructions and/or keyboard instruction;
Described sending module also for:
Next duty described mouse instructions and/or keyboard instruction being sent to this dimension described is normal OPS.
22. devices according to claim 21, is characterized in that, described handover module also for:
Described in judging, next duty of this dimension is normal OPS is self;
The data processing module of described mouse-keyboard also for:
Intercept and capture described mouse instructions and/or keyboard instruction, perform corresponding operation according to described mouse instructions and/or keyboard instruction.
23. devices according to claim 18 ~ 20 any one, it is characterized in that, judge to meet the condition that described a certain dimension is switched to next OPS, and to judge that the OPS at described mouse and the current place of keyboard does not exist next duty in described a certain dimension according to the duty of each OPS in described corresponding relation and described OWP be normal OPS, do not carry out the switching of mouse and keyboard.
24. devices according to claim 18 ~ 20 any one, it is characterized in that, judge to meet the condition that a certain dimension is switched to an OPS, and judge that the OPS at described mouse and the current place of keyboard duty on described a certain dimension does not exist is normal OPS according to the duty of each OPS in described corresponding relation and described OWP, do not carry out the switching of mouse and keyboard.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410835600.XA CN104571583A (en) | 2014-12-26 | 2014-12-26 | Method and device for switching KVM (Keyboard Video Mouse) |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410835600.XA CN104571583A (en) | 2014-12-26 | 2014-12-26 | Method and device for switching KVM (Keyboard Video Mouse) |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104571583A true CN104571583A (en) | 2015-04-29 |
Family
ID=53087856
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410835600.XA Pending CN104571583A (en) | 2014-12-26 | 2014-12-26 | Method and device for switching KVM (Keyboard Video Mouse) |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104571583A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106325563A (en) * | 2015-06-15 | 2017-01-11 | 联想企业解决方案(新加坡)有限公司 | Data storage device for identifying electronic devices and corresponding method |
CN106528012A (en) * | 2015-09-10 | 2017-03-22 | 微窗科技股份有限公司 | Seamless switching method and system for computer hosts |
CN109766016A (en) * | 2019-01-16 | 2019-05-17 | 浙江乾行信息技术有限公司 | A kind of rete mirabile multiple terminals concentration input control device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040047344A1 (en) * | 2002-08-15 | 2004-03-11 | Chan Kevin Hsunko | Method and system for an "Always-on" internet device |
US20050052465A1 (en) * | 2003-07-03 | 2005-03-10 | Moore Richard L. | Wireless keyboard, video, mouse device |
US20050273312A1 (en) * | 2004-06-03 | 2005-12-08 | Francisc Sandulescu | Distriubte USB KVM switch |
CN101078955A (en) * | 2006-05-26 | 2007-11-28 | 南京易思克网络安全技术有限责任公司 | Multiple computer screen mouse switching device and method |
CN101739137A (en) * | 2008-11-05 | 2010-06-16 | 北京广利核系统工程有限公司 | KVM device for realizing quick switching |
CN101853086A (en) * | 2010-05-06 | 2010-10-06 | 广东威创视讯科技股份有限公司 | Computer matching display system as well as desktop control switcher and method thereof |
CN102981639A (en) * | 2012-10-31 | 2013-03-20 | 广东威创视讯科技股份有限公司 | Method and device thereof based on network |
CN103543972A (en) * | 2012-07-12 | 2014-01-29 | 鸿富锦精密工业(深圳)有限公司 | KVM switcher indicating device and KVM switching system |
-
2014
- 2014-12-26 CN CN201410835600.XA patent/CN104571583A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040047344A1 (en) * | 2002-08-15 | 2004-03-11 | Chan Kevin Hsunko | Method and system for an "Always-on" internet device |
US20050052465A1 (en) * | 2003-07-03 | 2005-03-10 | Moore Richard L. | Wireless keyboard, video, mouse device |
US20050273312A1 (en) * | 2004-06-03 | 2005-12-08 | Francisc Sandulescu | Distriubte USB KVM switch |
CN101078955A (en) * | 2006-05-26 | 2007-11-28 | 南京易思克网络安全技术有限责任公司 | Multiple computer screen mouse switching device and method |
CN101739137A (en) * | 2008-11-05 | 2010-06-16 | 北京广利核系统工程有限公司 | KVM device for realizing quick switching |
CN101853086A (en) * | 2010-05-06 | 2010-10-06 | 广东威创视讯科技股份有限公司 | Computer matching display system as well as desktop control switcher and method thereof |
CN103543972A (en) * | 2012-07-12 | 2014-01-29 | 鸿富锦精密工业(深圳)有限公司 | KVM switcher indicating device and KVM switching system |
CN102981639A (en) * | 2012-10-31 | 2013-03-20 | 广东威创视讯科技股份有限公司 | Method and device thereof based on network |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106325563A (en) * | 2015-06-15 | 2017-01-11 | 联想企业解决方案(新加坡)有限公司 | Data storage device for identifying electronic devices and corresponding method |
CN106325563B (en) * | 2015-06-15 | 2021-06-04 | 联想企业解决方案(新加坡)有限公司 | Data storage device for identifying electronic devices and corresponding method |
CN106528012A (en) * | 2015-09-10 | 2017-03-22 | 微窗科技股份有限公司 | Seamless switching method and system for computer hosts |
CN109766016A (en) * | 2019-01-16 | 2019-05-17 | 浙江乾行信息技术有限公司 | A kind of rete mirabile multiple terminals concentration input control device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115357178B (en) | Control method applied to screen-throwing scene and related equipment | |
EP4187890A1 (en) | Unread message display method and apparatus, and electronic device and storage medium | |
CN107153520B (en) | Multi-screen cooperation control method, device and multi-screen management system | |
CN100410869C (en) | Computer switch and a computer switching method | |
CN111756756B (en) | Terminal network control method and device, electronic equipment and storage medium | |
US20180302794A1 (en) | Method and Apparatus for Identifying Pseudo Base-Station, and Terminal | |
US20100321323A1 (en) | Method and apparatus for reducing multi-touch input error in portable communication system | |
CN107273076A (en) | A kind of method for visualizing cooperation management of attending a banquet, apparatus and system | |
CN103472999A (en) | Screenshot method and mobile terminal thereof | |
KR101517134B1 (en) | Mode switching method and device | |
US10349020B2 (en) | Information processing method and electronic apparatus | |
CN108616897B (en) | Configuration method, terminal and network equipment for Discontinuous Reception (DRX) parameters | |
CN112738856A (en) | Cell switching method and device and user equipment | |
CN108809561B (en) | Transmission method of synchronization signal block, network equipment and user equipment | |
CN104571893A (en) | Method and device for handling notices in notification bar | |
CN104571583A (en) | Method and device for switching KVM (Keyboard Video Mouse) | |
CN105141878B (en) | Content share method and instant communication client when video interactive | |
CN104731473A (en) | Operation response method and device based on icons | |
CN110611690B (en) | Method for master core device reselection, remote device and computer readable medium | |
TWI719323B (en) | Method and apparatus for switching a view, and computing device | |
CN105205066A (en) | Method and device for finding picture | |
US10237464B2 (en) | Method and apparatus for recording videos | |
CN102681780A (en) | Intelligent Linux device and input method switching method for same | |
US20170169042A1 (en) | Webpage display method, mobile terminal, intelligent terminal, computer program and storage medium | |
CN105005440A (en) | Mobile terminal display interface scroll bar switching method and apparatus and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150429 |
|
RJ01 | Rejection of invention patent application after publication |