CN116126761A - Main control system with multiple controllers sharing serial port - Google Patents

Main control system with multiple controllers sharing serial port Download PDF

Info

Publication number
CN116126761A
CN116126761A CN202310179933.0A CN202310179933A CN116126761A CN 116126761 A CN116126761 A CN 116126761A CN 202310179933 A CN202310179933 A CN 202310179933A CN 116126761 A CN116126761 A CN 116126761A
Authority
CN
China
Prior art keywords
serial port
management
board
cpld
control 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
Application number
CN202310179933.0A
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 CN202310179933.0A priority Critical patent/CN116126761A/en
Publication of CN116126761A publication Critical patent/CN116126761A/en
Pending legal-status Critical Current

Links

Images

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/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
    • 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/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • 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/0028Serial attached SCSI [SAS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application discloses a master control system with multiple controllers sharing a serial port, which is applied to the field of servers. The backboard of the main control system is provided with a plurality of slots, and CPLD serial port switching modules of all the mainboards are respectively connected with the corresponding slots. The management board comprises a CPLD serial port processing module, the backboard is connected with the CPLD serial port processing module of the management board, and the CPLD serial port processing module of the management board is also used for connecting a serial port terminal so that the serial port terminal can be connected with a corresponding main board through a communication link according to slot position information. According to the serial port sharing scheme among the main control systems, serial ports of all controllers are connected to the management board, the management board only provides 1-path serial port to the outside, sharing switching of the serial ports is achieved through CPLDs of the main board and the management board, equipment of all controllers can be accessed only by inputting corresponding switching instructions, various complicated operations are omitted, and the debugging process of the four-control system is simplified.

Description

Main control system with multiple controllers sharing serial port
Technical Field
The present disclosure relates to the field of servers, and in particular, to a master control system with multiple controllers sharing serial ports.
Background
At present, the main control system of the whole storage or server machine can provide an external debugging interface in the development stage, the interface is generally in the form of an earphone hole or an RJ45 interface, and the actual communication protocol is a serial port protocol, so that the main control system is used for debugging in the product development stage. In general, the whole storage or server is mainly a dual-control system, and the debug serial port of each controller belongs to a single controller and is only used for serial port switching sharing among devices on a single-control main board. For the dual control system, the serial ports of the 2 controllers do not interfere with each other, and the corresponding serial ports need to be manually connected in order to access which controller. For double control, the method is also acceptable, but for a four-control system, the method is troublesome to operate, the external serial ports of the 4 controllers are required to be manually connected, and the debugging is complicated.
Therefore, how to simplify the debugging process of the four-control system is a problem to be solved by those skilled in the art.
Disclosure of Invention
The purpose of the application is to provide a multi-controller serial port sharing master control system so as to simplify the debugging process of a four-control system.
In order to solve the above technical problem, the present application provides a master control system for sharing serial ports by multiple controllers, including: a main board, a back board and a management board;
the CPLD serial port switching module of each main board is respectively connected with the corresponding slot position; the slot positions of the backboard are provided with corresponding slot position information, and the slot position information is used for identifying the corresponding main board;
the management board comprises a CPLD serial port processing module, the backboard is connected with the CPLD serial port processing module of the management board, and the CPLD serial port processing module of the management board is also used for connecting a serial port terminal, so that the serial port terminal is connected with the corresponding main board through a communication link according to the slot position information.
Preferably, the number of the main boards of the serial port shared main control system of the multiple controllers is four;
the backboard comprises four slots, and the four mainboards are respectively connected with the corresponding slots.
Preferably, the number of the management boards of the serial port shared main control system of the multiple controllers is two;
the two management boards are respectively connected with the backboard to connect the corresponding mainboards.
Preferably, the management board further comprises: a level conversion module;
and the CPLD serial port processing module of the management board is connected with a serial port terminal through the level conversion module.
Preferably, the management interface used for connection on the management board comprises a network port, a USB port and a serial port.
Preferably, if the CPLD serial port switching module of the motherboard receives a switching instruction sent by the serial port terminal through the management board, the CPLD serial port switching module of the motherboard performs corresponding matching processing according to the SLOTID information of the motherboard and the switching instruction, and switches to a serial port of a corresponding device on the motherboard.
Preferably, if the serial port terminals of the 2 management boards send out the same switching instruction, the management board that sends out the switching instruction later robs the management board that sends out the switching instruction earlier, so that the serial port of the corresponding device is connected with the serial port of the management board that sends out the switching instruction later.
Preferably, the main board includes: PCH, BMC;
the PCH is connected with the BMC, and the BMC is connected with the CPLD serial port switching module of the main board.
Preferably, the BMC on the main board is internally integrated with an eSPI/LPC conversion serial port function.
Preferably, the motherboard includes an x86 system, and the x86 system is connected with the CPLD serial port switching module of the motherboard through the BMC.
The utility model provides a master control system of many controllers sharing serial ports, including mainboard, backplate and management board. The CPLD serial port switching module of each main board is respectively connected with the corresponding slot position; the slot positions of the backboard are provided with corresponding slot position information, and the slot position information is used for identifying the corresponding main board. The management board comprises a CPLD serial port processing module, the backboard is connected with the CPLD serial port processing module of the management board, and the CPLD serial port processing module of the management board is also used for connecting a serial port terminal so that the serial port terminal can be connected with a corresponding main board through a communication link according to slot position information. According to the serial port sharing scheme among the main control systems, serial ports of all controllers are connected to the management board, the management board only provides 1-path serial port to the outside, sharing switching of the serial ports is achieved through a serial port switching module of the main board and a CPLD serial port processing module of the management board, equipment of all controllers can be accessed only by inputting corresponding switching instructions, a plurality of complicated operations are omitted, and the debugging process of the four-control system is simplified.
Drawings
For a clearer description of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a four-control system according to an embodiment of the present application.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments herein without making any inventive effort are intended to fall within the scope of the present application.
The core of the application is to provide a multi-controller serial port sharing master control system so as to simplify the debugging process of a four-control system.
In order to provide a better understanding of the present application, those skilled in the art will now make further details of the present application with reference to the drawings and detailed description.
At present, the main control system of the whole storage or server machine can provide an external debugging interface in the development stage, the interface is generally in the form of an earphone hole or an RJ45 interface, and the actual communication protocol is a serial port protocol, so that the main control system is used for debugging in the product development stage or removing faults of a computer. In general, the whole storage or server is mainly a dual-control system, and the debug serial port of each controller belongs to a single controller and is only used for serial port switching sharing among devices on a single-control main board. For the dual control system, the serial ports of the 2 controllers do not interfere with each other, and the corresponding serial ports need to be manually connected in order to access which controller. For double control, the method is also acceptable, but for a four-control system, the method is troublesome to operate, the external serial ports of the 4 controllers are required to be manually connected, and the debugging is complicated. Based on this, the application provides a serial port sharing scheme among 4 control systems, the serial ports of all controllers are connected to the management board, the management board only provides 1 path of serial ports to the outside, sharing switching of the serial ports is realized through complex programmable logic devices (Complex Programmable Logic Device, CPLD) of the main board and the management board, equipment of all controllers can be accessed only by inputting corresponding switching instructions, and a lot of complicated operations are omitted.
The application implementation provides a master control system of many controllers sharing serial ports includes: motherboard, backplate, management board. The CPLD serial port switching module of each main board is respectively connected with the corresponding slot position; the slot positions of the backboard are provided with corresponding slot position information, and the slot position information is used for identifying the corresponding main board. The management board comprises a CPLD serial port processing module, the backboard is connected with the CPLD serial port processing module of the management board, and the CPLD serial port processing module of the management board is also used for connecting a serial port terminal so that the serial port terminal can be connected with a corresponding main board through a communication link according to slot position information.
It should be noted that, in the present application, the types and numbers of the main board, the back board and the management board are not limited, and generally, the scheme of the present application may be applied to a four-control system, that is, include four main boards. Fig. 1 is a schematic structural diagram of a four-control system according to an embodiment of the present application; as shown in fig. 1, the system comprises four main boards, a back board and two management boards. The CPLD serial port switching modules of the four mainboards are respectively connected with corresponding slot positions on the backboard, the slot positions of the backboard are provided with corresponding slot position information, and the slot position information is used for identifying the corresponding mainboards. The CPLD serial port processing modules of the management boards are connected with the CPLD serial port processing modules of the management boards, and the CPLD serial port processing modules of the management boards are also used for connecting serial port terminals so that the serial port terminals can be connected with corresponding mainboards through communication links according to slot position information.
The embodiment provides a switching scheme of a four-control shared serial port in a storage system, which is applied to a storage product. As shown in fig. 1, in the four-control system, the serial ports of the devices inside each main board share one serial port, and are connected to the management board, the management board only provides 1 serial port to the outside, and all the four-control devices share the serial port of the management board, and the serial ports are switched to the corresponding devices for access by inputting serial port switching instructions.
The main device included in the embodiment of the application comprises: the CPLD serial port processing system comprises a main board, a CPLD serial port switching module of the main board, a back board, a management board and a CPLD serial port processing module of the management board. The main board is a core module in the storage system, and a central processing unit (Central Processing Unit, CPU), a south bridge chip PCH, an execution server remote management controller (Baseboard Management Controller, BMC) and other devices needing serial port access are arranged on the main board. And the CPLD serial port switching module of the main board receives a switching instruction sent by the serial port of the management board and switches the serial port to corresponding equipment. The backboard mainly plays a role in connection, and is connected with the management board on the main board to provide a signal intercommunication path. The management board mainly provides some management interfaces of the storage system, including a network port, a USB port, a serial port and the like. And the CPLD serial port processing module of the management board is connected with the serial port from the four controllers through a communication link and processes the serial port, so that the four-controller system shares an external debugging serial port.
Referring to fig. 1, a specific implementation process of a switching scheme of a four-control shared serial port in a storage system provided in an embodiment of the present application is as follows: in general, serial ports provided on each motherboard include an x86 system serial port (sys_uart), a BMC serial port (bmc_uart), and the like, and in the process of development and debugging, the serial ports are logged into corresponding devices to perform debug. As shown in fig. 1, the 1-way serial ports mbx_uart1 shared by the sys_uart and the bmc_uart of each motherboard are connected to the management board 1 through the backplane, meanwhile, the 1-way shared serial ports mbx_uart2 are reserved to be connected to the shared serial ports of the 2,4 controllers of the management board, and the purpose of sharing 1-way debugging serial ports RS232_uart1 or RS232_uart2 is achieved through the control of the management board CPLD.
In the following specific explanation, 1, the serial port to be switched on each motherboard includes sys_uart and bmc_uart, and the function of the eSPI/LPC conversion serial port is integrated in the BMC, so that the serial port of the x86 system is also a BMC output connected to the motherboard CPLD. 2. The main board CPLD serial port switching module mainly performs switching of serial ports on and between boards, and when receiving a switching instruction sent by a serial port terminal through the management board, the CPLD performs corresponding matching processing according to the SLOTID information and the switching instruction of the local control, and then switches to the serial port of corresponding equipment, for example: the serial port terminal sends $ ≡ $ 21 to the BMC serial port of the motherboard 2, and the switching instruction can be customized, for example, the switching instruction in this case is defined as:
$% ≡10: SYS_UART of the main board 1;
$ ≡11: BMC_UART of the main board 1;
$ ≡20: sys_uart of motherboard 2;
$ ≡21: BMC_UART of the main board 2;
$ ≡30: sys_uart of motherboard 3;
$ ≡31: BMC_UART of the main board 3;
$ ≡40: sys_uart of motherboard 4;
$ ≡41: BMC_UART of the motherboard 4.
3. The backboard is mainly used for providing a connecting passage of the serial port, plays a bridging role and is communicated with the main board and the management board. 4. Each management board is connected with serial ports of 4 controllers, and the CPLD serial port processing module of the management board is used for communicating the serial ports of the 4 controllers to the RS232 debugging serial port by default and giving the switching control right to the CPLD. The management board 1 and the management board 2 are mutually redundant, and can be simultaneously connected with a serial port terminal, the serial port of the default management board 1 is connected to the SYS_UART of the main board 1, and the serial port of the management board 2 is connected to the SYS_UART of the main board 2. 5. If the serial port terminals of the 2 management boards send out the same switching instruction, the subsequent management board will rob the forward management board to switch the serial port to the serial port of the subsequent management board, for example: the management board 1 sends $ ≡ $; if the switch instructions of the 2 management boards are different, different devices can be accessed respectively.
The embodiment of the application provides a switching scheme of a four-control shared serial port in a storage system, and the main control and management equipment on each controller can be accessed through switching instructions only by providing 1-path serial port, so that debugging and development work is more convenient and faster. The innovation point of the embodiment of the application is that: 1. the management board provides 1 path of serial port debugging interface to the outside, and serial port switching among four controllers and on each controller is realized through serial port input instructions. 2. The four-control storage system supports connection of 2 management boards, and the 2 management boards are redundant and can be robbed or independently operated. 3. The four-control system realizes serial port switching among controllers through the CPLD, and the main board and the management board both comprise CPLD serial port processing modules which cooperate to support serial port switching.
The serial interface is abbreviated as serial interface, also called serial communication interface or serial communication interface (usually referred to as COM interface), and is an expansion interface adopting serial communication mode. The serial interface is used for sequentially transmitting data bit by bit, and is characterized by simple communication line, and can realize bidirectional communication only by a pair of transmission lines. The BMC is a baseboard management controller, is a small operating system independent of a server system, and is a chip integrated on a main board. A CPLD is a digital integrated circuit in which a user constructs logic functions by himself as required. The basic design method is to generate corresponding target files by means of an integrated development software platform and by means of a schematic diagram, a hardware description language and the like, and transmit the corresponding target files to a target chip to realize a designed digital system.
The embodiment of the application provides a multi-controller serial port sharing master control system, which comprises a main board, a back board and a management board. The CPLD serial port switching module of each main board is respectively connected with the corresponding slot position; the slot positions of the backboard are provided with corresponding slot position information, and the slot position information is used for identifying the corresponding main board. The management board comprises a CPLD serial port processing module, the backboard is connected with the CPLD serial port processing module of the management board, and the CPLD serial port processing module of the management board is also used for connecting a serial port terminal so that the serial port terminal can be connected with a corresponding main board through a communication link according to slot position information. According to the serial port sharing scheme among the main control systems, serial ports of all controllers are connected to the management board, the management board only provides 1-path serial port to the outside, sharing switching of the serial ports is achieved through the serial port switching module of the main board and the CPLD serial port processing module of the management board, equipment of all controllers can be accessed only by inputting corresponding switching instructions, a plurality of complicated operations are omitted, and the debugging process of the four-control system is simplified.
The switching scheme of the four-control shared serial port in the storage system described in the above embodiment, that is, the main board of the multi-controller shared serial port main control system is four. Correspondingly, the back plate comprises four slots, and the four main plates are respectively connected with the corresponding slots. Referring to fig. 1, the serial ports to be switched on the four mainboards include sys_uart and bmc_uart, and the function of eSPI/LPC conversion serial port is integrated in the BMC, so that the serial port of the x86 system is also the output of the BMC and is connected to the mainboard CPLD. The four main board CPLD serial port switching modules mainly perform on-board and inter-board serial port switching, when receiving a switching instruction sent by a serial port terminal through a management board, the CPLD performs corresponding matching processing according to the SLOTID information of the local control and the switching instruction, and then switches to the serial port of corresponding equipment, and the switching instruction can be customized and is not particularly limited.
In addition, the number of the management boards of the main control system with the serial ports shared by the multiple controllers can be two, and the two management boards are respectively connected with the back board so as to realize the connection with the corresponding main board. As shown in fig. 1, the management boards 1 and 2 are redundant, and can be connected with serial terminals at the same time, the default management board 1 is connected with the sys_uart of the main board 1 in serial, and the management board 2 is connected with the sys_uart of the main board 2 in serial. If the serial port terminals of the 2 management boards send out the same switching instruction, the subsequent management board will rob the forward management board to switch the serial port to the serial port of the subsequent management board, for example: the management board 1 sends $ ≡ $; if the switch instructions of the 2 management boards are different, different devices can be accessed respectively.
In practical application, the management board may further be provided with a level conversion module (LEVEL SHIFT in fig. 1), where the CPLD serial port processing module of the management board is connected to the serial port terminal through the level conversion module, and the level conversion module is used for implementing level conversion between the CPLD serial port processing module and the serial port terminal.
In the application, if the CPLD serial port switching module of the main board receives the switching instruction sent by the serial port terminal through the management board, the CPLD serial port switching module of the main board performs corresponding matching processing according to the SLOTID information and the switching instruction of the main board and switches to the serial port of the corresponding device on the main board. In a special case, if serial port terminals of a plurality of management boards send out the same switching instruction, the management board which sends out the switching instruction later breaks the management board which sends out the switching instruction earlier, so that serial ports of corresponding equipment are connected with serial ports of the management board which sends out the switching instruction later.
The management interface for connection on the management board mainly comprises a network port, a USB port and a serial port. Common portal communications are transmission control protocol (Transmission Control Protocol, TCP) communications and user datagram protocol (User Datagram Protocol, UDP) communications, with TCP and UDP differing primarily in reliable connection and connectionless. If there is no switch, TCP can only be 1 to 1, while UDP can be many to many, regardless of 1 to 1,1 to many. Universal serial bus (Universal Serial Bus, USB) is an external bus standard for standardizing the connection and communication of computers to external devices. Is an interface technology applied in the field of computers. The serial interface is abbreviated as serial interface, also called serial communication interface or serial communication interface, and is an expansion interface adopting serial communication mode. The serial interface is used for sequentially transmitting data bit by bit, and is characterized by simple communication line, and can realize bidirectional communication only by a pair of transmission lines. The BMC is a baseboard management controller, is a small operating system independent of a server system, and is a chip integrated on a main board. A CPLD is a digital integrated circuit in which a user constructs logic functions by himself as required. The basic design method is to generate corresponding target files by means of an integrated development software platform and by means of a schematic diagram, a hardware description language and the like, and transmit the corresponding target files to a target chip to realize a designed digital system.
The main board comprises PCH and BMC, as shown in figure 1, the PCH is connected with the BMC, and the BMC is connected with the CPLD serial port switching module of the main board. In addition, the BMC on the main board can be internally integrated with an eSPI/LPC conversion serial port function. In general, the motherboard includes an x86 system, and the x86 system is connected to the CPLD serial port switching module of the motherboard through the BMC.
In the present application, the types and numbers of the main boards, the back boards and the management boards are not limited, and the structure shown in fig. 1 includes four main boards, one back board and two management boards. The CPLD serial port switching modules of the four mainboards are respectively connected with corresponding slots on the backboard, the specific connection mode is not limited, in practical application, the slots of the backboard are usually inserted through the interfaces, the slots of the backboard are provided with corresponding slot information, the slot information can represent ID information of the corresponding mainboards, the corresponding mainboards can be identified, and the corresponding relation between the slots and the mainboards can be changed at any time. In the implementation, the main board and the slots are in one-to-one correspondence, and as a preferred implementation, a plurality of slots can be additionally arranged at the beginning of design, so that the situation of damaging the slots can be prevented. For example, if a certain slot is damaged during use, the corresponding motherboard may be connected to another unused slot, and the correspondence between the slot and the motherboard may be changed.
The CPLD serial port processing modules on the two management boards in FIG. 1 are used for being connected with the backboard, and the CPLD serial port processing modules are also used for being connected with serial port terminals so that the serial port terminals can be connected with the corresponding mainboards through communication links according to slot position information. The serial port terminal can be a computer and other devices, sends a switching instruction through the management board, reaches the CPLD serial port switching module of the main board through the management board and the backboard, and performs corresponding matching processing according to the SLOTID information and the switching instruction of the main board, and then switches to the serial port of the corresponding device. The serial ports of the internal equipment of each main board share one serial port and are connected to the management board, the management board only provides 1 serial port for the outside, all four-control equipment share the serial port of the management board, and the serial ports are switched to the corresponding equipment for access by inputting serial port switching instructions.
The management board mainly provides some management interfaces of the storage system, including a network port, a USB port, a serial port and the like. And the CPLD serial port processing module of the management board is connected with the serial port from the four controllers through a communication link and processes the serial port, so that the four-controller system shares an external debugging serial port. The backboard mainly plays a role in connection, and is connected with the management board on the main board to provide a signal intercommunication path. The main board is a core module in the storage system, and devices such as a CPU, a PCH, a BMC and the like which need serial ports for access are arranged on the main board. And the CPLD serial port switching module of the main board receives a switching instruction sent by the serial port of the management board and switches the serial port to corresponding equipment. In addition, the serial port provided on each main board is generally provided with an x86 system serial port, a BMC serial port and the like, and the serial port is logged on corresponding equipment for debugging in the process of development and debugging. The x86 system serial port and the BMC serial port of each main board share 1 path serial port, are connected to the management board 1 through the back plate, and meanwhile, 1 path of sharing serial port can be reserved to be connected to the management board 2 to realize redundancy.
The serial ports to be switched on each motherboard include SYS_UART and BMC_UART, but the serial ports are not limited to the two serial ports in practical application, and can be adjusted according to specific requirements. The BMC integrates the functions of eSPI/LPC to serial port, so the serial port of the x86 system is also the BMC output connected to the motherboard CPLD. The ESPI specification provides that a path LPC device is migrated to the ESPI interface, inherits the electrical and timing requirements of the SPI, but the coding modes are different. The working frequency can reach 66MHZ,1.8V. LPC (Low Pin Count) is a 33MHz 4bit parallel bus protocol (but the clock frequency of LPC in the NB system is 24 MHz) based on Intel standard, which is used for replacing the prior ISA bus protocol, but the two protocols have similar performances and are used for connecting south bridge and Super I/O chip, FLASH BIOS and other devices. The motherboard, also called motherboard, system board or motherboard, is one of the most fundamental and important components of the computer. The motherboard is generally a rectangular circuit board, on which the main circuit System forming the computer is mounted, and generally has elements such as a Basic Input/Output System (BIOS) chip, an I/O control chip, a keyboard and panel control switch interface, an indicator light plug-in connector, an expansion slot, a direct current power supply plug-in connector of the motherboard and the plug-in card, and the like. In the traditional chipset structure, the mode of collocating the south bridge chip and the north bridge chip is always adopted, and the specific positions of the south bridge chip and the north bridge chip can be found on the main board. Generally, we can find a heat sink near the CPU socket on the motherboard, below which is the north bridge chip. The south bridge chip is generally far away from the CPU and is usually exposed beside the PCI slot, and the block head is relatively large; the north bridge chip is a system control chip and is mainly responsible for data exchange among the CPU, the memory and the display card, plays a leading role in a chip set formed by the north bridge chip and controls high-speed equipment such as the CPU, the Host bus and the like. The CPLD serial port switching module mainly performs switching of serial ports on and among boards, and when a switching instruction sent by a serial port terminal through the management board is received, the CPLD performs corresponding matching processing according to the SLOTID information and the switching instruction of the control, and then switches to the serial port of corresponding equipment.
A backplane is a circuit board or frame that supports other circuit boards, devices, and interconnections between devices, and provides power and data signals to the supported devices. In this scheme backplate mainly is used to provide the connecting channel of serial ports, plays bridging's effect, intercommunication mainboard and management board. In fig. 1, the management board is connected to the serial port of the motherboard device through the back board, and the CPLD serial port processing module of the management board communicates the serial ports of the 4 controllers to the RS232 debug serial port by default, so that the control right is handed over to the motherboard CPLD.
In practical application, if no special requirement exists, serial port connection can be realized by only adopting one management board, and in order to realize redundancy, a plurality of management boards can be arranged to avoid that a single management board cannot guarantee normal operation. The management boards 1 and 2 in fig. 1 are redundant, and can be connected with serial terminals at the same time, and at the initial moment, it is not limited to which motherboard the management boards 1 and 2 are connected with, and generally, the management boards 1 can be connected with the sys_uart of the motherboard 1 by default, the management boards 2 can be connected with the sys_uart of the motherboard 2 by serial ports, and then can be changed when in specific use.
In the above embodiments, it is mentioned that the switch instruction is used to implement the connection between the management board and the motherboard, where a special case is provided, if serial port terminals of multiple management boards issue the same switch instruction, a problem may occur, and a solution is needed to solve the problem, and specifically, the connection may be performed according to the time sequence of sending the switch instruction. For example, the subsequent management board may be set to rob the previous management board to switch the serial port to the serial port of the subsequent management board. And if the switching instructions of the 2 management boards are different, different devices can be accessed respectively.
The embodiment of the application provides a switching scheme of a four-control shared serial port in a storage system, and the main control and management equipment on each controller can be accessed through switching instructions only by providing 1-path serial port, so that debugging and development work is more convenient and faster. Specifically, the management board of the application provides 1-path serial port debugging interfaces to the outside, and serial port switching among four controllers and on each controller is realized through serial port input instructions. The four-control storage system can support connection of 2 management boards, and the 2 management boards are redundant and can be robbed or independently operated. The four-control system realizes serial port switching among controllers through the CPLD, and the main board and the management board both comprise CPLD serial port processing modules which cooperate to support serial port switching.
The above describes a multi-controller serial port sharing master control system provided by the present application in detail. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. It should be noted that it would be obvious to those skilled in the art that various improvements and modifications can be made to the present application without departing from the principles of the present application, and such improvements and modifications fall within the scope of the claims of the present application.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. The utility model provides a master control system of many controllers sharing serial ports which characterized in that includes: a main board, a back board and a management board;
the CPLD serial port switching module of each main board is respectively connected with the corresponding slot position; the slot positions of the backboard are provided with corresponding slot position information, and the slot position information is used for identifying the corresponding main board;
the management board comprises a CPLD serial port processing module, the backboard is connected with the CPLD serial port processing module of the management board, and the CPLD serial port processing module of the management board is also used for connecting a serial port terminal, so that the serial port terminal is connected with the corresponding main board through a communication link according to the slot position information.
2. The multi-controller serial port sharing master control system according to claim 1, wherein the number of the main boards of the multi-controller serial port sharing master control system is four;
the backboard comprises four slots, and the four mainboards are respectively connected with the corresponding slots.
3. The multi-controller serial port sharing master control system according to claim 2, wherein the number of the management boards of the multi-controller serial port sharing master control system is two;
the two management boards are respectively connected with the backboard to connect the corresponding mainboards.
4. The multi-controller serial port sharing master control system of claim 3, wherein the management board further comprises: a level conversion module;
and the CPLD serial port processing module of the management board is connected with a serial port terminal through the level conversion module.
5. The system according to claim 4, wherein the management interface on the management board for connection comprises a network port, a USB port, and a serial port.
6. The multi-controller serial port sharing master control system according to claim 5, wherein if the CPLD serial port switching module of the motherboard receives a switching instruction sent by a serial port terminal through the management board, the CPLD serial port switching module of the motherboard performs corresponding matching processing according to the sloid information of the motherboard and the switching instruction, and switches to a serial port of a corresponding device on the motherboard.
7. The multi-controller serial port sharing master control system according to claim 6, wherein if serial port terminals of 2 management boards issue the same switching instruction, the management board that issues the switching instruction later breaks the management board that issues the switching instruction earlier, so that serial ports of corresponding devices are connected with serial ports of the management board that issues the switching instruction later.
8. The multi-controller serial port sharing master control system of claim 1, wherein the motherboard comprises: PCH, BMC;
the PCH is connected with the BMC, and the BMC is connected with the CPLD serial port switching module of the main board.
9. The multi-controller serial port sharing master control system according to claim 8, wherein the BMC on the motherboard is internally integrated with an eSPI/LPC serial port function.
10. The multi-controller serial port sharing master control system according to claim 9, wherein the motherboard comprises an x86 system, and the x86 system is connected with the CPLD serial port switching module of the motherboard through the BMC.
CN202310179933.0A 2023-02-28 2023-02-28 Main control system with multiple controllers sharing serial port Pending CN116126761A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310179933.0A CN116126761A (en) 2023-02-28 2023-02-28 Main control system with multiple controllers sharing serial port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310179933.0A CN116126761A (en) 2023-02-28 2023-02-28 Main control system with multiple controllers sharing serial port

Publications (1)

Publication Number Publication Date
CN116126761A true CN116126761A (en) 2023-05-16

Family

ID=86295566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310179933.0A Pending CN116126761A (en) 2023-02-28 2023-02-28 Main control system with multiple controllers sharing serial port

Country Status (1)

Country Link
CN (1) CN116126761A (en)

Similar Documents

Publication Publication Date Title
US11907148B2 (en) OCP adapter card and computer device
CN111901164B (en) Adaptive control method, device, equipment and system of OCP NIC network card
CN115794702A (en) Interface switching device, server system and interface switching method
CN109901664B (en) Method, apparatus, system, device and readable storage medium for providing clock signal
CN114356671A (en) Board card debugging device, system and method
CN113204510A (en) Server management architecture and server
CN116126761A (en) Main control system with multiple controllers sharing serial port
CN113434445B (en) Management system and server for I3C to access DIMM
CN216352292U (en) Server mainboard and server
CN111414327B (en) Network device
CN108415866A (en) Intelligent platform management controller
CN107395478A (en) A kind of network control system and network communication module for high speed cigarette packaging facilities
CN218676021U (en) Switching device and storage system sharing USB interface
CN207099099U (en) A kind of ARCNET modules for high speed cigarette packaging facilities
CN110022255A (en) The ubiquitous electric power platform of internet of things of modularization based on mixing communication network data exchange
CN220526320U (en) Upgrade system of multiprocessor
CN113961502B (en) Switch interface management system and method
CN213094226U (en) CAN communication device based on CPCI bus
CN114895968B (en) Server maintenance method, device, equipment and storage medium
CN214256754U (en) PCB connecting plate module for data synchronization of fault-tolerant computer
CN112256603B (en) Server and expansion equipment based on OCP
CN117520234B (en) Automatic identification circuit of Type-C interface external equipment and related equipment
CN115422110B (en) Port configuration method of electronic equipment and PCIE Switch chip
CN216286644U (en) Dual-computer switching system, dual-computer switching device and processor
CN114443517B (en) Interactive programmable logic device interconnection server system

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