CN107678988A - A kind of multifunctional serial port device and implementation method - Google Patents

A kind of multifunctional serial port device and implementation method Download PDF

Info

Publication number
CN107678988A
CN107678988A CN201710806479.1A CN201710806479A CN107678988A CN 107678988 A CN107678988 A CN 107678988A CN 201710806479 A CN201710806479 A CN 201710806479A CN 107678988 A CN107678988 A CN 107678988A
Authority
CN
China
Prior art keywords
com
serial port
mainboard
signal
function switch
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
CN201710806479.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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710806479.1A priority Critical patent/CN107678988A/en
Publication of CN107678988A publication Critical patent/CN107678988A/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/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0002Serial port, e.g. RS232C

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Programmable Controllers (AREA)

Abstract

The present invention provides a kind of multifunctional serial port device and implementation method, by the way that the multi-group serial port on mainboard is signally attached into programming device, COM function switch signals are sent to programming device by BMC orders or button, programming device is decoded according to function switch signal behavior to which group rs 232 serial interface signal, and decoded rs 232 serial interface signal is exported to serial ports physical interface;By the cooperation of function switch signal, now single serial ports physical interface can support multiple serial port functions.

Description

A kind of multifunctional serial port device and implementation method
Technical field
The present invention relates to computer server technical field, and in particular to a kind of multifunctional serial port device and implementation method.
Background technology
The serial ports physical interface of server master board is all that single function is special, the corresponding serial ports physical interface of one group of signal. , it is necessary to use multiple serial ports (COM) when server debugging or O&M, such as BMC serial ports, system serial ports etc..Due to present Server master board it is more and more narrow, multiple serial ports (COM) physical interface can not be put, to debugging with O&M bring greatly not It is convenient.
Multi-group serial port signal is supported by the highdensity physical interface of small size, then by patchcord, is converted into standard Serial ports physical interface, be still finally the corresponding physical interface of one group of signal.
In addition such scheme needs also exist for extra small size high-density connector and patchcord, and cost is high, and operation is not The problems such as facilitating.
Therefore for above-mentioned existing problem, it is necessary to carry out developmental research in fact, to provide a kind of scheme, can makes With single serial ports physical interface, multifunctional serial port function is realized.
The content of the invention
In order to solve the above technical problems, it is a kind of multifunctional serial port implementation that the present invention, which provides, it is specific as follows:
In a first aspect, the present invention, which provides a kind of multifunctional serial port device, includes programming device, set on programming device There is control port, signal end, system external signal end in system, programming device passes through signal end in system and each core on mainboard Piece connects, and to receive multigroup COM signals on mainboard, CPLD obtains function switch signal by control port, and according to function Switching signal is decoded to the COM signals received from mainboard, and programming device is connect by system external signal end and COM physics Mouth connection, by decoded mainboard COM signal outputs to COM physical interfaces.
Further, programming device includes complex programmable logic device (CPLD) or on-site programmable gate array FPGA.
Further, each chip on mainboard includes baseboard management controller BMC, PCH.
Further, multigroup COM signals on mainboard include BMC COM signals, system COM signals, SOL COM signals.
Further, function switch signal can be provided by baseboard management controller BMC.
Further, multifunctional serial port device also includes a physical button, and function switch signal can be carried by the physical button For.
Second aspect, the present invention provide a kind of multifunctional serial port implementation method, including:
SS1:Multigroup COM signals on mainboard are connected on programming device;
SS2:Receive capabilities switching signal;
SS3:Programming device is by function switch signal, COM signals corresponding to selection decoding;
SS4:Give decoded COM signal outputs to serial ports physical interface.
Further, the function switch signal in step SS2 is provided by baseboard management controller BMC.
Further, the function switch signal in step SS2 is provided by peripheral hardware physical button.
Further, multigroup COM signals in step SS1 on mainboard include BMC COM signals, system COM signals, SOL COM signals.
By the solution of the present invention, using existing device, by specific circuit design and Software for Design, a string is completed Mouth physical interface realizes multi-functional purpose, saves design cost, improves O&M efficiency.
Brief description of the drawings
Fig. 1 shows the structured flowchart of multifunctional serial port device of the present invention.
Fig. 2 shows multifunctional serial port implementation method flow chart of the present invention.
Embodiment
Technical scheme is further illustrated below in conjunction with Figure of description and specific embodiment.It should be appreciated that this The specific embodiment of place description is not intended to limit the present invention only to explain the present invention.
Fig. 1 is the structured flowchart of the multifunctional serial port device of one embodiment of the invention.
As shown in figure 1, multifunctional serial port device according to embodiments of the present invention, including complex programmable logic device (CPLD) (Complex Programmable Logic Device), control port, signal end in system are provided with CPLD, outside system Signal end, CPLD are connected by signal end in system with each chip on mainboard, to receive multigroup COM signals on mainboard, CPLD obtains function switch signal by control port, and the COM signals received from mainboard are entered according to function switch signal Row decoding, CPLD is connected by system external signal end with COM physical interfaces, by decoded mainboard COM signal outputs to COM Physical interface.
In addition, complex programmable logic device (CPLD) can be by the programming device generation such as on-site programmable gate array FPGA Replace.
Each chip on mainboard includes:Baseboard management controller BMC (Baseboard Management Controller), PCH etc..
Multigroup COM signals on mainboard include:BMC COM signals, system COM signals, SOL COM signals etc..
According to one embodiment of the invention, function switch signal can be provided by baseboard management controller BMC.
According to one embodiment of the invention, multifunctional serial port device also includes a physical button, and function switch signal can be by The physical button provides.
By the way that the multi-group serial port on mainboard is signally attached into CPLD, COM functions are sent by BMC orders or button A To CPLD, CPLD is decoded switching signal according to function switch signal behavior to which group rs 232 serial interface signal, and by decoded string Mouthful signal output is to serial ports physical interface;By the cooperation of function switch signal, now single serial ports physical interface can prop up Hold multiple serial port functions.BMC and CPLD is the existing chip of server master board, and no extra cost produces.
Fig. 2 is the multifunctional serial port implementation method flow chart of one embodiment of the invention.
As shown in Fig. 2 multifunctional serial port implementation method according to embodiments of the present invention, including:
SS1:Multigroup COM signals on mainboard are connected on CPLD;
SS2:Receive capabilities switching signal;
SS3:CPLD is by function switch signal, COM signals corresponding to selection decoding;
SS4:Give decoded COM signal outputs to serial ports physical interface.
According to one embodiment of the invention, the function switch signal in step SS2 is provided by baseboard management controller BMC.
According to one embodiment of the invention, the function switch signal in step SS2 is provided by peripheral hardware physical button.
According to one embodiment of the invention, multigroup COM signals on mainboard include:BMC COM signals, system COM signals, SOL COM signals etc..
By above step, you can complete a multi-functional single physical serial interface design.
Equally, complex programmable logic device (CPLD) can be by the programming device generation such as on-site programmable gate array FPGA Replace.
By the solution of the present invention, multi-channel serial port signal is decoded and selected by mainboard programming device, then Further according to selection signal, Serial Port Information corresponding to progress exports, so as to reach the design mesh of a multifunctional serial port physical interface 's.
The present invention, by specific circuit design and Software for Design, completes a serial ports physical interface using existing device Multi-functional purpose is realized, saves design cost, improves O&M efficiency
Although having been described for some aspects in the context of device, it is apparent that these aspects also illustrate that corresponding method Description, wherein block or apparatus and method for step or the feature of method and step be corresponding.Similarly, in the context of method and step Described in each side also illustrate that corresponding to block or project or the feature of corresponding intrument description.(or use) can be passed through Hardware unit such as microprocessor, programmable calculator or electronic circuit etc is some or all of in method and step to perform. Can be performed by such device in most important method and step some or it is multiple.
The realization can use hardware or using software or can use for example floppy disk, DVD, blue light, CD, ROM, There is the stored digital for being stored in electronically readable control signal thereon to be situated between for PROM, EPROM, EEPROM or flash memory etc Matter performs, and the electronically readable control signal coordinates (or can coordinate with it) with so that performing with programmable computer system Corresponding method.The data medium with electronically readable control signal can be provided, the electronically readable control signal can be with Programmable computer system coordinates to perform approach described herein.
The realization can also use the form of the computer program product with program code, work as computer program product When running on computers, program code is operated to perform this method.Can in machine-readable carrier storage program generation Code.
Described above be only it is illustrative, and it is to be understood that it is described herein arrangement and details modification and Change will be apparent to those skilled in the art.It is therefore intended that only by scope of the following claims rather than by The specific detail that is presented limits by way of above description and explaining.

Claims (10)

1. a kind of multifunctional serial port device, it is characterised in that including programming device, control terminal is provided with programming device Signal end, system external signal end in mouth, system, programming device are connected by signal end in system with each chip on mainboard, To receive multigroup COM signals on mainboard, CPLD obtains function switch signal by control port, and according to function switch signal The COM signals received from mainboard are decoded, programming device is connected by system external signal end with COM physical interfaces, With by decoded mainboard COM signal outputs to COM physical interfaces.
2. multifunctional serial port device according to claim 1, wherein programming device include CPLD CPLD or on-site programmable gate array FPGA.
3. multifunctional serial port device according to claim 1, each chip wherein on mainboard includes baseboard management controller BMC、PCH。
4. multifunctional serial port device according to claim 1, multigroup COM signals wherein on mainboard are believed including BMC COM Number, system COM signals, SOL COM signals.
5. multifunctional serial port device according to claim 1, wherein function switch signal can be by baseboard management controller BMC There is provided.
6. multifunctional serial port device according to claim 1, wherein multifunctional serial port device also include a physical button, work( Energy switching signal can be provided by the physical button.
A kind of 7. multifunctional serial port implementation method, it is characterised in that including:
SS1:Multigroup COM signals on mainboard are connected on programming device;
SS2:Receive capabilities switching signal;
SS3:Programming device is by function switch signal, COM signals corresponding to selection decoding;
SS4:Give decoded COM signal outputs to serial ports physical interface.
8. the function switch signal in multifunctional serial port implementation method according to claim 6, wherein step SS2 is by substrate Management Controller BMC is provided.
9. the function switch signal in multifunctional serial port implementation method according to claim 6, wherein step SS2 is by peripheral hardware Physical button provides.
10. multigroup COM signals in multifunctional serial port implementation method according to claim 6, wherein step SS1 on mainboard Including BMC COM signals, system COM signals, SOL COM signals.
CN201710806479.1A 2017-09-08 2017-09-08 A kind of multifunctional serial port device and implementation method Pending CN107678988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710806479.1A CN107678988A (en) 2017-09-08 2017-09-08 A kind of multifunctional serial port device and implementation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710806479.1A CN107678988A (en) 2017-09-08 2017-09-08 A kind of multifunctional serial port device and implementation method

Publications (1)

Publication Number Publication Date
CN107678988A true CN107678988A (en) 2018-02-09

Family

ID=61134647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710806479.1A Pending CN107678988A (en) 2017-09-08 2017-09-08 A kind of multifunctional serial port device and implementation method

Country Status (1)

Country Link
CN (1) CN107678988A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062828A (en) * 2018-07-19 2018-12-21 郑州云海信息技术有限公司 A kind of CPLD and storage control circuit
CN110362525A (en) * 2019-06-17 2019-10-22 苏州浪潮智能科技有限公司 A kind of method, system and board for realizing Multi-serial port switching based on CPLD
CN110659233A (en) * 2019-09-11 2020-01-07 苏州浪潮智能科技有限公司 Serial port information switching device and server
TWI700581B (en) * 2018-08-22 2020-08-01 神雲科技股份有限公司 Server and error detecting method thereof
CN112015689A (en) * 2019-05-29 2020-12-01 阿里巴巴集团控股有限公司 Serial port output path switching method, system and device and switch
CN112464630A (en) * 2020-11-30 2021-03-09 海南电网有限责任公司定安供电局 Automatic generation method and system for scheduling instruction ticket
CN112506172A (en) * 2020-12-07 2021-03-16 天津津航计算技术研究所 Multi-CPLD real-time monitoring device
CN113094316A (en) * 2021-04-01 2021-07-09 浪潮电子信息产业股份有限公司 Online switching device and method of NCSI (non-volatile memory) signals
CN113392054A (en) * 2021-08-17 2021-09-14 苏州浪潮智能科技有限公司 Interface integrated circuit and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789557A (en) * 2010-01-29 2010-07-28 上海微小卫星工程中心 Multifunctional interface conversion device
US20140334101A1 (en) * 2013-05-10 2014-11-13 Hon Hai Precision Industry Co., Ltd. Fan speed control system
CN205069079U (en) * 2015-09-11 2016-03-02 广州市亿彩天虹光电科技有限公司 Multi -functional LED display screen control system
CN106339344A (en) * 2016-08-18 2017-01-18 浪潮(北京)电子信息产业有限公司 Multi-serial port switching system and method used for debugging server system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789557A (en) * 2010-01-29 2010-07-28 上海微小卫星工程中心 Multifunctional interface conversion device
US20140334101A1 (en) * 2013-05-10 2014-11-13 Hon Hai Precision Industry Co., Ltd. Fan speed control system
CN205069079U (en) * 2015-09-11 2016-03-02 广州市亿彩天虹光电科技有限公司 Multi -functional LED display screen control system
CN106339344A (en) * 2016-08-18 2017-01-18 浪潮(北京)电子信息产业有限公司 Multi-serial port switching system and method used for debugging server system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062828A (en) * 2018-07-19 2018-12-21 郑州云海信息技术有限公司 A kind of CPLD and storage control circuit
US10860404B2 (en) 2018-08-22 2020-12-08 Mitac Computing Technology Corporation Server and debugging method therefor
TWI700581B (en) * 2018-08-22 2020-08-01 神雲科技股份有限公司 Server and error detecting method thereof
CN112015689A (en) * 2019-05-29 2020-12-01 阿里巴巴集团控股有限公司 Serial port output path switching method, system and device and switch
WO2020238747A1 (en) * 2019-05-29 2020-12-03 阿里巴巴集团控股有限公司 Serial port output path switching method, system and apparatus, and switch
CN110362525B (en) * 2019-06-17 2022-03-22 苏州浪潮智能科技有限公司 Method, system and board card for realizing multi-serial port switching based on CPLD
CN110362525A (en) * 2019-06-17 2019-10-22 苏州浪潮智能科技有限公司 A kind of method, system and board for realizing Multi-serial port switching based on CPLD
CN110659233A (en) * 2019-09-11 2020-01-07 苏州浪潮智能科技有限公司 Serial port information switching device and server
CN112464630A (en) * 2020-11-30 2021-03-09 海南电网有限责任公司定安供电局 Automatic generation method and system for scheduling instruction ticket
CN112506172A (en) * 2020-12-07 2021-03-16 天津津航计算技术研究所 Multi-CPLD real-time monitoring device
CN112506172B (en) * 2020-12-07 2022-09-30 天津津航计算技术研究所 Multi-CPLD real-time monitoring device
CN113094316A (en) * 2021-04-01 2021-07-09 浪潮电子信息产业股份有限公司 Online switching device and method of NCSI (non-volatile memory) signals
CN113094316B (en) * 2021-04-01 2022-11-25 浪潮电子信息产业股份有限公司 Online switching device and method of NCSI (non-volatile memory) signals
CN113392054A (en) * 2021-08-17 2021-09-14 苏州浪潮智能科技有限公司 Interface integrated circuit and server
CN113392054B (en) * 2021-08-17 2021-10-29 苏州浪潮智能科技有限公司 Interface integrated circuit and server

Similar Documents

Publication Publication Date Title
CN107678988A (en) A kind of multifunctional serial port device and implementation method
CN102999350B (en) A kind of FPGA program upgrading download online method in digital signal processing platform
CN108008914B (en) The method, apparatus and ARM equipment of disk management in a kind of ARM equipment
CN107145430A (en) A kind of method for realizing NVMe SSD lightings by CPLD based on I2C interfaces
CN101814058A (en) Commonly-used storing device
CN102520961B (en) Off-chip online programmable SOC (system on a chip) and control method for same
CN109240870A (en) Solid state disk fault positioning method and related device
CN111294413B (en) Method, device and readable medium for determining Internet Protocol (IP) address
WO2017024819A1 (en) System and method for implementing read/write of board information
CN104281413A (en) Command queue management method, memorizer controller and memorizer storage device
CN110619914A (en) Mass production method for solid state disk with PCIe interface mass production device
CN109582623A (en) One kind can be realized the cascade expansion board circuit of muti-piece different type expansion board
CN101515436B (en) Embedded LED display screen control system
CN101421705A (en) Multi media card with high storage capacity
CN110471811A (en) One is applied to the control system of input/output interface configuration
CN110187872A (en) A kind of BIOS development approach, system and electronic equipment and storage medium
CN101788946B (en) Method and device for sintering firmware connected with E2PROM (Electrically Erasable Programmable Read-Only Memory) on CPLD (Complex Programable Logic Device)
CN104090833B (en) Server and signal resolver thereof
WO2024196431A1 (en) Early read operation for storage devices with independent planes and plane groups
CN104077080A (en) Memory access method, memory access control method, SPI flash memory device and controller thereof
CN107122138A (en) A kind of device and method for configuring disk array
CN103902298B (en) Method to set up and the device of status information write with a brush dipped in Chinese ink by a kind of instruction set firmware
CN206209364U (en) Control circuit device based on DSP Yu FPGA
CN111710357B (en) MTP unit read-write control circuit of MCU
CN103729326A (en) GPIO expansion method based on shifting registers

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: 20180209