Hardware control system, method, apparatus, storage medium, and electronic device

The hardware control system, which uses multiplexers and interface switching modules, solves the problem of low hardware scalability, achieves efficient signal transmission and flexible control, and improves the system's scalability and signal management efficiency.

CN120045488BActive Publication Date: 2026-11-24INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202412000509.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2026-11-24
Estimated Expiration
2044-12-31

AI Technical Summary

Technical Problem

In high-density hardware configurations, traditional signal transmission schemes rapidly increase the use of address pins, consuming valuable signal resources, limiting the expandability of connectors, and resulting in low scalability of hardware devices.

Method used

The hardware control system employs a multiplexer and an interface switching module. By generating interface address information through an information allocation module, and combining the multiplexer and the interface switching module, it achieves precise control and efficient signal transmission between multiple interfaces and hardware devices.

Benefits of technology

It improves the system's flexibility and scalability, reduces the complexity of hardware design, ensures the accuracy and efficiency of signal transmission, and simplifies system management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120045488B_ABST
    Figure CN120045488B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a hardware control system, method, device, storage medium and electronic equipment, wherein the system comprises: a processor configured to generate a hardware control signal of a hardware device; an information distribution module configured to generate interface address information; a multiplexer, a first end of the multiplexer being connected with the information distribution module, a second end of the multiplexer being connected with the processor, and a third end of the multiplexer being connected with a receiving end of an interface switching module, the multiplexer being configured to, in a case where a first control signal is received, turn on the first end and the third end to transmit the interface address information, and in a case where a second control signal is received, turn on the second end and the third end to transmit the hardware control signal; and the interface switching module, an output end of the interface switching module being connected with a plurality of interfaces. Through the present application, the problem of low expandability of hardware devices in the related art is solved, and the flexibility and expandability of the system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of server hardware design, and more specifically, to a hardware control system, method, apparatus, storage medium, and electronic device. Background Technology

[0002] With the continuous development of server technology, the requirements for the expandability and compatibility of hardware devices are increasing. The communication architecture between the server motherboard and expansion devices, especially the signal distribution of high-speed signal connectors, has become a key challenge in the design.

[0003] Traditional signal transmission schemes use multiple address pins to distinguish different high-speed interfaces. While this approach is feasible, in high-density hardware configurations, the use of address pins increases rapidly, consuming valuable signal resources and limiting the expandability of connectors, resulting in low scalability of hardware devices in related technologies. Summary of the Invention

[0004] This application provides a hardware control system, method, apparatus, storage medium, and electronic device to at least address the problem of low scalability of hardware devices in related technologies.

[0005] According to one embodiment of this application, a hardware control system is provided, comprising: a processor for generating hardware control signals for hardware devices; an information allocation module for generating interface address information, wherein the interface address information represents the correspondence between multiple interfaces and multiple hardware devices; a multiplexer, wherein a first terminal of the multiplexer is connected to the information allocation module, a second terminal of the multiplexer is connected to the processor, and a third terminal of the multiplexer is connected to the receiving terminal of an interface switching module, wherein the multiplexer is configured to, upon receiving a first control signal, activate the first terminal and the third terminal to transmit the interface address information, and to, upon receiving a second control signal, activate the second terminal and the third terminal to transmit the hardware control signal; and an interface switching module, wherein the output terminal of the interface switching module is connected to multiple interfaces, and is configured to transmit the interface address information and the hardware control signals to the multiple interfaces to control a target interface among the multiple interfaces corresponding to a hardware device to respond to the hardware control signal according to the interface address information.

[0006] Furthermore, the system also includes: a first extender, connected to a preset interface among multiple interfaces, for receiving interface address information and converting the interface address information into multiple address signals; and a second extender, connected to the first extender, for sending hardware control signals to the target interface according to the multiple address signals.

[0007] Furthermore, the system also includes: a baseboard management controller, the first end of which is connected to the processor, and the second end of which is connected to the interface switching module. The baseboard management controller is used to receive the device status information of the hardware device sent by the processor, and generate a status control signal according to the device status information, so as to transmit the status control signal to the status display device corresponding to the hardware device through the interface switching module. The status display information is used to indicate the working status of the hardware device.

[0008] Furthermore, the system also includes: a status display device connected to the interface switching module, used to receive status control signals and display the status according to the status display mode corresponding to the status control signals.

[0009] According to another embodiment of this application, a hardware control method is provided, comprising: controlling an information allocation module in a hardware control system to generate interface address information, and controlling a processor in the hardware control system to generate hardware control signals; responding to receiving a first control signal, controlling a multiplexer in the hardware control system to transmit the interface address information to an interface switching module in the hardware control system; responding to receiving a second control signal, controlling the multiplexer to transmit the hardware control signals to the interface switching module; and controlling the interface switching module to transmit the interface address information and the hardware control signals to multiple interfaces, so as to control a target interface corresponding to a hardware device among the multiple interfaces to respond to the hardware control signals according to the interface address information.

