CN117093434B - Startup and shutdown self-detection method for notebook computer - Google Patents
Startup and shutdown self-detection method for notebook computer Download PDFInfo
- Publication number
- CN117093434B CN117093434B CN202311361177.XA CN202311361177A CN117093434B CN 117093434 B CN117093434 B CN 117093434B CN 202311361177 A CN202311361177 A CN 202311361177A CN 117093434 B CN117093434 B CN 117093434B
- Authority
- CN
- China
- Prior art keywords
- application program
- notebook computer
- self
- checking
- hardware
- 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.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 47
- 238000000034 method Methods 0.000 claims abstract description 40
- 230000008569 process Effects 0.000 claims abstract description 23
- 238000009434 installation Methods 0.000 claims description 21
- 238000012544 monitoring process Methods 0.000 claims description 18
- 238000013499 data model Methods 0.000 claims description 13
- 230000002159 abnormal effect Effects 0.000 claims description 7
- 238000004364 calculation method Methods 0.000 claims description 7
- 230000008439 repair process Effects 0.000 claims description 7
- 238000012937 correction Methods 0.000 claims description 4
- 230000001174 ascending effect Effects 0.000 claims description 3
- 238000012795 verification Methods 0.000 claims description 3
- 230000036541 health Effects 0.000 abstract description 2
- 238000007792 addition Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003449 preventive effect Effects 0.000 description 1
- 238000011895 specific detection Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000013024 troubleshooting Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2284—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to the technical field of on-off detection, and aims to solve the problems that the existing notebook computer is mainly concentrated on a hardware level in an on-off self-detection mode, cannot detect a software level, causes that a user encounters an unknown measure on software problem after the notebook computer is started, lacks personalized self-detection setting, cannot carry out personalized setting according to specific requirements of the user, and cannot provide friendly on-off self-detection experience for the user, and particularly relates to an on-off self-detection method for the notebook computer. According to the invention, the application program and the hardware self-checking personalized customization of the notebook computer are realized by defining the preference of the application program of the user, and the detection and analysis of the health state of the application program and the hardware of the notebook computer are realized, so that the on-off self-checking process of the notebook computer is more accurate and user-friendly, the user experience is improved, and the stable and safe operation of the hardware and the software of the notebook computer is ensured.
Description
Technical Field
The invention relates to the technical field of on-off detection, in particular to an on-off self-detection method for a notebook computer.
Background
The on-off self-checking is a preventive measure, mainly ensures the normal operation of the notebook computer and provides a stable and reliable computing environment, and simultaneously improves timely error diagnosis and repair for users.
However, the existing notebook computer is mainly concentrated on a hardware level in a power-on and power-off self-detection mode, and cannot detect a software level, so that a user encounters a software problem after starting up.
In addition, in the existing mode of on-off self-detection of the notebook computer, most of the existing methods are universal self-detection methods, personalized self-detection settings are lacking, personalized settings cannot be carried out according to specific requirements of users, and therefore friendly on-off self-detection experience cannot be provided for the users.
In order to solve the above-mentioned defect, a technical scheme is provided.
Disclosure of Invention
The invention aims to provide a startup and shutdown self-detection method for a notebook computer.
The aim of the invention can be achieved by the following technical scheme: a startup and shutdown self-detection method for a notebook computer comprises the following steps:
step one: the method comprises the steps of monitoring a user using operation log of a notebook computer, extracting the using frequency and the using time of each application program, analyzing the using state of each application program, and marking each application program as a high-frequency using application program or a low-frequency using application program respectively;
step two: according to each application program of the divided high-frequency application program, the running data log is monitored, so that running data information of each application program is extracted, the demand state of each application program marked as the high-frequency application program is analyzed according to the running data information, and a self-checking demand set A of the on-off application program of the notebook computer corresponding to a user is output;
step three: the method comprises the steps of monitoring basic operation information in a historical unit time period of a notebook computer, setting a popup window period of a popup window to be checked by the on-off self-checking intention of the notebook computer, outputting the popup window period of the popup window to be checked by the on-off self-checking intention of the notebook computer according to the popup window period, and enabling the obtained historical state coefficient of each notebook computer to correspond to one popup window period;
step four: according to a set pop window period of the pop window of the self-checking intention of turning on and off of the notebook computer, analyzing the checking intention state of the data item of the user in the m checking tasks, and outputting a self-checking intention set B of the application program of turning on and off of the notebook computer and a self-checking intention set C of the hardware of turning on and off corresponding to the user;
step five: according to the output self-checking requirement set A and self-checking intention set B of the on-off application program of the notebook computer corresponding to the user, and carrying out comprehensive judgment and analysis on the self-checking state of the application program of the notebook computer, outputting a personalized comprehensive customized self-checking sequence table of the application program of the notebook computer corresponding to the user;
step six: customizing a self-checking sequence table according to the individuality of the application program of the notebook computer corresponding to the output user, sequentially detecting each application program when the notebook computer is started and shut down, and notifying relevant technicians of the detection result through a display terminal;
step seven: the method comprises the steps of monitoring performance data information of each piece of hardware of a notebook computer and analyzing running performance states, outputting a startup and shutdown hardware self-checking requirement set D of the notebook computer corresponding to a user, combining a startup and shutdown hardware self-checking intention set C, comprehensively judging and analyzing the self-checking states of the pieces of hardware of the notebook computer, and outputting a personal comprehensive customization self-checking sequence table of the pieces of hardware of the notebook computer corresponding to the user;
step eight: according to the output individual comprehensive customization self-checking sequence table of the hardware of the notebook computer corresponding to the user, and according to the ordering of the hardware in the individual comprehensive customization self-checking sequence table, detecting operation is sequentially carried out on the hardware when the notebook computer is started and shut down, and in the self-checking process, an automatic repairing option is provided.
Preferably, the specific output process of the self-checking requirement set a of the on-off application program of the notebook computer corresponding to the user is as follows:
monitoring a user use operation log of a target notebook computer, and calling the use frequency and the use time length of each application program of the user from the user use operation log and recording the use frequency and the use time length as up respectively i Sum ut i And comprehensively analyzing the data according to a set data model: use(s) i =μ1×(up i +ut i ) Thereby outputting the use coefficient use of each application program i Wherein i represents the number of applications, and i is a positive integer, μ1 is a conversion factor coefficient, and μ1 is a natural number greater than 0;
setting a comparison threshold of the use coefficients, comparing and analyzing the use coefficients of all the application programs with a preset comparison threshold, marking the corresponding application program as a high-frequency use application program if the use coefficients are larger than or equal to the preset comparison threshold, otherwise marking the corresponding application program as a low-frequency use application program if the use coefficients are smaller than the preset comparison threshold;
monitoring the operation data log of each application marked as high-frequency use application program, and calling the number of abnormal stop events, the number of error events and the number of warning events in the operation data information of each application program from the operation data log, and calibrating the abnormal stop events, the number of error events and the number of warning events as NE1 in sequence i 、NE2 i And NE3 i And comprehensively analyzing the three items of data according to the set data model type: ofx i =μ2× (n1+n2+n3), thereby outputting the running coefficients ofx of the respective application programs marked as high-frequency use application programs i Wherein μ2 is a conversion factor coefficient, and μ2 is a natural number greater than 0;
setting an operation threshold value of the operation coefficient of each application program marked as the high-frequency use application program, and classifying each application program with the operation coefficient larger than the operation threshold value into a to-be-sequenced self-checking set W;
and according to the self-checking set to be ordered W, ordering all the application programs in the self-checking set to be ordered W in a descending order according to the numerical value of the operation coefficient, and outputting a startup and shutdown application program self-checking requirement set A of the notebook computer corresponding to the user.
Preferably, the pop-up window period for choosing the pop-up window is set according to the self-checking intention of the on-off of the notebook computer, and the specific setting process is as follows:
taking the startup times, shutdown times and working time in basic operation information in a historical unit period of the notebook computer, respectively calibrating the startup times, the shutdown times and the working time into kc, gc and st, calculating and analyzing each item of data, and according to a set data model: hsc=δ1×kc+δ2×gc+δ3×st, thereby outputting a history state coefficient hsc of the notebook computer, where δ1, δ2, and δ3 are weight factor coefficients of the number of times of startup, the number of times of shutdown, and the working time, respectively, and δ1, δ2, and δ3 are natural numbers greater than 0;
and comparing and matching the historical state coefficients of the notebook computer with a tab popup window period setting table stored in a cloud database, so as to output the popup window period of the selected popup window of the on-off self-checking intention of the notebook computer, wherein the obtained historical state coefficients of each notebook computer correspond to one popup window period.
Preferably, the analyzing the choosing intent state of the data item in the m choosing tasks includes the following specific analysis process:
generating a switching on/off self-checking intent hooking popup window on the notebook computer within a set popup window period, wherein the content in the switching on/off self-checking intent hooking popup window comprises all hardware item detection options and all application program item detection options;
the user enters the notebook computer in a set period and completes the hook in the on-off self-checking intent hook popup window, and invokes each hardware item detection hook data value and each application item detection hook data value in m hook tasks;
according to the hardware item detection and check data value, arranging the application program items in descending order, and outputting a startup and shutdown application program self-checking intent set B of the notebook computer corresponding to the user;
and arranging the hardware items according to descending order according to the hardware item detection and check data value, thereby outputting a self-checking intent set C of the on-off hardware of the notebook computer corresponding to the user.
Preferably, the comprehensive determination analysis is performed on the self-checking state of the application program of the notebook computer, and the specific analysis process is as follows:
according to the output self-checking requirement set A and self-checking intention set B of the on-off application program of the notebook computer corresponding to the user;
the method comprises the steps of comprehensively analyzing a power-on application self-checking requirement set A and a power-on application self-checking intention set B, wherein the steps are as follows: the ordering positions of the same application program in the two sets are obtained and respectively marked as N1 k And N2 k According to the formula: n (N) k *=(N1 k +N2 k ) 2, thereby obtaining the comprehensive self-checking order of each application program of the notebook computerPosition N k *;
Ordering position N according to comprehensive self-checking k * And (3) arranging all the application programs in a descending order according to the numerical values of the application programs, and outputting a personalized comprehensive customization self-checking sequence table of the application programs of the notebook computer corresponding to the user.
Preferably, the comprehensive decision analysis is performed on the self-checking state of the hardware of the notebook computer, and the specific decision analysis process is as follows:
acquiring an operation value and an operation reference value in performance data information of each hardware of the notebook computer, and marking the operation value and the operation reference value as xn respectively j And cxn j And performing calculation analysis on the two items of data according to a set data model:thereby outputting the operation performance coefficient hpc of each hardware in the notebook computer j λ1 and λ2 are correction factors of the performance value and the performance reference value, respectively, and λ1 and λ2 are natural numbers greater than 0;
according to the value of the running performance coefficient, all hardware are arranged in ascending order, so that a startup and shutdown hardware self-checking requirement set D of the notebook computer corresponding to a user is output;
the on-off hardware self-checking intention set C and the on-off hardware self-checking requirement set D are comprehensively analyzed, and specifically: the ordering positions of the same hardware in the two sets are obtained and respectively marked as M1 j And M2 j According to the formula: m is M j *=(M1 j +M2 j ) 2, thereby obtaining the comprehensive self-checking ordering position M of each hardware of the notebook computer j *;
Ordering positions M according to comprehensive self-checking j * And (3) arranging all the hardware in a descending order, and outputting the personalized comprehensive customized self-checking sequence table of the hardware of the notebook computer corresponding to the user.
Preferably, the detection operation is performed on each application program, and the specific detection operation process is as follows:
s6-1: detecting the integrity of the application programs, calculating the files of the application programs by utilizing a hash algorithm, thus obtaining local hash values of the application programs, carrying out matching verification on the local hash values of the application programs and the correct hash values of the application programs obtained in advance, if the local hash values of the application programs are matched with the correct hash values, indicating that the corresponding application programs are complete, otherwise, if the local hash values of the application programs are not matched with the correct hash values, indicating that the files of the corresponding application programs are tampered or damaged, triggering a repair signal, carrying out pre-repair marking on the corresponding application programs, and notifying relevant technicians through a display terminal;
s6-2: detecting the update state of the application program, when the notebook computer is started and shut down, acquiring the current installation version of each application program, matching the current installation version of the application program with the installation version of the application program in an application store, if the current installation version of the application program is consistent with the installation version in the application store, indicating that the corresponding application program is in the latest update state, otherwise, if the current installation version of the application program is inconsistent with the installation version in the application store, carrying out pre-update marking on the corresponding application program, and notifying relevant technicians through a display terminal;
s6-3: detecting the starting performance of the application programs, monitoring the starting time of each application program in real time when the application programs are started, comparing and analyzing the starting time of each application program in starting with a set starting time threshold value, and if the starting time of the application program exceeds the set starting time threshold value, carrying out pre-optimized starting marking on the corresponding application program and notifying related technicians through a display terminal;
s6-4: detecting the configuration state of the application program, monitoring each configuration item in the configuration files of each application program in real time, comparing and verifying all the configuration items in the configuration files of each application program with corresponding reference configuration items, if the configuration items in the configuration files of the application program are consistent with the corresponding reference configuration items, indicating that the corresponding application program is in a normal configuration state, otherwise, if the configuration items in the configuration files of the application program are inconsistent with the corresponding reference configuration items, the corresponding application program carries out prereduction marking and informs relevant technicians through a display terminal.
The invention has the beneficial effects that:
according to the invention, the operation log used by the user of the notebook computer is monitored, so that the use state of each application program is analyzed, the preference of the application program of the user is defined, and a foundation is laid for realizing the personalized customization of the self-checking of the application program of the notebook computer;
the basic operation information of the notebook computer in the historical unit time period is analyzed, so that the setting of the pop-up window period of the pop-up window is clearly defined according to the self-checking intention of the startup and shutdown of the notebook computer, the checking intention states of various data of a user in multiple checking tasks are counted according to the setting, and powerful data support is provided for realizing personalized startup and shutdown self-checking setting;
the method has the advantages that through the modes of data sequence integration, data calibration and calculation analysis, the personalized comprehensive customization self-checking sequence list of the application program of the notebook computer corresponding to the user is output, the sequence in the self-checking sequence list is customized according to the personalized comprehensive customization of the application program, and detection operation is sequentially carried out on each application program, so that the personalized requirements of the user are met while the customization setting of the on-off self-detection of the notebook computer is realized, and the detection analysis of the health state of the application program of the notebook computer is realized.
By analyzing the intention of a user and the actual performance state of the hardware of the notebook computer and combining the two contents, the setting of the personalized detection of the hardware of the notebook computer is realized, and meanwhile, the comprehensive self-detection of the hardware of the notebook computer is realized, so that the on-off self-detection process of the notebook computer is more accurate and user-friendly, the user experience is improved, and the stable and safe operation of the hardware and the software of the notebook computer is ensured.
Drawings
The invention is further described below with reference to the accompanying drawings.
Fig. 1 is a flow chart of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, the invention is a method for detecting the startup and shutdown of a notebook computer, comprising the following steps:
step one: monitoring a user use operation log of a target notebook computer, and calling the use frequency and the use time length of each application program of the user from the user use operation log and recording the use frequency and the use time length as up respectively i Sum ut i And comprehensively analyzing the data according to a set data model: use(s) i =μ1×(up i +ut i ) Thereby outputting the use coefficient use of each application program i Where i represents the number of applications, and i is a positive integer, μ1 is a conversion factor coefficient for converting the physical quantity of all data items into a data coefficient of the same physical quantity, and μ1 is a natural number greater than 0;
setting a comparison threshold of the use coefficients, comparing and analyzing the use coefficients of all the application programs with a preset comparison threshold, marking the corresponding application program as a high-frequency use application program if the use coefficients are larger than or equal to the preset comparison threshold, otherwise marking the corresponding application program as a low-frequency use application program if the use coefficients are smaller than the preset comparison threshold;
each application is hereby marked as a high frequency use application or a low frequency use application, respectively.
Step two: according to each application program of the divided high-frequency use application program, the running data log is monitored, so that the number of abnormal stop events, the number of error events and the number of warning events in the running data information of each application program are extracted, and the demand state of each application program marked as the high-frequency use application program is analyzed according to the number of abnormal stop events, the number of error events and the number of warning events, specifically:
sequentially calibrating the number of abnormal stop events, the number of error events and the number of warning events as NE1 i 、NE2 i And NE3 i And comprehensively analyzing the three items of data according to the set data model type: ofx i =μ2× (n1+n2+n3), thereby outputting the running coefficients ofx of the respective application programs marked as high-frequency use application programs i Wherein μ2 is a conversion factor coefficient, and μ2 is a natural number greater than 0;
setting an operation threshold value of the operation coefficient of each application program marked as the high-frequency use application program, and classifying each application program with the operation coefficient larger than the operation threshold value into a to-be-sequenced self-checking set W;
and according to the self-checking set to be ordered W, ordering all the application programs in the self-checking set to be ordered W in a descending order according to the numerical value of the operation coefficient, and outputting a startup and shutdown application program self-checking requirement set A of the notebook computer corresponding to the user.
Step three: by monitoring basic operation information in a historical unit period of the notebook computer, the pop-up window period of the pop-up window is set according to the self-checking intention of the startup and shutdown of the notebook computer, and the specific setting process is as follows:
taking the startup times, shutdown times and working time in basic operation information in a historical unit period of the notebook computer, respectively calibrating the startup times, the shutdown times and the working time into kc, gc and st, calculating and analyzing each item of data, and according to a set data model: hsc=δ1×kc+δ2×gc+δ3×st, thereby outputting a history state coefficient hsc of the notebook computer, where δ1, δ2, and δ3 are weight factor coefficients of the number of times of startup, the number of times of shutdown, and the working time, respectively, δ1, δ2, and δ3 are natural numbers greater than 0, and the weight factor coefficients are used to equalize the duty ratio weights of each item of data in formula calculation, so as to promote accuracy of calculation results;
and comparing and matching the historical state coefficients of the notebook computer with a tab popup window period setting table stored in a cloud database, so as to output the popup window period of the selected popup window of the on-off self-checking intention of the notebook computer, wherein the obtained historical state coefficients of each notebook computer correspond to one popup window period.
Step four: according to the set pop-up window period of the pop-up window selected by the self-checking intention of the on-off of the notebook computer, analyzing the selected intention state of the data item of the user in m selected tasks, wherein the specific analysis process is as follows:
generating a switching on/off self-checking intent hooking popup window on the notebook computer within a set popup window period, wherein the content in the switching on/off self-checking intent hooking popup window comprises all hardware item detection options and all application program item detection options;
the user enters the notebook computer in a set period and completes the hook in the on-off self-checking intent hook popup window, and invokes each hardware item detection hook data value and each application item detection hook data value in m hook tasks, and marks the same as hd respectively j And ap k Wherein j is the number of hardware items, k is the number of application items, j and k are positive integers, and j and k are not more than m;
according to the hardware item detection and check data value, arranging the application program items in descending order, and outputting a startup and shutdown application program self-checking intent set B of the notebook computer corresponding to the user;
and arranging the hardware items according to descending order according to the hardware item detection and check data value, thereby outputting a self-checking intent set C of the on-off hardware of the notebook computer corresponding to the user.
Step five: according to the output self-checking requirement set A and self-checking intention set B of the on-off application program of the notebook computer corresponding to the user, and the self-checking state of the application program of the notebook computer is comprehensively judged and analyzed, the specific analysis process is as follows:
the method comprises the steps of comprehensively analyzing a power-on application self-checking requirement set A and a power-on application self-checking intention set B, wherein the steps are as follows: the ordering positions of the same application program in the two sets are obtained and respectively marked as N1 k And N2 k According to the formula: n (N) k *=(N1 k +N2 k ) 2, thereby obtaining the comprehensive self-checking ordering position N of each application program of the notebook computer k *;
Ordering position N according to comprehensive self-checking k * And (3) arranging all the application programs in a descending order according to the numerical values of the application programs, and outputting a personalized comprehensive customization self-checking sequence table of the application programs of the notebook computer corresponding to the user.
Step six: according to the output individual comprehensive customization self-checking sequence table of the application programs of the notebook computer corresponding to the user, and according to the ordering of the application programs in the individual comprehensive customization self-checking sequence table, detecting operation is sequentially carried out on the application programs when the notebook computer is started and shut down, wherein the specific detecting operation process is as follows:
s6-1: detecting the integrity of the application programs, calculating the files of the application programs by utilizing a hash algorithm, thus obtaining local hash values of the application programs, carrying out matching verification on the local hash values of the application programs and the correct hash values of the application programs obtained in advance, if the local hash values of the application programs are matched with the correct hash values, indicating that the corresponding application programs are complete, otherwise, if the local hash values of the application programs are not matched with the correct hash values, indicating that the files of the corresponding application programs are tampered or damaged, triggering a repair signal, carrying out pre-repair marking on the corresponding application programs, and notifying relevant technicians through a display terminal;
s6-2: detecting the update state of the application program, when the notebook computer is started and shut down, acquiring the current installation version of each application program, matching the current installation version of the application program with the installation version of the application program in an application store, if the current installation version of the application program is consistent with the installation version in the application store, indicating that the corresponding application program is in the latest update state, otherwise, if the current installation version of the application program is inconsistent with the installation version in the application store, carrying out pre-update marking on the corresponding application program, and notifying relevant technicians through a display terminal;
s6-3: detecting the starting performance of the application programs, monitoring the starting time of each application program in real time when the application programs are started, comparing and analyzing the starting time of each application program in starting with a set starting time threshold value, and if the starting time of the application program exceeds the set starting time threshold value, carrying out pre-optimized starting marking on the corresponding application program and notifying related technicians through a display terminal;
s6-4: detecting the configuration state of the application program, monitoring each configuration item in the configuration files of each application program in real time, comparing and verifying all the configuration items in the configuration files of each application program with corresponding reference configuration items, if the configuration items in the configuration files of the application program are consistent with the corresponding reference configuration items, indicating that the corresponding application program is in a normal configuration state, otherwise, if the configuration items in the configuration files of the application program are inconsistent with the corresponding reference configuration items, the corresponding application program carries out prereduction marking and informs relevant technicians through a display terminal.
Step seven: the performance data information of each hardware of the notebook computer is monitored and the running performance state is analyzed, and the method specifically comprises the following steps:
acquiring an operation value and an operation reference value in performance data information of each hardware of the notebook computer, and marking the operation value and the operation reference value as xn respectively j And cxn j And performing calculation analysis on the two items of data according to a set data model:thereby outputting the operation performance coefficient hpc of each hardware in the notebook computer j The lambda 1 and the lambda 2 are correction factors of the performance value and the performance reference value respectively, the lambda 1 and the lambda 2 are natural numbers larger than 0, and the correction factors are used for correcting deviation of various data parameters in the data model in the formula calculation process, so that more accurate parameter data are calculated;
it should be noted that the operation value refers to an actual operation performance representation value of each piece of hardware of the notebook computer, and the operation reference value refers to a rated operation performance representation value of each piece of hardware of the notebook computer;
according to the value of the running performance coefficient, all hardware are arranged in ascending order, so that a startup and shutdown hardware self-checking requirement set D of the notebook computer corresponding to a user is output;
acquiring a self-checking intention set C of on-off hardware and a self-checking requirement set D of on-off hardware, and comprehensively judging and analyzing the self-checking state of the hardware of the notebook computer, wherein the specific judging and analyzing process is as follows:
the ordering positions of the same hardware in the two sets are obtained and respectively marked as M1 j And M2 j According to the formula: m is M j *=(M1 j +M2 j ) 2, thereby obtaining the comprehensive self-checking ordering position M of each hardware of the notebook computer j *;
Ordering positions M according to comprehensive self-checking j * And (3) arranging all the hardware in a descending order, and outputting the personalized comprehensive customized self-checking sequence table of the hardware of the notebook computer corresponding to the user.
Step eight: according to the output individual comprehensive customization self-checking sequence table of the hardware of the notebook computer corresponding to the user, and according to the ordering of the hardware in the individual comprehensive customization self-checking sequence table, detecting operation is sequentially carried out on the hardware when the notebook computer is started and shut down, and in the self-checking process, an automatic repairing option is provided. Such as re-plugging the device or re-securing the driver, which may reduce the number of manual interventions required by the user and increase the efficiency of troubleshooting.
The foregoing is merely illustrative of the structures of this invention and various modifications, additions and substitutions for those skilled in the art can be made to the described embodiments without departing from the scope of the invention or from the scope of the invention as defined in the accompanying claims.
Claims (6)
1. The on-off self-detection method for the notebook computer is characterized by comprising the following steps of:
step one: the method comprises the steps of monitoring a user using operation log of a notebook computer, extracting the using frequency and the using time of each application program, analyzing the using state of each application program, and marking each application program as a high-frequency using application program or a low-frequency using application program respectively;
step two: according to each application program of the divided high-frequency application program, the running data log is monitored, so that running data information of each application program is extracted, the demand state of each application program marked as the high-frequency application program is analyzed according to the running data information, and a self-checking demand set A of the on-off application program of the notebook computer corresponding to a user is output;
step three: by monitoring basic operation information in a historical unit period of the notebook computer, the pop-up window period of the pop-up window is set according to the self-checking intention of the startup and shutdown of the notebook computer, and the specific setting process is as follows:
taking the startup times, shutdown times and working time in basic operation information in a historical unit period of the notebook computer, respectively calibrating the startup times, the shutdown times and the working time into kc, gc and st, calculating and analyzing each item of data, and according to a set data model: hsc=δ1×kc+δ2×gc+δ3×st, thereby outputting a history state coefficient hsc of the notebook computer, where δ1, δ2, and δ3 are weight factor coefficients of the number of times of startup, the number of times of shutdown, and the working time, respectively, and δ1, δ2, and δ3 are natural numbers greater than 0;
comparing and matching the historical state coefficients of the notebook computer with a tab popup window period setting table stored in a cloud database, so as to output the popup window period of the selected popup window of the on-off self-checking intention of the notebook computer, wherein the obtained historical state coefficients of each notebook computer correspond to one popup window period;
step four: according to a set pop window period of the pop window of the self-checking intention of turning on and off of the notebook computer, analyzing the checking intention state of the data item of the user in the m checking tasks, and outputting a self-checking intention set B of the application program of turning on and off of the notebook computer and a self-checking intention set C of the hardware of turning on and off corresponding to the user;
step five: according to the output self-checking requirement set A and self-checking intention set B of the on-off application program of the notebook computer corresponding to the user, and carrying out comprehensive judgment and analysis on the self-checking state of the application program of the notebook computer, outputting a personalized comprehensive customized self-checking sequence table of the application program of the notebook computer corresponding to the user;
step six: according to the output personality comprehensive customization self-checking sequence list of the application program of the notebook computer corresponding to the user, detecting each application program in turn when the notebook computer is started and shut down, and notifying relevant technicians of the detection result through a display terminal;
step seven: the method comprises the steps of monitoring performance data information of each piece of hardware of a notebook computer and analyzing running performance states, outputting a startup and shutdown hardware self-checking requirement set D of the notebook computer corresponding to a user, combining a startup and shutdown hardware self-checking intention set C, comprehensively judging and analyzing the self-checking states of the pieces of hardware of the notebook computer, and outputting a personal comprehensive customization self-checking sequence table of the pieces of hardware of the notebook computer corresponding to the user;
step eight: according to the output individual comprehensive customization self-checking sequence table of the hardware of the notebook computer corresponding to the user, and according to the ordering of the hardware in the individual comprehensive customization self-checking sequence table, detecting operation is sequentially carried out on the hardware when the notebook computer is started and shut down, and in the self-checking process, an automatic repairing option is provided.
2. The method for automatically detecting the power on/off of the notebook computer according to claim 1, wherein the specific output process of the power on/off application program self-detection requirement set a of the notebook computer corresponding to the user is as follows:
monitoring a user use operation log of a target notebook computer, and calling the use frequency and the use time length of each application program of the user from the user use operation log and recording the use frequency and the use time length as up respectively i Sum ut i And comprehensively analyzing the data according to a set data model: use(s) i =μ1×(up i +ut i ) Thereby outputting the use coefficient use of each application program i Wherein i represents the number of applications, and i is a positive integer, μ1 is a conversion factor coefficient, and μ1 is a natural number greater than 0;
setting a comparison threshold of the use coefficients, comparing and analyzing the use coefficients of all the application programs with a preset comparison threshold, marking the corresponding application program as a high-frequency use application program if the use coefficients are larger than or equal to the preset comparison threshold, otherwise marking the corresponding application program as a low-frequency use application program if the use coefficients are smaller than the preset comparison threshold;
monitoring the operation data log of each application marked as high-frequency use application program, and calling the number of abnormal stop events, the number of error events and the number of warning events in the operation data information of each application program from the operation data log, and calibrating the abnormal stop events, the number of error events and the number of warning events as NE1 in sequence i 、NE2 i And NE3 i And comprehensively analyzing the three items of data according to the set data model type: ofx i =μ2× (n1+n2+n3), thereby outputting the running coefficients ofx of the respective application programs marked as high-frequency use application programs i Wherein μ2 is a conversion factor coefficient, and μ2 is a natural number greater than 0;
setting an operation threshold value of the operation coefficient of each application program marked as the high-frequency use application program, and classifying each application program with the operation coefficient larger than the operation threshold value into a to-be-sequenced self-checking set W;
and according to the self-checking set to be ordered W, ordering all the application programs in the self-checking set to be ordered W in a descending order according to the numerical value of the operation coefficient, and outputting a startup and shutdown application program self-checking requirement set A of the notebook computer corresponding to the user.
3. The method for automatically detecting the startup and shutdown of the notebook computer according to claim 1, wherein the analysis of the selected intent state of the data item in the m selected tasks is performed by the user, and the specific analysis process is as follows:
generating a switching on/off self-checking intent hooking popup window on the notebook computer within a set popup window period, wherein the content in the switching on/off self-checking intent hooking popup window comprises all hardware item detection options and all application program item detection options;
the user enters the notebook computer in a set period and completes the hook in the on-off self-checking intent hook popup window, and invokes each hardware item detection hook data value and each application item detection hook data value in m hook tasks;
according to the hardware item detection and check data value, arranging the application program items in descending order, and outputting a startup and shutdown application program self-checking intent set B of the notebook computer corresponding to the user;
and arranging the hardware items according to descending order according to the hardware item detection and check data value, thereby outputting a self-checking intent set C of the on-off hardware of the notebook computer corresponding to the user.
4. The method for automatically detecting the startup and shutdown of the notebook computer according to claim 1, wherein the comprehensive determination analysis is performed on the self-detection state of the application program of the notebook computer, and the specific analysis process is as follows:
according to the output self-checking requirement set A and self-checking intention set B of the on-off application program of the notebook computer corresponding to the user;
the method comprises the steps of comprehensively analyzing a power-on application self-checking requirement set A and a power-on application self-checking intention set B, wherein the steps are as follows: the ordering positions of the same application program in the two sets are obtained and respectively marked as N1 k And N2 k According to the formula: n (N) k *=(N1 k +N2 k ) 2, thereby obtaining the comprehensive self-checking ordering position N of each application program of the notebook computer k *;
Ordering position N according to comprehensive self-checking k * And (3) arranging all the application programs in a descending order according to the numerical values of the application programs, and outputting a personalized comprehensive customization self-checking sequence table of the application programs of the notebook computer corresponding to the user.
5. The method for automatically detecting the startup and shutdown of the notebook computer according to claim 1, wherein the comprehensive determination analysis is performed on the self-checking state of the hardware of the notebook computer, and the specific determination analysis process is as follows:
acquiring an operation value and an operation reference value in performance data information of each hardware of the notebook computer, and marking the operation value and the operation reference value as xn respectively j And cxn j And performing calculation analysis on the two items of data according to a set data model:thereby outputting the operation performance coefficient hpc of each hardware in the notebook computer j λ1 and λ2 are correction factors of the performance value and the performance reference value, respectively, and λ1 and λ2 are natural numbers greater than 0;
according to the value of the running performance coefficient, all hardware are arranged in ascending order, so that a startup and shutdown hardware self-checking requirement set D of the notebook computer corresponding to a user is output;
the on-off hardware self-checking intention set C and the on-off hardware self-checking requirement set D are comprehensively analyzed, and specifically: the ordering positions of the same hardware in the two sets are obtained and respectively marked as M1 j And M2 j According to the formula: m is M j *=(M1 j +M2 j ) 2, thereby obtaining the comprehensive self-checking ordering position M of each hardware of the notebook computer j *;
Ordering positions M according to comprehensive self-checking j * And (3) arranging all the hardware in a descending order, and outputting the personalized comprehensive customized self-checking sequence table of the hardware of the notebook computer corresponding to the user.
6. The method for detecting the startup and shutdown of a notebook computer according to claim 1, wherein the detecting operation is performed on each application program, and the specific detecting operation process is as follows:
s6-1: detecting the integrity of the application programs, calculating the files of the application programs by utilizing a hash algorithm, thus obtaining local hash values of the application programs, carrying out matching verification on the local hash values of the application programs and the correct hash values of the application programs obtained in advance, if the local hash values of the application programs are matched with the correct hash values, indicating that the corresponding application programs are complete, otherwise, if the local hash values of the application programs are not matched with the correct hash values, indicating that the files of the corresponding application programs are tampered or damaged, triggering a repair signal, carrying out pre-repair marking on the corresponding application programs, and notifying relevant technicians through a display terminal;
s6-2: detecting the update state of the application program, when the notebook computer is started and shut down, acquiring the current installation version of each application program, matching the current installation version of the application program with the installation version of the application program in an application store, if the current installation version of the application program is consistent with the installation version in the application store, indicating that the corresponding application program is in the latest update state, otherwise, if the current installation version of the application program is inconsistent with the installation version in the application store, carrying out pre-update marking on the corresponding application program, and notifying relevant technicians through a display terminal;
s6-3: detecting the starting performance of the application programs, monitoring the starting time of each application program in real time when the application programs are started, comparing and analyzing the starting time of each application program in starting with a set starting time threshold value, and if the starting time of the application program exceeds the set starting time threshold value, carrying out pre-optimized starting marking on the corresponding application program and notifying related technicians through a display terminal;
s6-4: detecting the configuration state of the application program, monitoring each configuration item in the configuration files of each application program in real time, comparing and verifying all the configuration items in the configuration files of each application program with corresponding reference configuration items, if the configuration items in the configuration files of the application program are consistent with the corresponding reference configuration items, indicating that the corresponding application program is in a normal configuration state, otherwise, if the configuration items in the configuration files of the application program are inconsistent with the corresponding reference configuration items, prereducing and marking the corresponding application program, and notifying relevant technicians through a display terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311361177.XA CN117093434B (en) | 2023-10-20 | 2023-10-20 | Startup and shutdown self-detection method for notebook computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311361177.XA CN117093434B (en) | 2023-10-20 | 2023-10-20 | Startup and shutdown self-detection method for notebook computer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117093434A CN117093434A (en) | 2023-11-21 |
CN117093434B true CN117093434B (en) | 2024-01-30 |
Family
ID=88770261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311361177.XA Active CN117093434B (en) | 2023-10-20 | 2023-10-20 | Startup and shutdown self-detection method for notebook computer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117093434B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0913782A3 (en) * | 1997-11-03 | 2001-02-21 | Lucent Technologies Inc. | Verifying hardware in its software context and vice-versa |
JP2004220229A (en) * | 2003-01-14 | 2004-08-05 | Nec Fielding Ltd | Repair estimation system and repair estimation program of computer |
US8046639B1 (en) * | 2010-07-29 | 2011-10-25 | Oracle International Corporation | Cycle accurate fault log modeling for a digital system |
WO2011133299A2 (en) * | 2010-04-21 | 2011-10-27 | Microsoft Corporation | Automated recovery and escalation in complex distributed applications |
US11748219B1 (en) * | 2022-09-14 | 2023-09-05 | International Business Machines Corporation | Application event logging augmentation |
CN117033039A (en) * | 2023-06-26 | 2023-11-10 | 中国银行股份有限公司 | Fault detection method, device, computer equipment and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8799706B2 (en) * | 2004-03-30 | 2014-08-05 | Hewlett-Packard Development Company, L.P. | Method and system of exchanging information between processors |
-
2023
- 2023-10-20 CN CN202311361177.XA patent/CN117093434B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0913782A3 (en) * | 1997-11-03 | 2001-02-21 | Lucent Technologies Inc. | Verifying hardware in its software context and vice-versa |
JP2004220229A (en) * | 2003-01-14 | 2004-08-05 | Nec Fielding Ltd | Repair estimation system and repair estimation program of computer |
WO2011133299A2 (en) * | 2010-04-21 | 2011-10-27 | Microsoft Corporation | Automated recovery and escalation in complex distributed applications |
US8046639B1 (en) * | 2010-07-29 | 2011-10-25 | Oracle International Corporation | Cycle accurate fault log modeling for a digital system |
US11748219B1 (en) * | 2022-09-14 | 2023-09-05 | International Business Machines Corporation | Application event logging augmentation |
CN117033039A (en) * | 2023-06-26 | 2023-11-10 | 中国银行股份有限公司 | Fault detection method, device, computer equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
多功能综合测试设备的设计与实现;郭致港;《中国优秀硕士学位论文全文数据库》;C031-1033 * |
Also Published As
Publication number | Publication date |
---|---|
CN117093434A (en) | 2023-11-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6076571B1 (en) | Information processing apparatus, information processing system, information processing method, and program | |
EP2686937B1 (en) | Non-intrusive load monitoring system and method | |
TWI663510B (en) | Equipment maintenance forecasting system and operation method thereof | |
WO2016112209A1 (en) | Machine learning-based fault detection system | |
CN103714037B (en) | Calculator and hardware parameter setting method thereof | |
CN105806715B (en) | A kind of high-temerature creep Deformation Prediction method | |
JP2010250381A (en) | Energy monitoring device, control method thereof, and energy monitoring program | |
JP5520807B2 (en) | Residential electrical equipment maintenance management device and residential electrical equipment maintenance system | |
CN113931258B (en) | Self-diagnosis method and non-negative pressure-superposed water supply equipment | |
JP7226424B2 (en) | Abnormal temperature detection device, abnormal temperature detection method, and abnormal temperature detection program | |
CN110686915A (en) | Method, system, medium and equipment for determining multi-stress acceleration test profile | |
US20080255773A1 (en) | Machine condition monitoring using pattern rules | |
CN114254879A (en) | Multi-sensor information fusion power equipment safety diagnosis method and device | |
JP6702297B2 (en) | Abnormal state diagnosis method and abnormal state diagnosis device | |
CN117093434B (en) | Startup and shutdown self-detection method for notebook computer | |
CN106711933B (en) | A kind of equipment abnormal electrical power supply processing method, device and video camera | |
JP2011065337A (en) | Traceability system and manufacturing process failure detecting method | |
JP4951081B2 (en) | Energy reduction equipment | |
CN102073924A (en) | Method and equipment for acquiring risk prevention and control grade of power transmission line | |
JP2019108881A (en) | Electric power generation plant performance evaluation method and electric power generation plant performance evaluation program | |
JP2004102326A (en) | Factory diagnosing method, device and program | |
CN116431454B (en) | Big data computer performance control system and method | |
US20230418701A1 (en) | Apparatus, method, and non-transitory computer-readable medium for anomaly detection | |
TWI825970B (en) | Recommended method for replacing equipment and electronic device | |
CN117455023A (en) | Energy-saving prediction method for factory power consumption and electronic device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |