CN1285992C - Computer I/O port selector and selection method - Google Patents

Computer I/O port selector and selection method Download PDF

Info

Publication number
CN1285992C
CN1285992C CN 03134824 CN03134824A CN1285992C CN 1285992 C CN1285992 C CN 1285992C CN 03134824 CN03134824 CN 03134824 CN 03134824 A CN03134824 A CN 03134824A CN 1285992 C CN1285992 C CN 1285992C
Authority
CN
China
Prior art keywords
monitor card
mouth
circuit
control
control signal
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.)
Expired - Fee Related
Application number
CN 03134824
Other languages
Chinese (zh)
Other versions
CN1527181A (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN 03134824 priority Critical patent/CN1285992C/en
Publication of CN1527181A publication Critical patent/CN1527181A/en
Application granted granted Critical
Publication of CN1285992C publication Critical patent/CN1285992C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention provides a computer input/output (I/O) port selecting device and a method thereof. The computer input/output (I/O) port selecting device comprises a switching device and a control device, wherein the switching device is used for selecting that the I/O port is connected with the main board of the computer by the pre-arranged rule; /or, the I/O port is selected to be disconnected or connected with an additional device by the pre-arranged rule, and the control device is used for controlling the switching device by the pre-arranged rule. The method comprises the following steps: the present invention can judge whether the additional device of the computer is installed or not; if the additional device of the computer is not installed, the I/O port is switched to be connected with the main board of the computer; if the additional device of the computer is installed, the present invention can judge whether the computer is started; if the computer is judged to be started, the I/O port is manually controlled or automatically controlled to be connected to the main board of the computer or the additional device by the pre-arranged rule, and if the computer is not started, the I/O port is connected to the additional device. The present invention realizes the functions of automatic switching and manual switching when two devices are used to simultaneously occupy a serial channel.

Description

Computing machine input and output (I/O) mouthful selecting arrangement and method
Technical field
The present invention relates to computing machine and infotech, be specifically related to the selecting arrangement and the method for computing machine input and output (I/O) mouth; Be particularly related to the multiplexing and commutation circuit of I/O mouth behind a kind of computing machine.
Background technology
In the server field, stability and manageability are important index.For manageability, to read the status information of server and server is managed from long-range, a monitoring module need be arranged in server inside, information is gathered, handles, sent, and need one can with the interface of external unit communication.Need on mainboard, need to do a communication port more in this case, be used for carrying out communication with the remote monitoring machine.And in the design of 1U rack-mount server highly,, stay the position of an I/O mouth almost unlikely in the back on the plate because the space is very limited more, just need address this problem.
At application number be: 02240983.1 China authorizes in the utility model " computer peripheral device USB Wireless Router " and discloses at a computer peripheral device USB Wireless Router, includes a multiplexer, and is online with host side; One operating and controlling interface device chip (HID) is connected with an output terminal of this multiplexer; One device output terminal is connected with an output terminal of this multiplexer; One busy testing circuit module is connected between this operating and controlling interface device chip and this device output terminal.This authorizes the disclosed device of utility model only externally the USB mouth to be shared, and is not disclosed in inside the I/O mouth is switched.
Therefore, hope can have the I/O interface that can switch between two paths of mainboard and monitor card.
Summary of the invention
The objective of the invention is to design the multiplexing and automatic switch-over circuit of I/O mouth behind the computing machine, when monitoring module is plugged, can be by software or by manually being provided with, the I/O interface of mainboard rear panel is switched between two paths of mainboard and monitor card.When not having monitoring module to plug, this circuit can switch to path on the mainboard automatically.Simultaneously, in order to guarantee under off-mode, to realize control function,, be any state when no matter starting shooting if having under the situation of monitor card appearance, all want after the shutdown and can automatically path be switched on the monitor card.
The invention provides the selecting arrangement of a kind of computing machine input and output (I/O) mouth, comprising: monitor card supervision and control circuit, switching on and shutting down detection and control circuit, control signal input circuit and commutation circuit, wherein:
Monitor card monitors and control circuit is used to judge whether monitor card is plugged, and control I/O mouth switches to computer motherboard when judgement obtains monitor card and do not plug, and judges to obtain keeping when monitor card is plugged the unimpeded of all control signals;
Switching on and shutting down detection and control circuit are used to judge current whether the start, and when judgement obtained current start, the control commutation circuit was switched according to the control of control signal input circuit, and when judgement obtained current the start, control I/O mouth switched to monitor card;
The control signal input circuit is used to import the control signal that I/O mouth state is set;
The control signal that commutation circuit is used for being imported according to the control signal input circuit is connected to computer motherboard or monitor card with described I/O mouth.
Wherein, described control signal input circuit has automatic input interface, and this interface is connected to the output of the general input/output port GPIO that comprises south bridge, to import the described control signal that I/O mouth state is set by software.
Wherein, described control signal input circuit has manual input interface, and this interface is connected to button or switch, to import the described control signal that I/O mouth state is set by this button or switch.
Wherein, described switch is a single-pole double-throw switch (SPDT), and this switch is set to: import the control signal that the I/O mouth is switched to monitor card when moving to an end, input switches to the I/O mouth control signal of mainboard when moving to the other end.
Wherein, this device further comprises level conversion and electrostatic protection module, and this module is used to carry out level conversion and electrostatic protection.
Wherein, described monitor card monitoring circuit is a level detection device, and the level signal that is used for being exported when the surveillance monitor card is plugged is to judge whether monitor card is plugged.
Whether wherein, described monitor card monitoring circuit is a mechanical detection means, be used for according to because monitor card is plugged and produced mechanical shift and judge whether monitor card is plugged.
Whether wherein, described switching on and shutting down testing circuit is a level detection device, be used for starting shooting according to the electrical level judging computing machine of the signal wire of computer motherboard.
Wherein, wherein, described I/O mouth is serial line interface, parallel interface, USB interface, PS/2 interface or network interface.
The present invention also provides the system of selection of a kind of computing machine input and output (I/O) mouth, comprises step:
Judge whether the monitor card of computing machine is installed,
If do not install, switch the mainboard that described I/O mouth connects described computing machine;
If install, judge whether described computing machine starts shooting, if start, manual control or according to pre-defined rule automatically the described I/O mouth of control be connected to computer motherboard or described monitor card; If computing machine is not started shooting, connect described I/O mouth to described monitor card.
Utilize the present invention, the function that reaches manual switchover automatically when having realized using two equipment to take an IEEE Std serial highway simultaneously.Can effectively reduce taking up room of back IO mouth.In the design of the rack-mount server higher, has higher utility to space requirement.
Description of drawings
Fig. 1 shows the schematic block circuit diagram of the I/O interface of embodiments of the invention;
Fig. 2 shows the circuit theory diagrams of the refinement more of the device among the embodiment of Fig. 1;
Fig. 3 is a process flow diagram of realizing the method for the judgement of I/O mouth of the present invention and switching.
Embodiment
Implement and understand the present invention for the ease of persons skilled in the art, now describe the present invention by embodiment in conjunction with the accompanying drawings, should be understood that the embodiment that the present invention is not limited to describe here.
Fig. 1 shows the theory diagram of circuit arrangement of the I/O interface of embodiments of the invention.Present embodiment comprises monitor card supervision and control circuit, switching on and shutting down detection and control circuit, control signal input circuit, commutation circuit, level conversion and electrostatic protection module, output port at device.
Whether the principle of work of present embodiment is: when monitor card is plugged, export a lasting level signal, monitor card monitors and the control circuit persistent surveillance this signal, after finding this signal, detect and start shooting.When monitor card exists and is in open state, then this moment, input circuit worked.GPIO or other output that automatic input interface can be received south bridge can come the change state by software.The hand input interface can connect a button or switch.If monitor card does not occur, then to be arranged to mainboard automatically and to take path, other all control devices all lost efficacy.
If monitor card occurs, and mainboard is in off-mode, then can allow monitor card take path automatically, to guarantee the realization of some control function under off-mode.
Commutation circuit can be according to the control signal of input, and who takies path to select mainboard and monitor card.
Level conversion and electrostatic protection module are used when needs level conversion and electrostatic protection.
Whether in this embodiment, when monitor card is plugged, export a lasting level signal, monitor card monitors and the control circuit persistent surveillance this signal, after finding this signal, detect and start shooting.Here use the 3V of mainboard or 5V power supply judgement symbol as switching on and shutting down.When 5V standby power supply electrifying, and 3V or 5V power supply are thought off-mode when not powering on.When standby and 3V or 5V power supply all power on, then think open state.Should be understood that and judge that the computer on/off state is not limited in disclosed method among the embodiment.Also have, judge whether monitor card is plugged, can detect lasting level signal of output, can utilize a device with machinery projection to detect, this machinery projection is when monitor card is plugged, can trigger by monitored card machinery, therefore, show that monitor card installs, and when mechanical projection is not triggered, show that monitor card do not install, this mechanical projection can realize as the similar mode of connector locking card of connector of the prior art.
When monitor card exists and is in open state, then this moment, input circuit worked.GPIO or other output that automatic input interface can be received south bridge can come the change state by software.The hand input interface can connect a single-pole double-throw switch (SPDT), and it is the monitor card active channel that switch is moved on to an end, and moving on to the other end is that mainboard takies path, then represents it is software control in the middle of moving on to.If monitor card does not occur, then to be arranged to mainboard automatically and to take path, other all control devices all lost efficacy.
If monitor card occurs, and mainboard is in off-mode, in the embodiments of the invention, allows monitor card take path automatically, to guarantee the realization of some the expectant control function under off-mode.
The commutation circuit here uses the bus switch chip of two-way alternative to realize that the model of this chip is: the 74als157 of philips company.Select in two one by the high-low level that detects the control pin input signal.
Fig. 2 shows the circuit theory diagrams of the refinement more of the device among the embodiment of Fig. 1.In this embodiment, the multiplexing of serial ports and switching have been realized.This device comprises following several sections:
1. a monitor card monitors and control circuit, when monitor card is plugged, exports a lasting monitor card and signal occurs.Monitor card monitors and control circuit detects this signal, then keeps the unimpeded of other all control signals, and can control this moment to commutation circuit.If monitor card is not plugged, monitor card monitors and control circuit is then exported a control signal, disconnects every other switch-over control signal and path is distributed to mainboard by force.On mainboard, using the STANDBY power supply is this circuit supply, can guarantee the normal running under the off-mode.
2. switching on and shutting down detection and control circuit:
Under the prerequisite that monitor card occurs:
Whether power on and judge whether start by detecting VCC3 or VCC5 power supply
A) under the state of start, retentive control signal unimpeded, who takies path at this moment can to decide mainboard and monitor card by software or manual setting.
B) under the state of shutdown, no matter the state of software setting and manually setting how, is distributed to monitor card with path by force, to realize the function of monitoring.
Under the situation that does not have to occur at monitor card:
No matter start and close is distributed to mainboard with path automatically.
3. input circuit has an automatic input interface and manual input interface, and GPIO or other output that automatic input interface can be received south bridge can come the change state by software.Manually input interface can connect a single-pole double-throw switch (SPDT), and it is the monitor card active channel that switch is moved on to an end, and moving on to the other end is that mainboard takies path, then represents it is software control in the middle of moving on to.
4. commutation circuit output is one of serial signal of monitor card and mainboard, by the control signal of input, output is switched between the serial signal of monitor card and mainboard.Can realize this function by the BUS switch chip of selecting an alternative for use.
5. the serial signal level shifting circuit is converted to the RS232 level with common Transistor-Transistor Logic level, to increase transmission range.
6. a serial ports output port is used for switching between monitor card and mainboard.
Fig. 3 is a process flow diagram of realizing the method for the judgement of I/O mouth of the present invention and switching.In this implementing procedure, judge whether be connected to monitor card on the I/O mouth earlier, if do not have, ask automatic I/O mouth to switch to mainboard; If have, judge whether start, if start shooting, control this according to the control signal in the input circuit (as switching signal) and switch to the automatic or manual switching, if not start, request automatic switchover I/O mouth is to monitor card; Then, these requests are through compiling the switching that back control commutation circuit realizes I/O mouth correspondence.
In this embodiment, by the multiplexing of serial ports with switch to implement to have described the present invention, should be understood that the method for this embodiment also can be used for the multiplexing of parallel port and switch implementing, the USB mouth is multiplexing and switch and implement and the PS/2 mouth is multiplexing and switch and implement.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, therefore, wish that appended claim comprises these distortion and variation and do not break away from spirit of the present invention.

Claims (10)

1. the selecting arrangement of a computing machine input and output I/O mouth comprises: monitor card supervision and control circuit, switching on and shutting down detection and control circuit, control signal input circuit and commutation circuit, wherein:
Monitor card monitors and control circuit is used to judge whether monitor card is plugged, and control I/O mouth switches to computer motherboard when judgement obtains monitor card and do not plug, and judges to obtain keeping when monitor card is plugged the unimpeded of all control signals;
Switching on and shutting down detection and control circuit are used to judge current whether the start, and when judgement obtained current start, the control commutation circuit was switched according to the control of control signal input circuit, and when judgement obtained current the start, control I/O mouth switched to monitor card;
The control signal input circuit is used to import the control signal that I/O mouth state is set;
The control signal that commutation circuit is used for being imported according to the control signal input circuit is connected to computer motherboard or monitor card with described I/O mouth.
2, device according to claim 1, it is characterized in that, described control signal input circuit has automatic input interface, and this interface is connected to the output of the general input/output port GPIO that comprises south bridge, to import the described control signal that I/O mouth state is set by software.
3, device according to claim 1 is characterized in that, described control signal input circuit has manual input interface, and this interface is connected to button or switch, to import the described control signal that I/O mouth state is set by this button or switch.
4, device according to claim 3, it is characterized in that, described switch is a single-pole double-throw switch (SPDT), and this switch is set to: import the control signal that the I/O mouth is switched to monitor card when moving to an end, input switches to the I/O mouth control signal of mainboard when moving to the other end.
5, device according to claim 1 is characterized in that, this device further comprises level conversion and electrostatic protection module, and this module is used to carry out level conversion and electrostatic protection.
6, device according to claim 1 is characterized in that, described monitor card monitoring circuit is a level detection device, and the level signal that is used for being exported when the surveillance monitor card is plugged is to judge whether monitor card is plugged.
Whether 7, device according to claim 1 is characterized in that, described monitor card monitoring circuit is a mechanical detection means, be used for according to because monitor card is plugged and produced mechanical shift and judge whether monitor card is plugged.
Whether 8, device according to claim 1 is characterized in that, described switching on and shutting down testing circuit is a level detection device, be used for starting shooting according to the electrical level judging computing machine of the signal wire of computer motherboard.
9, device according to claim 1 is characterized in that, wherein, described I/O mouth is serial line interface, parallel interface, USB interface, PS/2 interface or network interface.
10. the system of selection of a computing machine input and output I/O mouth comprises step:
Judge whether the monitor card of computing machine is installed,
If do not install, switch the mainboard that described I/O mouth connects described computing machine;
If install, judge whether described computing machine starts shooting, if start, manual control or according to pre-defined rule automatically the described I/O mouth of control be connected to computer motherboard or described monitor card; If computing machine is not started shooting, connect described I/O mouth to described monitor card.
CN 03134824 2003-09-25 2003-09-25 Computer I/O port selector and selection method Expired - Fee Related CN1285992C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03134824 CN1285992C (en) 2003-09-25 2003-09-25 Computer I/O port selector and selection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03134824 CN1285992C (en) 2003-09-25 2003-09-25 Computer I/O port selector and selection method

