Business board card management method and device, intelligent machine cage and storage medium
Through the design of the intelligent cage, the management core and circuit control module are used to adapt the service boards, which solves the problems of insufficient resources and low compatibility caused by different board connection requirements in the existing technology, and achieves higher flexibility. degree and reliability.
Patent Information
- Application Number
- CN202410508055.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-25
- Publication Date
- 2024-09-06
AI Technical Summary
Existing cages have different connector requirements for management boards and service boards, resulting in insufficient hardware resources, reduced compatibility, and reliability issues. In addition, serial port lines need to be debugged separately, which increases the complexity of the product and the difficulty of protection.
Design an intelligent cage that includes a management core, communication strobe circuit, power distribution circuit, management serial port, debugging serial port and multiple card slots. Instructions are obtained through the management serial port to control the communication strobe circuit and power distribution circuit to adapt to the business The board card merges the management and debugging serial ports, reduces the types of connectors, and unifies the card slot design to improve flexibility and adaptability.
Reserve more space for business boards, improve debugging flexibility and environmental adaptability, enhance product reliability, and reduce design complexity and operation difficulty.
Smart Images

Figure CN118606242A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of board management, and in particular to a service board management method and device, an intelligent machine cage, and a storage medium. Background Art
[0002] In order to improve the integration of equipment, it is becoming a trend to integrate boards into cages for control.
[0003] In the related art, the cage is only responsible for supplying power to the board. The cage is provided with a service slot adapted to the service board and a management slot adapted to the management board. Since the physical and electrical characteristics of the plug-ins for the management board and the service board are different, the connectors corresponding to the management slot and the service slot are not compatible, which may easily lead to insufficient hardware resources of the service board. In addition, the cage also needs to use different serial port lines to connect to the debugging serial port of the management board and the debugging serial port of the service board respectively, which reduces the compatibility of the cage, and also makes the protection difficulty of the cage more difficult, thereby reducing the reliability of the product. Summary of the invention
[0004] The present invention aims to solve one of the technical problems in the related art to at least a certain extent. To this end, one object of the present invention is to propose a service board management method based on an intelligent cage, which can reserve more space for the service board, improve the debugging flexibility and environmental adaptability of the service board, and thus ensure the reliability of the product.
[0005] A second object of the present invention is to provide a computer-readable storage medium.
[0006] The third object of the present invention is to provide a service board management device based on an intelligent cage.
[0007] A fourth objective of the present invention is to provide an intelligent cage.
[0008] To achieve the above-mentioned purpose, the first aspect of the present invention proposes a business board management method based on an intelligent cage, wherein the intelligent cage includes a management core, a communication gating circuit, a power distribution circuit, a management serial port, a debugging serial port, a power serial port and a plurality of card slots, the communication gating circuit is respectively connected to the debugging serial port and the plurality of card slots, the power distribution circuit is respectively connected to the power serial port and the plurality of card slots, the plurality of card slots are configured to be compatible with a plurality of business boards, and each of the card slots includes a debugging connection serial port circuit and a power connection circuit, the management core is respectively connected to the communication gating circuit, the power distribution circuit and the management serial port, and the management method includes: The method comprises the steps of: obtaining a management instruction sent by a host computer to the management core, so that the management core determines a target service board and its corresponding target card slot number and an operation to be performed according to the management instruction; determining a first control instruction of the communication gating circuit and a second control instruction of the power distribution circuit according to the target board, the corresponding target card slot number and the operation to be performed; sending the first control instruction to the communication gating circuit, so that the communication gating circuit controls the debug connection serial port circuit in the target card slot according to the first control instruction, and sending the second control instruction to the power distribution circuit, so that the power distribution circuit controls the power connection circuit in the target card slot according to the second control instruction.
[0009] In the service board management method based on the smart cage of the embodiment of the present invention, the smart cage is provided with a plurality of card slots, and these card slots are configured to be compatible with a plurality of service boards. In the management of the service boards, the smart cage first obtains the management instruction sent by the host computer to the management core through the management serial port, and then determines the target service board, that is, the board to be managed, and the target card slot number and the operation to be executed corresponding to the target service board according to the management instruction, and then generates the corresponding first control instruction and second control instruction according to the target service board, the corresponding target card slot number and the operation to be executed, so that the communication gating circuit can control the debugging connection serial port circuit in the target card slot according to the first control instruction, and the power distribution circuit can control the power connection circuit in the target card slot according to the second control instruction, without the need to specially set up the management board, and the service board does not need a separate debugging serial port. Therefore, the present embodiment can reserve more space for the service board, improve the debugging flexibility and environmental adaptability of the service board, and thus ensure the reliability of the product.
[0010] In some embodiments of the present invention, the intelligent cage also includes a memory, and the management method also includes: after completing the control of the debug connection serial port circuit and the power connection circuit, determining the current configuration information of the communication enable circuit and the current configuration information of the power distribution circuit; storing the current configuration information of the communication enable circuit and the current configuration information of the power distribution circuit in the memory.
[0011] In some embodiments of the present invention, before obtaining the management instructions sent by the host computer to the management core through the management serial port, the management method also includes: obtaining the current configuration information of the communication enable circuit and the current configuration information of the power distribution circuit from the memory; sending the current configuration information of the communication enable circuit to the communication enable circuit, and sending the current configuration information of the power distribution circuit to the power distribution circuit, so that the communication enable circuit controls the debugging connection serial port circuits in the multiple card slots according to the current configuration information of the communication enable circuit, and the power distribution circuit controls the power connection circuits in the multiple card slots according to the current configuration information of the power distribution circuit.
[0012] In some embodiments of the present invention, the management method also includes: before the power distribution circuit controls the power connection circuit in the target card slot according to the second control instruction, the communication selection circuit first controls the debug connection serial port circuit in the target card slot according to the first control instruction.
[0013] In some embodiments of the present invention, the size of each of the card slots is designed to be uniform.
[0014] In some embodiments of the present invention, the management serial port and the debugging serial port are integrated and designed as an integrated serial port, and the integrated serial port is connected to the host computer.
[0015] In some embodiments of the present invention, the power serial port is connected to an external power supply via a controllable switch, and the smart cage is powered on and off via the controllable switch.
[0016] To achieve the above-mentioned purpose, the second aspect of the present invention proposes a computer-readable storage medium, on which a business board management program based on a smart cage is stored. When the business board management program based on a smart cage is executed by a processor, a business board management method based on a smart cage is implemented according to any one of the above-mentioned embodiments.
[0017] The computer-readable storage medium of the embodiment of the present invention can reserve more space for the service board through the service board management method based on the intelligent cage in the above embodiment, improve the debugging flexibility and environmental adaptability of the service board, and thus ensure the reliability of the product.
[0018] To achieve the above-mentioned purpose, the third aspect of the present invention proposes a business board management device based on an intelligent cage, wherein the intelligent cage includes a management core, a communication gating circuit, a power distribution circuit, a management serial port, a debugging serial port, a power serial port and a plurality of card slots, wherein the communication gating circuit is respectively connected to the debugging serial port and the plurality of card slots, and the power distribution circuit is respectively connected to the power serial port and the plurality of card slots, wherein the plurality of card slots are configured to be compatible with a plurality of business boards, and each of the card slots includes a debugging connection serial port circuit and a power connection circuit, wherein the management core is respectively connected to the communication gating circuit, the power distribution circuit and the management serial port, and the management device includes: an acquisition module for acquiring through the management serial port A management instruction sent by the host computer to the management core, so that the management core determines the target business board and its corresponding target card slot number and the operation to be executed according to the management instruction; a determination module is used to determine the first control instruction of the communication gating circuit and the second control instruction of the power distribution circuit according to the target board, the corresponding target card slot number and the operation to be executed; a control module is used to send the first control instruction to the communication gating circuit, so that the communication gating circuit controls the debug connection serial port circuit in the target card slot according to the first control instruction, and sends the second control instruction to the power distribution circuit, so that the power distribution circuit controls the power connection circuit in the target card slot according to the second control instruction.
[0019] In the service board management device based on the intelligent cage of the embodiment of the present invention, the intelligent cage is provided with a plurality of card slots, and these card slots are configured to be compatible with a plurality of service boards. In the management of the service board by the management device in the intelligent cage, the management device first obtains the management instruction sent by the host computer to the management core from the management serial port through the acquisition module, and then the management core can determine the target service board, that is, the board to be managed, and the target card slot number and the operation to be executed corresponding to the target service board according to the management instruction, and then generate the corresponding first control instruction and second control instruction according to the target service board, the corresponding target card slot number and the operation to be executed by using the determination module, and send the first control instruction to the communication gating circuit through the control module, and send the second control instruction to the power distribution circuit, so that the communication gating circuit can control the debugging connection serial port circuit in the target card slot according to the first control instruction, and the power distribution circuit can control the power connection circuit in the target card slot according to the second control instruction, and there is no need to specially set up the management board, and the service board does not need a separate debugging serial port. Therefore, this embodiment can reserve more space for the service board, improve the debugging flexibility and environmental adaptability of the service board, and thus ensure the reliability of the product.
[0020] To achieve the above object, a fourth aspect of the present invention provides an intelligent cage, which includes the service board management device based on the intelligent cage described in the above embodiment.
[0021] The smart cage of the embodiment of the present invention can reserve more space for the service boards through the service board management device based on the smart cage of the above embodiment, improve the debugging flexibility and environmental adaptability of the service boards, and thus ensure the reliability of the product.
[0022] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 is a schematic diagram of the connection between the intelligent cage and the service board in one embodiment of the present invention;
[0024] Figure 2 This is a flow chart of a service board management method based on an intelligent cage in one embodiment of the present invention;
[0025] Figure 3 is a flow chart of a service board management method based on an intelligent cage in another embodiment of the present invention;
[0026] Figure 4 is a schematic diagram of the connection between the intelligent cage and the service board in another embodiment of the present invention;
[0027] Figure 5 It is a structural block diagram of a service board management device based on an intelligent cage in an embodiment of the present invention;
[0028] Figure 6 It is a structural block diagram of an intelligent cage in an embodiment of the present invention. DETAILED DESCRIPTION
[0029] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0030] The following describes the service board management method and device, intelligent cage, and storage medium according to the embodiments of the present invention with reference to the accompanying drawings.
[0031] The board involved in the present invention can be understood as a printed circuit board, i.e., a PCB (Printed circuit board). A connector is designed on the back of the board, which can be used to access the card slot of the main circuit board of the cage. The board usually has specific business functions, such as industrial control, data calculation, etc. The board is usually used to add intelligent software and complex hardware resources, where the hardware resources include CPU, memory, timer, watchdog, serial port, business circuit, etc., and the software resources usually have an operating system and business logic. The cage is usually a metal box, similar to a cabinet, and the board can be encapsulated in the box. The number of boards that the cage can accommodate, the compatible board types, and the order of each board are usually pre-designed and need to be installed according to the rules.
[0032] The smart cage of this embodiment can not only provide power for the service board, but also manage the service board. In addition to the power serial port, the smart cage is only provided with a management serial port and a debugging serial port. In most cases, the management serial port and the debugging serial port can be integrated together. That is to say, based on the smart cage of this embodiment, the types of connectors can be reduced. The service board management method based on the smart cage of the present invention is described in detail below.
[0033] Figure 1 It is a schematic diagram of the connection between the intelligent cage and the service board in one embodiment of the present invention.
[0034] The present invention proposes a service board management method based on an intelligent cage, such as Figure 1 As shown in the figure, the intelligent cage includes a management core 10, a communication selection circuit 11, a power distribution circuit 12, a management serial port Manage com13, a debug serial port Debug com14, a power serial port PWRIN15 and a plurality of card slots. The card slots are not shown in the figure, but the debug connection serial port circuit and the power connection circuit in the card slots are shown. For details, please refer to Figure 4 The description of the card slot in Figure 1 and Figure 4 It can be understood that the first card slot includes a first debugging connection serial port circuit com1 and a first power connection circuit PWR1, the second card slot includes a second debugging connection serial port circuit com2 and a second power connection circuit PWR2, the Nth card slot includes an Nth debugging connection serial port circuit comN and an Nth power connection circuit PWRN, and the first card slot is connected to the service board 1 through a connector, the second card slot is connected to the service board 2 through a connector, and the Nth card slot is connected to the service board N through a connector. Of course, the present embodiment can also design the card slots uniformly so that the service boards can be connected to any card slot through a connector, thereby reducing the design complexity of the intelligent cage and improving the convenience of operation of the service boards.
[0035] See also Figure 1 As shown, the communication enable circuit 11 is respectively connected to the debugging serial port and multiple card slots, and the power distribution circuit 12 is respectively connected to the power serial port and multiple card slots. The communication enable circuit 11 can select the service board connected to the external debugging device, and the power distribution circuit 12 can select the service board that needs power supply. Among them, the power distribution circuit 12 can choose to supply power to multiple service boards at the same time, and the communication enable circuit 11 can be set to only enable one service board at the same time.
[0036] Figure 2 It is a flow chart of a service board management method based on an intelligent cage in one embodiment of the present invention.
[0037] like Figure 2 As shown, the management method includes the following steps:
[0038] S10, obtaining a management instruction sent by the host computer to the management core through the management serial port, so that the management core determines the target service board and its corresponding target card slot number and the operation to be executed according to the management instruction.
[0039] Specifically, the management serial port Manage com13 in this embodiment can be connected to an external host computer, and the host computer can send management instructions to the management core 10 in the smart cage through the management serial port Manage com13, and then the smart cage can perform subsequent operations after receiving the management instructions to manage and control the corresponding service board. It should be noted that the management instructions include debugging instructions and power-on and power-off instructions for the service board, and of course the management instructions may also include related instructions for other service boards, which are not specifically limited in this embodiment.
[0040] After receiving the management instruction, the management core 10 can determine the service board that needs to be managed and controlled, that is, the target service board, and the card slot where the target service board is located, that is, the target card slot number, from the management instruction. In addition, the management instruction also includes an operation to be performed, that is, management control of the target service board. The operation corresponding to the management control can be to control the target service board to enter debugging, and / or to control the target service board to power on. It can be understood that the target service board in this embodiment can include one or more boards.
[0041] S20, determining a first control instruction for the communication gating circuit and a second control instruction for the power distribution circuit according to the target board, the corresponding target card slot number and the operation to be performed.
[0042] Specifically, after the management core 10 analyzes the management instruction to obtain the target board and the target card slot number corresponding to the target board and the operation to be executed, it can determine how to control the target service board based on this information, and specifically needs to complete the control of the target service board through the communication gating circuit 11 and the power distribution circuit 12. Among them, the communication gating circuit 11 can be controlled according to the first control instruction, and the power distribution circuit 12 can be controlled according to the second control instruction. Since the communication gating circuit 11 and the power distribution circuit 12 are respectively connected to the management core 10, the management core 10 can convert the management instruction into a first control instruction that can be recognized by the communication gating circuit 11 and a second control instruction that can be recognized by the power distribution circuit 12.
[0043] S30, sending the first control instruction to the communication enabling circuit so that the communication enabling circuit controls the debug connection serial port circuit in the target card slot according to the first control instruction, and sending the second control instruction to the power distribution circuit so that the power distribution circuit controls the power connection circuit in the target card slot according to the second control instruction.
[0044] Specifically, after receiving the target card slot number and the operation to be executed, the management core 10 can convert them into a first control instruction and a second control instruction, and then send the first control instruction to the communication gating circuit 11, and send the second control instruction to the power distribution circuit 12. The communication gating circuit 11 can control the debugging connection serial port circuit to be connected or disconnected, so that the corresponding service board can be connected to the external debugging device; the power distribution circuit 12 can control the power connection circuit to be connected or disconnected, so that the corresponding service board can be powered on or off. For example, the operations to be executed include controlling business board 1 to power on and debug, and controlling business board 2 to power on, and the debugging connection serial port circuit in the target card slot corresponding to business board 1 is com1, and the power connection circuit is PWR1, and the power connection circuit in the target card slot corresponding to business board 2 is PWR2, then the communication selection circuit 11 can control the debugging connection serial port circuit com1 to be in a connected state according to the first control instruction, and the power distribution circuit 12 can control the power connection circuit PWR1 and the power connection circuit PWR2 to be in a connected state according to the second control instruction, while other debugging connection serial port circuits and power connection circuits are in a shut-off state, so that an external debugging device can debug business board 1, and business board 1 and business board 2 can perform corresponding business functions.
[0045] In some embodiments of the present invention, Figure 1 As shown, the smart cage also includes a memory 16, and as shown in Figure 3 As shown, the management method also includes:
[0046] S301, after completing the control of the debug connection serial port circuit and the power connection circuit, determine the current configuration information of the communication selection circuit and the current configuration information of the power distribution circuit.
[0047] S302, storing the current configuration information of the communication gating circuit and the current configuration information of the power distribution circuit in a memory.
[0048] Specifically, Figure 1 As shown, in this embodiment, the smart cage also includes a memory 16, which can store configuration information of each card slot, including but not limited to the baud rate, data bit, stop bit, check bit and other information of the debug connection serial port circuit and the power connection circuit. After the communication selection circuit completes the control of the debug connection serial port circuit, and the power distribution circuit completes the control of the power connection circuit, the current configuration information of the debug connection serial port circuit and the power connection circuit after being controlled can also be stored in the memory 16. After the smart cage is powered on, the debug connection serial port circuit and the power connection circuit can be configured according to the configuration information stored in the memory 16, so that the configuration parameters of the serial port do not need to be set every time the power is turned on and off, which greatly reduces the complexity of the parameter setting operation of the serial port.
[0049] In this embodiment, before obtaining the management instructions sent by the upper computer to the management core through the management serial port, the management method also includes: obtaining the current configuration information of the communication enable circuit and the current configuration information of the power distribution circuit from the memory; sending the current configuration information of the communication enable circuit to the communication enable circuit, and sending the current configuration information of the power distribution circuit to the power distribution circuit, so that the communication enable circuit controls the debugging connection serial port circuits in multiple card slots according to the current configuration information of the communication enable circuit, and the power distribution circuit controls the power connection circuits in multiple card slots according to the current configuration information of the power distribution circuit.
[0050] Specifically, during the debugging process of the business board, multiple debugging may be required. In order to improve the convenience of debugging, this embodiment can first obtain the current configuration information of the communication selection circuit and the current configuration information of the power distribution circuit from the memory after the intelligent machine cage is powered on, before obtaining the management instruction sent by the upper computer to the management core through the management serial port, and then directly control the debugging connection serial port circuit and the power connection circuit according to the obtained current configuration information, so that debugging can be performed directly without the need to perform operations such as serial port selection through management instructions, which greatly reduces the difficulty of debugging operations.
[0051] In some embodiments of the present invention, the management method also includes: before the power distribution circuit controls the power connection circuit in the target card slot according to the second control instruction, the communication selection circuit first controls the debug connection serial port circuit in the target card slot according to the first control instruction.
[0052] Specifically, in order to ensure that the startup log will not be lost, this embodiment limits the connection order of the power connection circuit and the debug connection serial port circuit. After the communication selection circuit completes the connection control of the debug connection serial port circuit, the power distribution circuit is controlled to connect the power connection circuit. If the power connection circuit is controlled to be connected first, and the debug connection serial port circuit is controlled to be connected later, it is very likely to cause the startup log to be lost, and then the smart cage cannot operate normally.
[0053] In some embodiments of the present invention, the management serial port and the debugging serial port are integrated and designed as an integrated serial port, and the integrated serial port is connected to a host computer.
[0054] Specifically, in this embodiment, the management serial port and the debugging serial port can be integrated and designed, so that the host computer can send management instructions to the smart cage and debug instructions to the smart cage through an integrated serial port, so there is no need to spare multiple connection lines, which further reduces the difficulty of operation and simplifies the design of the smart cage. In special environments, such as humid, corrosive, electromagnetic and other environments, it is only necessary to protect the integrated serial port, and there is no need to consider the serial port of the service board, which reduces the difficulty of protection and improves reliability.
[0055] In some embodiments of the present invention, the power serial port is connected to the external power supply via a controllable switch, and the power on and off of the smart cage is controlled via the controllable switch.
[0056] Specifically, Figure 1 As shown, a controllable switch can also be provided in the power serial port PWRIN15, and the power serial port PWRIN15 is connected to an external power supply, and then the power on and off control of the smart cage can be completed by controlling the controllable switch. More specifically, in the design process of the smart cage, a switch can be directly provided on the board, and the power serial port PERIN15 is fixedly connected to the external power supply, so that the power on and off operation of the smart cage can be completed by controlling the switch on the board, so that the smart cage can be flexible.
[0057] In summary, the intelligent cage-based service board management method of the present invention can reserve more space for service boards, improve the debugging flexibility and environmental adaptability of service boards, and thus ensure product reliability.
[0058] Furthermore, the present invention also proposes a computer-readable storage medium, on which a business board management program based on a smart cage is stored. When the business board management program based on a smart cage is executed by a processor, the business board management method based on a smart cage according to any one of the above embodiments is implemented.
[0059] The computer-readable storage medium of the embodiment of the present invention can reserve more space for the service board through the service board management method based on the intelligent cage in the above embodiment, improve the debugging flexibility and environmental adaptability of the service board, and thus ensure the reliability of the product.
[0060] Figure 5 It is a structural block diagram of a service board management device based on an intelligent cage in an embodiment of the present invention.
[0061] Furthermore, the present invention proposes a service board management device based on an intelligent cage, such as Figure 1 and Figure 4 As shown, the intelligent cage includes a management core 10, a communication gating circuit 11, a power distribution circuit 12, a management serial port Manage com13, a debugging serial port Debug com14, a power serial port PWRIN15 and multiple card slots. The communication gating circuit 11 is respectively connected to the debugging serial port Debugcom14 and the multiple card slots, and the power distribution circuit 12 is respectively connected to the power serial port PWRIN15 and the multiple card slots. The multiple card slots are configured to be compatible with multiple business boards, and each card slot includes a debugging connection serial port circuit and a power connection circuit. The management core 10 is respectively connected to the communication gating circuit 11, the power distribution circuit 12 and the management serial port Managecom13.
[0062] like Figure 5 As shown, the management device 20 includes: an acquisition module 21, a determination module 22 and a control module 23.
[0063] Among them, the acquisition module 21 is used to obtain the management instructions sent by the upper computer (not shown in the figure) to the management core 10 through the management serial port Manage com13, so that the management core 10 determines the target business board and its corresponding target card slot number and the operation to be executed according to the management instruction; the determination module 22 is used to determine the first control instruction of the communication gating circuit 11 and the second control instruction of the power distribution circuit 12 according to the target board, the corresponding target card slot number and the operation to be executed; the control module 23 is used to send the first control instruction to the communication gating circuit 11, so that the communication gating circuit 11 controls the debugging connection serial port circuit in the target card slot according to the first control instruction, and sends the second control instruction to the power distribution circuit 12, so that the power distribution circuit 12 controls the power connection circuit in the target card slot according to the second control instruction.
[0064] In some embodiments of the present invention, the intelligent cage also includes a memory, and the control module 23 is further used to: after completing the control of the debug connection serial port circuit and the power connection circuit, determine the current configuration information of the communication selection circuit and the current configuration information of the power distribution circuit; store the current configuration information of the communication selection circuit and the current configuration information of the power distribution circuit in the memory.
[0065] In some embodiments of the present invention, before obtaining the management instructions sent by the upper computer to the management core through the management serial port, the control module 23 is also used to: obtain the current configuration information of the communication enable circuit and the current configuration information of the power distribution circuit from the memory; send the current configuration information of the communication enable circuit to the communication enable circuit, and send the current configuration information of the power distribution circuit to the power distribution circuit, so that the communication enable circuit controls the debugging connection serial port circuits in multiple card slots according to the current configuration information of the communication enable circuit, and the power distribution circuit controls the power connection circuits in multiple card slots according to the current configuration information of the power distribution circuit.
[0066] In some embodiments of the present invention, the control module 23 is also used to: before controlling the power distribution circuit to control the power connection circuit in the target card slot according to the operation to be executed, first control the communication selection circuit to control the debug connection serial port circuit in the target card slot according to the operation to be executed.
[0067] In some embodiments of the present invention, the size of each card slot is designed to be uniform.
[0068] In some embodiments of the present invention, the management serial port and the debugging serial port are integrated and designed as an integrated serial port, and the integrated serial port is connected to a host computer.
[0069] In some embodiments of the present invention, the power serial port is connected to the external power supply via a controllable switch, and the power on and off of the smart cage is controlled via the controllable switch.
[0070] It should be noted that the specific implementation of the service board management device based on the smart cage in this embodiment can refer to the specific implementation of the service board management method based on the smart cage in the above embodiment, and will not be described again here to avoid redundancy.
[0071] In summary, the service board management device based on the intelligent cage in the embodiment of the present invention can reserve more space for the service boards, improve the debugging flexibility and environmental adaptability of the service boards, and thus ensure the reliability of the product.
[0072] Figure 6 It is a structural block diagram of an intelligent cage in an embodiment of the present invention.
[0073] Furthermore, if Figure 6As shown, the present invention proposes an intelligent cage 1000, and the intelligent cage 1000 includes the service board management device 20 based on the intelligent cage in the above embodiment.
[0074] The smart cage of the embodiment of the present invention can reserve more space for the service boards through the service board management device based on the smart cage of the above embodiment, improve the debugging flexibility and environmental adaptability of the service boards, and thus ensure the reliability of the product.
[0075] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0076] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0077] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0078] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0079] In addition, the terms "first", "second", etc. used in the embodiments of the present invention are only used for descriptive purposes and should not be understood as indicating or implying relative importance, or implicitly indicating the number of technical features indicated in the present embodiment. Therefore, the features defined by the terms "first", "second", etc. in the embodiments of the present invention can explicitly or implicitly indicate that the embodiment includes at least one of the features. In the description of the present invention, the word "multiple" means at least two or two or more, such as two, three, four, etc., unless otherwise clearly and specifically defined in the embodiments.
[0080] In the present invention, unless otherwise clearly specified or limited in the embodiments, the terms "installed", "connected", "connected" and "fixed" etc. in the embodiments should be understood in a broad sense. For example, the connection can be a fixed connection, a detachable connection, or an integrated connection. It can be understood that it can also be a mechanical connection, an electrical connection, etc.; of course, it can also be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal connection of two elements, or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific implementation situation.
[0081] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0082] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A service board management method based on an intelligent cage, characterized in that: The intelligent cage includes a management core, a communication gating circuit, a power distribution circuit, a management serial port, a debugging serial port, a power serial port and a plurality of card slots, wherein the communication gating circuit is respectively connected to the debugging serial port and the plurality of card slots, the power distribution circuit is respectively connected to the power serial port and the plurality of card slots, the plurality of card slots are configured to be compatible with a plurality of service boards, and each of the card slots includes a debugging connection serial port circuit and a power connection circuit, the management core is respectively connected to the communication gating circuit, the power distribution circuit and the management serial port, and the management method includes: Obtaining a management instruction sent by the host computer to the management core through the management serial port, so that the management core determines the target service board and its corresponding target card slot number and the operation to be executed according to the management instruction; Determine a first control instruction of the communication gating circuit and a second control instruction of the power distribution circuit according to the target board, the corresponding target card slot number and the operation to be performed; The first control instruction is sent to the communication enabling circuit so that the communication enabling circuit controls the debug connection serial port circuit in the target card slot according to the first control instruction, and the second control instruction is sent to the power distribution circuit so that the power distribution circuit controls the power connection circuit in the target card slot according to the second control instruction.
2. The service board management method based on the intelligent cage according to claim 1 is characterized in that: The intelligent cage further includes a memory, and the management method further includes: After completing the control of the debug connection serial port circuit and the power connection circuit, determining the current configuration information of the communication gating circuit and the current configuration information of the power distribution circuit; The current configuration information of the communication gating circuit and the current configuration information of the power distribution circuit are stored in the memory.
3. The service board management method based on the intelligent cage according to claim 2 is characterized in that: Before obtaining the management instruction sent by the host computer to the management core through the management serial port, the management method further includes: Retrieving current configuration information of the communication gating circuit and current configuration information of the power distribution circuit from the memory; The current configuration information of the communication enable circuit is sent to the communication enable circuit, and the current configuration information of the power distribution circuit is sent to the power distribution circuit, so that the communication enable circuit controls the debug connection serial port circuits in the multiple card slots according to the current configuration information of the communication enable circuit, and the power distribution circuit controls the power connection circuits in the multiple card slots according to the current configuration information of the power distribution circuit.
4. The service board management method based on the intelligent cage according to claim 1 is characterized in that: The management method also includes: Before the power distribution circuit controls the power connection circuit in the target card slot according to the second control instruction, the communication selection circuit first controls the debug connection serial port circuit in the target card slot according to the first control instruction.
5. The service board management method based on the intelligent cage according to any one of claims 1 to 4, characterized in that: The size of each card slot is designed uniformly.
6. The service board management method based on the intelligent cage according to any one of claims 1 to 4, characterized in that: The management serial port and the debugging serial port are integrated and designed as an integrated serial port, and the integrated serial port is connected to the host computer.
7. The service board management method based on the intelligent cage according to any one of claims 1 to 4, characterized in that: The power serial port is connected to an external power supply via a controllable switch, and the controllable switch is used to control power on and off of the intelligent cage.
8. A computer-readable storage medium, characterized in that: A service board management program based on the smart cage is stored thereon, and when the service board management program based on the smart cage is executed by the processor, the service board management method based on the smart cage according to any one of claims 1-7 is implemented.
9. A service board management device based on an intelligent cage, characterized in that: The intelligent cage includes a management core, a communication gating circuit, a power distribution circuit, a management serial port, a debugging serial port, a power serial port and a plurality of card slots, wherein the communication gating circuit is respectively connected to the debugging serial port and the plurality of card slots, the power distribution circuit is respectively connected to the power serial port and the plurality of card slots, the plurality of card slots are configured to be compatible with a plurality of service boards, and each of the card slots includes a debugging connection serial port circuit and a power connection circuit, the management core is respectively connected to the communication gating circuit, the power distribution circuit and the management serial port, and the management device includes: An acquisition module, used for acquiring the management instruction sent by the host computer to the management core through the management serial port, so that the management core determines the target service board and its corresponding target card slot number and the operation to be executed according to the management instruction; A determination module, used for determining a first control instruction of the communication gating circuit and a second control instruction of the power distribution circuit according to the target board, the corresponding target card slot number and the operation to be performed; A control module is used to send the first control instruction to the communication enable circuit so that the communication enable circuit controls the debug connection serial port circuit in the target card slot according to the first control instruction, and to send the second control instruction to the power distribution circuit so that the power distribution circuit controls the power connection circuit in the target card slot according to the second control instruction.
10. An intelligent cage, characterized in that: The smart cage includes the smart cage-based service board management device according to claim 9.
