Source: http://www.google.com/patents/US6192423?dq=5319712
Timestamp: 2015-03-28 10:21:48
Document Index: 206737662

Matched Legal Cases: ['ART) 15', 'ART 15', 'ART 15', 'ART 15', 'ART 13', 'ART 13', 'ART 13', 'ART 15', 'ART 15', 'ART 13', 'ART 15', 'ART 15', 'ART 15', 'ART 15', 'ART 13']

Patent US6192423 - Sharing a single serial port between system remote access software and a ... - Google PatentsSearch Images Maps Play YouTube News Gmail Drive More »Sign inAdvanced Patent SearchPatentsA serial port is shared by a microcontroller and a host application. The microcontroller initially responds to a remote user making connection to the serial port. Upon the remote user requesting connection to the host application, a hardware switch connects a serial port connector to serial port hardware...http://www.google.com/patents/US6192423?utm_source=gb-gplus-sharePatent US6192423 - Sharing a single serial port between system remote access software and a remote management microcontrollerAdvanced Patent SearchPublication numberUS6192423 B1Publication typeGrantApplication numberUS 09/131,650Publication dateFeb 20, 2001Filing dateAug 10, 1998Priority dateAug 10, 1998Fee statusPaidPublication number09131650, 131650, US 6192423 B1, US 6192423B1, US-B1-6192423, US6192423 B1, US6192423B1InventorsJohn D. GrafOriginal AssigneeHewlett-Packard CompanyExport CitationBiBTeX, EndNote, RefManPatent Citations (14), Non-Patent Citations (4), Referenced by (15), Classifications (7), Legal Events (5) External Links: USPTO, USPTO Assignment, EspacenetSharing a single serial port between system remote access software and a remote management microcontroller
US 6192423 B1Abstract
A serial port is shared by a microcontroller and a host application. The microcontroller initially responds to a remote user making connection to the serial port. Upon the remote user requesting connection to the host application, a hardware switch connects a serial port connector to serial port hardware utilized by the host application. The connection between the remote user and the host application is monitored, so that when the connection between the remote user and the host application is discontinued, the serial port connector is reconnected to the microcontroller.
I claim: 1. A method for sharing a serial port between a microcontroller and a host application running on a processing unit, comprising the following steps:
(a) using the microcontroller to initially respond to a remote user making connection to the serial port; (b) upon the remote user requesting connection to the host application, making a switch so that a connection is established between the remote user and the host application through the serial port; (c) monitoring the connection between the remote user and the host application; and, (d) when the connection between the remote user and the host application is discontinued connecting the serial port to the microcontroller. 2. A method as in claim 1 wherein in step (b) the switching is accomplished using a multiplexer.
3. A method as in claim 1 wherein in step (c) the monitoring is performed by control logic separate from the microcontroller.
4. A method as in claim 1 wherein the serial port is RS-232 compatible and in step (c) the connection is monitored by monitoring a data carrier detect line (DCD), a data terminal ready line (DTR) and a receive data line (RD) of the serial port.
5. A method as in claim 1 wherein the host application is remote access software running on a network server.
a serial port connector; a microcontroller; a host application which runs on a processing unit of the computing system; serial port hardware, which the host application uses for communication; and a switch which connects the serial port connector to either the microcontroller or the serial port hardware, wherein: the switch initially connects the microcontroller to the serial port connector so that the microcontroller initially responds to a remote user making connection the serial port connector, the switch connects the serial port hardware to the serial port connector upon the remote user requesting connection to the host application, and the switch re-connecting the serial port to the microcontroller when a connection between the remote user and the host application is discontinued. 7. A computing system as in claim 6 wherein in the switch comprises a multiplexer.
8. A computing system as in claim 6 additionally comprising: control logic which controls the switch.
9. A computing system as in claim 8 wherein the serial port connector is RS-232 compatible.
10. A computing system as in claim 6 additionally comprising:
control logic which controls the switch; wherein the serial port connector is RS-232 compatible and the control logic detects the connection between the remote user and the host application is discontinued by monitoring a data carrier detect line (DCD), a data terminal ready line (DTR) and a receive data line (RD) from the serial port connector. 11. A computing system as in claim 6 wherein the host application is remote access software.
12. A computing system as in claim 6 wherein the serial port hardware is a Universal Asynchronous Receiver Transmitter (UART).
13. A computing system as in claim 6 wherein the microcontroller includes a Universal Asynchronous Receiver Transmitter (UART).
14. A device for allowing a serial port connector to be shared, comprising:
a switch which connects the serial port connector to either a microcontroller or a through a serial port hardware to a host application running on a processing unit of a computing system; and, control logic for controlling the switch, wherein in response to the control logic, the switch initially connects the microcontroller to the serial port connector so that the microcontroller initially responds to a remote user making connection the serial port connector, the switch connecting the serial port hardware to the serial port connector upon the remote user requesting connection to the host application, and the switch re-connecting the serial port connector to the microcontroller when a connection between the remote user and the host application is discontinued. 15. A device as in claim 14 wherein in the switch comprises a multiplexer.
16. A device as in claim 14 wherein the serial port connector is RS-232 compatible.
17. A device as in claim 14 additionally comprising:
control logic which controls the switch; wherein the serial port connector is RS-232 compatible and the control logic detects the connection between the remote user and the host application is discontinued by monitoring a data carrier detect line (DCD), a data terminal ready line (DTR) and a receive data line (RD) from the serial port connector. 18. A device as in claim 14 wherein the host application is remote access software.
19. A device as in claim 14 wherein the serial port hardware is a Universal Asynchronous Receiver Transmitter (UART).
20. A device as in claim 14 wherein the microcontroller includes a Universal Asynchronous Receiver Transmitter (UART).
The present invention concerns remote management of a computer system and pertains particularly to sharing a single serial port between system remote access software and a remote management microcontroller.
Network servers are increasingly being managed remotely. Management is typically performed using remote access software running on the network server. A remote user can access the remote access software through a network connection. The network connection could be, for example through a 10 Base-T or 100 Base-T connection. Alternatively, the remote user can access the remote access software running on the network server by connecting through a public telephone network to a modem which is connected to the network server.
However, when an operating system is down (i.e., the operating system is not running), it is generally not possible to utilize the remote access software. For this purpose, some network servers utilize a separate microcontroller. The microcontroller can provide the remote user with troubleshooting data and access to the server console. Once the operating system is up and running, the remote access software provides the remote user with more functionality for management of the network server.
Typically, a network server will utilize two telephone lines, each telephone line with a dedicated modem. One telephone line is used when the remote user connects to the remote access software, and the other telephone line is used with the remote user connects to the separate microcontroller. However, there can be a significant overhead cost to maintain two modems and two telephone lines for remote management.
In order to reduce this overhead, there have been attempts to design a network server so that remote access software and a separate microcontroller share a single modem and single telephone line. See for example, IBM PC Server, Advanced Systems Management Adapter Installation Instructions, Available as part Number 05L1467 from IBM, September 1997, pp. 23-27. See also, Integration & Management; Remote Server Management with Integrated Remote Console, available on the internet from Compaq, October 1996. However, these solutions have tended to be clumsy to use and/or unreliable.
In accordance with the preferred embodiment of the present invention, a serial port is shared by a microcontroller and a host application. The microcontroller initially responds to a remote user making connection to the serial port. Upon the remote user requesting connection to the host application, a hardware switch connects a serial port connector to serial port hardware utilized by the host application. The connection between the remote user and the host application is monitored, so that when the connection between the remote user and the host application is discontinued, the serial port connector is reconnected to the microcontroller.
For example, the switching is accomplished using a multiplexer and the monitoring is performed by control logic separate from the microcontroller. In the preferred embodiment, the serial port is RS-232 compatible. The control logic monitors a data carrier detect line (DCD), a data terminal ready line (DTR) and a receive data line (RD) of the serial port to determine when the connection between the remote user and the host application is discontinued. Also in the preferred embodiment, the host application is a remote access software running on a network server.
The present invention provides for reliable sharing of a serial port. Since the switching is done in hardware, the solution presented does not hang when there are software errors.
FIG. 1 is a simplified block diagram of a network server which utilizes a single serial port to provide access to either remote access software or a separate microcontroller in accordance with a preferred embodiment of the present invention.
FIG. 2 is a simplified flowchart which illustrates switching function for the single serial port shown in FIG. 1 in accordance with a preferred embodiment of the present invention.
FIG. 1 shows a network server which utilizes a single serial port connector 17 to provide access to either a host application (remote access software) or a separate microcontroller 12. The host application runs on a central processing unit (CPU) 30 within a motherboard 14. A Universal Asynchronous Receiver Transmitter (UART) 15 is used by the host application to access the serial port. UART 15 is, for example, a model number 16650 UART available from National Semiconductor, a model number 8250 UART available from National Semiconductor, or another industry standard UART. Alternatively, another type of serial port (such as USB) or other some other type of communication port could be used instead of a UART compatible serial port.
UART 15 is connected to an input/output (I/O) bus 19 of the network server. I/O bus 19 is, for example, an ISA compatible I/O bus, or some other standard I/O bus.
UART 15 uses a configurable I/O chip select 21 and an interrupt request line 22 to communicate with motherboard 14.
A microcontroller 12 includes an internal UART 13. Microcontroller 12 is, for example an 8051 family microcontroller available, for example, from Philips Semiconductors, having a business address of 811 East Arques Avenue, Sunnyvale, Calif. 94086-4523. For example, UART 13 includes at least some of the functionality of a model number 16650 UART available from National Semiconductor, a model number 8250 UART available from National Semiconductor, or another industry standard UART.
A multiplexer 16 selects either UART 13 or UART 15 to be connected to a serial port connector. For example, serial port connector is an EIA-232-D (nine signal) RS-232 connector. A modem 18 is used to provide communication between serial port connector 17 and a telephone line 23.
A control logic 11 through a multiplexer control (MUXCTL) line 25 controls the selection made by multiplexer 16. Control logic 11 monitors lines 26 from serial port connector. Lines 26 include a data carrier detect line (DCD) line 26 and a receive data (RD) line.
For more information on RS-232 circuits for asynchronous I/O on microcomputers see, for example, Joe Campbell, C Programmer's Guide to Serial Communications, Macmillan Computer Publishing, Indiana, 1987, pp. 131-137.
Input/output lines 28 for UART 15 include a transmitted data line (TD2), a receive data line (RD2), a ready to send line (RTS2), a data terminal ready line (DTR2) and a clear to send line (CTS2), a data set ready line (DSR2) and a data carrier detect line (DCD).
In order to appropriately switch multiplexer 16, control logic 11 monitors DTR2 through line 27, as well as DCD and RD lines 26 directly from serial port connector.
FIG. 2 is a simplified flowchart which illustrates how control logic 11 controls the switching of multiplexer 16. In a step 31, when a user calls in through modem 18 and serial port connector 17, multiplexer 16, by default, connects serial port connector to UART 13 and control logic 11. Microcontroller 12 handles the user log in.
As illustrated by a step 32, once the user is logged in, the user can select a �serial port pass through� mode. When the user selects the �serial port pass through� mode, in a step 33, control logic 11 asserts MUXCTL line 25 causing multiplexer 16 to connect UART 15 to serial port connector.
The host application can then utilize serial port connector 17 through UART 15 to communicate with the user (client) software. The host application can be implemented, for example, using remote access software such as Remote Access Service software available from Microsoft Corporation, having a business address at 16011 NE 36th Way, Redmond, Wash. 98073-9717.
In order to provide for a smooth hand-off to the host application, the host application has to set up a direct-connection which has the same serial connections (e.g., baud rate, parity and flow control) as used by microcontroller 12. The host application is configured to launch at startup and waits for DCD to be asserted. Thus the host application will always be waiting for a connection.
In a step 34, control logic 11 waits one minute for connection to be made. Control logic 11 monitors DCD line 26 to determine whether a connection is made. When the signal on DCD line 26 is asserted, this indicates that a connection has been made. If the signal on DCD line 26 is not asserted within one minute, a time-out has occurred.
If in step 34, a time-out has occurred, control logic proceeds to a step 37. If, in step 34, a connection is made before there is a time-out, in a step 35, the host application establishes a connection with the client application. In the preferred embodiment, the client application is able to switch between remote management application (run on microcontroller 12)) and remote access application (the host application running on CPU 30) without dropping the connection to modem 18. Control logic 11 continues to monitor the connection between serial port connector 17 and UART 15 to detect when a disconnect has occurred.
Particularly, when the signal on DTR2 line is pulled low this indicates that the host application is disconnecting modem 18. When the host application is disconnecting, UART 15 will drop DTR2 low a minimum of 50 microseconds. This transition will be latched by control logic 11 in order to detect this transition. When DCD goes low, this indicates modem 18 has lost carrier. If there is no activity on the RD line for a configured �autologout� period (e.g. five minutes) from serial port connector 17, this indicates that the client application is hung.
In a step 36, control logic 11 determines there is a disconnection when DTR2 pulses low, DCD goes low, or there has been no activity on RD for the autologout period. As long as none of these occur, control logic continues, in step 35, to monitor RD, DCD and DTR2.
If in step 36, DTR2 pulses low, DCD goes low, or there is no activity on RD for the autologout period, in a step 37, control logic 11 switches multiplexer 16 so that UART 13 is re-connected to serial port connector.
Patent CitationsCited PatentFiling datePublication dateApplicantTitleUS4100601 *Jan 9, 1976Jul 11, 1978Computer Automation, Inc.Multiplexer for a distributed input/out controller systemUS4493052 *Nov 15, 1982Jan 8, 1985Siemens AktiengesellschaftMethod and arrangement for the monitored transfer of control signals at interfaces of digital systemsUS5121390 *Mar 15, 1990Jun 9, 1992International Business Machines CorporationIntegrated data link controller with synchronous link interface and asynchronous host processor interfaceUS5226173 *Mar 13, 1992Jul 6, 1993Hitachi, Ltd.Integrated data processor having mode control register for controlling operation mode of serial communication unitUS5331574 *Aug 6, 1991Jul 19, 1994International Business Machines CorporationSystem and method for collecting response times for exception response applicationsUS5418909 *Apr 11, 1994May 23, 1995International Business Machines CorporationSystem for controlling multiple port/multiple channel I/O configuration according to communication request initiation statusUS5561822 *Nov 22, 1994Oct 1, 1996Samsung Electronics Co., Ltd.Computer systemUS5920730 *Jul 25, 1996Jul 6, 1999Hewlett-Packard CompanyComputer keyboard that changes from normal mode to secure mode bypassing host to input pin code directly into smartcard received at its ICC interfaceUS5920731 *Feb 21, 1997Jul 6, 1999Vlsi Technology, Inc.Single-housing electrical device self-configurable to connect to PCMCIA compliant or non-PCMCIA compliant host interfacesUS5938748 *Sep 11, 1997Aug 17, 1999Apple Computer, Inc.Data transfer mechanism for transfer of real-time data including real-time data computed on-the-flyUS5958024 *Aug 29, 1997Sep 28, 1999Advanced Micro Devices, Inc.System having a receive data register for storing at least nine data bits of frame and status bits indicating the status of asynchronous serial receiverUS5978865 *Feb 4, 1997Nov 2, 1999Advanced Micro Devices, Inc.System for performing DMA transfers where an interrupt request signal is generated based on the value of the last of a plurality of data bits transmittedUS5983290 *May 23, 1997Nov 9, 1999Fujitsu LimitedInformation processing system using portable terminal unit and data communication adapter thereforUS5999992 *Oct 12, 1995Dec 7, 1999International Business MachinesSystem and method for controlling the direction of data flow between computing elements* Cited by examinerNon-Patent CitationsReference1IBM PC Server, Advanced Systems Management Adapter Installation Instructions, Available as part No. 05L1467 from IBM, Sep. 1997, pp. 23-27.2Integration & Management-Remote Server Management with Integrated Remote Console, available on the internet for Compaq, Oct. 1996.3Integration & Management�Remote Server Management with Integrated Remote Console, available on the internet for Compaq, Oct. 1996.4Joe Campbell, C Programmer's Guide to Serial Communications, Macmillan Computer Publishing, Indiana, 1987, pp. 131-137.Referenced byCiting PatentFiling datePublication dateApplicantTitleUS6470404 *Sep 3, 1999Oct 22, 2002Hyundai Electronics Industries Co., Ltd.Asynchronous communication deviceUS6957287Oct 10, 2002Oct 18, 2005Aten International Co., Ltd.Asynchronous/synchronous KVMP switch for console and peripheral devicesUS7010630Jun 30, 2003Mar 7, 2006International Business Machines CorporationCommunicating to system management in a data processing systemUS7039918 *Aug 24, 2001May 2, 2006Sun Microsystems, Inc.Service processor and system and method using a service processorUS7225247 *Oct 17, 2002May 29, 2007Intel CorporationSerial port redirection using a management controllerUS7340556Aug 16, 2005Mar 4, 2008Aten International Co., Ltd.Signal switch for console and peripheral devicesUS7457847 *Jan 2, 2002Nov 25, 2008International Business Machines CorporationSerial redirection through a service processorUS7472217Mar 26, 2007Dec 30, 2008Aten International Co., Ltd.Asynchronous/synchronous KVMP switch for console and peripheral devices capable of switching KVM channels and peripheral channels to common or different computersUS7650449 *Aug 14, 2007Jan 19, 2010Hon Hai Precision Industry Co., Ltd.Communication system for devices with UART interfacesUS7702748Nov 12, 2008Apr 20, 2010International Business Machines CorporationMethod and system for computer nodes configured with a plurality of UART channels for serial redirection through with a service processorUS7769940Feb 13, 2008Aug 3, 2010Belkin International, Inc.Switching device configured to couple a first computer to a first peripheral device and one or more second peripheral devices and method of manufacturing sameUS8140734Dec 22, 2008Mar 20, 2012Aten Technology Inc.Asynchronous/synchronous switching of console devices and peripheral devicesUS8176226Dec 5, 2008May 8, 2012Aten International Co., Ltd.KVMP switch allowing asynchronous and synchronous switching for console devices and peripheral devices among different computersUS8200825 *Feb 27, 2002Jun 12, 2012Raritan Computer Inc.Server systemsEP1286265A2 *Aug 9, 2002Feb 26, 2003Sun Microsystems, Inc.Console connection* Cited by examinerClassifications U.S. Classification710/31, 710/32, 709/217, 709/227International ClassificationH04L12/26Cooperative ClassificationH04L43/0811European ClassificationH04L43/08CLegal EventsDateCodeEventDescriptionJul 25, 2012FPAYFee paymentYear of fee payment: 12Mar 11, 2011ASAssignmentEffective date: 20100625Owner name: SAMSUNG ELECTRONICS CO., LTD., KOREA, REPUBLIC OFFree format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P.;HEWLETT-PACKARD COMPANY;REEL/FRAME:026008/0690Aug 20, 2008FPAYFee paymentYear of fee payment: 8Aug 20, 2004FPAYFee paymentYear of fee payment: 4Oct 5, 1998ASAssignmentOwner name: HEWLETT-PACKARD COMPANY, CALIFORNIAFree format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:GRAF, JOHN D.;REEL/FRAME:009495/0727Effective date: 19980810RotateOriginal ImageGoogle Home - Sitemap - USPTO Bulk Downloads - Privacy Policy - Terms of Service - About Google Patents - Send FeedbackData provided by IFI CLAIMS Patent Services