[0010] Furthermore, the control interface switching module transmits interface address information and hardware control signals to multiple interfaces to control the target interface corresponding to the hardware device among the multiple interfaces to respond to the hardware control signals according to the interface address information, including: converting the interface address information into multiple address signals; and sending the hardware control signals to the target interface according to the multiple address signals to control the target interface to respond to the hardware control signals.

[0011] Furthermore, the method further includes: acquiring device status information of the hardware device; generating a status control signal based on the device status information, and controlling a status display device corresponding to the hardware device based on the status control signal, wherein the status display device is used to represent the working status of the hardware device; wherein controlling the status display device corresponding to the hardware device based on the status control signal includes: converting the status control signal based on the display format of the status display device to obtain a conversion signal; encoding the conversion signal to obtain a display mode of the hardware device; controlling the status display device to display based on the display mode; the display mode includes one of the following: a first display mode, a second display mode, and a third display mode, wherein the first display mode is used to indicate that the working status of the hardware device is a normal working state, the second display mode is used to indicate that the working status of the hardware device is an abnormal working state, and the third display mode is used to indicate that the hardware device is not in a working state.

[0012] According to another embodiment of this application, a hardware control device is provided, comprising: a first control module, configured to control an information allocation module in a hardware control system to generate interface address information and control a processor in the hardware control system to generate hardware control signals; a second control module, configured to, in response to receiving a first control signal, control a multiplexer in the hardware control system to transmit the interface address information to an interface switching module in the hardware control system; a third control module, configured to, in response to receiving a second control signal, control a multiplexer to transmit hardware control signals to the interface switching module; and a fourth control module, configured to control the interface switching module to transmit the interface address information and hardware control signals to multiple interfaces, so as to control a target interface among the multiple interfaces corresponding to a hardware device to respond to the hardware control signals according to the interface address information.

[0013] According to yet another embodiment of this application, a computer-readable storage medium is also provided, in which a computer program is stored, wherein the computer program is configured to perform the steps in any of the above method embodiments when it is run.

[0014] According to yet another embodiment of this application, an electronic device is also provided, including a memory and a processor, wherein a computer program is stored in the memory and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0015] According to yet another embodiment of this application, a computer program product is also provided, including a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.

[0016] In this application embodiment, a hardware control system is designed, comprising a processor, an information allocation module, a multiplexer, and an interface switching module. The processor generates hardware control signals for the hardware device; the information allocation module generates interface address information; the three ports of the multiplexer are responsible for the on / off states of the information allocation module, the processor, and the interface switching module, respectively; the interface switching module transmits the interface address information and hardware control signals to multiple interfaces to control the target interface corresponding to the hardware device to respond to the hardware control signals according to the interface address information. It is noteworthy that this application proposes a hardware control system that dynamically allocates and controls hardware control signals and interface address information through a multiplexer and an interface switching module. By combining the interface address information generated by the information allocation module and the hardware control signals generated by the processor with the multiplexer and interface switching module, precise control and efficient signal transmission between multiple interfaces and hardware devices are achieved, thereby improving the system's flexibility and scalability, reducing the complexity of hardware design, and thus solving the problem of low hardware device scalability in related technologies. Attached Figure Description

[0017] Figure 1 This is a hardware structure block diagram of a server device for a hardware control method according to an embodiment of this application;

[0018] Figure 2 This is a schematic diagram of a hardware control system according to an embodiment of this application;

[0019] Figure 3 This is a flowchart of a hardware control method according to an embodiment of this application;

[0020] Figure 4 This is a structural block diagram of a hardware control device according to an embodiment of this application. Detailed Implementation

[0021] The embodiments of this application will be described in detail below with reference to the accompanying drawings and examples.

[0022] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0023] The methods and embodiments provided in this application can be executed on a server device or a similar computing device. Taking running on a server device as an example, Figure 1 This is a hardware structure block diagram of a server device according to an embodiment of the hardware control method of this application. Figure 1 As shown, the server device may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The server device may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the server equipment described above. For example, the server equipment may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0024] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the hardware control method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thus implementing the aforementioned method. The memory 104 may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to server devices via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0025] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider for the server device. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.

[0026] This embodiment provides a hardware control system. Figure 2 This is a schematic diagram of a hardware control system according to an embodiment of this application, such as... Figure 2 As shown, the hardware control system includes:

[0027] Processor 202 is used to generate hardware control signals for hardware devices;

[0028] The information allocation module 204 is used to generate interface address information, wherein the interface address information is used to represent the correspondence between multiple interfaces 210 and multiple hardware devices;

[0029] Multiplexer 206 has a first terminal connected to the information distribution module, a second terminal connected to the processor, and a third terminal connected to the receiving terminal of the interface switching module. It is used to connect the first terminal and the third terminal when a first control signal is received to transmit interface address information, and to connect the second terminal and the third terminal when a second control signal is received to transmit hardware control signals.

