CN104503594A - PS/2 keyboard-mouse remote switching system - Google Patents

PS/2 keyboard-mouse remote switching system Download PDF

Info

Publication number
CN104503594A
CN104503594A CN201410783251.1A CN201410783251A CN104503594A CN 104503594 A CN104503594 A CN 104503594A CN 201410783251 A CN201410783251 A CN 201410783251A CN 104503594 A CN104503594 A CN 104503594A
Authority
CN
China
Prior art keywords
keyboard
mouse
signal
outside
processing unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410783251.1A
Other languages
Chinese (zh)
Inventor
石宝松
孙守红
张伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changchun Institute of Optics Fine Mechanics and Physics of CAS
Original Assignee
Changchun Institute of Optics Fine Mechanics and Physics of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changchun Institute of Optics Fine Mechanics and Physics of CAS filed Critical Changchun Institute of Optics Fine Mechanics and Physics of CAS
Priority to CN201410783251.1A priority Critical patent/CN104503594A/en
Publication of CN104503594A publication Critical patent/CN104503594A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to the field of computers and discloses a PS/2 keyboard-mouse remote switching system which comprises a PS/2 keyboard-mouse switching device and multiple PS/2 keyboard-mouse simulators. The PS/2 keyboard-mouse switching device is composed of an external PS/2 keyboard input interface, an external PS/2 mouse input interface, a PS/2 keyboard signal receiving and processing unit, a PS/2 mouse signal receiving and processing unit, a switching control switch, an output passage indicating unit, two 5V power source semiconductor switches and multiple RS232 signal output interfaces. Each PS/2 keyboard and mouse simulator is composed of an RS232 signal input interface, a PS/2 keyboard signal simulating and processing unit, a PS/2 mouse signal simulating and processing unit, a PS/2 keyboard signal output interface and a PS/2 mouse signal output interface. By the PS/2 keyboard-mouse remote switching system, effect that multiple computers share an external PS/2 keyboard and an external PS/2 mouse is realized, remote control is realized, and working of the computers cannot be affected when the external PS/2 keyboard and the external PS/2 mouse are disconnected at any time and on any occasion. The PS/2 keyboard-mouse remote switching system is convenient in wiring, and transmission distance can be prolonged to some extent.

Description

The long-range switched system of a kind of PS/2 keyboard and mouse
Technical field
The present invention relates to field of computer technology, be specifically related to the long-range switched system of a kind of PS/2 keyboard and mouse.
Background technology
RS232 interface as one of communication interface on personal computer, be Electronic Industries Association formulate asynchronous transmission standard interface, have transmission line few, be easy to the features such as wiring.Pass through the improvement of RS232 interface and the communication technology at present, RS232 communication distance increases greatly.
With the progressively development of computer application field and being on the increase of network application, the quantity of a lot of application scenarios Computer and server also constantly increases, and the operation to every platform computing machine is related to the management of computing machine, especially for the management of BIOS rank, if now every platform computing machine is equipped with a set of keyboard, mouse, not only waste resource and improve cost, be difficult to realize simultaneously in the application of restriction of having living space.
PS/2 interface is used for many modern mice and keyboard as the interface in a kind of traditional PC compatible computer system, is developed by IBM and appear at first in ibm technology reference manual.At present, although PS/2 interface slowly replace by USB interface, but, due to PS/2 keyboard interface can support all buttons simultaneously Lothrus apterus, simultaneously can not be malfunctioning when computing machine carries out significantly overclocking etc. be better than the speciality of USB interface, be therefore still retained at some occasion PS/2 interface.But it is compared with USB interface, do not support hot plug, namely its must on computers electricity before be connected with computer system; In addition, PS/2 signal transmission distance is limited, is generally only 2 meters, is restricted in the use relating to PS/2 interface in the application that computing machine and control desk are relatively far away or operating space is limited.
Summary of the invention
Existingly relate to that every platform computing machine in the occasion of multiple computing machine or server all needs to be equipped with a set of keyboard, mouse exists waste resource, cost are high to solve, limited space and because the PS/2 signal transmission distance limited PS/2 of causing interface is relating to computing machine and control desk relatively far or the problem be restricted in the limited application in operating space, the invention provides the long-range switched system of a kind of PS/2 keyboard and mouse.
The technical scheme that the present invention adopts for technical solution problem is as follows:
The long-range switched system of a kind of PS/2 keyboard and mouse of the present invention, comprises PS/2 keyboard and mouse switching device shifter and multiple PS/2 keyboard and mouse simulator;
Described PS/2 keyboard and mouse switching device shifter comprises: the PS/2 keyboard signal be made up of the first main control chip and RS232 keyboard signal output channel gating chip receives and processing unit, the outside PS/2 input through keyboard interface be connected with the first main control chip, the 5V power source semiconductor switch be connected with outside PS/2 input through keyboard interface with the first main control chip respectively, the PS/2 mouse signal be made up of the second main control chip and RS232 mouse signal output channel gating chip receives and processing unit, the outside PS/2 mouse input interface be connected with the second main control chip, another 5V power source semiconductor switch be connected with outside PS/2 mouse input interface with the second main control chip respectively, the switching gauge tap be connected with the second main control chip with the first main control chip respectively, the output channel indicating member be connected with switching gauge tap, multiple RS232 signal output interface, each RS232 signal output interface is all connected with RS232 mouse signal output channel gating chip with RS232 keyboard signal output channel gating chip,
Outside PS/2 keyboard is by outside PS/2 input through keyboard interface connecting system, after described first main control chip initialization, time delay 590ms powers to outside PS/2 keyboard by control 5V power source semiconductor switch, analog computer discharges clock line and the data line of outside PS/2 keyboard, read self-inspection that outside PS/2 keyboard uploads by instruction and device id, complete the Initialize installation of outside PS/2 keyboard and send the enable outside PS/2 keyboard of the corresponding command, making it enter normal duty, after trigger external PS/2 keyboard, first main control chip reads PS/2 keyboard signal that outside PS/2 keyboard uploads and stores, circular test switches the state of gauge tap and judges toggle bit simultaneously, carry out strobe state instruction by output channel indicating member by the corresponding RS232 signal output interface of RS232 keyboard signal output channel gating CE simultaneously, the PS/2 keyboard signal received judges by the first main control chip, if be judged as effective PS/2 keyboard signal, it is encoded, be converted to RS232 keyboard signal after adding communication check byte and data statistics byte to be exported by this RS232 signal output interface, if be judged as invalid PS/2 keyboard signal, re-power to outside PS/2 keyboard by control 5V power source semiconductor switch, repeat said process until export effective PS/2 keyboard signal,
Outside PS/2 mouse is by outside PS/2 mouse input interface connecting system, after described second main control chip initialization, time delay 590ms powers to outside PS/2 mouse by control 5V power source semiconductor switch, analog computer discharges clock line and the data line of outside PS/2 mouse, read self-inspection that outside PS/2 mouse uploads by instruction and device id, complete the Initialize installation of outside PS/2 mouse and send the enable outside PS/2 mouse of the corresponding command, making it enter normal duty, after trigger external PS/2 mouse, second main control chip reads PS/2 mouse signal that outside PS/2 mouse uploads and stores, circular test switches the state of gauge tap and judges toggle bit simultaneously, carry out strobe state instruction by output channel indicating member by the corresponding RS232 signal output interface of RS232 mouse signal output channel gating CE simultaneously, the PS/2 mouse signal received judges by the second main control chip, if be judged as effective PS/2 mouse signal, it is encoded, be converted to RS232 mouse signal after adding communication check byte and data statistics byte to be exported by this RS232 signal output interface, if be judged as invalid PS/2 mouse signal, re-power to outside PS/2 mouse by control 5V power source semiconductor switch, repeat said process until export effective PS/2 mouse signal,
Described PS/2 keyboard and mouse simulator comprises: RS232 signal input interface, the PS/2 keyboard signal simulation and processing unit be connected with RS232 signal input interface, PS/2 mouse signal simulation and processing unit, the PS/2 keyboard signal output interface be connected with PS/2 keyboard signal simulation and processing unit, the PS/2 mouse signal output interface be connected with PS/2 mouse signal simulation and processing unit; Described PS/2 keyboard signal output interface is connected with main frame PS/2 keyboard port, and described PS/2 mouse signal output interface is connected with main frame PS/2 mouse port; In described PS/2 keyboard and mouse switching device shifter, each RS232 signal output interface is connected respectively the RS232 signal input interface in a PS/2 keyboard and mouse simulator;
In computer booting process, the PS/2 keyboard initialization command that PS/2 keyboard signal simulation and processing unit receiving computer sends also correctly responds, the PS/2 mouse initialization command that PS/2 mouse signal simulation and processing unit receiving computer sends also correctly responds, and completes computer initialization; The RS232 keyboard signal with communication check byte and data statistics byte sent by PS/2 keyboard and mouse switching device shifter accesses PS/2 keyboard signal simulation and processing unit by RS232 signal input interface, PS/2 keyboard signal simulation and processing unit is decoded to RS232 keyboard signal and verifies, store after being verified as correct RS232 keyboard signal, and the PS/2 keyboard signal this RS232 keyboard signal being converted to emulation is transferred to main frame PS/2 keyboard port by PS/2 keyboard signal output interface; The RS232 mouse signal with communication check byte and data statistics byte sent by PS/2 keyboard and mouse switching device shifter accesses PS/2 mouse signal simulation and processing unit by RS232 signal input interface, PS/2 mouse signal simulation and processing unit is decoded to RS232 mouse signal and verifies, store after being verified as correct RS232 mouse signal, and the PS/2 mouse signal this RS232 mouse signal being converted to emulation is transferred to main frame PS/2 mouse port by PS/2 mouse signal output interface.
Described output channel indicating member is made up of multiple LED light, and multiple LED light is all connected with switching gauge tap, each LED light correspondence instruction RS232 signal output interface.
Described first main control chip and the second main control chip all adopt microcontroller chip.
Described RS232 keyboard signal output channel gating chip and RS232 mouse signal output channel gating chip all adopt 5V bus switch chip.
Described PS/2 keyboard signal simulation and processing unit, PS/2 mouse signal simulation and processing unit all adopt microcontroller chip.
The invention has the beneficial effects as follows:
In the present invention, both PS/2 keyboard and mouse switching device shifter and PS/2 keyboard and mouse simulator are merged and uses, the a set of outside PS/2 keyboard of multiple stage computer utility and outside PS/2 mouse can be realized, whenever can realize a set of PS/2 keyboard, mouse far distance controlled multiple stage computing machine, and the outside PS/2 keyboard of any occasion and outside PS/2 mouse disconnect and all can not affect computer operation.Wiring is convenient in the present invention, can extend transmission distance to a certain extent.
The PS/2 signal of external keyboard, mouse is converted to RS232 signal and exports by the present invention, then PS/2 signal RS232 signal being converted to emulation exports to computing machine.The signal transmission link of such keyboard and mouse is transmitted by PS/2 and changes RS232 transmission into, substantially increases transmission range and the antijamming capability of keyboard and mouse signal.The present invention is suitable for using under the strong environment of electromagnetic interference (EMI), effectively can reduce the bit error rate of signal.
Accompanying drawing explanation
Fig. 1 is the composition structural representation of the long-range switched system of a kind of PS/2 keyboard and mouse of the present invention.
Fig. 2 is the composition structured flowchart of PS/2 keyboard and mouse switching device shifter.
Fig. 3 is the software flow schematic diagram of PS/2 keyboard and mouse switching device shifter.
Fig. 4 is the composition structured flowchart of PS/2 keyboard and mouse simulator.
Fig. 5 is the software flow schematic diagram of PS/2 keyboard and mouse simulator.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
As shown in Figure 1, the long-range switched system of a kind of PS/2 keyboard and mouse of the present invention, is made up of PS/2 keyboard and mouse switching device shifter and multiple PS/2 keyboard and mouse simulator.
As shown in Figure 2, PS/2 keyboard and mouse switching device shifter by outside PS/2 input through keyboard interface, outside PS/2 mouse input interface, PS/2 keyboard signal receive to receive with processing unit, PS/2 mouse signal and processing unit, switch gauge tap, output channel indicating member, two 5V power source semiconductor switches, multiple RS232 signal output interfaces form.
PS/2 keyboard signal receives and comprises the first main control chip and RS232 keyboard signal output channel gating chip with processing unit, and PS/2 mouse signal receives and comprises the second main control chip and RS232 mouse signal output channel gating chip with processing unit; Output channel indicating member comprises multiple LED light, and the number of LED light is determined according to the number of RS232 signal output interface, each LED light correspondence instruction RS232 signal output interface.
Outside PS/2 keyboard is connected with outside PS/2 input through keyboard interface, and outside PS/2 input through keyboard interface receives with PS/2 keyboard signal and is connected with the first main control chip in processing unit, and the first main control chip is connected with RS232 keyboard signal output channel gating chip; Outside PS/2 mouse is connected with outside PS/2 mouse input interface, and outside PS/2 mouse input interface receives with PS/2 mouse signal and is connected with the second main control chip in processing unit, and the second main control chip is connected with RS232 mouse signal output channel gating chip; Each RS232 signal output interface is all connected with RS232 mouse signal output channel gating chip with RS232 keyboard signal output channel gating chip.
One in two 5V power source semiconductor switches receives with PS/2 keyboard signal with outside PS/2 input through keyboard interface respectively and is connected with the first main control chip in processing unit, and another in two 5V power source semiconductor switches receives with PS/2 mouse signal with outside PS/2 mouse input interface respectively and be connected with the second main control chip in processing unit.Switch gauge tap to receive with PS/2 keyboard signal respectively to receive with the first main control chip in processing unit, PS/2 mouse signal and be connected with the second main control chip in processing unit.Multiple LED light in output channel indicating member are all connected with switching gauge tap.
As shown in Figure 4, PS/2 keyboard and mouse simulator is made up of RS232 signal input interface, PS/2 keyboard signal simulation and processing unit, PS/2 mouse signal simulation and processing unit, PS/2 keyboard signal output interface and PS/2 mouse signal output interface.In PS/2 keyboard and mouse switching device shifter, each RS232 signal output interface is connected respectively a PS/2 keyboard and mouse simulator, that is each RS232 signal output interface is connected with the RS232 signal input interface in a PS/2 keyboard and mouse simulator respectively, the number of RS232 signal output interface is equal with the number of PS/2 keyboard and mouse simulator, and namely the number of RS232 signal output interface is also equal with the number of RS232 signal input interface.
RS232 signal input interface is connected with PS/2 keyboard signal simulation and processing unit, PS/2 mouse signal simulation and processing unit respectively, outside RS232 keyboard signal and RS232 mouse signal are by RS232 signal input interface connecting system, namely PS/2 keyboard signal simulation and processing unit receives outside RS232 keyboard signal by RS232 signal input interface, and PS/2 mouse signal simulation and processing unit receives outside RS232 mouse signal by RS232 signal input interface; PS/2 keyboard signal simulation and processing unit is connected with PS/2 keyboard signal output interface, and PS/2 keyboard signal simulation and processing unit carries out communication by PS/2 keyboard signal output interface and main frame PS/2 keyboard port; PS/2 mouse signal simulation and processing unit is connected with PS/2 mouse signal output interface, and PS/2 mouse signal simulation and processing unit carries out communication by PS/2 mouse signal output interface and main frame PS/2 mouse port.
In PS/2 keyboard and mouse simulator, PS/2 keyboard signal simulation and processing unit a kind ofly RS232 interface data is converted to PS/2 keyboard communication protocol and carries out the interface protocol converting unit of communication with computing machine; PS/2 mouse signal simulation and processing unit a kind ofly RS232 interface data is converted to PS/2 mouse communication protocol and carries out the interface protocol converting unit of communication with computing machine.PS/2 keyboard signal simulation and processing unit simulation PS/2 keyboard communicates with computing machine, PS/2 mouse signal simulation and processing unit simulation PS/2 mouse communicates with computing machine, complete the identifying of computing machine to PS/2 keyboard and PS/2 mouse, ensure that PS/2 keyboard in computer booting process, the identification of PS/2 mouse are correct, ensure PS/2 keyboard, PS/2 mouse normal initialization, do not affect mutually.Transmitting portion and PS/2 keyboard signal output interface and PS/2 mouse signal output interface all adopt the PS/2 host-host protocol of standard and sequential that the PS/2 keyboard signal of emulation, PS/2 mouse signal are sent to the corresponding PS/2 port of main frame, and computing machine is still correctly started shooting when directly connecting outside PS/2 keyboard and outside PS/2 mouse.
The software flow of PS/2 keyboard and mouse switching device shifter as shown in Figure 3, after powering on, PS/2 keyboard signal receive with the first main control chip initialization in processing unit after time delay 590ms powered to outside PS/2 keyboard by control 5V power source semiconductor switch, first main control chip analog computer carries out initialization and enable operation by outside PS/2 input through keyboard interface to outside PS/2 keyboard, discharge clock line and the data line of outside PS/2 keyboard, read self-inspection that outside PS/2 keyboard uploads by instruction and device id simultaneously, complete the Initialize installation of outside PS/2 keyboard and send the enable outside PS/2 keyboard of the corresponding command, it is made to enter normal duty, after trigger external PS/2 keyboard, first main control chip reads PS/2 keyboard signal that outside PS/2 keyboard uploads and stores, circular test switches the state of gauge tap and judges toggle bit simultaneously, light LED light corresponding to this RS232 signal output interface by RS232 keyboard signal output channel gating CE corresponding RS232 signal output interface simultaneously, now, the PS/2 keyboard signal received judges by the first main control chip, if be judged as effective PS/2 keyboard signal, it is encoded, be converted to RS232 keyboard signal after adding communication check byte and data statistics byte to be exported by this RS232 signal output interface, the clock line dragging down outside PS/2 keyboard before transmitting communicates to suppress it, and discharge clock line after sending, if be judged as invalid PS/2 keyboard signal, re-power to outside PS/2 keyboard by control 5V power source semiconductor switch, repeat said process, until export effective PS/2 keyboard signal, ensure the correctness sending to the RS232 keyboard signal of PS/2 keyboard and mouse simulator, the RS232 keyboard signal exported is with communication check byte and data statistics byte.
In like manner, after powering on, PS/2 mouse signal receive with the second main control chip initialization in processing unit after time delay 590ms powered to outside PS/2 mouse by control 5V power source semiconductor switch, second main control chip analog computer carries out initialization and enable operation by outside PS/2 mouse input interface to outside PS/2 mouse, discharge clock line and the data line of outside PS/2 mouse, read self-inspection that outside PS/2 mouse uploads by instruction and device id simultaneously, complete the Initialize installation of outside PS/2 mouse and send the enable outside PS/2 mouse of the corresponding command, it is made to enter normal duty, after trigger external PS/2 mouse, second main control chip reads PS/2 mouse signal that outside PS/2 mouse uploads and stores, circular test switches the state of gauge tap and judges toggle bit simultaneously, light LED light corresponding to this RS232 signal output interface by RS232 mouse signal output channel gating CE corresponding RS232 signal output interface simultaneously, now, the PS/2 mouse signal received judges by the second main control chip, if be judged as effective PS/2 mouse signal, it is encoded, be converted to RS232 mouse signal after adding communication check byte and data statistics byte to be exported by this RS232 signal output interface, the clock line dragging down outside PS/2 mouse before transmitting communicates to suppress it, and discharge clock line after sending, if be judged as invalid PS/2 mouse signal, re-power to outside PS/2 mouse by control 5V power source semiconductor switch, repeat said process, until export effective PS/2 mouse signal, ensure the correctness sending to the RS232 mouse signal of PS/2 keyboard and mouse simulator, the RS232 mouse signal exported is with communication check byte and data statistics byte.
As shown in Figure 5, agreement aspect is divided into the reception of computer initialization processing section and RS232 signal, checking and storage area to the software flow of PS/2 keyboard and mouse simulator.In computer booting process, the PS/2 keyboard initialization command that PS/2 keyboard signal simulation and processing unit receiving computer sends also correctly responds, the PS/2 mouse initialization command that PS/2 mouse signal simulation and processing unit receiving computer sends also correctly responds, and completes computer initialization.After powering on, the RS232 keyboard signal with communication check byte and data statistics byte that PS/2 keyboard and mouse switching device shifter sends passes through RS232 signal input interface connecting system, in computer booting initialization procedure, PS/2 keyboard signal simulation and processing unit receives RS232 keyboard signal, RS232 keyboard signal with communication check byte and data statistics byte is decoded and verified, add communication check byte and can ensure that the signal that decode procedure receives is correct RS232 keyboard signal, if be verified as correct RS232 keyboard signal, then PS/2 keyboard signal simulation and processing unit stores correct RS232 keyboard signal and this RS232 keyboard signal is converted to the PS/2 keyboard signal of emulation, the PS/2 keyboard signal of emulation is transferred to main frame PS/2 keyboard port by PS/2 keyboard signal output interface.
In like manner, after powering on, the RS232 mouse signal with communication check byte and data statistics byte that PS/2 keyboard and mouse switching device shifter sends passes through RS232 signal input interface connecting system, in computer booting initialization procedure, PS/2 mouse signal simulation and processing unit receives RS232 mouse signal, RS232 mouse signal with communication check byte and data statistics byte is decoded and verified, add communication check byte and can ensure that the signal that decode procedure receives is correct RS232 mouse signal, if be verified as correct RS232 mouse signal, then PS/2 mouse signal simulation and processing unit stores correct RS232 mouse signal and this RS232 mouse signal is converted to the PS/2 mouse signal of emulation, the PS/2 mouse signal of emulation is transferred to main frame PS/2 mouse port by PS/2 mouse signal output interface.
In present embodiment, the reception of PS/2 keyboard signal and the RS232 keyboard signal output channel gating chip in processing unit, PS/2 mouse signal receive and all adopt 5V bus switch chip with the RS232 mouse signal output channel gating chip in processing unit.
In present embodiment, the reception of PS/2 keyboard signal and the first main control chip in processing unit, PS/2 mouse signal receive and all adopt microcontroller (MCU) chip with the second main control chip in processing unit.

Claims (5)

1. the long-range switched system of PS/2 keyboard and mouse, is characterized in that, comprises PS/2 keyboard and mouse switching device shifter and multiple PS/2 keyboard and mouse simulator;
Described PS/2 keyboard and mouse switching device shifter comprises: the PS/2 keyboard signal be made up of the first main control chip and RS232 keyboard signal output channel gating chip receives and processing unit, the outside PS/2 input through keyboard interface be connected with the first main control chip, the 5V power source semiconductor switch be connected with outside PS/2 input through keyboard interface with the first main control chip respectively, the PS/2 mouse signal be made up of the second main control chip and RS232 mouse signal output channel gating chip receives and processing unit, the outside PS/2 mouse input interface be connected with the second main control chip, another 5V power source semiconductor switch be connected with outside PS/2 mouse input interface with the second main control chip respectively, the switching gauge tap be connected with the second main control chip with the first main control chip respectively, the output channel indicating member be connected with switching gauge tap, multiple RS232 signal output interface, each RS232 signal output interface is all connected with RS232 mouse signal output channel gating chip with RS232 keyboard signal output channel gating chip,
Outside PS/2 keyboard is by outside PS/2 input through keyboard interface connecting system, after described first main control chip initialization, time delay 590ms powers to outside PS/2 keyboard by control 5V power source semiconductor switch, analog computer discharges clock line and the data line of outside PS/2 keyboard, read self-inspection that outside PS/2 keyboard uploads by instruction and device id, complete the Initialize installation of outside PS/2 keyboard and send the enable outside PS/2 keyboard of the corresponding command, making it enter normal duty, after trigger external PS/2 keyboard, first main control chip reads PS/2 keyboard signal that outside PS/2 keyboard uploads and stores, circular test switches the state of gauge tap and judges toggle bit simultaneously, carry out strobe state instruction by output channel indicating member by the corresponding RS232 signal output interface of RS232 keyboard signal output channel gating CE simultaneously, the PS/2 keyboard signal received judges by the first main control chip, if be judged as effective PS/2 keyboard signal, it is encoded, be converted to RS232 keyboard signal after adding communication check byte and data statistics byte to be exported by this RS232 signal output interface, if be judged as invalid PS/2 keyboard signal, re-power to outside PS/2 keyboard by control 5V power source semiconductor switch, repeat said process until export effective PS/2 keyboard signal,
Outside PS/2 mouse is by outside PS/2 mouse input interface connecting system, after described second main control chip initialization, time delay 590ms powers to outside PS/2 mouse by control 5V power source semiconductor switch, analog computer discharges clock line and the data line of outside PS/2 mouse, read self-inspection that outside PS/2 mouse uploads by instruction and device id, complete the Initialize installation of outside PS/2 mouse and send the enable outside PS/2 mouse of the corresponding command, making it enter normal duty, after trigger external PS/2 mouse, second main control chip reads PS/2 mouse signal that outside PS/2 mouse uploads and stores, circular test switches the state of gauge tap and judges toggle bit simultaneously, carry out strobe state instruction by output channel indicating member by the corresponding RS232 signal output interface of RS232 mouse signal output channel gating CE simultaneously, the PS/2 mouse signal received judges by the second main control chip, if be judged as effective PS/2 mouse signal, it is encoded, be converted to RS232 mouse signal after adding communication check byte and data statistics byte to be exported by this RS232 signal output interface, if be judged as invalid PS/2 mouse signal, re-power to outside PS/2 mouse by control 5V power source semiconductor switch, repeat said process until export effective PS/2 mouse signal,
Described PS/2 keyboard and mouse simulator comprises: RS232 signal input interface, the PS/2 keyboard signal simulation and processing unit be connected with RS232 signal input interface, PS/2 mouse signal simulation and processing unit, the PS/2 keyboard signal output interface be connected with PS/2 keyboard signal simulation and processing unit, the PS/2 mouse signal output interface be connected with PS/2 mouse signal simulation and processing unit; Described PS/2 keyboard signal output interface is connected with main frame PS/2 keyboard port, and described PS/2 mouse signal output interface is connected with main frame PS/2 mouse port; In described PS/2 keyboard and mouse switching device shifter, each RS232 signal output interface is connected respectively the RS232 signal input interface in a PS/2 keyboard and mouse simulator;
In computer booting process, the PS/2 keyboard initialization command that PS/2 keyboard signal simulation and processing unit receiving computer sends also correctly responds, the PS/2 mouse initialization command that PS/2 mouse signal simulation and processing unit receiving computer sends also correctly responds, and completes computer initialization; The RS232 keyboard signal with communication check byte and data statistics byte sent by PS/2 keyboard and mouse switching device shifter accesses PS/2 keyboard signal simulation and processing unit by RS232 signal input interface, PS/2 keyboard signal simulation and processing unit is decoded to RS232 keyboard signal and verifies, store after being verified as correct RS232 keyboard signal, and the PS/2 keyboard signal this RS232 keyboard signal being converted to emulation is transferred to main frame PS/2 keyboard port by PS/2 keyboard signal output interface; The RS232 mouse signal with communication check byte and data statistics byte sent by PS/2 keyboard and mouse switching device shifter accesses PS/2 mouse signal simulation and processing unit by RS232 signal input interface, PS/2 mouse signal simulation and processing unit is decoded to RS232 mouse signal and verifies, store after being verified as correct RS232 mouse signal, and the PS/2 mouse signal this RS232 mouse signal being converted to emulation is transferred to main frame PS/2 mouse port by PS/2 mouse signal output interface.
2. the long-range switched system of a kind of PS/2 keyboard and mouse according to claim 1, it is characterized in that, described output channel indicating member is made up of multiple LED light, and multiple LED light is all connected with switching gauge tap, each LED light correspondence instruction RS232 signal output interface.
3. the long-range switched system of a kind of PS/2 keyboard and mouse according to claim 1, is characterized in that, described first main control chip and the second main control chip all adopt microcontroller chip.
4. the long-range switched system of a kind of PS/2 keyboard and mouse according to claim 1, is characterized in that, described RS232 keyboard signal output channel gating chip and RS232 mouse signal output channel gating chip all adopt 5V bus switch chip.
5. the long-range switched system of a kind of PS/2 keyboard and mouse according to claim 1, is characterized in that, described PS/2 keyboard signal simulation and processing unit, PS/2 mouse signal simulation and processing unit all adopt microcontroller chip.
CN201410783251.1A 2014-12-16 2014-12-16 PS/2 keyboard-mouse remote switching system Pending CN104503594A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410783251.1A CN104503594A (en) 2014-12-16 2014-12-16 PS/2 keyboard-mouse remote switching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410783251.1A CN104503594A (en) 2014-12-16 2014-12-16 PS/2 keyboard-mouse remote switching system

Publications (1)

Publication Number Publication Date
CN104503594A true CN104503594A (en) 2015-04-08

Family

ID=52944996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410783251.1A Pending CN104503594A (en) 2014-12-16 2014-12-16 PS/2 keyboard-mouse remote switching system

Country Status (1)

Country Link
CN (1) CN104503594A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117276A (en) * 2015-08-24 2015-12-02 中国航空无线电电子研究所 Universal multi-channel PS2 interface signal hot switcher and switching method therefor
CN107340896A (en) * 2017-07-28 2017-11-10 孙志逸 A kind of more controlled mouse keyboard systems
CN107562221A (en) * 2017-08-21 2018-01-09 北京航空航天大学 PS/2 keyboard and mouse interface online experiment methods based on FPGA online experiment platforms
CN110213013A (en) * 2018-02-28 2019-09-06 中航光电科技股份有限公司 A kind of telecommunication system and method based on PS/2 interface
CN110766925A (en) * 2018-12-31 2020-02-07 北京安天网络安全技术有限公司 Circuit and system for one-way remote transmission of keyboard and mouse signals
CN111722822A (en) * 2020-06-19 2020-09-29 艾索信息股份有限公司 Shared desktop control system
CN113076012A (en) * 2021-04-21 2021-07-06 深圳中科爱讯科技有限公司 KM switcher control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1677325A (en) * 2004-03-31 2005-10-05 联想(北京)有限公司 Method and device for two-way communication between virtual PS/2 apparatus and host machine
CN101634904A (en) * 2008-07-25 2010-01-27 宏正自动科技股份有限公司 Kvm system
CN201532612U (en) * 2009-05-08 2010-07-21 沈雷 Controlled end of digital type KVM switcher
US7793019B1 (en) * 2004-08-25 2010-09-07 American Megatrends, Inc. Redirecting input and output for multiple computers
CN202018635U (en) * 2011-04-02 2011-10-26 浪潮电子信息产业股份有限公司 Device capable of realizing switching of PS (personal system)/2 signals in KVM (kernel-based virtual machine)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1677325A (en) * 2004-03-31 2005-10-05 联想(北京)有限公司 Method and device for two-way communication between virtual PS/2 apparatus and host machine
US7793019B1 (en) * 2004-08-25 2010-09-07 American Megatrends, Inc. Redirecting input and output for multiple computers
CN101634904A (en) * 2008-07-25 2010-01-27 宏正自动科技股份有限公司 Kvm system
CN201532612U (en) * 2009-05-08 2010-07-21 沈雷 Controlled end of digital type KVM switcher
CN202018635U (en) * 2011-04-02 2011-10-26 浪潮电子信息产业股份有限公司 Device capable of realizing switching of PS (personal system)/2 signals in KVM (kernel-based virtual machine)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117276A (en) * 2015-08-24 2015-12-02 中国航空无线电电子研究所 Universal multi-channel PS2 interface signal hot switcher and switching method therefor
CN107340896A (en) * 2017-07-28 2017-11-10 孙志逸 A kind of more controlled mouse keyboard systems
CN107562221A (en) * 2017-08-21 2018-01-09 北京航空航天大学 PS/2 keyboard and mouse interface online experiment methods based on FPGA online experiment platforms
CN107562221B (en) * 2017-08-21 2019-11-15 北京航空航天大学 PS/2 keyboard and mouse interface online experiment method based on FPGA online experiment platform
CN110213013A (en) * 2018-02-28 2019-09-06 中航光电科技股份有限公司 A kind of telecommunication system and method based on PS/2 interface
CN110766925A (en) * 2018-12-31 2020-02-07 北京安天网络安全技术有限公司 Circuit and system for one-way remote transmission of keyboard and mouse signals
CN110766925B (en) * 2018-12-31 2020-09-29 北京安天网络安全技术有限公司 Circuit and system for one-way remote transmission of keyboard and mouse signals
CN111722822A (en) * 2020-06-19 2020-09-29 艾索信息股份有限公司 Shared desktop control system
CN113076012A (en) * 2021-04-21 2021-07-06 深圳中科爱讯科技有限公司 KM switcher control method

Similar Documents

Publication Publication Date Title
CN104503594A (en) PS/2 keyboard-mouse remote switching system
CN205193795U (en) Multi -functional interface system of extensible
CN204065979U (en) One exempts from instrument dismounting PCIE adapter
CN101957787A (en) Method for debugging blade server by using BMC module
CN103198042A (en) PCI (programmable communications interface) aviation serial bus board and dynamic data loading processing method
CN114721992B (en) Server and server management system thereof
CN102708034A (en) Computer remote and local monitoring system based on CPU (central processing unit) with serial port function
CN205942670U (en) Multi -computer auto -change over device
CN102880235B (en) Single-board computer based on loongson 2F central processing unit (CPU) as well as reset management and using method of single-board computer
CN112256615B (en) USB conversion interface device
CN104503822A (en) PS/2 keyboard and mouse simulator
CN201751896U (en) ARINC429 bus testing device
CN204390184U (en) A kind of USB+PS2 double nip keyboard
WO2010060237A1 (en) Network computer based on fpga
CN101344874B (en) Method and device for controlling I2C device
WO2022188658A1 (en) Method and circuit for multiplexing usb interface, and electronic device and storage medium
CN202018635U (en) Device capable of realizing switching of PS (personal system)/2 signals in KVM (kernel-based virtual machine)
CN105068962A (en) I2C controller access method and I2C controller access system
CN213581897U (en) Novel display control calculation module
CN204406395U (en) A kind of high speed communication interacted system of CPCI framework
CN203630782U (en) Universal serial bus (USB) interface chip for embedded applications
CN104503595A (en) PS/2 keyboard-mouse switching device
CN105243829B (en) Portable analog meter module
KR200439053Y1 (en) Device having reconfigurable chip for interacting with processor using serial communication channel and system thereof
CN203759590U (en) Remote monitoring and operating expansion card of Feiteng platform

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20150408