A management system and method for a multi-board card device
By using the same processor and bus switching module in multi-board devices, the problems of high cost and complex maintenance of BMC chips are solved, and low-cost board information management is achieved.
Patent Information
- Application Number
- CN202311109293.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-30
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-08-30
AI Technical Summary
In existing technologies, each board needs to obtain board information based on its own BMC chip, resulting in high cost of BMC chips and high software maintenance costs.
By using a single processor to access each detection module through a bus switching module, the use of a dedicated management controller is avoided, thus enabling unified management of multiple board devices.
The number of system controllers was reduced, which lowered the management cost of the board devices and reduced the workload of development and maintenance.
Smart Images

Figure CN117130962B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of multi-board management, and more specifically, to a management system and method for multi-board devices. Background Technology
[0002] Chassis-based devices are widely used in communication equipment, network security equipment, and computing server equipment. The chassis houses various types of boards, including control cards, service cards, and switching cards, interconnected via management plane buses and data plane buses. Each board contains board identification devices such as EEPROM (Electrically Erasable Programmable Read-Only Memory), temperature sensors, and voltage sensors. The chassis's main control unit obtains information about each board through the management control plane.
[0003] To improve system reliability, the management plane and data plane operate independently. Therefore, each board typically has a dedicated management controller, such as a microcontroller or a BMC (Baseboard Management Controller). These devices read the board information, detect its status, and then send the data to the main control unit via the chassis's management bus.
[0004] In the above scheme, each board needs to obtain board information based on its own BMC chip, resulting in high cost of BMC chip and high software maintenance cost. Summary of the Invention
[0005] The purpose of this application is to provide a management system and method for multi-board devices, which can use the same processor to access each detection module, avoid using a dedicated management controller to obtain board information, thereby reducing the number of system controllers and reducing the management cost of board devices.
[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows: In a first aspect, embodiments of this application provide a management system for a multi-board device, the system comprising: a management board and managed boards; The management board includes a first bus switching module, a first processor, and a first detection module. The first bus switching module is connected to a first management bus, the first bus switching module is connected to the first processor via a second management bus, and the first bus switching module is connected to the first detection module via a third management bus. The managed board includes a second bus switching module, a second processor, and a second detection module. The second bus switching module is connected to a first management bus, the second bus switching module is connected to the second processor via a fourth management bus, the first bus switching module is connected to the second detection module via a fifth management bus, and the first management bus connected to the first bus switching module and the first management bus connected to the second bus switching module are the same bus. The management board is used to control the first processor to obtain the first board information of the first detection module, manage the board and send the first board information of the first detection module to the first management bus, and control the second bus switching module to switch the management bus so that the first processor obtains the second board information of the second detection module and sends it to the first management bus.
[0007] In an optional implementation, the management board is used to control the first processor to send a first bus switching command to the first bus switching module; The first bus switching module is used to connect the second management bus and the third management bus, and disconnect the first management bus, based on the first bus switching command; The first processor is used to obtain the first board information of the first detection module through the second management bus and the third management bus.
[0008] In an optional implementation, the management board is used to control the first processor to send a second bus switching command to the first bus switching module; The first bus switching module is used to connect the first management bus and the second management bus, and disconnect the third management bus, based on the second bus switching command; The first processor is further configured to send a third bus switching instruction to the second bus switching module of the managed board via the second management bus and the first management bus; The second bus switching module is used to connect the first management bus and the third management bus in the managed board based on the third bus switching command, and disconnect the fourth management bus of the managed board; The first processor is further configured to obtain the second board information of the second detection module through the first management bus and the fifth management bus of the managed board.
[0009] In an optional implementation, the first bus switching module includes a first control switch and a first switching switch; The first control switch includes a Q1 port and a Q2 port, and the first switching switch includes a p1 port, a p2 port, and a p3 port. The Q1 port is connected to the first management bus, the Q2 port is connected to the first processor through the second management bus, the p1 port is connected to the first management bus, the p2 port is connected to the second management bus, and the p3 port is connected to the third management bus. The first control switch is used to control the connection status of the p1 port, p2 port and p3 port of the first switching switch based on the first management bus switching command, so as to realize the switching of each management bus.
[0010] In an optional implementation, the first control switch is further configured to control the p1 port to disconnect and control the p2 port to connect with the p3 port based on the first management bus switching instruction, so that the first processor can obtain the first board information in the first detection module through the second management bus and the third management bus.
[0011] In an optional implementation, the first control switch further includes a first register and a second register; The first processor is also used to send a first bus switching instruction; The first control switch is also used to write the first value corresponding to the first bus switching instruction into the first register, and control the p1 port of the first switching switch to be disconnected and the p2 port to be connected to the p3 port based on the first value, so that the first processor can obtain the first board information in the first detection module through the second management bus and the third management bus.
[0012] In an optional implementation, the second bus switching module includes a second control switch and a second switching switch. The second control switch includes a third register and a fourth register. The second bus switching module is further configured to determine the status of each management bus when receiving the third bus switching instruction, and write a second value into the fourth register when any of the management buses is in an undisconnected state. The second control switch is used to output the second value to the second processor; The second processor is used to terminate local access based on the second value.
[0013] In an optional implementation, the second total switching module is further configured to determine the status of each management bus when receiving the third bus switching instruction. When the first management bus, fourth management bus and fifth management bus of the managed board are all in the disconnected state, the second control switch writes the third value corresponding to the third bus switching instruction into the third register. The second control switch is also used to control the p4 port and p6 port of the second switching switch to be connected and the p5 port to be disconnected based on the third value, so that the first processor can obtain the second board information in the second detection module through the first management bus and the fifth management bus. The second switching switch includes a p4 port, a p5 port and a p6 port. The p4 port is connected to the first management bus, the p5 port is connected to the fourth management bus and the p6 port is connected to the fifth management bus.
[0014] In an optional implementation, the first processor is further configured to write the fourth value into the first register after acquiring the first board information in the first detection module; The first control switch is also used to control the p1 port, p2 port and p3 port to disconnect from each other based on the fourth value.
[0015] Secondly, embodiments of this application provide a management method for a multi-board device, which manages the information of each board in the device through the management system of the multi-board device.
[0016] This application has the following beneficial effects: The management board of this application includes a first bus switching module, a first processor, and a first detection module. The first bus switching module is connected to a first management bus, the first bus switching module is connected to the first processor via a second management bus, and the first bus switching module is connected to the first detection module via a third management bus. The managed board includes a second bus switching module, a second processor, and a second detection module. The second bus switching module is connected to the first management bus, the second bus switching module is connected to the second processor via a fourth management bus, and the first bus switching module is connected to the second detection module via a fifth management bus. The management board is used to control the first processor to obtain the first board information of the first detection module and send the first board information of the first detection module to the first management bus, and to control the second bus switching module to switch the management bus so that the first processor obtains the second board information of the second detection module and sends it to the first management bus. The processor based on the management board collects board information from both the management board and the managed board, allowing the same processor to directly access each detection module. This avoids the need for a dedicated management controller to acquire board information, thereby reducing the number of system controllers and lowering the management cost of the board devices. The management board and the managed board use the same system architecture and are equipped with a symmetrical first management bus, enabling the management board and the managed board to share the same board, reducing the types of boards and the workload of development and maintenance. Attached Figure Description
[0017] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of a management system for a multi-board device provided in an embodiment of this application; Figure 2 This is one of the flowcharts illustrating a management method for a multi-board device provided in this application embodiment; Figure 3 This is a second schematic diagram of a management method for a multi-board device provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of the first bus switching module provided in an embodiment of this application; Figure 5 This is a schematic diagram of the structure of the second bus switching module provided in an embodiment of this application. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0020] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0021] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0022] In the description of this application, it should be noted that if terms such as "upper," "lower," "inner," or "outer" are used to indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship in which the product of the invention is usually placed during use, they are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application.
[0023] Furthermore, the terms "first" and "second" are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.
[0024] In the description of this application, it should also be noted that, unless otherwise expressly specified and limited, the terms "set up," "install," "connect," and "link" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.
[0025] Please refer to Figure 1 This application provides a management system for a multi-board device, the system including: a management board 10 and a managed board 20.
[0026] It should be noted that the managed boards in the management system of a multi-board device include at least one board.
[0027] The management board 10 includes a first bus switching module 11, a first processor 12, and a first detection module 13. The first bus switching module 11 is connected to a first management bus, the first bus switching module 11 is connected to the first processor 12 through a second management bus, and the first bus switching module 11 is connected to the first detection module 13 through a third management bus.
[0028] The managed board 20 includes a second bus switching module 21, a second processor 22, and a second detection module 23. The second bus switching module 21 is connected to the first management bus, the second bus switching module 21 is connected to the second processor 22 through the fourth management bus, and the second bus switching module 21 is connected to the second detection module 23 through the fifth management bus.
[0029] The management board 10 is used to control the first processor 12 to obtain the first board information of the first detection module 13, manage the board and send the first board information to the first management bus, and control the second bus switching module 21 to switch the management bus so that the first processor 12 obtains the second board information of the second detection module 23 and sends it to the first management bus.
[0030] The management system for a multi-board device includes at least two boards. When any one board is connected to a management card slot in the chassis backplane, that board becomes the management board. When the other board is connected to a non-management card slot in the chassis backplane, that other board becomes the managed board. The chassis backplane supports at least two boards corresponding to different slot numbers. A first management bus is provided on the chassis backplane, connecting all boards through slots.
[0031] The bus address of the first bus switching module of the management board is different from the bus address of the second bus switching module of the managed board, so that the first processor of the management board can access the managed boards corresponding to different addresses based on the first management bus.
[0032] The first detection module collects temperature and detects voltage on the management board. Based on the first detection module, it can obtain the first board information of the management board, which contains temperature and voltage information. The second detection module collects temperature and detects voltage on the managed board. Based on the second detection module, it can obtain the second board information of the managed board, which contains temperature and voltage information.
[0033] The first processor of the management board can control the first bus switching module to switch between various management buses, enabling the first processor to obtain the first board information from the first detection module through the second and third management buses, and send the first board information to the chassis backplane of the first management bus. The first processor of the management board can also access the second board information in the second detection module of the managed board. By controlling the second bus switching module to switch between various bus management modules in the managed board, the first processor can obtain the second board information from the second detection module based on the first and fifth management buses, and send the second board information to the chassis backplane of the first management bus.
[0034] There are several ways to implement the management board to obtain information about the first board. In one implementation method, such as Figure 2 As shown, it includes the following steps: S101: The management board controls the first processor to send the first bus switching command to the first bus switching module.
[0035] S102: The first bus switching module connects the second management bus and the third management bus and disconnects the first management bus based on the first bus switching instruction.
[0036] S103: The first processor obtains the first board information of the first detection module through the second management bus and the third management bus.
[0037] It should be noted that, depending on the configuration of the management slot, a management board inserted into a non-management slot can serve as a new managed board, and a managed board inserted into a management slot can serve as a new management board. The new management board can manage the information of the first board on the new managed board through the first management bus.
[0038] When the management board obtains the first board information of this card, the first processor sends a first bus switching command to the first bus switching module. Based on the first bus switching command, the first bus switching module connects the first bus switching module to the second management bus connected to the first processor, connects the first bus switching module to the third management bus of the first detection module, and disconnects the first bus switching module from the first management bus of the chassis backplane. This allows the first processor to obtain the first board information of the management board in the first detection module through the second management bus and the third management bus.
[0039] The first management bus, the second management bus, and the third management bus are all of the same type, such as the I2C bus.
[0040] It should be noted that the first management bus connected to the first bus switching module and the first management bus connected to the second bus switching module are the same bus and are physically connected together. The second and third management buses in the management board belong to the buses on the management board, and the fourth and fifth management buses in the managed board belong to the buses on the managed board.
[0041] There are several ways to implement the management board to obtain information from the second board. In one implementation method, such as Figure 3 As shown, it includes the following steps: S201: The management board controls the first processor to send the second bus switching command to the first bus switching module.
[0042] S202: The first bus switching module connects the first management bus and the second management bus and disconnects the third management bus based on the second bus switching command.
[0043] S203: The first processor sends a third bus switching command to the second bus switching module of the managed board through the second management bus and the first management bus.
[0044] S204: The second bus switching module connects the first and fifth management buses of the managed board and disconnects the fourth management bus of the managed board based on the third bus switching instruction.
[0045] S205: The first processor obtains the second board information of the second detection module through the first management bus and the fifth management bus of the managed board.
[0046] When the management board obtains the second board information of the managed board, it first controls the first bus switching module based on the first processor to connect the first management bus and the second management bus, so that the first manager can access the managed board plugged into the chassis backplane. Then, based on the first processor, it controls the second bus switching module of the managed board to connect the fifth management bus connecting the second bus switching module and the second detection module in the managed board, connect the second bus switching module and the first management bus connecting the second bus switching module and the chassis backplane, and disconnect the fourth management bus connecting the second processor and the second bus switching module. This allows the first processor to obtain the second board information of the managed board in the second detection module based on the first management bus and the fifth management bus, thereby enabling the management board to directly access the second board information of the managed board.
[0047] It should be noted that the first bus switching module can use a CPLD (Complex Programming Logic Device) chip. For example... Figure 4 The diagram shows the structure of the first bus switching module 11, which includes a first control switch 111 and a first switching switch 112. The first control switch 111 includes a Q1 port and a Q2 port, while the first switching switch 112 includes a p1 port, a p2 port, and a p3 port. The Q1 port is connected to the first management bus, the Q2 port is connected to the first processor 12 via the second management bus, the p1 port is connected to the first management bus, the p2 port is connected to the second management bus, and the p3 port is connected to the third management bus. The first control switch 111 controls the connection status of the p1, p2, and p3 ports of the first switching switch 112 based on the first management bus switching command, thereby enabling the switching of each management bus.
[0048] Based on the first management bus switching command, the first control switch 111 controls the p1 port to disconnect and controls the p2 port to connect with the p3 port, so that the first processor can obtain the first board information in the first detection module 13 through the second management bus and the third management bus.
[0049] It should be noted that the second processor of the managed board can actively access the second board information in the second detection module. When the second processor actively accesses the second board information in the second detection module, the managed board controls the second processor to send a bus switching command to the first bus switching module. Based on the bus switching command, the second bus switching module connects the fourth and fifth management buses and disconnects the first management bus. The second processor obtains the second board information of the second detection module through the fourth and fifth management buses.
[0050] Reference Figure 5This is a schematic diagram of the second bus switching module, which can also utilize a CPLD chip. The second bus switching module 21 includes a second control switch 211 and a second switching switch 212. The second control switch includes ports Q3 and Q4, and the second switching switch includes ports p4, p5, and p6. Port Q3 is connected to the first management bus, port Q4 is connected to the second processor via the fourth management bus, port p4 is connected to the first management bus, port p5 is connected to the fourth management bus, and port p6 is connected to the fifth management bus. SCL_1 and SDA_1 constitute the first management bus, SCL_4 and SDA_4 constitute the fourth management bus, and SCL_5 and SDA_5 constitute the fifth management bus. The second control switch includes registers REG_3 and REG_4. The second control switch is used to control the connection status of ports p4, p5, and p6 of the second switching switch based on the first management bus switching instruction, thereby achieving the switching of each management bus. Port Q3 of the second control switch connects to the first management bus of the chassis backplane and the chassis backplane slot number. Port Q3 serves as a slave port, with different bus addresses q1 set according to the bus number. Port Q4 connects to the second processor via the fourth management bus. Port Q4 also serves as a slave port, with a fixed bus address q2. Bus address q1 is different from bus address q2. Inside the fourth management bus switching module, the second control switch outputs two control signals (CTRL[1:0]) to the switching switch.
[0051] Still refer to Figure 4 The first control switch 111 also includes a first register REG_1 and a second register REG_2. The first processor 12 is also used to send a first bus switching instruction. The first control switch 111 is also used to write the first value corresponding to the first bus switching instruction into the first register REG_1. Based on the first value, the p1 port of the first switching switch 112 is disconnected, and the p2 port and p3 port are connected, so that the first processor 12 can obtain the first board information in the first detection module 13 through the second management bus and the third management bus.
[0052] After the first processor obtains the information of the first board in the first detection module, the first control switch controls the p1 port, p2 port and p3 port to disconnect from each other based on the fourth value.
[0053] The first register REG_1 sets the drive control signal (CTRL[1:0]). Different values of CTRL[1:0] control the different connection states of each port of the first switch. The second register REG_2 sets the interrupt signal (INT). The first processor 12 can access the Q2 port of the first control switch 111 through the second management bus to read the first register REG_1 and the second register REG_2, and write to the first register REG_1, while obtaining the slot number information.
[0054] The first control switch controls the connection status of ports p1, p2, and p3 of the first switching switch according to the value in the first register REG_1. If the value in the first register REG_1 is 2'b01, i.e., the first value, ports p2 and p3 are connected, and port p1 is disconnected; if the value in the first register REG_1 is 2'b11, i.e., the third value, ports p1 and p3 are connected, and port p2 is disconnected; if the value in the first register REG_1 is 2'b00, i.e., the fourth value, ports p1, p2, and p3 are disconnected from each other; if the value in the first register REG_1 is 2'b10, ports p2 and p1 are connected, and port p3 is disconnected. Figure 4 In this configuration, SCL_1 and SDA_1 form the first management bus, SCL_2 and SDA_2 form the second management bus, and SCL_3 and SDA_3 form the third management bus. When any of the p1, p2, or p3 ports is in an open state, the SCL and SDA of that port are in a high-impedance state.
[0055] When the value in the second register is the second value, the first processor terminates its access to the first detection module based on the second value. When the value in the fourth register is the second value, the second processor accesses the second detection module based on the second value.
[0056] When ports P2 and P3 are connected, the first processor accesses the first detection module of the third management bus of the management board via the second management bus and the first switching switch. Since the first, second, and third management buses are I2C buses, according to the I2C bus procedure, during the address transmission time slot, the SCL_2 pin signal is directly transmitted to the SCL_3 pin, and the SDA_2 pin signal is directly transmitted to the SDA_3 pin. The first switching switch simultaneously samples the states of SCL_2 and SDA_2, and samples the SDA state during the 8th SCL cycle time slot, i.e., the read / write (R / W) command. If it is a write command, during the data transmission time slot, the SCL_2 pin signal continues to be directly transmitted to the SCL_3 pin, and the SDA_2 pin signal is directly transmitted to the SDA_3 pin; if it is a read command, during the data transmission time slot, the SCL_2 pin signal is directly transmitted to the SCL_3 pin, and the SDA_3 pin signal is directly transmitted to the SDA_2 pin.
[0057] When ports p2 and p1 are connected, the first processor accesses the first management bus of the management board via the second management bus and the first switching switch. According to the I2C bus procedure, during the address transmission time slot, the SCL_2 pin signal is directly transmitted to the SCL_1 pin, and the SDA_2 pin signal is directly transmitted to the SDA_1 pin. The first switching switch simultaneously samples the states of SCL_2 and SDA_2, using the SDA state of the 8th SCL cycle time slot, i.e., the read / write (R / W) command. If it is a write command, during the data transmission time slot, the SCL_2 pin signal continues to be directly transmitted to the SCL_1 pin, and the SDA_2 pin signal is directly transmitted to the SDA_1 pin; if it is a read command, during the data transmission time slot, the SCL_2 pin signal is directly transmitted to the SCL_1 pin, and the SDA_1 pin signal is directly transmitted to the SDA_2 pin.
[0058] When the management board obtains the second board information of the managed board, the second bus switching module of the managed board includes a second control switch and a second switching switch. The second control switch includes a third register and a fourth register. When the second bus switch receives the third bus switching instruction, if the second processor is accessing the second detection module, it stores the second value in the fourth register and controls the second control switch to output the second value to the second processor. The second processor interrupts its access to the second detection module based on the second value. After waiting for T1 time, the second control switch is forced to control the second switching switch to connect the first management bus and the fifth management bus and disconnect the fourth management bus, so that the first processor can obtain the second board information of the second detection module.
[0059] In one example, when the second master switching module receives the third bus switching instruction, and the first, fourth, and fifth management buses of the managed board are all disconnected, the second control switch writes the third value corresponding to the third bus switching instruction into the third register. Based on the third value, the second control switch controls the p4 and p6 ports of the second switching switch to connect and the p5 port to disconnect, so that the first processor can obtain the second board information in the second detection module through the first and fifth management buses. The second switching switch includes a p4 port, a p5 port, and a p6 port. The p4 port is connected to the first management bus, the p5 port is connected to the fourth management bus, and the p6 port is connected to the fifth management bus.
[0060] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0061] Furthermore, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part. If the function is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes: USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media capable of storing program code.
[0062] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0063] The above descriptions are merely various embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A management system for multi-board devices, characterized in that, The system includes: a management board and a managed board; The management board includes a first bus switching module, a first processor, and a first detection module. The first bus switching module is connected to a first management bus, the first bus switching module is connected to the first processor via a second management bus, and the first bus switching module is connected to the first detection module via a third management bus. The managed board includes a second bus switching module, a second processor, and a second detection module. The second bus switching module is connected to a first management bus, the second bus switching module is connected to the second processor via a fourth management bus, and the second bus switching module is connected to the second detection module via a fifth management bus. The first management bus connected to the first bus switching module and the first management bus connected to the second bus switching module are the same bus. The management board is used to control the first processor to obtain the first board information of the first detection module, manage the board and send the first board information of the first detection module to the first management bus, and control the second bus switching module to switch the management bus so that the first processor obtains the second board information of the second detection module and sends it to the first management bus.
2. The system according to claim 1, characterized in that, The management board is used to control the first processor to send a first bus switching command to the first bus switching module; The first bus switching module is used to connect the second management bus and the third management bus, and disconnect the first management bus, based on the first bus switching command; The first processor is used to obtain the first board information of the first detection module through the second management bus and the third management bus.
3. The system according to claim 1, characterized in that, The management board is used to control the first processor to send a second bus switching command to the first bus switching module; The first bus switching module is used to connect the first management bus and the second management bus, and disconnect the third management bus, based on the second bus switching command; The first processor is further configured to send a third bus switching instruction to the second bus switching module of the managed board via the second management bus and the first management bus; The second bus switching module is used to connect the first management bus and the fifth management bus in the managed board based on the third bus switching instruction, and disconnect the fourth management bus of the managed board. The first processor is further configured to obtain the second board information of the second detection module through the first management bus and the fifth management bus of the managed board.
4. The system according to claim 2, characterized in that, The first bus switching module includes a first control switch and a first switching switch; The first control switch includes a Q1 port and a Q2 port, and the first switching switch includes a p1 port, a p2 port, and a p3 port. The Q1 port is connected to the first management bus, the Q2 port is connected to the first processor through the second management bus, the p1 port is connected to the first management bus, the p2 port is connected to the second management bus, and the p3 port is connected to the third management bus. The first control switch is used to control the connection status of the p1 port, p2 port and p3 port of the first switching switch based on the first management bus switching command, so as to realize the switching of each management bus.
5. The system according to claim 4, characterized in that, The first control switch is also used to control the p1 port to disconnect and control the p2 port to connect with the p3 port based on the first management bus switching command, so that the first processor can obtain the first board information in the first detection module through the second management bus and the third management bus.
6. The system according to claim 4, characterized in that, The first control switch also includes a first register and a second register; The first processor is also used to send a first bus switching instruction; The first control switch is also used to write the first value corresponding to the first bus switching instruction into the first register, and control the p1 port of the first switching switch to be disconnected and the p2 port to be connected to the p3 port based on the first value, so that the first processor can obtain the first board information in the first detection module through the second management bus and the third management bus.
7. The system according to claim 3, characterized in that, The second bus switching module includes a second control switch and a second switching switch. The second control switch includes a third register and a fourth register. The second bus switching module is also used to determine the status of each management bus when receiving the third bus switching instruction, and to write a second value into the fourth register when any of the management buses is in an undisconnected state. The second control switch is used to output the second value to the second processor; The second processor is used to terminate local access based on the second value.
8. The system according to claim 7, characterized in that, The second overall switching module is also used to determine the status of each management bus when receiving the third bus switching instruction. When the first management bus, fourth management bus and fifth management bus of the managed board are all in the disconnected state, the second control switch writes the third value corresponding to the third bus switching instruction into the third register. The second control switch is also used to control the p4 port and p6 port of the second switching switch to be connected and the p5 port to be disconnected based on the third value, so that the first processor can obtain the second board information in the second detection module through the first management bus and the fifth management bus. The second switching switch includes a p4 port, a p5 port and a p6 port. The p4 port is connected to the first management bus, the p5 port is connected to the fourth management bus and the p6 port is connected to the fifth management bus.
9. The system according to claim 6, characterized in that, The first processor is further configured to write the fourth value into the first register after acquiring the first board information in the first detection module; The first control switch is also used to control the p1 port, p2 port and p3 port to disconnect from each other based on the fourth value.
10. A management method for a multi-board device, characterized in that, The information of each board in the device is managed through the management system of the multi-board device according to any one of claims 1-9.
Citation Information
Patent Citations
Board management device and board management system and control card using same
CN103853678A
Method for managing board cards in server and server
CN104156292A