[0030] The interface switching module 208 has its output connected to multiple interfaces 210. It is used to transmit interface address information and hardware control signals to multiple interfaces to control the target interface corresponding to the hardware device to respond to the hardware control signals according to the interface address information.

[0031] The aforementioned processor can refer to the brain of a hardware control system. The type of processor can include, but is not limited to, a central processing unit (CPU), a microcontroller based on an advanced RISC machine (ARM) architecture, a field-programmable gate array (FPGA), or a digital signal processor (DSP). The specific processor needs to be determined based on the system design and is not limited here. The processor can be used to execute control logic, parse instructions, and generate hardware control signals.

[0032] The aforementioned hardware devices can refer to physical components in the system that need to be controlled and managed. The types of hardware devices can include, but are not limited to, memory, input / output devices, network interface cards, processors, sensors, and actuators. Hardware devices are the foundation for the realization of system functions and can be used to perform specific tasks, such as data storage, signal input / output, and network communication.

[0033] The aforementioned hardware control signals can refer to electrical signals generated by a processor or control logic, used to directly control the state and behavior of hardware devices. The types of hardware control signals may include, but are not limited to, start / stop signals, configuration signals, status query signals, etc. The specific type of hardware control signal needs to be determined according to different hardware requirements, and is not limited here. Hardware control signals can be used as a communication bridge between the hardware control system and the hardware device. The system guides the hardware device to perform specific operations through hardware control signals.

[0034] The aforementioned signal distribution module can refer to a key module responsible for communication between hardware devices and processors, used to ensure that hardware control signals can be correctly directed to the target hardware device. The type of information distribution module may include, but is not limited to, Complex Programmable Logic Devices (CPLDs), dedicated hardware circuits, software modules executed by microcontrollers, etc. The specific signal distribution module needs to be determined according to the system design, and is not limited here. The signal distribution module can be used to generate interface address information.

[0035] The aforementioned interface address information can refer to the data used in the system to identify and distinguish the connection relationship between multiple interfaces and hardware devices. Interface address information may include, but is not limited to, I / O port addresses, device identifiers, network addresses, etc. The specific interface address information needs to be determined according to the system design and is not limited here. Interface address information can be used to ensure that hardware control signals can be correctly routed to the target hardware device.

[0036] The aforementioned interfaces can refer to physical or virtual connection points in the system used to connect the processor, information distribution module, and hardware devices. Interface types may include, but are not limited to, two-wire serial bus (Inter-Integrated Circuit, or I2C) interfaces, Ethernet interfaces, etc. The specific interface type needs to be determined according to actual needs and is not limited here. Each interface may connect to one or more hardware devices. Through the control of the interface switching module, hardware control signals and address information can be accurately directed to specific hardware devices.

[0037] The aforementioned multiplexer can refer to a signal switching device. The type of multiplexer can include, but is not limited to, simple analog and digital multiplexers in digital circuits, or more complex intelligent multiplexers with fault detection and signal enhancement functions. The specific multiplexer needs to be determined according to system requirements and is not limited here. The multiplexer allows the system to switch signal transmission between multiple signal sources (processors, information distribution modules) and a common target (interface switching module). In this system, the multiplexer selectively transmits interface address information or hardware control signals from the information distribution module or processor to the interface switching module based on the received control signals.

[0038] In one optional embodiment, a multiplexer is used in the hardware control system to handle signal switching and management. The three ports of the multiplexer are connected to the information distribution module, the processor, and the interface switching module, respectively. Based on the received control signals, it intelligently selects the conduction path, thereby switching between transmitting interface address information and hardware control signals. This design reduces the number of signal lines and improves system integration and signal management efficiency.

[0039] The aforementioned first control signal can refer to the signal in the hardware control system used to instruct the multiplexer to perform transmission operations. The first control signal can be used to control the channel selection of the multiplexer and to determine whether to transmit interface address information to the interface switching module, etc.

[0040] The aforementioned second control signal can refer to the instruction signal in the hardware control system used to instruct the multiplexer to transmit hardware control signals from the processor to the interface switching module. When the processor generates hardware control signals and needs to control the hardware device in real time through the interface switching module, the central control unit will issue the second control signal. This signal will guide the multiplexer to select the hardware control signal as its input source, ensuring that the hardware control signal can be correctly transmitted to the interface switching module.

[0041] The aforementioned interface switching module can refer to the module responsible for correctly allocating interface address information and hardware control signals to multiple interfaces, ensuring that the signals can reach the associated hardware devices. The type of interface switching module may include, but is not limited to, a two-wire serial bus (Inter-Integrated Circuit, or I2C) interface switching module, a physical layer signal switcher, a network switch with intelligent routing function, or a software-controlled virtual interface manager. The specific interface switching module needs to be determined according to actual needs, and is not limited here. The interface switching module can be used to identify the target interface based on the interface address information and control the target interface to respond to hardware control signals.

[0042] In one optional embodiment, by connecting the output of the interface switching module to multiple interfaces, the interface switching module can receive signals from the multiplexer and transmit hardware control signals to the corresponding hardware device interfaces according to the interface address information, thereby ensuring accurate signal allocation, avoiding device malfunctions caused by signal mismatch, and enhancing the scalability and flexibility of the system.

[0043] In one optional embodiment, a hardware control system comprising a processor, a signal distribution module, a multiplexer, and an interface switching module is constructed. The introduction of the multiplexer significantly reduces the number of signal lines, and the interface address information generated by the information distribution module ensures the accurate transmission of hardware control signals. Through the synergistic effect of the processor, information distribution module, multiplexer, and interface switching module, the control of hardware devices is optimized, which not only improves the efficiency and accuracy of signal transmission but also simplifies system management, providing strong support for building a highly integrated and flexible hardware system.

[0044] In this application embodiment, a hardware control system is designed, comprising a processor, an information allocation module, a multiplexer, and an interface switching module. The processor generates hardware control signals for the hardware device; the information allocation module generates interface address information; the three ports of the multiplexer are responsible for the on / off states of the information allocation module, the processor, and the interface switching module, respectively; the interface switching module transmits the interface address information and hardware control signals to multiple interfaces to control the target interface corresponding to the hardware device to respond to the hardware control signals according to the interface address information. It is noteworthy that this application proposes a hardware control system that dynamically allocates and controls hardware control signals and interface address information through a multiplexer and an interface switching module. By combining the interface address information generated by the information allocation module and the hardware control signals generated by the processor with the multiplexer and interface switching module, precise control and efficient signal transmission between multiple interfaces and hardware devices are achieved, thereby improving the system's flexibility and scalability, reducing the complexity of hardware design, and thus solving the problem of low hardware device scalability in related technologies.

[0045] Optionally, the system further includes: a first extender connected to a preset interface among multiple interfaces, used to receive interface address information and convert the interface address information into multiple address signals; and a second extender connected to the first extender, used to send hardware control signals to the target interface according to the multiple address signals.

[0046] The aforementioned first expander can refer to a component in the system used to receive interface address information and convert it into multiple address signals. The type of the first expander may include, but is not limited to, a two-wire serial bus expander (Inter-Integrated Circuit expander, or I2C expander), a programmable logic circuit of a microcontroller, or a hardware-based dedicated circuit. The specific first expander needs to be determined according to the system circuit design and is not limited here. The first expander can be used to connect to a preset interface, receive interface address information generated by the information allocation module, and then generate multiple parallel address signals through specific logic conversion, thereby providing a basis for subsequent signal allocation and device control.

[0047] The aforementioned preset interface refers to a specially designated interface in the system, used to communicate with the first extender and receive interface address information. The preset interface type may include, but is not limited to, a two-wire serial bus (Inter-Integrated Circuit, I2C) interface, a serial peripheral interface, an Ethernet interface, etc. The specific interface type needs to be determined based on the system design and communication requirements; no limitation is made here. The preset interface is used to ensure the correctness and consistency of signal transmission.

[0048] The aforementioned multiple address signals can refer to the output of the first extender after converting the interface address information. The multiple address signals can be parallel digital signals, with each signal corresponding to one or a group of hardware devices. The multiple address signals can be used to identify the specific location or identity of multiple hardware devices in the system, so that the second extender can accurately send hardware control signals to the target interface. The type and number of address signals need to be designed according to the number and type of hardware devices in the system to ensure the uniqueness and reliability of the signals.

[0049] The aforementioned second expander can refer to a component used to send hardware control signals to a target interface based on multiple address signals. The type of the second expander may include, but is not limited to, a two-wire serial bus expander (Inter-Integrated Circuit expander, or I2C expander), a microcontroller's programmable logic circuit, or a hardware-based dedicated circuit. The specific first expander needs to be determined based on the system circuit design and is not limited here. The second expander can be used to receive the address signals converted from the first expander and, in conjunction with the hardware control signals, accurately route the control signals to the corresponding hardware devices based on the content of the address signals.

[0050] The aforementioned target interface can refer to the interface in the system that needs to receive hardware control signals to drive or control specific hardware devices. Through the cooperation of the first and second expanders, the hardware control signals can be accurately sent to the target interface, ensuring that the hardware device responds correctly according to the control commands.

[0051] In one optional embodiment, by introducing a first extender and a second extender, the hardware control system achieves precise control and efficient management of multiple hardware devices. The first extender receives interface address information and converts it into multiple address signals. This not only simplifies data transmission between the information allocation module and the multiplexer but also provides clear instructions for subsequent signal allocation. Simultaneously, the second extender sends hardware control signals to the target interface based on the address signals, ensuring accurate signal routing and avoiding signal conflicts and device malfunctions. The use of the first and second extenders reduces the system's reliance on traditional address signals, saving hardware resources. Furthermore, by converting the signals into address signals, more complex and precise hardware device identification and control can be achieved. This method reduces signal resource consumption on the host side, reduces material costs, and improves system configurability and operational efficiency.

[0052] Optionally, the system further includes: a baseboard management controller, a first end of which is connected to the processor, and a second end of which is connected to the interface switching module, for receiving device status information of the hardware device sent by the processor, and generating a status control signal based on the device status information, so as to transmit the status control signal to the status display device corresponding to the hardware device through the interface switching module, wherein the status display information is used to indicate the working status of the hardware device.

[0053] The aforementioned Baseboard Management Controller (BMC) can refer to a dedicated microcontroller primarily used to monitor and manage the health and operational status of servers or other computing devices. In this system, the BMC's first terminal is connected to the processor to receive device status information from the processor, while its second terminal is connected to an interface switching module to generate status control signals. These signals are then transmitted to the corresponding status display device of the hardware device via the interface switching module.

[0054] The aforementioned device status information can refer to data generated by the processor to describe the current working status of the hardware device. Device status information may include, but is not limited to, the device's operating temperature, voltage, fan speed, hard drive status, network connection status, etc. The specific device status information needs to be determined according to actual needs, and is not limited here.

[0055] The aforementioned status control signals can refer to signals generated based on device status information, used to control the status display device to display the current status of the hardware device. The type of status control signal can include, but is not limited to, digital status control signals or analog status control signals. The specific status control signal needs to be determined based on the input type and communication protocol of the status display device, which is not limited here. Status control signals can include, but are not limited to, normal operation status signals, warning status signals, and fault status signals. The specific status signal needs to be determined based on the status information of the hardware device, which is not limited here. Through status control signals, the status display device can reflect the operating status of the hardware device in real time, thereby facilitating maintenance personnel to monitor and troubleshoot.

[0056] The aforementioned status display device refers to a device used to intuitively display the status of hardware devices. The type of status display device may include, but is not limited to, light-emitting diodes (LEDs) and organic light-emitting diode displays (OLEDs). The specific status display device needs to be determined according to the system design and is not limited here. The status display device can be used to display the working status of hardware devices, such as normal operation, warning, fault, etc., based on the status control signals sent by the BMC, and intuitively display the status of hardware devices.

[0057] In one optional embodiment, the baseboard management controller receives the status information of the hardware device and generates a status control signal, which is then transmitted to the status display device via an interface switching module. This enables the system to automatically control the status display based on the device's status. This process allows the system to monitor the hardware device's status in real time, such as its operating status and health condition, and display this information intuitively to the user through the status display device. This not only improves the system's management level and user experience but also ensures timely feedback on device status, facilitating maintenance and problem diagnosis.

[0058] Optionally, the system further includes: a status display device connected to the interface switching module, used to receive status control signals and display status according to the status display mode corresponding to the status control signals.

[0059] The aforementioned status display mode refers to the rules or algorithms by which the status display device parses and presents status control signals. The status display mode defines the display style and content corresponding to different states. For example, for LED lights, the status display mode might involve different colors or flashing frequencies; for displays, it might include the presentation of different icons, text, or interface layouts. The status display mode depends on the type of status display device and the system design requirements. It can be a predefined static mode, a dynamically adjusted mode, or even a user-defined mode to provide a more personalized or refined status display. The specific status display mode needs to be determined based on actual needs and system design; no limitations are imposed here.

[0060] In one optional embodiment, the introduction of a status display device and its diverse status display modes significantly improves the monitoring efficiency and intuitiveness of the server hardware system. By receiving and parsing status control signals from the interface switching module, the status display device can reflect the working status of the hardware devices within the server in a timely and accurate manner. Whether through simple status indications using LED lights or detailed information displays on LCD or OLED screens, it provides system maintenance personnel with a fast and intuitive means of fault detection, reducing the time cost of equipment troubleshooting and repair. Furthermore, the diversity of status display modes, such as color coding, icon display, and text information, makes the communication of status information clearer and more explicit, allowing even non-professionals to quickly understand the health status of the equipment, thus improving system availability and user-friendliness.

[0061] In one optional embodiment, the status display device can intuitively represent the operating status of the hardware device based on status control signals, such as by using LED colors or flashing patterns, thereby improving the visibility and understandability of the device status. This allows users to quickly determine whether the device is working properly, and for system administrators, it enables timely detection and handling of potential problems, enhancing system stability and management efficiency.

[0062] This embodiment provides a hardware control method. Figure 3 This is a flowchart of a hardware control method according to an embodiment of this application, such as... Figure 3 As shown, the process includes the following steps:

[0063] Step S302: The information allocation module in the control hardware control system generates interface address information, and the processor in the control hardware control system generates hardware control signals.

[0064] In one optional embodiment, the hardware control system achieves efficient and orderly device management and status monitoring through precise scheduling of the information allocation module and the processor. First, the control information allocation module generates interface address information, clearly defining the unique location and identity of each hardware component in the network. Then, the control processor generates corresponding hardware control signals based on system requirements and device status. These signals contain precise control instructions for the hardware devices, such as device startup, configuration changes, and status queries. This control architecture ensures accurate signal generation and orderly transmission, avoids signal conflicts and device malfunctions, and improves the overall stability and response speed of the system. Simultaneously, by generating interface address information and hardware control signals, the system can adapt to dynamic changes in hardware devices, such as device insertion / removal and fault replacement, enhancing the system's flexibility and scalability.

[0065] Step S304: In response to receiving the first control signal, the multiplexer in the hardware control system transmits the interface address information to the interface switching module in the hardware control system.

[0066] In one optional embodiment, precise control of the multiplexer via a first control signal enables dynamic transmission of interface address information, avoiding the resource waste and design complexity associated with allocating a large number of address pins in traditional methods. This dynamic allocation mechanism adapts to the flexible plugging and unplugging and dynamic reconfiguration of hardware in devices such as servers, significantly improving system scalability and resource utilization efficiency. Simultaneously, the introduction of the first control signal allows the system to manage hardware devices more intelligently, reducing misconfiguration and device identification delays, and improving the overall system operating efficiency and stability.

[0067] Step S306: In response to receiving the second control signal, control the multiplexer to transmit the hardware control signal to the interface switching module.

[0068] In one optional embodiment, after the processor generates hardware control signals, the second control signal can quickly switch the operating state of the multiplexer, ensuring that these control signals can be transmitted to the interface switching module in a timely and accurate manner, and thus reach the target hardware device. This design avoids redundancy in the signal transmission path, reduces signal delay, and improves the real-time performance and flexibility of the system.

[0069] In step S308, the control interface switching module transmits interface address information and hardware control signals to multiple interfaces to control the target interface corresponding to the hardware device among the multiple interfaces to respond to the hardware control signals according to the interface address information.

[0070] In one optional embodiment, when the system needs to identify and control multiple hardware devices, the interface switching module distributes the interface address information and hardware control signals received from the central control unit to the interface corresponding to each hardware device. This technical mechanism ensures that each hardware device can correctly receive and respond to hardware control signals through its unique interface address, thereby realizing intelligent identification and remote control of the devices. This process not only saves address pin resources and reduces the complexity of hardware design, but also significantly reduces signal latency and improves the system's response speed and overall efficiency.

[0071] The above steps, through the interface address information generated by the information allocation module and the hardware control signals generated by the processor, combined with the multiplexer and interface switching module, realize precise control and efficient signal transmission between multiple interfaces and hardware devices, thereby improving the system's flexibility and scalability, reducing the complexity of hardware design, and thus solving the problem of low hardware device scalability in related technologies.

[0072] Optionally, the control interface switching module transmits interface address information and hardware control signals to multiple interfaces to control the target interface corresponding to the hardware device among the multiple interfaces to respond to the hardware control signals according to the interface address information, including: converting the interface address information into multiple address signals; and sending the hardware control signals to the target interface according to the multiple address signals to control the target interface to respond to the hardware control signals.

[0073] The aforementioned multiple address signals refer to the interface switching module in the hardware control system decoding the received interface address information and converting it into a set of signals that can be directly recognized and responded to by the hardware device. The type of multiple address signals can be parallel digital signals or encoded serial signals, transmitted through a single signal line and then decoded by the hardware device. The specific address signals need to be determined according to the system requirements and are not limited here. Multiple address signals can be used to ensure that hardware control signals can be accurately sent to the correct hardware device interface.

[0074] In one optional embodiment, an interface switching module converts interface address information into multiple address signals, and sends hardware control signals to the target interface based on these address signals. Through the decoding and conversion of serial address signals, each hardware device can accurately identify its own address, ensuring precise delivery of hardware control signals and avoiding errors and conflicts during signal transmission. This method not only simplifies system design and reduces the number of address pins but also improves signal transmission speed, enabling the server to respond quickly and accurately to various hardware control requirements, further guaranteeing stable system operation and efficient transmission.

[0075] Optionally, the method further includes: acquiring device status information of the hardware device; generating a status control signal based on the device status information, and controlling a status display device corresponding to the hardware device based on the status control signal, wherein the status display device is used to represent the working status of the hardware device; wherein controlling the status display device corresponding to the hardware device based on the status control signal includes: converting the status control signal based on the display format of the status display device to obtain a conversion signal; encoding the conversion signal to obtain a display mode of the hardware device; controlling the status display device to display based on the display mode; the display mode includes one of the following: a first display mode, a second display mode, and a third display mode, wherein the first display mode is used to indicate that the working status of the hardware device is a normal working state, the second display mode is used to indicate that the working status of the hardware device is an abnormal working state, and the third display mode is used to indicate that the hardware device is not in a working state.

[0076] The aforementioned display format refers to the way the status display device receives and processes signals. The display format defines the signal structure, decoding logic, and display rules, enabling the status control signals to be displayed in a form that the hardware device can understand. The types of display formats can include, but are not limited to, numbers, text, graphics, color encoding, and other forms. The specific display format needs to be determined based on the design and application environment of the status display device, and is not limited here. The display format can be used to convert the information of the status control signals into a form that the status display device can recognize and present, ensuring that the working status of the hardware device can be displayed intuitively and accurately to maintenance personnel or system monitoring software.

[0077] The aforementioned conversion signal can refer to the signal obtained by the status display device after processing the status control signal according to the display format. It is the direct input signal for the hardware device to display its working status. The type of conversion signal can include, but is not limited to, analog signals, digital pulse signals, encoded serial data signals, etc. The specific conversion signal needs to be determined according to the signal input interface and display principle of the status display device, and is not limited here. The conversion signal can be used to provide specific operation instructions for the status display device, such as turning on or off LED lights, displaying specific graphics or text, etc., to reflect the working status of the hardware device.

[0078] The aforementioned display modes refer to a set of specific display rules used by the status display device to represent the working status of hardware devices according to the encoding rules of the conversion signals. The types of display modes may include, but are not limited to, a first display mode, a second display mode, and a third display mode, each corresponding to different working states of the hardware device. These can be represented by different colors, flashing frequencies, graphics, text information, etc. For example, the first display mode (normal working state) could be a stable green light; the second display mode (abnormal working state) could be a flashing red light; and the third display mode (not in working state) could be no light or a specific warning symbol. These display modes are merely examples; the actual display mode needs to be determined based on user requirements and system design, and is not limited here.

[0079] In one alternative embodiment, the operating state of the hardware device may also include selecting a constant LED light mode for a "normal" state; a flashing mode for a "warning" state; and a rapid flashing or specific color display for a "fault" state.

[0080] In one optional embodiment, by converting and encoding status control signals and using different display modes to intuitively represent the working status of hardware devices, this application provides an efficient and intuitive hardware status monitoring mechanism. This mechanism not only simplifies the signal processing logic of the status display system but also significantly improves the efficiency and accuracy of fault diagnosis for server maintenance personnel through the visual feedback of the status display device. For example, a stable green light (first display mode) quickly confirms the normal operation of the hardware device; a flashing red light (second display mode) promptly alerts to abnormal device states, facilitating maintenance personnel to take action; and no light or a specific warning symbol (third display mode) clearly indicates that the device is not started or not connected, aiding in system initialization and fault diagnosis. This status display technology can provide real-time and accurate feedback on the working status of hardware devices, making it an important component in building highly reliable and efficient server systems, greatly improving server operation and maintenance efficiency and user experience.

[0081] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0082] This embodiment also provides a hardware control device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0083] Figure 4 This is a structural block diagram of a hardware control device according to an embodiment of this application, such as... Figure 4 As shown, the device includes: a first control module 402, a second control module 404, a third control module 406, and a fourth control module 408.

[0084] The first control module 402 is used to control the information allocation module in the hardware control system to generate interface address information and control the processor in the hardware control system to generate hardware control signals; the second control module 404 is used to control the multiplexer in the hardware control system to transmit the interface address information to the interface switching module in the hardware control system in response to receiving the first control signal; the third control module 406 is used to control the multiplexer to transmit the hardware control signal to the interface switching module in response to receiving the second control signal; the fourth control module 408 is used to control the interface switching module to transmit the interface address information and hardware control signals to multiple interfaces, so as to control the target interface corresponding to the hardware device among the multiple interfaces to respond to the hardware control signal according to the interface address information.

[0085] Optionally, the fourth control module includes: a conversion unit for converting interface address information into multiple address signals; and a control unit for sending hardware control signals to the target interface according to the multiple address signals, so as to control the target interface to respond to the hardware control signals.

[0086] Optionally, the device further includes: an acquisition module for acquiring device status information of the hardware device; and a generation module for generating a status control signal based on the device status information, and controlling a status display device corresponding to the hardware device based on the status control signal, wherein the status display device is used to represent the working status of the hardware device; wherein controlling the status display device corresponding to the hardware device based on the status control signal includes: converting the status control signal based on the display format of the status display device to obtain a conversion signal; encoding the conversion signal to obtain a display mode of the hardware device; and controlling the status display device to display based on the display mode; the display mode includes one of the following: a first display mode, a second display mode, and a third display mode, wherein the first display mode is used to indicate that the working status of the hardware device is a normal working state, the second display mode is used to indicate that the working status of the hardware device is an abnormal working state, and the third display mode is used to indicate that the hardware device is not in a working state.

[0087] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.

[0088] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when run.

[0089] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0090] Embodiments of this application also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0091] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.

[0092] Embodiments of this application also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.

[0093] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.

[0094] The embodiments described herein also provide a computer program that includes computer instructions stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps in any of the above method embodiments.

[0095] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.

[0096] Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.

[0097] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.

Claims

1. A hardware control system, characterized by, include: A processor is used to generate hardware control signals for hardware devices. An information allocation module is used to generate interface address information, wherein the interface address information is used to represent the correspondence between multiple interfaces and multiple hardware devices; A multiplexer, wherein a first terminal of the multiplexer is connected to the information distribution module, a second terminal of the multiplexer is connected to the processor, and a third terminal of the multiplexer is connected to the receiving end of the interface switching module, for transmitting the interface address information by connecting the first terminal and the third terminal when a first control signal is received, and for transmitting the hardware control signal by connecting the second terminal and the third terminal when a second control signal is received; The interface switching module, the output of which is connected to multiple interfaces, is used to transmit the interface address information to the first extender; The first extender is connected to a preset interface among the plurality of interfaces, and is used to receive the interface address information and convert the interface address information into a plurality of address signals; the plurality of address signals are used to identify the specific identities of a plurality of hardware devices in the hardware system; The second extender, connected to the first extender, is used to send the hardware control signal to the target interface according to the plurality of address signals, so as to control the target interface corresponding to the hardware device among the plurality of interfaces to respond to the hardware control signal according to the interface address information.

2. The system according to claim 1, characterized in that, Also includes: A baseboard management controller, wherein a first end of the baseboard management controller is connected to the processor and a second end of the baseboard management controller is connected to the interface switching module, for receiving device status information of the hardware device sent by the processor, and generating a status control signal according to the device status information, so as to transmit the status control signal to the status display device corresponding to the hardware device through the interface switching module, wherein the status display information is used to indicate the working status of the hardware device.

3. The system according to claim 2, characterized in that, Also includes: The status display device is connected to the interface switching module and is used to receive the status control signal and display the status according to the status display mode corresponding to the status control signal.

4. A hardware control method, characterized by, include: The information allocation module in the control hardware control system generates interface address information and controls the processor in the control hardware control system to generate hardware control signals. In response to receiving the first control signal, the multiplexer in the hardware control system is controlled to transmit the interface address information to the interface switching module in the hardware control system; In response to receiving the second control signal, the multiplexer is controlled to transmit the hardware control signal to the interface switching module; The interface switching module is controlled to transmit the interface address information to the first extender, so that the first extender converts the interface address information into multiple address signals; the multiple address signals are used to identify the specific identities of multiple hardware devices in the hardware system; the second extender is controlled to send the hardware control signal to the target interface according to the multiple address signals, so as to control the target interface to respond to the hardware control signal.

5. The method of claim 4, wherein, The method further includes: Obtain the device status information of the hardware device; A status control signal is generated based on the device status information, and the status display device corresponding to the hardware device is controlled based on the status control signal, wherein the status display device is used to indicate the working status of the hardware device; The status display device corresponding to the hardware device, which controls the status control signal, includes: The status control signal is converted based on the display format of the status display device to obtain a converted signal; The conversion signal is encoded to obtain the display mode of the hardware device; The status display device is controlled to display based on the aforementioned display mode; The display mode includes one of the following: a first display mode, a second display mode, and a third display mode. The first display mode is used to indicate that the working state of the hardware device is a normal working state, the second display mode is used to indicate that the working state of the hardware device is an abnormal working state, and the third display mode is used to indicate that the hardware device is not in the working state.

6. A hardware control device, characterized in that, include: The first control module is used to control the information allocation module in the hardware control system to generate interface address information and to control the processor in the hardware control system to generate hardware control signals. The second control module is used to control the multiplexer in the hardware control system to transmit the interface address information to the interface switching module in the hardware control system in response to receiving the first control signal. The third control module is used to control the multiplexer to transmit the hardware control signal to the interface switching module in response to receiving the second control signal; The fourth control module is used to control the interface switching module to transmit the interface address information to the first extender, so that the first extender converts the interface address information into multiple address signals; the multiple address signals are used to identify the specific identities of multiple hardware devices in the hardware system; and to control the second extender to send the hardware control signal to the target interface according to the multiple address signals, so as to control the target interface to respond to the hardware control signal.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the method described in any one of claims 4 to 5.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor, when executing the computer program, implements the steps of the method recited in any one of claims 4 to 5.

Citation Information

Patent Citations

  • Hard disk backboard expansion chip address multiplexing system

    CN116841940A

  • Method and device for determining working state of hard disk, equipment and medium

    CN118377428A