Hardware management system, method and device and computer equipment

Through the interaction between PCIe network card and microcontroller module, the problem that the server hardware management system cannot meet the needs of out-of-band management of the child card is solved, and the function control and business data processing of the child card are realized, reducing management costs.

CN119271602APending Publication Date: 2025-01-07ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310783780.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-28
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

The existing server hardware management system cannot meet the out-of-band management needs of daughter cards, cannot control the function implementation of the daughter cards, and cannot meet the use needs of the daughter cards.

Method used

Provides a hardware management system, including PCIe network card, microcontrol module and business module. The PCIe network card responds to the address request instructions of the microcontrol module, obtains the communication address configured by the server for the business module, and sends control instructions to the microcontrol module, and microcontrol The module identifies the field content of the control command, and based on the operating status of the content control module and the business module, the service module processes the business data of the target task.

Benefits of technology

Through the interaction between PCIe network card and microcontroller module, the status of the service module in the daughter card is controlled to meet the needs of the daughter card, and there is no need for additional BMC, which reduces the environmental management cost of the daughter card.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119271602A_ABST
    Figure CN119271602A_ABST
Patent Text Reader

Abstract

The invention provides a hardware management system, method and device and computer equipment, and the system comprises a high-speed peripheral component interconnection standard PCIe network card, a micro-control module and a service module. Wherein the PCIe network card, the micro-control module and the service module are all installed in the single-board daughter card; the PCIe network card responds to the address request instruction of the micro-control module, obtains a communication address configured for the service module by the server, and sends a control instruction to the micro-control module based on the communication address; the micro-control module is used for identifying the field content of the control instruction and controlling the running states of the micro-control module and the service module based on the field content; and the business module is used for processing business data of the target task in the server based on the running state. According to the lightweight hardware management system provided by the invention, the service data is processed through interaction between the PCIe network card and the micro-control module, so that the environment management of the daughter card does not need to be carried out by additionally using a BMC (Baseboard Management Controller), and the environment management cost of the daughter card is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a hardware management system, method, apparatus and computer equipment. Background Art

[0002] A daughter board is an additional card attached to a computer adapter card. Currently, most servers use the PCIe (peripheral component interconnect express) standard interface to communicate with the daughter board to achieve certain functions.

[0003] As a daughter card of the standard PCIe interface, its functions are gradually enriched and it needs to complete the processing of various types of business data. Therefore, the management of the hardware environment of its daughter card is particularly important, which is closely related to the needs of business scenarios.

[0004] Currently, the hardware management of servers is mainly implemented through BMC (Baseboard Management Controller). As a dedicated controller for monitoring and managing servers, BMC supports the standard IPMI specification and can manage the environment and status of the server. However, BMC cannot meet the out-of-band management requirements of sub-cards and cannot control the function implementation of sub-cards, so it cannot meet the use requirements of sub-cards. Summary of the invention

[0005] The embodiments of the present disclosure at least provide a hardware management system, method, apparatus, and computer equipment.

[0006] In a first aspect, an embodiment of the present disclosure provides a hardware management system, including: a high-speed peripheral component interconnect standard PCIe network card, a microcontroller module, and a service module; wherein the PCIe network card, the microcontroller module, and the service module are all installed in a single-board daughter card;

[0007] The PCIe network card, in response to the address request instruction of the micro-control module, obtains the communication address configured by the server for the business module, and sends a control instruction to the micro-control module based on the communication address;

[0008] The microcontrol module identifies the field content of the control instruction and controls the operation status of the microcontrol module and the business module based on the field content;

[0009] The business module processes the business data of the target task in the server based on the running status.

[0010] In an optional embodiment, the micro-control module is also used to: initiate a communication request to the PCIe network card, and after reading the PCIe network card's response to the communication request and identifying the content in the register of the micro-control module, instruct the PCIe network card to send a configuration request to the server, wherein the configuration request is used to instruct the server to configure a communication address for the single-board daughter card.

