CN116382491A - Server management method based on infrared rays and related equipment - Google Patents

Server management method based on infrared rays and related equipment Download PDF

Info

Publication number
CN116382491A
CN116382491A CN202211485210.5A CN202211485210A CN116382491A CN 116382491 A CN116382491 A CN 116382491A CN 202211485210 A CN202211485210 A CN 202211485210A CN 116382491 A CN116382491 A CN 116382491A
Authority
CN
China
Prior art keywords
infrared
server
infrared signal
instruction
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211485210.5A
Other languages
Chinese (zh)
Inventor
林楚斌
万侃然
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XFusion Digital Technologies Co Ltd
Original Assignee
XFusion Digital Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by XFusion Digital Technologies Co Ltd filed Critical XFusion Digital Technologies Co Ltd
Priority to CN202211485210.5A priority Critical patent/CN116382491A/en
Publication of CN116382491A publication Critical patent/CN116382491A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0231Cordless keyboards
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared

Abstract

The application discloses a server management method based on infrared and related equipment, and relates to the field of computers. The method comprises the following steps: the server performs a management operation based on the received first infrared signal and transmits a second infrared signal in response to the first infrared signal. Because the first infrared signal is transmitted between the infrared device and the server in a wireless transmission mode, when different servers are managed, a management command does not need to be sent to computer equipment outside a server room again, and the connection relation between the computer equipment and the different servers does not need to be switched. And (3) according to a preset rule, a corresponding management command is input on the infrared equipment, so that management operation on the server can be realized. And after management is finished, packaging the management result into a second infrared signal and transmitting the second infrared signal to the infrared equipment. The management result of the server can be intuitively read by a user on the screen of the infrared equipment.

Description

