Method and device for server seismic testing, computer equipment, and storage medium

By conducting vibration tests on the server and detecting its operating parameters, the problem that existing technology cannot evaluate the seismic performance of the server is solved, and the seismic performance test of the server in a simulated earthquake environment is realized to ensure its safety in an actual earthquake environment.

CN114036010BActive Publication Date: 2024-10-18CHINA ACADEMY OF INFORMATION & COMM
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111355044.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-16
Publication Date
2024-10-18
Estimated Expiration
2041-11-16

AI Technical Summary

Technical Problem

Existing server testing methods cannot detect the seismic performance of the server, especially cannot evaluate its seismic resistance under normal operation or load operation.

Method used

By conducting a vibration test on the server, the first operating parameter before the vibration and the second operating parameter after the vibration are detected, and an earthquake simulation shaking table is used to simulate the earthquake environment. The computer equipment determines the performance and anti-seismic level of the server based on these parameters.

Benefits of technology

It realizes the seismic performance testing of servers in simulated earthquake environments and can evaluate the seismic resistance level of servers to ensure their safety and reliability in actual earthquake environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114036010B_ABST
    Figure CN114036010B_ABST
Patent Text Reader

Abstract

The present application relates to the field of server application technology, and discloses a method for server seismic testing, including: before vibrating the server, detecting and obtaining a first operating parameter of the server; after vibrating the server, detecting and obtaining a second operating parameter of the server; and determining the seismic performance level of the server according to the first operating parameter and the second operating parameter of the server. The seismic performance level of the server is determined by vibrating the server and detecting the first operating parameter before the vibration and the second operating parameter after the vibration. Thus, by determining the seismic level, the seismic performance detection of the server is realized in a simulated earthquake environment. The present application also discloses a device, computer equipment, and storage medium for server seismic testing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of server application technology, for example, to a method and apparatus, computer equipment, and storage medium for seismic testing of servers. Background Art

[0002] With the development of modern technology, servers are an important part of data centers and are computer systems that provide specific application services. In the context of big data cloud computing, servers carry key services and data tasks, so the security and reliability of servers are crucial.

[0003] At present, the existing server testing methods include SS1, obtaining the standard value of the BMC (Baseboard Management Controller) function module; SS2, obtaining the test value of the BMC function module; SS3, comparing the standard value of the BMC function module with the test value of the BMC function module. If the standard value of the BMC function module is consistent with the test value of the BMC function module, the server BMC Redfish function is normal; if the standard value of the BMC function module is inconsistent with the test value of the BMC function module, the server BMC Redfish function is abnormal.

[0004] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:

[0005] In the existing testing methods for servers, only whether the server function is abnormal when the server is running normally or under load is determined, and the seismic performance of the server cannot be detected. Summary of the invention

[0006] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0007] The embodiments of the present disclosure provide a method, an apparatus and a computer device for seismic testing of a server to detect the seismic performance of the server.

[0008] In some embodiments, the method for server seismic testing includes:

[0009] Before vibrating the server, detecting and obtaining a first operating parameter of the server;

[0010] After vibrating the server, detecting and obtaining a second operating parameter of the server;

[0011] A performance earthquake resistance level of the server is determined according to the first operating parameter and the second operating parameter of the server.

[0012] In some embodiments, the device for server seismic testing includes:

[0013] A processor and a memory storing program instructions, wherein the processor is configured to execute the method for server seismic test as described above when executing the program instructions.

[0014] In some embodiments, the computer device comprises:

[0015] The device for server earthquake resistance testing as described above.

[0016] In some embodiments, the storage medium includes:

[0017] Program instructions are stored, and when the program instructions are run, the method for server earthquake resistance testing as described above is executed.

[0018] The method and apparatus for server seismic testing, computer equipment, and storage medium provided in the embodiments of the present disclosure can achieve the following technical effects:

[0019] The server is vibrated and the first operating parameter before the vibration and the second operating parameter after the vibration are detected to determine the seismic performance level of the server. Thus, by determining the seismic level, the seismic performance detection of the server is realized in a simulated earthquake environment.

[0020] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

[0022] Figure 1 is a schematic diagram of a vibration scenario provided by an embodiment of the present disclosure;

[0023] Figure 2 is a schematic diagram of a method for seismic testing of a server provided by an embodiment of the present disclosure;

[0024] Figure 3 is a schematic diagram of another method for server seismic testing provided by an embodiment of the present disclosure;

[0025] Figure 4 is a schematic diagram of another method for server seismic testing provided by an embodiment of the present disclosure;

[0026] Figure 5 is a schematic diagram of another method for server seismic testing provided by an embodiment of the present disclosure;

[0027] Figure 6 is a schematic diagram of another method for server seismic testing provided by an embodiment of the present disclosure;

[0028] Figure 7 It is a schematic diagram of a device for server seismic testing provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0030] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0031] Unless otherwise stated, the term "plurality" means two or more.

[0032] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0033] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0034] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0035] Combination Figure 1 As shown, a schematic diagram of a vibration scenario provided by an embodiment of the present disclosure includes: an earthquake simulation vibration table, a rack, a server under test, a power cord, and a power supply;

[0036] The server under test is installed on the earthquake simulation vibration table through a rack; the server under test is connected to the power supply through a power cord; a triaxial acceleration sensor is mounted on the server under test to detect the natural frequency and damping ratio parameters of the server under test;

[0037] Among them, the X direction, Y direction, and Z direction represent the vibration directions of the server under test.

[0038] In practical applications, the number of servers under test may be one or more, and this application does not impose any specific limitation on this, as long as it can reflect the server vibration scenario simulated by the earthquake simulation vibration table.

[0039] In this way, by installing the server on an earthquake simulation vibration table, the server can simulate an earthquake environment, providing an environmental basis for subsequent determination of the server's earthquake resistance testing.

[0040] Combination Figure 2 As shown, the embodiment of the present disclosure provides a method for seismic testing of a server, comprising:

[0041] S11, before vibrating the server, the computer device detects and obtains the first operating parameter of the server.

[0042] In this technical solution, the vibration of the server is achieved through an earthquake simulation vibration table, which can control the input acceleration to simulate the working condition of the server equipment in an earthquake environment, providing an environmental basis for the subsequent determination of the server's earthquake resistance test.

[0043] S12, after vibrating the server, the computer device detects and obtains the second operating parameter of the server.

[0044] In the present technical solution, the vibration of the server includes vibrating the server in a first manner or vibrating the server in a second manner. The first manner is a multi-axial and multi-frequency vibration manner, and the second manner is a single-axial and multi-frequency vibration manner. In practical applications, the axial direction of the vibration mode includes: one or more of the horizontal X-axis, the horizontal Y-axis, and the vertical Z-axis. In practical applications, the frequency of the vibration mode can be to vibrate the server in a frequency range of 1 Hz to 50 Hz. It should be understood that the first manner and the second manner are formed according to the different selections of the axial direction and the frequency range, and the present application does not make specific limitations on this.

[0045] S13, the computer device determines the seismic performance level of the server according to the first operating parameter and the second operating parameter of the server.

[0046] In the present technical solution, the first operating parameter of the server refers to the pre-earthquake operating parameter of the server, and the second operating parameter of the server refers to the post-earthquake operating parameter corresponding to the pre-earthquake operating parameter of the server. In practical applications, the pre-earthquake operating parameter of the server and the corresponding post-earthquake operating parameter may be one or more of the processor operating temperature, fan speed, system voltage, and keyboard IOPS (input / output operations per second).

[0047] In this way, by vibrating the server and detecting the first operating parameter before the vibration and the second operating parameter after the vibration, the seismic performance level of the server is determined. Thus, by determining the seismic level, the seismic performance detection of the server in a simulated earthquake environment is realized.

[0048] Optionally, determining the seismic performance level of the server includes:

[0049] Compare the first operating parameter and the second operating parameter of the server; determine the seismic performance level of the server according to the corresponding relationship between the comparison result and the preset threshold value; wherein the second operating parameter of the server is obtained by detecting after vibrating the server in the first manner.

[0050] In the present technical solution, comparing the first operating parameter and the second operating parameter of the server may be comparing the difference between the first operating parameter and the second operating parameter, or determining whether the second operation of the server meets the rated parameter corresponding to the first operating parameter.

[0051] Optionally, comparing the difference between the first operating parameter and the second operating parameter includes:

[0052] Compare the difference between the first operating parameter and the second operating parameter; determine the preset threshold corresponding to the difference based on the correspondence between the difference and the preset threshold; determine the performance earthquake resistance level of the server based on the correspondence between the preset threshold and the performance earthquake resistance level of the server.

[0053] Optionally, determining whether the second operation of the server satisfies a rated parameter corresponding to the first operation parameter includes:

[0054] Obtain the rated parameter corresponding to the first operating parameter; compare the difference between the second operating parameter and the rated parameter; determine the preset threshold corresponding to the difference based on the correspondence between the difference and the preset threshold; determine the performance seismic resistance level of the server based on the correspondence between the preset threshold and the performance seismic resistance level of the server.

[0055] In some optional embodiments, the first operating parameter may be the server's pre-seismic natural frequency and damping ratio parameters obtained by detecting a three-axial acceleration sensor; the second operating parameter may be the server's post-seismic natural frequency and damping ratio parameters obtained by detecting a three-axial acceleration sensor.

[0056] Table 1 below provides an example table of correspondence between a comparison result and a preset threshold value to determine the performance earthquake resistance level of the server. The example table of correspondence is used to indicate the correspondence between the comparison result, the preset threshold value, and the performance earthquake resistance level of the server.

[0057] Table 1: Example of the relationship between comparison results, preset thresholds, and server performance seismic resistance levels

[0058] Comparison results Preset Threshold The server's performance earthquake resistance level First result First threshold range First performance earthquake resistance level Second result Second threshold range Second performance earthquake resistance level … … … Nth result Nth Threshold Range Nth performance earthquake resistance level

[0059] It should be understood that the server represented by the first performance earthquake resistance level has the highest performance earthquake resistance level, and the server represented by the Nth performance earthquake resistance level has the lowest performance earthquake resistance level. From the first performance earthquake resistance level to the Nth performance earthquake resistance level, the performance earthquake resistance level of the servers represented respectively decreases gradually.

[0060] In practical applications, the first operating parameter of the server detected can be the processor operating temperature before the server is vibrated, that is, the first operating temperature of the processor; the rated parameter corresponding to the first operating temperature of the processor is the first rated temperature of the processor; and the second operating parameter can be the processor operating temperature after the server is vibrated, that is, the second operating temperature of the processor. By comparing the difference between the first rated temperature of the processor and the second operating temperature of the processor, such as a difference of 10°C, the corresponding preset threshold belongs to the second threshold range, and then it is determined that the performance seismic resistance level of the server belongs to the second performance seismic resistance level. It should be understood that the range setting of the preset threshold can be determined according to the actual working conditions, and the rated parameters of different server components are different. This application does not make specific limitations on this, as long as the preset threshold can be determined according to the comparison result, and then the performance seismic resistance level of the server can be determined.

[0061] In this way, by vibrating the server and detecting the first operating parameter before the vibration and the second operating parameter after the vibration, the seismic performance level of the server is determined. Thus, by determining the seismic level, the seismic performance detection of the server in a simulated earthquake environment is realized.

[0062] Combination Figure 3 As shown, the embodiment of the present disclosure provides another method for seismic testing of a server, comprising:

[0063] S21, before vibrating the server, the computer device detects and obtains the first operating parameter of the server.

[0064] S22, after vibrating the server, the computer device obtains a server performance shutdown instruction.

[0065] In the technical solution, the server performance shutdown instruction includes: shutting down some server devices that support redundant operation. Shutting down some server devices that support redundant operation may be one or more of shutting down some fans, shutting down some power supplies, and shutting down some processors. It should be understood that the server devices that support redundant operation refer to server devices that have the same function and are plural in number.

[0066] S23, the computer device obtains a second operating parameter of the server corresponding to the server performance shutdown instruction.

[0067] In the present technical solution, the second operating parameter of the server is obtained by detecting after vibrating the server in a second manner.

[0068] S24, the computer device determines the seismic performance level of the server according to the first operating parameter and the second operating parameter of the server.

[0069] In this embodiment, the performance earthquake resistance level of the server determined based on the first operating parameter and the second operating parameter of the server is the performance earthquake resistance level of the server corresponding to the performance shutdown instruction.

[0070] In actual applications, the first operating parameter of the server detected and obtained may be the fan speed before the server is vibrated, that is, the first fan speed; and the second operating parameter may be the fan speed after the server is vibrated, that is, the second fan speed. By comparing the difference between the first fan speed and the second fan speed, such as the difference is 1000rpm, the corresponding preset threshold belongs to the third threshold range, and then it is determined that the performance seismic resistance level of the server belongs to the third performance seismic resistance level. It should be understood that in this embodiment, the method of determining the performance seismic resistance level of the server according to the first operating parameter and the second operating parameter of the server is the same as that involved in the above embodiment, and will not be repeated in this embodiment. Among them, the preset threshold involved in this embodiment is related to the performance shutdown instruction, and the numerical range is different from the value in the above embodiment.

[0071] In this way, by vibrating the server and detecting the first operating parameter before the vibration and the second operating parameter of the server corresponding to the server performance shutdown instruction, the performance earthquake resistance level of the server corresponding to the performance shutdown instruction is determined. Thus, by determining the earthquake resistance level corresponding to the performance shutdown instruction, the earthquake resistance performance detection of the server in the simulated earthquake environment is realized.

[0072] Combination Figure 4 As shown, the embodiment of the present disclosure provides another method for seismic testing of a server, comprising:

[0073] S31, before vibrating the server, detecting and obtaining a first operating parameter of the server.

[0074] S32, after vibrating the server, detecting and obtaining a second operating parameter of the server.

[0075] In the present technical solution, the second operating parameter of the server is obtained by detecting after vibrating the server in the first manner.

[0076] S33: Determine a first performance earthquake resistance level of the server according to the first operating parameter and the second operating parameter of the server.

[0077] S34, obtaining a server performance shutdown instruction.

[0078] S35, obtaining a third operating parameter of the server corresponding to the server performance shutdown instruction.

[0079] In the present technical solution, the third operating parameter of the server corresponding to the server performance shutdown instruction is obtained by detecting after vibrating the server in the second manner. It should be understood that the third operating parameter of the server refers to the post-vibration operating parameter corresponding to the server performance shutdown instruction. In practical applications, the post-vibration operating parameter corresponding to the server performance shutdown instruction may be one or more of the processor operating temperature, fan speed, system voltage, and keyboard IOPS.

[0080] S36, determining the influencing factors of the server's performance earthquake resistance level according to the third operating parameter of the server corresponding to the server performance shutdown instruction.

[0081] Optionally, determining the influencing factor of the performance earthquake resistance level of the server according to the third operating parameter of the server corresponding to the server performance shutdown instruction includes:

[0082] Determine a second performance earthquake resistance level of the server according to the first operating parameter and the third operating parameter of the server; compare the first performance earthquake resistance level of the server with the second performance earthquake resistance level of the server to determine factors affecting the performance earthquake resistance level of the server.

[0083] In the present technical solution, when the comparison result of the first performance earthquake resistance level of the server and the second performance earthquake resistance level of the server is the same earthquake resistance level, it is considered that the selected server operating parameters do not affect the performance earthquake resistance level of the server this time. When the comparison result is a decrease in the earthquake resistance level, it is considered that the selected server operating parameters are factors affecting the performance earthquake resistance level of the server this time, but have nothing to do with the server components shut down by the performance shutdown command. When the comparison result is an increase in the earthquake resistance level, it is considered that the selected server operating parameters are factors affecting the performance earthquake resistance level of the server this time, and are related to the server components shut down by the performance shutdown command. It should be understood that determining the second performance earthquake resistance level of the server based on the first operating parameters and the third operating parameters of the server is the same as the method in the above-mentioned embodiment, and this embodiment will not be repeated.

[0084] In practical applications, the first operating parameter of the server detected and obtained may be the IOPS of the keyboard before the server is vibrated, that is, the first IOPS; the second operating parameter may be the IOPS of the keyboard after the server is vibrated, that is, the second IOPS. By comparing the difference between the first IOPS and the second IOPS, the corresponding preset threshold value belongs to the third threshold range, and then it is determined that the performance seismic resistance level of the server belongs to the third performance seismic resistance level. The third operating parameter of the server corresponding to the server performance shutdown instruction may be the IOPS of the keyboard after closing part of the server keyboard, that is, the third IOPS. By comparing the third IOPS and the first IOPS rated parameter after closing part of the server keyboard corresponding to the first IOPS, the corresponding threshold value belongs to the second threshold range, and then it is determined that the performance seismic resistance level of the server belongs to the second performance seismic resistance level. The second performance seismic resistance level is a level increase compared to the third performance seismic resistance level, and it is determined that the influencing factor affecting the performance seismic resistance level of the server this time is related to the server device closed by the performance shutdown instruction, that is, there are read and write errors and / or physical bad sectors in the hard disk associated with the closed part of the keyboard. It should be understood that, in this embodiment, the manner of determining the performance earthquake resistance level of the server based on the first operating parameter and the second operating parameter of the server is the same as that involved in the above embodiment, and will not be repeated in this embodiment.

[0085] In this way, the first performance earthquake resistance level of the server is detected by vibrating in the first way, and the second performance earthquake resistance level of the server is detected by vibrating in the second way, and the influencing factors of the performance earthquake resistance level of the server are determined by the first performance earthquake resistance level and the second performance earthquake resistance level. In this way, the influencing factors are located and the accuracy of the earthquake resistance performance detection of the server is improved.

[0086] Combination Figure 5 As shown, the embodiment of the present disclosure provides another method for server seismic testing, comprising:

[0087] S41, after vibrating the server, an appearance image of the server is detected and obtained.

[0088] In the present technical solution, the server is vibrated to detect and obtain the appearance image, and the vibration mode may be the first mode vibration or the second mode vibration.

[0089] S42, determining the earthquake resistance level of the shell of the server according to the appearance image of the server.

[0090] Optionally, determine the seismic resistance level of the server casing, including:

[0091] Obtain coordinate information of the server appearance image; select a reference position according to the coordinate information; determine multiple interval positions at preset intervals within the coordinate area corresponding to the reference position; determine the shadow area of ​​the server appearance image according to the interval positions; determine the seismic resistance level of the server shell according to the correspondence between the shadow area of ​​the server appearance image and the preset ratio.

[0092] In the present technical solution, the coordinate area corresponding to the reference position may be a horizontal coordinate area of ​​the reference position or a vertical coordinate area of ​​the reference position.

[0093] In the present technical solution, the preset interval may be a coordinate interval of 50, 30, 80 or other values, and a coordinate interval of 50 is usually selected as the preset interval value.

[0094] Optionally, determining a shadow area of ​​the server appearance image according to the interval position includes:

[0095] Obtain the grayscale value of the interval position; when the grayscale value of the interval position is less than a preset grayscale value, identify the interval position corresponding to the grayscale value as a shadow position; when the number of the shadow positions is greater than a preset number, identify the coordinate area corresponding to the interval position as a shadow area.

[0096] In the technical solution, when the grayscale value of the interval position is less than the preset grayscale value, identifying the interval position corresponding to the grayscale value as a shadow position can be when the grayscale value of the interval position is less than 20, 25, 30 or other values, identifying the interval position corresponding to the aforementioned grayscale value as a shadow position. The preset grayscale value is usually 25.

[0097] In the present technical solution, when the number of shadow positions is greater than a preset number, the coordinate area corresponding to the identified interval position is the shadow area, and the preset number is set such that the corresponding longitudinal coordinate area is the area corresponding to the image height, which is expressed as image height / 50 / 1.4; or, the preset number is set such that the corresponding longitudinal coordinate area is the area corresponding to the image width, which is expressed as image width / 50 / 2.

[0098] Optionally, determine the seismic resistance level of the server casing, including:

[0099] Obtain a method for vibrating the server; determine a preset ratio corresponding to the vibration method based on a correspondence between the vibration method and the preset ratio; determine an earthquake resistance level of the server shell corresponding to the vibration method based on a correspondence between a shadow area ratio of an appearance image of the server and the preset ratio.

[0100] In the present technical solution, the shadow area ratio of the server appearance image is the proportional relationship between the shadow area in the server appearance image and the server appearance image.

[0101] As shown in Table 2 below, a corresponding example table is provided for determining the seismic resistance grade of the server shell between the shadow area ratio of the server appearance image and the preset ratio. The corresponding example table is used to indicate the corresponding relationship between the shadow area ratio of the server appearance image, the preset ratio, and the seismic resistance grade of the server shell.

[0102] Table 2: Example of the correspondence between the shadow area ratio of the server appearance image, the preset ratio, and the seismic resistance level of the server shell

[0103]

[0104] It should be understood that the server represented by the first shell seismic resistance level has the highest shell seismic resistance level, and the server represented by the Mth shell seismic resistance level has the lowest shell seismic resistance level. From the first shell seismic resistance level to the Mth shell seismic resistance level, the shell seismic resistance levels of the servers represented respectively decrease gradually.

[0105] In this way, by vibrating the server and detecting and obtaining the appearance image of the server, the seismic resistance level of the server shell is determined. Thus, by determining the seismic resistance level, the seismic resistance detection of the server shell is realized in a simulated earthquake environment.

[0106] Combination Figure 6 As shown, the embodiment of the present disclosure provides another method for server seismic testing, comprising:

[0107] S51, before vibrating the server, detecting and obtaining a first operating parameter of the server.

[0108] S52, after vibrating the server, detecting and obtaining a second motion parameter of the server.

[0109] S53: Determine the seismic performance level of the server according to the first operating parameter and the second operating parameter of the server.

[0110] S54, after vibrating the server, an appearance image of the server is detected and obtained.

[0111] S55, determining the earthquake resistance level of the shell of the server according to the appearance image of the server.

[0112] In practical applications, it should be understood that detecting and obtaining the appearance image of the server can be performed before detecting and obtaining the second motion parameter of the server, that is, determining the seismic resistance level of the server's shell and determining the performance seismic resistance level of the server can be performed synchronously or asynchronously with a sequence. For the case of asynchronous execution, the present application does not specifically limit the priority order of determining the performance seismic resistance level of the server and determining the seismic resistance level of the server's shell. It should be understood that the method of determining the performance seismic resistance level of the server based on the first operating parameter and the second operating parameter of the server, and the method of determining the seismic resistance level of the server's shell based on the appearance image of the server are the corresponding processes in the above-mentioned embodiments, and will not be repeated here.

[0113] In this way, by vibrating the server and detecting the first operating parameter before the vibration and the second operating parameter after the vibration, the seismic performance level of the server is determined; and the seismic level of the server shell is determined through the appearance image of the server. Thus, by determining the seismic level, the seismic performance test of the server and the seismic test of the shell are realized in a simulated earthquake environment.

[0114] Combination Figure 7 As shown, an embodiment of the present disclosure provides a device for seismic testing of a server, including a processor 100 and a memory 101. Optionally, the device may also include a communication interface 102 and a bus 103. The processor 100, the communication interface 102, and the memory 101 may communicate with each other through the bus 103. The communication interface 102 may be used for information transmission. The processor 100 may call the logic instructions in the memory 101 to execute the method for seismic testing of the server of the above embodiment.

[0115] In addition, the logic instructions in the memory 101 described above may be implemented in the form of software functional units and when sold or used as independent products, may be stored in a computer-readable storage medium.

[0116] The memory 101 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 100 executes functional applications and data processing by running the program instructions / modules stored in the memory 101, that is, implements the method for server seismic testing in the above embodiment.

[0117] The memory 101 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 101 may include a high-speed random access memory and may also include a non-volatile memory.

[0118] An embodiment of the present disclosure provides a computer device, comprising the above-mentioned apparatus for server seismic testing.

[0119] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned method for seismic testing of a server.

[0120] An embodiment of the present disclosure provides a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the above-mentioned method for server seismic testing.

[0121] The computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0122] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes, or a transient storage medium.

[0123] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0124] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0125] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0126] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method for seismic testing of a server, characterized in that: include: Before vibrating the server, detecting and obtaining a first operating parameter of the server; After vibrating the server, detecting and obtaining a second operating parameter of the server; Determining a performance earthquake resistance level of the server according to a first operating parameter and a second operating parameter of the server; After vibrating the server, an appearance image of the server is obtained by detection; According to the appearance image of the server, coordinate information of the appearance image of the server is obtained; Select a reference position based on coordinate information; In the coordinate region corresponding to the reference position, a plurality of interval positions are determined at preset intervals; Determine the shadow area of ​​the server appearance image according to the interval position; According to the correspondence between the shadow area of ​​the server appearance image and the preset ratio, a method of vibrating the server is obtained; Determining the preset ratio corresponding to the vibration mode according to the corresponding relationship between the vibration mode and the preset ratio; According to the corresponding relationship between the shadow area ratio of the server appearance image and the preset ratio, the seismic resistance level of the shell of the server corresponding to the vibration mode is determined.

2. The method according to claim 1, characterized in that Determining the seismic performance level of the server includes: comparing a first operating parameter and a second operating parameter of the server; Determine the seismic performance level of the server based on the corresponding relationship between the comparison result and the preset threshold value; The second operating parameter of the server is obtained by detecting after vibrating the server in a first manner.

3. The method according to claim 1, characterized in that After vibrating the server, detecting and obtaining a second operating parameter of the server further includes: Get the server performance shutdown instruction; Acquire a second operating parameter of the server corresponding to the server performance shutdown instruction; The second operating parameter of the server is obtained by detecting after vibrating the server in a second manner.

4. The method according to claim 1, characterized in that: Determining the shadow area of ​​the server appearance image according to the interval position includes: Get the grayscale value of the interval position; In a case where the grayscale value of the interval position is less than a preset grayscale value, identifying the interval position corresponding to the grayscale value as a shadow position; When the number of the shadow positions is greater than a preset number, the coordinate areas corresponding to the interval positions are identified as shadow areas.

5. A device for server seismic testing, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for server seismic testing according to any one of claims 1 to 4 when following the program instructions.

6. A computer device, characterized in that: It comprises the device for server earthquake resistance testing as claimed in claim 5.

7. A storage medium storing program instructions, characterized in that: When the program instructions are executed, the method for server seismic testing according to any one of claims 1 to 4 is executed.

Citation Information

Patent Citations

  • Mounting frame for machine vision equipment

    CN103615640A

  • Remote sensing building earthquake damage assessment method and system based on deep learning and cloud computing

    CN111985355A