[0011] In an optional embodiment, the microcontrol module is also used to: write fill data in the register in response to a read request of the PCIe network card, so that the PCIe network card can obtain the slot identifier configured for the single-board daughter card after reading the fill data, and determine the communication address of the single-board daughter card based on the slot identifier, wherein the communication address includes: an IP address and a MAC address.

[0012] In an optional implementation, the microcontrol module is further used to: send a ready signal to the PCIe network card through a first GPIO channel of a general purpose input / output port, so that the PCIE network card communicates with the microcontrol module based on the ready signal.

[0013] In an optional implementation, the PCIe network card is further used to: send a control signal to the micro-control module through a second GPIO channel when it is detected that the server is in a target state.

[0014] In an optional implementation manner, the control instruction includes: a first reset instruction and a second reset instruction;

[0015] The microcontrol module is further configured to: after receiving the first reset instruction, reset the microcontrol module in response to the first reset instruction, or after receiving the second reset instruction, reset the service module in response to the second reset instruction.

[0016] In an optional implementation, the PCIe network card is further used to: determine the field content corresponding to the control instruction, and write the field content into the register of the micro-control module.

[0017] In a second aspect, the embodiment of the present disclosure further provides a hardware management method, which is applied to a single board daughter card, comprising:

[0018] In response to the address request instruction, obtaining the communication address configured by the server for the single board daughter card, and sending a control instruction to the single board daughter card based on the communication address;

[0019] Identify the field content of the control instruction, and control the running state of the single board daughter card based on the field content;

[0020] Based on the running status, business data of the target task in the server is processed.

[0021] In a third aspect, an embodiment of the present disclosure further provides a hardware management device, including:

[0022] An acquisition unit, configured to acquire, in response to an address request instruction, a communication address configured by the server for the single-board daughter card, and send a control instruction to the single-board daughter card based on the communication address;

[0023] A control unit, configured to identify the field content of the control instruction and control the operation state of the single board daughter card based on the field content;

[0024] The business unit is used to process the business data of the target task in the server based on the running status.

[0025] In a fourth aspect, an embodiment of the present disclosure further provides a computer device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps in the implementation of the above-mentioned second aspect are performed.

[0026] In a fifth aspect, the present application also provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the hardware management method described in any one of the above items of the present application.

[0027] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art: the method provided by the embodiment of the present application, BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.

[0029] Figure 1 An architectural diagram of a hardware management system provided by an embodiment of the present disclosure is shown;

[0030] Figure 2 A schematic diagram showing the interaction between a subcard and a server provided in an embodiment of the present disclosure is shown;

[0031] Figure 3 A schematic diagram of a management method for managing a subcard through a BMC provided in an embodiment of the present disclosure is shown;

[0032] Figure 4 A sequence diagram showing the interaction between a PCIe network card, a microcontroller module and a service module provided by an embodiment of the present disclosure is shown;

[0033] Figure 5 A sequence diagram showing the interaction between another PCIe network card, a microcontroller module and a service module provided by an embodiment of the present disclosure is shown;

[0034] Figure 6 A flowchart of a hardware management method provided by an embodiment of the present disclosure is shown;

[0035] Figure 7 A schematic diagram of a hardware management device provided by an embodiment of the present disclosure is shown;

[0036] Figure 8 A schematic diagram of a computer device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.

[0038] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0039] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.

[0040] A daughter board is an additional card attached to a computer adapter card. Currently, most servers use the PCIe (peripheral component interconnect express) standard interface to communicate with the daughter board to achieve certain functions.

[0041] As a daughter card of the standard PCIe interface, its functions are gradually enriched and it needs to complete the processing of various types of business data. Therefore, the management of the hardware environment of its daughter card is particularly important, which is closely related to the needs of business scenarios.

