CN115543712A - Automatic detection method and device for equipment configuration information, electronic equipment and medium - Google Patents

Automatic detection method and device for equipment configuration information, electronic equipment and medium Download PDF

Info

Publication number
CN115543712A
CN115543712A CN202211320958.XA CN202211320958A CN115543712A CN 115543712 A CN115543712 A CN 115543712A CN 202211320958 A CN202211320958 A CN 202211320958A CN 115543712 A CN115543712 A CN 115543712A
Authority
CN
China
Prior art keywords
configuration
information
detected
detection
configuration information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211320958.XA
Other languages
Chinese (zh)
Inventor
魏佳琪
陈颖
秦晓宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nettrix Information Industry Beijing Co Ltd
Original Assignee
Nettrix Information Industry Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nettrix Information Industry Beijing Co Ltd filed Critical Nettrix Information Industry Beijing Co Ltd
Priority to CN202211320958.XA priority Critical patent/CN115543712A/en
Publication of CN115543712A publication Critical patent/CN115543712A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Abstract

The embodiment of the invention discloses a method, a device, electronic equipment and a medium for automatically detecting equipment configuration information, wherein the method is executed by an automatic detection tool and comprises the following steps: responding to an automatic test instruction, and reading an automatic test configuration file configured in an automatic detection tool; determining a configuration detection program for carrying out automatic testing on the tested equipment according to the automatic testing configuration file; acquiring configuration information to be detected of the equipment to be detected according to the configuration detection program; and automatically detecting the configuration information to be detected. The technical scheme of the embodiment of the invention can realize the detection of the equipment configuration information according to the requirement and improve the accuracy, flexibility and high efficiency of the detection of the equipment configuration information.

Description

