CN115061885A - Complete machine aging automatic test method and device, electronic equipment and storage medium - Google Patents
Complete machine aging automatic test method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115061885A CN115061885A CN202210538314.1A CN202210538314A CN115061885A CN 115061885 A CN115061885 A CN 115061885A CN 202210538314 A CN202210538314 A CN 202210538314A CN 115061885 A CN115061885 A CN 115061885A
- Authority
- CN
- China
- Prior art keywords
- test
- aging
- machine
- data
- automatic
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
- G06F11/3428—Benchmarking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
- G06F11/3068—Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data format conversion
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The embodiment of the application provides a complete machine aging automatic test method and device, electronic equipment and a storage medium, and belongs to the technical field of automatic test. The method comprises the following steps: installing an original operating system image corresponding to the test machine through the PXE server; when the installation of the original image of the operating system is finished, installing aging automatic test software corresponding to the test machine through the PXE server; establishing communication connection between the testing machine and the monitoring server; carrying out aging test on the tester through aging automatic test software to obtain test result data; and sending the test result data to a monitoring server for data monitoring analysis. The embodiment of the application can realize the automatic test of the aging process of the whole machine, and improve the production efficiency and the accuracy.
Description
Technical Field
The present disclosure relates to the field of automatic testing technologies, and in particular, to a method and an apparatus for automatically testing aging of a complete machine, an electronic device, and a storage medium.
Background
At present, in the production and manufacturing of a whole machine, the whole machine which is produced in large quantities is often placed in a high-temperature aging workshop for production test at the same time due to the requirement of capacity, and the environment in the workshop is not beneficial to long-time operation of workers. Meanwhile, in the traditional whole machine aging production process, some bad fault machines can appear, whether the running states of all machines are normal or not needs to be checked manually and periodically, a display, a keyboard or a mouse need to be connected with the machine to check in the process, the consumed time is long, the production efficiency is influenced, and the conditions of missing detection, wrong judgment and the like exist in manual operation. Therefore, how to realize the automatic detection of the aging of the whole machine becomes a technical problem to be solved urgently.
Disclosure of Invention
The embodiment of the application mainly aims to provide a method and a device for automatically testing the aging of a complete machine, electronic equipment and a storage medium, so that the automatic testing of the aging process of the complete machine can be realized, and the production efficiency and the accuracy are improved.
In order to achieve the above object, a first aspect of an embodiment of the present application provides an automatic testing method for overall burn-in, where the method includes:
installing an original image of an operating system corresponding to the test machine through the PXE server;
when the installation of the original image of the operating system is finished, installing the aging automatic test software corresponding to the test machine through the PXE server;
establishing communication connection between the test machine and a monitoring server;
performing aging test on the tester through the automatic aging test software to obtain test result data;
and sending the test result data to the monitoring server for data monitoring analysis.
In some embodiments, the establishing a communication connection between the testing machine and a monitoring server includes:
sending a socket communication connection request to a monitoring server through the aging automatic test software;
and responding to the socket communication connection request through the monitoring server to establish communication connection between the tester and the monitoring server and automatically run the aging automatic test software.
In some embodiments, the performing, by the burn-in automatic test software, a burn-in test on the tester to obtain test result data includes:
after the aging automatic test software is operated, starting a heartbeat updating mechanism, wherein the heartbeat updating mechanism is used for detecting the communication connection condition of the PXE server and the monitoring server;
and carrying out aging test on the tester according to the preset heartbeat time of the heartbeat updating mechanism to obtain test result data.
In some embodiments, before performing the aging test on the tester according to the preset heartbeat time of the heartbeat update mechanism to obtain test result data, the method further includes:
acquiring current state data of the testing machine at the preset heartbeat time through the monitoring server, and updating data stored in the monitoring server according to the current state data to obtain heartbeat updating data;
and simulating and displaying the running state of the tester according to the heartbeat updating data.
In some embodiments, before the performing the burn-in test on the tester by the burn-in automatic test software to obtain test result data, the method further includes:
checking the running environment of the testing machine through the automatic aging testing software to obtain machine position information of the testing machine, wherein the machine position information is used for positioning the testing machine;
acquiring an order configuration file and a test configuration file of the test machine;
and determining an aging test item of the testing machine according to the order configuration file and the test configuration file, and performing aging test on the testing machine according to the aging test item.
In some embodiments, the sending the test result data to the monitoring server for data monitoring analysis includes:
storing all the received test result data through the monitoring server;
performing data monitoring analysis on the testing machine according to the test result data to determine the abnormal condition of the testing machine;
and when the test machine is monitored to be abnormal, positioning the abnormal test machine according to the machine position information.
In some embodiments, the monitoring server includes a background monitoring module, the background monitoring module includes a background query sub-module and a background management sub-module, and the method further includes:
inquiring the test result data and the hardware test data of the tester according to the background inquiry submodule, and monitoring the mainboard aging condition and the whole machine aging condition of the tester;
and performing remote control management and data management on the tester according to the background management submodule.
In order to achieve the above object, a second aspect of the embodiments of the present application provides an automatic testing apparatus for overall aging, the apparatus including:
the first installation module is used for installing an original image of the operating system corresponding to the test machine through the PXE server;
the second installation module is used for installing the automatic aging test software corresponding to the test machine through the PXE server when the installation of the original image of the operating system is finished;
the communication connection module is used for establishing communication connection between the test machine and the monitoring server;
the aging test module is used for carrying out aging test on the tester through the aging automatic test software to obtain test result data;
and the monitoring analysis module is used for sending the test result data to the monitoring server for data monitoring analysis.
To achieve the above object, a third aspect of an embodiment of the present application provides an electronic apparatus, including:
at least one memory;
at least one processor;
at least one computer program;
the at least one computer program is stored in the at least one memory and executed by the at least one processor to implement the method of the first aspect described above.
In order to achieve the above object, a fourth aspect of the embodiments of the present application proposes a storage medium, which is a computer-readable storage medium storing a computer program for causing a computer to execute the method according to the first aspect.
According to the automatic aging test method and device for the whole computer, the electronic equipment and the storage medium, the original image of the operating system corresponding to the test machine is installed through the PXE server, and when the original image of the operating system is installed, the automatic aging test software corresponding to the test machine is installed through the PXE server. In order to realize the real-time monitoring function of the testing machine, the communication connection between the testing machine and the monitoring server is established. Carrying out aging test on the tester through aging automatic test software to obtain test result data; and sending the test result data to a monitoring server for data monitoring and analysis so as to realize automatic test of the aging of the whole machine. The embodiment of the application can realize the automatic test of the aging process of the whole machine, and improve the production efficiency and the accuracy.
Drawings
Fig. 1 is a first flowchart of a method for automatically testing burn-in of a whole computer according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating installation of an original image of an operating system according to an embodiment of the present disclosure;
FIG. 3 is a flowchart of step S130 in FIG. 1;
FIG. 4 is a flowchart illustrating operation of a socket communication connection provided in an embodiment of the present application;
FIG. 5 is a flowchart of step S140 in FIG. 1;
FIG. 6 is a second flowchart of a method for automatic testing of burn-in of a whole computer according to an embodiment of the present application;
fig. 7 is a third flowchart of a method for automatically testing the overall aging according to an embodiment of the present disclosure;
FIG. 8 is a flowchart of step S150 in FIG. 1;
fig. 9 is a fourth flowchart of an automatic testing method for overall machine aging according to an embodiment of the present disclosure;
FIG. 10 is a schematic structural diagram of an automatic aging test apparatus for a complete machine according to an embodiment of the present application;
fig. 11 is a hardware structure diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
It should be noted that although functional blocks are partitioned in a schematic diagram of an apparatus and a logical order is shown in a flowchart, in some cases, the steps shown or described may be performed in a different order than the partitioning of blocks in the apparatus or the order in the flowchart. The terms first, second and the like in the description and in the claims, and the drawings described above, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
First, several terms referred to in the present application are resolved:
preboot execution Environment (PXE): the system works in a network mode of a Client/Server and is used for supporting a workstation to download images from a remote Server through a network and thus supporting the starting process of an operating system from the network, wherein in the starting process, a terminal requires the Server to allocate an IP address, then a simple File Transfer Protocol (TFTP) or a Multicast Trivial File Transfer Protocol (MTFTP) is used for downloading a starting software packet into a local memory and executing the starting software packet, and the starting software packet completes the setting of basic software of the terminal, thereby guiding the terminal operating system pre-installed in the Server.
Optical disc image file (Isolation, ISO): the recording software can directly record the ISO file into an installable system optical disc, wherein the ISO file generally takes ISO as an extension name.
Basic Input Output System (BIOS): the computer program is a set of programs solidified on a Read Only Memory (ROM) chip on a main board in a computer, and stores the most important basic input and output programs of the computer, a self-test program after power-on and a system self-starting program, and can Read and write specific information set by a system from a Complementary Metal Oxide Semiconductor (CMOS). Its primary function is to provide the lowest level, most direct hardware setup and control for the computer.
Dynamic Host Configuration Protocol (DHCP): is a network protocol of a local area network. The method is characterized in that a server controls a range of IP addresses, and a client can automatically obtain the IP address and the subnet mask allocated by the server when logging in the server.
U disk (Universal Serial Bus, USB): the flash disk is called a USB flash disk for short, and the USB flash disk is a flash memory and is also called a flash disk. The difference between the U disk and the hard disk is that the U disk does not need a physical drive, is plug and play, and has storage capacity far exceeding that of a floppy disk, thereby being very convenient to carry.
At present, in the production and manufacturing of the whole machine, the whole machine which is produced in large quantity is often placed in a high-temperature aging workshop for production test at the same time due to the requirement of capacity, and the environment in the workshop is not beneficial to long-time operation of personnel. Meanwhile, in the traditional whole machine aging production process, some bad fault machines can appear, whether the running states of all machines are normal or not needs to be checked manually and periodically, a display, a keyboard or a mouse need to be connected with the machine to check in the process, the consumed time is long, the production efficiency is influenced, and the conditions of missing detection, wrong judgment and the like exist in manual operation. Therefore, how to realize the automatic detection of the aging of the whole machine becomes a technical problem to be solved urgently.
Based on this, the embodiment of the application provides a method and a device for automatically testing the aging of a complete machine, an electronic device and a storage medium, which can realize the automatic testing of the aging process of the complete machine and improve the production efficiency and the accuracy.
The following embodiments are provided to describe a method, an apparatus, an electronic device, and a storage medium for automatic testing of overall aging, and first describe an automatic testing method for overall aging in the embodiments of the present application.
The automatic test method for the aging of the whole machine can be applied to a terminal, a server side and software running in the terminal or the server side. In some embodiments, the terminal may be a smartphone, tablet, laptop, desktop computer, or the like; the server side can be configured into an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and cloud servers for providing basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud functions, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN (content delivery network) and big data and artificial intelligence platforms; the software may be an application for implementing an automatic test method for the aging of the whole machine, but is not limited to the above form.
The application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
Referring to fig. 1, fig. 1 is an optional flowchart of an automatic testing method for burn-in of a complete machine according to an embodiment of the present disclosure, where the method in fig. 1 may specifically include, but is not limited to, steps S110 to S150.
Step S110, installing an original image of an operating system corresponding to the tester through the PXE server;
step S120, when the installation of the original image of the operating system is finished, installing the aging automatic test software corresponding to the test machine through the PXE server;
step S130, establishing communication connection between the testing machine and the monitoring server;
step S140, carrying out aging test on the tester through the automatic aging test software to obtain test result data;
and S150, sending the test result data to a monitoring server for data monitoring and analysis.
In steps S110 to S150 of some embodiments, the operating system original image corresponding to the tester is installed through the PXE server, and when the installation of the operating system original image is completed, the burn-in automatic test software corresponding to the tester is installed through the PXE server. In order to realize the real-time monitoring function of the testing machine, the communication connection between the testing machine and the monitoring server is established. Carrying out aging test on the tester through aging automatic test software to obtain test result data; and sending the test result data to a monitoring server for data monitoring and analysis so as to realize automatic test of the aging of the whole machine. The embodiment of the application can realize the automatic test of the aging process of the whole machine, and improve the production efficiency and the accuracy.
In step S110 of some embodiments, after powering on the tester and starting the PXE server, the tester will first install the original image of the operating system corresponding to the tester through the PXE server. Specifically, the corresponding operating system original image ISO and the corresponding first configuration file are automatically selected according to the order information of the testing machine, and the operating system original image ISO is automatically downloaded from the PXE server and installed.
It should be noted that the first configuration file includes function content selections such as automatic partitioning, creating user information, and selecting an installation mode.
It should be noted that, in order to better implement the automatic test of the whole machine aging process, before step S110, a production environment preparation phase is required. Specifically, the aging vehicle frame with the testing machine placed therein is pushed into an aging workshop of a machine room, a power supply, a network cable and a U disk storing the position number of the machine room frame of the testing machine are plugged, and the state of the indicating lamp is checked. And placing the test machine in a corresponding area according to the model of the test machine, leading out all interfaces of the area, and carrying out circuit protection and aviation plugs.
In a specific embodiment, as shown in fig. 2, fig. 2 is a flowchart illustrating the installation of the original image of the operating system corresponding to the PXE server installation tester, where the installation process specifically includes, but is not limited to, steps S210 to S219.
Step S210, a BIOS of the tester sets a starting item of the network card;
step S211, sending an IP address request to the PXE server;
step S212, providing the allocated IP address and the IP address of the PXE server through the DHCP server;
step S213, sending a start file request to the PXE server, including a start kernel mapping file, a start driver file, a start configuration file, and the like;
step S214, starting the tester to start the corresponding required file through the TFTP server;
step S215, starting the kernel, starting an installation program of the original image of the operating system according to the first configuration file, and requesting to download an automatic response file predefined.cfg to the PXE server;
step S216, the PXE server sends an automatic response file preset.cfg to the testing machine;
step S217, requesting to download an installation file of the original image of the operating system from the PXE server;
step S218, the PXE server sends an installation file to the test machine;
and step S219, finishing the installation of the original image of the operating system according to the preset.cfg of the automatic response file and the installation file.
Cfg is also configured with burn-in automatic test software required for downloading from the PXE server after the system installation is completed.
Cfg, the auto answer file predetermined further includes: the method comprises the following steps of default installation operation, standard user name and password creation, language selection, network configuration, driving function and the like, so that automatic test of the whole machine aging process is realized.
In step S120 of some embodiments, to implement automatic testing of the whole burn-in process, when the installation of the original image of the operating system is completed, the burn-in automatic test software corresponding to the tester is installed through the PXE server. Specifically, after the system is installed, the automatic aging test software and the related second configuration file corresponding to the installation testing machine are continuously downloaded through the PXE server, and the automatic aging test software is automatically restarted after the installation is completed.
It should be noted that, after the automatic aging test software is automatically restarted, the current operating environment of the tester is automatically checked, specifically, the position number of the rack where the current tester is located and the serial number of the current tester are sequentially obtained through the usb disk, the second configuration file includes an order configuration file and a test configuration file, and the order information, test configuration, content, duration, use case, software, and other contents of the tester are obtained from the second configuration file. Meanwhile, the installed operating system also obtains key information such as the current IP, the MAC address, the unique identification code of the tester and the like. According to the embodiment of the application, the U disk is used for storing the position number of the rack where the testing machine is located and the serial number of the current testing machine, the operation is simple, the automatic testing of the whole machine aging process can be effectively realized, the position of the abnormal testing machine is accurately positioned, and the production efficiency and the accuracy are improved.
In step S130 of some embodiments, to implement a real-time monitoring function for the tester, a communication connection between the tester and the monitoring server is established. Specifically, by establishing the communication connection between the testing machines and the monitoring server, the running states of all the testing machines can be monitored, and the aging test results and all the test process data of all the testing machines can be stored. According to the embodiment of the application, the real-time monitoring function of the testing machine can be realized by establishing the communication connection between the testing machine and the monitoring server, the automatic testing of the aging process of the whole machine is realized, and the production efficiency and the accuracy are improved.
In step S140 of some embodiments, in order to implement an automatic test of the whole machine aging process, an aging test is performed on the tester by using an aging automatic test software, so as to obtain test result data. Specifically, the automatic aging test software is used for performing a combined pressure test on the tester, wherein the combined pressure test comprises pressure tests of a CPU, a memory, a hard disk, a network and the like of the tester.
In step S150 of some embodiments, to implement a real-time monitoring function of the whole machine aging process, the test result data is sent to the monitoring server for data monitoring and analysis. Specifically, the monitoring server may perform a graph analysis on the saved data, thereby quickly locating an abnormal testing machine, and the like. According to the embodiment of the application, the real-time monitoring function of the testing machine can be realized by establishing the communication connection between the testing machine and the monitoring server, the automatic testing of the aging process of the whole machine is realized, and the production efficiency and the accuracy are improved.
It should be noted that the PXE server may be the same server or different servers, and may be adjusted according to actual needs, which is not described herein again.
Referring to fig. 3, fig. 3 is a flowchart illustrating a specific method of step S130 according to some embodiments of the present disclosure. In some embodiments of the present application, step S130 specifically includes, but is not limited to, step S310 and step S320, which are described in detail below with reference to fig. 3.
Step S310, sending a socket communication connection request to a monitoring server through aging automatic test software;
step S320, responding to the socket communication connection request through the monitoring server to establish the communication connection between the testing machine and the monitoring server, and automatically running the aging automatic testing software.
In steps S310 and S320 of some embodiments, in order to implement the burn-in test and the real-time monitoring of the tester, a socket communication connection request is sent to the monitoring server through the burn-in automatic test software, the socket communication connection request is responded by the monitoring server to establish a communication connection between the tester and the monitoring server, and the burn-in automatic test software is automatically run. Specifically, after the automatic aging test software is restarted, communication connection between the tester and the monitoring server is established according to a socket communication protocol, and the socket communication is used for receiving data and sending data.
It should be noted that the received data may be in an xml format, and the type of the received data includes tester configuration file request information, test result data, operation state data, and the like. The type of data sent includes profile information, command information, return values, and the like.
In a specific embodiment, as shown in fig. 4, fig. 4 is a flowchart illustrating the operation of the socket communication connection between the tester and the monitoring server, and after the communication connection between the tester and the monitoring server is established, the operation process of the socket communication connection between the tester and the monitoring server specifically includes, but is not limited to, steps S410 to S423.
Step S410, the monitoring server starts data communication, opens the database of the monitoring server, binds the port and starts to monitor the signal sent by the testing machine;
step S411, the tester starts data communication and completes stage test of the aging automatic test software;
step S412, the tester sends a data packet;
step S413, determining whether the monitoring server starts the data receiving function, if yes, executing step S414, and if the monitoring server stops the data receiving function, executing step S41;
step S414, receiving a data packet sent by the tester;
step S415, analyzing the data packet sent by the tester;
step S416, storing the analyzed data packet information into a database;
step S417, determining whether the main interface of the monitoring server needs to be printed, if so, executing step S418, and if not, executing step S419;
step S418, the main interface prints 'test result received';
step S419, the monitoring server sends data such as return value, control instruction or configuration file information to the testing machine, and returns to repeatedly execute step S413;
step S420, the test machine receives data such as return values, control instructions or configuration file information and the like sent by the monitoring server;
step S421, closing the database;
step S422, the monitoring server ends data communication;
in step S423, the tester ends the data communication.
Referring to fig. 5, fig. 5 is a flowchart illustrating a specific method of step S140 according to some embodiments of the present disclosure. In some embodiments of the present application, step S140 specifically includes, but is not limited to, step S510 and step S520, which are described in detail below with reference to fig. 5.
Step S510, after the aging automatic test software is operated, a heartbeat updating mechanism is started, wherein the heartbeat updating mechanism is used for detecting the communication connection condition of the PXE server and the monitoring server;
step S520, carrying out aging test on the tester according to the preset heartbeat time of the heartbeat updating mechanism to obtain test result data.
In step S510 and step S520 of some embodiments, in order to implement the aging test and the real-time monitoring of the tester, after the aging automatic test software is run, a heartbeat update mechanism is started, where the heartbeat update mechanism is used to detect a communication connection situation between the PXE server and the monitoring server. And carrying out aging test on the testing machine according to the preset heartbeat time of the heartbeat updating mechanism to obtain test result data. Specifically, the aging test is performed on the testing machine according to the preset heartbeat time of the heartbeat updating mechanism, for example, the preset heartbeat time is the continuous aging test of the testing machine with the cycle of 60 seconds to obtain the test result data, and the test result data is uploaded to the monitoring server for real-time data monitoring, so that the production efficiency and the accuracy are improved.
Referring to fig. 6, fig. 6 is another alternative flowchart of an automatic testing method for burn-in of a complete machine according to an embodiment of the present disclosure. In some embodiments of the present application, before step S520, the method for automatic testing of burn-in of a complete machine further includes, but is not limited to, step S610 and step S620, which are described in detail below with reference to fig. 6.
Step S610, acquiring current state data of the testing machine at preset heartbeat time through the monitoring server, and updating data stored in the monitoring server according to the current state data to obtain heartbeat updating data;
and S620, simulating and displaying the running state of the tester according to the heartbeat updating data.
In steps S610 and S620 of some embodiments, in order to implement real-time monitoring of the testing machine and clearly show the operating state of each machine, the current state data of the testing machine is acquired by the monitoring server at a preset heartbeat time, and the data stored in the monitoring server is updated according to the current state data, so as to obtain heartbeat update data. Specifically, the monitoring server periodically acquires current state data of the testing machine, and updates data stored in the monitoring server according to the current state data. Meanwhile, the running states of the testing machines are simulated and displayed according to the heartbeat updating data, namely the running states of the testing machines can be simulated and displayed in a browser page display mode, and the positions of the racks where all the testing machines are located and the position information corresponding to the testing machines are displayed on the browser page. When the test machine is normally finished or abnormal, the position of the machine frame in the workshop where the test machine is located can be quickly positioned, so that the function of monitoring all the test machines in real time is achieved, and the production efficiency and the accuracy are improved.
It should be noted that the monitoring server can update data according to the heartbeat, simulate and display the running states, data information and the like of all the current testers, and provide functions of fast positioning, remote updating, restarting, obtaining tester logs and the like.
Referring to fig. 7, fig. 7 is another alternative flowchart of an automatic testing method for burn-in of a complete machine according to an embodiment of the present disclosure. In some embodiments of the present application, before step S140, a method for automatic testing of burn-in of a complete machine further includes, but is not limited to, step S710 to step S730, which are described in detail below with reference to fig. 7.
Step S710, checking the running environment of the testing machine through the automatic aging test software to obtain the machine position information of the testing machine, wherein the machine position information is used for positioning the testing machine;
step S720, obtaining an order configuration file and a test configuration file of the test machine;
and step S730, determining an aging test item of the testing machine according to the order configuration file and the test configuration file, and carrying out aging test on the testing machine according to the aging test item.
In steps S710 to S730 of some embodiments, in order to implement real-time monitoring of the testing machine, quickly locate the abnormal testing machine, implement automatic testing of the aging process of the whole machine, and improve the production efficiency and accuracy, after the communication connection between the testing machine and the monitoring server is established, the automatic aging testing software automatically runs, and the running environment of the testing machine is checked by the automatic aging testing software, so as to obtain the machine position information of the testing machine, where the machine position information is used to locate the position of the testing machine. According to the method and the device for testing the aging of the testing machine, the aging test items of the testing machine are determined according to the obtained order configuration file and the test configuration file, and the aging test is performed on the testing machine according to the aging test items.
Referring to fig. 8, fig. 8 is a flowchart illustrating a specific method of step S150 according to an embodiment of the present disclosure. In some embodiments of the present application, step S150 specifically includes, but is not limited to, step S810 to step S830, which are described in detail below with reference to fig. 8.
Step S810, storing all the received test result data through the monitoring server;
step S820, performing data monitoring analysis on the testing machine according to the test result data, and determining the abnormal condition of the testing machine;
step S830, when the test machine is monitored to be abnormal, the abnormal test machine is positioned according to the machine position information.
In steps S810 to S830 of some embodiments, in order to implement a real-time monitoring function for a testing machine, so as to quickly locate an abnormal testing machine, after performing an aging test on the testing machine by using aging automatic test software to obtain test result data, storing all received test result data by using a monitoring server, and performing data monitoring analysis on the testing machine according to the test result data to determine an abnormal condition of the testing machine. When the test machine is monitored to be abnormal, the test machine with the abnormality is positioned according to the machine position information, namely the machine frame position number where the test machine is located is quickly positioned, so that the function of monitoring all the test machines in real time is achieved, and the production efficiency and the accuracy are improved.
Referring to fig. 9, fig. 9 is another alternative flowchart of an automatic testing method for burn-in of a complete machine according to an embodiment of the present disclosure. In some embodiments of the present application, the monitoring server includes a background monitoring module, the background monitoring module includes a background query submodule and a background management submodule, after step S150, the method for automatically testing the aging of the whole device further includes, but is not limited to, step S910 and step S920, which are described in detail below with reference to fig. 9.
Step S910, inquiring test result data and hardware test data of the tester according to the background inquiry submodule, and monitoring the mainboard aging condition and the whole machine aging condition of the tester;
and step S920, performing remote control management and data management on the tester according to the background management submodule.
In step S910 and step S920 of some embodiments, in order to better implement the automatic test of the whole machine aging process and the data management of the tester, the monitoring server includes a background monitoring module, and the background monitoring module includes a background query sub-module and a background management sub-module. And inquiring the test result data and the hardware test data of the tester according to the background inquiry submodule, and monitoring the mainboard aging condition and the whole machine aging condition of the tester. And performing remote control management and data management on the tester according to the background management submodule. The embodiment of the application can realize the automatic test of the aging process of the whole machine, and improve the production efficiency and the accuracy.
It should be noted that the background query submodule includes a background query function and a background monitoring function, the query function includes query of test result data and hardware test data of the tester, and the hardware test data includes query of a hardware function result and a hardware aging result. The management function of the background management submodule comprises the function management of common authority and advanced authority, wherein the function of the common authority comprises user management, log query, log logout and quit; the functions of the high-level authority include data operation, configuration file uploading, form production and the like.
According to the automatic aging test method for the whole computer, the PXE server is used for installing the original image of the operating system corresponding to the test machine, and when the original image of the operating system is installed, the automatic aging test software corresponding to the test machine is installed through the PXE server. In order to realize the real-time monitoring function of the tester, the automatic aging test software sends a socket communication connection request to the monitoring server, and the monitoring server responds to the socket communication connection request to establish the communication connection between the tester and the monitoring server and automatically run the automatic aging test software. And when the aging automatic test software is operated, starting a heartbeat updating mechanism, wherein the heartbeat updating mechanism is used for detecting the communication connection condition of the PXE server and the monitoring server. And checking the running environment of the testing machine through the aging automatic testing software to obtain the machine position information of the testing machine, wherein the machine position information is used for positioning the testing machine, and determining an aging test item of the testing machine according to the obtained order configuration file and the test configuration file. And carrying out aging test on the testing machine according to the aging test item, and carrying out aging test on the testing machine according to the preset heartbeat time of the heartbeat updating mechanism to obtain test result data. In order to realize real-time monitoring of the testing machine and clearly show the running state of each machine, the current state data of the testing machine is acquired by the monitoring server at the preset heartbeat time, and the data stored in the monitoring server is updated according to the current state data to obtain heartbeat update data; and simulating and displaying the running state of the tester according to the heartbeat updating data. In order to realize the real-time monitoring function of the testing machine, the abnormal testing machine is quickly positioned, all received test result data are stored through the monitoring server, data monitoring analysis is carried out on the testing machine according to the test result data, and the abnormal condition of the testing machine is determined. When the test machine is monitored to be abnormal, the test machine with the abnormality is positioned according to the machine position information, and the data monitoring and analysis of the monitoring server are realized. The embodiment of the application can realize the automatic test of the aging process of the whole machine, and improve the production efficiency and the accuracy.
Referring to fig. 10, an embodiment of the present application further provides an automatic testing apparatus for complete machine aging, which can implement the above automatic testing method for complete machine aging, and the apparatus includes a first installation module 1010, a second installation module 1020, a communication connection module 1030, an aging testing module 1040, and a monitoring analysis module 1050.
The first installation module 1010 is used for installing an original image of the operating system corresponding to the tester through the PXE server;
a second installation module 1020, configured to install, by using the PXE server, the automatic aging test software corresponding to the tester when the installation of the original image of the operating system is completed;
a communication connection module 1030, configured to establish a communication connection between the test machine and the monitoring server;
the aging test module 1040 is used for performing aging test on the tester through the aging automatic test software to obtain test result data;
and the monitoring analysis module 1050 is configured to send the test result data to the monitoring server for data monitoring analysis.
It should be noted that, an automatic testing apparatus for complete machine aging according to an embodiment of the present application is used to implement the above automatic testing method for complete machine aging, and the automatic testing apparatus for complete machine aging according to an embodiment of the present application corresponds to the above automatic testing method for complete machine aging.
An embodiment of the present application further provides an electronic device, including: the system comprises at least one memory, at least one processor and at least one computer program, wherein the at least one computer program is stored in the at least one memory, and the at least one processor executes the at least one computer program to realize the automatic test method for the whole machine aging in any one of the above embodiments. The electronic equipment can be any intelligent terminal including a tablet computer, a vehicle-mounted computer and the like.
Referring to fig. 11, fig. 11 illustrates a hardware structure of an electronic device according to another embodiment, where the electronic device includes:
the processor 1110 may be implemented by a general-purpose CPU (central processing unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits, and is configured to execute a relevant program to implement the technical solution provided in the embodiment of the present application;
the memory 1120 may be implemented in the form of a Read Only Memory (ROM), a static storage device, a dynamic storage device, or a Random Access Memory (RAM). The memory 1120 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present disclosure is implemented by software or firmware, the relevant program codes are stored in the memory 1120, and the processor 1110 calls to execute a method for automatic burn-in test of a whole device according to the embodiments of the present disclosure;
an input/output interface 1130 for implementing information input and output;
a communication interface 1140, which is used for realizing communication interaction between the device and other devices, and may realize communication in a wired manner (e.g., USB, network cable, etc.) or in a wireless manner (e.g., mobile network, WIFI, bluetooth, etc.);
a bus 1150 that transfers information between the various components of the device (e.g., the processor 1110, the memory 1120, the input/output interface 1130, and the communication interface 1140);
wherein the processor 1110, memory 1120, input/output interface 1130, and communication interface 1140 enable communication connections within the device with each other via the bus 1150.
The embodiment of the present application further provides a storage medium, which is a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program is used to enable a computer to execute the complete machine aging automatic test method in any one of the above embodiments.
The memory, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The embodiments described in the embodiments of the present application are for more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation to the technical solutions provided in the embodiments of the present application, and it is obvious to those skilled in the art that the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems with the evolution of technology and the emergence of new application scenarios.
It will be appreciated by those skilled in the art that the solutions shown in fig. 1 to 9 do not constitute a limitation of the embodiments of the present application, and may include more or less steps than those shown, or combine some steps, or different steps.
The above-described embodiments of the apparatus are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
One of ordinary skill in the art will appreciate that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
The terms "first," "second," "third," "fourth," and the like (if any) in the description of the present application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or 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.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the above-described division of units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes multiple instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing programs, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The foregoing description of the preferred embodiments of the present application with reference to the accompanying drawings is in no way intended to limit the scope of the embodiments of the application. Any modifications, equivalents and improvements that may occur to those skilled in the art without departing from the scope and spirit of the embodiments of the present application are intended to be within the scope of the claims of the embodiments of the present application.
Claims (10)
1. An automatic test method for aging of a complete machine is characterized by comprising the following steps:
installing an original image of an operating system corresponding to the test machine through the PXE server;
when the installation of the original image of the operating system is finished, installing the aging automatic test software corresponding to the test machine through the PXE server;
establishing communication connection between the test machine and a monitoring server;
performing aging test on the tester through the automatic aging test software to obtain test result data;
and sending the test result data to the monitoring server for data monitoring analysis.
2. The method of claim 1, wherein establishing the communication connection between the tester and the monitoring server comprises:
sending a socket communication connection request to a monitoring server through the aging automatic test software;
and responding to the socket communication connection request through the monitoring server to establish communication connection between the tester and the monitoring server and automatically run the aging automatic test software.
3. The method of claim 1, wherein the performing burn-in testing on the tester by the burn-in automatic test software to obtain test result data comprises:
after the aging automatic test software is operated, starting a heartbeat updating mechanism, wherein the heartbeat updating mechanism is used for detecting the communication connection condition of the PXE server and the monitoring server;
and carrying out aging test on the tester according to the preset heartbeat time of the heartbeat updating mechanism to obtain test result data.
4. The method of claim 3, wherein before the performing the burn-in test on the tester according to the preset heartbeat time of the heartbeat update mechanism to obtain the test result data, the method further comprises:
acquiring current state data of the testing machine at the preset heartbeat time through the monitoring server, and updating data stored in the monitoring server according to the current state data to obtain heartbeat updating data;
and simulating and displaying the running state of the tester according to the heartbeat updating data.
5. The method of any one of claims 1 to 4, wherein before said burn-in testing of said tester by said burn-in automatic test software to obtain test result data, said method further comprises:
checking the running environment of the testing machine through the automatic aging testing software to obtain machine position information of the testing machine, wherein the machine position information is used for positioning the testing machine;
acquiring an order configuration file and a test configuration file of the test machine;
and determining an aging test item of the testing machine according to the order configuration file and the test configuration file, and performing aging test on the testing machine according to the aging test item.
6. The method of claim 5, wherein sending the test result data to the monitoring server for data monitoring analysis comprises:
storing all the received test result data through the monitoring server;
performing data monitoring analysis on the testing machine according to the test result data to determine the abnormal condition of the testing machine;
and when the test machine is monitored to be abnormal, positioning the abnormal test machine according to the machine position information.
7. The method of any one of claims 1 to 4, wherein the monitoring server comprises a background monitoring module, the background monitoring module comprises a background query sub-module and a background management sub-module, and the method further comprises:
inquiring the test result data and the hardware test data of the tester according to the background inquiry submodule, and monitoring the mainboard aging condition and the whole machine aging condition of the tester;
and performing remote control management and data management on the tester according to the background management submodule.
8. The utility model provides a complete machine aging automatic testing arrangement which characterized in that, the device includes:
the first installation module is used for installing an original image of the operating system corresponding to the test machine through the PXE server;
the second installation module is used for installing the automatic aging test software corresponding to the test machine through the PXE server when the installation of the original image of the operating system is finished;
the communication connection module is used for establishing communication connection between the test machine and the monitoring server;
the aging test module is used for carrying out aging test on the tester through the aging automatic test software to obtain test result data;
and the monitoring analysis module is used for sending the test result data to the monitoring server for data monitoring analysis.
9. An electronic device, comprising:
at least one memory;
at least one processor;
at least one computer program;
the at least one computer program is stored in the at least one memory, the at least one processor executing the at least one computer program to implement:
the method of any one of claims 1 to 7.
10. A storage medium that is a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for causing a computer to execute:
the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210538314.1A CN115061885A (en) | 2022-05-18 | 2022-05-18 | Complete machine aging automatic test method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210538314.1A CN115061885A (en) | 2022-05-18 | 2022-05-18 | Complete machine aging automatic test method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115061885A true CN115061885A (en) | 2022-09-16 |
Family
ID=83199314
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210538314.1A Pending CN115061885A (en) | 2022-05-18 | 2022-05-18 | Complete machine aging automatic test method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115061885A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115374066A (en) * | 2022-10-26 | 2022-11-22 | 北京芯可鉴科技有限公司 | Remote visualization system and remote visualization method |
CN116027029A (en) * | 2023-03-30 | 2023-04-28 | 北京华益精点生物技术有限公司 | Detection method of fluorescence chromatography immunoassay analyzer, electronic equipment and storage medium |
CN116047312A (en) * | 2023-03-27 | 2023-05-02 | 广州锐速智能科技股份有限公司 | Household energy storage system safety monitoring method, system, equipment and medium |
CN116755731A (en) * | 2023-04-26 | 2023-09-15 | 深圳市蓝鲸智联科技有限公司 | Automatic test method based on vehicle-mounted multimedia system upgrade |
-
2022
- 2022-05-18 CN CN202210538314.1A patent/CN115061885A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115374066A (en) * | 2022-10-26 | 2022-11-22 | 北京芯可鉴科技有限公司 | Remote visualization system and remote visualization method |
CN116047312A (en) * | 2023-03-27 | 2023-05-02 | 广州锐速智能科技股份有限公司 | Household energy storage system safety monitoring method, system, equipment and medium |
CN116027029A (en) * | 2023-03-30 | 2023-04-28 | 北京华益精点生物技术有限公司 | Detection method of fluorescence chromatography immunoassay analyzer, electronic equipment and storage medium |
CN116027029B (en) * | 2023-03-30 | 2023-06-13 | 北京华益精点生物技术有限公司 | Detection method of fluorescence chromatography immunoassay analyzer, electronic equipment and storage medium |
CN116755731A (en) * | 2023-04-26 | 2023-09-15 | 深圳市蓝鲸智联科技有限公司 | Automatic test method based on vehicle-mounted multimedia system upgrade |
CN116755731B (en) * | 2023-04-26 | 2024-06-11 | 深圳市蓝鲸智联科技股份有限公司 | Automatic test method based on vehicle-mounted multimedia system upgrade |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115061885A (en) | Complete machine aging automatic test method and device, electronic equipment and storage medium | |
CN109361562B (en) | Automatic testing method based on associated network equipment access | |
CN106919485B (en) | System based on hardware testing tool configured on server | |
CN105787364B (en) | Automatic testing method, device and system for tasks | |
CN110058998B (en) | Software testing method and device | |
CN110119350B (en) | Software development kit testing method, device and equipment and computer storage medium | |
CN112269697B (en) | Equipment storage performance testing method, system and related device | |
CN111143150A (en) | Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit | |
CN112256505A (en) | Server stability testing method and device and related components | |
CN115827111B (en) | Method and device for adjusting server startup item, storage medium and electronic device | |
CN106843947B (en) | Method and device for processing code defects | |
CN105743707A (en) | Method for testing BMC log analysis function based on Redhat system | |
CN112527397A (en) | Method and device for modifying basic input output system options and computer equipment | |
CN111693089A (en) | Product quality control method, device, equipment and storage medium for assembly line | |
CN111651232A (en) | One-machine multi-control method, device and system and electronic equipment | |
CN113504932A (en) | Firmware data updating method and device | |
CN114860271A (en) | PXE starting method, system and device and readable storage medium | |
CN114866515A (en) | IP address configuration method, device, electronic equipment and storage medium | |
CN109660386B (en) | Software upgrading method for semiconductor memory aging test system | |
CN113849356A (en) | Equipment testing method and device, electronic equipment and storage medium | |
CN110134558B (en) | Method and device for detecting server | |
CN115913913A (en) | Network card pre-starting execution environment function fault positioning method and device | |
CN116303200A (en) | PCIE equipment positioning management method, system, terminal and storage medium | |
CN111600751B (en) | Data center management method and system | |
CN109039770B (en) | Server CMC refreshing method and device and related equipment |
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 |