CN114816938A - Server aging program monitoring method, device, terminal and storage medium - Google Patents

Server aging program monitoring method, device, terminal and storage medium Download PDF

Info

Publication number
CN114816938A
CN114816938A CN202210609795.0A CN202210609795A CN114816938A CN 114816938 A CN114816938 A CN 114816938A CN 202210609795 A CN202210609795 A CN 202210609795A CN 114816938 A CN114816938 A CN 114816938A
Authority
CN
China
Prior art keywords
test
database table
basic
time
duration
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
CN202210609795.0A
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202210609795.0A priority Critical patent/CN114816938A/en
Publication of CN114816938A publication Critical patent/CN114816938A/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/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to the field of server aging tests, and particularly discloses a method, a device, a terminal and a storage medium for monitoring a server aging program, which are used for maintaining a basic database table and storing test basic information and corresponding basic test duration; creating a test record database table, and recording test basic information and the start test time and the end test time of the corresponding test; after the test is started, periodically acquiring currently tested data in a test record database table, and inquiring whether the currently tested data has test finishing time; if the test finishing time exists in the currently tested data, the current test is normal; if the end test time in the current test data is empty, calculating the tested time length based on the start test time of the current test, judging whether the tested time length is more than N times of the corresponding basic test time length in the basic database table, and if so, marking the current test abnormality. The invention can alarm when the preset time is exceeded, and remind the staff to pay attention.

Description

Server aging program monitoring method, device, terminal and storage medium
Technical Field
The invention relates to the field of server aging tests, in particular to a method, a device, a terminal and a storage medium for monitoring a server aging program.
Background
In factory customer customized burn-in testing, the customer provides customized versions of the burn-in program and updates the program periodically and frequently. The prior art scheme is that a customized aging program test is added in a factory test flow, and other factory test flows are executed after the customized aging program test task is completed, if the customized aging program runs abnormally and the process is not exited all the time, the machine always displays running, an error cannot be returned, abnormal information of the machine cannot be concerned by workers, the subsequent test flow cannot be continuously executed, the machine becomes a 'zombie' machine, factory resource waste is caused, and yield is influenced.
Disclosure of Invention
In order to solve the problems, the invention provides a method, a device, a terminal and a storage medium for monitoring a server aging program, which can monitor a customized aging program of a client regularly, alarm if the preset time is exceeded, expose the problem in time, remind workers to pay attention, avoid the existence of 'zombie' machines, improve the test efficiency of a factory and reduce the waste of resources.
In a first aspect, a technical solution of the present invention provides a method for monitoring a server aging program, including the following steps:
maintaining a basic database table, wherein test basic information and corresponding basic test duration are stored in the basic database table;
creating a test record database table for recording test basic information and the start test time and the end test time of the corresponding test;
after the test is started, periodically acquiring currently tested data in a test record database table, and inquiring whether the currently tested data has test finishing time;
if the test finishing time exists in the currently tested data, the current test is normal; if the end test time in the current test data is empty, calculating the tested time length based on the start test time of the current test, judging whether the tested time length is greater than N times of the corresponding basic test time length in the basic database table, and if so, marking the current test abnormal.
Further, the test basic information includes: customer information, machine serial number, test package.
Further, maintaining the base database table specifically includes:
selecting a typical package to test, recording the test duration of the test as the basic test duration, and maintaining the basic test duration in a basic database table;
and if the difference between the configuration information and the configuration of the tested package is within a preset range, the test duration of the tested package is floated within a certain range and then is used as the basic test duration corresponding to the configuration information to be maintained in a basic database table for other untested configurations.
Further, maintaining the base database table further comprises:
when the current test is normal, calculating the actual test duration based on the starting test time and the ending test time;
judging whether the actual test duration is greater than the corresponding basic test duration in the basic database table;
if so, updating the actual test duration into a basic database table as basic test duration; otherwise, the base database table is not updated.
Further, the method comprises the following steps:
creating a historical database table, wherein elements in the historical database table are the same as those in the test record database table;
and when the current test is normal, the data of the current test in the test record database table is moved into the historical database table.
Further, the method comprises the following steps:
and when the current test is abnormal, after the current test is processed, manually moving the current test data in the test record database table into the historical database table.
Further, the value range of N is 1.1-1.3.
In a second aspect, an embodiment of the present invention provides a server aging program monitoring apparatus, including,
basic database table maintenance module: maintaining a basic database table, wherein test basic information and corresponding basic test duration are stored in the basic database table;
the test record database table creation module: creating a test record database table for recording test basic information and the start test time and the end test time of the corresponding test;
a test data acquisition module: after the test is started, periodically acquiring currently tested data in a test record database table, and inquiring whether the currently tested data has test finishing time;
a test state judgment module: if the test finishing time exists in the currently tested data, the current test is normal; if the end test time in the current test data is empty, calculating the tested time length based on the start test time of the current test, judging whether the tested time length is greater than N times of the corresponding basic test time length in the basic database table, and if so, marking the current test abnormal.
In a third aspect, a technical solution of the present invention provides a terminal, including:
a memory for storing a server aging program monitoring program;
and the processor is used for realizing the steps of the server aging program monitoring method in any one of the above modes when the server aging program monitoring program is executed.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a server aging program monitoring program is stored on the computer-readable storage medium, and when executed by a processor, the server aging program monitoring program implements the steps of the server aging program monitoring method according to any one of the above.
Compared with the prior art, the server aging program monitoring method, the server aging program monitoring device, the terminal and the storage medium provided by the invention have the following beneficial effects: creating a basic database table and a test record database table, recording basic test duration by the basic database table, recording test information by the test record database table, monitoring the test process at regular time in the test process, checking whether the test can be completed, and inquiring whether the tested duration exceeds the basic test duration for the uncompleted test so as to judge whether the test is abnormal. The invention can monitor the customized aging program of the client regularly, and alarm if the preset time is exceeded, so that the problem is exposed in time, the attention of the working personnel is reminded, the existence of a 'zombie' machine is avoided, the test efficiency of a factory is improved, and the waste of resources is reduced.
Drawings
For a clearer explanation of the embodiments or technical solutions of the prior art of the present application, the drawings needed for the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for monitoring a server aging program according to an embodiment of the present invention.
FIG. 2 is a flow chart of the timed polling monitoring according to an embodiment of the present invention.
Fig. 3 is a schematic block diagram of a server aging program monitoring apparatus according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The core of the invention is to provide a server aging program monitoring method aiming at the problem that the current aging test abnormal information can not be paid attention by the working personnel, the aging test process is monitored, and if the aging test process is still running for more than the preset time, an alarm is given to remind the working personnel to pay attention in time.
Fig. 1 is a schematic flowchart of a method for monitoring a server aging program according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps.
S101, maintaining a basic database table, wherein test basic information and corresponding basic test duration are stored in the basic database table.
The method comprises the steps of maintaining a basic database table in advance, recording test basic information in the basic database table for marking which test is, and recording basic test duration of the test, wherein the basic test duration refers to that in the subsequent monitoring process, if the test is not stopped and the actual test duration exceeds a certain multiple of the corresponding basic test duration, the test is abnormal, cannot be actively completed or stopped, and needs to be processed in time.
S102, a test record database table is created and used for recording test basic information and start test time and end test time of corresponding tests.
And in the test process, the monitoring information of the test is obtained from the test record database table and comprises test basic information, test starting time and test ending time. The obtained test basic information is used for extracting corresponding basic test duration from a basic database table according to the information.
And S103, after the test is started, periodically acquiring the currently tested data in the test record database table, and inquiring whether the currently tested data has the test finishing time.
After the test is started, the data in the test record database table is acquired at regular intervals, for example, the data is acquired at intervals of 20 minutes, of course, the interval time can also be set according to specific actual conditions and user requirements, and the setting of the interval time does not affect the implementation of the embodiment of the application.
When data is acquired from the test record database table, the end test time cannot be necessarily acquired, on one hand, the test at the current time point is not finished, on the other hand, the test at the current time point cannot be finished due to abnormality, the judgment is specifically carried out according to the tested time length, and if the tested time length exceeds the preset time, the judgment is that the test cannot be finished due to abnormality, so that an abnormality prompt is sent.
S104, if the test finishing time exists in the current test data, the current test is normal; if the end test time in the current test data is empty, calculating the tested time length based on the start test time of the current test, judging whether the tested time length is greater than N times of the corresponding basic test time length in the basic database table, and if so, marking the current test abnormal.
The data in the test record database table is obtained at certain time intervals, when the data are obtained, whether the obtained data have the test finishing time or not is judged, if yes, the current test is normal, and the test can be stopped automatically. It should be noted that, here, it is determined whether the test is ended, as long as the test can be ended by itself, and even if the duration of the test exceeds the predetermined duration (N times the duration of the basic test), the test is not considered to be abnormal. Only when the test time is not obtained, namely the test is not finished, and the time for which the test is executed exceeds the preset time (N times of the basic test time), the test is considered to be abnormal and cannot be stopped automatically. The time length for which the test has been performed, i.e. the tested time length, is from the start of the test time to the end of the time for which data is currently acquired, and this time difference is the tested time length. And marking the test which is not finished at the current data acquisition time and has the tested time length exceeding the preset time length (N times of the basic test time length) as abnormal.
The preset time length is N times of the basic test time length, and the value range of N can be between 1.1 and 1.3, for example, 1.2 times of the basic test time length. Currently, the specific value of N can be set according to actual conditions and user requirements, and the specific set value does not affect the implementation of the embodiment of the present application.
The method for monitoring the server aging program provided by the embodiment of the invention comprises the steps of establishing a basic database table and a test record database table, recording basic test time length by the basic database table, recording test information by the test record database table, regularly monitoring the test process in the test process, checking whether the test can be completed, inquiring whether the tested time length exceeds the basic test time length for the uncompleted test, and judging whether the test is abnormal or not. The invention can monitor the customized aging program of the client regularly, and alarm if the preset time is exceeded, so that the problem is exposed in time, the attention of the working personnel is reminded, the existence of a 'zombie' machine is avoided, the test efficiency of a factory is improved, and the waste of resources is reduced.
On the basis of the above embodiment, as a preferred implementation, the test basic information recorded in the basic database table and the test record database table includes: customer information, machine serial number, test package.
The customer information, the machine serial number and the test package are recorded, and the test conditions of different customers, different machine serial numbers and different test packages can be reflected.
On the basis of the above embodiment, as a preferred implementation, the step of maintaining the base database table specifically includes the following steps:
selecting a typical package for testing, recording the testing time length of the test as the basic testing time length, and maintaining the basic testing time length in a basic database table;
and if the difference between the configuration information and the configuration of the tested package is within a preset range, the test duration of the tested package is floated within a certain range and then is used as the basic test duration corresponding to the configuration information to be maintained in a basic database table for other untested configurations.
Before monitoring the aging program, only a typical package is selected for testing to record the duration of a basic test in order to improve the testing efficiency. It can be understood that which packages are typically selected according to specific situations and user requirements, and the selection result does not affect the implementation of the embodiment of the present application. For configuration without test, the test duration of the similar configuration may be referred to for setting, and the test duration of the tested package is floated within a certain range and then used as the basic test duration corresponding to the similar configuration information, for example, floated by 10%.
On the basis of the above embodiment, as a preferred implementation, maintaining the base database table further includes the following steps:
when the current test is normal, calculating the actual test duration based on the starting test time and the ending test time;
judging whether the actual test duration is greater than the corresponding basic test duration in the basic database table;
if so, updating the actual test duration to a basic database table as the basic test duration; otherwise, the base database table is not updated.
After testing a certain model and a package of a client, the obtained actual testing duration updates the basic testing duration in the basic database table according to the actual testing duration so as to ensure the accuracy of the basic testing duration. And updating the basic test duration when the actual test duration is longer than the corresponding basic test duration in the basic database table, delaying the basic test duration and avoiding false alarm.
On the basis of the above example, as a preferred implementation, the method further comprises the following steps:
creating a historical database table, wherein elements in the historical database table are the same as those in the test record database table;
when the current test is normal, the data in the test record database table which is currently tested is moved into the history database table;
and when the current test is abnormal, after the current test is processed, manually moving the current test data in the test record database table into the historical database table.
And establishing a history database table for storing history data, wherein elements in the history database table are the same as those in the test record database table, and after the test is normally finished, moving the currently tested data in the test record database table into the history database table. And for the test which is not normally finished, after the current test is processed, manually moving the data of the current test in the test record database table into the history database table.
To further understand the present invention, a specific embodiment is provided below to further illustrate the present invention, and the specific embodiment includes the following aspects of the design.
Reference data maintenance of test duration
The method comprises the steps that a database table 1 based on clients, machine types, packages and test duration is established according to laboratory test conditions, typical packages are selected for testing in the laboratory test, test duration data of the typical packages are recorded, and other untested similar configurations can be maintained in a floating mode within a certain range by referring to the data of the typical packages, wherein the floating mode is 10%. This serves as the basis for the duration of the test.
And dynamically updating the database table 1 according to the specific test duration of each customer package in the actual test process of the factory to ensure the correctness of the basic data of the test duration.
(II) custom-made burn-in test time recording
Establishing a database table 2, and recording several factors of a client, a package, a machine serial number, starting test time and ending test time; and establishing a database table 3, wherein the elements are the same as those of the database table 2, and storing historical test data.
For a machine needing to run a customer-customized aging program, the database table 2 is recorded before the customer-customized aging program is pulled up, and the information of several elements such as a customer, a package, a machine serial number and a test starting time is recorded.
For the machine needing running the customer-customized aging program, the database table 2 is recorded before the next test is carried out after the customer-customized aging program runs, the query is carried out according to the serial number of the machine, and the test finishing time is updated.
(III) timed poll monitoring
Fig. 2 is a schematic diagram of a timed polling monitoring process.
a) Setting a timing program, and starting once every 20 minutes;
b) acquiring data in the database table 2 one by one, and inquiring whether the current item data has test termination time;
c) if the database table 2 has the test ending time, calculating the test duration according to the test ending time-test starting time, then inquiring the basic test duration in the database table 1 according to the customer and package information, and if the test duration is longer than the basic test duration, updating the current test duration into the database table 1; if so, not updating the database table 1; then, the data is moved into a history database table 3;
d) if the end test time in the database table 2 is empty, calculating the tested time length according to the current test time and the obtained start test, obtaining the basic test time length data of the package in the database table 1 according to the client & package information, if the tested time length is greater than 1.2 times of the basic test time length (the data of 1.2 times can be adjusted according to the actual test condition, if the data is adjusted to 1.1 or 1.3), marking the test state of the machine to be abnormal, and waiting for the working personnel to process; after the processing of the staff is finished, the data is manually moved into a historical database table 3;
e) if the testing time length in d) is less than 1.2 times of the basic testing time length, the testing state of the machine is considered to be normal, and b) is switched to, and next data is continuously analyzed;
f) if all the data in the data table 2 are polled, finishing the polling detection;
g) waiting for the next poll.
The foregoing describes in detail an embodiment of a method for monitoring a server aging program, and based on the method for monitoring a server aging program described in the foregoing embodiment, an embodiment of the present invention further provides a device for monitoring a server aging program, which is used to implement the method for monitoring a server aging program.
Fig. 3 is a schematic block diagram of a server aging program monitoring apparatus according to an embodiment of the present invention, and as shown in fig. 3, the apparatus includes: a basic database table maintenance module 101, a test record database table creation module 102, a test data acquisition module 103, and a test state judgment module 104.
The base database table maintenance module 101: and maintaining a basic database table, wherein the basic database table stores the test basic information and the corresponding basic test duration.
Test record database table creation module 102: and creating a test record database table for recording the test basic information and the start test time and the end test time of the corresponding test.
The test data acquisition module 103: after the test is started, the data of the current test in the test record database table is periodically obtained, and whether the test finishing time exists in the data of the current test is inquired.
Test state determination module 104: if the test finishing time exists in the currently tested data, the current test is normal; if the end test time in the current test data is empty, calculating the tested time length based on the start test time of the current test, judging whether the tested time length is more than N times of the corresponding basic test time length in the basic database table, and if so, marking the current test abnormality.
The server aging program monitoring device of the present embodiment is used for implementing the foregoing server aging program monitoring method, and therefore, the specific implementation of the device can be seen in the foregoing embodiment section of the server aging program monitoring method, and therefore, the specific implementation thereof can refer to the description of the corresponding respective section embodiments, and is not described herein again.
In addition, since the server aging program monitoring apparatus of this embodiment is used to implement the foregoing server aging program monitoring method, the role thereof corresponds to the role of the foregoing method, and details are not described here.
Fig. 4 is a schematic structural diagram of a terminal device 400 according to an embodiment of the present invention, including: a processor 410, a memory 420, and a communication unit 430. The processor 410 is configured to implement the server aging program monitor stored in the memory 420, and implement the following steps:
maintaining a basic database table, wherein test basic information and corresponding basic test duration are stored in the basic database table;
creating a test record database table for recording test basic information and the start test time and the end test time of the corresponding test;
after the test is started, periodically acquiring the current test data in a test record database table, and inquiring whether the current test data has test finishing time;
if the test finishing time exists in the currently tested data, the current test is normal; if the end test time in the current test data is empty, calculating the tested time length based on the start test time of the current test, judging whether the tested time length is greater than N times of the corresponding basic test time length in the basic database table, and if so, marking the current test abnormal.
The invention creates a basic database table and a test record database table, the basic database table records the basic test duration, the test record database table records the test information, in the test process, the test process is monitored at regular time, whether the test can be completed is checked, and whether the test duration exceeds the basic test duration is inquired for the uncompleted test, so as to judge whether the test is abnormal. The invention can monitor the customized aging program of the client regularly, and alarm if the preset time is exceeded, so that the problem is exposed in time, the attention of the working personnel is reminded, the existence of a 'zombie' machine is avoided, the test efficiency of a factory is improved, and the waste of resources is reduced.
The terminal apparatus 400 includes a processor 410, a memory 420, and a communication unit 430. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 420 may be used for storing instructions executed by the processor 410, and the memory 420 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 420, when executed by processor 410, enable terminal 400 to perform some or all of the steps in the method embodiments described below.
The processor 410 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 420 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 410 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 430, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
A computer storage medium storing a server aging program monitor that, when executed by a processor, performs the steps of:
maintaining a basic database table, wherein test basic information and corresponding basic test duration are stored in the basic database table;
creating a test record database table for recording test basic information and the start test time and the end test time of the corresponding test;
after the test is started, periodically acquiring currently tested data in a test record database table, and inquiring whether the currently tested data has test finishing time;
if the test finishing time exists in the currently tested data, the current test is normal; if the end test time in the current test data is empty, calculating the tested time length based on the start test time of the current test, judging whether the tested time length is greater than N times of the corresponding basic test time length in the basic database table, and if so, marking the current test abnormal.
The invention creates a basic database table and a test record database table, the basic database table records the basic test duration, the test record database table records the test information, the test process is monitored regularly during the test process, whether the test can be completed is checked, and whether the tested duration exceeds the basic test duration is inquired for the uncompleted test, so as to judge whether the test is abnormal. The invention can monitor the customized aging program of the client regularly, and alarm if the preset time is exceeded, so that the problem is exposed in time, the attention of the working personnel is reminded, the existence of a 'zombie' machine is avoided, the test efficiency of a factory is improved, and the waste of resources is reduced.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, 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, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, 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 place, or may be distributed on a plurality of 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 invention 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 above disclosure is only for the preferred embodiments of the present invention, but the present invention is not limited thereto, and any non-inventive changes that can be made by those skilled in the art and several modifications and amendments made without departing from the principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A server aging program monitoring method is characterized by comprising the following steps:
maintaining a basic database table, wherein test basic information and corresponding basic test duration are stored in the basic database table;
creating a test record database table for recording test basic information and the start test time and the end test time of the corresponding test;
after the test is started, periodically acquiring currently tested data in a test record database table, and inquiring whether the currently tested data has test finishing time;
if the test finishing time exists in the currently tested data, the current test is normal; if the end test time in the current test data is empty, calculating the tested time length based on the start test time of the current test, judging whether the tested time length is greater than N times of the corresponding basic test time length in the basic database table, and if so, marking the current test abnormal.
2. The server aging program monitoring method according to claim 1, wherein the testing of the basic information includes: customer information, machine serial number, test package.
3. The server aging program monitoring method according to claim 2, wherein maintaining a base database table specifically includes:
selecting a typical package to test, recording the test duration of the test as the basic test duration, and maintaining the basic test duration in a basic database table;
and if the difference between the configuration information and the configuration of the tested package is within a preset range, the test duration of the tested package is floated within a certain range and then is used as the basic test duration corresponding to the configuration information to be maintained in a basic database table for other untested configurations.
4. The server aging program monitoring method according to claim 3, wherein maintaining a base database table further comprises:
when the current test is normal, calculating the actual test duration based on the starting test time and the ending test time;
judging whether the actual test duration is greater than the corresponding basic test duration in the basic database table;
if so, updating the actual test duration to a basic database table as the basic test duration; otherwise, the base database table is not updated.
5. The server aging program monitoring method according to claim 4, further comprising the steps of:
creating a historical database table, wherein elements in the historical database table are the same as those in the test record database table;
and when the current test is normal, the data of the current test in the test record database table is moved into the historical database table.
6. The server aging program monitoring method according to claim 5, further comprising the steps of:
and when the current test is abnormal, after the current test is processed, manually moving the current test data in the test record database table into the historical database table.
7. The server aging program monitoring method according to any one of claims 1 to 6, wherein a value range of N is 1.1 to 1.3.
8. A server aging program monitoring apparatus, comprising,
basic database table maintenance module: maintaining a basic database table, wherein the basic database table stores test basic information and corresponding basic test duration;
the test record database table creation module: creating a test record database table for recording test basic information and the start test time and the end test time of the corresponding test;
a test data acquisition module: after the test is started, periodically acquiring currently tested data in a test record database table, and inquiring whether the currently tested data has test finishing time;
a test state judgment module: if the test finishing time exists in the currently tested data, the current test is normal; if the end test time in the current test data is empty, calculating the tested time length based on the start test time of the current test, judging whether the tested time length is greater than N times of the corresponding basic test time length in the basic database table, and if so, marking the current test abnormal.
9. A terminal, comprising:
a memory for storing a server aging program monitoring program;
a processor for implementing the steps of the server aging program monitoring method according to any one of claims 1 to 7 when executing the server aging program monitoring program.
10. A computer-readable storage medium, having stored thereon a server aging program monitoring program, which when executed by a processor, performs the steps of the server aging program monitoring method according to any one of claims 1 to 7.
CN202210609795.0A 2022-05-31 2022-05-31 Server aging program monitoring method, device, terminal and storage medium Pending CN114816938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210609795.0A CN114816938A (en) 2022-05-31 2022-05-31 Server aging program monitoring method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210609795.0A CN114816938A (en) 2022-05-31 2022-05-31 Server aging program monitoring method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN114816938A true CN114816938A (en) 2022-07-29

Family

ID=82518531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210609795.0A Pending CN114816938A (en) 2022-05-31 2022-05-31 Server aging program monitoring method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114816938A (en)

Similar Documents

Publication Publication Date Title
CN103444134B (en) Supervision system, monitoring arrangement and the method performed by monitoring arrangement, termination and the method performed by termination
CN109976949B (en) BMC fault mirror image rollback refreshing method, device, terminal and storage medium
CN111309579B (en) Test method and related device for system event log quantity acquisition function
CN112000582A (en) Server-side automatic test early warning method, device, equipment and storage medium
CN112231140A (en) Method, system, terminal and storage medium for fault recovery of BMC (baseboard management controller) of storage device
CN109067605B (en) Storage subsystem fault diagnosis method and device, terminal and storage medium
CN114816938A (en) Server aging program monitoring method, device, terminal and storage medium
CN115623464A (en) Fault processing method and device for Bluetooth module of electric energy meter and electric energy meter
CN113608939A (en) Server starting timing method, device, terminal and storage medium in performance test
CN111090557B (en) Management method, device and equipment for abnormal bandwidth reduction of PCIE (peripheral component interface express) equipment
JP2002073165A (en) Method for holding contents by abnormality items of power source detected by measuring instrument
CN111752786A (en) Data storage method, data summarization method, equipment and medium in pressure test process
CN112463480A (en) ARM architecture-based pressure test method, system, terminal and storage medium
CN110399290A (en) Test device, method and the storage medium of message push
CN111884882A (en) Monitoring coverage rate detection method and device
CN111143138A (en) PCIe Bus fault positioning method, system, terminal and storage medium
CN111597101A (en) SDK access state detection method, computer device and computer readable storage medium
CN112231218B (en) Method, system, terminal and storage medium for automatically updating test diagnosis script
EP3032422B1 (en) Monitoring method and computer device
CN111026623A (en) BMC running time testing method, system, terminal and storage medium
CN115545677B (en) Online process specification detection method and system based on automatic case execution condition
CN114443382A (en) Hard disk test method, system, terminal and storage medium
CN116307613A (en) Method, device, terminal and storage medium for detecting appearance of server product
CN116503006A (en) Text monitoring method and device
CN115796823A (en) Method, device, terminal and storage medium for prompting working time of dispatcher

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