Automatic detection method and device for equipment configuration information, electronic equipment and medium
Technical Field
The embodiment of the invention relates to the technical field of information processing, in particular to an automatic detection method and device for equipment configuration information, electronic equipment and a medium.
Background
The device configuration information has a significant role for the device. In general, the more complex the device configuration, the more complex the number of components used, and the more complex the type of arrangement in terms of hardware, firmware, software, and the like. In the process of testing or actually producing the equipment, the actual configuration information of the equipment must be ensured to be completely matched with the standard configuration information of the equipment, and errors cannot exist. It is therefore crucial for a device to detect its device configuration information.
Currently, there is no technical means for complete detection in the related art, and a tester is usually required to test configuration information of a device under test in parts. In a specific example, regarding the configuration information related to the machine configuration and the BMC (Baseboard Management Controller), a tester usually inputs a related test command to obtain the device asset information and the setting information of the BMC, and performs manual comparison and detection. For the BIOS (Basic Input Output System) configuration information, characters in the BIOS configuration information need to be identified and detected by means of an OCR (Optical Character Recognition) technology, and then a tester compares the keyword information to detect the configuration information. If there is customized configuration information to be detected, such as customized UI (User Interface) configuration information like logos and trademarks, it also needs to be compared in sequence by the tester.
In the process of implementing the invention, the inventor finds that the prior art has the following defects: through the mode of manual check out test set configuration information of tester, need the tester to carry out a large amount of and repeated instruction operations, not only require the tester to possess the operation level skilled to equipment under test, a large amount of time costs and human cost can be wasted to the testing process moreover. Moreover, manual detection is difficult to cover all detection links or contents, so that omission and wrong operation are easy to occur, the detection accuracy and detection efficiency are low, and the flexibility is poor. Although the time cost and the labor cost are reduced to a certain extent by the mode of identifying the configuration information by the OCR, the accuracy of the OCR identification is still difficult to meet the accuracy of the detection requirement of the configuration information, a configuration information template needs to be prepared manually by a tester in advance for realizing automatic comparison, and corresponding templates need to be formulated for different types of configuration information. Therefore, the configuration information detection method based on OCR still needs a lot of work contents of manual participation, and the detection accuracy, efficiency and flexibility still cannot meet the requirements.
Disclosure of Invention
The embodiment of the invention provides an automatic detection method and device for equipment configuration information, electronic equipment and a medium, which can realize the detection of the equipment configuration information as required and improve the accuracy, flexibility and high efficiency of the detection of the equipment configuration information.
According to an aspect of the present invention, there is provided an automatic detection method for device configuration information, applied to an automatic detection tool, including:
responding to an automatic test instruction, and reading an automatic test configuration file configured in an automatic detection tool;
determining a configuration detection program for carrying out automatic testing on the tested equipment according to the automatic testing configuration file;
acquiring to-be-detected configuration information of the to-be-detected equipment according to the configuration detection program;
and automatically detecting the configuration information to be detected.
The embodiment of the invention reads the automatic test configuration file configured in the automatic detection tool in response to the automatic test instruction, so as to determine the configuration detection program for carrying out the automatic test on the tested equipment according to the read automatic test configuration file, thereby acquiring the to-be-detected configuration information of the tested equipment according to the configuration detection program and carrying out the automatic detection on the to-be-detected configuration information. The automatic test configuration file can configure the detection program as required, so that the equipment configuration information can be detected as required, the problems of low accuracy, low efficiency, poor flexibility and the like of the conventional equipment configuration information detection method are solved, and the accuracy, the flexibility and the high efficiency of the equipment configuration information detection can be improved.
Optionally, the configuration detection program comprises a configuration asset detection program; the acquiring the configuration information to be detected of the device to be detected according to the configuration detection program comprises the following steps:
establishing communication connection between an information capture tool of the configuration asset detection program and a configuration asset page;
sending a data capturing instruction to a URL interface of the configuration asset page through the information capturing tool so as to capture configuration asset information included in the configuration asset page;
and taking the configuration asset information as the configuration information to be detected.
According to the technical scheme, the configuration asset detection program is configured in the automatic test configuration file of the automatic detection tool, the configuration asset information of the equipment to be detected can be detected as required through the automatic detection tool, the detection requirement of detecting the configuration information of the equipment as required is met, and the accuracy, flexibility and high efficiency of equipment configuration information detection can be improved.
Optionally, the configuration detection program includes a system assisted management controller information detection program; the acquiring the configuration information to be detected of the device to be detected according to the configuration detection program comprises the following steps:
inputting an information acquisition instruction to the tested device through the information detection program of the system auxiliary management controller so as to acquire the information of the system auxiliary management controller of the tested device through the information acquisition instruction;
processing the system auxiliary management controller information according to a set data structure to obtain structured system auxiliary management controller information;
and taking the information of the auxiliary management controller of the structured system as the configuration information to be detected.
According to the technical scheme, the system auxiliary management controller information detection program is configured in the automatic test configuration file of the automatic detection tool, the system auxiliary management controller information of the tested equipment can be detected by the automatic detection tool as required, the detection requirement of detecting the equipment configuration information as required is met, and the accuracy, flexibility and high efficiency of equipment configuration information detection can be improved.
Optionally, the configuration detection program includes a user interface UI information detection program; the acquiring the configuration information to be detected of the device to be detected according to the configuration detection program comprises the following steps:
setting a template image for a subprogram configuration file of the UI information detection program;
matching target interface information from a user interface of a system auxiliary management controller according to the template image through the UI information detection program;
and taking the target interface information as the configuration information to be detected.
According to the technical scheme, the UI information detection program is configured in the automatic test configuration file of the automatic detection tool, the target interface information of the equipment to be detected can be detected as required through the automatic detection tool, the detection requirement of detecting the equipment configuration information as required is met, and the accuracy, flexibility and high efficiency of equipment configuration information detection can be improved.
Optionally, the configuration detection program includes a target system information detection program; the acquiring the configuration information to be detected of the device to be detected according to the configuration detection program includes:
reading the setting information of the target system in the tested equipment by a system information reading tool included in the target system information detection program;
storing the setting information of the target system as a setting configuration information file;
and taking the set configuration information file as the configuration information to be detected.
According to the technical scheme, the target system information detection program is configured in the automatic test configuration file of the automatic detection tool, the setting information of the target system of the equipment to be detected can be detected as required through the automatic detection tool, the detection requirement of detecting the equipment configuration information as required is met, and the accuracy, flexibility and high efficiency of equipment configuration information detection can be improved.
Optionally, the automatically detecting the configuration information to be detected includes:
matching the configuration information to be detected with reference configuration information;
and recording the configuration information to be detected in a detection report under the condition that the configuration information to be detected is determined not to be matched with the reference configuration information.
According to the technical scheme, the configuration information to be detected is matched with the reference configuration information, so that whether the configuration information to be detected is abnormal or not can be automatically, quickly and accurately determined, and the efficiency and the accuracy of equipment configuration information detection are improved.
Optionally, the device under test includes a master device under test and a slave device under test; the automatic detection tool runs on the main device under test;
the determining of the configuration detection program for performing the automated test on the tested device according to the automated test configuration file includes:
determining a master configuration detection program for carrying out automatic testing on the master tested equipment and a slave configuration detection program for carrying out automatic testing on each slave tested equipment according to the automatic testing configuration file;
the acquiring the configuration information to be detected of the device to be detected according to the configuration detection program comprises the following steps:
acquiring main to-be-detected configuration information of the main to-be-detected equipment according to the main configuration detection program;
and generating a configuration detection instruction according to the slave configuration detection program, and sending the configuration detection instruction to the slave device to be detected so as to acquire the slave device to be detected configuration information of the slave device to be detected.
In the technical scheme, through the setting of the master-slave mode, a plurality of tested devices can execute automatic detection of the device configuration information in parallel, and a mode of multithread repeated execution automatic detection is realized.
According to another aspect of the present invention, there is provided an apparatus for automatically detecting device configuration information, configured in an automatic detection tool, including:
the configuration file reading module is used for responding to an automatic test instruction and reading an automatic test configuration file configured in the automatic detection tool;
the configuration detection program determining module is used for determining a configuration detection program for carrying out automatic test on the tested equipment according to the automatic test configuration file;
the to-be-detected configuration information acquisition module is used for acquiring to-be-detected configuration information of the to-be-detected equipment according to the configuration detection program;
and the detection module of the configuration information to be detected is used for automatically detecting the configuration information to be detected.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method for automated detection of device configuration information according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the method for automatically detecting device configuration information according to any one of the embodiments of the present invention when the computer instructions are executed.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of an automatic detection method for device configuration information according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for automatically detecting device configuration information according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of an automatic detection method for device configuration information according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of automatically detecting configuration asset information according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an apparatus for automatically detecting device configuration information according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a flowchart of an apparatus configuration information automatic detection method provided in an embodiment of the present invention, where this embodiment is applicable to a case of automatically detecting apparatus configuration information as needed, and the method may be executed by an apparatus configuration information automatic detection device, and the device may be implemented by software and/or hardware, and may be generally integrated in an automatic detection tool, and the automatic detection tool may operate on an apparatus to be detected, and the apparatus to be detected may be an electronic device, and the electronic device may be a terminal device or a server device. Accordingly, as shown in fig. 1, the method comprises the following operations:
and S110, responding to the automatic test instruction, and reading an automatic test configuration file configured in the automatic detection tool.
The automatic test instruction may be an instruction input to the device under test and used for testing the relevant configuration information of the device under test, and the instruction may be input or triggered by a user, or may be automatically generated or triggered by an automatic detection tool, which is not limited in this embodiment of the present invention. The automated detection tool may be a software program running within the device under test and may be developed based on any available programming language, such as Python (a computer programming language) or Java (an object-oriented programming language), etc. The automatic test configuration file can be a configuration file in an automatic detection tool, and the configuration file can be configured in an individualized way according to the test requirements of the configuration information, so that the detection requirements of the configuration information of the automatic detection equipment according to the requirements are met.
And S120, determining a configuration detection program for automatically testing the tested equipment according to the automatic test configuration file.
The configuration detection program may be a detection program for automatically detecting certain configuration information in the device under test.
Currently, the types and functions of devices are becoming more and more abundant, resulting in increasingly complex types and contents of configuration information. Taking a server as an example for explanation, a traditional server is generally a standardized device product, and configuration information is largely the same. At present, server equipment can meet the requirements of more and more abundant user types and diversified functions, and the customization characteristics of the server equipment are more and more prominent. The customized server equipment can be completely developed, configured and optimized correspondingly according to different scenes of an enterprise, so that the customized server equipment can better serve various services, and better service performance is provided.
It can be understood that, although customized device models can meet different application scenarios and technical emphasis, multiple configuration types need to be developed and configured on a hardware level, which results in numerous component types and quantities, and thus complexity of device configuration information detection and verification work also rises. In addition, as the customization service expands, the customization dimension of the server also deepens. In addition to the various types of configuration information in the hardware level, the customized device is more and more rich in the customized contents in the firmware and software levels, and the types and the amount of the configuration information are more and more complicated. Therefore, for the equipment, especially for the customized equipment, extremely fine and comprehensive detection is needed to meet the requirement of equipment configuration information detection, so as to ensure the quality of the customized equipment.
In the embodiment of the invention, when the equipment configuration information of the equipment to be detected needs to be automatically detected, in order to realize the fine and comprehensive detection of the equipment to be detected and meet the requirement of the equipment to be detected on demand, an automatic detection tool can be installed and operated in the equipment to be detected, and an automatic test instruction is triggered to the automatic detection tool. After the automatic detection tool detects the automatic test instruction, the automatic detection tool can respond to the automatic test instruction and start to automatically detect the equipment configuration information of the equipment to be detected.
Specifically, the automated testing tool may read an automated testing configuration file configured in the automated testing tool, and determine a configuration testing program for performing automated testing on the device under test according to the read automated testing configuration file. Further, the automated inspection tool may run a configuration inspection program to automatically inspect the device under test for device configuration information via the configuration inspection program.
The automatic test configuration file configured in the automatic detection tool can be configured according to the detection requirement of the configuration information. For example, when asset configuration information of a device under test needs to be detected, a detection program for detecting the asset configuration information, configuration parameter information required by the detection program, and the like may be set in an automated test configuration file. When the asset configuration information and the BMC information of the device to be tested need to be detected, a detection program for detecting the asset configuration information and configuration parameter information required by the detection program, a detection program for detecting the BMC information and configuration parameter information required by the detection program, and the like can be set in the automatic test configuration file, and simultaneously, the detection order of the asset configuration information and the BMC information, such as parallel detection or sequential detection, can also be set. That is, the tester can modify the automatic test configuration file according to the actual test requirement, so as to detect the device configuration information of the tested device as required by using the modified automatic test configuration file.
And S130, acquiring the configuration information to be detected of the tested equipment according to the configuration detection program.
The configuration information to be detected may be one or more types of device configuration information that needs to be detected, for example, asset configuration information and/or BMC information, and the information type, the information content, and the number of types of the configuration information to be detected are not limited in the embodiment of the present invention.
And S140, carrying out automatic detection on the configuration information to be detected.
Correspondingly, after the automatic detection tool determines the corresponding configuration detection program according to the automatic test configuration file, the configuration detection program can be operated, so that the configuration detection program can automatically acquire the configuration information to be detected of the equipment to be detected, and the acquired configuration information to be detected can be automatically detected. The automatic detection is to detect whether there is abnormal configuration information content such as mismatching, missing, redundancy or damage in the configuration information to be detected.
Therefore, the automatic test configuration file is configured or modified as required in the automatic detection tool, the configuration detection program of the type of the configuration information to be detected is determined according to the automatic test configuration file, the configuration information content to be detected is acquired and automatically detected through the configuration detection program, the on-demand and accurate detection of the configuration information of the equipment to be detected can be realized, the detection mode is more flexible, manual intervention is not needed in the whole process, and the detection efficiency is higher.
The embodiment of the invention reads the automatic test configuration file configured in the automatic detection tool in response to the automatic test instruction, so as to determine the configuration detection program for carrying out the automatic test on the tested equipment according to the read automatic test configuration file, thereby acquiring the to-be-detected configuration information of the tested equipment according to the configuration detection program and carrying out the automatic detection on the to-be-detected configuration information. The automatic test configuration file can configure the detection program as required, so that the equipment configuration information can be detected as required, the problems of low accuracy, low efficiency, poor flexibility and the like of the conventional equipment configuration information detection method are solved, and the accuracy, the flexibility and the high efficiency of the equipment configuration information detection can be improved.
Fig. 2 is a flowchart of an automatic detection method for device configuration information according to an embodiment of the present invention, which is embodied on the basis of the above embodiment, and in this embodiment, various specific optional implementation manners for obtaining the configuration information to be detected of the device to be detected according to a configuration detection program and automatically detecting the configuration information to be detected are given. Correspondingly, as shown in fig. 2, the method of the present embodiment may include:
s210, responding to the automatic test instruction, and reading an automatic test configuration file configured in the automatic detection tool.
And S220, determining a configuration detection program for automatically testing the tested device according to the automatic test configuration file.
And S230, acquiring the configuration information to be detected of the tested equipment according to the configuration detection program.
In an alternative embodiment of the present invention, the configuration detection program may include a configuration asset detection program; the obtaining of the configuration information to be detected of the device under test according to the configuration detection program may include: establishing communication connection between an information capture tool of the configuration asset detection program and a configuration asset page; sending a data fetching instruction to a Uniform Resource Locator (URL) interface of the configuration asset page through the information fetching tool so as to fetch configuration asset information included in the configuration asset page; and taking the configuration asset information as the configuration information to be detected.
Wherein, the configuration asset detection program can be a configuration detection program for detecting configuration asset information in the device under test. The asset configuration information, that is, the Component configuration manifest information and the asset configuration information of the device, where the Component configuration manifest information may include, but is not limited to, the number of configurations of a CPU (Central Processing Unit), a memory, a hard disk, a PCIe (Peripheral Component Interconnect express), a fan, a power supply, and the like, and detailed parameter information thereof. The asset configuration information may include, but is not limited to, the host computer name of the device under test, the IP (Internet Protocol) Address, the MAC (Media Access Control Address) Address, the user/responsible person, the affiliated department, the physical location, and the intranet and extranet IP mapping relationship of the server, for example. The information capture tool may be a tool for capturing the configuration asset information, and may be a tool type such as a Python request library. The Python request library is a commonly-used module for HTTP (Hyper Text Transfer Protocol) requests, and the tool is written in Python language and is commonly used for crawling webpage information, so that the Python request library can be used as an information crawling tool. The configuration asset page may enable a related page that stores and/or presents configuration asset information for the device under test. Illustratively, for a server device, a BMC Web (World Wide Web, also known as the World Wide Web) page of the device may be used as the configuration asset page. The data capture instructions may be instructions for capturing configuration asset information in a configuration asset page.
Optionally, when configuration asset information of the device under test needs to be automatically detected, the tester may configure or modify the automated test configuration file, so that the automated test configuration file may include a configuration asset detection program. After the automatic detection tool acquires the automatic test configuration file, the configuration asset detection program can be acquired through the automatic test configuration file, and the configuration asset detection program is operated to automatically acquire and detect the configuration asset information of the tested device.
Specifically, the configuration asset detection program can establish communication connection between an internal information grasping tool and a configuration asset page in the equipment to be detected, so that interaction is performed between the information grasping tool and the configuration asset page, and then a data grasping instruction is sent to a URL interface of the configuration asset page through the information grasping tool, so that configuration asset information included in the configuration asset page is automatically grasped, and the obtained configuration asset information is used as the configuration information to be detected.
According to the technical scheme, the configuration asset detection program is configured in the automatic test configuration file of the automatic detection tool, the configuration asset information of the equipment to be detected can be detected as required through the automatic detection tool, the detection requirement of detecting the configuration information of the equipment as required is met, and the accuracy, flexibility and high efficiency of equipment configuration information detection can be improved.
In an optional embodiment of the invention, the configuration detection procedure comprises a system assisted management controller information detection procedure; the obtaining of the configuration information to be detected of the device under test according to the configuration detection program may include: inputting an information acquisition instruction to the tested device through the information detection program of the system auxiliary management controller so as to acquire the information of the system auxiliary management controller of the tested device through the information acquisition instruction; processing the system auxiliary management controller information according to a set data structure to obtain structured system auxiliary management controller information; and taking the information of the auxiliary management controller of the structured system as the configuration information to be detected.
The system assistant management controller information detection program may be a configuration detection program for detecting relevant configuration information of the system assistant management controller. The system-assisted management controller may be a control module for providing hardware monitoring and control functions for the target device, and may illustratively comprise a BMC. The information acquisition instruction may be an instruction for acquiring relevant configuration information of the system assistance management controller, and the instruction may be recognized by the system assistance management controller. For example, when the BMC is the system assistant Management controller, the information obtaining instruction may be an IPMI (Intelligent Platform Management Interface) instruction. The configuration Information of the System assistant Management controller is, for example, when the System assistant Management controller is BMC, the System assistant Management controller Information may include, but is not limited to, BMC self Information and settings, fru (Field replaceable Unit) Information, sol (Local Area network) Information, dmis (Data Management Information System) Information, and the like.
Optionally, when the information of the system assistant management controller of the device under test needs to be automatically detected, a tester may configure or modify the automated test configuration file, so that the automated test configuration file may include a system assistant management controller information detection program. After the automatic detection tool acquires the automatic test configuration file, a system auxiliary management controller information detection program can be acquired through the automatic test configuration file, and the system auxiliary management controller information detection program is operated to automatically acquire and detect system auxiliary management controller information of the tested equipment.
Specifically, the information detection program of the system assistant management controller may input an information acquisition instruction to the device under test, so as to automatically acquire the information of the system assistant management controller of the device under test through the information acquisition instruction. For the convenience of automatic detection and analysis, after the system assistant management controller information is acquired, the system assistant management controller information may be structured according to a set data structure, for example, the system assistant management controller information may be structured according to a k-value data structure. Further, the obtained information of the auxiliary management controller of the structured system can be used as the configuration information to be detected.
According to the technical scheme, the system auxiliary management controller information detection program is configured in the automatic test configuration file of the automatic detection tool, the system auxiliary management controller information of the equipment to be detected can be detected as required through the automatic detection tool, the detection requirement of detecting the equipment configuration information as required is met, and the accuracy, flexibility and high efficiency of equipment configuration information detection can be improved.
In an optional embodiment of the invention, the configuration detection program comprises a UI information detection program; the obtaining the configuration information to be detected of the device to be detected according to the configuration detection program may include: setting a template image for a subprogram configuration file of the UI information detection program; matching target interface information from a user interface of a system auxiliary management controller according to the template image through the UI information detection program; and taking the target interface information as the configuration information to be detected.
The UI information detection program may be a configuration detection program for detecting relevant interface configuration information in the device under test. The sub program profile may be a profile of the UI information detection program for holding profile information of the template image. For example, the subroutine may be a Python OpenCV program, and the subroutine configuration file may be a Python OpenCV configuration file. The template image is also used for image matching. The target interface information may be configuration information in the target interface that needs to be detected, and may include, but is not limited to, a set trademark pattern, an interface style, or the like, for example. The target interface may be, for example, a BMC WEB UI or other related interface having configuration information.
Optionally, when configuration information of the interface type of the device under test needs to be automatically detected, a tester may configure or modify the automated test configuration file, so that the automated test configuration file may include a UI information detection program. After the automatic detection tool acquires the automatic test configuration file, the UI information detection program can be acquired through the automatic test configuration file, and the UI information detection program is operated to automatically acquire and detect the configuration information of the relevant interface of the tested equipment.
Specifically, before performing the detection, the tester may set an image template in the UI information detection program. For example, a tester may intercept an image of configuration information to be detected in an interface of a standard error-free reference device, save the image as a template image, and then import the template image into a subprogram configuration file of the UI information detection program to save. When detection is carried out, target interface information can be matched from a user interface of the system auxiliary management controller through the UI information detection program according to the pre-configured template image, and the target interface information is used as to-be-detected configuration information.
According to the technical scheme, the UI information detection program is configured in the automatic test configuration file of the automatic detection tool, the target interface information of the equipment to be detected can be detected as required through the automatic detection tool, the detection requirement of detecting the equipment configuration information as required is met, and the accuracy, flexibility and high efficiency of equipment configuration information detection can be improved.
In an optional embodiment of the invention, the configuration detection program comprises a target system information detection program; the obtaining of the configuration information to be detected of the device under test according to the configuration detection program may include: reading the setting information of the target system in the tested equipment by a system information reading tool included in the target system information detection program; storing the setting information of the target system as a setting configuration information file; and taking the set configuration information file as the configuration information to be detected.
The target system information detection program may be a configuration detection program for detecting configuration information of a target system in the device under test. The target system may be any type of system in the device under test, such as an operating system or a BIOS system. The system information reading tool may be a tool for reading setting information of the target system. For example, when the target system is the BIOS, the system information reading tool may be a SCELNX tool. The setting configuration information file may be a setting type of file for holding setting information of the target system, and may be a type of file in txt (text file) format, for example.
Optionally, when the setting information of the target system of the device under test needs to be automatically detected, the tester may configure or modify the automated test configuration file, so that the automated test configuration file may include the target system information detection program. After the automatic detection tool acquires the automatic test configuration file, the target system information detection program can be acquired through the automatic test configuration file, and the target system information detection program is operated to automatically acquire and detect the setting information of the target system of the tested equipment.
Specifically, the target system information detection program may read the setting information of the target system in the device under test through a built-in system information reading tool. For convenience of information detection, after the setting information of the target system is acquired, the acquired setting information of the target system may be stored as a setting configuration information file, and the acquired setting configuration information file is used as the configuration information to be detected.
According to the technical scheme, the target system information detection program is configured in the automatic test configuration file of the automatic detection tool, the setting information of the target system of the equipment to be detected can be detected as required through the automatic detection tool, the detection requirement of detecting the equipment configuration information as required is met, and the accuracy, flexibility and high efficiency of equipment configuration information detection can be improved.
S240, matching the configuration information to be detected with the reference configuration information.
The reference configuration information may be accurate configuration information, and is used as a reference standard for comparing the configuration information to be detected.
S250, judging whether the configuration information to be detected is matched with the reference configuration information, if so, executing S260; otherwise, S270 is executed.
And S260, determining that the configuration information to be detected passes the detection.
S270, determining that the configuration information to be detected does not pass the detection, and recording the configuration information to be detected in a detection report.
Correspondingly, after the configuration information to be detected is obtained, the configuration information to be detected can be matched with the reference configuration information. If the configuration information to be detected is matched with the reference configuration information and shows that the configuration information to be detected is accurate, determining that the configuration information to be detected passes the detection; otherwise, the configuration information to be detected is indicated to have abnormal information, and if the configuration information to be detected is determined not to pass the detection, the abnormal configuration information to be detected can be recorded in the detection report.
According to the technical scheme, the configuration information to be detected is matched with the reference configuration information, so that whether the configuration information to be detected is abnormal can be automatically, quickly and accurately determined, and the efficiency and the accuracy of equipment configuration information detection are improved.
In an optional embodiment of the invention, the device under test may comprise a master device under test and a slave device under test; the automated detection tool may be run on the master device under test; the determining, according to the automatic test configuration file, a configuration detection program for performing an automatic test on a device under test may include: determining a master configuration detection program for carrying out automatic testing on the master tested equipment and a slave configuration detection program for carrying out automatic testing on each slave tested equipment according to the automatic testing configuration file; the obtaining of the configuration information to be detected of the device under test according to the configuration detection program may include: acquiring main configuration information to be detected of the main equipment to be detected according to the main configuration detection program; and generating a configuration detection instruction according to the slave configuration detection program, and sending the configuration detection instruction to the slave device to be detected so as to acquire the slave device to be detected configuration information of the slave device to be detected.
The main tested device can be a device for guiding other tested devices to automatically detect the configuration information of the device at the same time. The slave device under test may be a device under test that automatically detects device configuration information under the direction of the master device under test. The primary configuration detection program may be a program that detects relevant configuration information for the primary device under test. The slave configuration detection program may be a program for detecting relevant configuration information for the slave device under test. The main configuration information to be detected may be configuration information to be detected that is automatically acquired by the automated detection tool from the main device to be detected. The configuration information to be detected can be configuration information to be detected automatically acquired by an automatic detection tool from the equipment to be detected. The configuration detection instruction may be an instruction to acquire configuration information to be detected from the device under test.
In the embodiment of the invention, a plurality of tested devices can also automatically detect the configuration information of the devices by utilizing an automatic detection tool at the same time. Specifically, a main device under test can be screened and determined from the devices under test, and an automated inspection tool can be installed and operated in the main device under test. In the automatic detection process, the main tested device can independently operate the automatic detection tool according to the automatic detection process, read the automatic test configuration file configured in the automatic detection tool, determine a main configuration detection program for automatically testing the tested device according to the automatic test configuration file, and acquire main to-be-detected configuration information of the main tested device according to the main configuration detection program so as to automatically detect the main to-be-detected configuration information.
Meanwhile, the automatic detection tool running in the main tested device can also determine a slave configuration detection program for carrying out automatic testing on the slave tested device according to the automatic testing configuration file, and automatically generate a configuration detection instruction according to the determined slave configuration detection program. The master device under test may send the generated configuration detection instructions to the slave device under test. The slave device to be tested can automatically acquire the slave device to be tested configuration information in response to the configuration detection instruction.
Optionally, the master configuration detection program and the slave configuration detection program may be the same program or different programs, which is not limited in this embodiment of the present invention.
In the technical scheme, through the setting of the master-slave mode, a plurality of tested devices can execute the automatic detection of the device configuration information in parallel, and the mode of multithread repeated execution automatic detection is realized.
In actual operation, a tester can develop an automatic detection tool based on Python in advance, and modify a configuration file of the automatic detection tool according to customized requirements, so that automatic configuration information detection can be realized at different customized levels, and batch detection of a large number of servers can be performed.
Fig. 3 is a schematic flow chart of an automatic detection method for device configuration information according to an embodiment of the present invention, and fig. 4 is a schematic flow chart of an automatic detection method for configuration asset information according to an embodiment of the present invention, in order to more clearly describe the technical solution provided by the embodiment of the present invention, in a specific example, as shown in fig. 3 and fig. 4, after an automatic detection tool is run in a device under test, the automatic detection tool may read a configuration file to determine the content of configuration information that needs to be detected for the device under test. As shown in fig. 3, the examination of the configuration details and the asset information (belonging to the configured asset information), the BMC information (belonging to the system auxiliary management controller information), the BMC WEB UI (belonging to the target interface information), and the BIOS setting (belonging to the setting information of the target system) may set all tests or select some items for testing in the configuration file in the automatic detection tool, and the test sequence of each examination may be set according to the actual requirements. If a plurality of tested devices are configured in the configuration file, the detection processes can be executed in parallel according to a master-slave mode, and therefore batch testing of multiple machines is achieved. The specific detection manner of each type of configuration information is described in detail below.
(1) Configuration details and asset information
The automatic detection tool can establish communication connection with a BMC (baseboard management controller) WEB by using a Python request library so as to perform data interaction with the BMC WEB, and send various data capture instructions of different types such as get or post to a URL (uniform resource locator) interface of the BMC WEB through the Python request library so as to obtain the configuration quantity and detailed information of CPU (central processing unit), memory, hard disk, PCIe (peripheral component interconnect express) card, fan, power supply and the like on the WEB. After the information is acquired, the automatic detection tool may compare the acquired configuration information with the standard configuration information in the reference configuration file, and if a comparison difference occurs, the detected difference item may be recorded in a test report.
(2) BMC information
The automatic detection tool can acquire default values of various settings of the BMC information through an IPMI instruction, and the BMC information can include but is not limited to BMC self information and settings, fru information, sol information, dmis information and the like. For comparison, the acquired BMC information may be structured and stored according to a set data structure. And further comparing the structured BMC information with the standard configuration information in the reference configuration file, and if a comparison difference occurs, recording the detected difference item in a test report.
(3) BMC WEB UI information
The automatic detection tool can set a template image in a Python OpenCV configuration file according to information such as an interface style and a client trademark, and then match target interface information in a BMC WEB UI according to the set template image. If the matching is successful, the information is correct, and the next target interface information can be continuously matched. If the match fails, the failed entry may be recorded in a test report.
(4) BIOS setting information
The automated detection tool may obtain default values for various settings of the BIOS via the scellx tool and store the obtained BIOS setting information as a txt document. The automated detection tool can compare the txt document content with the standard configuration information in the reference configuration file, and if a comparison difference occurs, the detected difference item can be recorded in the test report.
It should be noted that any permutation and combination between the technical features in the above embodiments also belong to the scope of protection of the present invention.
Fig. 5 is a schematic diagram of an apparatus for automatically detecting device configuration information according to an embodiment of the present invention, and as shown in fig. 5, the apparatus includes: a configuration file reading module 310, a configuration detection program determining module 320, a to-be-detected configuration information acquiring module 330, and a to-be-detected configuration information detecting module 340, wherein:
a configuration file reading module 310, configured to respond to the automated testing instruction, and read an automated testing configuration file configured in the automated testing tool;
a configuration detection program determining module 320, configured to determine a configuration detection program for performing an automated test on the device under test according to the automated test configuration file;
a to-be-detected configuration information obtaining module 330, configured to obtain, according to the configuration detection program, to-be-detected configuration information of the to-be-detected device;
and the configuration information detection module 340 is configured to perform automatic detection on the configuration information to be detected.
The embodiment of the invention reads the automatic test configuration file configured in the automatic detection tool in response to the automatic test instruction, so as to determine the configuration detection program for carrying out automatic test on the tested device according to the read automatic test configuration file, thereby acquiring the configuration information to be detected of the tested device according to the configuration detection program and carrying out automatic detection on the configuration information to be detected. Because the automatic test configuration file can configure the detection program according to needs, the equipment configuration information can be detected according to needs, the problems of low accuracy, low efficiency, poor flexibility and the like of the existing equipment configuration information detection method are solved, and the accuracy, the flexibility and the high efficiency of equipment configuration information detection can be improved.
Optionally, the configuration detection program comprises a configuration asset detection program; the module 330 for acquiring configuration information to be detected is specifically configured to: establishing communication connection between an information capture tool of the configuration asset detection program and a configuration asset page; sending a data capturing instruction to a Uniform Resource Locator (URL) interface of the configuration asset page through the information capturing tool so as to capture configuration asset information included in the configuration asset page; and taking the configuration asset information as the configuration information to be detected.
Optionally, the configuration detection program includes a system assisted management controller information detection program; the module 330 for acquiring configuration information to be detected is specifically configured to: inputting an information acquisition instruction to the tested device through the information detection program of the system auxiliary management controller so as to acquire the information of the system auxiliary management controller of the tested device through the information acquisition instruction; processing the system auxiliary management controller information according to a set data structure to obtain structured system auxiliary management controller information; and taking the information of the auxiliary management controller of the structured system as the configuration information to be detected.
Optionally, the configuration detection program includes a UI information detection program; the to-be-detected configuration information obtaining module 330 is specifically configured to: setting a template image for a subprogram configuration file of the UI information detection program; matching target interface information from a user interface of a system auxiliary management controller according to the template image through the UI information detection program; and taking the target interface information as the configuration information to be detected.
Optionally, the configuration detection program includes a target system information detection program; the to-be-detected configuration information obtaining module 330 is specifically configured to: reading the setting information of the target system in the tested equipment by a system information reading tool included in the target system information detection program; storing the setting information of the target system as a setting configuration information file; and taking the set configuration information file as the configuration information to be detected.
Optionally, the to-be-detected configuration information detecting module 340 is specifically configured to: matching the configuration information to be detected with reference configuration information; and recording the configuration information to be detected in a detection report under the condition that the configuration information to be detected is determined not to be matched with the reference configuration information.
Optionally, the device under test includes a master device under test and a slave device under test; the automatic detection tool runs on the main tested device; the to-be-detected configuration information obtaining module 330 is specifically configured to: determining a master configuration detection program for carrying out automatic testing on the master tested equipment and a slave configuration detection program for carrying out automatic testing on each slave tested equipment according to the automatic testing configuration file; the module 340 for detecting configuration information to be detected is specifically configured to: acquiring main to-be-detected configuration information of the main to-be-detected equipment according to the main configuration detection program; and generating a configuration detection instruction according to the slave configuration detection program, and sending the configuration detection instruction to the slave device to be detected so as to acquire the slave device to be detected configuration information of the slave device to be detected.
The device configuration information automatic detection device can execute the device configuration information automatic detection method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For details of the technology that are not described in detail in this embodiment, reference may be made to the method for automatically detecting device configuration information according to any embodiment of the present invention.
FIG. 6 illustrates a schematic structural diagram of an electronic device 10 that may be used to implement an embodiment of the present invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 6, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
Processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The processor 11 performs the various methods and processes described above, such as the device configuration information automated detection method.
In some embodiments, the device configuration information automated detection method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the above-described method for automated detection of device configuration information may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the device configuration information automated detection method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.

Claims (10)

1. An automatic detection method for equipment configuration information is applied to an automatic detection tool, and comprises the following steps:
responding to an automatic test instruction, and reading an automatic test configuration file configured in an automatic detection tool;
determining a configuration detection program for carrying out automatic testing on the tested equipment according to the automatic testing configuration file;
acquiring to-be-detected configuration information of the to-be-detected equipment according to the configuration detection program;
and automatically detecting the configuration information to be detected.
2. The method of claim 1, wherein the configuration detection procedure comprises a configuration asset detection procedure; the acquiring the configuration information to be detected of the device to be detected according to the configuration detection program includes:
establishing communication connection between an information capture tool of the configuration asset detection program and a configuration asset page;
sending a data grabbing instruction to a Uniform Resource Locator (URL) interface of the configured asset page through the information grabbing tool so as to grab the configured asset information included in the configured asset page;
and taking the configuration asset information as the configuration information to be detected.
3. The method of claim 1, wherein the configuration detection routine comprises a system assisted management controller information detection routine; the acquiring the configuration information to be detected of the device to be detected according to the configuration detection program includes:
inputting an information acquisition instruction to the tested device through the information detection program of the system auxiliary management controller so as to acquire the information of the system auxiliary management controller of the tested device through the information acquisition instruction;
processing the system auxiliary management controller information according to a set data structure to obtain structured system auxiliary management controller information;
and taking the information of the auxiliary management controller of the structured system as the configuration information to be detected.
4. The method of claim 1, wherein the configuration detection program comprises a User Interface (UI) information detection program; the acquiring the configuration information to be detected of the device to be detected according to the configuration detection program includes:
setting a template image for a subprogram configuration file of the UI information detection program;
matching target interface information from a user interface of a system auxiliary management controller according to the template image through the UI information detection program;
and taking the target interface information as the configuration information to be detected.
5. The method of claim 1, wherein the configuration detection procedure comprises a target system information detection procedure; the acquiring the configuration information to be detected of the device to be detected according to the configuration detection program includes:
reading the setting information of the target system in the tested equipment through a system information reading tool included in the target system information detection program;
storing the setting information of the target system as a setting configuration information file;
and taking the set configuration information file as the configuration information to be detected.
6. The method according to claim 1, wherein the automatically detecting the configuration information to be detected comprises:
matching the configuration information to be detected with reference configuration information;
and recording the configuration information to be detected in a detection report under the condition that the configuration information to be detected is determined not to be matched with the reference configuration information.
7. The method of any of claims 1-6, wherein the devices under test include a master device under test and a slave device under test; the automatic detection tool runs on the main device under test;
the determining of the configuration detection program for performing the automated test on the tested device according to the automated test configuration file includes:
determining a master configuration detection program for carrying out automatic testing on the master tested equipment and a slave configuration detection program for carrying out automatic testing on each slave tested equipment according to the automatic testing configuration file;
the acquiring the configuration information to be detected of the device to be detected according to the configuration detection program includes:
acquiring main to-be-detected configuration information of the main to-be-detected equipment according to the main configuration detection program;
and generating a configuration detection instruction according to the slave configuration detection program, and sending the configuration detection instruction to the slave device to be detected so as to acquire the slave device to be detected configuration information of the slave device to be detected.
8. An apparatus for automatically detecting device configuration information, configured in an automatic detection tool, comprising:
the configuration file reading module is used for responding to an automatic test instruction and reading an automatic test configuration file configured in the automatic detection tool;
the configuration detection program determining module is used for determining a configuration detection program for carrying out automatic test on the tested equipment according to the automatic test configuration file;
the to-be-detected configuration information acquisition module is used for acquiring to-be-detected configuration information of the to-be-detected equipment according to the configuration detection program;
and the detection module of the configuration information to be detected is used for automatically detecting the configuration information to be detected.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method for automated detection of device configuration information as claimed in any one of claims 1 to 7.
10. A computer storage medium, wherein the computer-readable storage medium stores computer instructions for causing a processor to implement the method for automatically detecting device configuration information according to any one of claims 1-7 when executed.
CN202211320958.XA 2022-10-26 2022-10-26 Automatic detection method and device for equipment configuration information, electronic equipment and medium Pending CN115543712A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211320958.XA CN115543712A (en) 2022-10-26 2022-10-26 Automatic detection method and device for equipment configuration information, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211320958.XA CN115543712A (en) 2022-10-26 2022-10-26 Automatic detection method and device for equipment configuration information, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN115543712A true CN115543712A (en) 2022-12-30

Family

ID=84719223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211320958.XA Pending CN115543712A (en) 2022-10-26 2022-10-26 Automatic detection method and device for equipment configuration information, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN115543712A (en)

Similar Documents

Publication Publication Date Title
CN108683562B (en) Anomaly detection positioning method and device, computer equipment and storage medium
WO2019085073A1 (en) Interface test method and apparatus, computer device, and storage medium
CN114064208A (en) Method and device for detecting application service state, electronic equipment and storage medium
CN112650676A (en) Software testing method, device, equipment and storage medium
CN113821433A (en) Method, device, equipment, medium and product for testing cloud mobile phone application program
CN115687406B (en) Sampling method, device, equipment and storage medium for call chain data
CN116975081A (en) Log diagnosis set updating method, device, equipment and storage medium
CN115905016A (en) BIOS Setup search function test method and device, electronic equipment and storage medium
CN115543712A (en) Automatic detection method and device for equipment configuration information, electronic equipment and medium
CN115017047A (en) Test method, system, equipment and medium based on B/S architecture
CN113836291B (en) Data processing method, device, equipment and storage medium
CN116306400B (en) Integrated circuit verification method, system, device, equipment and medium
CN116149709A (en) Firmware upgrading method, device, equipment and medium
CN117271373B (en) Automatic construction method and device for test cases, electronic equipment and storage medium
CN116302944A (en) Service system testing method and device, electronic equipment and storage medium
CN116303071A (en) Interface testing method and device, electronic equipment and storage medium
CN116467161A (en) Application testing method and device, electronic equipment and storage medium
CN117951024A (en) APP compatibility test method, device, equipment and medium
CN116594827A (en) Automatic test method and device for hardware equipment, workbench, equipment and medium
CN116755944A (en) Server testing method and device, electronic equipment and storage medium
CN117609087A (en) Code processing method, device, equipment and medium
CN116301679A (en) Fault detection method, device, equipment and medium
CN116109617A (en) Image quality management method, system, equipment and medium
CN117520080A (en) Server testing method, device, equipment and medium
CN117724980A (en) Method and device for testing software framework performance, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination