A server aging program monitoring method, device, terminal and storage medium
By creating a database table in the server aging program test to record the basic test duration and periodically monitor it, the resource waste caused by abnormal failure to exit the program is solved, and timely alarms and efficiency improvements are achieved.
Patent Information
- Application Number
- CN202210609795.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-31
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2042-05-31
AI Technical Summary
In the factory customer customized aging program test, the exception that has not been exited causes the machine to become a "zombie" machine and cannot continue to execute the subsequent test process, resulting in waste of resources and output impacts.
By creating basic database tables and test records database tables, recording basic test duration and test information, periodically monitoring the test process, determining whether the tested duration exceeds the multiple of the basic test duration, if it exceeds the alarm, it will be alerted to remind the staff.
Exposure problems in a timely manner, avoid the existence of "zombie" machines, improve factory testing efficiency, and reduce resource waste.
Smart Images

Figure CN114816938B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of server aging testing, and in particular to a server aging program monitoring method, device, terminal and storage medium. Background Art
[0002] In factory-customized burn-in program testing, the customer provides a customized burn-in program version, which is updated regularly and frequently. The existing technical solution is to add the customized burn-in program test to the factory test process, and then wait for the customized burn-in program test task to complete before executing other factory test processes. If the customized burn-in program runs abnormally and the process is not exited, the machine will continue to display the status of "running" without returning an error. The machine's abnormal information will not receive the attention of the staff, and subsequent test processes cannot be continued, becoming a "zombie" machine, wasting factory resources and affecting production. Summary of the Invention
[0003] To solve the above problems, the present invention provides a server aging program monitoring method, device, terminal and storage medium, which can regularly monitor the customer-customized aging program. If it exceeds the predetermined time, an alarm will be issued to expose the problem in time, reminding staff to pay attention, avoiding the existence of "zombie" machines, improving factory testing efficiency and reducing resource waste.
[0004] In a first aspect, the technical solution of the present invention provides a server aging program monitoring method, comprising the following steps:
[0005] Maintain the basic database table, which stores basic test information and corresponding basic test duration;
[0006] Create a test record database table to record basic test information and the start and end times of the corresponding tests;
[0007] After the test is started, the data of the current test in the test record database table is periodically obtained to check whether the test end time is included in the data of the current test;
[0008] If the end test time is already in the data of the current test, the current test is normal; if the end test time is empty in the data of the current test, the test duration is calculated based on the start test time of the current test, and it is determined whether the test duration is greater than N times the corresponding basic test duration in the basic database table. If so, the current test is marked as abnormal.
[0009] Furthermore, the basic test information includes: customer information, machine serial number, and test package.
[0010] Furthermore, the basic database tables are maintained, including:
[0011] Select a typical package for testing, record the test duration as the basic test duration and maintain it in the basic database table;
[0012] For other untested configurations, if the difference between a certain configuration information and the configuration of a tested package is within a preset range, the test duration of the tested package will fluctuate within a certain range and be maintained in the basic database table as the basic test duration corresponding to the configuration information.
[0013] Furthermore, maintaining the basic database table also includes:
[0014] The test record database table for the current test contains the end test time. If the current test is normal, the actual test duration is calculated based on the start and end test times.
[0015] Determine whether the actual test duration is greater than the corresponding basic test duration in the basic database table;
[0016] If it is greater, the actual test duration is updated to the basic database table as the basic test duration; otherwise, the basic database table is not updated.
[0017] Furthermore, the method further comprises the following steps:
[0018] Create a historical database table. The elements in the historical database table are the same as those in the test record database table.
[0019] The data in the test record database table of the current test already has the test end time. When the current test is normal, the data of the current test in the test record database table is moved into the history database table.
[0020] Furthermore, the method further comprises the following steps:
[0021] When the end test time in the test record database table of the current test is empty and the current test is abnormal, after the current test is processed, the data of the current test in the test record database table is manually moved into the history database table.
[0022] Furthermore, the value range of N is 1.1~1.3.
[0023] In a second aspect, the technical solution of the present invention provides a server aging program monitoring device, comprising:
[0024] Basic database table maintenance module: maintains the basic database table, which stores basic test information and corresponding basic test duration;
[0025] Test record database table creation module: Create a test record database table to record basic test information and the start and end time of the corresponding test;
[0026] Test data acquisition module: After the test is started, the current test data in the test record database table is periodically obtained to check whether the current test data has the end time of the test;
[0027] Test status judgment module: If the end test time is already included in the current test data, the current test is normal; if the end test time is empty in the current test data, the test duration is calculated based on the start test time of the current test, and it is determined whether the test duration is greater than N times the corresponding basic test duration in the basic database table. If so, the current test is marked as abnormal.
[0028] In a third aspect, the technical solution of the present invention provides a terminal, including:
[0029] a memory for storing a server aging program monitoring program;
[0030] The processor is configured to implement the steps of any of the above-mentioned server aging program monitoring methods when executing the server aging program monitoring program.
[0031] In a fourth aspect, the technical solution of the present invention provides a computer-readable storage medium, on which a server aging program monitoring program is stored. When the server aging program monitoring program is executed by a processor, the steps of the server aging program monitoring method as described in any one of the above items are implemented.
[0032] The present invention provides a server aging program monitoring method, device, terminal, and storage medium. Compared with the prior art, the present invention has the following beneficial effects: creating a basic database table and a test record database table, with the basic database table recording the basic test duration, and the test record database table recording the test information. During the test process, the test process is regularly monitored to check whether the test can be completed. At the same time, for unfinished tests, the test duration is queried to see whether it exceeds the basic test duration, thereby determining whether the test is abnormal. The present invention can regularly monitor the customer-customized aging program. If the predetermined time is exceeded, an alarm will be issued, exposing the problem in a timely manner, alerting staff to the problem, avoiding the existence of "zombie" machines, improving factory testing efficiency, and reducing resource waste. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0034] Figure 1The present invention provides a flow chart of a method for monitoring server aging programs.
[0035] Figure 2 It is a schematic diagram of the timing polling monitoring process in a specific embodiment of the present invention.
[0036] Figure 3 The present invention provides a server aging program monitoring device according to an embodiment of the present invention.
[0037] Figure 4 It is a structural diagram of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0038] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the embodiments described are only a part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making any creative efforts are within the scope of protection of the present application.
[0039] The core of the present invention is to address the problem that the current aging test abnormal information cannot get the attention of staff. It provides a server aging program monitoring method to monitor the aging test process. If it is still running after a predetermined time, an alarm will be issued to remind staff to pay attention in time.
[0040] Figure 1 This is a flow chart of a server aging program monitoring method provided by an embodiment of the present invention. Figure 1 As shown, the method includes the following steps.
[0041] S101, maintaining a basic database table, wherein the basic database table stores basic test information and corresponding basic test duration.
[0042] Maintain a basic database table in advance. The basic database table records basic test information to mark which test it is, and records the basic test duration of the test. The basic test duration refers to the test that is abnormal during the subsequent monitoring process. If it is found that the test has not been stopped and the actual test duration exceeds a certain multiple of the corresponding basic test duration, the test cannot be completed or stopped actively, and needs to be handled in a timely manner.
[0043] S102: Create a test record database table for recording basic test information and the start and end times of the corresponding tests.
[0044] During the test, monitoring information of the test is obtained from the test record database table, including basic test information, test start time, and test end time. The basic test information is used to extract the corresponding basic test duration from the basic database table based on the information.
[0045] S103: After the test is started, the data of the current test in the test record database table is periodically obtained to check whether the data of the current test has an end time of the test.
[0046] After the test is started, the data in the test record database table is obtained once at a certain interval, for example, once every 20 minutes. Of course, the interval time can also be set according to the specific actual situation and user needs. The setting of the interval time does not affect the implementation of the embodiment of the present application.
[0047] When obtaining data from the test record database table, the end time of the test may not be obtained. On the one hand, the test has not ended at the current time point, and on the other hand, the test cannot be ended due to an abnormality at the current time point. The specific judgment should be made based on the test duration. If the test duration exceeds the predetermined time, it is judged that the test cannot be ended due to an abnormality, and an abnormal reminder is issued.
[0048] S104, if the end test time is already in the data of the current test, the current test is normal; if the end test time is empty in the data of the current test, the tested duration is calculated based on the start test time of the current test, and it is determined whether the tested duration is greater than N times the corresponding basic test duration in the basic database table. If so, the current test is marked as abnormal.
[0049] Data from the test record database table is retrieved at regular intervals. When retrieving data, the first step is to determine whether the data contains a test end time. If so, the test is normal and can be terminated automatically. It should be noted that this determination is based on whether the test has terminated. As long as the test can terminate automatically, even if the test duration exceeds the predetermined duration (N times the basic test duration), it is not considered abnormal. Only if the test end time is not retrieved (i.e., the test has not terminated), and the test execution time exceeds the predetermined duration (N times the basic test duration), is the test considered abnormal and cannot be terminated automatically. The elapsed test time is the time from the test start time to the current data acquisition time. Tests that have not terminated at the time of the current data acquisition and whose elapsed test duration exceeds the predetermined duration (N times the basic test duration) are marked as abnormal.
[0050] The predetermined duration is N times the basic test duration, and the value range of N can be between 1.1 and 1.3, for example, 1.2 times the basic test duration. Currently, the specific value of N can be set according to actual conditions and user needs, and the specific setting value does not affect the implementation of the embodiment of the present application.
[0051] An embodiment of the present invention provides a method for monitoring a server aging program. The method creates a basic database table and a test record database table. The basic database table records the basic test duration, and the test record database table records the test information. During the test process, the method regularly monitors the test process to check whether the test can be completed. At the same time, for unfinished tests, the method checks whether the test duration exceeds the basic test duration to determine whether the test is abnormal. The method can regularly monitor the customized aging program. If the predetermined time is exceeded, an alarm will be issued, exposing the problem in a timely manner, alerting staff to the problem, avoiding the existence of "zombie" machines, improving factory testing efficiency, and reducing resource waste.
[0052] Based on the above embodiment, as a preferred implementation method, the basic test information recorded in the basic database table and the test record database table includes: customer information, machine serial number, and test package.
[0053] Record customer information, machine serial numbers, and test packages to reflect the test results of different customers, different machine serial numbers, and different test packages.
[0054] Based on the above embodiment, as a preferred implementation method, maintaining the basic database table specifically includes the following steps:
[0055] Select a typical package for testing, record the test duration as the basic test duration and maintain it in the basic database table;
[0056] For other untested configurations, if the difference between a certain configuration information and the configuration of a tested package is within a preset range, the test duration of the tested package will fluctuate within a certain range and be maintained in the basic database table as the basic test duration corresponding to the configuration information.
[0057] Before performing the aging program monitoring, in order to improve the test efficiency, only typical packages are selected for testing to record the basic test duration. It is understandable that which packages can be selected as typical according to the specific situation and user needs, and the selection result does not affect the implementation of the embodiment of the present application. For configurations that have not been tested, the test duration of similar configurations can be used as a reference for setting, and the test duration of the tested package can be floated within a certain range as the basic test duration corresponding to the similar configuration information, for example, floating 10%. Of course, the floating range can be set according to the specific situation and user needs, and the setting result does not affect the implementation of the embodiment of the present application.
[0058] Based on the above embodiment, as a preferred implementation method, maintaining the basic database table further includes the following steps:
[0059] The test record database table for the current test contains the end test time. If the current test is normal, the actual test duration is calculated based on the start and end test times.
[0060] Determine whether the actual test duration is greater than the corresponding basic test duration in the basic database table;
[0061] If it is greater, the actual test duration is updated to the basic database table as the basic test duration; otherwise, the basic database table is not updated.
[0062] After testing a customer's device model and package, we obtain the actual test duration and update the basic test duration in the basic database table based on the actual test duration to ensure the accuracy of the basic test duration. If the actual test duration is longer than the corresponding basic test duration in the basic database table, the basic test duration is updated and delayed to avoid false alarms.
[0063] Based on the above embodiment, as a preferred implementation, the method further includes the following steps:
[0064] Create a historical database table. The elements in the historical database table are the same as those in the test record database table.
[0065] The data in the test record database table of the current test has the end test time. If the current test is normal, the data of the current test in the test record database table is moved to the history database table;
[0066] When the end test time in the test record database table of the current test is empty and the current test is abnormal, after the current test is processed, the data of the current test in the test record database table is manually moved into the history database table.
[0067] Establish a historical database table to store historical data. The elements in the historical database table are the same as those in the test record database table. After a test completes normally, the data of the current test in the test record database table is moved to the historical database table. For tests that do not complete normally, manually move the data of the current test in the test record database table to the historical database table after the current test is processed.
[0068] In order to further understand the present invention, a specific embodiment is provided below to further illustrate the present invention. The specific embodiment includes the following designs.
[0069] 1. Maintaining benchmark data for test duration
[0070] Based on laboratory testing results, a database table 1 is created based on customer, device model, package, and test duration. Laboratory testing selects typical packages and records their test duration data. For other similar configurations not tested, the data for these typical packages can be used as a reference, with a fixed maintenance interval within a certain range, such as a 10% increase. This serves as the baseline for test duration.
[0071] Dynamically update database Table 1 based on the specific test duration of each customer package during the actual factory test process to ensure the accuracy of the basic data on test duration.
[0072] (2) Customer-customized aging program test time record
[0073] Establish database table 2 to record the customer, package, machine serial number, test start time, and test end time; establish database table 3 with the same elements as database table 2 to save historical test data.
[0074] For machines that need to run a customized aging program, before launching the customized aging program, record database table 2 to record several key information such as customer, package, machine serial number, and test start time.
[0075] For machines that need to run a customized aging program, after the customized aging program is completed and before the next test is performed, database table 2 is recorded, the machine serial number is searched, and the end test time is updated.
[0076] (3) Regular polling monitoring
[0077] Figure 2 This is a schematic diagram of the timed polling monitoring process.
[0078] a) Set the timer to start every 20 minutes;
[0079] b) Obtain the data in database table 2 one by one and check whether the current data item has an end test time;
[0080] c) If the end test time is already in database table 2, the test duration is calculated based on the end test time minus the start test time. Then, the basic test duration in database table 1 is queried based on the customer and package information. If the current test duration is longer than the basic test duration, the current test duration is updated to database table 1; if it is shorter, database table 1 is not updated; and this data is then moved to historical database table 3;
[0081] d) If the end test time in database table 2 is empty, the elapsed test duration is calculated based on the current test time and the obtained start test time. The basic test duration data for this package in database table 1 is obtained based on the customer and package information. If the elapsed test duration is greater than 1.2 times the basic test duration (this value can be adjusted based on the actual test situation, such as 1.1 or 1.3), the machine test status is marked as abnormal and awaits staff processing. After the staff completes the processing, this data is manually moved to historical database table 3;
[0082] e) If the test duration in d) is less than 1.2 times the basic test duration, the machine is considered to be in normal test status and the process goes to b) to analyze the next piece of data.
[0083] f) When all the data in data table 2 are polled, the polling test ends;
[0084] g) Wait for the next poll.
[0085] An embodiment of a server aging program monitoring method is described in detail above. Based on the server aging program monitoring method described in the above embodiment, an embodiment of the present invention further provides a server aging program monitoring device for implementing the above server aging program monitoring method.
[0086] Figure 3 This is a schematic block diagram of the structure of a server aging program monitoring device provided by an embodiment of the present invention. Figure 3 As shown, the device 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 status judgment module 104.
[0087] Basic database table maintenance module 101: maintains a basic database table, in which basic test information and corresponding basic test duration are stored.
[0088] The test record database table creation module 102 creates a test record database table for recording basic test information and the start and end times of the corresponding tests.
[0089] Test data acquisition module 103: After the test is started, the test data of the current test in the test record database table is periodically acquired to check whether the test end time is included in the current test data.
[0090] Test status judgment module 104: If the end test time is already included in the data of the current test, the current test is normal; if the end test time is empty in the data of the current test, the tested duration is calculated based on the start test time of the current test, and it is determined whether the tested duration is greater than N times the corresponding basic test duration in the basic database table. If so, the current test is marked as abnormal.
[0091] The server aging program monitoring device of this embodiment is used to implement the aforementioned server aging program monitoring method. Therefore, the specific implementation method of the device can be seen in the embodiment part of the server aging program monitoring method in the previous text. Therefore, its specific implementation method can refer to the description of the corresponding embodiments of each part and will not be elaborated here.
[0092] In addition, since the server aging program monitoring device of this embodiment is used to implement the aforementioned server aging program monitoring method, its function corresponds to that of the aforementioned method and will not be described in detail here.
[0093] Figure 4 The present invention provides a schematic diagram of a terminal device 400, including a processor 410, a memory 420, and a communication unit 430. The processor 410 is configured to implement the following steps when implementing the server aging program monitoring program stored in the memory 420:
[0094] Maintain the basic database table, which stores basic test information and corresponding basic test duration;
[0095] Create a test record database table to record basic test information and the start and end times of the corresponding tests;
[0096] After the test is started, the data of the current test in the test record database table is periodically obtained to check whether the test end time is included in the data of the current test;
[0097] If the end test time is already in the data of the current test, the current test is normal; if the end test time is empty in the data of the current test, the test duration is calculated based on the start test time of the current test, and it is determined whether the test duration is greater than N times the corresponding basic test duration in the basic database table. If so, the current test is marked as abnormal.
[0098] The present invention creates a basic database table and a test record database table. The basic database table records the basic test duration, and the test record database table records the test information. During the test process, the test process is regularly monitored to check whether the test can be completed. At the same time, for unfinished tests, the test duration is checked to see whether it exceeds the basic test duration, thereby determining whether the test is abnormal. The present invention can regularly monitor the customer-customized burn-in program and issue an alarm if the preset time is exceeded, exposing the problem in a timely manner and alerting the staff to avoid the existence of "zombie" machines, improving factory testing efficiency, and reducing resource waste.
[0099] The terminal device 400 includes a processor 410, a memory 420, and a communication unit 430. These components communicate via one or more buses. Those skilled in the art will appreciate that the server structure shown in the figure does not limit the present invention; it may be a bus structure or a star structure, and may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0100] Memory 420 can be used to store execution instructions of processor 410. Memory 420 can be implemented by any type of volatile or non-volatile storage device, or a 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. When the execution instructions in memory 420 are executed by processor 410, terminal 400 can perform some or all of the steps in the above-described method embodiments.
[0101] The processor 410 is the control center of the storage terminal. It uses various interfaces and lines to connect various parts of the entire electronic terminal. It executes various functions of the electronic terminal and / or processes data by running or executing software programs and / or modules stored in the memory 420, and calling data stored in the memory. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 410 can only include a central processing unit (CPU). In an embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.
[0102] The communication unit 430 is configured to establish a communication channel so that the storage terminal can communicate with other terminals, receive user data sent by other terminals, or send user data to other terminals.
[0103] 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).
[0104] The computer storage medium stores a server aging program monitoring program, which implements the following steps when executed by a processor:
[0105] Maintain the basic database table, which stores basic test information and corresponding basic test duration;
[0106] Create a test record database table to record basic test information and the start and end times of the corresponding tests;
[0107] After the test is started, the data of the current test in the test record database table is periodically obtained to check whether the test end time is included in the data of the current test;
[0108] If the end test time is already in the data of the current test, the current test is normal; if the end test time is empty in the data of the current test, the test duration is calculated based on the start test time of the current test, and it is determined whether the test duration is greater than N times the corresponding basic test duration in the basic database table. If so, the current test is marked as abnormal.
[0109] The present invention creates a basic database table and a test record database table. The basic database table records the basic test duration, and the test record database table records the test information. During the test process, the test process is regularly monitored to check whether the test can be completed. At the same time, for unfinished tests, the test duration is checked to see whether it exceeds the basic test duration, thereby determining whether the test is abnormal. The present invention can regularly monitor the customer-customized burn-in program and issue an alarm if the preset time is exceeded, exposing the problem in a timely manner and alerting the staff to avoid the existence of "zombie" machines, improving factory testing efficiency, and reducing resource waste.
[0110] Those skilled in the art will clearly understand that the techniques in the embodiments of the present invention can be implemented using software plus a necessary general-purpose hardware platform. Based on this understanding, the technical solutions in the embodiments of the present invention, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, among other media capable of storing program code, and includes instructions for causing a computer terminal (which can be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention.
[0111] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0112] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0113] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0114] The above disclosure is only a preferred embodiment of the present invention, but the present invention is not limited thereto. Any non-creative changes that can be thought of by those skilled in the art, as well as several improvements and modifications made without departing from the principles of the present invention, should fall within the scope of protection of the present invention.
Claims
1. A server aging program monitoring method, characterized in that: The following steps are involved: Maintain a basic database table that stores basic test information and corresponding basic test duration. Maintaining the basic database table specifically includes: selecting a typical package for testing, recording the test duration as the basic test duration and maintaining it in the basic database table; for other untested configurations, if the difference between a certain configuration information and the configuration of a tested package is within a preset range, then the test duration of the tested package is fluctuated within a certain range and maintained in the basic database table as the basic test duration corresponding to the configuration information; Create a test record database table to record basic test information and the start and end times of the corresponding tests; After the test is started, the data of the current test in the test record database table is periodically obtained to check whether the test end time is included in the data of the current test; If the end test time is already in the data of the current test, the current test is normal; if the end test time is empty in the data of the current test, the test duration is calculated based on the start test time of the current test, and it is determined whether the test duration is greater than N times the corresponding basic test duration in the basic database table. If so, the current test is marked as abnormal.
2. The server aging program monitoring method according to claim 1, characterized in that: Basic test information includes: customer information, machine serial number, and test package.
3. The server aging program monitoring method according to claim 1, characterized in that: Maintaining basic database tables also includes: The test record database table for the current test contains the end test time. If the current test is normal, the actual test duration is calculated based on the start and end test times. Determine whether the actual test duration is greater than the corresponding basic test duration in the basic database table; If it is greater, the actual test duration is updated to the basic database table as the basic test duration; otherwise, the basic database table is not updated.
4. The server aging program monitoring method according to claim 3, characterized in that: The method further comprises the following steps: Create a historical database table. The elements in the historical database table are the same as those in the test record database table. The data in the test record database table of the current test already has the test end time. When the current test is normal, the data of the current test in the test record database table is moved into the history database table.
5. The server aging program monitoring method according to claim 4, characterized in that: The method further comprises the following steps: When the end test time in the test record database table of the current test is empty and the current test is abnormal, after the current test is processed, the data of the current test in the test record database table is manually moved into the history database table.
6. The server aging program monitoring method according to any one of claims 1 to 5, characterized in that: The value range of N is 1.1~1.
3.
7. A server aging program monitoring device, characterized in that: include, Basic database table maintenance module: maintains the basic database table, which stores basic test information and corresponding basic test duration. Maintaining the basic database table specifically includes: selecting a typical package for testing, recording the test duration as the basic test duration and maintaining it in the basic database table; for other untested configurations, if the difference between a certain configuration information and the configuration of a tested package is within a preset range, then the test duration of the tested package is fluctuated within a certain range and maintained in the basic database table as the basic test duration corresponding to the configuration information; Test record database table creation module: Create a test record database table to record basic test information and the start and end time of the corresponding test; Test data acquisition module: After the test is started, the current test data in the test record database table is periodically obtained to check whether the current test data has the end time of the test; Test status judgment module: If the end test time is already included in the current test data, the current test is normal; if the end test time is empty in the current test data, the test duration is calculated based on the start test time of the current test, and it is determined whether the test duration is greater than N times the corresponding basic test duration in the basic database table. If so, the current test is marked as abnormal.
8. A terminal, characterized in that: include: a memory for storing a server aging program monitoring program; The processor is configured to implement the steps of the server aging program monitoring method according to any one of claims 1 to 6 when executing the server aging program monitoring program.
9. A computer-readable storage medium, characterized in that The readable storage medium stores a server aging program monitoring program, which, when executed by a processor, implements the steps of the server aging program monitoring method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Intelligent equipment aging test method and equipment
CN110286281A
Automatic data processing method and device, electronic equipment and storage medium
CN110334008A