CN109597778A - A kind of multi-channel serial port signal list interface duplex output system and its implementation - Google Patents

A kind of multi-channel serial port signal list interface duplex output system and its implementation Download PDF

Info

Publication number
CN109597778A
CN109597778A CN201811303195.1A CN201811303195A CN109597778A CN 109597778 A CN109597778 A CN 109597778A CN 201811303195 A CN201811303195 A CN 201811303195A CN 109597778 A CN109597778 A CN 109597778A
Authority
CN
China
Prior art keywords
serial
signal
control unit
interface
serial port
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
CN201811303195.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.)
Shandong Chaoyue CNC Electronics Co Ltd
Original Assignee
Shandong Chaoyue CNC Electronics 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 Shandong Chaoyue CNC Electronics Co Ltd filed Critical Shandong Chaoyue CNC Electronics Co Ltd
Priority to CN201811303195.1A priority Critical patent/CN109597778A/en
Publication of CN109597778A publication Critical patent/CN109597778A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/387Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

The present disclosure provides a kind of multi-channel serial port signal list interface duplex output system and its implementation, in the input terminal of switch control unit, the rs 232 serial interface signal of each module device output is accessed as rs 232 serial interface signal source, in the switching of switch control unit internal control output signal, the output of corresponding serial ports can be switched as needed.The output of switch control unit only has rs 232 serial interface signal all the way, it has been connected to serial port level chance-over circuit, the rs 232 serial interface signal that can be able to use the rs 232 serial interface signal level conversion that device exports to external serial ports docking device, final rs 232 serial interface signal is exported by individual interface, to realize the purpose of interface duplex.

Description

