CN113852564A - Server control method, device and medium - Google Patents

Server control method, device and medium Download PDF

Info

Publication number
CN113852564A
CN113852564A CN202111427698.1A CN202111427698A CN113852564A CN 113852564 A CN113852564 A CN 113852564A CN 202111427698 A CN202111427698 A CN 202111427698A CN 113852564 A CN113852564 A CN 113852564A
Authority
CN
China
Prior art keywords
speed
server
priority
state information
data packet
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
CN202111427698.1A
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111427698.1A priority Critical patent/CN113852564A/en
Publication of CN113852564A publication Critical patent/CN113852564A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2458Modification of priorities while in transit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5021Priority

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application discloses a server control method, a device and a medium, comprising the following steps: the baseboard management control chip acquires and processes the state information of the local server, and sends the processed state information to the remote server, so that the remote server can check the working state information of the local server. And receiving a data packet sent by the remote server so that the remote server can remotely control the baseboard management control chip and the local server. When the data packet is detected to contain the management command, the speed of processing the state information is adjusted from a first speed to a second speed, and the priority of the reading task of the data packet is adjusted from a first priority to a second priority so as to execute the management command, wherein the first speed is higher than the second speed, and the first priority is lower than the second priority. By reducing the speed of processing the state information by the chip, the computing resources of the chip are released so as to facilitate the execution of the management command, thereby improving the speed of executing the management command by the chip.

Description

Server control method, device and medium
Technical Field
The present application relates to the field of cloud computing, and in particular, to a server control method, apparatus, and medium.
Background
In order to monitor the state of the local server, a baseboard management control chip is generally used to obtain state information of the local server, and the local server is remotely controlled by the chip, for example: firmware update, handling server emergency, etc. However, since the data size of the state information is large, sending the state information to the remote control end may greatly occupy the network bandwidth and the computing resources of the baseboard management control chip, affect the performance of the baseboard management control chip, reduce the speed of the chip executing the remote control command, and be not beneficial to the remote control of the server. When the local server has an emergency, the speed of executing the remote control command is slow due to the poor performance of the baseboard management control chip, and even the safety of the server is affected.
Therefore, it is an urgent need to solve the problem of how to reduce the influence of sending status information on the bmc chip, thereby increasing the speed of the chip executing the remote control command.
Disclosure of Invention
The application aims to provide a server control method, a server control device and a server control medium, so that a baseboard management control chip can better monitor the working state of a server and manage the server.
In order to solve the above technical problem, the present application provides a server control method, applied to a baseboard management control chip, including:
acquiring state information of a local server, processing the state information, and sending the processed state information to a remote server;
receiving a data packet sent by the remote server;
when the data packet is detected to contain a management command, the speed for processing the state information is adjusted from a first speed to a second speed, and the priority of a reading task of the data packet is adjusted from a first priority to a second priority so as to execute the management command, wherein the first speed is higher than the second speed, and the first priority is lower than the second priority.
Preferably, the acquiring the state information of the local server and processing the state information includes:
acquiring state information sent by a host end of the local server, wherein the state information is in the form of video data;
and compressing the video data, and packaging the compressed video data.
Preferably, after the step of detecting that the data packet contains a management command, the method further includes:
analyzing the data packet to obtain the management command, and judging the type of the management command;
if the management command is used for adjusting the working state of the chip, executing the management command;
and if the management command is used for adjusting the working state of the local server, controlling a host end to execute the management command.
Preferably, after the management command is executed, the method further includes:
feeding back completion information to the remote server;
and acquiring a recovery command sent by the remote server after acquiring the completion information, increasing the processing speed to the first speed, and reducing the priority of the reading task to the first priority.
Preferably, the detecting of the data packet containing the management command sent by the remote server is specifically:
the data packet is detected using an interrupt.
In order to solve the above technical problem, the present application further provides a server control method, applied to a remote server, including:
acquiring state information of the processed local server sent by a baseboard management control chip;
sending a data packet containing a management command to the baseboard management control chip to control the local server to adjust the processing speed of the state information from a first speed to a second speed, and adjusting the priority of a reading task of the data packet from a first priority to a second priority so as to execute the management command, wherein the first speed is higher than the second speed, and the first priority is lower than the second priority.
Preferably, after the step of sending the data packet including the management command to the baseboard management control chip, the method further includes:
judging whether completion information sent by the substrate management control chip is acquired or not;
and if the completion information is acquired, sending a recovery command to the baseboard management control chip so that the local server increases the processing speed to the first speed and reduces the priority of the reading task to the first priority.
In order to solve the above technical problem, the present application further provides a server control device, including:
an acquisition module: the system comprises a local server, a remote server and a server, wherein the local server is used for acquiring state information of the local server, processing the state information and sending the processed state information to the remote server;
a receiving module: the data packet is used for receiving the data packet sent by the remote server;
an adjusting module: when the data packet is detected to contain a management command, the speed for processing the state information is adjusted from a first speed to a second speed, and the priority of a reading task of the data packet is adjusted from a first priority to a second priority so as to execute the management command, wherein the first speed is higher than the second speed, and the first priority is lower than the second priority.
In order to solve the above technical problem, the present application further provides a server control apparatus, including a memory for storing a computer program;
a processor for implementing the steps of server control when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the server control method.
The server control method provided by the application comprises the following steps: the baseboard management control chip acquires and processes the state information of the local server, and sends the processed state information to the remote server, so that the remote server can check the working state information of the local server. And receiving a data packet sent by the remote server so that the remote server can remotely control the baseboard management control chip and the local server. When the data packet is detected to contain the management command, the speed of processing the state information is adjusted from a first speed to a second speed, and the priority of the reading task of the data packet is adjusted from a first priority to a second priority so as to execute the management command, wherein the first speed is higher than the second speed, and the first priority is lower than the second priority. The speed of processing the state information by the chip is reduced, and the computing resources of the chip are released, so that the management command is conveniently executed, and the speed of executing the management command by the chip is improved.
The server control device and the server control medium provided by the present application correspond to the above method, and have the same effects.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a schematic diagram of an application scenario of a server control method according to an embodiment of the present application;
fig. 2 is a flowchart of a server control method according to an embodiment of the present application;
fig. 3 is a structural diagram of a server control apparatus according to an embodiment of the present application;
fig. 4 is a structural diagram of another server control device provided in an embodiment of the present application;
the reference numbers are as follows: the system comprises a host computer 1, a resolution adjusting module 2, a local server 3, a frame frequency adjusting module 4, a storage device 5, a video compression controller 6, a remote server 7, a substrate management control chip 8 and a central processing unit 9.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a server control method, a device and a medium.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an application scenario of a server control method according to an embodiment of the present application, as shown in fig. 1, in the application scenario of the server control method, a baseboard management control chip 8 obtains a status information video of a local server host 1, compresses the video, writes the compressed video into a storage device 5, and sends the video data to a remote server 7 through a network, so that a user can monitor a working status of the local server 3 through the remote server 7, and data transmission is implemented in the baseboard management control chip 8 through an Ethernet Media Access Controller (EMAC). When a user sends a data packet containing a management command to the local server 3 through the remote server 7, the priority of an interrupt event which is uploaded to a Central Processing Unit (CPU) 9 by the EMAC is set to be highest by the baseboard management control chip 8, and the resolution of local video compression is reduced through the resolution adjusting module 2 and the frame frequency adjusting module 3, so that the occupation of the computing resources of the baseboard management control chip 8 by the compression and video sending tasks is reduced, the central processing unit 9 can process the management command sent by the central processing unit 9 as soon as possible, and the setting of the local server 3 is completed.
Fig. 2 is a flowchart of a server control method provided in an embodiment of the present application, and as shown in fig. 2, the server control method includes:
s10: and acquiring the state information of the local server, processing the state information, and sending the processed state information to the remote server.
In a specific implementation, the bmc chip obtains the state information of the local server and processes the state information, where it is understood that the state information includes a server temperature, a fan speed, a CPU operating condition, and the like, and the state information may be in a file form or a video form.
Correspondingly, when the state information is sent to the remote server in a file form, the baseboard management control chip can obtain the state information through the script, generate a state information file, compress the file, package the file into a data packet and send the data packet to the remote server. When state information is sent to a remote server in a video form, after a baseboard management control chip records a screen on a display interface to obtain video data, the processing of the video comprises the following steps: video data are sent to a Video compression control module for Video compression through a Video Graphics Array (VGA), the compressed Video data are written into a storage device (such as a hard disk) and are read by a network card driver, and the compressed Video data are packed and sent to a remote server. It should be noted that the actions of the video compression control module writing the video data into the storage device and the network card driver reading the video data are not affected by each other, and the two actions can be performed simultaneously or separately under the control of the chip CPU.
It is understood that the communication mode between the local server and the remote server includes: socket mode, remote procedure call mode, remote method call mode.
S11: and receiving a data packet sent by the remote server.
The user monitors the working state of the local server through the remote server, and when the user remotely controls the local server, the user needs to send a data packet containing a control instruction to the local server through the remote server.
S12: when the data packet is detected to contain the management command, the speed of processing the state information is adjusted from a first speed to a second speed, and the priority of the reading task of the data packet is adjusted from a first priority to a second priority so as to execute the management command, wherein the first speed is higher than the second speed, and the first priority is lower than the second priority.
In specific implementation, in a normal working state, the local server always processes the state information generated by the server and sends the state information to the remote server, when a data packet containing a management command sent by the remote server is monitored, the speed of processing the state information is reduced, and the priority of a data packet reading task is improved, so that the management command can be executed conveniently.
It can be understood that the baseboard management control chip can detect whether the data packet contains a management command in a polling mode, the CPU sends out an inquiry at regular time, inquires whether the detection module obtains the data packet containing the management command, and determines whether to reduce the state information processing speed and increase the priority of the data packet reading task according to the polling result; the object can also be achieved by means of an interrupt, when it is detected that the data packet contains a management command, an interrupt event is triggered, the speed of processing the state information is reduced, and the priority of the data packet reading task is increased.
It should be noted that the management command includes a command for adjusting the operating status of the chip and a command for adjusting the operating status of the server, and if the management command is used for adjusting the operating status of the chip, for example: if the firmware is upgraded remotely, the substrate management control chip executes the management command; if the management command is used to adjust the server operating status, for example: and configuring the rotating speed of a fan at the host end, modifying the terminal voltage of the host, converting the management command into a control signal and sending the control signal to the host end of the local server so as to control the host end of the local server to execute the management command.
In a specific implementation, the first speed is a current speed, the second speed is a speed set by a user according to an application scenario (e.g., register configuration of a CPU), the first priority is a current priority, and the second priority is a priority selected by the user, which may be a highest priority.
The server control method provided by the application comprises the following steps: the baseboard management control chip acquires and processes the state information of the local server, and sends the processed state information to the remote server, so that the remote server can check the working state information of the local server. And receiving a data packet sent by the remote server so that the remote server can remotely control the baseboard management control chip and the local server. When the data packet is detected to contain the management command, the speed of processing the state information is adjusted from a first speed to a second speed, and the priority of the reading task of the data packet is adjusted from a first priority to a second priority so as to execute the management command, wherein the first speed is higher than the second speed, and the first priority is lower than the second priority. The speed of processing the state information by the chip is reduced, and the computing resources of the chip are released, so that the management command is conveniently executed, and the speed of executing the management command by the chip is improved.
In a specific implementation, the status information may be in the form of a file or a video. The file form is more convenient to send, the state information in the video form is more visual, and a user can conveniently check the working state of the local server through the remote server.
On the basis of the above embodiment, acquiring and processing the state information includes:
acquiring state information sent by a host end of a local server, wherein the state information is in the form of video data;
and compressing the video data, and packaging the compressed video data.
In order to facilitate a user to check the working state of the server, a host-side driver of the local server is written into the VGA module of the baseboard management control chip to generate video data of the state information.
After the video data are obtained, the video compression control module of the baseboard management control chip is used for compressing the video data, and the compressed video data are written into the storage device. The compressed video data in the storage device is read through a network driver, the read data is packaged into a data packet form, the data packet is converted into an Ethernet frame format through an EMAC, and the video data is sent to a remote server through a Physical layer (PHY) protocol.
In the embodiment, the state information in the video form is acquired by recording the screen on the state information display interface, and the video data is processed and then sent to the remote server, so that a user can check the working state of the server more conveniently and visually.
In a specific implementation, the control of the local server by the remote server includes setting the local baseboard management control chip (for example, upgrading firmware remotely, etc.) and setting the host side of the local server (for example, setting the fan speed of the host side server, modifying the voltage, etc.). In order to better analyze the data packet sent by the remote server and execute the command of the remote server, the data packet needs to be analyzed by using the driver of the chip and the related driver of the host.
On the basis of the above embodiment, after the step of detecting that the data packet contains the management command, the method further includes:
analyzing the data packet to obtain a management command, and judging the type of the management command;
if the management command is used for adjusting the working state of the chip, executing the management command;
and if the management command is used for adjusting the working state of the server, controlling the host end to execute the management command.
If the management command is a management command for adjusting the working state of the chip, the related software and driver running on the baseboard management control chip of the local server executes the related operation, and if the management command is a management command for adjusting the working state of the server, the baseboard management control chip converts the management command into a control signal, and the control signal is transmitted to the host-side related driver through a high-speed serial computer extended bus (PCI-E) to control the host-side to execute the related operation.
In this embodiment, different types of management commands obtained by parsing by the baseboard management control chip are respectively executed on the baseboard management control chip and the host, so that the efficiency of parsing the data packet sent by the remote server and executing the command of the remote server is improved.
In a specific implementation, when the baseboard management control chip and the local server execute a management command sent by the remote server, the speed of sending the state information to the remote server is reduced, which is not beneficial for a user to remotely monitor the working state of the local server. In order to solve the problem, the baseboard management control chip can automatically recover to the working state before the management command is acquired after the preset time, and can also recover to the normal working state under the control of the remote server. When the remote server continuously sends a plurality of management commands, if the first scheme is adopted, the speed of processing the state information by the chip and the priority of the reading task may be frequently changed, and the normal work of the chip is affected.
On the basis of the above embodiment, after the baseboard management control chip executes the management command, the method further includes:
feeding back the completion information to the remote server;
and acquiring a recovery command sent by the remote server after acquiring the completion information, increasing the processing speed to a first speed, and reducing the priority of the reading task to the first priority.
In this embodiment, the baseboard management control chip feeds back the completion information to the remote server after executing the management command, and recovers the normal working state after obtaining the recovery instruction, so that the user can check the working state of the local server through the remote server.
The modes of the baseboard management control chip for detecting the data packet sent by the remote service comprise a polling mode and an interruption mode. When detecting whether the data packet contains a management command in a polling mode, the CPU sends an inquiry in each period to inquire whether the detection module acquires the data packet containing the management command, and judges whether to reduce the processing speed of the state information and improve the priority of a data packet reading task according to a polling result; when the data packet is detected in an interrupt mode, when the data packet is detected to contain a management command, an interrupt event is triggered, the state information processing speed is reduced, and the priority of a data packet reading task is improved.
In specific implementation, the polling method requires a timing inquiry, which increases system overhead, wastes CPU resources, and cannot sense the device status change in time. On the basis of the above embodiment, detecting that the data packet containing the management command sent by the remote server is specifically:
the data packet is detected using an interrupt.
The EMAC adopts a Carrier Sense Multiple Access/collision detection protocol (CSMA/CD) to transmit data. The CPU interrupts and reads data through the EMAC, and after the data packet sent by the remote server is obtained, the priority of the CPU for interrupting and reading the data packet through the EMAC is improved, so that the CPU preferentially processes the interruption of the EMAC, and the data packet sent by the remote server is read more quickly.
In this embodiment, the data packet sent by the remote server is detected by interrupting, so that the computing resource of the detected data packet is reduced, and the CPU can acquire the management command of the remote server in time, thereby completing the control of the local server by the remote server in the shortest time.
The embodiment of the application also provides a server control method, which comprises the following steps:
and acquiring the state information of the processed local server sent by the baseboard management control chip.
And sending a data packet containing a management command to a baseboard management control chip to control a local server to adjust the processing speed of the state information from a first speed to a second speed and adjust the priority of a reading task of the data packet from a first priority to a second priority so as to execute the management command, wherein the first speed is higher than the second speed, and the first priority is lower than the second priority.
The embodiment of the present application corresponds to the embodiment of the server control method, and is not described herein again.
The embodiment provides a server control method provided by the application, and the method comprises the following steps: the remote server acquires the processed state information of the local server sent by the baseboard management control chip, so that a user can check the working state information of the local server through the remote server. When the user adjusts the working state of the local server through the remote service, a data packet containing a management command is sent to the baseboard management control chip to control the local server to adjust the processing speed of the state information from a first speed to a second speed, and the priority of a reading task of the data packet is adjusted from a first priority to a second priority so as to execute the management command, wherein the first speed is higher than the second speed, and the first priority is lower than the second priority. The speed of processing the state information by the chip is reduced, and the computing resources of the chip are released, so that the management command is conveniently executed, and the speed of executing the management command by the chip is improved.
In a specific implementation, after the remote server sends the management command to the local server, the remote server may further include a plurality of related commands, or after the local server completes the management command, the adjustment effect does not reach the purpose, and the remote server needs to send the management command again. If the local server has recovered to the normal working state, the local server needs to adjust the processing speed of the state file again, which causes waste of time and computing resources.
On the basis of the above embodiment, after sending the management command to the local server, the method further includes:
judging whether completion information sent by a substrate management control chip is acquired or not;
and if the completion information is acquired, sending a recovery command to the baseboard management control chip so that the local server increases the processing speed to a first speed and reduces the priority of the reading task to the first priority.
In this embodiment, after the completion information sent by the baseboard management control chip is obtained, a recovery command is sent to the baseboard management control chip, so that the local service is prevented from frequently adjusting the working state, and the waste of time and computing resources is reduced.
In the above embodiments, the server control method is described in detail, and the present application also provides embodiments corresponding to the server control apparatus. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one from the perspective of the function module and the other from the perspective of the hardware.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
Fig. 3 is a server control apparatus according to an embodiment of the present application, and as shown in fig. 3, the apparatus includes:
the acquisition module 10: the system comprises a local server and a remote server, wherein the local server is used for acquiring and processing the state information of the local server and sending the processed state information to the remote server.
The receiving module 11: for receiving the data packet sent by the remote server.
The adjusting module 12: when the data packet is detected to contain a management command, the speed for processing the state information is adjusted from a first speed to a second speed, and the priority of a reading task of the data packet is adjusted from a first priority to a second priority so as to execute the management command, wherein the first speed is higher than the second speed, and the first priority is lower than the second priority.
In this embodiment, there is provided a server control apparatus including: the remote server acquires the processed state information of the local server sent by the baseboard management control chip, so that a user can check the working state information of the local server through the remote server. When the user adjusts the working state of the local server through the remote service, a data packet containing a management command is sent to the baseboard management control chip to control the local server to adjust the processing speed of the state information from a first speed to a second speed, and the priority of a reading task of the data packet is adjusted from a first priority to a second priority so as to execute the management command, wherein the first speed is higher than the second speed, and the first priority is lower than the second priority. The speed of processing the state information by the chip is reduced, and the computing resources of the chip are released, so that the management command is conveniently executed, and the speed of executing the management command by the chip is improved.
Fig. 4 is a structural diagram of a server control apparatus according to another embodiment of the present application, and as shown in fig. 4, the server control apparatus includes: a memory 20 for storing a computer program;
a processor 21 for implementing the steps of adjusting the speed of processing the status file as described in the above embodiments when executing the computer program.
The local server and the remote service provided by the embodiment may include, but are not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 21 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 21 may further include an Artificial Intelligence (AI) processor for processing computational operations related to machine learning.
The memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing the following computer program 201, wherein after being loaded and executed by the processor 21, the computer program can implement the relevant steps of the server control method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among others, Windows, Unix, Linux, and the like. Data 203 may include, but is not limited to, management commands sent by remote servers, status information of local servers, and the like.
In some embodiments, the server control device may further include a display 22, an input/output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the configuration shown in fig. 4 is not intended to be limiting of server control devices and may include more or fewer components than those shown.
The server control device provided by the embodiment of the application comprises a memory and a processor, and the processor can realize the server control device method when executing the program stored in the memory.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps described in the above method embodiments (which may be a method corresponding to the baseboard management control chip side, a method corresponding to the remote server side, or a method corresponding to the baseboard management control chip side and the remote server side).
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The server control method, apparatus, and medium provided by the present application are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A server control method is applied to a baseboard management control chip and comprises the following steps:
acquiring state information of a local server, processing the state information, and sending the processed state information to a remote server;
receiving a data packet sent by the remote server;
when the data packet is detected to contain a management command, the speed for processing the state information is adjusted from a first speed to a second speed, and the priority of a reading task of the data packet is adjusted from a first priority to a second priority so as to execute the management command, wherein the first speed is higher than the second speed, and the first priority is lower than the second priority.
2. The server control method according to claim 1, wherein the obtaining and processing the state information of the local server comprises:
acquiring state information sent by a host end of the local server, wherein the state information is in the form of video data;
and compressing the video data, and packaging the compressed video data.
3. The server control method according to claim 1, wherein after the step of detecting that the data packet contains a management command, the method further comprises:
analyzing the data packet to obtain the management command, and judging the type of the management command;
if the management command is used for adjusting the working state of the chip, executing the management command;
and if the management command is used for adjusting the working state of the local server, controlling a host end to execute the management command.
4. The server control method according to claim 1, further comprising, after the execution of the management command:
feeding back completion information to the remote server;
and acquiring a recovery command sent by the remote server after acquiring the completion information, increasing the processing speed to the first speed, and reducing the priority of the reading task to the first priority.
5. The server control method according to claim 1, wherein the detecting of the data packet containing the management command sent by the remote server is specifically:
the data packet is detected using an interrupt.
6. A server control method is applied to a remote server and comprises the following steps:
acquiring state information of the processed local server sent by a baseboard management control chip;
sending a data packet containing a management command to the baseboard management control chip to control the local server to adjust the processing speed of the state information from a first speed to a second speed, and adjusting the priority of a reading task of the data packet from a first priority to a second priority so as to execute the management command, wherein the first speed is higher than the second speed, and the first priority is lower than the second priority.
7. The server control method according to claim 6, further comprising, after the step of sending a packet containing a management command to the baseboard management control chip:
judging whether completion information sent by the substrate management control chip is acquired or not;
and if the completion information is acquired, sending a recovery command to the baseboard management control chip so that the local server increases the processing speed to the first speed and reduces the priority of the reading task to the first priority.
8. A server control apparatus, characterized by comprising:
an acquisition module: the system comprises a local server, a remote server and a server, wherein the local server is used for acquiring state information of the local server, processing the state information and sending the processed state information to the remote server;
a receiving module: the data packet is used for receiving the data packet sent by the remote server;
an adjusting module: when the data packet is detected to contain a management command, the speed for processing the state information is adjusted from a first speed to a second speed, and the priority of a reading task of the data packet is adjusted from a first priority to a second priority so as to execute the management command, wherein the first speed is higher than the second speed, and the first priority is lower than the second priority.
9. A server control apparatus, comprising a memory for storing a computer program;
a processor for implementing the steps of server control according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, realizes the steps of the server control method according to any one of claims 1 to 7.
CN202111427698.1A 2021-11-29 2021-11-29 Server control method, device and medium Pending CN113852564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111427698.1A CN113852564A (en) 2021-11-29 2021-11-29 Server control method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111427698.1A CN113852564A (en) 2021-11-29 2021-11-29 Server control method, device and medium

