CN104794094A - System and method for switching USB interface and RS232 interface of server system - Google Patents
System and method for switching USB interface and RS232 interface of server system Download PDFInfo
- Publication number
- CN104794094A CN104794094A CN201510203723.6A CN201510203723A CN104794094A CN 104794094 A CN104794094 A CN 104794094A CN 201510203723 A CN201510203723 A CN 201510203723A CN 104794094 A CN104794094 A CN 104794094A
- Authority
- CN
- China
- Prior art keywords
- usb
- interface
- circuit
- switching
- server system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Transfer Systems (AREA)
Abstract
The invention discloses a system and method for switching a USB interface and an RS232 interface of a server system, and relates to the USB and RS232 switching technology. The switching system comprises a USB circuit, a switching circuit of the USB interface and the RS232 interface, a work state indication circuit, a management platform and a CPLD, and the USB circuit, the switching circuit of the USB interface and the RS232 interface and the work state indication circuit are integrated in the same circuit. The switching mode of the USB interface and the RS232 interface can be set through the management platform. The USB circuit is connected with the switching circuit of the USB interface and the RS232 interface. The management platform is connected with the CPLD, and the switching circuit of the USB interface and the RS232 interface is connected with the work state indication circuit through control of the CPLD. USB and RS232 functions are flexibly switched through the USB interface, and peripheral components are effectively saved.
Description
Technical field
The present invention relates to the handoff technique of USB and RS232, specifically the switched system of a kind of server system USB and RS232 and method.
Background technology
The development of server gets more and more functionalization, and incident is that the profile of server constantly increases, and user is more and more higher to server miniaturization, integrated demand.USB and RS232 interface in the server Application comparison is extensive, and USB interface mainly server and USB device (keyboard, mouse, USB flash disk etc.) carries out the interface that communicates, and RS232 interface through being usually used in system debug time the information such as acquisition system running state.
Because traditional RS232 interface has shortcomings such as taking up room greatly, plug is inconvenient, sometimes utilize the method for USB interface RS 232 interface.But, in use iff by USB interface RS 232 interface, can the wasting of resources be caused, not meet the demand of server integrated development instantly.
Summary of the invention
For the weak point that prior art exists, the invention provides switched system and the method for a kind of server system USB and RS232.
The switched system of a kind of server system USB and RS232 of the present invention and method, the technical scheme solving the problems of the technologies described above employing is as follows: the switched system of this server system USB and RS232, its system architecture comprises: USB circuit, the commutation circuit of USB and RS232 interface, working state indicating circuit; Described three kinds of circuit are integrated in same circuit; Described USB circuit is connected with the commutation circuit of described USB and RS232 interface; The switched system of described USB and RS232 also comprises management platform and CPLD, and described management platform connects described CPLD, by commutation circuit, the working state indicating circuit of CPLD control linkage USB and RS232 interface; The switch mode of USB and RS232 interface can be set by described management platform.
Preferably, described USB circuit comprises USB interface and USB control circuit two parts, and described USB interface is used for realizing communicating with external unit, and described USB control circuit is used for realizing usb protocol and usb communication function.
Preferably, described USB control circuit comprises USB controller.
Preferably, described working state indicating circuit is used to refer to circuit and works in USB interface state or RS232 Interface status, is normal operating conditions or abnormal operation; Described working state indicating circuit comprises some working station indicators.
Preferably, in described working state indicating circuit, be provided with two working station indicator LED1 and LED2, if the bright LED2 of LED1 goes out, represent that switching to RS232 interface can connect Serial Port Line; If LED1 goes out, LED2 is bright, represents that switching to USB interface can connect USB device.
The changing method of server system USB and RS232 of the present invention, judges duty by working station indicator, if duty is normal, then judges whether to need switching interface according to actual conditions; If do not need, then system is from being dynamically connected USB interface; If desired then carry out switching interface, then judge whether to need to be switched to USB interface, if desired then switch to USB interface, otherwise switch to RS232 interface by switched system.
Preferably, described working station indicator changes along with the change of switching interface, and when switching to RS232 interface, the bright LED2 of LED1 goes out; When switching to USB interface, the LED1 LED2 that goes out is bright.
Preferably, if working station indicator display working condition is abnormal, then report to the police.
The beneficial effect that the switched system of a kind of server system USB and RS232 of the present invention and method compared with prior art have is: this switched system and method utilize the advantage that USB interface volume is little, realized the flexible switching of USB and RS232 function by USB interface, save interface unit; When being switched to usb function, as USB interface, connect USB device (USB flash disk, keyboard, mouse etc.); When being switched to RS232 interface function, as serial ports, obtain AccessPort information.
Accompanying drawing explanation
Accompanying drawing 1 is the schematic diagram of the switched system of server system USB and RS232;
Accompanying drawing 2 is the process flow diagram of the changing method of server system USB and RS232.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with specific embodiment, and with reference to accompanying drawing, to switched system and the method further description of a kind of server system USB and RS232 of the present invention.
The switched system of a kind of server system USB and RS232 of the present invention and method, when not changing external control interface, being switched by simple on-off circuit practical function, achieving the multiplexing of USB interface; Its system architecture comprises: USB circuit, the commutation circuit of USB and RS232 interface, working state indicating circuit.The present invention realizes the flexible switching of USB and RS232 function by USB interface, saves interface unit.When being switched to usb function, as USB interface, connect USB device (USB flash disk, keyboard, mouse etc.); When being switched to RS232 interface function, as serial ports, obtain AccessPort information.
Embodiment:
The switched system of a kind of server system USB and RS232 described in the present embodiment, as shown in Figure 1, described switched system comprises: USB circuit, the commutation circuit of USB and RS232 interface, working state indicating circuit; Above-mentioned three kinds of circuit are integrated in same circuit; Wherein: described USB circuit is connected with the commutation circuit of described USB and RS232 interface, the commutation circuit of described USB and RS232 interface connects described working state indicating circuit by a CPLD.
The switched system of USB and RS232 described in the present embodiment, also comprises management platform, and described management platform connects described CPLD, by commutation circuit, the working state indicating circuit of CPLD control linkage USB and RS232 interface; The switch mode of USB and RS232 interface can be set by described management platform.
The USB device of USB circuit realiration described in this switched system carries out the function communicated; Its structure comprises USB interface and USB control circuit two parts, described USB interface, and communicate with external unit for realizing, described USB control circuit, for realizing usb protocol and usb communication function, and USB control circuit comprises USB controller.
The commutation circuit of USB and RS232 interface described in this switched system is for realizing the switching of USB and RS232 interface function.
Working state indicating circuit described in this switched system is used to refer to circuit and works in USB interface state or RS232 Interface status, is normal operating conditions or abnormal operation.In the present embodiment, described working state indicating circuit comprises working station indicator LED1 and LED2, if LED1 is bright, LED2 goes out, then switching to RS232 interface can connect Serial Port Line; If LED1 goes out, LED2 is bright, then switching to USB interface can connect USB device; If LED1 and LED2 all lights, then represent that duty is abnormal.
As shown in Figure 2, described in the present embodiment, the specific implementation process of the changing method of server system USB and RS232 is as follows:
First judge duty by working station indicator, if duty is abnormal, then report to the police; If duty is normal, then judge whether to need switching interface according to actual conditions; If do not need, then system is from being dynamically connected USB interface; If desired switching interface, then carry out switching interface, then judges whether to need to be switched to USB interface, if then automatically switch to USB interface, otherwise switches to RS232 interface by switched system; Meanwhile, working station indicator changes along with the change of switching interface.
From technical scheme of the present invention, by switched system and the method for this server system USB and RS232, can control switched system as required and carry out circuit switching, the flexible switching of realizing circuit, realizes the switching of USB and RS232 interface function.
Above-mentioned embodiment is only concrete case of the present invention; scope of patent protection of the present invention includes but not limited to above-mentioned embodiment; any claims according to the invention and any person of an ordinary skill in the technical field to its suitable change done or replacement, all should fall into scope of patent protection of the present invention.
Claims (8)
1. a switched system of server system USB and RS232, is characterized in that, comprises USB circuit, the commutation circuit of USB and RS232 interface, working state indicating circuit; Described three kinds of circuit are integrated in same circuit; Described USB circuit is connected with the commutation circuit of described USB and RS232 interface; The switched system of described USB and RS232 also comprises management platform and CPLD, and described management platform connects described CPLD, by commutation circuit, the working state indicating circuit of CPLD control linkage USB and RS232 interface; The switch mode of USB and RS232 interface can be set by described management platform.
2. the switched system of a kind of server system USB and RS232 according to claim 1, it is characterized in that, described USB circuit comprises USB interface and USB control circuit two parts, described USB interface is used for realizing communicating with external unit, and described USB control circuit is used for realizing usb protocol and usb communication function.
3. the switched system of a kind of server system USB and RS232 according to claim 2, it is characterized in that, described USB control circuit comprises USB controller.
4. the switched system of a kind of server system USB and RS232 according to claim 1, it is characterized in that, described working state indicating circuit is used to refer to circuit working state, comprises some working station indicators.
5. the switched system of a kind of server system USB and RS232 according to claim 1 or 4, it is characterized in that, be provided with two working station indicator LED1 and LED2 in described working state indicating circuit, if the bright LED2 of LED1 goes out, represent that switching to RS232 interface can connect Serial Port Line; If LED1 goes out, LED2 is bright, represents that switching to USB interface can connect USB device.
6. a changing method of server system USB and RS232, is characterized in that, judges duty by working station indicator, if duty is normal, then judges whether to need switching interface according to actual conditions; If do not need, then system is from being dynamically connected USB interface; If desired then carry out switching interface, then judge whether to need to be switched to USB interface, if desired then switch to USB interface, otherwise switch to RS232 interface by switched system.
7. the changing method of a kind of server system USB and RS232 according to claim 6, it is characterized in that, described working station indicator changes along with the change of switching interface, and when switching to RS232 interface, the bright LED2 of LED1 goes out; When switching to USB interface, the LED1 LED2 that goes out is bright.
8. the changing method of a kind of server system USB and RS232 according to claim 6, is characterized in that, if working station indicator display working condition is abnormal, then reports to the police.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510203723.6A CN104794094A (en) | 2015-04-27 | 2015-04-27 | System and method for switching USB interface and RS232 interface of server system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510203723.6A CN104794094A (en) | 2015-04-27 | 2015-04-27 | System and method for switching USB interface and RS232 interface of server system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104794094A true CN104794094A (en) | 2015-07-22 |
Family
ID=53558895
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510203723.6A Pending CN104794094A (en) | 2015-04-27 | 2015-04-27 | System and method for switching USB interface and RS232 interface of server system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104794094A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108153626A (en) * | 2017-11-15 | 2018-06-12 | 中国电子科技集团公司第三十二研究所 | USB, serial port multiplexing and safety isolation system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5758103A (en) * | 1995-08-31 | 1998-05-26 | Samsung Electronics Co., Ltd. | Circuit for replacing a peripheral device of a computer system and method therefor |
CN2833676Y (en) * | 2005-08-30 | 2006-11-01 | 上海师范大学 | Hard-wired HART interface with RS232 and USB dual interface support |
CN101308484A (en) * | 2007-05-14 | 2008-11-19 | 宏正自动科技股份有限公司 | Serial bus device, transmission method and USB device |
CN103077151A (en) * | 2013-01-25 | 2013-05-01 | 上海斐讯数据通信技术有限公司 | Device for switching universal serial bus (USB) interface and standard serial port |
CN204155273U (en) * | 2014-10-24 | 2015-02-11 | 广州广日电梯工业有限公司 | A kind of multi-functional data switch based on elevator communication |
-
2015
- 2015-04-27 CN CN201510203723.6A patent/CN104794094A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5758103A (en) * | 1995-08-31 | 1998-05-26 | Samsung Electronics Co., Ltd. | Circuit for replacing a peripheral device of a computer system and method therefor |
CN2833676Y (en) * | 2005-08-30 | 2006-11-01 | 上海师范大学 | Hard-wired HART interface with RS232 and USB dual interface support |
CN101308484A (en) * | 2007-05-14 | 2008-11-19 | 宏正自动科技股份有限公司 | Serial bus device, transmission method and USB device |
CN103077151A (en) * | 2013-01-25 | 2013-05-01 | 上海斐讯数据通信技术有限公司 | Device for switching universal serial bus (USB) interface and standard serial port |
CN204155273U (en) * | 2014-10-24 | 2015-02-11 | 广州广日电梯工业有限公司 | A kind of multi-functional data switch based on elevator communication |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108153626A (en) * | 2017-11-15 | 2018-06-12 | 中国电子科技集团公司第三十二研究所 | USB, serial port multiplexing and safety isolation system |
CN108153626B (en) * | 2017-11-15 | 2020-12-01 | 中国电子科技集团公司第三十二研究所 | USB, serial port multiplexing and safety isolation system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2464041A1 (en) | Detection device and method thereof | |
CN107422250B (en) | Relay protection circuit integrity tester | |
CN109193914A (en) | A kind of redundant power intelligent controlling device | |
CN103795458A (en) | Optical fiber switching protection system and control method thereof | |
CN104794094A (en) | System and method for switching USB interface and RS232 interface of server system | |
CN105681083A (en) | Network switch monitoring system based on cloud computing | |
CN202372848U (en) | Internet of thing monitoring terminal for supporting multiple industries | |
CN103973492A (en) | Management network interface and system serial port compatibility designing method applied to server | |
CN202306250U (en) | Apparatus with state indication unit | |
CN104201768A (en) | Double-power switch control device | |
CN205049641U (en) | Group battery cell voltage detection device | |
CN105319453A (en) | Device and system for testing environmental protection data acquisition instrument | |
CN103905211A (en) | Method for realizing lamp lighting under power supply state of POE power supply equipment | |
CN203688775U (en) | Multifunctional motor detection system | |
CN105182058A (en) | Battery pack single battery voltage detection device | |
CN103193119B (en) | Elevator landing callcontroller and method for achieving floor setting thereof | |
CN207518349U (en) | A kind of double common electric supply system automatic switching control equipments of intelligence | |
CN204637400U (en) | Fire water intelligent controller | |
CN201008136Y (en) | Power amplifier and loading output detecting apparatus | |
CN204302699U (en) | A kind of control system being realized the control of touch-screen One screen multi-machine by short circuit port | |
CN204046627U (en) | A kind of novel 10,000,000,000 electricity mouthful extrapolation network interface cards of optional management function | |
CN104638758B (en) | Real-time detection and switching circuit for power supply of remote control intelligent gas meter concentrator | |
CN220725248U (en) | Secondary water supply equipment | |
CN204068994U (en) | KVM equipment switching device shifter and system | |
CN216216072U (en) | Square cabin mobile laboratory power supply system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150722 |