A kind of multi-channel serial port signal list interface duplex output system and its implementation
Technical field
The present invention relates to field of computer technology, more particularly to a kind of multi-channel serial port signal list interface duplex is defeated System and implementation method out.
Background technique
With the development of the technologies such as computer server, computer server performance is higher and higher, and people are to calculating in addition Machine server is integrated, integrated demand, realizes that the component of certain functions is also more and more for being integrated together.Equally The function that extraneous various demands need computer server to be exported is also more and more, and rs 232 serial interface signal is wherein considerable A kind of function.Have external serial port function needed for itself among these, also have that rs 232 serial interface signal exports to each device in machine inside Detection information etc..
It is well known that integrated function is more, the signal for needing to export is more, the scale body of entire computer server Product it is also more and more huger, serial ports equally arranges herein, and the external serial ports quantity of complete machine increases, and increases the size of complete machine, hence it is evident that with work as The overall trend of lower computer server miniaturization contradicts.
Therefore, being demultiplexed into for interface alleviates this contradictory effective way, and the multiplexing of serial ports is wherein quite to weigh The ring wanted.With needing the occasion of computer server difference serial port function more and more, such as notebook, server equipment The limited situation of interface quantities or complete machine rear panel space such as external air plug under, if the rs 232 serial interface signal for needing externally to export at this time Quantity is more, and such as CPU serial ports, BMC serial ports, microcontroller serial port etc. transmits the rs 232 serial interface signal of different function information, then needs to make more Kind signal shares external interface such as air plug etc., which being capable of time-sharing multiplex under multi-channel serial port signal.By to more The switching of road rs 232 serial interface signal realizes that the multiplexing of interface will be imperative.
Summary of the invention
In view of the above problems, the purpose of the present invention is to provide a kind of multi-channel serial port signal list interface duplex output system and Its implementation provides a solution to alleviate the output of Multi-serial port signal with contradiction existing for machine volume.
The present invention to achieve the above object, is achieved through the following technical solutions: a kind of multi-channel serial port signal list interface duplex Output system, comprising: multiple rs 232 serial interface signal sources, switch control unit, logic control element and external interface;The switching control Unit be equipped with multiple input serial ports and an output serial ports, input serial ports pass through UART bus respectively with each rs 232 serial interface signal source Connection;Output serial ports is connect with external interface, is exported for single channel UART;The logic control element and switch control unit connect It connects, for selecting input Serial Port Line road and circuit switching signal being sent to switch control unit, control switch control unit is connect After receiving circuit switching signal, the signal of selected input serial ports is exported by external interface.
Further, serial interface switching circuit is additionally provided in the switch control unit, output serial ports passes through serial interface switching circuit It is connect with external interface, for believing the rs 232 serial interface signal level conversion of output to the serial ports that external serial ports docking device is able to use Number.
Further, the logic control element includes: single-chip microcontroller and controlling terminal, the single-chip microcontroller and switch control unit Connection, for sending the logic control signal for representing input Serial Port Line road serial number to switch control unit, single-chip microcontroller passes through BIOS It is connect with controlling terminal, graphic interface software is equipped in controlling terminal, user inputs Serial Port Line road sequence by graphic interface software Number carry out input serial ports selection.
Further, the single-chip microcontroller uses embedded controller.
Further, the logic control element includes: CPLD and controlling terminal, and CPLD is connect with switch control unit, is used In sending the logic control signal for representing input Serial Port Line road serial number to switch control unit, CPLD passes through BIOS and controlling terminal Connection, controlling terminal is interior to be equipped with graphic interface software, and user inputs Serial Port Line road serial number by graphic interface software and inputs Serial ports selection.
Further, the logic control element includes key, and key is connect with switch control unit, and the key includes three A button, for carrying out the output of low and high level, and the logic control that input string mouth line road serial number will be represented after three button combinations Signal processed is sent to switch control unit.
Further, the quantity in the rs 232 serial interface signal source is not more than 8.
In addition, the present invention also provides one kind on the basis of above-mentioned multi-channel serial port signal list interface duplex output system The implementation method of multi-channel serial port signal list interface duplex output system, includes the following steps:
Step 1: connecting multi-channel serial port signal list interface duplex output system, default UART1 output;
Step 2: judging whether to need to switch output, if so, step 3 is transferred to, if not, going to step 6;
Step 3: logic control element is written in input Serial Port Line road serial number by selection input serial ports;
Step 4: logic control element will input Serial Port Line road serial number and be converted to binary logic control signal and be sent to
Switch control unit;
Step 5: switch control unit determines input Serial Port Line road according to logic control signal;
Step 6: switch control unit exports the signal on determining input Serial Port Line road by external interface;
Step 7: signal goes to step 2 after exporting.
The prior art is compared, the beneficial effects of the invention are that: it is multiple that the present invention provides a kind of multi-channel serial port signal list interfaces With output system and its implementation, in the input terminal of switch control unit, the rs 232 serial interface signal for accessing each module device output is made The defeated of corresponding serial ports can be switched as needed in the switching of switch control unit internal control output signal for rs 232 serial interface signal source Out.The output of switch control unit only has rs 232 serial interface signal all the way, has been connected to serial port level chance-over circuit, can export device The rs 232 serial interface signal that rs 232 serial interface signal level conversion is able to use to external serial ports docking device, final rs 232 serial interface signal pass through individual interface Output, to realize the purpose of interface duplex.
The switching of multichannel difference rs 232 serial interface signal is controlled by logic control element and is switched inside switch control unit, logic control Unit receives the input Serial Port Line road serial number of user's confirmation, and is converted into binary logic control signal and is sent to switching Control unit;Switch control unit switches input Serial Port Line road according to logic control signal, it is thus achieved that multi-channel serial port signal Single interface duplex output.
It can be seen that compared with prior art, the present invention implementing with substantive distinguishing features outstanding and significant progress Beneficial effect be also obvious.
Detailed description of the invention
Attached drawing 1 is the electrical diagram of the embodiment of the present invention one.
Attached drawing 2 is the electrical diagram of the embodiment of the present invention two.
Attached drawing 3 is flow chart of the method for the present invention.
Specific embodiment
It explains with reference to the accompanying drawing to a specific embodiment of the invention.
Embodiment one:
A kind of multi-channel serial port signal list interface duplex output system as shown in Figure 1, comprising: multiple rs 232 serial interface signal sources, switching control Unit, logic control element and external interface processed;The switch control unit is equipped with multiple input serial ports and an output string Mouthful, input serial ports is connect with each rs 232 serial interface signal source respectively by UART bus;Wherein, rs 232 serial interface signal source can be CPU debugging string Message number, BMC detection rs 232 serial interface signal, serial port function signal of chip microcontroller etc..Output serial ports is connect with external interface, is used It is exported in single channel UART;The logic control element is connect with switch control unit, for selecting input Serial Port Line road and by line Road switching signal is sent to switch control unit, after control switch control unit receives circuit switching signal, by selected input The signal of serial ports is exported by external interface.Serial interface switching circuit is additionally provided in switch control unit, output serial ports passes through serial ports Conversion circuit is connect with external interface, for the rs 232 serial interface signal level conversion of output to external serial ports docking device to be able to use Rs 232 serial interface signal.
Logic control element includes: single-chip microcontroller and controlling terminal, and the single-chip microcontroller is connect with switch control unit, for Switch control unit sends the logic control signal for representing input Serial Port Line road serial number, and single-chip microcontroller is connected by BIOS and controlling terminal It connects, graphic interface software is equipped in controlling terminal, user inputs Serial Port Line road serial number by graphic interface software and carries out input string Mouth selection.Wherein, EC(embedded controller can be used in single-chip microcontroller), CPLD(Complex Programmable Logic Devices can also be used) replace It changes, either uses EC or CPLD chip, configured by BIOS, pass through graphic interface software realization serial ports in controlling terminal The switching control of signal.Common computer can be used in the controlling terminal.
Embodiment two:
A kind of multi-channel serial port signal list interface duplex output system as shown in Figure 2, comprising: multiple rs 232 serial interface signal sources, switching control Unit, logic control element and external interface processed;The switch control unit is equipped with multiple input serial ports and an output string Mouthful, input serial ports is connect with each rs 232 serial interface signal source respectively by UART bus;Wherein, rs 232 serial interface signal source can be CPU debugging string Message number, BMC detection rs 232 serial interface signal, serial port function signal of chip microcontroller etc..Output serial ports is connect with external interface, is used It is exported in single channel UART;The logic control element is connect with switch control unit, for selecting input Serial Port Line road and by line Road switching signal is sent to switch control unit, after control switch control unit receives circuit switching signal, by selected input The signal of serial ports is exported by external interface.Serial interface switching circuit is additionally provided in switch control unit, output serial ports passes through serial ports Conversion circuit is connect with external interface, for the rs 232 serial interface signal level conversion of output to external serial ports docking device to be able to use Rs 232 serial interface signal.
Logic control element includes key, and key is connect with switch control unit, and the key includes three buttons, is used for The output of low and high level is carried out, and the logic control signal for representing input string mouth line road serial number after three button combinations is sent to Switch control unit.Button by common key circuit can realize " 0 ", " 1 " input, three tunnel button combinations can realize " 000 ", " 001 " ... " 111 " eight kinds of logical signal inputs, can at most respectively correspond the switching of 8 road rs 232 serial interface signals of control, realize 8 roads string Message number passes through single interface timesharing output.User passes through the i.e. changeable desired signal source of hardware button.
Through the foregoing embodiment as it can be seen that the present invention realizes Multi-serial port signal list interface duplex, it is effectively relieved behind complete machine The problem of plate insufficient space.
In addition, it is more that the present invention also provides one kind above-mentioned based in multi-channel serial port signal list interface duplex output system The implementation method of road rs 232 serial interface signal list interface duplex output system, as shown in figure 3, including the following steps:
Step 1: connecting multi-channel serial port signal list interface duplex output system, default UART1 output;
Step 2: judging whether to need to switch output, if so, step 3 is transferred to, if not, going to step 6;
Step 3: logic control element is written in input Serial Port Line road serial number by selection input serial ports;
Step 4: logic control element will input Serial Port Line road serial number and be converted to binary logic control signal and be sent to switching Control unit;
Step 5: switch control unit determines input Serial Port Line road according to logic control signal;
Step 6: switch control unit exports the signal on determining input Serial Port Line road by external interface;
Step 7: signal goes to step 2 after exporting.
With reference to the drawings and specific embodiments, the invention will be further described.It should be understood that these embodiments are merely to illustrate The present invention rather than limit the scope of the invention.In addition, it should also be understood that, after reading the content taught by the present invention, this field Technical staff can make various changes or modifications the present invention, and such equivalent forms equally fall within range defined herein.

Claims (8)

1. a kind of multi-channel serial port signal list interface duplex output system characterized by comprising multiple rs 232 serial interface signal sources, switching Control unit, logic control element and external interface;
The switch control unit is equipped with multiple input serial ports and an output serial ports, and input serial ports is distinguished by UART bus It is connect with each rs 232 serial interface signal source;Output serial ports is connect with external interface, is exported for single channel UART;
The logic control element is connect with switch control unit, for selecting input Serial Port Line road and sending out circuit switching signal It send to switch control unit, after control switch control unit receives circuit switching signal, the signal of selected input serial ports is led to Cross external interface output.
2. multi-channel serial port signal list interface duplex output system according to claim 1, it is characterised in that: the switching control Serial interface switching circuit is additionally provided in unit processed, output serial ports is connect by serial interface switching circuit with external interface, for that will export Rs 232 serial interface signal level conversion to the rs 232 serial interface signal that is able to use of external serial ports docking device.
3. multi-channel serial port signal list interface duplex output system according to claim 1, which is characterized in that the logic control Unit processed includes: single-chip microcontroller and controlling terminal, and the single-chip microcontroller is connect with switch control unit, for sending out to switch control unit The logic control signal for representing input Serial Port Line road serial number is sent, single-chip microcontroller is connect by BIOS with controlling terminal, in controlling terminal Equipped with graphic interface software, user inputs Serial Port Line road serial number by graphic interface software and carries out input serial ports selection.
4. multi-channel serial port signal list interface duplex output system according to claim 3, which is characterized in that the single-chip microcontroller Using embedded controller.
5. multi-channel serial port signal list interface duplex output system according to claim 1, which is characterized in that the logic control Unit processed includes: CPLD and controlling terminal, and CPLD is connect with switch control unit, is represented for sending to switch control unit The logic control signal of Serial Port Line road serial number is inputted, CPLD is connect by BIOS with controlling terminal, and figure is equipped in controlling terminal Interface software, user input Serial Port Line road serial number by graphic interface software and carry out input serial ports selection.
6. multi-channel serial port signal list interface duplex output system according to claim 1, which is characterized in that the logic control Unit processed includes key, and key is connect with switch control unit, and the key includes three buttons, for carrying out low and high level Output, and the logic control signal that input string mouth line road serial number is represented after three button combinations is sent to switch control unit.
7. multi-channel serial port signal list interface duplex output system according to claim 1, it is characterised in that: the serial ports letter The quantity in number source is not more than 8.
8. a kind of realization side of multi-channel serial port signal list interface duplex output system described in -7 any one according to claim 1 Method, which comprises the steps of:
Step 1: connecting multi-channel serial port signal list interface duplex output system, default UART1 output;
Step 2: judging whether to need to switch output, if so, step 3 is transferred to, if not, going to step 6;
Step 3: logic control element is written in input Serial Port Line road serial number by selection input serial ports;
Step 4: logic control element will input Serial Port Line road serial number and be converted to binary logic control signal and be sent to
Switch control unit;
Step 5: switch control unit determines input Serial Port Line road according to logic control signal;
Step 6: switch control unit exports the signal on determining input Serial Port Line road by external interface;
Step 7: signal goes to step 2 after exporting.
CN201811303195.1A 2018-11-02 2018-11-02 A kind of multi-channel serial port signal list interface duplex output system and its implementation Pending CN109597778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811303195.1A CN109597778A (en) 2018-11-02 2018-11-02 A kind of multi-channel serial port signal list interface duplex output system and its implementation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811303195.1A CN109597778A (en) 2018-11-02 2018-11-02 A kind of multi-channel serial port signal list interface duplex output system and its implementation