Publications (1)

Publication Number Publication Date
CN113852564A true CN113852564A (en) 2021-12-28

Family

ID=78982229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111427698.1A Pending CN113852564A (en) 2021-11-29 2021-11-29 Server control method, device and medium

Country Status (1)

Country Link
CN (1) CN113852564A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554126A (en) * 2022-01-29 2022-05-27 山东云海国创云计算装备产业创新中心有限公司 Substrate management control chip, video data transmission method and server
CN114844894A (en) * 2022-04-29 2022-08-02 济南浪潮数据技术有限公司 Data transmission method, device and medium for server node
CN115617620A (en) * 2022-12-14 2023-01-17 中科声龙科技发展(北京)有限公司 Server control method, device, equipment and storage medium
CN116185915A (en) * 2023-04-21 2023-05-30 山东云海国创云计算装备产业创新中心有限公司 Bus scheduling method, device and equipment, medium and baseboard management control chip

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185707A (en) * 2011-04-15 2011-09-14 浪潮电子信息产业股份有限公司 Method for expanding IPMI (Intelligent Platform Management Interface) protocol of server management
CN109446001A (en) * 2018-10-17 2019-03-08 郑州云海信息技术有限公司 A kind of control method and system of server switching on and shutting down
CN111683252A (en) * 2020-06-11 2020-09-18 浪潮(北京)电子信息产业有限公司 Server and output system and method of video compression image
US20210004242A1 (en) * 2019-07-01 2021-01-07 Quanta Computer Inc. Method and system for remote selection of boot device
CN112947194A (en) * 2021-02-20 2021-06-11 大连理工大学 Real-time operation control system of tennis robot embedded based on FreeRTOS

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185707A (en) * 2011-04-15 2011-09-14 浪潮电子信息产业股份有限公司 Method for expanding IPMI (Intelligent Platform Management Interface) protocol of server management
CN109446001A (en) * 2018-10-17 2019-03-08 郑州云海信息技术有限公司 A kind of control method and system of server switching on and shutting down
US20210004242A1 (en) * 2019-07-01 2021-01-07 Quanta Computer Inc. Method and system for remote selection of boot device
CN111683252A (en) * 2020-06-11 2020-09-18 浪潮(北京)电子信息产业有限公司 Server and output system and method of video compression image
CN112947194A (en) * 2021-02-20 2021-06-11 大连理工大学 Real-time operation control system of tennis robot embedded based on FreeRTOS

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王超: ""基于ARM的智能家居温控系统的设计"", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *
申军涛: ""基于RFID/ZigBee实验室设备远程监控系统的设计"", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554126A (en) * 2022-01-29 2022-05-27 山东云海国创云计算装备产业创新中心有限公司 Substrate management control chip, video data transmission method and server
CN114554126B (en) * 2022-01-29 2023-08-25 山东云海国创云计算装备产业创新中心有限公司 Baseboard management control chip, video data transmission method and server
CN114844894A (en) * 2022-04-29 2022-08-02 济南浪潮数据技术有限公司 Data transmission method, device and medium for server node
CN115617620A (en) * 2022-12-14 2023-01-17 中科声龙科技发展(北京)有限公司 Server control method, device, equipment and storage medium
CN116185915A (en) * 2023-04-21 2023-05-30 山东云海国创云计算装备产业创新中心有限公司 Bus scheduling method, device and equipment, medium and baseboard management control chip
CN116185915B (en) * 2023-04-21 2023-08-04 山东云海国创云计算装备产业创新中心有限公司 Bus scheduling method, device and equipment, medium and baseboard management control chip

Similar Documents

Publication Publication Date Title
CN113852564A (en) Server control method, device and medium
CN102789305B (en) Postponing suspend
CN111683252B (en) Server and output system and method of video compression image
US20160224493A1 (en) Universal serial bus (usb) kvm switch using virtual usb for switching among multiple hosts
CN110704283A (en) Method, device and medium for uniformly generating alarm information
CN110069288B (en) USB equipment sharing method, device and system
US20240292009A1 (en) Method and apparatus for processing video compression, and medium
CN112243033B (en) Method, device and equipment for acquiring memory information and computer readable storage medium
CN107509160B (en) Data transmission method, electronic device, and storage medium
CN107479900B (en) Hot plug software scheme suitable for real-time operating system
CN112540801A (en) Network card configuration method, host device, network card device, and storage medium
WO2024078172A1 (en) Screen display method and apparatus, device, and readable storage medium
WO2021043021A1 (en) Memory write-back method and apparatus, and terminal and storage medium
CN110532203B (en) NAND reset method, device, electronic equipment and storage medium
CN112084099B (en) Method, device, equipment and storage medium for acquiring alarm state value based on host
CN113360344B (en) Server monitoring method, device, equipment and computer readable storage medium
CN113448762B (en) Crash processing method and system, intelligent device and storage medium
CN114281422A (en) Cloud computer control method, device and medium
CN114024878A (en) Data transmission method, device, medium and equipment
CN114296882A (en) Method, device and medium for exporting memory snapshot of virtual machine
KR101772547B1 (en) Power consumption reduction in a computing device
CN113672283B (en) Instruction processing method, device and system
US20230068942A1 (en) Data processing method and electronic device
CN114371978B (en) Method, device, apparatus and system for android to acquire data
CN114138204A (en) Initialization method and device of disk array, electronic equipment and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211228