Server management method based on infrared rays and related equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an infrared-based server management method and related devices.
Background
In order to solve the problem of server failure or update during the use of the server, the server is locally managed. In general, a user sends a management command to a server through a computer device, and the server responds to the management command, thereby realizing local management of the server. However, when the computer device is outside the server room and manages different servers, the management command needs to be resent on the computer device outside the server room, so that the management server in the server room cannot be conveniently and quickly implemented. If the computer equipment is in the server room, when managing different servers, the connection relationship between the computer equipment and the servers needs to be switched. Therefore, how to conveniently manage the server is a problem to be solved.
Disclosure of Invention
The application provides a server management method based on infrared and related equipment, which solve the problem of how to manage servers conveniently in a server room.
In a first aspect, a method for infrared-based server management is provided, the method comprising: the server performs a management operation based on the received first infrared signal and transmits a second infrared signal in response to the first infrared signal.
Because the first infrared signal is transmitted between the infrared device and the server in a wireless transmission mode, when different servers are managed, a management command does not need to be sent to computer equipment outside a server room again, and the connection relation between the computer equipment and the different servers does not need to be switched. And (3) according to a preset rule, a corresponding management command is input on the infrared equipment, so that management operation on the server can be realized. And after management is finished, packaging the management result into a second infrared signal and transmitting the second infrared signal to the infrared equipment. The management result of the server can be intuitively read by a user on the screen of the infrared equipment.
Specifically, the first infrared signal carries first information, the first information includes authority information and end information, and the server extracts the first instruction from the first infrared signal based on the first information.
Since the permission information precedes the first instruction and the end information follows the first instruction and is used for indicating that the first instruction ends in the first infrared signal, when the server parses the first infrared signal, the first instruction can be extracted from the first infrared signal based on the first information.
Specifically, the authority information is used to indicate the management authority to perform the management operation on the server according to the first infrared signal.
The right information may distinguish other infrared signals in the server room, and when the management right indicated by the right information is permission for management, the first infrared signal is an infrared signal sent by the infrared device and used for managing the server, so that the management operation can be performed on the server by using the first infrared signal. When the management authority indicated by the authority information is management-disallowed, the first infrared signal may not be used to perform a management operation on the server.
With reference to the first aspect, in one possible implementation manner, when the management authority indicates that management is allowed, a management operation is performed on the server according to the first instruction. When the management authority indicates that management is not permitted, other operations are performed on the server according to the first instruction, or the first infrared signal is discarded.
When the management right indicates that the management is permitted, it means that the management operation can be performed on the server according to the first instruction in the first infrared signal, and it is possible to avoid that the server performs the management operation on the server using the infrared signal having no management right. And if the first infrared signal can be identified by the server, corresponding operation is executed according to the indication of the first infrared signal, and if the first infrared signal can not be identified by the server, the first infrared signal is discarded. The first information is for indicating that the first instruction in the first infrared signal ends.
With reference to the first aspect, in another possible implementation manner, the first instruction is used to instruct an operation of the management server.
The first instruction is used for indicating management operation on the server, wherein the management operation can be acquisition of information of a sensor, display of system log content, remote network startup and shutdown and the like. The first instruction may be an IPMI command, so that the server may obtain a management operation corresponding to the first instruction.
With reference to the first aspect, in another possible implementation manner, the second infrared signal is used to instruct a server to execute a result of the first instruction.
The result of the first instruction executed by the server is packaged into the second infrared signal and sent to the infrared device, so that a user can conveniently read the result of the management operation executed on the display interface of the infrared device, and the management result is more visual.
In a second aspect, there is provided a method of server management based on infrared, the method comprising: the method comprises the steps that the infrared device receives instruction information input by a user, and generates a first infrared signal based on the instruction information, wherein the first infrared signal carries a first instruction corresponding to the instruction information; the infrared equipment sends a first infrared signal to the server, the first infrared signal is used for indicating the server to execute a first instruction, and the server is provided with an infrared receiving and transmitting device; the infrared device receives a second infrared signal sent by the server through the infrared receiving and transmitting device, and the second infrared signal is used for responding to the first infrared signal.
The user keys in management instructions on the infrared device according to preset rules, and the infrared device packages the management instructions into first infrared signals, so that the first infrared signals can be transmitted to the server through the optical path guide rail. When the infrared equipment is used for managing the server, a management instruction is input into the infrared equipment, and the infrared receiving and transmitting device of the infrared equipment is opposite to the infrared receiving and transmitting device of the server to be managed, so that the server management using the infrared equipment in a server room can be realized. The external device receives the second infrared signal and displays the management result on the screen according to the second infrared signal, so that a user can intuitively read the management result of the server.
With reference to the second aspect, in one possible implementation manner, the infrared device displays a first interface, where the first interface includes an instruction input box, and the infrared device receives instruction information input by a user in the instruction input box.
The instruction input box on the first interface can display instruction information for input, can also display a result of the server executing the first instruction, and can enable a user to intuitively read a result managed by the server.
With reference to the second aspect, in another possible implementation manner, the first interface further includes a plurality of instruction icons, and the instruction information is configured based on any number of instruction icons in the plurality of instruction icons.
The user can generate instruction information based on the instruction icons according to the preset rules, different instruction information can be generated through different instruction icons, and the user can conveniently input the instruction information according to requirements.
In a third aspect, a server management apparatus is provided, including a receiving module, a generating module, and a transmitting module.
The receiving module is used for receiving instruction information input by a user.
The generation module is used for generating a first infrared signal based on the instruction information, wherein the first infrared signal carries a first instruction corresponding to the instruction information.
The sending module is used for sending a first infrared signal to the server, the first infrared signal is used for indicating the server to execute a first instruction, and the server is provided with an infrared receiving and transmitting device.
The receiving module is also used for receiving a second infrared signal sent by the server through the infrared receiving and transmitting device, and the second infrared signal is used for responding to the second infrared signal.
With reference to the third aspect, in one possible implementation manner, the receiving module is further configured to receive instruction information input by a user in an instruction input box.
With reference to the third aspect, in another possible implementation manner, the server management device further includes a display module.
The display module is used for displaying instruction information input by a user; and the display server transmits a second infrared signal through the infrared transceiver.
In a fourth aspect, a server is provided, the server comprising a receiving module and a transmitting module.
The receiving module is used for receiving the first infrared signal, and the first infrared signal is used for indicating the server to execute a first instruction carried by the first infrared signal.
The sending module is used for sending a second infrared signal after the server executes the first instruction, and the second infrared signal is used for responding to the first infrared signal.
With reference to the fourth aspect, in a possible implementation manner, the server further includes an execution module. The execution module is used for extracting the first instruction from the first infrared signal based on the permission information carried by the first infrared signal.
With reference to the fourth aspect, in another possible implementation manner, the server further includes a storage module. The storage module is used for storing the first infrared signal and the second infrared signal.
In a fifth aspect, an infrared device is provided, the infrared device comprising a memory for storing a set of computer instructions and a processor; when the processor executes the set of computer instructions, the functions of the respective modules of the method of the second aspect or any one of the possible implementations of the second aspect are performed.
In a sixth aspect, a computer device is provided, the computer device comprising an out-of-band controller, a communication interface, and a memory, the memory for storing a set of computer instructions, the memory further for storing a first infrared signal and a second infrared signal; the communication interface is used for receiving the first infrared signal or sending the second infrared signal; the out-of-band controller is used for responding to the first infrared signal and executing management operation on the server according to the first infrared signal; when the out-of-band controller executes the set of computer instructions, the functions of the respective modules of the method of the first aspect or any one of the possible implementations of the first aspect are performed.
In a seventh aspect, a computer readable storage medium is provided, comprising computer software instructions; the computer software instructions, when run in a computer, cause the computer to perform the method as claimed in the first aspect or any of the possible implementations of the first aspect.
In an eighth aspect, a computer readable storage medium is provided, comprising computer software instructions; the computer software instructions, when run in a computer, cause the computer to perform the method as claimed in the second aspect or any of the possible implementations of the second aspect.
In a ninth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect or any implementation of the first aspect.
In a tenth aspect, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of the second aspect or any implementation of the second aspect described above.
Further combinations of the present application may be made to provide further implementations based on the implementations provided in the above aspects.
Drawings
Fig. 1 is a schematic structural diagram of an infrared-based server management system provided in the present application;
FIG. 2 is a schematic diagram of an infrared device provided herein;
FIG. 3 is a schematic flow chart of an infrared-based server management method provided in the present application;
FIG. 4 is a schematic diagram of an infrared device according to the present application transmitting infrared signals;
FIG. 5 is a schematic diagram of another infrared device provided herein transmitting infrared signals;
FIG. 6 is a schematic diagram of an infrared device provided herein receiving infrared signals;
FIG. 7 is a schematic diagram of another infrared device provided herein receiving infrared signals;
fig. 8 is a schematic structural diagram of a server management device provided in the present application;
fig. 9 is a schematic structural diagram of a server provided in the present application;
fig. 10 is a schematic structural diagram of a computer device provided in the present application.
Detailed Description
To facilitate an understanding of the aspects of the present application, a brief description of related concepts is first presented below.
Infrared transmission: the data is transferred wirelessly, i.e., by transmitting infrared signals from a transmitting end to a receiving end by wireless transmission.
Infrared equipment: an apparatus capable of transmitting and receiving infrared signals.
Intelligent platform management interface (Intelligent Platform Management Interface, IPMI): is a complete hardware management specification including servers and other systems (e.g., storage devices, networks, and communication devices), and may monitor physical characteristics of the servers such as temperature, voltage, fan operating status, power status, etc. using IPMI. In the embodiment of the application, the first instruction carried by the first infrared signal is responded through the IPMI.
Intelligent platform management tool (Intelligent Platform Management Interface Tool, IPMI tool): the management tool is a command line mode management tool, and functions of acquiring information of a sensor, acquiring system log content, remotely switching on and switching off a network and the like can be realized through IPMITOOL.
The application provides a server management method based on infrared, namely an infrared receiving and transmitting device of a server receives a first infrared signal sent by infrared equipment, and management operation is carried out on the server according to the first infrared signal. Because the first infrared signal is transmitted between the infrared device and the server in a wireless transmission mode, when different servers are managed, the infrared receiving and transmitting device of the infrared device and the infrared receiving and transmitting device of the server can realize the transmission of the infrared signal relatively, and therefore, management commands do not need to be sent to computer equipment outside a server room again, and the connection relation between the computer equipment and the different servers does not need to be switched. After the server finishes the management operation, the management result is packaged into a second infrared signal and sent to the infrared equipment, so that a user can intuitively read the management result on the screen of the infrared equipment.
The implementation of the examples of the present application will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of an infrared-based server management system provided in the present application. The infrared-based server management system 100 includes a server 110 and infrared devices 120.
The server 110 may be a file server, database server, application server, or the like. It should be noted that the embodiments of the present application are not limited to the specific form of the server, and the foregoing is merely illustrative.
The server 110 includes: an out-of-band controller 111 and a memory 112. The out-of-band controller 111 includes an out-of-band management module 1111 and an infrared transceiver 1112. The infrared transceiver 1112 is configured to receive the infrared signal, for example, receive the first infrared signal, and transmit the second infrared signal.
The out-of-band management module 1111 may be a management unit of a non-business module. For example, the out-of-band management module may perform remote maintenance and management on the computer device through a dedicated data channel, and may communicate with a basic input output System (Basic Input Output System, BIOS) and an Operating System (OS) through an out-of-band management interface of the computer device, which is completely independent of an Operating System of the computer device.
By way of example, the out-of-band management module may include a monitoring management unit external to the computer device, a management system in a management chip external to the processor, a computer device baseboard management unit (baseboard management controller, BMC), a system management module (system management mode, SMM), and the like. It should be noted that, the embodiments of the present application are not limited to the specific form of the out-of-band management module, and the above is merely exemplary. In the following embodiments, only the out-of-band management module is taken as a BMC for illustration.
It should be noted that a server may refer to a BMC differently, for example, in some scenarios it may be referred to as a BMC, in some scenarios it may be referred to as iLO, and in some scenarios it may be referred to as iDRAC. Either called BMC or iLO or iracc may be understood as BMC in embodiments of the present invention.
The out-of-band management module is used for managing the server. For example, the out-of-band management module determines, according to the authority information carried by the first infrared signal sent by the infrared device 120, the management authority of the first infrared signal for performing the management operation on the server, and when the management authority indicates that the management is allowed, performs the management operation on the server according to the first instruction carried by the first infrared signal. The management operation may be to set a time stamp of the server, or may be to obtain information of a sensor on the server, and the management operation is not particularly limited herein. After performing the management operation on the server according to the first instruction, the result of the management server is encapsulated into a second infrared signal, which is sent to the infrared device 120.
The external device 120 is configured to transmit a first infrared signal to the server 110 according to instruction information input by a user, and receive a second infrared signal transmitted by the server 110. Infrared device 120 is a device that can transmit and receive infrared signals, such as an infrared remote control. The embodiments of the present application are not limited to the specific form of the computer, and the above are merely exemplary illustrations. In the following embodiments, only the apparatus shown in fig. 2 will be described as an example.
Fig. 2 is a schematic diagram of an infrared device provided in the present application, where the infrared device has a plurality of instruction icons, and the instruction icons may be 16 keys (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F) representing 16-bit numbers, and the user may type instruction information through the 16 keys. Every two 16-bit binary numbers are packed into a command word according to the IPMI standard, and a user types instruction information according to a preset rule, wherein the instruction information is displayed on a screen of the infrared equipment. The number of keys of the infrared device is not limited to 16, but is merely an example herein.
The infrared device is internally integrated with an IPMI tool, and can use the IPMI tool to call commands. Specifically, the user may enter the IPMI tool command selection interface through the IPMI tool key on the infrared device, select the command through the up, down, left and right keys, reselect the command through the return key, and send the first infrared signal to the server through the send key.
Next, a server management method will be described in detail with reference to the drawings. Fig. 3 is a flowchart of a server management method based on infrared according to an embodiment of the present application. The server 110 and the infrared device 120 shown in fig. 1 are illustrated herein as examples.
Step 310, the infrared device receives the instruction information input by the user, generates a first infrared signal based on the instruction information, and sends the first infrared signal to the server.
The infrared device encapsulates instruction information input by a user into a first infrared signal and sends the first infrared signal to the server. The first infrared signal carries a first instruction, and the first instruction is used for indicating the server to execute management operation. Because the first infrared signal is transmitted between the infrared device and the server in a wireless transmission mode, when different servers are managed, the infrared receiving and transmitting device of the infrared device is opposite to the infrared receiving and transmitting device of the server to be managed, so that the infrared receiving and transmitting between the infrared device and the server to be managed can be realized, further, a management command does not need to be sent to computer equipment outside a server room again, and the connection relation between the computer equipment and the different servers does not need to be switched. The user can input instruction information on the infrared equipment according to the preset rule to realize the management operation of the server, and the infrared transmission speed is high, so that the server can be managed more conveniently.
The first infrared signal includes first instructions and first information. The first information is used for the server to extract a first instruction from the first infrared signal, and the first information comprises authority information. The right information is used for indicating the management right of the management operation of the server by the first infrared signal sent by the infrared device. As can be appreciated, the infrared device sets the authority information to a preset command, for example, the preset command is C3 83 83C3 3C38 38 3C, and when the authority information is C3 83 83C3 3C38 38 3C, it means that the first infrared signal has the management authority to perform the management operation on the server. When the authority information after the analysis of the first infrared signal received by the server is C3 83 83C3 3C38 38 3C, it indicates that the first infrared signal carries a first instruction for managing the server, where in this embodiment of the present application, the first instruction may be an IPMI command, and the server performs a management operation on the server according to the IPMI command. When the authority information after the analysis of the first infrared signal received by the server is not C3 83 83C3 3C38 38 3C, it indicates that the first infrared signal does not have the authority to manage the server, and thus the server is not allowed to perform the management operation on the server using the first infrared signal.
Alternatively, if the first infrared signal is recognizable by the server, a corresponding operation is performed according to the indication of the first infrared signal, and if the first infrared signal is unrecognizable by the server, the first infrared signal is discarded.
The first information further includes end information, where the end information is used to indicate that the first instruction carried by the first infrared signal ends. When the server parses the first infrared signal, a first instruction may be extracted according to the rights information and the end information.
The first instruction carried by the first infrared signal is used for indicating management operation on the server, wherein the management operation can be acquisition of information of a sensor, display of system log content, remote network startup and shutdown and the like. In an embodiment of the present application, the first instruction may be an IPMI command. Since the IPMI specifications used by each server are different, the format of the corresponding IPMI command is also different, and thus the rule of inputting instruction information by the user is not limited herein.
IPMI is a common interface standard for managing server hardware devices. Users may use IPMI to monitor physical characteristics of the server, such as temperature, voltage, fan operating status, power supply, and chassis intrusion, to manage the server. Since the IPMI is independent of a basic input output System (Basic Input Output System, BIOS) and an Operating System (OS), monitoring and management of the server can be achieved whenever the server is powered on in a state where the server is powered on or off.
Illustratively, the IPMI command may be sdr, sensor, user, lan, chassis. sdr: printing all monitoring items in the sensor warehouse and values read from the sensors; sensor: printing detailed sensor information; user: setting information of a user in the BMC; lan: configuring a network channel; passis: the state of the chassis is checked and the power supply is set.
Other infrared signals received by the server can be distinguished through the authority information in the first infrared signal, when the authority information of the first infrared signal received by the server is a preset command, the management operation is executed on the server according to the management operation indicated by the first infrared signal, and the management of the server by using infrared signals which are not used for indicating the management server can be avoided.
In one implementation, a user inputs instruction information on an infrared device according to IPMI specification, and fig. 4 is a schematic diagram of an infrared device sending infrared signals provided in an embodiment of the present application, where a user's management operation is to set a current timestamp to 1652874122 microseconds. Since the IPMI command includes a function code and a command number, the function code is an odd number, the IPMI command is a request command, the function code is an even number, the IPMI command is a response command, the function code is set to 0A, the command number is set to 49, the time stamp set for the command is "8a DB 84 62", that is, instruction information input by a user is 0A 49 8A DB 84 62, the instruction information is displayed on a screen of the infrared device, and the instruction information is packaged as a first infrared signal and transmitted to the server.
In another embodiment, the user selects a command corresponding to the management operation using the IPMI tool integrated in the infrared device. Fig. 5 is a schematic diagram of another infrared device sending an infrared signal, where a user manages to obtain sensing information on a server, and the user enters an IPMI tool command selection interface through an IPMI tool button on the infrared device to select a command for obtaining sensor information on the server: sdr and senor, command: sdr and senor are displayed on the screen of the infrared device and will command: sdr and sensor package into a first infrared signal to be sent to the server.
Step 320, the server receives the first infrared signal, executes the first instruction carried by the first infrared signal, and sends the second infrared signal.
The port of the server with the infrared transmission function receives the first infrared signal sent by the infrared device and analyzes the first infrared signal according to the IPMI standard. And executing management operation on the server according to the first infrared signal, wherein the management operation can be controlling the on-off state and restarting of the server, checking and modifying BIOS settings, checking system fault log records, accessing system event logs and sensor conditions, checking system start faults and the like. And when the server finishes the management operation, packaging the management result into a second infrared signal and sending the second infrared signal to the infrared equipment so as to indicate that the management of the server is finished.
TABLE 1
Rights information First instruction End information
C3 83 83 C3 3C 38 38 3C 0A 49 8A DB 84 62 3C 38 38 3C C3 83 83 C3
Illustratively, the first infrared signal received by the server is as shown in Table 1. The first infrared signal received by the server is: c3 83 83C3 3C38 38 3C 0A 49 8A DB 84 62 3C38 38 3C C3 83 83C3, the authority information obtained after analysis is C3 83 83C3 3C38 38 3C, and the end information is 3C38 38 3C C3 83 83C3, so the first instruction is 0A 49 8A DB 84 62, the instruction information input by the user is 1652874122 microseconds after setting the current time stamp, and the server executes the first instruction and encapsulates the result into a second infrared signal to be sent to the infrared device.
Step 330, the infrared device receives the second infrared signal.
The infrared device receives the second infrared signal sent by the server and displays the second infrared signal on a screen of the infrared device, so that a result passing through the infrared signal management server can be intuitively obtained.
In one implementation manner, the infrared device receives a second infrared signal and displays the second infrared signal on a screen of the infrared device, where the second infrared signal is used to instruct the server to set the current timestamp to be a execution result of 1652874122 microseconds, fig. 6 is a schematic diagram of the infrared device receiving the infrared signal, where the infrared device receives the second infrared signal sent by the server, the analyzed second infrared signal is 0B 00, according to IPMI specifications, the function code is known to be 0B, and the response of the second infrared signal is indicated by 00, that is, the server successfully sets the current timestamp to 1652874122 microseconds.
In another implementation, the infrared device receives a second infrared signal and displays the second infrared signal on a screen of the infrared device, where the second infrared signal is used to indicate sensor information on a server, and fig. 7 is a schematic diagram of another infrared device provided in an embodiment of the present application to receive the infrared signal, where the sensor information includes: the integrated south bridge (Platform Controller Hub, PCH) temperature is 46, the central processing unit (central processing unit, CPU) core temperature is 30, etc.
And after the server responds to the first infrared signal, packaging the management result of the server into a second infrared signal and transmitting the second infrared signal to the infrared equipment. The infrared device receives the second infrared signal, analyzes and displays the second infrared signal on a screen, and can enable a user to intuitively read a management result of the server on the screen of the infrared device.
It will be appreciated that in order to implement the functions of the above embodiments, the server and the infrared devices include corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the elements and method steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or a combination of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application scenario and design constraints imposed on the solution.
Fig. 8 is a schematic structural diagram of a server management device according to an embodiment of the present application. These server management devices may be used to implement the functions of the infrared device in the above method embodiments, so that the beneficial effects of the above method embodiments may also be implemented. In an embodiment of the present application, the server management apparatus may be an infrared device 120 as shown in fig. 3.
As shown in fig. 8, the server management apparatus 800 includes a receiving module 801, a generating module 802, and a transmitting module 803. The server management apparatus 800 is configured to implement the functions of the infrared device 120 in the method embodiment shown in fig. 3.
When the server management apparatus 800 is used to implement the functions of the infrared device 120 in the method embodiment shown in fig. 3:
the receiving module 801 is configured to receive instruction information input by a user.
The generating module 802 is configured to generate, based on the instruction information, a first infrared signal, where the first infrared signal carries a first instruction corresponding to the instruction information.
The sending module 803 is configured to send a first infrared signal to a server, where the first infrared signal is used to instruct the server to execute a first instruction, and the server is equipped with an infrared transceiver.
The receiving module 801 is further configured to receive a second infrared signal sent by the server through the infrared transceiver, where the second infrared signal is used to respond to the second infrared signal.
The receiving module 801 is further configured to receive instruction information input by a user in an instruction input box.
The server management apparatus 800 further includes a storage module 804. The storage module 804 is configured to store commands in the IPMI tool.
The above-mentioned detailed descriptions of the receiving module 801, the generating module 802, the transmitting module 803 and the storage module 804 may be directly obtained by referring to the related descriptions in the method embodiment shown in fig. 3, which are not repeated herein.
Fig. 9 is a schematic structural diagram of a server according to an embodiment of the present application. These servers may be used to implement the functions of the servers in the above-described method embodiments, and thus may also implement the beneficial effects provided by the above-described method embodiments. In an embodiment of the present application, the server may be the server 110 as shown in fig. 3.
As shown in fig. 9, the server 900 includes a receiving module 901 and a transmitting module 902. The server 900 is configured to implement the functions of the server 110 in the method embodiment shown in fig. 3 and described above.
When the server 900 is used to implement the functionality of the server 110 in the method embodiment shown in fig. 3:
the receiving module 901 is configured to receive a first infrared signal, where the first infrared signal is used to instruct a server to execute a first instruction carried by the first infrared signal.
The sending module 902 is configured to send a second infrared signal after the first instruction is executed by the server, where the second infrared signal is configured to respond to the first infrared signal.
The server 900 also includes an execution module 903. The execution module 903 is configured to extract the first instruction from the first infrared signal based on the rights information carried by the first infrared signal.
The server 900 also includes a storage module 904. The memory module 904 is configured to store a first infrared signal and a second infrared signal.
The above-mentioned detailed descriptions of the receiving module 901, the transmitting module 902, the executing module 903 and the storage module 904 may be directly obtained by referring to the related descriptions in the method embodiment shown in fig. 3, which are not repeated herein.
Fig. 10 provides a computer device. The computer device 1000 shown in fig. 10 may be particularly useful for implementing the functions of the server 900 in the embodiment shown in fig. 9 described above.
The computer device 1000 includes a bus 1001, a processor 1002, an out-of-band controller 1003, a communication interface 1004, and a memory 1005. Communication between the processor 1002, the out-of-band controller 1003, the memory 1005, and the communication interface 1004 is via the bus 1001. Bus 1001 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, or the like. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 10, but not only one bus or one type of bus. The communication interface 1004 is used for communication with the outside, such as receiving a first infrared signal, transmitting a first infrared signal, and the like.
The processor 1002 may be a central processing unit (central processing unit, CPU). The out-of-band controller 1003 is configured to receive a first infrared signal sent by the infrared device, extract a first instruction from the first infrared signal based on rights information and the first information carried by the first infrared signal, perform a management operation on the server according to the first instruction, package a management result into a second infrared signal after the management operation is completed, and send the second infrared signal to the infrared device. The out-of-band controller 1003 may include a monitoring management unit external to the computer device, a management system in a management chip external to the processor, a computer device baseboard management unit (baseboard management controller, BMC), a system management module (system management mode, SMM). The memory 1005 may include volatile memory (RAM), such as random access memory (random access memory). The memory 1005 may also include a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory, an HDD, or an SSD.
The memory 1005 has stored therein executable code that is executed by the processor 1002 to perform the aforementioned server management method.
Specifically, in the case where the embodiment shown in fig. 9 is implemented, and each module described in the embodiment of fig. 9 is implemented by software, the memory 1005 stores software or program codes required to perform the functions of the execution module 903 in fig. 9, the communication interface 1004 implements the functions of the reception module 901 and the transmission module 902, and the out-of-band controller is configured to execute instructions in the memory 1005 to perform a method of server management applied to the server 900.
The present application also provides a computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the above-described method of server management applied to the server management apparatus 800.
The present application also provides a computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the above-described method of server management applied to server 900.
The present application also provides a computer program product which, when executed by a computer, performs any of the methods described above. The computer program product may be a software installation package, which may be downloaded and executed on a computer in case any of the methods described above is required.
It should be further noted that the above-described apparatus embodiments are merely illustrative, and that the units described as separate units may or may not be physically separate, and that units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the application, the connection relation between the modules represents that the modules have communication connection therebetween, and can be specifically implemented as one or more communication buses or signal lines.
From the above description of the embodiments, it will be apparent to those skilled in the art that the present application may be implemented by means of software plus necessary general purpose hardware, or of course may be implemented by dedicated hardware including application specific integrated circuits, dedicated CPUs, dedicated memories, dedicated components and the like. Generally, functions performed by computer programs can be easily implemented by corresponding hardware, and specific hardware structures for implementing the same functions can be varied, such as analog circuits, digital circuits, or dedicated circuits. However, a software program implementation is a preferred embodiment in many cases for the present application. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a readable storage medium, such as a floppy disk, a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk or an optical disk of a computer, etc., including several instructions for causing a computer device (which may be a personal computer, a training device, or a network device, etc.) to perform the method described in the embodiments of the present application.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, training device, or data center to another website, computer, training device, or data center via a wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a training device, a data center, or the like that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy Disk, a hard Disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.

Claims (13)

1. An infrared-based server management method, which is applied to a server, wherein the server is provided with an infrared transceiver, the method comprising:
the server receives a first infrared signal through the infrared receiving and transmitting device, wherein the first infrared signal is used for indicating the server to execute a first instruction carried by the first infrared signal;
after the server executes the first instruction, a second infrared signal is sent through the infrared receiving and sending device, and the second infrared signal is used for responding to the first infrared signal.
2. The method of claim 1, wherein the first infrared signal further carries first information, the method further comprising:
the server extracts the first instruction from the first infrared signal based on the first information.
3. The method according to claim 1 or 2, wherein the first information includes authority information indicating a management authority to perform a management operation on the server according to the first infrared signal.
4. A method according to claim 3, characterized in that the method further comprises:
when the management authority indicates that management is allowed, executing management operation on the server according to the first instruction; or alternatively, the first and second heat exchangers may be,
when the management authority indicates that management is not permitted, the first infrared signal is discarded.
5. The method of any of claims 1-4, wherein the first instruction is to instruct managing operation of the server.
6. The method of claim 1, wherein the second infrared signal is used to indicate a result of the server executing the first instruction.
7. An infrared-based server management method, applied to an infrared device, comprising:
the infrared device receives instruction information input by a user;
the infrared device generates a first infrared signal based on the instruction information, wherein the first infrared signal carries a first instruction corresponding to the instruction information;
the infrared equipment sends the first infrared signal to a server, the first infrared signal is used for indicating the server to execute the first instruction, and the server is provided with an infrared receiving and transmitting device;
the infrared device receives a second infrared signal sent by the server through the infrared receiving and transmitting device, and the second infrared signal is used for responding to the first infrared signal.
8. The method of claim 7, wherein before the infrared device receives the instruction information entered by the user, the method further comprises:
the infrared device displays a first interface, and the first interface comprises an instruction input box;
the infrared device receiving instruction information input by a user comprises:
the infrared device receives instruction information input by a user in the instruction input box.
9. The method of claim 8, wherein the first interface further comprises a plurality of instruction icons, the instruction information being based on any number of the plurality of instruction icons.
10. A server, wherein the server comprises a substrate management unit, the substrate management unit comprises an infrared transceiver device for:
receiving a first infrared signal, wherein the first infrared signal is used for indicating a server to execute a first instruction carried by the first infrared signal;
and after the server executes the first instruction, transmitting a second infrared signal, wherein the second infrared signal is used for responding to the first infrared signal.
11. An infrared device, the infrared device comprising a processor configured to:
receiving instruction information input by a user;
generating a first infrared signal based on the instruction information, wherein the first infrared signal carries a first instruction corresponding to the instruction information;
transmitting the first infrared signal to a server, wherein the first infrared signal is used for instructing the server to execute the first instruction, and the server is provided with an infrared receiving and transmitting device;
and receiving a second infrared signal sent by the server through the infrared receiving and transmitting device, wherein the second infrared signal is used for responding to the second infrared signal.
12. The infrared device of claim 11, further comprising a first interface for:
displaying instruction information input by a user;
and displaying a second infrared signal sent by the server through the infrared receiving and transmitting device.
13. A computer readable storage medium storing computer instructions which, when run on a computer device, cause the computer to perform the method of any one of claims 1-9.
CN202211485210.5A 2022-11-24 2022-11-24 Server management method based on infrared rays and related equipment Pending CN116382491A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211485210.5A CN116382491A (en) 2022-11-24 2022-11-24 Server management method based on infrared rays and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211485210.5A CN116382491A (en) 2022-11-24 2022-11-24 Server management method based on infrared rays and related equipment

Publications (1)

Publication Number Publication Date
CN116382491A true CN116382491A (en) 2023-07-04

Family

ID=86977416

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211485210.5A Pending CN116382491A (en) 2022-11-24 2022-11-24 Server management method based on infrared rays and related equipment

Country Status (1)

Country Link
CN (1) CN116382491A (en)

Similar Documents

Publication Publication Date Title
US9984244B2 (en) Controller, information processing apparatus, and recording medium
US20150127814A1 (en) Monitoring Server Method
EP2472402B1 (en) Remote management systems and methods for mapping operating system and management controller located in a server
EP3575975B1 (en) Method and apparatus for operating smart network interface card
WO2023115999A1 (en) Device state monitoring method, apparatus, and device, and computer-readable storage medium
CN109388604B (en) Hot plug control method, device and storage medium based on PCIe
US20100205600A1 (en) Simulation method for realizing large batches and different kinds of baseboard management controllers using a single server
US20180357193A1 (en) Computing device and operation method
US20140280469A1 (en) Method and apparatus for remote management of computer system using handheld device
WO2016197737A1 (en) Self-check processing method, apparatus and system
CN108293199A (en) The electronic device and method of event management service are provided
US10754748B2 (en) System and method for constructing extensible event log with javascript object notation (JSON) encoded payload data
CN116382491A (en) Server management method based on infrared rays and related equipment
CN108427044B (en) Method, device, equipment and storage medium for testing fault protection function
CN115543746A (en) Graphics processor monitoring method, system and device and electronic equipment
CN116192626A (en) Device access method and device, computer readable storage medium and electronic device
US20210334153A1 (en) Remote error detection method adapted for a remote computer device to detect errors that occur in a service computer device
CN112650557B (en) Command execution method and device
CN112214437B (en) Storage device, communication method and device and computer readable storage medium
CN105630654B (en) System and method for the IP address for showing BMC
CN110733037B (en) Signal processing method and device, storage medium and processor
CN116955093B (en) CPU state monitoring method, device, system, equipment and storage medium
CN113900715B (en) Information management system, method, device and storage medium
CN113074449B (en) Communication method, device and system of fresh air system
US11010317B2 (en) Method for remotely triggered reset of a baseboard management controller of a computer system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination