A method, device, equipment and storage medium for performance index testing

After the server management software is deployed, the performance indicators are tested using test instructions and server in-band information acquisition tools, and the problem of difficult to locate potential problems in the deployment of server management software is solved, and the rapid positioning and solving performance data collection and display problems are achieved, which improves development efficiency.

CN114996070BActive Publication Date: 2025-06-27JINAN INSPUR DATA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210753489.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-29
Publication Date
2025-06-27
Estimated Expiration
2042-06-29

AI Technical Summary

Technical Problem

After the server management software is deployed, it is difficult to effectively locate potential problems, which makes it difficult to resolve performance data collection and display problems, thereby increasing the time for deployment and solving problems and reducing the communication efficiency of developers.

Method used

By sending test instructions to the server in-band information acquisition tool, entering the test mode, determining the target performance indicators, and obtaining the corresponding data information according to the test request, storing and recording and graphing display to locate the problem.

Benefits of technology

This method facilitates developers to quickly locate performance data collection and display problems, improves the speed and efficiency of demand development, reduces the time for problem positioning and solving, and improves communication efficiency with developers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114996070B_ABST
    Figure CN114996070B_ABST
Patent Text Reader

Abstract

The present application discloses a performance index testing method, apparatus, device, and storage medium, relating to the field of computer technologies, including: sending a test instruction for testing the performance index of a server to an in-band information acquisition tool of the server, and receiving a signal indicating successful response to the test instruction to enter a test mode; determining a target performance index for a specified test performance in a test data set, and sending a test request corresponding to the target performance index to the in-band information acquisition tool of the server, so as to return corresponding data information according to the test request; wherein, the test data set is a set of all the server performance indexes; storing and recording the data information and graphically displaying it to locate problems in the data information. Through the technical solution of the present application, it is convenient for developers to investigate and troubleshoot problems regarding the acquisition and display of performance data, and improve the speed and efficiency of requirement development.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and particularly to a method, device, equipment and storage medium for testing performance indicators. Background Art

[0002] A server is a type of computer that runs faster, has a higher load, and is more expensive than an ordinary computer. Servers provide computing or application services for other client machines in the network, such as terminals like PCs and smartphones. Server management software (Server Manage Software, abbreviated as SMS) can control the operation of the server, manage and upgrade software at different levels such as hardware, operating systems, and application software, and manage system resources, maintain performance, and monitor configurations. Currently, the status of the server can be obtained through server management software in the computer room, and faulty servers can be located. However, after the server management software is deployed, potential problems in the deployment of SMS in the customer scenario cannot be effectively located. And when troubleshooting problems regarding the collection and display of performance data, due to the inability to effectively locate problems, the deployment and problem-solving take too much time, and the communication efficiency of developers is low.

[0003] In summary, how to facilitate developers to troubleshoot problems regarding the collection and display of performance data and improve the speed and efficiency of requirement development is an issue to be solved currently. Summary of the Invention

[0004] In view of this, the purpose of the present invention is to provide a method, device, equipment and storage medium for testing performance indicators, which can facilitate developers to troubleshoot problems regarding the collection and display of performance data and improve the speed and efficiency of requirement development. The specific solutions are as follows:

[0005] In a first aspect, the present application discloses a method for testing performance indicators, including:

[0006] Sending a test instruction for testing server performance indicators to a server in-band information acquisition tool, and receiving a signal indicating successful response to the test instruction returned by the server in-band information acquisition tool to enter the test mode;

[0007] Determining a target performance indicator for the performance of a specified test in a test data set, and sending a test request corresponding to the target performance indicator to the server in-band information acquisition tool, so that the server in-band information acquisition tool returns corresponding data information according to the test request; wherein, the test data set is a set of all the server performance indicators;

[0008] Store and record the data information, and graphically display the data information to locate problems in the data information.

[0009] Optionally, sending a test instruction for testing server performance metrics to the in-band information acquisition tool of the server includes:

[0010] Sending test instructions for the CPU usage rate, memory usage rate, disk size, read / write rate, and graphics card cache of the test server to the in-band information acquisition tool of the server.

[0011] Optionally, after sending the test instruction for testing server performance metrics to the in-band information acquisition tool of the server, it further includes:

[0012] Determine whether a response signal to the test instruction is received from the in-band information acquisition tool of the server within a first preset time interval;

[0013] If the response signal is received within the first preset time interval, enter the test mode and send the test data set for testing the server performance metrics;

[0014] If the response signal is not received within the first preset time interval, exit waiting for the response from the in-band information acquisition tool of the server and prompt that the entry into the test mode fails.

[0015] Optionally, after storing and recording the data information and graphically displaying the data information, it further includes:

[0016] Exit the test mode;

[0017] Moreover, after the in-band information acquisition tool of the server returns corresponding data information according to the test request, it further includes: exiting the test mode.

[0018] Optionally, storing and recording the data information and graphically displaying the data information to locate problems in the data information includes:

[0019] Store and record the data information to obtain a storage log;

[0020] Analyze and graphically display the data information in the storage log to locate problems in the data information.

[0021] In a second aspect, the present application discloses a method for testing performance metrics, including:

[0022] Receive the test instructions sent by the server management software for testing the server performance metrics, and send the signal of successful response to the test instructions to the server management software to enter the test mode;

[0023] Obtain the test requests corresponding to the target performance metrics, and send the corresponding data information to the server management software according to the test requests, so that the server management software stores and records the data information, and graphically displays the data information to locate the problems in the data information; wherein, the target performance metrics are the metrics for specifying the performance of the test in the test data set, and the test data set is the set of the server performance metrics.

[0024] Optionally, the performance metric testing method further includes:

[0025] Judge whether the test requests corresponding to the target performance metrics are obtained within the second preset time interval;

[0026] If the test requests are obtained within the second preset time interval, trigger the step of sending the corresponding data information to the server management software according to the test requests;

[0027] If the test requests are not obtained within the second preset time interval, exit the test mode.

[0028] In a third aspect, the present application discloses a performance metric testing device, including:

[0029] A test mode entry module, configured to send test instructions for testing server performance metrics to the server in-band information acquisition tool, and receive the signal of successful response to the test instructions returned by the server in-band information acquisition tool to enter the test mode;

[0030] A target performance metric determination module, configured to determine the target performance metrics for specifying the performance of the test in the test data set; wherein, the test data set is the set of the server performance metrics;

[0031] A data information acquisition module, configured to send the test requests corresponding to the target performance metrics to the server in-band information acquisition tool, so that the server in-band information acquisition tool returns the corresponding data information according to the test requests;

[0032] A problem location module, configured to store and record the data information, and graphically display the data information to locate the problems in the data information.

[0033] Fourth aspect, the present application discloses an electronic device, the electronic device includes a processor and a memory; wherein, the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the performance index test method as described above.

[0034] Fifth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the performance index test method as described above.

[0035] In the present application, the server management software sends a test instruction for testing the server performance index to the server in-band information acquisition tool, and receives a signal indicating successful response to the test instruction returned by the server in-band information acquisition tool to enter the test mode; determines the target performance index for the specified test performance in the test data set, and sends a test request corresponding to the target performance index to the server in-band information acquisition tool, so that the server in-band information acquisition tool returns corresponding data information according to the test request; wherein, the test data set is a set of all the server performance indexes; stores and records the data information to obtain a storage log; analyzes and graphically displays the data information in the storage log to locate problems in the data information. It can be seen that, based on the interaction between the server management software and the server in-band information acquisition tool, after the server management software is deployed, data sending and receiving tests are performed on the deployment environment to determine the deployment result and confirm the problems; a test mode is provided to distinguish the influence of data during work on the test effect; after entering the test mode, the server management software obtains the server in-band system information from the in-band system information acquisition tool for testing, supports performance item index selection, single-item testing, and can determine the test indexes according to requirements; in addition, the test data is stored and recorded and graphically displayed for the operation and maintenance personnel to conveniently obtain server information and perform relevant maintenance operations, which is convenient for developers to investigate and troubleshoot problems related to the acquisition and display of performance data, improving the speed and efficiency of requirement development; at the same time, during the development and use of the server management software and the server in-band system tool, potential problems of the server management software and the in-band system tool can be quickly and effectively located, which is convenient for the operation and maintenance staff to locate the problem, so as to more concisely and accurately describe the problem item, improving the communication efficiency with the developers and saving the time for deployment and problem solving. Description of the Drawings

[0036] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on the provided drawings.

[0037] Figure 1 Flowchart of a performance index test method disclosed in this application;

[0038] Figure 2 Schematic diagram of a specific performance index test method disclosed in this application;

[0039] Figure 3 Flowchart of a specific performance index test method disclosed in this application;

[0040] Figure 4 Flowchart of a specific performance index test method disclosed in this application;

[0041] Figure 5 Schematic diagram of the structure of a performance index test device disclosed in this application;

[0042] Figure 6 Structure diagram of an electronic device disclosed in this application. Detailed implementation manners

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.

[0044] Currently, after the server management software is deployed, potential problems in the deployment of SMS in customer scenarios cannot be effectively located. And when troubleshooting problems regarding the collection and display of performance data, due to the inability to effectively locate problems, the deployment and problem-solving take too long, and the communication efficiency of developers is low.

[0045] Therefore, this application provides a performance index test solution, which can facilitate developers to troubleshoot problems regarding the collection and display of performance data and improve the speed and efficiency of requirement development.

[0046] An embodiment of the present invention discloses a performance index test method. Refer to Figure 1 as shown, the method includes:

[0047] Step S11: Send a test instruction for testing the server performance metrics to the server in-band information acquisition tool, and receive a signal indicating successful response to the test instruction returned by the server in-band information acquisition tool to enter the test mode.

[0048] In the embodiment of the present application, the server management software (Server Manage Software, abbreviated as SMS) issues an instruction to enter the test mode. After receiving the test command, the server in-band information acquisition tool (Server Information Acquisition Tool, abbreviated as SIAT) responds and enters the test mode. Then the server management software receives a successful response of the test mode from the server in-band information acquisition tool and enters the test mode. In this way, the server management software initiates the test mode, and the server in-band information acquisition tool executes the response of the test mode, realizing the handshake and connection between the server management software and the server in-band information acquisition tool, and providing the test mode to distinguish the influence of data during work on the test effect.

[0049] It should be noted that the server performance metrics to be tested may include the usage rate of the central processing unit (CPU), the memory usage rate, the disk size, the read / write speed, the graphics card cache, etc., or may include other data representing the server performance metrics, which are not specifically limited herein.

[0050] Step S12: Determine the target performance metrics for the specified test performance in the test dataset, and send a test request corresponding to the target performance metrics to the server in-band information acquisition tool, so that the server in-band information acquisition tool returns corresponding data information according to the test request; wherein, the test dataset is a set of all the server performance metrics.

[0051] In the embodiment of the present application, the metrics to be tested can be determined according to requirements, that is, the selection of performance data metrics is supported. For example, single-item tests can be performed on the metrics that need to be tested. Specifically, the server management software specifies the performance data metrics to be tested, that is, the target performance metrics, in the test dataset, and then sends a request to the server in-band information acquisition tool based on the selected target performance metrics, realizing the second handshake between the server management software and the server in-band information acquisition tool.

[0052] In the embodiment of the present application, after receiving the test request for the target performance metrics, the server in-band information acquisition tool will collect the corresponding performance data according to the metric requirements, organize the data filling, report the data, and thus return the corresponding data information and send it to the server management software, that is, the data information corresponding to the target performance metrics to be tested.

[0053] Step S13: Store and record the data information, and graphically display the data information to locate problems in the data information.

[0054] In the embodiment of the present application, after the server management software receives the test data, it saves and graphically displays it for analysis, and then exits the test mode. Moreover, after the in-band information acquisition tool of the server reports the data information corresponding to the target performance indicators to be tested, it also exits the test mode.

[0055] As Figure 2 shown is a schematic diagram of a specific performance indicator test idea provided by the present application. After the SMS is deployed, data transmission and reception tests are performed on the deployment environment to determine the deployment results and confirm problems. The main idea is as follows: The SMS issues an instruction to enter the test mode; the SIAT receives the test command, responds and enters the test mode; the SMS receives the successful response of the SIAT test mode and enters the test mode. The SMS selects the test performance set Rn and specifies the performance data indicators to be tested; the SMS sends a request based on the selected performance indicator Rn; the SIAT receives the test request for the performance indicator Rn and returns the data information of the performance indicator Rn; the SMS receives the data of the performance Rn sent by the SIAT, stores and records it, and graphically displays it. View the storage log, analyze the transmission and reception status of the performance set Rn, and locate the problem. In this way, the server management software (SMS) performs the selection of performance items, the initiation of the test mode, the test, and the recording of the test results; the in-band information tool (SIAT) performs the response to the test mode, the collection and reporting of the data of the test performance items.

[0056] In this application, the server management software sends a test instruction for testing server performance metrics to the server in-band information acquisition tool, and receives a signal indicating successful response to the test instruction returned by the server in-band information acquisition tool to enter the test mode; determines the target performance metric for the specified test in the test dataset, and sends a test request corresponding to the target performance metric to the server in-band information acquisition tool, so that the server in-band information acquisition tool returns corresponding data information according to the test request; wherein, the test dataset is a set of all the server performance metrics; stores and records the data information to obtain a storage log; analyzes and graphically displays the data information in the storage log to locate problems in the data information. It can be seen that based on the interaction between the server management software and the server in-band information acquisition tool, after the server management software is deployed, data sending and receiving tests are performed on the deployment environment to determine the deployment result and confirm problems; a test mode is provided to distinguish the impact of data during work on the test effect; after entering the test mode, the server management software obtains the server in-band system information from the in-band system information acquisition tool for testing, supports performance item metric selection, single-item testing, and can determine the test metrics according to requirements; in addition, the test data is stored and recorded and graphically displayed for the operation and maintenance personnel to conveniently obtain server information for relevant maintenance operations, facilitating the development personnel to investigate and troubleshoot problems related to the acquisition and display of performance data, improving the speed and efficiency of requirement development; at the same time, during the development and use of the server management software and the server in-band system tool, potential problems of the server management software and the in-band system tool can be quickly and effectively located, facilitating the operation and maintenance staff to locate the problem, providing a more concise and accurate description of the problem item, improving the communication efficiency with the development personnel, and saving the time for deployment and problem solving.

[0057] An embodiment of this application discloses a specific method for testing performance metrics. Refer to Figure 3 as shown, the method includes:

[0058] Step S21: Send a test instruction for testing server performance metrics to the server in-band information acquisition tool, and determine whether a response signal for the response to the test instruction returned by the server in-band information acquisition tool is received within a first preset time interval.

[0059] In an embodiment of this application, if a performance item test is required, the server management software issues an instruction to enter the test mode to the server in-band information acquisition tool, and at the same time waits for the response of the server in-band information acquisition tool, that is, determines whether a response signal for the response to the test instruction returned by the server in-band information acquisition tool is received within a first preset time interval.

[0060] Step S22: If the response signal is received within the first preset time interval, enter the test mode and send down the test data set for testing the server performance metrics.

[0061] In the embodiment of the present application, if a response from the in-band information acquisition tool of the server is received within the first preset time interval, enter the test mode and send down the test data set for testing the server performance metrics.

[0062] Step S23: If the response signal is not received within the first preset time interval, exit waiting for the response from the in-band information acquisition tool of the server and prompt that the entry into the test mode fails.

[0063] In the embodiment of the present application, if the server management software times out without receiving a response, exit waiting for the response from the in-band information acquisition tool of the server and prompt that the entry into the test mode fails. Similarly, if the in-band information acquisition tool of the server times out without receiving the test data set for testing the server performance metrics sent down by the server management software, exit the test mode.

[0064] Step S24: Determine the target performance metrics for the performance of the specified test in the test data set, and send the test request corresponding to the target performance metrics to the in-band information acquisition tool of the server, so that the in-band information acquisition tool of the server returns corresponding data information according to the test request; wherein, the test data set is a set of all the server performance metrics.

[0065] Among them, for a more specific processing procedure of the above step S24, reference can be made to the corresponding content disclosed in the foregoing embodiments, and details will not be elaborated herein.

[0066] Step S25: Store and record the data information to obtain a storage log; analyze and graphically display the data information in the storage log to locate problems in the data information.

[0067] In the embodiment of the present application, after the server management software receives the data information corresponding to the target performance metrics of the test sent by the in-band information acquisition tool of the server, it stores and records the data information and graphically displays it. When viewing the storage log formed after storage and recording, it is convenient to analyze the receiving and sending status of the target performance metrics and locate the problem.

[0068] In this application, the server management software sends a test instruction for testing the server performance metrics to the server in-band information acquisition tool, and determines whether a response signal in response to the test instruction is received from the server in-band information acquisition tool within a first preset time interval; if the response signal is received within the first preset time interval, enter the test mode and issue the test data set for testing the server performance metrics; if the response signal is not received within the first preset time interval, exit waiting for the response from the server in-band information acquisition tool and prompt that the entry into the test mode fails; determine the target performance metric for the performance specified in the test data set, and send a test request corresponding to the target performance metric to the server in-band information acquisition tool, so that the server in-band information acquisition tool returns corresponding data information according to the test request; wherein, the test data set is a set of all the server performance metrics; store and record the data information, and graphically display the data information to locate problems in the data information. It can be seen that, based on the interaction between the server management software and the server in-band information acquisition tool, after the server management software is deployed, data transmission and reception tests are performed on the deployment environment to determine the deployment result and confirm problems; a test mode is provided to distinguish the impact of data during work on the test effect; after entering the test mode, the server management software obtains the server in-band system information from the in-band system information acquisition tool for testing, supports the selection of performance item metrics, single-item testing, and can determine the metrics to be tested according to requirements; in addition, the test data is stored and recorded and graphically displayed for the operation and maintenance personnel to conveniently obtain server information for relevant maintenance operations, facilitating the development personnel to investigate and troubleshoot problems related to the collection and display of performance data, improving the speed and efficiency of requirement development; at the same time, during the development and use of the server management software and the server in-band system tool, potential problems with the server management software and the in-band system tool can be quickly and effectively located, facilitating the operation and maintenance staff to locate the problem, providing a more concise and accurate description of the problem item, improving the communication efficiency with the development personnel, and saving the time for deployment and problem solving.

[0069] The embodiment of this application discloses a specific method for testing performance metrics. Refer to Figure 4 as shown, this method includes:

[0070] Step S31: Receive a test instruction for testing the server performance metrics sent by the server management software, and send a signal indicating successful response to the test instruction to the server management software to enter the test mode.

[0071] In the embodiment of the present application, the in-band information acquisition tool of the server receives a test instruction sent by the server management software for testing the server performance metrics. After receiving the test mode request, it enters the test mode and waits for the server management software to issue the target performance metrics to be tested.

[0072] It should be noted that during the process of waiting for the server management software to issue the target performance metrics to be tested, it is determined whether a test request corresponding to the target performance metrics is obtained within the second preset time interval; if the test request is obtained within the second preset time interval, the step of sending corresponding data information to the server management software according to the test request is triggered; if the test request is not obtained within the second preset time interval, the test mode is exited. That is, if the in-band information acquisition tool of the server does not receive the test data set for testing the server performance metrics sent by the server management software after the timeout, the test mode is exited.

[0073] Step S32: Obtain a test request corresponding to the target performance metrics, and send corresponding data information to the server management software according to the test request, so that the server management software stores and records the data information, and graphically displays the data information to locate problems in the data information; wherein, the target performance metrics are the metrics for specifying the performance of the test in the test data set, and the test data set is the set of the server performance metrics.

[0074] In the embodiment of the present application, after the in-band information acquisition tool of the server receives the test request for the target performance metrics, it will collect corresponding performance data according to the metric requirements, organize the data filling, report the data, and thus return corresponding data information, which is sent to the server management software, that is, the data information corresponding to the target performance metrics to be tested. After receiving the test data, the server management software saves and graphically displays it for analysis use, and then exits the test mode. Moreover, after the in-band information acquisition tool of the server reports the data information corresponding to the target performance metrics to be tested, it also exits the test mode.

[0075] In this application, the in-band information acquisition tool of the server receives a test instruction for testing the server performance metrics sent by the server management software, and sends a signal indicating successful response to the test instruction to the server management software to enter the test mode; acquires a test request corresponding to the target performance metric, and sends corresponding data information to the server management software according to the test request, so that the server management software stores and records the data information and graphically displays the data information to locate problems in the data information; wherein, the target performance metric is a metric for specifying the performance of the test in the test data set, and the test data set is a set of the server performance metrics. It can be seen that based on the interaction between the server management software and the in-band information acquisition tool of the server, after the server management software is deployed, data sending and receiving tests are performed on the deployment environment to determine the deployment result and confirm the problems; a test mode is provided to distinguish the influence of data during work on the test effect; after entering the test mode, the server management software obtains the in-band system information of the server from the in-band system information acquisition tool for testing, supports the selection of performance item metrics, single-item testing, and can determine the metrics to be tested according to requirements; in addition, the test data is stored and recorded and graphically displayed for the operation and maintenance personnel to conveniently obtain the server information and perform relevant maintenance operations, facilitating the developers to investigate and troubleshoot problems related to the acquisition and display of performance data, improving the speed and efficiency of requirement development; at the same time, during the development and use of the server management software and the in-band system tool of the server, potential problems of the server management software and the in-band system tool can be quickly and effectively located, facilitating the operation and maintenance staff to locate the problem, providing a more concise and accurate description of the problem item, improving the communication efficiency with the developers, and saving the time for deployment and problem solving.

[0076] Correspondingly, the embodiment of this application also discloses a performance metric testing device, as shown in Figure 5 The device includes:

[0077] A test mode entry module 11, configured to send a test instruction for testing the server performance metrics to the in-band information acquisition tool of the server, and receive a signal indicating successful response to the test instruction returned by the in-band information acquisition tool of the server to enter the test mode;

[0078] A target performance metric determination module 12, configured to determine a target performance metric for specifying the performance of the test in the test data set; wherein, the test data set is a set of the server performance metrics;

[0079] A data information acquisition module 13, configured to send a test request corresponding to the target performance metric to the in-band information acquisition tool of the server, so that the in-band information acquisition tool of the server returns corresponding data information according to the test request;

[0080] A problem location module 14 is configured to store and record the data information and graphically display the data information to locate problems in the data information.

[0081] Specifically, for the working processes of the above-mentioned various modules, reference may be made to the corresponding content disclosed in the foregoing embodiments, which will not be elaborated herein.

[0082] Thus, through the above solution of this embodiment, the server management software sends a test instruction for testing the server performance metrics to the server in-band information acquisition tool, and receives a signal indicating successful response to the test instruction returned by the server in-band information acquisition tool to enter the test mode; determines the target performance metrics for the performance specified in the test dataset, and sends a test request corresponding to the target performance metrics to the server in-band information acquisition tool, so that the server in-band information acquisition tool returns corresponding data information according to the test request; wherein, the test dataset is a set of all the server performance metrics; stores and records the data information, and graphically displays the data information to locate problems in the data information. It can be seen that based on the interaction between the server management software and the server in-band information acquisition tool, after the server management software is deployed, data sending and receiving tests are performed on the deployment environment to determine the deployment result and confirm problems; a test mode is provided to distinguish the impact of data during work on the test effect; after entering the test mode, the server management software obtains the server in-band system information from the in-band system information acquisition tool for testing, supports performance item metric selection, single-item testing, and can determine the tested metrics according to requirements; in addition, the test data is stored and recorded and graphically displayed for the operation and maintenance personnel to conveniently obtain the server information for relevant maintenance operations, facilitating the development personnel to investigate and troubleshoot problems regarding the acquisition and display of performance data, improving the speed and efficiency of requirement development; at the same time, during the development and use of the server management software and the server in-band system tool, potential problems of the server management software and the in-band system tool can be quickly and effectively located, facilitating the operation and maintenance staff to locate the problem, so as to more concisely and accurately describe the problem item, improving the communication efficiency with the development personnel and saving the time for deployment and problem solving.

[0083] Furthermore, an embodiment of the present application also discloses an electronic device Figure 6 It is a structural diagram of an electronic device 20 shown according to an exemplary embodiment, and the content in the figure should not be considered as any limitation to the scope of use of the present application.

[0084] Figure 6Schematic diagram of the structure of an electronic device 20 provided by an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. Among them, the memory 22 is used to store a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps in the performance index test method disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in this embodiment may specifically be a computer.

[0085] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows is any communication protocol applicable to the technical solution of the present application, and no specific limitation is imposed on it here; the input / output interface 25 is used to obtain external input data or output data to the outside, and its specific interface type can be selected according to specific application needs, and no specific limitation is made here.

[0086] In addition, as a carrier for resource storage, the memory 22 may be a read-only memory, a random access memory, a magnetic disk, or an optical disc, etc. The resources stored thereon may include an operating system 221, a computer program 222, and data 223, etc. The data 223 may include various kinds of data. The storage method may be temporary storage or permanent storage.

[0087] Among them, the operating system 221 is used to manage and control each hardware device and the computer program 222 on the electronic device 20, and it may be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program that can be used to complete the performance index test method executed by the electronic device 20 disclosed in any of the foregoing embodiments, the computer program 222 may further include a computer program that can be used to complete other specific tasks.