Publications (2)

Publication Number Publication Date
CN1527181A CN1527181A (en) 2004-09-08
CN1285992C true CN1285992C (en) 2006-11-22

Family

ID=34286199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03134824 Expired - Fee Related CN1285992C (en) 2003-09-25 2003-09-25 Computer I/O port selector and selection method

Country Status (1)

Country Link
CN (1) CN1285992C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073347A (en) * 2011-01-17 2011-05-25 浪新微电子系统(上海)有限公司 Personal computer

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631750B (en) * 2012-08-29 2017-07-25 联想(北京)有限公司 The method and electronic equipment of a kind of information processing
CN111581129B (en) * 2020-03-24 2022-05-31 西安广和通无线通信有限公司 Terminal mainboard circuit, terminal equipment and ADC interface multiplexing control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073347A (en) * 2011-01-17 2011-05-25 浪新微电子系统(上海)有限公司 Personal computer
CN102073347B (en) * 2011-01-17 2012-08-22 浪新微电子系统(上海)有限公司 Personal computer

Also Published As

Publication number Publication date
CN1527181A (en) 2004-09-08

Similar Documents

Publication Publication Date Title
US8447893B2 (en) USB peripheral device comprising limited function USB host controller
CN108666826B (en) Adapter, terminal equipment and adapter system
US20040088449A1 (en) USB unit control method and a USB unit controller
CN1127024C (en) Connecting apparatus for external equipments
CN1261697A (en) Method and device for controlling power supply to peripheral device in computer system
CN1909559A (en) Interface board based on rapid periphery components interconnection and method for switching main-control board
CN1992804A (en) Camera module for communicating through I2C method
CN111638862A (en) Switching system for multi-host multi-network shared display
CN1285992C (en) Computer I/O port selector and selection method
CN1852172A (en) Data communication apparatus
CN1317846C (en) Method of realizing internal external network physical partition and its device
CN2750584Y (en) A three-in-one handset interface realizing functions of earphone, serial port, and charging
CN1474514A (en) Master and slave circuit board capable of readlizing live insrtion and withdraw and method for realizing live insertion and withdraw
CN1220132C (en) Intelligent type switcher for computers
CN1152317C (en) Secret related computer
US6919878B2 (en) Keyboard/mouse switching controller
CN1591371A (en) Hot plug-in controller
CN101030188A (en) Method and device for controlling impact external-equipment interconnected bus interface board circuit
KR200420506Y1 (en) Network switching apparatus for providing security function about mobile storage device and security computer system using by the network switching apparatus
KR20000008714A (en) Peripheral device connecting apparatus of computer aiding ieee1394 and method thereof
CN112631970B (en) Multifunctional internal and external network switcher
CN1288534C (en) Universal input/output interface for mobile communication equipment
CN1799036A (en) Auto-determination of DTE/DCE connection
CN1798028A (en) Bridge circuit of universal asynchronous receiver transmitter
CN1173569C (en) Master/slave device for receiving audio and video program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20061122

Termination date: 20200925