CN115617620B - Server control method, device, equipment and storage medium - Google Patents

Server control method, device, equipment and storage medium Download PDF

Info

Publication number
CN115617620B
CN115617620B CN202211600810.1A CN202211600810A CN115617620B CN 115617620 B CN115617620 B CN 115617620B CN 202211600810 A CN202211600810 A CN 202211600810A CN 115617620 B CN115617620 B CN 115617620B
Authority
CN
China
Prior art keywords
server
working parameter
preset
mode
working
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.)
Active
Application number
CN202211600810.1A
Other languages
Chinese (zh)
Other versions
CN115617620A (en
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.)
Shenglong Singapore Pte Ltd
Original Assignee
Sunlune Technology Beijing 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 Sunlune Technology Beijing Co Ltd filed Critical Sunlune Technology Beijing Co Ltd
Priority to CN202211600810.1A priority Critical patent/CN115617620B/en
Publication of CN115617620A publication Critical patent/CN115617620A/en
Application granted granted Critical
Publication of CN115617620B publication Critical patent/CN115617620B/en
Priority to PCT/CN2023/108944 priority patent/WO2024124908A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • G06F11/3096Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents wherein the means or processing minimize the use of computing system or of computing system component resources, e.g. non-intrusive monitoring which minimizes the probe effect: sniffing, intercepting, indirectly deriving the monitored data from other directly available data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention provides a server control method, a device, equipment and a storage medium, wherein the method comprises the steps of determining the direction of a cabinet of a server at the current moment, and determining a first operation mode of the server based on the direction of the cabinet; acquiring a preset working parameter corresponding to the first operation mode and a working parameter corresponding to the server at the current moment; and if the working parameter corresponding to the server at the current moment is inconsistent with the preset working parameter, adjusting the working parameter corresponding to the server until the working parameter corresponding to the server meets the preset working parameter. According to the invention, a determined relation is established between the cabinet body direction and the operation mode of the server, so that when the server is in different scenes, the operation mode corresponding to the scene at the current time can be determined according to the cabinet body direction corresponding to the scene at the current time, and the working parameters of the server are adjusted to the preset parameters corresponding to the operation mode, so that the same server can meet the requirements of different application scenes.

Description

Server control method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a server control method, device, equipment and storage medium.
Background
With the rapid development and application of technologies such as big data, cloud computing and artificial intelligence, data representation in the internet grows in geometric multiples, and therefore, servers providing data computing services are more and more widely applied.
The requirements of the server are typically different in different scenarios. For example, in an industrial noise scene such as a data center, the server is in a high-performance state, and the heat dissipation requirement is high; in a scene requiring silence, such as a home, business, office, etc., the server is in a low noise state.
The existing server has a single use scene, and cannot meet the requirements of a high-noise scene, a high-computing-power scene and a low-noise scene at the same time.
Disclosure of Invention
The embodiment of the application provides a server control method, a server control device and a storage medium, which can adjust the working parameters of a server to the working parameters required by the scene in which the server is located under different scenes, so that the same server can meet the requirements of multiple scenes.
In a first aspect, an embodiment of the present application provides a server control method, where the method includes:
determining the direction of a cabinet body of the server at the current moment, and determining a first operation mode of the server based on the direction of the cabinet body;
acquiring a preset working parameter corresponding to the first running mode and a working parameter corresponding to the server at the current moment;
and if the working parameters corresponding to the server at the current moment are not consistent with the preset working parameters, adjusting the working parameters corresponding to the server until the working parameters corresponding to the server meet the preset working parameters.
In a second aspect, an embodiment of the present application provides a server control apparatus, including: the system comprises a server, a heat dissipation module in communication connection with the server, and a direction detection device in communication connection with the server;
the heat dissipation module is used for dissipating heat of the server;
the direction detection device is used for determining the direction of the cabinet body of the server at the current moment and sending the direction of the cabinet body to the server;
the server is used for determining a first operation mode of the server based on the direction of the cabinet body, acquiring preset working parameters corresponding to the first operation mode and working parameters corresponding to the server at the current moment, and adjusting the working parameters corresponding to the server when the working parameters corresponding to the server at the current moment are detected to be inconsistent with the preset working parameters so that the working parameters corresponding to the server meet the preset working parameters.
In a third aspect, an embodiment of the present application provides a server control apparatus, including:
the determining unit is used for determining the direction of a cabinet of the server at the current moment and determining a first operation mode of the server based on the direction of the cabinet;
the acquisition unit is used for acquiring preset working parameters corresponding to the first operation mode and working parameters corresponding to the server at the current moment;
and the parameter adjusting unit is used for adjusting the working parameters corresponding to the server when the working parameters corresponding to the server at the current moment are inconsistent with the preset working parameters, so that the working parameters corresponding to the server meet the preset working parameters.
In a fourth aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor;
the memory is used for storing a computer program, and the processor is used for calling and running the computer program stored in the memory to execute the method of the first aspect or each implementation manner thereof.
In a fifth aspect, a chip is provided for implementing the method in the first aspect or its implementation manners. Specifically, the chip includes: a processor configured to call and run the computer program from the memory, so that the device on which the chip is installed performs the method according to the first aspect or the implementation manner thereof.
A sixth aspect provides a computer-readable storage medium for storing a computer program, the computer program causing a computer to perform the method of the first aspect or its implementations.
In a seventh aspect, a computer program product is provided, which includes computer program instructions for causing a computer to execute the method of the first aspect or its implementation modes.
In an eighth aspect, there is provided a computer program which, when run on a computer, causes the computer to perform the method of the first aspect or its implementations.
In summary, according to the technical scheme of the application, when the server is controlled, firstly, the direction of the cabinet of the server at the current time is determined, and the first operation mode of the server is determined based on the direction of the cabinet; acquiring a preset working parameter corresponding to the first operation mode and a working parameter corresponding to the server at the current moment; and if the working parameters corresponding to the server at the current moment are not consistent with the preset working parameters, adjusting the working parameters corresponding to the server until the working parameters corresponding to the server meet the preset working parameters. In the application process of the server, a determined relation is established between the cabinet body direction and the operation mode of the server, so that when the server is applied to different scenes, the operation mode corresponding to the scene at the current moment can be determined according to the cabinet body direction corresponding to the scene at the current moment, and the working parameters of the server are adjusted to the preset parameters corresponding to the operation mode, so that the same server can meet the requirements of different application scenes at the same time, the waste of resources is effectively avoided, and the use experience of a user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a server control method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of another server control method according to an embodiment of the present application;
fig. 3 is a server control apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a heat dissipation module according to an embodiment of the present disclosure;
fig. 5A is a schematic position diagram of a heat dissipation module in a horizontally disposed cabinet according to an embodiment of the present application;
fig. 5B is a schematic position diagram of a heat dissipation module in a vertically-disposed cabinet according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a server control device according to an embodiment of the present application;
fig. 7 is a schematic block diagram of an electronic device provided in an embodiment of the present application.
Reference numbers in the drawings and corresponding part names:
301-server, 302-heat sink module, 401-heat sink fins, 402-heat sink base plate, 403-chip, 404-PCB (printed circuit board) board.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The server control method provided by the embodiment of the application can be applied to any field needing to control the server.
The requirements of the server are typically different in different scenarios.
For example, in industrial-grade noise scenarios such as data centers, on one hand, the noise intensity is usually greater than 45 db, and the noise requirement on the server is low; on the other hand, in order to arrange the servers in the rack compactly, the servers of the data center are usually placed horizontally, and the heat dissipation modules corresponding to the servers are also horizontally arranged in the server cabinet; in addition, the servers of the data center generally need to perform high-intensity and high-density calculation, so the servers of the data center are often in a high-calculation state, and the heat dissipation requirement and the power consumption are high.
In the scenes needing silence, such as families, business offices and the like, on one hand, the noise in the scenes is usually lower than 45 decibels, the noise requirement on the server is high, and the server is in a low-noise state; on the other hand, in order to reduce the floor area, the server is generally vertically arranged in the scenes of families, business offices and the like; in addition, in these scenarios, no intensive calculations need to be performed, unnecessary functional units are turned off, and therefore, the operating frequency and operating voltage of the server are low, and the heat dissipation requirement is small.
As described above, the current server has a single usage scenario, and the high performance server is only suitable for a high noise power scenario such as a data center; the mute server is only suitable for the scenes needing mute, such as families, business offices and the like. The high-performance server cannot meet the mute requirement of the mute server, and the mute server cannot meet the requirements of the high-performance server on high computing power and high heat dissipation performance. Therefore, the server resources are greatly wasted, and the use cost is increased.
In order to solve the technical problem, an embodiment of the present application provides a server control method and apparatus, where the method includes determining a direction of a cabinet of a server at a current time, and determining a first operation mode of the server based on the direction of the cabinet; acquiring a preset working parameter corresponding to the first operation mode and a working parameter corresponding to the server at the current moment; and if the working parameters corresponding to the server at the current moment are not consistent with the preset working parameters, adjusting the working parameters corresponding to the server until the working parameters corresponding to the server meet the preset working parameters. In the application process of the server, a determined relation is established between the cabinet body direction and the operation mode of the server, so that when the server is applied to different scenes, the operation mode corresponding to the scene at the current moment can be determined according to the cabinet body direction corresponding to the scene at the current moment, and the working parameters of the server are adjusted to the preset working parameters corresponding to the operation mode, so that the same server can meet the requirements of different application scenes.
The technical solutions of the embodiments of the present application are described in detail below with reference to some embodiments. The following several embodiments may be combined with each other and may not be described in detail in some embodiments for the same or similar concepts or processes.
Fig. 1 is a schematic flowchart of a server control method according to an embodiment of the present application, where the method includes the following steps S101 to S103:
s101, determining the direction of a cabinet of the server at the current moment, and determining a first operation mode of the server based on the direction of the cabinet.
According to the technical scheme, a corresponding relation is established among the application scene of the server, the operation mode of the server and the cabinet direction of the server, and the operation mode of the server can be switched to the operation mode corresponding to the current cabinet direction in real time after the cabinet direction of the server is changed by associating the server cabinet direction with the server operation mode, so that the same server meets the requirements of different scenes.
The classification method of the operation mode of the server in the embodiment of the present application is not particularly limited, and the classification method of the operation mode includes, but is not limited to, the following several methods.
Mode 1, the operation mode of the server is divided based on the noise intensity of the server. For example, when the noise intensity is lower than 45 db, the server operates in a first-level mute mode; when the noise intensity is 45-50 decibels, the server operates in a secondary mute mode in the table 1; when the noise intensity is above 50 decibels, the server operates in a three-level mute mode.
Mode 2, the operating modes of the servers are divided based on the heat dissipation requirements of the servers. For example, when the air volume output by a fan in a heat dissipation module of a server is lower than 50CFM (cubic foot per minute), the server operates in a primary heat dissipation mode; when the output air volume of fans in the heat dissipation module of the server is 50CFM to 70CFM, the server operates in a secondary heat dissipation mode, and when the output air volume of fans in the heat dissipation module of the server is higher than 70CFM, the server operates in a tertiary heat dissipation mode.
Mode 3 is to divide the operation mode of the server based on the arithmetic capability of the server. For example, according to different required computing capabilities of the server in different application scenarios, the operation mode of the server is divided into a low-computing-power mode, a normal-computing-power mode, a high-computing-power mode and an over-computing-power mode.
Mode 4, the operating mode of the server is divided based on at least two of the noise intensity, heat dissipation requirements, and computing power of the server.
Illustratively, the servers are classified into a silent mode and a high-performance mode based on the noise intensity, heat dissipation requirements and computing power of the servers. Under the silent mode, the noise requirement of the external environment is high, the noise decibel value of the server is usually lower than 45 decibels, the server does not need to perform a large number of complex operations, the operation requirement is small, the operation capacity is low, correspondingly, the heat dissipation requirement of the server is low, under the high-performance mode, the noise requirement of the external environment is low, the noise decibel value of the server can be higher than 45 decibels, the server is in a high-calculation-capacity state, the operation capacity is high, and the heat dissipation requirement is high.
The classification of the cabinet body direction of the server and the corresponding relation between the cabinet body direction of the server and the server operation mode are not particularly limited in the embodiment of the application.
In one implementation, the correspondence between the cabinet orientation of the server and the operating mode of the server is shown in table 1:
cabinet direction of server (included angle with horizontal direction) Operation mode of server
Cabinet direction =90 degrees (vertical direction) First order mute mode (noise intensity is less than or equal to 40 decibels)
The direction of the cabinet body is more than or equal to 60 degrees and less than 90 degrees Two-stage mute mode (40 dB < noise intensity ≤ 50 dB)
The direction of the cabinet body is more than or equal to 30 degrees and less than 60 degrees Three-level mute mode (50 dB < noise intensity ≤ 60 dB)
0 degree is greater than the direction of the cabinet body and is less than 30 degrees Four-stage mute mode (60 dB < noise intensity ≤ 70 dB)
Cabinet direction =0 degree (horizontal direction) Five-level mute mode (noise intensity > 70 decibels)
Table 1.
In another implementation, the correspondence between the direction of the server cabinet and the operation mode of the server is shown in table 2:
cabinet direction of server (included angle with horizontal direction) Operation mode of server
Vertical direction (cabinet direction =90 degree) Mute mode (noise intensity < 45 dB, low power, low heat dissipation requirement)
Horizontal direction (cabinet direction =0 degree) High performance mode (noise intensity greater than 45 dB, high computing power, high heat dissipation requirement)
Table 2.
The embodiment of the present application does not limit the specific manner of "determining the first operation mode of the server based on the direction of the cabinet" in S101.
In some embodiments, the "determining the first operation mode of the server based on the direction of the cabinet" in S101 includes the following steps S101-A1 and S101-A2:
S101-A1, determining the state of a mode control switch at the current moment, wherein the mode control switch is used for fixing the running mode of a server in a preset mode;
S101-A2, determining a first operation mode of the server based on the direction of the cabinet and the state of the mode control switch.
The embodiment of the present application does not limit the specific manner of "determining the first operation mode of the server based on the direction of the cabinet and the state of the mode control switch" in S101-A2.
In an implementable manner, the first mode of operation of the server is determined, based in particular on the following steps S101-A2-10 and S101-A2-11.
S101-A2-10, if the state of the mode control switch is not started, determining a first operation mode of the server based on the direction of the cabinet body;
and S101-A2-11, if the state of the mode control switch is on, determining the operation mode of the server at the current moment as a first operation mode.
Illustratively, the cabinet direction and the operation mode shown in table 1 are taken as an example.
When the cabinet direction is changed from 35 degrees to 60 degrees and the mode control switch is not turned on, the corresponding secondary silent mode when the cabinet direction is 60 degrees is determined as the first operation mode of the server according to the corresponding relation shown in table 1.
When the cabinet direction is changed from 35 degrees to 60 degrees and the mode control switch is turned on, according to the corresponding relation shown in table 1, the operation mode of the server at the current moment is determined as the first operation mode, that is, the corresponding three-stage mute mode when the cabinet direction is 35 degrees is determined as the first operation mode of the server.
Illustratively, the cabinet direction and the operation mode shown in table 2 are taken as an example.
When the cabinet body direction is converted from the vertical direction to the horizontal direction and the mode control switch is not turned on, the corresponding high-performance mode when the cabinet body direction is the horizontal direction is determined as the first operation mode of the server according to the corresponding relation shown in table 2.
When the cabinet body direction is changed from the vertical direction to the horizontal direction and the mode control switch is turned on, according to the corresponding relation shown in table 2, the operation mode of the server at the current moment is determined as the first operation mode, that is, the corresponding mute mode when the cabinet body direction is the vertical direction is determined as the first operation mode of the server.
In consideration of the situation that in some application scenarios, although the direction of the server cabinet is changed, the user does not want to switch the operation mode of the server to the operation mode corresponding to the cabinet direction at the current time, in the embodiment of the present application, a mode control switch is introduced, when the direction of the server cabinet is changed, but the user does not want to switch the operation mode of the server to the operation mode corresponding to the cabinet direction at the current time, the user may turn on the mode control switch, at this time, the operation mode of the server at the current time is determined to be the first operation mode, and even if the cabinet direction is changed, the server is maintained in the operation mode of the server at the current time, so that in the server control process, the requirements of the user are better met, and the user experience is improved.
In another implementable manner, the first mode of operation of the server is determined based on the following steps S101-A2-20 and S101-A2-21.
S101-A2-20, if the mode control switch is turned on, determining a first operation mode of the server based on the direction of the cabinet;
and S101-A2-21, if the state of the mode control switch is not started, determining the operation mode of the server at the current time as a first operation mode.
In other embodiments, the first mode of operation of the server is determined based solely on the orientation of the cabinet.
For example, the cabinet direction and the operation mode shown in table 1 are taken as an example.
Example 1, in the correspondence relationship as described in table 1, when the cabinet direction of the server is changed from 90 degrees to 65 degrees, the second-stage muting mode is determined as the first operation mode of the server according to the correspondence relationship table of the cabinet direction of the server and the operation mode of the server.
Example 2, in the correspondence relationship as described in table 1, when the cabinet direction of the server is changed from 90 degrees to 0 degrees, the five-level muting mode is determined as the first operation mode of the server according to the correspondence relationship table of the cabinet direction of the server and the operation mode of the server.
For example, the cabinet direction and the operation mode shown in table 2 are taken as an example.
The first operation mode includes a mute mode and a high performance mode, the first operation mode of the server is determined based on the direction of the cabinet in the step S101, and the method includes the following steps S101-B1 and S101-B2:
S101-B1, if the direction of the cabinet body is the vertical direction, determining that the first operation mode is a mute mode;
S101-B2, if the direction of the cabinet body is the horizontal direction, determining that the first operation mode is the high-performance mode.
In the embodiment of the application, in the scenes such as families, business offices and the like, the server works in a mute mode to meet the mute requirement under the scenes, and meanwhile, the server cabinet body is vertically arranged to meet the requirement that the occupied area of the server needs to be reduced in the scenes; in a data center and other scenes, the server works in a high-performance mode to meet the requirements of high computing power and high heat dissipation requirements in the data center and other scenes, and meanwhile, in the data center and other scenes, a rack is often arranged, and in order to enable equipment of the data center to be compactly arranged in the rack, the server is placed in a horizontal direction.
The embodiment of the present application does not limit the specific manner of determining the direction of the cabinet of the server at the current time in S101.
In some embodiments, the orientation of the cabinet of the server is determined based only on the orientation of the server cabinet at one time.
For example, at one moment, if the cabinet direction is a vertical direction, the direction of the cabinet of the server at the current moment is determined as the vertical direction.
In other embodiments, the cabinet orientation of the server at the present time is determined based on the orientation of the cabinets over a period of time. The method specifically comprises the following steps of S101-C1 and S101-C2:
S101-C1, acquiring the direction of the cabinet body sent by a direction detection device in a preset time period, wherein the direction detection device is used for detecting the direction of the cabinet body;
S101-C2, determining the direction of the cabinet body at the current moment based on the direction of the cabinet body in the preset time period.
The embodiment of the present application does not limit the specific value of the preset time period.
In one example, the preset time period is 1 minute.
In another example, the preset time period is 5 minutes.
The embodiment of the present application does not limit the specific type of the direction detecting device.
In an implementation manner, the direction detecting device is a shooting device, the shooting device shoots the server at a certain frequency, and sends the posture information of the server cabinet to the server, and the server determines the direction of the server cabinet according to the posture information of the server cabinet.
In another implementable form, the orientation detection means is an orientation sensor located in the server cabinet, by which the orientation of the cabinet is determined.
If the cabinet body direction of the server is determined by the direction sensor, the specific type of the direction sensor is not limited in the embodiment of the application.
In one example, the orientation sensor is an electronic type sensor.
In another example, the orientation sensor is a mechanical type sensor.
The embodiment of the application does not limit the specific manner of determining the direction of the cabinet body at the current moment based on the direction of the cabinet body in the preset time period in S101-C2.
In an implementation manner, for each of the N cabinet directions, N is a positive integer greater than 1, and if the time of the server in the cabinet direction is greater than a preset value corresponding to the cabinet direction within a preset time period, the cabinet direction is determined as the direction of the cabinet at the current time.
For example, the cabinet direction and the operation mode shown in table 1 are taken as an example, where N is equal to 5, the preset value corresponding to the cabinet direction of 20 degrees is 2 minutes, and the preset value corresponding to the cabinet direction of 40 degrees is 5 minutes.
When the direction of the cabinet body is changed from 20 degrees to 40 degrees, if the time of the cabinet body direction being 40 degrees is more than 5 minutes, determining the cabinet body direction being 40 degrees as the direction of the cabinet body at the current moment; and if the time that the direction of the cabinet body is 40 degrees is less than or equal to 5 minutes, determining that the direction of the cabinet body is 20 degrees as the direction of the cabinet body at the current moment.
When the direction of the cabinet body is changed from 40 degrees to 20 degrees, if the time of the cabinet body direction being 20 degrees is more than 2 minutes, determining the cabinet body direction being 20 degrees as the direction of the cabinet body at the current moment; and if the time that the cabinet body direction is 20 degrees is less than or equal to 2 minutes, determining that the cabinet body direction is 40 degrees as the direction of the cabinet body at the current moment.
In this possible implementation, when the cabinet direction and the operation mode are corresponding as shown in table 2, the direction of the cabinet at the current time is determined based on the following steps S101-C2-10 and S101-C2-11.
S101-C2-10, if the time that the direction of the cabinet body is the vertical direction is longer than a first preset value in a preset time period, determining that the direction of the cabinet body at the current moment is the vertical direction;
S101-C2-11, if the time that the direction of the cabinet body is the horizontal direction is longer than a second preset value in a preset time period, determining that the direction of the cabinet body at the current moment is the horizontal direction.
For example, if the direction of the cabinet is switched from the vertical direction to the horizontal direction, and the time that the direction of the cabinet is the horizontal direction is greater than the second preset value, it is determined that the direction of the cabinet at the current moment is the horizontal direction, and if the time that the direction of the cabinet is the horizontal direction is less than or equal to the second preset value, it is determined that the direction of the cabinet at the current moment is the vertical direction.
If the direction of the cabinet body is switched from the horizontal direction to the vertical direction, and the time that the direction of the cabinet body is the vertical direction is greater than the second preset value, the direction of the cabinet body at the current moment is determined to be the vertical direction, and if the time that the direction of the cabinet body is the vertical direction is less than or equal to the second preset value, the direction of the cabinet body at the current moment is determined to be the horizontal direction.
In another implementation manner, for each of the N cabinet directions, N is a positive integer greater than 1, and if the time of the server in the cabinet direction is greater than a preset value within a preset time period, the cabinet direction is determined as the direction of the cabinet at the current time.
For example, taking the cabinet direction and the operation mode shown in table 1, N is equal to 5, and the preset value is 3 minutes.
When the direction of the cabinet body is changed from 10 degrees to 60 degrees, if the time of the cabinet body direction being 60 degrees is more than 3 minutes, determining the cabinet body direction being 60 degrees as the direction of the cabinet body at the current moment; and if the time that the direction of the cabinet body is 40 degrees is less than or equal to 3 minutes, determining that the direction of the cabinet body is 10 degrees as the direction of the cabinet body at the current moment.
When the direction of the cabinet body is changed from 60 degrees to 10 degrees, if the time of the cabinet body direction being 10 degrees is more than 3 minutes, determining the cabinet body direction being 10 degrees as the direction of the cabinet body at the current moment; and if the time of the cabinet body direction being 10 degrees is less than or equal to 3 minutes, determining the cabinet body direction being 60 degrees as the direction of the cabinet body at the current moment.
In this possible implementation manner, when the corresponding relationship between the cabinet direction and the operation mode is shown in table 2, the direction of the cabinet at the current moment is determined based on the following steps S101-C2-20 and S101-C2-21.
S101-C2-20, if the time that the direction of the cabinet body is the vertical direction is longer than a first preset value in a preset time period, determining that the direction of the cabinet body at the current moment is the vertical direction;
S101-C2-21, if the time that the direction of the cabinet body is the horizontal direction is longer than a first preset value in a preset time period, determining that the direction of the cabinet body at the current moment is the horizontal direction.
For example, if the direction of the cabinet is switched from the vertical direction to the horizontal direction, and the time that the direction of the cabinet is the horizontal direction is greater than a first preset value, it is determined that the direction of the cabinet at the current moment is the horizontal direction, and if the time that the direction of the cabinet is the horizontal direction is less than or equal to the first preset value, it is determined that the direction of the cabinet at the current moment is the vertical direction.
If the direction of the cabinet body is switched from the horizontal direction to the vertical direction, and the time that the direction of the cabinet body is the vertical direction is greater than a first preset value, the direction of the cabinet body at the current moment is determined to be the vertical direction, and if the time that the direction of the cabinet body is the vertical direction is less than or equal to the first preset value, the direction of the cabinet body at the current moment is determined to be the horizontal direction.
It is considered that in some cases, the direction of the server cabinet is not changed according to the use intention of the user, but is changed due to some unexpected circumstances, for example, the cabinet is touched by mistake to change the direction of the cabinet. Therefore, if the cabinet direction of the server at the current moment is determined according to the cabinet direction of the server at one moment, and then the first operation mode of the server is determined, the above-mentioned unexpected situation may be ignored, and the server may be switched to another operation mode by mistake. The embodiment of the application provides a way for determining the direction of the cabinet of the server at the current moment, namely if the direction of the cabinet of the server is changed and needs to be kept in the changed direction all the time within a preset time period, determining that the direction of the cabinet of the server at the current moment is the changed direction, and further determining a first operation mode; if the cabinet body direction of the server is not kept in the preset time period all the time, the first operation mode does not need to be confirmed, and the working parameters do not need to be adjusted.
S102, acquiring preset working parameters corresponding to the first operation mode and working parameters corresponding to the server at the current moment.
The embodiment of the application does not limit the specific manner of obtaining the preset working parameter corresponding to the first operation mode.
In the mode 1, the preset working parameters corresponding to the first operation module are input into the server.
In the mode 2, the server obtains the preset working parameters corresponding to the first operation module through the main control module.
S103, if the working parameter corresponding to the server at the current moment is not consistent with the preset working parameter, adjusting the working parameter corresponding to the server until the working parameter corresponding to the server meets the preset working parameter.
After acquiring a preset working parameter corresponding to the first operation mode and a working parameter corresponding to the server at the current moment, firstly comparing the preset working parameter with the working parameter corresponding to the server, and if the preset working parameter is consistent with the working parameter corresponding to the server, adjusting the working parameter corresponding to the server is not needed so as to maintain the server in the current operation mode; if the preset working parameter is inconsistent with the working parameter corresponding to the server, it indicates that the server should perform operation mode conversion, and adjusts the working parameter corresponding to the server until the working parameter corresponding to the server meets the preset working parameter.
In some embodiments, the operating parameters include a first operating parameter and a second operating parameter, the first operating mode includes a silent mode and a high-performance mode, the first operating parameter includes a parameter related to a heat dissipation module of a server, and the second operating parameter includes an operating parameter of the server;
if the working parameter corresponding to the server at the current moment is inconsistent with the preset working parameter in the step S103, adjusting the working parameter corresponding to the server, including the following steps S103-A1 and S103-A2:
S103-A1: if the first operation mode is a mute mode and the first working parameter corresponding to the server at the current moment is inconsistent with the preset first working parameter, adjusting the first working parameter corresponding to the server until the first working parameter corresponding to the server meets the preset first working parameter;
S103-A2: and if the first operation mode is the high-performance mode and the second working parameter corresponding to the server at the current moment is inconsistent with the preset second working parameter, adjusting the second working parameter corresponding to the server until the second working parameter corresponding to the server meets the preset second working parameter.
In some embodiments, if the first operating mode is a silent mode and the first operating parameter corresponding to the server meets the preset first operating parameter, the control method further includes the following steps S103-B1 and S103-B2:
S103-B1, acquiring a first preset temperature corresponding to the first operation mode and a temperature corresponding to the server at the current moment;
and S103-B2, if the temperature corresponding to the server at the current moment is not consistent with the first preset temperature, adjusting a second working parameter corresponding to the server until the temperature corresponding to the server meets the first preset temperature.
In some embodiments, if the first operation mode is the high performance mode and the second operating parameter corresponding to the server meets the preset second operating parameter, the control method further includes the following steps S103-C1 and S103-C2:
acquiring a second preset temperature corresponding to the first operation mode and a temperature corresponding to the server at the current moment;
and if the temperature of the server at the current moment is inconsistent with the second preset temperature, adjusting the first working parameter corresponding to the server until the temperature corresponding to the server meets the second preset temperature.
In some embodiments, the first predetermined temperature is equal to the second predetermined temperature.
The embodiment of the present application does not limit the specific types of the above working parameters.
The first working parameter includes at least one of a rotation speed of a fan in the heat dissipation module of the server, the number of the fans, and an aperture ratio of a filter screen of the fan.
The second operating parameter includes at least one of an operating voltage and an operating frequency of the server.
In the embodiment of the application, in order to enable the server to be applied to two scenes, switching between a mute mode and a high-performance mode can be completed, when the first operation mode is the mute mode, firstly, relevant parameters of the heat dissipation module, namely first working parameters, are adjusted, and the noise intensity of the server is adjusted to be within a noise intensity range required by the mute mode; when the first operation mode is the high-performance mode, the second working parameter, namely the working voltage and/or the working frequency of the server is adjusted, and the computing capacity of the server is adjusted to be within the computing capacity range required under the high-performance mode.
In addition, the temperature of the server must be in a proper range in order to avoid the situation that the temperature is too high or too low and the normal operation of the server is affected, and when the working parameters of the server meet preset working parameters, the temperature of the server is always kept in the proper temperature range by adjusting different parameters in different modes.
Taking the direction detection device as a direction sensor, the working parameters including the rotating speed of the fan, the direction of the cabinet body and the operation mode of the server as shown in table 2 as an example.
Fig. 2 is a schematic flowchart of another server control method according to an embodiment of the present application.
As shown in fig. 2, the method includes the following steps S201 to S203:
s201, a direction sensor automatically senses the direction of the cabinet body and sends the direction information of the cabinet body to a main control module, the main control module determines the direction of the cabinet body of the server at the current moment based on the direction information sent by the direction sensor, and determines a first operation mode of the server based on the direction of the cabinet body.
Specifically, if the direction of the cabinet body is a vertical direction, determining that a first operation mode of the server is a silent mode; and if the direction of the cabinet body is the horizontal direction, determining that the first operation mode of the server is a high-performance mode.
S202, acquiring a preset rotating speed corresponding to the first operation mode and a rotating speed corresponding to the server at the current moment.
Specifically, if the first operation mode is the silent mode, acquiring a preset rotating speed corresponding to the silent mode and a rotating speed corresponding to the server at the current moment; and if the first operation mode is the high-performance mode, acquiring a preset rotating speed corresponding to the high-performance mode and a rotating speed corresponding to the server at the current moment.
And S203, if the rotating speed corresponding to the server at the current moment is not consistent with the preset rotating speed, adjusting the rotating speed corresponding to the server until the rotating speed corresponding to the server meets the preset rotating speed.
Specifically, the first operation mode is a mute mode, and if the rotating speed corresponding to the server at the current moment is not consistent with the preset rotating speed corresponding to the mute mode, the rotating speed corresponding to the server is adjusted until the rotating speed corresponding to the server meets the preset rotating speed corresponding to the mute mode; the first operation mode is a high-performance mode, and if the rotating speed corresponding to the server at the current moment is not consistent with the preset rotating speed corresponding to the high-performance mode, the rotating speed corresponding to the server is adjusted until the rotating speed corresponding to the server meets the preset rotating speed corresponding to the high-performance mode.
In scenes such as a data center and the like, the server works in a high-performance mode, in scenes such as a home and a business office and the like, the server works in a mute mode, the scenes such as the data center and the like have low requirements on noise of the surrounding environment and high requirements on a heat dissipation effect, and the scenes such as the home and the business office and the like have high requirements on the noise of the surrounding environment and low requirements on the heat dissipation effect, so that different requirements on the noise and the heat dissipation effect under two scenes are considered, in the embodiment of the application, the preset rotating speed corresponding to the fan under the mute mode is smaller than the preset rotating speed corresponding to the fan under the high-performance mode.
If the cabinet direction of the server at the current moment is the vertical direction, determining that the first operation mode of the server is the silent mode according to the corresponding relation between the cabinet direction and the server operation mode shown in the table 2; acquiring a preset rotating speed corresponding to the mute mode and a rotating speed corresponding to the server at the current moment, and if the rotating speed corresponding to the server at the current moment is consistent with the preset rotating speed corresponding to the mute mode, maintaining the rotating speed corresponding to the server at the current moment; and if the rotating speed corresponding to the server at the current moment is not consistent with the preset rotating speed corresponding to the mute mode, reducing the rotating speed corresponding to the server until the rotating speed meets the preset rotating speed corresponding to the mute mode.
Under the silence mode, the computing power of server reduces, and some unnecessary functional units are closed, and simultaneously, the operating voltage and the operating frequency of server also reduce relatively, and at this moment, the heat dissipation demand of server is little, if make the fan that the server corresponds still keep on higher rotational speed, can cause the waste of resource on the one hand, and on the other hand also can not satisfy the requirement to the noise under the silence mode, and this application embodiment is through the rotational speed of adjusting the fan for the server satisfies the noise requirement under the silence scene.
If the cabinet direction of the server at the current moment is the horizontal direction, determining that the first operation mode of the server is the high-performance mode according to the corresponding relation between the cabinet direction and the server operation mode shown in the table 2; acquiring a preset rotating speed corresponding to the high-performance mode and a rotating speed corresponding to the server at the current moment, and if the rotating speed corresponding to the server at the current moment is consistent with the preset rotating speed corresponding to the high-performance mode, maintaining the rotating speed corresponding to the server at the current moment; and if the rotating speed corresponding to the server at the current moment is not consistent with the preset rotating speed corresponding to the high-performance mode, increasing the rotating speed corresponding to the server until the rotating speed meets the preset rotating speed corresponding to the high-performance mode.
In the high-performance mode, the server is required to have higher computing power to satisfy large-scale data operation in scenes such as a data center, the working voltage and the working frequency of the server are relatively improved, and when each functional element in the server works, the generated heat is increased, so that in the high-performance mode, the heat dissipation requirement of the server is increased, and the fan needs to output larger air volume to satisfy the heat dissipation requirement of the server in the high-performance mode.
In summary, according to the technical scheme of the application, when the server is controlled, firstly, the direction of the cabinet of the server at the current time is determined, and the first operation mode of the server is determined based on the direction of the cabinet; acquiring a preset working parameter corresponding to the first operation mode and a working parameter corresponding to the server at the current moment; and if the working parameters corresponding to the server at the current moment are not consistent with the preset working parameters, adjusting the working parameters corresponding to the server until the working parameters corresponding to the server meet the preset working parameters. In the application process of the server, a determined relation is established between the cabinet body direction and the operation mode of the server, so that when the server is applied to different scenes, the operation mode corresponding to the scene at the current moment can be determined according to the cabinet body direction corresponding to the scene at the current moment, and the working parameters of the server are adjusted to the preset parameters corresponding to the operation mode, so that the same server can meet the requirements of different application scenes simultaneously, the waste of resources is effectively avoided, and the use experience of a user is improved.
The preferred embodiments of the present application have been described in detail with reference to the accompanying drawings, however, the present application is not limited to the details of the above embodiments, and various simple modifications may be made to the technical solution of the present application within the technical idea of the present application, and these simple modifications all belong to the protection scope of the present application. For example, the various features described in the foregoing detailed description may be combined in any suitable manner without contradiction, and in order to avoid unnecessary repetition, various combinations that may be made are not described separately in this application. For example, various embodiments of the present application may be arbitrarily combined with each other, and the same should be considered as the disclosure of the present application as long as the concept of the present application is not violated.
It should also be understood that, in the various method embodiments of the present application, the sequence numbers of the above-mentioned processes do not imply an execution sequence, and the execution sequence of the processes should be determined by their functions and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 3 is a server control apparatus provided in an embodiment of the present application, where the apparatus includes: the system comprises a server 301, a heat dissipation module 302 in communication connection with the server, and a direction detection device in communication connection with the server;
the heat dissipation module is used for dissipating heat of the server;
the direction detection device is used for determining the direction of the cabinet body of the server at the current moment and sending the direction of the cabinet body to the server;
the server is used for determining a first operation mode of the server based on the direction of the cabinet body, acquiring preset working parameters corresponding to the first operation mode and working parameters corresponding to the server at the current moment, and adjusting the working parameters corresponding to the server when the working parameters corresponding to the server at the current moment are detected to be inconsistent with the preset working parameters so that the working parameters corresponding to the server meet the preset working parameters.
In some embodiments, the operating parameters include a first operating parameter and a second operating parameter, the first operating mode includes a silent mode and a high-performance mode, the first operating parameter includes a parameter related to a heat dissipation module of the server, and the second operating parameter includes an operating parameter of the server;
the server is used for adjusting the first working parameter corresponding to the server when the first running mode is detected to be the silent mode and the first working parameter corresponding to the server at the current moment is inconsistent with the preset first working parameter, so that the first working parameter corresponding to the server meets the preset first working parameter; and the second operating parameter adjusting module is further configured to adjust the second operating parameter corresponding to the server until the second operating parameter corresponding to the server meets the preset second operating parameter when the first operating mode is detected to be the high-performance mode and the second operating parameter corresponding to the server at the current moment is not consistent with the preset second operating parameter.
In some embodiments, the server is further configured to, when it is detected that the first operation mode is the silent mode and the first working parameter corresponding to the server meets the preset first working parameter, obtain a first preset temperature corresponding to the first operation mode and a temperature corresponding to the server at the current time, and when it is detected that the temperature corresponding to the server at the current time is not consistent with the first preset temperature, adjust a second working parameter corresponding to the server so that the temperature corresponding to the server meets the first preset temperature.
In some embodiments, the server is further configured to, when it is detected that the first operation mode is the high performance mode and the second working parameter corresponding to the server meets a preset second working parameter, obtain a second preset temperature corresponding to the first operation mode and a temperature corresponding to the server at the current time; and when the temperature of the server at the current moment is detected to be inconsistent with the second preset temperature, adjusting the first working parameter corresponding to the server until the temperature corresponding to the server meets the second preset temperature.
In some embodiments, the first operating parameter includes at least one of a rotational speed of a fan in a heat dissipation module of the server, a number of the fans, and a screen opening ratio of the fan; the second operating parameter includes at least one of an operating voltage and an operating frequency of the server.
In some embodiments, the server is further configured to determine a state of a mode control switch at a current time, and determine a first operation mode of the server based on the direction of the cabinet and the state of the mode control switch, and the mode control switch is configured to fix the operation mode of the server in a preset mode.
In some embodiments, the server is configured to determine that the first operation mode is the silent mode when it is detected that the direction of the cabinet is a vertical direction; and the first operation mode is determined to be the high-performance mode when the cabinet body is detected to be in the horizontal direction.
In some embodiments, the server is configured to obtain a direction of the cabinet sent by the direction detection device within a preset time period, and determine a direction of the cabinet at a current moment based on the direction of the cabinet within the preset time period, where the direction detection device is configured to detect the direction of the cabinet.
In some embodiments, the server is specifically configured to determine that the direction of the cabinet is the vertical direction at the current moment when it is detected that the time during which the direction of the cabinet is the vertical direction within the preset time period is greater than a first preset value;
the server is specifically further configured to determine that the direction of the cabinet body at the current moment is the horizontal direction when it is detected that the time during which the direction of the cabinet body is the horizontal direction is greater than a second preset value within a preset time period.
In some embodiments, the direction detection device is a direction sensor disposed in the cabinet.
The embodiment of the present application does not limit the specific structure of the heat dissipation module.
In some embodiments, the heat dissipation module is a conventional heat dissipation module, that is, the heat dissipation module includes a heat dissipation base plate and heat dissipation fins connected to the heat dissipation base plate.
Fig. 4 is a schematic structural diagram of a heat dissipation module according to an embodiment of the disclosure.
As shown in fig. 4, a PCB 404 in the server is provided with a chip 403, and the chip 403 is provided with a heat dissipation module for dissipating heat from the chip, wherein the heat dissipation module includes a heat dissipation base plate 402 and a heat dissipation fin 401 connected to the heat dissipation base plate 402.
In this application embodiment, the heat dissipation performance of the heat dissipation module is not affected by the direction of the cabinet of the server, and the air volume output by the fan is mainly used for influencing the heat dissipation effect in the high-performance mode and the silent mode.
In other embodiments, the heat dissipation module includes a heat dissipation base plate 402, heat dissipation fins 401 connected to the heat dissipation base plate 402, and a heat pipe, where a first end of the heat pipe is connected to the heat dissipation base plate and a second end of the heat pipe is connected to the heat dissipation fins. The liquid in the heat pipe absorbs heat at the first end and is converted into gas, the gas rises to the second end of the heat pipe and is cooled by cooling air output by the fan in the heat dissipation module to be converted into liquid, and the liquid flows back to the first end of the heat pipe along the heat pipe to perform next heat dissipation circulation.
In other embodiments, the heat dissipation bottom plate in the heat dissipation module is a VC Vapor Chamber (vacuum Chamber Vapor Chamber heat dissipation technology). The liquid in the VC soaking plate is heated and gasified near the chip end, and when the formed gas rises to the end far away from the chip, the gas is cooled into liquid which flows back to the end near the chip to carry out the next heat dissipation cycle.
The VC soaking plate and the heat pipe both have phase change characteristics, namely the heat dissipation performance is influenced by the direction of the heat pipe or the VC soaking plate.
When setting up VC soaking pit and/or heat pipe in the heat dissipation module, when the server cabinet body direction is the horizontal direction, this heat dissipation module level sets up in this server cabinet body, set up the heat dissipation module like this, when the cabinet body direction is the horizontal direction, liquid in heat pipe and the VC soaking pit is at the backward flow in-process, the backward flow direction of most time liquid is the same with the gravity direction, liquid backward flow is fast, therefore, when the cabinet body direction is the horizontal direction, the heat dispersion of heat dissipation module is better, can further satisfy under the high performance mode, the heat dissipation demand of server.
Fig. 5A is a schematic position diagram of a heat dissipation module in a horizontally disposed cabinet according to an embodiment of the present application.
As shown in fig. 5A, when the cabinet is located in the horizontal direction, the heat dissipation module is horizontally disposed in the cabinet.
Fig. 5B is a schematic position diagram of the heat dissipation module in the vertically-disposed cabinet according to the embodiment of the present application.
As shown in fig. 5B, when the cabinet direction is changed from the horizontal direction to the vertical direction, the heat dissipation module is located at the side of the server cabinet.
When the heat dissipation module comprises a heat pipe and/or a heat dissipation bottom plate which is a VC soaking plate, and the heat dissipation module is arranged in a cabinet body of a server as shown in figure 5A, when the direction of the cabinet body of the server is a horizontal direction, liquid in the heat pipe is heated and gasified at the end of the heat dissipation bottom plate, formed gas rises to the end of a heat dissipation fin, and is cooled by cooling air to form liquid, and the liquid flows back to the end of the heat dissipation bottom plate, as shown in figure 5A, the liquid in the heat pipe flows back, and the flowing back direction of the liquid is the same as the gravity direction of the liquid in most of time, so the liquid flowing back speed is high, and the heat dissipation performance of the heat dissipation module is better.
When the direction of the server cabinet body is vertical, liquid in the heat pipe is heated and gasified at the end of the heat dissipation bottom plate, formed gas rises to the end of the heat dissipation fin, and is cooled by cooling air to form liquid which flows back to the end of the heat dissipation bottom plate. As shown in fig. 5B, g represents the gravity direction, and the backflow direction of the liquid in the heat pipe is 90 degrees to the gravity direction of the liquid most of the time during the backflow process of the liquid in the heat pipe, so that the resistance to the liquid backflow is large, the backflow speed is slow, and the heat dissipation performance of the heat dissipation module is poor.
Therefore, in the process of controlling the server, the rotating speed of the fan corresponding to the server is matched with the heat dissipation performance of the heat dissipation module, namely when the direction of the cabinet body is the horizontal direction, the operation mode of the server is a high-performance mode, the air volume is higher, the higher air volume corresponds to better heat dissipation performance, the heat dissipation effect of each heating element in the server is further improved when the direction of the cabinet body is the horizontal direction, and the heat dissipation requirement of the high-performance mode is met; when the cabinet body direction is vertical direction, the operation mode of server is the silence mode, and the amount of wind is lower, and simultaneously, the heat dissipation module is in vertical direction, and the resistance is bigger when the liquid in heat pipe and the VC soaking pit flows back, and liquid backward flow speed is slow, leads to heat dispersion relatively poor, with lower amount of wind phase-match. The embodiment of the application well utilizes the characteristic that the heat dissipation performance of the phase change heat dissipation part (the heat pipe and the VC soaking plate) is influenced by the direction, so that the change of the heat dissipation performance of the phase change heat dissipation part is matched with the demands of a silent mode and a high-performance mode on heat dissipation, and the problem that the heat dissipation performance of a heat dissipation module is influenced by the direction of the phase change heat dissipation part is solved.
Fig. 6 is a schematic structural diagram of a server control device according to an embodiment of the present application. As shown in fig. 6, the server control device 60 includes:
the determining unit 61 is used for determining the direction of the cabinet of the server at the current moment and determining a first operation mode of the server based on the direction of the cabinet;
the acquiring unit 62 is configured to acquire a preset working parameter corresponding to the first operating mode and a working parameter corresponding to the server at the current moment;
and a parameter adjusting unit 63, configured to adjust the working parameter corresponding to the server until the working parameter corresponding to the server meets the preset working parameter when the working parameter corresponding to the server at the current moment is inconsistent with the preset working parameter.
In some embodiments, the determining unit 61 is further configured to determine a state of a mode control switch at the current time, and determine a first operation mode of the server based on the direction of the cabinet and the state of the mode control switch, where the mode control switch is configured to fix the operation mode of the server in a preset mode.
In some embodiments, the determining unit 61 is configured to determine that the first operation mode is the mute mode when the cabinet direction is detected to be the vertical direction.
The determining unit 61 is further configured to determine that the first operation mode is the high performance mode when the cabinet direction is detected to be the horizontal direction.
In some embodiments, the determining unit 61 is configured to obtain the direction of the cabinet sent by the direction detecting device in the preset time period, and determine the direction of the cabinet at the current time based on the direction of the cabinet in the preset time period, where the direction detecting device is configured to detect the direction of the cabinet.
In some embodiments, the determining unit 61 is specifically configured to determine that the direction of the cabinet is the vertical direction at the current time when it is detected that the time during which the direction of the cabinet is the vertical direction within the preset time period is greater than a first preset value.
The determining unit 61 is further specifically configured to determine that the direction of the cabinet is the horizontal direction at the current moment when it is detected that the time during which the direction of the cabinet is the horizontal direction is greater than a second preset value within a preset time period.
In some embodiments, the direction detection device is a direction sensor disposed in the cabinet.
In some embodiments, the operating parameters include a first operating parameter and a second operating parameter, the first operating mode includes a silent mode and a high-performance mode, the first operating parameter includes a parameter related to a heat dissipation module of the server, and the second operating parameter includes an operating parameter of the server.
The parameter adjusting unit 63 is configured to, when it is detected that the first operation mode is the silent mode and the first working parameter corresponding to the server at the current time is inconsistent with the preset first working parameter, adjust the first working parameter corresponding to the server until the first working parameter corresponding to the server meets the preset first working parameter.
And a parameter adjusting unit 63, configured to adjust the second working parameter corresponding to the server until the second working parameter corresponding to the server meets the preset second working parameter when it is detected that the first operating mode is the high performance mode and the second working parameter corresponding to the server at the current time is inconsistent with the preset second working parameter.
In some embodiments, the parameter adjusting unit 63 is further configured to, when it is detected that the first operation mode is the mute mode and the first working parameter corresponding to the server meets the preset first working parameter, obtain a first preset temperature corresponding to the first operation mode and a temperature corresponding to the server at the current time, and when it is detected that the temperature corresponding to the server at the current time is not consistent with the first preset temperature, adjust the second working parameter corresponding to the server so that the temperature corresponding to the server meets the first preset temperature.
In some embodiments, the parameter adjusting unit 63 is further configured to, when it is detected that the first operation mode is the high performance mode and the second working parameter corresponding to the server meets the preset second working parameter, obtain a second preset temperature corresponding to the first operation mode and a temperature corresponding to the server at the current time; and when the temperature of the server at the current moment is detected to be inconsistent with the second preset temperature, adjusting the first working parameter corresponding to the server until the temperature corresponding to the server meets the second preset temperature.
In some embodiments, the first operating parameter includes at least one of a rotational speed of a fan in a heat dissipation module of the server, a number of the fans, and a screen opening ratio of the fan; the second operating parameter includes at least one of an operating voltage and an operating frequency of the server.
It is to be understood that apparatus embodiments and method embodiments may correspond to one another and that similar descriptions may refer to method embodiments. To avoid repetition, further description is omitted here. Specifically, the apparatus shown in fig. 6 may execute the embodiment of the server control method, and the foregoing and other operations and/or functions of each module in the apparatus are respectively for implementing the embodiment of the model training method corresponding to the computing device, and are not described herein again for brevity.
The apparatus of the embodiments of the present application is described above in connection with the drawings from the perspective of functional modules. It should be understood that the functional modules may be implemented by hardware, by instructions in software, or by a combination of hardware and software modules. Specifically, the steps of the method embodiments in the present application may be implemented by integrated logic circuits of hardware in a processor and/or instructions in the form of software, and the steps of the method disclosed in conjunction with the embodiments in the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. Alternatively, the software modules may be located in random access memory, flash memory, read only memory, programmable read only memory, electrically erasable programmable memory, registers, and the like, as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps in the above method embodiments in combination with hardware thereof.
Fig. 7 is a schematic block diagram of an electronic device provided in an embodiment of the present application, where the electronic device may be configured to execute the server control method described above.
As shown in fig. 7, the electronic device 70 may include:
a memory 71 and a processor 72, the memory 71 being adapted to store a computer program and to transfer the program code to the processor 72. In other words, the processor 72 may call and run a computer program from the memory 71 to implement the method in the embodiment of the present application.
For example, the processor 72 may be configured to perform the above-described method embodiments according to instructions in the computer program.
In some embodiments of the present application, the processor 72 may include, but is not limited to:
general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like.
In some embodiments of the present application, the memory 71 includes, but is not limited to:
volatile memory and/or non-volatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), double Data Rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), SLDRAM (Synchronous link DRAM), and Direct Rambus RAM (DR RAM).
In some embodiments of the present application, the computer program may be partitioned into one or more modules, which are stored in the memory 71 and executed by the processor 72 to perform the methods provided herein. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, the instruction segments describing the execution of the computer program in the video production device.
As shown in fig. 7, the electronic device 70 may further include:
a transceiver 73, the transceiver 73 being connectable to the processor 72 or the memory 71.
The processor 72 may control the transceiver 73 to communicate with other devices, and specifically, may transmit information or data to the other devices or receive information or data transmitted by the other devices. The transceiver 73 may include a transmitter and a receiver. The transceiver 73 may further include an antenna, and the number of the antennas may be one or more.
It will be appreciated that the various components in the device are connected by a bus system which includes a power bus, a control bus and a status signal bus in addition to a data bus.
According to an aspect of the present application, there is provided a computer storage medium having a computer program stored thereon, which, when executed by a computer, enables the computer to perform the method of the above-described method embodiments. In other words, the present application also provides a computer program product containing instructions, which when executed by a computer, cause the computer to execute the method of the above method embodiments.
According to another aspect of the application, a computer program product or computer program is provided, comprising computer instructions stored in a computer readable storage medium. The computer instructions are read by a processor of the computing device from the computer-readable storage medium, and the processor executes the computer instructions to cause the computing device to perform the method of the above-described method embodiment.
In other words, 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, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. 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, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the 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 Digital Video Disc (DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)), among others.
Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the module is merely a logical division, and other divisions may be realized in practice, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on 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 the present embodiment. For example, functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A server control method, comprising:
determining the direction of a cabinet body of a server at the current moment, and determining a first operation mode of the server based on the direction of the cabinet body;
acquiring a preset working parameter corresponding to the first running mode and a working parameter corresponding to the server at the current moment;
if the working parameter corresponding to the server at the current moment is inconsistent with the preset working parameter, adjusting the working parameter corresponding to the server until the working parameter corresponding to the server meets the preset working parameter;
the working parameters comprise a first working parameter and a second working parameter, the first operation mode comprises a mute mode and a high-performance mode, the first working parameter comprises relevant parameters of a heat dissipation module of the server, and the second working parameter comprises operation parameters of the server; the adjusting the working parameters corresponding to the server includes:
if the first operation mode is the mute mode and the first working parameter corresponding to the server at the current moment is inconsistent with a preset first working parameter, adjusting the first working parameter corresponding to the server until the first working parameter corresponding to the server meets the preset first working parameter;
and if the first operation mode is the high-performance mode and the second working parameter corresponding to the server at the current moment is not consistent with the preset second working parameter, adjusting the second working parameter corresponding to the server until the second working parameter corresponding to the server meets the preset second working parameter.
2. The server control method according to claim 1, wherein if the first operation mode is the silent mode and the first operating parameter corresponding to the server satisfies the preset first operating parameter, the method further comprises:
acquiring a first preset temperature corresponding to the first operation mode and a temperature corresponding to the server at the current moment;
if the temperature corresponding to the server at the current moment is inconsistent with the first preset temperature, adjusting a second working parameter corresponding to the server until the temperature corresponding to the server meets the first preset temperature.
3. The server control method according to claim 1, wherein if the first operation mode is the high performance mode and a second operating parameter corresponding to the server satisfies the preset second operating parameter, the method further comprises:
acquiring a second preset temperature corresponding to the first operation mode and a temperature corresponding to the server at the current moment;
and if the temperature of the server at the current moment is not consistent with the second preset temperature, adjusting the first working parameter corresponding to the server until the temperature corresponding to the server meets the second preset temperature.
4. The server control method according to any one of claims 1 to 3,
the first working parameter comprises at least one of the rotating speed of fans in the heat dissipation module of the server, the number of the fans and the aperture ratio of filter screens of the fans;
the second operating parameter includes at least one of an operating voltage and an operating frequency of the server.
5. The server control method of claim 1, wherein determining a first operating mode of a server based on the orientation of the cabinet comprises:
determining the state of a mode control switch at the current moment, wherein the mode control switch is used for fixing the operation mode of the server in a preset mode;
determining a first operating mode of the server based on the orientation of the cabinet and the state of the mode control switch.
6. The server control method of claim 1, wherein determining a first mode of operation of the server based on the orientation of the cabinet comprises:
if the cabinet body is in the vertical direction, determining that the first operation mode is the mute mode;
and if the direction of the cabinet body is the horizontal direction, determining that the first operation mode is the high-performance mode.
7. The server control method of claim 1, wherein the determining the orientation of the cabinet of the server at the current time comprises:
acquiring the direction of the cabinet body sent by a direction detection device in a preset time period, wherein the direction detection device is used for detecting the direction of the cabinet body;
and determining the direction of the cabinet body at the current moment based on the direction of the cabinet body in the preset time period.
8. The server control method according to claim 7, wherein the direction detection device is a direction sensor, and the direction sensor is located in the cabinet.
9. A server control apparatus, characterized by comprising: the system comprises a server, a heat dissipation module in communication connection with the server, and a direction detection device in communication connection with the server;
the heat dissipation module is used for dissipating heat of the server;
the direction detection device is used for determining the direction of the cabinet body of the server at the current moment and sending the direction of the cabinet body to the server;
the server is used for determining a first operation mode of the server based on the direction of the cabinet body, acquiring a preset working parameter corresponding to the first operation mode and a working parameter corresponding to the server at the current moment, and adjusting the working parameter corresponding to the server when the working parameter corresponding to the server at the current moment is detected to be inconsistent with the preset working parameter so as to enable the working parameter corresponding to the server to meet the preset working parameter;
the working parameters comprise a first working parameter and a second working parameter, the first operation mode comprises a mute mode and a high-performance mode, the first working parameter comprises relevant parameters of a heat dissipation module of the server, and the second working parameter comprises operation parameters of the server;
the server is specifically configured to, when it is detected that the first operating mode is the silent mode and the first working parameter corresponding to the server at the current time is inconsistent with a preset first working parameter, adjust the first working parameter corresponding to the server so that the first working parameter corresponding to the server meets the preset first working parameter, and when it is detected that the first operating mode is the high performance mode and the second working parameter corresponding to the server at the current time is inconsistent with a preset second working parameter, adjust the second working parameter corresponding to the server so that the second working parameter corresponding to the server meets the preset second working parameter.
10. A server control apparatus, characterized by comprising:
the determining unit is used for determining the direction of a cabinet body of the server at the current moment and determining a first operation mode of the server based on the direction of the cabinet body;
the acquisition unit is used for acquiring preset working parameters corresponding to the first operation mode and working parameters corresponding to the server at the current moment;
the parameter adjusting unit is used for adjusting the working parameters corresponding to the server when the working parameters corresponding to the server at the current moment are inconsistent with the preset working parameters, so that the working parameters corresponding to the server meet the preset working parameters;
the working parameters comprise a first working parameter and a second working parameter, the first operation mode comprises a mute mode and a high-performance mode, the first working parameter comprises relevant parameters of a heat dissipation module of the server, and the second working parameter comprises operation parameters of the server;
the parameter adjusting unit is specifically configured to, when it is detected that the first operating mode is the silent mode and the first working parameter corresponding to the server at the current time is inconsistent with a preset first working parameter, adjust the first working parameter corresponding to the server so that the first working parameter corresponding to the server meets the preset first working parameter, and when it is detected that the first operating mode is the high performance mode and the second working parameter corresponding to the server at the current time is inconsistent with a preset second working parameter, adjust the second working parameter corresponding to the server so that the second working parameter corresponding to the server meets the preset second working parameter.
11. An electronic device, comprising: a memory, a processor;
the memory for storing a computer program;
the processor for executing the computer program to implement the method of any one of the preceding claims 1 to 8.
12. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, are configured to implement the method of any one of claims 1 to 8.
CN202211600810.1A 2022-12-14 2022-12-14 Server control method, device, equipment and storage medium Active CN115617620B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211600810.1A CN115617620B (en) 2022-12-14 2022-12-14 Server control method, device, equipment and storage medium
PCT/CN2023/108944 WO2024124908A1 (en) 2022-12-14 2023-07-24 Server control method and apparatus, device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211600810.1A CN115617620B (en) 2022-12-14 2022-12-14 Server control method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115617620A CN115617620A (en) 2023-01-17
CN115617620B true CN115617620B (en) 2023-04-11

Family

ID=84879884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211600810.1A Active CN115617620B (en) 2022-12-14 2022-12-14 Server control method, device, equipment and storage medium

Country Status (2)

Country Link
CN (1) CN115617620B (en)
WO (1) WO2024124908A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115617620B (en) * 2022-12-14 2023-04-11 中科声龙科技发展(北京)有限公司 Server control method, device, equipment and storage medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7032119B2 (en) * 2000-09-27 2006-04-18 Amphus, Inc. Dynamic power and workload management for multi-server system
JP4715925B2 (en) * 2009-01-06 2011-07-06 ソニー株式会社 Display control apparatus, display control method, and program
CN101888316B (en) * 2010-05-06 2012-04-18 袁隽 Method and device for controlling energy consumption of servers according to characteristic parameters of application scenes
CN103277873B (en) * 2013-05-21 2016-12-28 四川长虹电器股份有限公司 A kind of control method and device
CN107741084B (en) * 2017-09-30 2019-09-27 广东美的制冷设备有限公司 The recommended method of air conditioner and its operating parameter, system and big data server
CN109450728B (en) * 2018-11-01 2022-02-18 郑州云海信息技术有限公司 Cabinet server control method, device, equipment and storage medium
CN111741122A (en) * 2020-07-03 2020-10-02 广州小沙鸥科技有限公司 Intelligent household equipment control system based on cloud computing
CN114060296B (en) * 2020-08-03 2023-06-09 广东美的环境电器制造有限公司 Electric fan control method and device, electric fan and computer readable storage medium
CN113852564A (en) * 2021-11-29 2021-12-28 苏州浪潮智能科技有限公司 Server control method, device and medium
CN114867297A (en) * 2022-04-29 2022-08-05 深圳市瀚强科技股份有限公司 Liquid cooling cabinet, and computing equipment cooling control system and method
CN114880192B (en) * 2022-06-07 2024-06-25 苏州浪潮智能科技有限公司 Server power consumption management and control method, system and storage medium
CN115617620B (en) * 2022-12-14 2023-04-11 中科声龙科技发展(北京)有限公司 Server control method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN115617620A (en) 2023-01-17
WO2024124908A1 (en) 2024-06-20

Similar Documents

Publication Publication Date Title
CN115617620B (en) Server control method, device, equipment and storage medium
CN103649869B (en) Multi-level thermal management in an electronic device
US8233644B2 (en) Multiple fan acoustic interaction control
US7305569B2 (en) Apparatus, system and method for adjusting a set of actual power states according to a function depending on a set of desired power states
TW202044894A (en) Transmission configuration indication switching procedure in new radio mobile communications
CN110778517A (en) Fan control method, device and storage medium
US10624025B2 (en) Method and apparatus for controlling scan period in wireless communication system
US10469517B1 (en) Centralized security for connected devices
WO2021042245A1 (en) Method and apparatus for controlling heat dissipation device
US20230063202A1 (en) Method and Apparatus for Scheduling Service, Electronic Device, and Storage Medium
CN111142640B (en) Control method of electronic equipment
CN114138345A (en) Method, device and equipment for low-temperature starting of edge server and readable medium
US11147186B2 (en) Predictive fan control using workload profiles
CN111610837A (en) Heat dissipation method and device
CN113865022A (en) Control method and device of air conditioner
CN114564093B (en) Equipment heat dissipation method and device, electronic equipment and storage medium
CN111523653A (en) Arithmetic device and method
CN105813138A (en) Information processing method and first electronic device
CN107408071A (en) A kind of memory pool access method, device and system
US9541299B2 (en) Setting-independent climate regulator control
CN118525485A (en) Equipment control method, device, equipment and storage medium
JP2020170743A (en) Control device, control method, and control program for electronic device
CN112462904A (en) Hard disk cooling device and control method thereof
CN221531614U (en) Household-level information processing device
CN114459158B (en) Household heat supply control method, system, electronic equipment and 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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230419

Address after: 10 Jialeng Road, Singapore # 09-11 339510

Patentee after: Shenglong (Singapore) Pte. Ltd.

Address before: 1605, floor 16, No. 9, North Fourth Ring West Road, Haidian District, Beijing 100083

Patentee before: SUNLUNE TECHNOLOGY DEVELOPMENT (BEIJING) Co.,Ltd.