[0088] Furthermore, an embodiment of the present application also discloses a computer-readable storage medium. The computer-readable storage medium mentioned here includes a random access memory (Random Access Memory, RAM), a memory, a read-only memory (Read-Only Memory, ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a magnetic disk, or an optical disc, or any other form of storage medium well-known in the technical field. Among them, when the computer program is executed by the processor, the foregoing performance index test method is implemented. For the specific steps of this method, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details are not described herein again.

[0089] In the present specification, the various embodiments are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the various embodiments, reference can be made to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple. For the relevant parts, reference can be made to the description in the method section.

[0090] The steps of performance index testing or algorithms described in combination with the embodiments disclosed herein can be implemented directly by hardware, software modules executed by a processor, or a combination of both. The software modules can be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium well-known in the technical field.

[0091] Finally, it should also be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the existence of additional identical elements in the process, method, article or device comprising the element.

[0092] The above has introduced in detail a performance index testing method, device, equipment and storage medium provided by the present invention. Specific examples are used herein to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present invention.

Claims

1. A performance index test method, characterized in that, Including: Sending a test instruction for testing server performance metrics to the in-band information acquisition tool of the server, and receiving a signal indicating successful response to the test instruction returned by the in-band information acquisition tool of the server to enter the test mode; Determining the target performance metrics for the performance of a specified test in the test dataset, and sending a test request corresponding to the target performance metrics to the in-band information acquisition tool of the server, so that the in-band information acquisition tool of the server returns corresponding data information according to the test request; wherein, the test dataset is a set of all the server performance metrics; Storing and recording the data information, and graphically displaying the data information to locate problems in the data information.

2. The performance index test method according to claim 1, characterized in that The sending a test instruction for testing server performance metrics to the in-band information acquisition tool of the server includes: Sending test instructions for the CPU usage rate, memory usage rate, disk size, read / write speed, and graphics card cache of the test server to the in-band information acquisition tool of the server.

3. The performance index testing method according to claim 1, characterized in that After sending the test instruction for testing server performance metrics to the in-band information acquisition tool of the server, it further includes: Judging whether a response signal for the response to the test instruction returned by the in-band information acquisition tool of the server is received within a first preset time interval; If the response signal is received within the first preset time interval, enter the test mode and issue the test dataset for testing the server performance metrics; If the response signal is not received within the first preset time interval, exit waiting for the response of the in-band information acquisition tool of the server and prompt that the entry into the test mode fails.

4. The performance index testing method according to claim 1, characterized in that, After storing and recording the data information and graphically displaying the data information, it further includes: Exiting the test mode; And, after the in-band information acquisition tool of the server returns corresponding data information according to the test request, it further includes: exiting the test mode.

5. The performance index test method according to any one of claims 1 to 4, characterized in that The storing and recording the data information and graphically displaying the data information to locate problems in the data information includes: Storing and recording the data information to obtain a storage log; Analyzing and graphically displaying the data information in the storage log to locate problems in the data information.

6. A performance index testing method, characterized in that, Including: Receiving a test instruction for testing server performance metrics sent by the server management software, and sending a signal indicating successful response to the test instruction to the server management software to enter the test mode; Obtaining a test request corresponding to the target performance metrics, and sending corresponding data information to the server management software according to the test request, so that the server management software stores and records the data information and graphically displays the data information to locate problems in the data information; wherein, the target performance metrics are the metrics for the performance of a specified test in the test dataset, and the test dataset is a set of the server performance metrics.

7. The performance index test method according to claim 6, wherein It further includes: Judging whether a test request corresponding to the target performance metrics is obtained within a second preset time interval; If the test request is obtained within the second preset time interval, trigger the step of sending corresponding data information to the server management software according to the test request; If the test request is not obtained within the second preset time interval, exit the test mode.

8. A performance index testing device, characterized in that, It includes: A test mode entry module, configured to send a test instruction for testing server performance metrics to the server in-band information acquisition tool, and receive a signal indicating successful response to the test instruction returned by the server in-band information acquisition tool to enter the test mode; A target performance metric determination module, configured to determine the target performance metric of the performance for the specified test in the test data set; wherein, the test data set is a set of the server performance metrics; A data information acquisition module, configured to send a test request corresponding to the target performance metric to the server in-band information acquisition tool, so that the server in-band information acquisition tool returns corresponding data information according to the test request; A problem location module, configured to store and record the data information, and graphically display the data information to locate problems in the data information.

9. An electronic device, characterized in that, The electronic device includes a processor and a memory; wherein, the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the performance metric test method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, For storing a computer program; wherein the computer program, when executed by a processor, implements the performance metric test method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Server Debug method, system and device and computer medium

    CN109002374A

  • System and method for distributed network performance management

    WO2021150573A1