[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN102364452A - Realization method for thermal plugging use of PS2 interface keyboard and mouse - Google Patents

Realization method for thermal plugging use of PS2 interface keyboard and mouse Download PDF

Info

Publication number
CN102364452A
CN102364452A CN2011101745944A CN201110174594A CN102364452A CN 102364452 A CN102364452 A CN 102364452A CN 2011101745944 A CN2011101745944 A CN 2011101745944A CN 201110174594 A CN201110174594 A CN 201110174594A CN 102364452 A CN102364452 A CN 102364452A
Authority
CN
China
Prior art keywords
mouse
keyboard
initialization
interface
interface module
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
CN2011101745944A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry Co Ltd
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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN2011101745944A priority Critical patent/CN102364452A/en
Publication of CN102364452A publication Critical patent/CN102364452A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The invention provides a realization method for thermal plugging use of a PS2 interface keyboard and a mouse. An interface module for thermal plugging of the keyboard and the mouse is connected among the PS2 interface keyboard, the mouse and a PS2 interface or is arranged in a chassis and is directly and externally connected with the PS2 interface keyboard and the mouse, a data receiving and transmitting unit and a data processing unit are respectively arranged in the interface module, and communication between the data receiving and transmitting unit and the data processing unit adopts an I2C protocol bus. Compared with the prior art, the whole process is simple and convenient, the thermal plugging of the PS2 interface keyboard and the mouse can be achieved easily, and the method has good value for promotion and application.

Description

The implementation method of the hot-swappable use of a kind of PS2 interface keyboard mouse
Technical field
The present invention relates to a kind of field of computer technology, the implementation method of the hot-swappable use of specifically a kind of PS2 interface keyboard mouse.
Background technology
Progress, development of computer along with science and technology; The usb protocol interface is being tending towards unifiedly calculating the machine Peripheral Interface with its excellent characteristic; PS2 interface keyboard, mouse are not escaped by luck yet; The hot-swappable property of usb protocol interface makes USB interface keyboard, mouse substitute traditional P S2 interface keyboard, mouse on a large scale, but much keyboard, mouse response speed is being required than higher occasion, and the status of PS2 protocol interface keyboard, mouse still can't replace.Compare with USB interface keyboard, mouse; Though the response speed of PS2 protocol interface keyboard, mouse is fast; But it is not hot-swappable; Use and be not so good as the USB interface keyboard and mouse conveniently, thereby how can realize the hot-swappable use of PS2 protocol interface keyboard, mouse, the application that makes it is conveniently become a great problem as the usb protocol keyboard and mouse.
Summary of the invention
Technical assignment of the present invention is to the deficiency in prior art, and the implementation method of the hot-swappable use of a kind of PS2 interface keyboard mouse is provided.
Technical scheme of the present invention realizes by following mode; The implementation method of the hot-swappable use of this a kind of PS2 interface keyboard mouse; Its structure comprises the PS2 interface module of hot plug; Be respectively arranged with data transmit-receive unit, data processing unit in this interface module, adopt the I2C protocol bus to communicate between above-mentioned data transmit-receive unit, the data processing unit, concrete implementation method is following: at first with PS2 interface keyboard, the mouse signal input end signal as interface module; The output terminal of interface module is connected to the PS2 port of main frame keyboard, mouse; Carry out the initialization of keyboard, mouse initialization and main frame then respectively separately: at first when computer starting, interface module simulation PS2 interface mouse, keyboard are accomplished the initialization of host side PS2 mouth, when main frame is not accomplished initialization; The interface module inquiry also receives the main frame initialization command and sends handshake, accomplishes the main frame initialization; Interface module analog computer start-up course is accomplished the initialization of keyboard, mouse; When the initialization of keyboard, mouse imperfect tense; The initialization command of interface module inquiry and reception keyboard, mouse sends the initialization that corresponding configuration data is accomplished mouse-keyboard with this initialization command then; After main frame was accomplished initialization, when the keyboard initialization was accomplished, main frame and keyboard were connected to the keyboard data passage, and when the mouse initialization was accomplished, main frame and mouse were connected to the mouse data passage.
Above-mentioned PS2 interface module is inserted on the computing machine PS2 interface.
Above-mentioned PS2 interface module is arranged in the cabinet, direct external PS2 interface keyboard, mouse.
Said mouse, when keyboard is pulled out, then remove mouse data passage, the keyboard data passage of corresponding foundation, remove corresponding initialization complement mark, repeat above-mentioned mouse, keyboard initialization procedure.
Described data transmit-receive unit is a complex programmable logic device (CPLD).
The beneficial effect that the present invention is compared with prior art produced is:
The implementation method of the hot-swappable use of a kind of PS2 interface keyboard mouse of the present invention is between PS2 interface keyboard, mouse and computing machine PS2 interface, to be connected one to realize keyboard, mouse hot swappable interface module; Perhaps interface module is implanted in the cabinet; Direct external PS2 interface keyboard, mouse; Thereby, the hot plug easily as usb protocol interface keyboard, mouse of PS2 interface keyboard, mouse is used.The initialization of mouse, keyboard does not rely on the state of main frame yet during use, carries out initialization separately, and whole process is simple and convenient, is easy to realize the hot-swappable function of PS2 interface keyboard mouse, has good value for applications.
Description of drawings
Accompanying drawing 1 is the structured flowchart that keyboard and mouse of the present invention is realized hot-plugging technology.
Accompanying drawing 2 is process flow diagrams that keyboard and mouse of the present invention is realized hot-plugging technology.
Mark in the accompanying drawing is represented respectively:
1, interface module, 2, the data transmit-receive unit, 3, data processing unit.
Embodiment
Below in conjunction with accompanying drawing the implementation method of the hot-swappable use of a kind of PS2 interface keyboard mouse provided by the present invention is done following the detailed description.
Be to realize the hot-swappable use of PS2 interface keyboard mouse, a great problem that at first will solve be interface module 1 how accurately reception how invalid data is accurately discerned and is filtered from the valid data of main frame or keyboard, mouse.
For addressing the above problem; The implementation method of the hot-swappable use of a kind of PS2 interface keyboard mouse is provided at present; Like accompanying drawing 1, shown in Figure 2; Its structure comprises the PS2 interface module 1 of hot plug, is respectively arranged with data transmit-receive unit 2, data processing unit 3 in this interface module 1, adopts the I2C protocol bus to communicate between above-mentioned data transmit-receive unit 2, the data processing unit 3; The transmitting-receiving of the two-way PS2 data of initial phase is accomplished in data transmit-receive unit 2, the control that data processing unit 3 is accomplished transceive data and data channel.
Concrete implementation method is following: at first with PS2 interface keyboard, the mouse signal input end signal as interface module 1; The output terminal of interface module 1 is connected to the PS2 port of main frame keyboard, mouse; Carry out the initialization of keyboard, mouse initialization and main frame then respectively separately: at first when computer starting; Interface module 1 simulation PS2 interface mouse, keyboard are accomplished the initialization of host side PS2 mouth; When main frame was not accomplished initialization, interface module 1 inquiry also received the main frame initialization command and sends handshake, accomplishes the main frame initialization; Interface module 1 analog computer start-up course is accomplished the initialization of keyboard, mouse; When the initialization of keyboard, mouse imperfect tense; The initialization command of interface module 1 inquiry and reception keyboard, mouse sends the initialization that corresponding configuration data is accomplished mouse-keyboard with this initialization command then; After main frame was accomplished initialization, when the keyboard initialization was accomplished, main frame and keyboard were connected to the keyboard data passage, and when the mouse initialization was accomplished, main frame and mouse were connected to the mouse data passage.
Above-mentioned PS2 interface module 1 is inserted on the computing machine PS2 interface.
Above-mentioned PS2 interface module 1 is arranged in the cabinet, direct external PS2 interface keyboard, mouse.
Said mouse, when keyboard is pulled out, then remove mouse data passage, the keyboard data passage of corresponding foundation, remove corresponding initialization complement mark, repeat above-mentioned mouse, keyboard initialization procedure.
Described data transmit-receive unit 2 is a complex programmable logic device (CPLD).
Main frame PS2 interface does not rely on keyboard to the implementation method of the hot-swappable use of a kind of PS2 interface keyboard mouse of the present invention when computer starting the time, mouse carries out initialization procedure; As the PS2 interface keyboard, when mouse is plugged charged computing machine; The initialization of keyboard, mouse does not rely on the current state of main frame yet; But accomplish the initialization of main frame and key mouse respectively by the interface module that provides 1; After detecting both sides all to accomplish initialization,, realized the power-up initializing process of the independent respectively PS2 of the completion agreement of keyboard, mouse and main frame, had good value for applications by the communicating by letter of interface module 1 connected bond mouse and main frame.

Claims (5)

1. the implementation method of the hot-swappable use of a PS2 interface keyboard mouse; It is characterized in that its structure comprises the PS2 interface module of hot plug; Be respectively arranged with data transmit-receive unit, data processing unit in this interface module; Adopt the I2C protocol bus to communicate between above-mentioned data transmit-receive unit, the data processing unit; Concrete implementation method is following: at first with PS2 interface keyboard, the mouse signal input end signal as interface module, the output terminal of interface module is connected to the PS2 port of main frame keyboard, mouse, carries out the initialization of keyboard, mouse initialization and main frame then respectively separately: at first when computer starting; Interface module simulation PS2 interface mouse, keyboard are accomplished the initialization of host side PS2 mouth; When main frame was not accomplished initialization, the interface module inquiry also received the main frame initialization command and sends handshake, accomplishes the main frame initialization; Interface module analog computer start-up course is accomplished the initialization of keyboard, mouse; When the initialization of keyboard, mouse imperfect tense; The initialization command of interface module inquiry and reception keyboard, mouse sends the initialization that corresponding configuration data is accomplished mouse-keyboard with this initialization command then; After main frame was accomplished initialization, when the keyboard initialization was accomplished, main frame and keyboard were connected to the keyboard data passage, and when the mouse initialization was accomplished, main frame and mouse were connected to the mouse data passage.
2. the implementation method of the hot-swappable use of a kind of PS2 interface keyboard mouse according to claim 1 is characterized in that on the above-mentioned PS2 interface module insertion computing machine PS2 interface.
3. the implementation method of the hot-swappable use of a kind of PS2 interface keyboard mouse according to claim 1 is characterized in that above-mentioned PS2 interface module is arranged in the cabinet, direct external PS2 interface keyboard, mouse.
4. the implementation method of the hot-swappable use of a kind of PS2 interface keyboard mouse according to claim 1; It is characterized in that said mouse, when keyboard is pulled out; Then remove mouse data passage, the keyboard data passage of corresponding foundation; Remove corresponding initialization complement mark, repeat above-mentioned mouse, keyboard initialization procedure.
5. the implementation method of the hot-swappable use of a kind of PS2 interface keyboard mouse according to claim 1 is characterized in that described data transmit-receive unit is a complex programmable logic device (CPLD).
CN2011101745944A 2011-06-27 2011-06-27 Realization method for thermal plugging use of PS2 interface keyboard and mouse Pending CN102364452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101745944A CN102364452A (en) 2011-06-27 2011-06-27 Realization method for thermal plugging use of PS2 interface keyboard and mouse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101745944A CN102364452A (en) 2011-06-27 2011-06-27 Realization method for thermal plugging use of PS2 interface keyboard and mouse

Publications (1)

Publication Number Publication Date
CN102364452A true CN102364452A (en) 2012-02-29

Family

ID=45691018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101745944A Pending CN102364452A (en) 2011-06-27 2011-06-27 Realization method for thermal plugging use of PS2 interface keyboard and mouse

Country Status (1)

Country Link
CN (1) CN102364452A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461989A (en) * 2013-09-24 2015-03-25 联想(北京)有限公司 Method and equipment for hot plugging of interface module
CN105740192A (en) * 2016-01-28 2016-07-06 山东超越数控电子有限公司 PS2 interface keyboard/mouse hot plug system and realization method thereof
CN107608924A (en) * 2017-09-19 2018-01-19 新华三技术有限公司 A kind of control method and device of interface board hot plug

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040168006A1 (en) * 2003-02-26 2004-08-26 Chun-Liang Lee Hot plug circuit for enclosure management systems and method thereof
CN1677325A (en) * 2004-03-31 2005-10-05 联想(北京)有限公司 Method and device for two-way communication between virtual PS/2 apparatus and host machine
CN2739698Y (en) * 2004-09-14 2005-11-09 威芯科技股份有限公司 Portable network type keyboard/screen/mouse adapting device
CN1959599A (en) * 2005-11-04 2007-05-09 英业达股份有限公司 Online switching interfaces of peripheral devices in multitask mode computer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040168006A1 (en) * 2003-02-26 2004-08-26 Chun-Liang Lee Hot plug circuit for enclosure management systems and method thereof
CN1677325A (en) * 2004-03-31 2005-10-05 联想(北京)有限公司 Method and device for two-way communication between virtual PS/2 apparatus and host machine
CN2739698Y (en) * 2004-09-14 2005-11-09 威芯科技股份有限公司 Portable network type keyboard/screen/mouse adapting device
CN1959599A (en) * 2005-11-04 2007-05-09 英业达股份有限公司 Online switching interfaces of peripheral devices in multitask mode computer

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461989A (en) * 2013-09-24 2015-03-25 联想(北京)有限公司 Method and equipment for hot plugging of interface module
CN104461989B (en) * 2013-09-24 2018-06-01 联想(北京)有限公司 A kind of method and apparatus of interface module hot plugging
CN105740192A (en) * 2016-01-28 2016-07-06 山东超越数控电子有限公司 PS2 interface keyboard/mouse hot plug system and realization method thereof
CN107608924A (en) * 2017-09-19 2018-01-19 新华三技术有限公司 A kind of control method and device of interface board hot plug
CN107608924B (en) * 2017-09-19 2020-12-04 新华三技术有限公司 Method and device for controlling hot plug of interface board

Similar Documents

Publication Publication Date Title
CN105700732B (en) It is used for transmission the devices, systems, and methods of touch sensor information
EP2587385B1 (en) Usb key device and method for realizing intelligent card communication using usb interface
CN203224819U (en) Mainboard
CN202564744U (en) Bridger between high-speed peripheral assembly interconnection port and USB 3.0 device
CN102664873A (en) Method for realization of KVM-OVER-IP of domestic Loongson CPU server with BMC
CN204576500U (en) A kind of usb communication circuit of compatible I2C communication and system
CN202394228U (en) USB (Universal Serial Bus) equipment
CN101247491A (en) Communication protocol conversion device, on-line upgrading system and method for TV set software
CN102364452A (en) Realization method for thermal plugging use of PS2 interface keyboard and mouse
CN102693203A (en) Embedded USB (universal serial bus) host
CN202995719U (en) USB (universal serial bus) interface extension equipment and electronic terminal
CN202512565U (en) IOBOX board
CN201812253U (en) Keyboard/mouse device capable of switching PS/2 (Personal System/2) to USB (Universal Serial Bus)
CN102176589A (en) Concentrator for universal serial bus (USB)-8 serial port RS422
CN203366045U (en) A digital quantity input-output device based on a CAN bus
CN202600691U (en) Circuit structure of USB (Universal Serial Bus) control module
CN201378316Y (en) Universal input/output interface extension circuit and mobile terminal with same
CN201156233Y (en) Four in one USB HUB
CN105740192A (en) PS2 interface keyboard/mouse hot plug system and realization method thereof
CN201732362U (en) LIN bus USB conversion device
CN104123257A (en) Universal serial bus devices, communication method, and computer readable storage medium
CN201853230U (en) USB (Universal Serial Bus) to IO (Input Output) module
US20150095540A1 (en) External device and a transmission system and the method of the heterogeneous device
CN201897761U (en) System using touch screen mobile phone as writing pad for computer
CN207676338U (en) A kind of single USB turns RS485, the circuit of RS422, RS232 and Transistor-Transistor Logic level

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120229