[0042] Currently, the hardware management of servers is mainly implemented through BMC (Baseboard Management Controller). As a dedicated controller for monitoring and managing servers, BMC supports the standard IPMI specification and can manage the environment and status of the server. However, BMC cannot meet the out-of-band management requirements of sub-cards and cannot control the function implementation of sub-cards, so it cannot meet the use requirements of sub-cards.

[0043] Based on the above research, the present disclosure provides a hardware management system, method, device and computer equipment, which is used to manage the daughter card of the server, including: PCIe network card, micro control module and business module. Here, the PCIe network card can respond to the address request instruction of the micro control module, obtain the communication address configured by the server for the business module, and send a control instruction to the micro control module. The micro control module can identify the field content of the control instruction and control the running state of the business module of the micro control module based on the field content. The business module can process the business data of the target task based on the running state. Based on this, the lightweight hardware management system provided in the present disclosure interacts between the PCIe network card and the micro control module to control the state of the business module in the daughter card, and then controls the business module to process the business data of the target task, so that when the use requirements of the daughter card are met, there is no need to use the BMC to perform environmental management of the daughter card, which reduces the environmental management cost of the daughter card.

[0044] To facilitate understanding of this embodiment, a hardware management system disclosed in the embodiment of the present invention is first introduced in detail. The hardware management system is installed in a subcard of the server. The subcard is external hardware connected to the server through the above-mentioned PCIe standard interface and is used to collaborate with the server to process target tasks.

[0045] See also Figure 1 FIG. 1 is an architecture diagram of a hardware management system provided by an embodiment of the present disclosure, wherein the hardware management system includes: a PCIe network card 10, a microcontroller module 20, and a service module 30, wherein:

[0046] PCIe network card 10: in response to the request instruction of the micro-control module, obtains the communication address configured by the server for the business module, and sends a control instruction to the micro-control module.

[0047] The hardware management system provided by the embodiment of the present disclosure is installed in a sub-card of a server, such as Figure 2 The figure shows the interaction between the daughter card and the server. As can be seen from the figure, the daughter card can be connected to the server host through the PCIe3.0×8 interface, and specifically, can communicate with the host through the PCIe network card. At the same time, the PCIe network card can exchange data with the microcontroller module (i.e., MCU management unit) through the IIC interface and two GPIO channels, so that the microcontroller module controls the business module to execute the target task.

[0048] In specific implementation, the PCIe network card can be used as the master device, and the microcontroller module can be used as the slave device. Generally speaking, the slave device cannot actively initiate a communication request to the master device. Figure 3 The figure shows a schematic diagram of a management method for managing a sub-card through a BMC, wherein the PCIe network card, as a master device, can communicate with a slave device sub-card through an interconnect bus. Specifically, when the BMC controls the sub-card, the PCIe network card can initiate communication to the sub-card through the interconnect bus based on a control instruction of the BMC.

[0049] In the embodiment of the present disclosure, Figure 2 It can be seen that the PCIe network card can exchange data with the microcontroller module through the IIC interface and two GPIO channels. Therefore, the present disclosure adds two additional GPIO channels between the PCIe network card and the microcontroller module. When the microcontroller module is ready, it can actively initiate a request instruction to the microcontroller module through the GPIO channel to realize the active initiation of a request from the slave device to the master device, so as to meet the use requirements of the daughter card.

[0050] After receiving the request instruction, the PCIe network card can communicate with the host to indicate the communication address configured by the host for the service module, thereby allocating target tasks to the service module based on the communication address. Next, the PCIe network card can receive the control instruction of the host to the sub-card, and send the control instruction to the micro-control module, so that the micro-control module controls the entire sub-card.

[0051] The micro-control module 20 identifies the field content of the control instruction, and controls the operation status of the micro-control module and the service module based on the field content.

[0052] Business module 30: based on the running status, processes the business data of the target task.

[0053] In the disclosed embodiment, the microcontroller module can be used to control the entire daughter card. Specifically, the microcontroller module can realize the functions of powering on and off, resetting, etc. of each part in the daughter card. At the same time, it can also be used to request to configure the communication address for the service module in the daughter card. Here, powering on and off is used to indicate that each part in the daughter card is powered on or off, and resetting is used to indicate that when a part in the daughter card fails, the potential of the part is reset.

[0054] After identifying the control instruction, the microcontroller module can read the field content in the register corresponding to the control instruction, and control the operation status of each part in the subcard based on the field content.

[0055] For example, if the identified control instruction is to power off the microcontrol module and the service module, the service area corresponding to the service module and the microcontrol module area can be powered off respectively to put the service module and the microcontrol module in a power-off state.

[0056] After detecting the business data of the target task sent by the server, the business data can be sent to the business module for processing. Specifically, the operating state of the business module can be determined first, and when the operating state meets the data processing condition, the business module is instructed to process the business data. For example, when the operating state is the power-on state, it can be determined that the operating state of the business module meets the data processing condition.

[0057] It can be seen from the above description that the present disclosure provides a hardware management system, which is used to manage the sub-cards of the server, including: a PCIe network card, a micro-control module and a business module. Here, the PCIe network card can respond to the address request instruction of the micro-control module, obtain the communication address configured by the server for the business module, and send a control instruction to the micro-control module. The micro-control module can identify the field content of the control instruction and control the operating state of the business module of the micro-control module based on the field content. The business module can process the business data of the target task based on the operating state. Based on this, the lightweight hardware management system provided in the present disclosure interacts between the PCIe network card and the micro-control module to control the state of the business module in the sub-card, and then controls the business module to process the business data of the target task, so that when the use requirements of the sub-card are met, there is no need to use the BMC to perform environmental management of the sub-card, thereby reducing the environmental management cost of the sub-card.

[0058] In an optional implementation, the PCIe network card 10 is further used to detect the running status of the server, and send a control signal to the micro-control module through the second GPIO channel when the server is in a target state.

[0059] In the embodiment of the present disclosure, the second GPIO channel may be used as a ready channel, which may be used to indicate whether the running state of the server can normally allocate target tasks to the service module. Here, the target state may be a ready state.

[0060] When it is determined that the server is in the target state, the server can communicate with the PCIe network card so that the PCIe network card sends a control signal to the microcontroller module through the ready channel. The control signal can be used to instruct the microcontroller module to prepare for communication before data processing.

[0061] In the disclosed embodiment, the GPIO channel can be used to trigger signaling between the microcontroller module and the PCIe network card to implement an active communication mechanism between the microcontroller module and the PCIe network card, so as to efficiently manage the hardware environment.

[0062] In an optional embodiment, the above-mentioned micro-control module 20 is also used to: initiate a communication request to the PCIe network card, and after reading the PCIe network card's response to the communication request and identifying the content in the register of the micro-control module, instruct the PCIe network card to send a configuration request to the server, wherein the configuration request is used to instruct the server to configure a communication address for the business module.

[0063] In the disclosed embodiment, an interaction protocol between the PCIe network card and the microcontroller module may be firstly formulated, and the microcontroller module may actively initiate a communication request to the PCIe network card based on the interaction protocol. Specifically, a read request may be sent to the PCIe network card through the first GPIO channel.

[0064] like Figure 4 The figure shows a sequence diagram of the interaction between a PCIe network card, a microcontroller module and a service module, wherein the microcontroller module can generate an interrupt through a GPIO falling edge, thereby identifying a read request to the PCIe network card.

[0065] Next, the PCIe network card can respond to the communication request of the micro-control module and return the device address to the micro-control module ( Figure 4 0x04) and the register address ( Figure 4Then, the microcontroller module can generate an interrupt and identify the content in register 0xfa. Considering that the single-board daughter card can process the business data of the target task through the business module, a communication address can be configured for the single-board daughter card to realize communication between the single-board daughter card and the server.

[0066] Here, if Figure 4 As shown, first, the server can be requested to configure a slot number for the single board subcard, and an IP address and a MAC address are allocated to the single board subcard based on the slot number. The specific method of configuring the communication address for the single board subcard is as follows, which will not be expanded here.

[0067] In the disclosed embodiment, the microcontroller module may actively communicate with the PCIe network card, for example, by initiating a communication request to the PCIe network card, thereby implementing an active communication mechanism between the microcontroller module and the PCIe network card to facilitate efficient management of the hardware environment.

[0068] In an optional embodiment, the above-mentioned micro-control module 20 is also used to: write fill data in the register of the micro-control module in response to a read request of the PCIe network card, so that the PCIe network card can obtain the slot identifier configured for the single-board daughter card after reading the fill data, and determine the communication address of the single-board daughter card based on the slot identifier, wherein the communication address includes: an IP address and a MAC address.

[0069] In the embodiment of the present disclosure, the above-mentioned filling data may be the field content corresponding to the quick configuration instruction. Here, the field content of the quick configuration instruction may be 0xb0. Figure 4 It can be seen that the padding data written by the microcontroller module in register 0xfa can be 0x000xb0. After the PCIe network card reads the content 0xb0 in 0xfa, it can determine that the shortcut configuration instruction is recognized and initiate an address request instruction to instruct the server to configure a slot identifier for the single board daughter card.

[0070] It should be understood that considering that the server will subsequently need to configure the IP address and MAC address for the single board daughter card based on the slot identifier of the single board daughter card, the slot identifier of the single board daughter card can be configured by the server without reading the actual slot number of the single board daughter card.

[0071] After the server reads the above 0xb0 in the above register, it can determine that the address request instruction sent by the above PCIe network card is detected, and in response to the address request instruction, allocates a slot identifier for the single board daughter card. Figure 4 It can be seen that the server can instruct the PCIe network card to mark the slot (i.e. Figure 4The slot in the register is written into the above register to instruct the microcontroller module to read the slot identifier.

[0072] Next, the microcontroller module can respond to the address acquisition request of the service module, assemble the IP address and MAC address for the single-board daughter card based on the above slot identifier, and return the slot identifier, IP address and MAC address to the service module.

[0073] In the disclosed embodiment, the microcontrol module can actively communicate with the PCIe network card, for example, actively request to configure a communication address for the single-board daughter card, thereby realizing an active communication mechanism between the microcontrol module and the PCIe network card, so as to facilitate efficient management of the hardware environment.

[0074] In an optional embodiment, the micro-control module 20 is further used to send a ready signal to the PCIe network card through a first GPIO channel of a general purpose input / output port, so that the PCIE network card communicates with the micro-control module based on the ready signal.

[0075] In the embodiment of the present disclosure, Figure 2 It can be seen that the PCIe network card can exchange data with the microcontroller module through the IIC interface and two GPIO channels, wherein the GPIO channel includes the chat channel and the ready channel mentioned above.

[0076] When the microcontroller module is in the ready state, it needs to request signaling from the PCIe network card. At this time, the microcontroller module can send a ready signal to the PCIe network card through the above chat channel. At this time, the PCIe network card can respond to the ready signal to actively initiate an interactive command to the microcontroller module. Next, the PCIe network card and the microcontroller module can interact with each other through the chat channel, such as the above interrupts and shortcut configuration instructions.

[0077] In the disclosed embodiment, two additional GPIO channels can be added between the PCIe network card and the microcontroller module. When the microcontroller module is ready, a request instruction can be actively initiated to the microcontroller module through the GPIO channel to enable the slave device to actively initiate a request to the master device to meet the usage requirements of the daughter card.

[0078] In an optional embodiment, the above-mentioned control instruction includes: a first reset instruction and a second reset instruction, and the above-mentioned microcontroller module 20 is also used to: after receiving the first reset instruction, reset the microcontroller module in response to the first reset instruction, or, after receiving the second reset instruction, reset the business module in response to the second reset instruction.

[0079] In the embodiment of the present disclosure, considering that at least some modules of the single-board daughter card in operation may have operation failures, at this time, it is necessary to reset the failed area to restore it to normal operation.

[0080] Based on this, the microcontroller module can send control instructions through the above chat channel, and the control instructions are used to instruct the corresponding module in the single-board daughter card to perform power-on and power-off processing or reset processing. Specifically, the control instructions include: 0x5a01 business module power-off instruction (the corresponding field content is 0x5a01), business module power-on instruction (the corresponding field content is 0x5a02), business module power-off reset instruction (the corresponding field content is 0x5a03), business module reset instruction (the corresponding field content is 0x5a04), microcontroller module reset instruction (the corresponding field content is 0x5a05).

[0081] It should be understood that the power-on instruction and the power-off instruction are used to instruct the corresponding module area to be powered on or off, and the reset instruction is used to instruct the corresponding module area to be reset. Here, the reset process can be understood as restarting the module area.

[0082] In specific implementation, the microcontroller module can be instructed to reset by the first reset instruction, which is the above-mentioned 0x5a05. In addition, the service module can be instructed to reset by the second reset instruction, which includes: 0x5a03 and 0x5a04. The specific method of controlling the single-board daughter card based on the control instruction is as follows, which will not be described in detail here.

[0083] In the embodiment of the present disclosure, considering that at least some modules of the single-board daughter card may have operation failures during operation, it is necessary to reset the failed area. Based on this, control instructions for the single-board daughter card can be defined in the above-mentioned interactive protocol to achieve control of the single-board daughter card.

[0084] In an optional implementation, the PCIe network card 10 is further used to: determine the field content corresponding to the control instruction, and write the field content into the register of the micro-control module.

[0085] In the embodiment of the present disclosure, the address of the register corresponding to the above control instruction may be the same as or different from the above 0xfa. For example, the register address may be set to 0xff. Figure 5Another sequence diagram of the interaction between the PCIe network card, the microcontroller module and the service module is shown. Here, when the service area corresponding to the service module needs to be powered off, the PCIe network card can write the field content corresponding to the service module power-off instruction in the third register in the microcontroller module: 0x5a01. After reading 0x5a01, the microcontroller module can control the service area to power off.

[0086] In addition, when the microcontroller unit is detected to be in an abnormal operating state, the microcontroller unit can be reset by the first reset instruction. Specifically, the field content corresponding to the microcontroller module reset instruction can be written into the third register of the microcontroller module by the PCIe network card: 0x5a05. After reading 0x5a05, the microcontroller module can perform a soft reset on the module area where it is located.

[0087] In the disclosed embodiment, the single-board daughter card can be controlled by a pre-planned control instruction to realize the function of the single-board daughter card, thereby achieving management of the single-board daughter card.

[0088] In addition, to facilitate understanding of this embodiment, the embodiment of the present disclosure also provides a hardware management method, and the execution subject of the hardware management method provided by the embodiment of the present disclosure is generally a computer device with certain computing capabilities. In some possible implementations, the hardware management method can be implemented by a processor calling a computer-readable instruction stored in a memory.

[0089] See also Figure 6 FIG. 6 is a flowchart of a hardware management method provided by an embodiment of the present disclosure. The hardware management method includes steps S601-S605, wherein:

[0090] S601: In response to an address request instruction, obtain a communication address configured by a server for the single-board daughter card, and send a control instruction to the single-board daughter card based on the communication address.

[0091] S603: Identify the field content of the control instruction, and control the running state of the single-board daughter card based on the field content.

[0092] S605: Based on the running status, process the business data of the target task in the server.

[0093] The specific implementation process of the hardware management method in the embodiment of the present disclosure can be found in Figure 1 The corresponding embodiments will not be described in detail here.

[0094] In summary, in the embodiments of the present disclosure, first, in response to the address request instruction, the communication address configured by the server for the business module can be obtained, and a control instruction can be sent to the single-board daughter card based on the communication address. After identifying the field content of the control instruction, the operating state of the single-board daughter card can be controlled based on the field content, and based on the operating state, the business data of the target task in the server can be processed. Based on this, the lightweight hardware management method provided in the present disclosure interacts between the PCIe network card and the microcontroller module to control the state of the business module in the daughter card, and then controls the business module to process the business data of the target task, so that when the use requirements of the daughter card are met, there is no need to use the BMC to perform environmental management of the daughter card, thereby reducing the environmental management cost of the daughter card.

[0095] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0096] Based on the same inventive concept, a hardware management device corresponding to the hardware management method is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the above-mentioned hardware management method in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0097] Reference Figure 7 FIG. 1 is a schematic diagram of a hardware management device provided by an embodiment of the present disclosure, wherein the device includes: an acquisition unit 71, a control unit 72, and a service unit 73; wherein:

[0098] The acquisition unit 71 is used to obtain the communication address configured by the server for the single board daughter card in response to the address request instruction, and send a control instruction to the single board daughter card based on the communication address;

[0099] A control unit 72, configured to identify the field content of the control instruction and control the operation state of the single board daughter card based on the field content;

[0100] The business unit 73 is used to process the business data of the target task in the server based on the running status.

[0101] In an embodiment of the present disclosure, first, in response to an address request instruction, the communication address configured by the server for the business module can be obtained, and a control instruction can be sent to the single-board daughter card based on the communication address. After identifying the field content of the control instruction, the operating state of the single-board daughter card can be controlled based on the field content, and based on the operating state, the business data of the target task in the server can be processed. Based on this, the lightweight hardware management method provided in the present disclosure interacts between the PCIe network card and the microcontroller module to control the state of the business module in the daughter card, and then controls the business module to process the business data of the target task, so that when the use requirements of the daughter card are met, there is no need to use the BMC to perform environmental management of the daughter card, thereby reducing the environmental management cost of the daughter card.

[0102] In one possible implementation, the control unit 72 is further used to: initiate a communication request to the PCIe network card, and after reading the PCIe network card's response to the communication request and identifying the content in the register of the microcontrol module, instruct the PCIe network card to send a configuration request to the server, wherein the configuration request is used to instruct the server to configure a communication address for the single-board daughter card.

[0103] In one possible implementation, the control unit 72 is also used to: write fill data in the register of the microcontrol module in response to a read request of the PCIe network card, so that the PCIe network card can obtain the slot identifier configured for the single-board daughter card after reading the fill data, and determine the communication address of the single-board daughter card based on the slot identifier, wherein the communication address includes: an IP address and a MAC address.

[0104] In a possible implementation manner, the control unit 72 is further configured to: send a ready signal to the PCIe network card through a first GPIO channel of a general purpose input / output port, so that the PCIE network card communicates with the microcontroller module based on the ready signal.

[0105] In a possible implementation manner, the acquisition unit 71 is further configured to: when detecting that the server is in the target state, send a control signal to the micro control module through the second GPIO channel.

[0106] In one possible implementation, the control instruction includes: a first reset instruction and a second reset instruction, and the control unit 72 is further used to: after receiving the first reset instruction, reset the microcontrol module in response to the first reset instruction, or, after receiving the second reset instruction, reset the business module in response to the second reset instruction.

[0107] In a possible implementation manner, the acquisition unit 71 is further configured to: determine the field content corresponding to the control instruction, and write the field content into the register of the microcontroller module.

[0108] For descriptions of the processing flow of each unit in the device and the interaction flow between each unit, reference may be made to the relevant descriptions in the above method embodiments, which will not be described in detail here.

[0109] Corresponds to Figure 6 The hardware management method in the present disclosure also provides a computer device 800, such as Figure 8 FIG. 8 is a schematic diagram of a computer device 800 provided in an embodiment of the present disclosure, including:

[0110] Processor 81, memory 82, and bus 83; memory 82 is used to store execution instructions, including internal memory 821 and external memory 822; the internal memory 821 is also called internal memory, which is used to temporarily store the operation data in the processor 81 and the data exchanged with the external memory 822 such as a hard disk. The processor 81 exchanges data with the external memory 822 through the internal memory 821. When the computer device 800 is running, the processor 81 communicates with the memory 82 through the bus 83, so that the processor 81 executes the following instructions:

[0111] In response to the address request instruction, obtaining the communication address configured by the server for the single board daughter card, and sending a control instruction to the single board daughter card based on the communication address;

[0112] Identify the field content of the control instruction, and control the running state of the single board daughter card based on the field content;

[0113] Based on the running status, business data of the target task in the server is processed.

[0114] The embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the hardware management method described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.

[0115] The embodiments of the present disclosure also provide a computer program product, which carries a program code. The instructions included in the program code can be used to execute the steps of the hardware management method described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.

[0116] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).

[0117] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.

[0118] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0119] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0120] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0121] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the aforementioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the aforementioned embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be based on the protection scope of the claims.

Claims

1. A hardware management system, characterized in that: include: High-speed peripheral component interconnection standard PCIe network card, microcontroller module and service module; wherein the PCIe network card, microcontroller module and service module are all installed in a single-board daughter card; The PCIe network card, in response to the address request instruction of the micro-control module, obtains the communication address configured by the server for the business module, and sends a control instruction to the micro-control module based on the communication address; The microcontrol module identifies the field content of the control instruction and controls the operation status of the microcontrol module and the business module based on the field content; The business module processes the business data of the target task in the server based on the running status.

2. The system according to claim 1, characterized in that The micro-control module is also used to: initiate a communication request to the PCIe network card, and after the PCIe network card responds to the communication request and identifies the content in the register of the micro-control module, instruct the PCIe network card to send a configuration request to the server, wherein the configuration request is used to instruct the server to configure a communication address for the single-board daughter card.

3. The system according to claim 2, characterized in that The micro-control module is also used to: write fill data in the register in response to a read request of the PCIe network card, so that the PCIe network card can obtain the slot identifier configured for the single-board daughter card after reading the fill data, and determine the communication address of the single-board daughter card based on the slot identifier, wherein the communication address includes: an IP address and a MAC address.

4. The system according to claim 1, characterized in that The micro-control module is further used to send a preparation signal to the PCIe network card through a first GPIO channel of a general purpose input and output port, so that the PCIE network card communicates with the micro-control module based on the preparation signal.

5. The system according to claim 1, characterized in that The PCIe network card is further used to send a control signal to the micro-control module through a second GPIO channel when detecting that the server is in a target state.

6. The system according to claim 1, characterized in that The control instructions include: a first reset instruction and a second reset instruction; The microcontrol module is further configured to: after receiving the first reset instruction, reset the microcontrol module in response to the first reset instruction, or after receiving the second reset instruction, reset the service module in response to the second reset instruction.

7. The system according to claim 6, characterized in that The PCIe network card is further used to: determine the field content corresponding to the control instruction, and write the field content into the register of the micro-control module.

8. A hardware management method, applied to a single-board daughter card, characterized in that: include: In response to the address request instruction, obtaining the communication address configured by the server for the single board daughter card, and sending a control instruction to the single board daughter card based on the communication address; Identify the field content of the control instruction, and control the running state of the single board daughter card based on the field content; Based on the running status, business data of the target task in the server is processed.

9. A hardware management device, characterized in that: include: An acquisition unit, configured to acquire, in response to an address request instruction, a communication address configured by the server for the single-board daughter card, and send a control instruction to the single-board daughter card based on the communication address; A control unit, configured to identify the field content of the control instruction and control the operation state of the single board daughter card based on the field content; The business unit is used to process the business data of the target task in the server based on the running status.

10. A computer device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the hardware management method as described in claim 8 are performed.