Publications (1)

Publication Number Publication Date
CN109597778A true CN109597778A (en) 2019-04-09

Family

ID=65958622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811303195.1A Pending CN109597778A (en) 2018-11-02 2018-11-02 A kind of multi-channel serial port signal list interface duplex output system and its implementation

Country Status (1)

Country Link
CN (1) CN109597778A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078603A (en) * 2019-10-30 2020-04-28 苏州浪潮智能科技有限公司 Method and system for controlling access of internal serial port of multi-node equipment
CN113268100A (en) * 2021-04-29 2021-08-17 中科慧远视觉技术(北京)有限公司 Single-port multi-level input-output circuit and method
CN113868163A (en) * 2021-09-07 2021-12-31 深圳市国赛生物技术有限公司 Interface multiplexing device and control method of interface multiplexing device
WO2023082184A1 (en) * 2021-11-12 2023-05-19 华为技术有限公司 Serial port switching apparatus and method, and device, storage medium, system and vehicle
CN117609145A (en) * 2024-01-24 2024-02-27 苏州元脑智能科技有限公司 Serial port protection circuit, switch, server, protection method and related components

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455455A (en) * 2012-05-30 2013-12-18 鸿富锦精密工业(深圳)有限公司 Serial switching system, server and serial switching method
CN204650513U (en) * 2015-04-21 2015-09-16 深圳市恒扬科技股份有限公司 Distributed structure/architecture equipment and serial port circuit thereof
CN106383800A (en) * 2016-08-29 2017-02-08 深圳市共济科技股份有限公司 Intelligent serial interface equipment switching device and method
CN106445859A (en) * 2016-07-26 2017-02-22 安徽皖通邮电股份有限公司 Switching method and device of multiplexing of multiple processor debugging ports on single board
CN106549881A (en) * 2015-09-17 2017-03-29 中兴通讯股份有限公司 The changing method of multiple processor serial port multiplexings, apparatus and system on a kind of veneer
CN107145464A (en) * 2017-05-25 2017-09-08 郑州云海信息技术有限公司 A kind of Multi-serial port adjustment method, apparatus and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455455A (en) * 2012-05-30 2013-12-18 鸿富锦精密工业(深圳)有限公司 Serial switching system, server and serial switching method
CN204650513U (en) * 2015-04-21 2015-09-16 深圳市恒扬科技股份有限公司 Distributed structure/architecture equipment and serial port circuit thereof
CN106549881A (en) * 2015-09-17 2017-03-29 中兴通讯股份有限公司 The changing method of multiple processor serial port multiplexings, apparatus and system on a kind of veneer
CN106445859A (en) * 2016-07-26 2017-02-22 安徽皖通邮电股份有限公司 Switching method and device of multiplexing of multiple processor debugging ports on single board
CN106383800A (en) * 2016-08-29 2017-02-08 深圳市共济科技股份有限公司 Intelligent serial interface equipment switching device and method
CN107145464A (en) * 2017-05-25 2017-09-08 郑州云海信息技术有限公司 A kind of Multi-serial port adjustment method, apparatus and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078603A (en) * 2019-10-30 2020-04-28 苏州浪潮智能科技有限公司 Method and system for controlling access of internal serial port of multi-node equipment
CN111078603B (en) * 2019-10-30 2021-08-20 苏州浪潮智能科技有限公司 Method and system for controlling access of internal serial port of multi-node equipment
CN113268100A (en) * 2021-04-29 2021-08-17 中科慧远视觉技术(北京)有限公司 Single-port multi-level input-output circuit and method
CN113868163A (en) * 2021-09-07 2021-12-31 深圳市国赛生物技术有限公司 Interface multiplexing device and control method of interface multiplexing device
CN113868163B (en) * 2021-09-07 2024-02-23 深圳市国赛生物技术有限公司 Interface multiplexing device and control method of interface multiplexing device
WO2023082184A1 (en) * 2021-11-12 2023-05-19 华为技术有限公司 Serial port switching apparatus and method, and device, storage medium, system and vehicle
CN117609145A (en) * 2024-01-24 2024-02-27 苏州元脑智能科技有限公司 Serial port protection circuit, switch, server, protection method and related components
CN117609145B (en) * 2024-01-24 2024-03-22 苏州元脑智能科技有限公司 Serial port protection circuit, switch, server, protection method and related components

Similar Documents

Publication Publication Date Title
CN109597778A (en) A kind of multi-channel serial port signal list interface duplex output system and its implementation
CN101937414B (en) Method and device of sharing minitype USB interface for UART (Universal Asynchronous Receive/Transmitter) and USB (Universal Serial Bus)
CN101931674B (en) Method and device for sharing Micro-USB interface
CN105700732B (en) It is used for transmission the devices, systems, and methods of touch sensor information
CN103827841B (en) The I/O connector of configurable bandwidth
CN107908582A (en) Serial ports switching device and storage device
CN107145430A (en) A kind of method for realizing NVMe SSD lightings by CPLD based on I2C interfaces
CN207337881U (en) Double-screen electronic facility for study
CN102749985A (en) Method and device for dynamically adjusting bus clock
CN107992439B (en) Extensible data interaction method and system
CN210129132U (en) Interactive intelligent tablet
EP3454224B1 (en) Mobile computing device and method of transmitting data therefrom
CN105550154A (en) Single-bus time division multiplexing based two-way transmission system and method thereof
CN108255760A (en) A kind of multipath I 2 C system and data read-write method
CN102298562A (en) Method, device and system for interconnecting line and arbitration bus
CA2870914C (en) Modular apparatus and system for reconfigurable user inputs
CN107908584B (en) Multi-path RS-485 communication network
CN105824396A (en) Desktop type computer intelligent control and management method
CN201378316Y (en) Universal input/output interface extension circuit and mobile terminal with same
CN211180806U (en) Debugging serial port circuit based on HDMI interface, HDMI interface module and HDMI equipment
CN207008014U (en) A kind of test board of server logic Control card
CN105095033B (en) Debugging apparatus and method on a kind of server
CN202351858U (en) Device for simulating I2C (Inter-Integrated Circuit) bus
JP3946537B2 (en) A system consisting of multiple karaoke song selection remote controllers and a collective cradle
CN219420840U (en) Video processing module

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for 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: 20190409