Multi-server management component remote verification method, device, equipment and medium
By establishing a connection with multiple server management components through remote terminals, the automation synchronization of multiple server management components or separate remote verification of multiple server management components is solved, and the problem of time, high labor costs and noise hazards during the verification process is solved, and verification speed and security are improved.
Patent Information
- Application Number
- CN202510167591.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-14
- Publication Date
- 2025-05-27
AI Technical Summary
The prior art takes a long time during the verification process of multi-server management components, requiring a lot of manpower and time, and laboratory noise poses a potential harm to the health of testers.
Establish a connection with multiple server management components through a remote terminal, obtain the verification configuration options selected by the user, package the test commands and data as the target extended frame, and send it to the corresponding server management components to achieve automated synchronization or separate remote verification.
It greatly improves the verification speed, reduces labor cost investment, and avoids the harm of laboratory noise to testers, ensuring the physical health of testers.
Smart Images

Figure CN120045395A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a multi-server management component remote verification method, device, equipment and medium. Background Art
[0002] In enterprises, BMC (baseboard management controller) is a server management component that undertakes the important task of monitoring the working status of large servers. Therefore, it is crucial to ensure the normal operation of BMC chips. Due to the large number of sub-modules and sub-functions of a single BMC chip, it takes a long time for testers to manually execute test cases. When multiple BMCs need to be tested at the same time, the manpower and time costs required will increase significantly. In addition, the hardware platform used for verification is usually set up in a laboratory far away from the office area, which is extremely inconvenient for testers to travel back and forth. Moreover, a large number of servers in the laboratory will generate a lot of noise when running, which is potentially harmful to the health of testers. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide a multi-server management component remote verification method, device, equipment and medium, which can reduce the time required for verification, greatly improve the verification speed, and do not require manual operation on site in the laboratory, thereby reducing labor cost investment and avoiding the harm of laboratory noise to testers. The specific scheme is as follows:
[0004] In a first aspect, the present application discloses a multi-server management component remote verification method, which is applied to a verification system, wherein the system establishes connections with a remote terminal and multiple server management components respectively, and the method comprises:
[0005] Obtaining a target verification configuration option selected through a remote terminal interactive interface; wherein the target verification configuration option is used to represent simultaneous verification of multiple server management components, or separate verification of any server management component among the multiple server management components;
[0006] Acquire the test command and test data sent by the remote terminal, and package the test command and the test data based on a preset extended frame format to obtain a target extended frame;
[0007] Sending the target extension frame to the corresponding server management component based on the target verification configuration option, so that the corresponding server management component extracts the test command and test data from the target extension frame and generates a corresponding test verification execution result;
[0008] Return the test verification execution results to the remote terminal.
[0009] Optionally, after obtaining the test command and test data sent by the remote terminal, the following steps are further included:
[0010] If multiple server management components are verified synchronously, the test commands and test data corresponding to the multiple server management components are saved in a first first-in first-out queue;
[0011] If any server management component is verified individually, the test command and test data corresponding to the single server management component are saved in the second first-in-first-out queue.
[0012] Optionally, the test command and the test data are packaged based on a preset extended frame format to obtain a target extended frame, including:
[0013] Preprocessing the test command and the test data respectively, so that the preprocessed test command and the test data meet the transmission requirements of the target extended frame;
[0014] The arbitration segment of the target extended frame is determined by the target identifier; wherein the first M bits of the target identifier are used to determine the data source device or the command receiving component, and the last N bits of the target identifier are used to determine the command execution order of the test command, so that the corresponding server management component executes the test command and the test data according to the command execution order;
[0015] The control segment of the target extended frame is determined by two reserved bits; wherein, for a test command that needs to be split for transmission, the two reserved bits are used to determine a command splitting identifier so that the corresponding server management component reorganizes the test command according to the command splitting identifier;
[0016] Fill the test command and test data into the data segment of the target extended frame;
[0017] A cyclic redundancy check value is calculated according to the data segment of the target extended frame, and the cyclic redundancy check value is filled into the check mark segment of the target extended frame to obtain the target extended frame.
[0018] Optionally, the multi-server management component remote verification method further includes:
[0019] After sending the current target extension frame including the current test command to the server management component, monitoring whether the server management component returns an end signal; the end signal indicates that the current target extension frame is executed completely in the server management component;
[0020] When the end signals returned by all the server management components are monitored, the next target extension frame including the next test command is sent to the server management component.
[0021] Optionally, the multi-server management component remote verification method further includes:
[0022] When the target storage configuration option selected through the remote terminal interactive interface is obtained, the test verification execution result is saved to the corresponding storage location based on the target storage configuration option.
[0023] Optionally, the multi-server management component remote verification method further includes:
[0024] When the target display configuration option selected through the remote terminal interactive interface is obtained, the target information is displayed in the target display area based on the target display configuration option;
[0025] The target information includes the test verification execution result and the component number of the corresponding server management component.
[0026] Optionally, the system establishes a connection with a remote terminal via a LAN interface, the system connects to a controller LAN bus via a transceiver, and broadcasts a target extended frame to a corresponding server management component via the controller LAN bus.
[0027] In a second aspect, the present application discloses a multi-server management component remote verification device, which is applied to a verification system. The system establishes connections with a remote terminal and multiple server management components respectively. The device includes:
[0028] An option configuration module, used to obtain a target verification configuration option selected through a remote terminal interactive interface; wherein the target verification configuration option is used to represent simultaneous verification of multiple server management components, or separate verification of any server management component among the multiple server management components;
[0029] An information packaging module is used to obtain the test command and test data sent by the remote terminal, and to package the test command and the test data based on a preset extended frame format to obtain a target extended frame;
[0030] An extended frame sending module is used to send a target extended frame to a corresponding server management component based on a target verification configuration option, so that the corresponding server management component extracts a test command and test data from the target extended frame and generates a corresponding test verification execution result;
[0031] The result return module is used to return the test verification execution result to the remote terminal.
[0032] In a third aspect, the present application discloses an electronic device, comprising:
[0033] Memory, used to store computer programs;
[0034] The processor is used to execute a computer program to implement the aforementioned disclosed multi-server management component remote verification method.
[0035] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the multi-server management component remote verification method disclosed above is implemented.
[0036] It can be seen that the present application proposes a multi-server management component remote verification method, which is applied to the verification system, and the system establishes connections with the remote terminal and multiple server management components respectively. The method includes: obtaining the target verification configuration option selected through the remote terminal interaction interface; wherein the target verification configuration option is used to characterize the synchronous verification of multiple server management components or the separate verification of any server management component in the multiple server management components; obtaining the test command and test data sent by the remote terminal, and packaging the test command and test data based on the preset extended frame format to obtain the target extended frame; sending the target extended frame to the corresponding server management component based on the target verification configuration option, so that the corresponding server management component extracts the test command and test data from the target extended frame, and generates the corresponding test verification execution result; returning the test verification execution result to the remote terminal. In summary, it can be seen that the present application first obtains the target verification configuration option selected by the user in the remote terminal interaction interface, then obtains the test command and data sent by the remote terminal, and packages them into the target extended frame according to the preset extended frame format, and then sends the target extended frame to the corresponding server management component according to the configuration option, which extracts the command and data and generates the test verification execution result, and finally returns the result to the remote terminal. In this way, this application can realize the automated synchronous remote verification of multiple server management components or the automated separate remote verification of a single server management component according to the target verification configuration options, which greatly reduces the time required for verification and greatly improves the verification speed. Furthermore, the testers in this application only need to operate the interactive interface on the remote terminal, select the target verification configuration options, send test commands and data, and the verification work can be completed. There is no need for manual operation on site in the laboratory, which reduces the manpower cost investment, avoids the harm of laboratory noise to the body, and ensures the health of the testers. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0038] Figure 1 This is a schematic diagram of the hardware connection of a traditional laboratory verification platform;
[0039] Figure 2A flowchart of a multi-server management component remote verification method disclosed in this application;
[0040] Figure 3 A schematic diagram of a multi-server management component remote verification method disclosed in this application;
[0041] Figure 4 A schematic diagram of a remote terminal interaction interface disclosed in this application;
[0042] Figure 5 A schematic diagram of a target extension frame disclosed in the present application;
[0043] Figure 6 This is a schematic diagram of the structure of a multi-server management component remote verification device disclosed in this application;
[0044] Figure 7 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0046] In enterprises, BMC, as a server management component, undertakes the important task of monitoring the working status of large servers. Therefore, it is crucial to ensure the normal operation of BMC chips. Since a single BMC chip has many sub-modules and sub-functions, it takes a long time for testers to manually execute test cases. When multiple BMCs need to be tested at the same time, the manpower and time costs required will increase significantly. In addition, the hardware platform used for verification is usually set up in a laboratory far away from the office area, which is extremely inconvenient for testers to travel back and forth. Moreover, a large number of servers in the laboratory will generate a lot of noise when running, which poses a potential hazard to the health of testers. Figure 1 This is a schematic diagram of the hardware connections of a traditional laboratory verification platform.
[0047] To this end, the embodiment of the present application proposes a remote verification solution for multiple server management components, which can reduce the time required for verification, greatly improve the verification speed, and eliminate the need for manual operation on site in the laboratory, thereby reducing labor cost investment and avoiding harm to testers caused by laboratory noise.
[0048] The present application embodiment discloses a multi-server management component remote verification method, which is applied to a verification system. The system establishes connections with a remote terminal and multiple server management components respectively. Figure 2As shown, the method includes:
[0049] Step S11: Obtain a target verification configuration option selected through the remote terminal interactive interface; wherein the target verification configuration option is used to represent a simultaneous verification of multiple server management components, or a separate verification of any server management component among the multiple server management components.
[0050] The server management component in this application includes a baseboard management controller (Baseboard Management Controller, BMC), and the multi-server management component remote verification method in this application mainly involves improvements in hardware modules and software programming. Figure 3 As shown, the hardware design includes an FPGA (Field Programmable Gate Array) board. The FPGA board includes a command parsing and processing module, a data processing module, FIFO1 (First In First Out 1), FIFO2 (second First In First Out), CAN Controller (CAN controller), LAN interface (local area network interface), DMA (Direct Memory Access), data storage module, fault detection module, and synchronization module. Among them, the LAN interface is used to receive the test commands and test data transmitted by the remote terminal; the CAN Controller is used to broadcast the test commands and test data transmitted remotely, or transmit the test results of the BMC after connecting to the transceiver; the command parsing and processing module, on the one hand, determines whether the received test command is for a single BMC or multiple BMCs, and on the other hand, splits and packages the received test commands into a format that can be transmitted by the CAN module; the data processing module is used to package the received test data into a format that can be transmitted by the CAN module; FIFO1 is used to store the commands and data of a single BMC; FIFO2 is used to store the commands and data of multiple BMCs; DMA is used to move the test data received by the LAN interface to the data processing module, or to move the execution information of each BMC command fed back by the CAN interface to the data storage module; the data storage module saves the command execution results of each BMC; the fault detection module determines which instructions of which BMCs are executed incorrectly, and promptly feeds back the error information to the remote terminal; the synchronization module is used to ensure that when testing multiple BMCs, the previous test command is executed after all BMCs are executed before the next command is executed. For further information, see Figure 4 As shown, the software program mainly includes the use of C and The upper application control interface (remote terminal interaction interface) is implemented. The program runs on the FPGA board, and the user can remotely log in to the remote terminal interaction interface through the remote terminal.
[0051] The following is a detailed description: Get the target verification configuration option for selection through the remote terminal interaction interface; the target verification configuration option is used to represent the simultaneous verification of multiple server management components, or the individual verification of any of the multiple server management components. In this way, the operator can choose whether to perform simultaneous verification of multiple server management components or individual verification of one of them through the remote terminal interaction interface according to actual needs. For example, when testing the overall performance of the server cluster, you can choose simultaneous verification; and when troubleshooting a specific server management component, you can choose individual verification. This greatly meets the diverse verification needs. At the same time, choosing the appropriate verification mode according to the verification needs can also avoid unnecessary resource consumption.
[0052] Step S12: Acquire the test command and test data sent by the remote terminal, and package the test command and test data based on a preset extended frame format to obtain a target extended frame.
[0053] In this embodiment, if multiple server management components are verified synchronously, the test commands and test data corresponding to the multiple server management components are saved in a first first-in first-out queue; if any server management component is verified individually, the test commands and test data corresponding to the single server management component are saved in a second first-in first-out queue. Based on the first-in first-out characteristic of the first-in first-out queue, this embodiment ensures that the test commands and test data are processed in the order in which they are received, avoiding task confusion or loss. In this way, whether it is synchronous verification or individual verification, this orderly processing mechanism helps to maintain the stability of the system verification process and reduce system errors caused by disordered task processing.
[0054] Further, the test command and the test data are taken out from the first FIFO queue or the second FIFO queue, and the test command and the test data are preprocessed respectively, so that the preprocessed test command and the test data meet the transmission requirements of the target extended frame, the preprocessing operations include but are not limited to data format conversion, padding and filling, etc. The transmission requirements of the target extended frame are also the requirements of the CAN extended frame, including but not limited to data format requirements and data length restrictions, etc.; the arbitration segment of the target extended frame is determined by the target identifier; wherein the first M bits of the target identifier are used to determine the data source device or the command receiving component, and the last N bits of the target identifier are used to determine the command execution order of the test command, so that the corresponding server management component executes the test command and the test data according to the command execution order; the control segment of the target extended frame is determined by two reserved bits; for the test command that needs to be split for transmission, the two reserved bits are used to determine the command splitting identifier, so that the corresponding server management component reorganizes the test command according to the command splitting identifier; the test command and the test data are filled into the data segment of the target extended frame; the cyclic redundancy check value (Cyclic Redundancy Check (CRC), and fill the cyclic redundancy check value into the check mark segment of the target extended frame to obtain the target extended frame.
[0055] Figure 5 A schematic diagram of a target extension frame proposed in the present application. In one embodiment, the arbitration segment of the target extension frame is composed of a 29-bit identifier, the first 11 bits are used as an actual identifier for determining the data source device or command receiving component, and the last 18 bits are used as a sorting identifier of the total command, indicating which test instruction is currently being executed. In addition, it also includes a Substitute Remote Request bit (SRR), an Identifier Extension bit (IDE) and a Remote Transmission Request bit (RTR). The control segment of the target extension frame contains two reserved bits, each occupying 1 bit, which are used as sorting identifiers for splitting a single command. The target extension frame also includes a frame start, a frame end, and an ACK (Acknowledgment) segment. By redefining the arbitration segment and control segment of the target extension frame, the confusion of CAN frame transmission when the command is too long can be avoided, the synchronous test of the BMC is convenient, and the execution results of the BMC test instructions are also convenient for saving.
[0056] Step S13: sending the target extension frame to the corresponding server management component based on the target verification configuration option, so that the corresponding server management component extracts the test command and test data from the target extension frame and generates a corresponding test verification execution result.
[0057] In this embodiment, the target extension frame is broadcast to the corresponding server management component through the controller area network bus and based on the target verification configuration option, so that the corresponding server management component extracts the test command and test data from the target extension frame and generates the corresponding test verification execution result. Exemplarily, assuming that the target verification configuration option indicates to perform synchronous verification on all server management components, the target extension frame is broadcast to all server management components, and assuming that the target verification configuration option indicates to perform synchronous verification on a single server management component, the target extension frame is broadcast to the single server management component.
[0058] In this embodiment, after sending the current target extension frame including the current test command to the server management component, the synchronization module in the FPGA board monitors whether the server management component returns an end signal; the end signal indicates that the current target extension frame is executed in the server management component; when the end signal returned by all server management components is monitored, the next target extension frame including the next test command is sent to the server management component. In this way, when testing multiple BMCs, it is ensured that the previous instruction is fully executed before the next one is executed, which can avoid test errors caused by confusion in the order of instruction execution.
[0059] Step S14: Return the test verification execution result to the remote terminal.
[0060] See also Figure 4 As shown, the remote terminal interaction interface also includes a log save location configuration option (i.e., target storage configuration option), an interface information display switch (i.e., target display configuration option), a test start and test termination button, and a test case location configuration option. When the target storage configuration option selected through the remote terminal interaction interface is obtained, the test verification execution result is saved to the corresponding storage location based on the target storage configuration option. When it is not set, the test verification execution result is saved to the default location. The test start or termination button is used to start and terminate the execution of the test case. When the target display configuration option selected through the remote terminal interaction interface is obtained, the target information is displayed in the target display area based on the target display configuration option; wherein the target information includes the test verification execution result and the component number of the corresponding server management component, and the test verification execution result may include warnings, exceptions, etc. that occur during the operation. In addition, the test case location configuration option is used to freely specify the save location of the test case, and the software will automatically read the test case that meets the specified format from the set location. From the above analysis, it can be seen that after each BMC executes the test instruction, the corresponding response is returned to the FPGA board through the CAN interface.
[0061] Remote testing of BMC chips is achieved through LAN interface and local area network technology; test instructions are broadcast through CAN bus to achieve synchronous testing of multiple BMCs; control and command issuance of multiple BMCs are achieved through FPGA board controller; synchronization of test instructions and location of error instructions are achieved through custom CAN frame structure; automatic execution and storage of test cases are achieved through development of upper-level applications. Based on the above improvements, this embodiment can facilitate remote work of test personnel and avoid physical harm caused by laboratory noise. At the same time, synchronous testing of multiple BMCs and automatic execution of test cases reduce verification time and improve work efficiency.
[0062] Furthermore, this embodiment can dynamically adjust the bandwidth allocation of the CAN bus according to the load of different server management components and the urgency of the test task. For example, when a BMC performs a critical system test task, more bus transmission time is allocated to it to ensure that the test command and data can be transmitted quickly. Furthermore, this embodiment can also establish a redundant backup mechanism for data and test tasks. When sending the target extended frame, data is sent to multiple backup nodes at the same time. When the main server management component fails, it can quickly switch to the backup node to ensure the continuity of the test task. Furthermore, this embodiment can also use an encryption algorithm to encrypt the data in the target extended frame during the test command and data transmission process. Prevent data from being stolen or tampered with during transmission to ensure the security of the test.
[0063] It can be seen that the present application proposes a multi-server management component remote verification method, which is applied to the verification system, and the system establishes connections with the remote terminal and multiple server management components respectively. The method includes: obtaining the target verification configuration option selected through the remote terminal interaction interface; wherein the target verification configuration option is used to characterize the synchronous verification of multiple server management components or the separate verification of any server management component in the multiple server management components; obtaining the test command and test data sent by the remote terminal, and packaging the test command and test data based on the preset extended frame format to obtain the target extended frame; sending the target extended frame to the corresponding server management component based on the target verification configuration option, so that the corresponding server management component extracts the test command and test data from the target extended frame, and generates the corresponding test verification execution result; returning the test verification execution result to the remote terminal. In summary, it can be seen that the present application first obtains the target verification configuration option selected by the user in the remote terminal interaction interface, then obtains the test command and data sent by the remote terminal, and packages them into the target extended frame according to the preset extended frame format, and then sends the target extended frame to the corresponding server management component according to the configuration option, which extracts the command and data and generates the test verification execution result, and finally returns the result to the remote terminal. In this way, this application can realize the automated synchronous remote verification of multiple server management components or the automated separate remote verification of a single server management component according to the target verification configuration options, which greatly reduces the time required for verification and greatly improves the verification speed. Furthermore, the testers in this application only need to operate the interactive interface on the remote terminal, select the target verification configuration options, send test commands and data, and the verification work can be completed. There is no need for manual operation on site in the laboratory, which reduces the manpower cost investment, avoids the harm of laboratory noise to the body, and ensures the health of the testers.
[0064] Correspondingly, the present application embodiment also discloses a multi-server management component remote verification device, see Figure 6 As shown, it is applied to the verification system, the system establishes connections with the remote terminal and multiple server management components respectively, and the device includes:
[0065] The option configuration module 11 is used to obtain the target verification configuration option selected through the remote terminal interactive interface; wherein the target verification configuration option is used to represent the simultaneous verification of multiple server management components, or the separate verification of any server management component among the multiple server management components;
[0066] The information packaging module 12 is used to obtain the test command and test data sent by the remote terminal, and to package the test command and the test data based on a preset extended frame format to obtain a target extended frame;
[0067] The extended frame sending module 13 is used to send the target extended frame to the corresponding server management component based on the target verification configuration option, so that the corresponding server management component extracts the test command and test data from the target extended frame and generates a corresponding test verification execution result;
[0068] The result returning module 14 is used to return the test verification execution result to the remote terminal.
[0069] Among them, for more specific working processes of the above-mentioned modules, please refer to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.
[0070] It can be seen that the present application proposes a multi-server management component remote verification method, which is applied to the verification system, and the system establishes connections with the remote terminal and multiple server management components respectively. The method includes: obtaining the target verification configuration option selected through the remote terminal interaction interface; wherein the target verification configuration option is used to characterize the synchronous verification of multiple server management components or the separate verification of any server management component in the multiple server management components; obtaining the test command and test data sent by the remote terminal, and packaging the test command and test data based on the preset extended frame format to obtain the target extended frame; sending the target extended frame to the corresponding server management component based on the target verification configuration option, so that the corresponding server management component extracts the test command and test data from the target extended frame, and generates the corresponding test verification execution result; returning the test verification execution result to the remote terminal. In summary, it can be seen that the present application first obtains the target verification configuration option selected by the user in the remote terminal interaction interface, then obtains the test command and data sent by the remote terminal, and packages them into the target extended frame according to the preset extended frame format, and then sends the target extended frame to the corresponding server management component according to the configuration option, which extracts the command and data and generates the test verification execution result, and finally returns the result to the remote terminal. In this way, this application can realize the automated synchronous remote verification of multiple server management components or the automated separate remote verification of a single server management component according to the target verification configuration options, which greatly reduces the time required for verification and greatly improves the verification speed. Furthermore, the testers in this application only need to operate the interactive interface on the remote terminal, select the target verification configuration options, send test commands and data, and the verification work can be completed. There is no need for manual operation on site in the laboratory, which reduces the manpower cost investment, avoids the harm of laboratory noise to the body, and ensures the health of the testers.
[0071] Furthermore, an embodiment of the present application also provides an electronic device. Figure 7 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.
[0072] Figure 7 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a display screen 23, an input / output interface 24, a communication interface 25, a power supply 26, and a communication bus 27. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the multi-server management component remote verification method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0073] In this embodiment, the power supply 26 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 25 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 24 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0074] In addition, the memory 22, as a carrier for storing resources, may be a read-only memory, a random access memory, a disk or an optical disk, etc., and the resources stored thereon may include a computer program 221, and the storage method may be temporary storage or permanent storage. In addition to including a computer program that can be used to complete the multi-server management component remote verification method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 221 may further include a computer program that can be used to complete other specific tasks.
[0075] Furthermore, an embodiment of the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned disclosed multi-server management component remote verification method is implemented.
[0076] For the specific steps of the method, reference may be made to the corresponding contents disclosed in the aforementioned embodiments, which will not be described in detail here.
[0077] Furthermore, an embodiment of the present application also discloses a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the multi-server management component remote verification method disclosed above.
[0078] The various embodiments in this application are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0079] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0080] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0081] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0082] The above is a detailed introduction to the multi-server management component remote verification method, device, equipment, and storage medium provided by the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, based on the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, it can be seen that the content of this specification should not be understood as a limitation on the present application.
Claims
1. A multi-server management component remote verification method, characterized in that: Applied to a verification system, the system establishes connections with a remote terminal and multiple server management components respectively, and the method includes: Acquire a target verification configuration option selected through a remote terminal interactive interface; wherein the target verification configuration option is used to represent simultaneous verification of multiple server management components, or separate verification of any of the multiple server management components; Acquire the test command and the test data sent by the remote terminal, and perform a packaging operation on the test command and the test data based on a preset extended frame format to obtain a target extended frame; Sending the target extension frame to the corresponding server management component based on the target verification configuration option, so that the corresponding server management component extracts the test command and the test data from the target extension frame and generates a corresponding test verification execution result; The test verification execution result is returned to the remote terminal.
2. The multi-server management component remote verification method according to claim 1, characterized in that: After obtaining the test command and test data sent by the remote terminal, the method further includes: If multiple server management components are verified synchronously, the test commands and the test data corresponding to the multiple server management components are saved in a first first-in first-out queue; If any of the server management components is verified individually, the test command and the test data corresponding to the single server management component are saved in a second first-in-first-out queue.
3. The multi-server management component remote verification method according to claim 1, characterized in that: The packing operation of the test command and the test data based on the preset extended frame format to obtain a target extended frame includes: Preprocessing the test command and the test data respectively, so that the preprocessed test command and the test data meet the transmission requirements of the target extended frame; The arbitration segment of the target extended frame is determined by a target identifier; wherein the first M bits of the target identifier are used to determine a data source device or a command receiving component, and the last N bits of the target identifier are used to determine a command execution order of the test command, so that the corresponding server management component executes the test command and the test data according to the command execution order; The control segment of the target extended frame is determined by two reserved bits; wherein, for the test command that needs to be split for transmission, the two reserved bits are used to determine a command splitting identifier, so that the corresponding server management component reassembles the test command according to the command splitting identifier; Filling the test command and the test data into the data segment of the target extended frame; A cyclic redundancy check value is calculated according to the data segment of the target extended frame, and the cyclic redundancy check value is filled into the check mark segment of the target extended frame to obtain the target extended frame.
4. The multi-server management component remote verification method according to claim 1, characterized in that: Also includes: After sending the current target extension frame including the current test command to the server management component, monitoring whether the server management component returns an end signal; the end signal indicates that the current target extension frame is executed completely in the server management component; When the end signals returned by all the server management components are monitored, the next target extension frame including the next test command is sent to the server management component.
5. The multi-server management component remote verification method according to claim 1, characterized in that: Also includes: When the target storage configuration option selected through the remote terminal interactive interface is obtained, the test verification execution result is saved to a corresponding storage location based on the target storage configuration option.
6. The multi-server management component remote verification method according to claim 1, characterized in that: Also includes: When a target display configuration option selected through the remote terminal interactive interface is obtained, the target information is displayed in the target display area based on the target display configuration option; The target information includes the test verification execution result and the component number of the corresponding server management component.
7. The multi-server management component remote verification method according to any one of claims 1 to 6, characterized in that: The system establishes a connection with the remote terminal via a local area network interface, the system connects to a controller local area network bus via a transceiver, and broadcasts the target extended frame to the corresponding server management component via the controller local area network bus.
8. A multi-server management component remote verification device, characterized in that: Applied to a verification system, the system establishes connections with a remote terminal and multiple server management components respectively, and the device includes: An option configuration module, used for obtaining a target verification configuration option selected through a remote terminal interactive interface; wherein the target verification configuration option is used for representing a synchronous verification of a plurality of the server management components, or a separate verification of any of the plurality of the server management components; An information packaging module, used for acquiring the test command and the test data sent by the remote terminal, and packaging the test command and the test data based on a preset extended frame format to obtain a target extended frame; An extended frame sending module, used for sending the target extended frame to the corresponding server management component based on the target verification configuration option, so that the corresponding server management component extracts the test command and the test data from the target extended frame and generates a corresponding test verification execution result; The result returning module is used to return the test verification execution result to the remote terminal.
9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the multi-server management component remote verification method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Used to store a computer program; wherein, when the computer program is executed by a processor, the multi-server management component remote verification method as described in any one of claims 1 to 7 is implemented.