CN116567127B - Smart phone with fault monitoring function - Google Patents
Smart phone with fault monitoring function Download PDFInfo
- Publication number
- CN116567127B CN116567127B CN202310706029.0A CN202310706029A CN116567127B CN 116567127 B CN116567127 B CN 116567127B CN 202310706029 A CN202310706029 A CN 202310706029A CN 116567127 B CN116567127 B CN 116567127B
- Authority
- CN
- China
- Prior art keywords
- value
- mobile phone
- preset
- fault
- values
- 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
- 238000012544 monitoring process Methods 0.000 title claims abstract description 29
- 230000008859 change Effects 0.000 claims abstract description 58
- 230000011664 signaling Effects 0.000 claims abstract description 46
- 238000000034 method Methods 0.000 claims abstract description 27
- 230000008569 process Effects 0.000 claims description 26
- 230000006870 function Effects 0.000 claims description 17
- 238000012423 maintenance Methods 0.000 claims description 11
- 238000012545 processing Methods 0.000 claims description 10
- 230000002159 abnormal effect Effects 0.000 claims description 8
- 238000012937 correction Methods 0.000 claims description 7
- 238000012790 confirmation Methods 0.000 claims description 6
- 238000003745 diagnosis Methods 0.000 claims description 6
- 230000000694 effects Effects 0.000 claims description 6
- 241000700605 Viruses Species 0.000 claims description 5
- 230000008439 repair process Effects 0.000 claims description 5
- 238000012216 screening Methods 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000004140 cleaning Methods 0.000 claims description 3
- 238000012217 deletion Methods 0.000 claims description 3
- 230000037430 deletion Effects 0.000 claims description 3
- 238000001514 detection method Methods 0.000 claims description 3
- 238000005265 energy consumption Methods 0.000 claims description 3
- 238000010606 normalization Methods 0.000 claims 1
- 238000005034 decoration Methods 0.000 description 2
- 230000001105 regulatory effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000036632 reaction speed Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/24—Arrangements for testing
-
- 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
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The invention discloses a smart phone with a fault monitoring function, and relates to the technical field of smart phones; the method is used for solving the problems that the existing fault monitoring can only monitor the result after the mobile phone fails, and the occurrence of the fault can not be predicted in advance according to the change trend of various parameters of the mobile phone and the self-adjusting treatment can not be carried out; according to the invention, after each fault is passed, the change trend of each parameter of the mobile phone is analyzed and integrated into the prediction model module for real-time updating, so that the specific change trend of each parameter in a period of time before the fault is identified, then each parameter of the mobile phone is monitored and the change trend is analyzed, and once the change trend of certain parameters is detected to be matched with the change trend range before the fault, a corresponding protection signaling is generated, and the problem that the existing fault monitoring can only monitor the result after the fault of the mobile phone and cannot predict the fault is solved.
Description
Technical Field
The invention relates to the technical field of smart phones, in particular to a smart phone with a fault monitoring function.
Background
With the popularization of smartphones, people have increasingly demanded functions and performances, however, various faults may occur in the use process of smartphones due to various reasons. These faults may cause the smart phone to fail to operate properly, causing inconvenience to the user.
The existing fault monitoring can only monitor the result after the mobile phone fails, and can not predict the occurrence of faults in advance and perform self-adjustment processing according to the change trend of various parameters of the mobile phone.
Therefore, a smart phone with a fault monitoring function is provided.
Disclosure of Invention
The invention aims to solve the problems that the existing fault monitoring can only monitor the result after the mobile phone fails and can not predict the occurrence of the fault in advance and perform self-adjustment processing according to the change trend of each parameter of the mobile phone, and provides a smart mobile phone with a fault monitoring function.
The aim of the invention can be achieved by the following technical scheme: the system comprises a parameter monitoring module, a change analysis module, a protection signaling execution module and a fault model module;
the parameter monitoring module is used for collecting various parameters of the mobile phone and feeding back the parameters to the change analysis module, wherein the parameters comprise an electric quantity value, a CPU (central processing unit) utilization rate and a disk read-write speed;
the change analysis module is used for analyzing various parameters of the mobile phone, specific fault types comprise battery faults, CPU faults and a katon fault problem, analyzing parameters corresponding to the fault types to obtain corresponding fault values, and sending the obtained fault values to the fault model module.
The specific process of the change analysis module for analyzing the corresponding parameters of the battery faults is as follows:
step one: acquiring electric quantity values of two adjacent time points in a preset time range, calculating an electric quantity change value, calculating an electric quantity change speed value between the electric quantity change value and a time interval, namely, electric quantity change speed value= (current electric quantity-last electric quantity)/time interval, adding all calculated electric quantity change speed values, and taking an average value to obtain a speed change value YT1;
step two: substituting the electric quantity value in the preset time range into a line graph for representation, drawing a numerical point of the electric quantity value corresponding to the line graph, connecting two adjacent numerical points to obtain a numerical line, and calculating the slope of the numerical line and the included angle between the numerical line and the horizontal line; when the included angle between the numerical line and the horizontal line is smaller than 45 ℃, marking the slope of the numerical line as a first slope; when the included angle between the numerical line and the horizontal is larger than 45 ℃, marking the numerical line as a second slope; summing all the values of the first slopes to obtain a first total value and marking the first total value as J1, summing all the values of the second slopes to obtain a second total value and marking the second total value as J2;
connecting a forefront numerical value point and a last numerical value point in the line graph to obtain a line segment, marking the line segment as a connecting line, calculating the slope of the connecting line and the included angle between the connecting line and the horizontal line, marking the slope of the connecting line as a third slope and representing the third slope by a symbol Y1 when the included angle between the connecting line and the horizontal line is smaller than 45 ℃, and marking the slope of the connecting line as a fourth slope and representing the fourth slope by a symbol Y2 when the included angle between the connecting line and the horizontal line is larger than 45 ℃; calculating a vertical distance between the highest numerical value point and the lowest numerical value point and representing the vertical distance and the slope of the mark by using a symbol J3, substituting the vertical distance and the slope of the mark into a formula YT2= (J1/J2) xR1+YX xR2+J3 xR3, and calculating to obtain a down-conversion value YT2, wherein X=1 or 2, and R1, R2 and R3 are all preset weight factors;
step three: substituting the variable YT1, the reduced variable YT2 and the battery temperature value YT3 before failure into a formulaCalculating to obtain an electric warning value YTA, wherein d1, d2 and d3 are respectively preset weight factors of a variable speed value YT1, a reducing variable value YT2 and a battery temperature value YT3, alpha is a preset correction factor, and the value is 0.271;
the change analysis module analyzes the electric alarm value in the real-time running process of the mobile phone, and when the real-time electric alarm value is within the preset fluctuation range of the electric alarm value in the fault model module, a battery protection signaling is generated and fed back to the protection signaling execution module;
when generating battery protection signaling: firstly triggering the smart phone to enter a self-protection mode, limiting background operation of an application program and access of a network, and then popping up an energy-saving mode application to a user through a display interface so as to reduce consumption of a battery; if the user refuses the application of the energy-saving module, the unnecessary functions are automatically closed, the functions comprise Bluetooth, WIFI and spaced delivery, the brightness and the volume of the mobile phone are reduced, so that the energy consumption of a battery is reduced, the position of the mobile phone is acquired in real time, if the position of the mobile phone is inconsistent with the position of a residence place, the distribution position of the charging bank in a preset range is popped up to the user, if the distribution of the charging bank is not in the preset range, the position of the charging bank is expanded outwards on the basis of the preset range to continue searching the position of the charging bank until the distribution position of the charging bank is searched, in the preset number of days, if the battery protection signaling with preset times is generated, the battery replacement signaling is popped up to be reminded, and after confirmation, the user pops up the after-sales service telephone.
The analysis and processing process of the change analysis module to the corresponding parameters of the CPU fault is as follows:
step one: obtaining CPU utilization rate values at different moments in a preset time range, comparing the CPU utilization rate values with a preset threshold value, and marking the CPU utilization rate values as super-frequency values when the CPU utilization rate values are larger than the preset threshold value;
step two: counting the number of the overtime values and marking the overtime values as A1, carrying out calculation on the difference between the overtime values and a preset threshold value to obtain an overtime difference value and marking the overtime difference value as A2, matching each overtime difference value with a preset value range, wherein each value range corresponds to one preset coefficient Pi, i=1, 2 and 3, carrying out calculation on the corresponding overtime difference value and the corresponding preset coefficient Pi to obtain an influence rate value A3, namely A3=A2×Pi, summing all the influence rate values A3 and taking an average value to obtain an influence rate average value A4;
it should be noted that, the preset value ranges are all matched with one value range, for example, the value range is divided into 0-10%, 10% -20%, and more than 20%, if the value range is 6%, the value range is matched with the first value range, then the corresponding preset coefficients are respectively set to p1=0.23, p2=0.34, p3=0.47, then the first value range is corresponding to 0.23, the influence value of the value range is obtained by 6×0.23, and the value range and the corresponding preset coefficient are optimized and adjusted according to the update of the model.
Step three: substituting the CPU utilization value into the graph for representation, calculating all shadow areas in the graph, and adding all the shadow areas to obtain a utilization peak value A5;
step four: the number A1 of the super-frequency values, the influence rate average value A4 and the peak value A5 are normalized and substituted into a formulaCalculating to obtain a CPU early warning value YTB, wherein VC1, VC2 and VC3 are respectively the number A1 of the over-frequency values, an influence rate average value A4 and a preset weight factor using a peak value A5, beta is a preset correction factor, and the value is 0.832;
the change analysis module analyzes the CPU early warning value in the real-time running process of the mobile phone, and when the real-time CPU early warning value is within the preset fluctuation range of the CPU early warning value in the fault model module, a CPU maintenance signaling is generated and fed back to the protection signaling execution module;
when generating CPU maintenance signaling: firstly, a restarting application window is popped up, if a user refuses to use a prompt window for a long time at a high temperature through a display screen, the CPU frequency is automatically regulated to control the working speed and the power consumption of the mobile phone, then unnecessary programs of a mobile phone background are automatically screened out to close, such as game, online shopping, short video platform and other entertainment software, only communication software is reserved, the version update of a mobile phone system is checked, if a new version is checked, the new version is fed back to the display window to prompt the user to complete the update in time, in the range of a preset number of days, if CPU maintenance signaling of the preset times is generated, a CPU diagnosis window is popped up, and after confirmation, the user pops up a mobile phone repair shop of 1Km-2Km nearby the mobile phone.
The analysis and processing process of the change analysis module to the corresponding parameters of the katon fault problem is as follows:
step one: collecting disk read-write speeds at different moments in a preset time range, marking the disk read-write speed lower than a preset threshold as low valley values, counting the number of the low valley values and marking the low valley values as B1, performing difference calculation between each low valley value and the preset threshold to obtain differential values, sorting all the differential values from big to small, removing the differential values from the head to the tail, and adding the rest differential values to obtain an attenuation total value B2;
step two: obtaining the time point and duration of occurrence of the low valley, marking the section with the longest duration as an abnormal value B3, normalizing the number B1 of the low valley, the attenuation total value B2 and the abnormal value B3 and substituting the normalized values into a formulaCalculating to obtain a speed alarm value YTC, wherein +.>And +.>The number B1 of low valleys, the total attenuation value B2, and the abnormal timeThe preset weight factor of the value B3, ρ is a preset correction factor, and the value is 0.365;
the change analysis module analyzes the speed alarm value in the real-time running process of the mobile phone, and when the real-time speed alarm value is within the preset fluctuation range of the speed alarm value in the fault model module, a cartoon regulation signaling is generated and fed back to the protection signaling execution module;
when the katon adjustment signaling is generated: closing unnecessary mobile phone animation effects or special effects, such as mobile phone dynamic wallpaper and software icon decoration, closing unnecessary programs in a background process of the mobile phone, such as game, online shopping, short video platform and other entertainment software, screening out software which is not opened in the last half month of the mobile phone downloaded software, integrating the software to prompt a user to carry out selective deletion and cleaning, sorting and popping up cache files in each software operation according to the size for the user to selectively delete, and if a preset number of katon adjustment signaling is generated within a preset number of days, popping up a disk detection window, checking the residual capacity of a mobile phone disk by the user, if the residual capacity is more than 30 percent, checking whether viruses or malicious software exist in the mobile phone, if so, immediately clearing, and if not, prompting a factory setting or contacting a professional technical support staff to carry out further diagnosis and repair.
The fault model module is used for receiving the fault value obtained before the corresponding fault occurs, and integrating the fault value into the fault model for real-time updating;
after each fault occurs, the system collects various parameters before the fault and uses the parameters to update a fault model, wherein the change trend of various parameters of the mobile phone before the common fault occurs is preset in the model, and the occurrence of the fault can be predicted more accurately by continuously collecting and updating data.
The parameter monitoring module adjusts the collected frequency according to the real-time running state of the smart phone, and specifically comprises the following steps:
q1: the acquisition frequency of the preset parameter monitoring module is 2S/times, and before each time of data acquisition, the time of last data acquisition is checked;
q2: analyzing the battery electric quantity and the memory occupancy rate in real time in the running process of the mobile phone, adjusting the battery electric quantity and the memory occupancy rate according to the battery electric quantity, adjusting the acquisition frequency from 2S/time to 4S/time if the battery electric quantity is reduced to a preset threshold value range, and adjusting the acquisition frequency from 2S/time to 6S/time if the memory occupancy rate is increased to the preset threshold value range;
q3: the user adjusts the acquisition frequency in the mobile phone setting according to the actual use condition.
It should be noted that, the setting of the collection frequency can be adjusted according to the actual use situation, for example, if in the actual use process, the battery power is reduced to a preset threshold range or the memory occupancy rate is increased to a preset threshold range, the collection frequency is adjusted for the first time according to the preset setting, if the collection frequency is found to be still too high after the adjustment, the collection frequency can be further adjusted according to the actual use situation, and if the collection frequency is too low after the adjustment, the collection frequency can be increased.
Compared with the prior art, the invention has the beneficial effects that:
1. according to the invention, after each fault is passed, the change trend of each parameter of the mobile phone is analyzed and integrated into the prediction model module for real-time updating, so that the specific change trend of each parameter in a period of time before the fault is identified, then each parameter of the mobile phone is monitored and the change trend is analyzed, and once the change trend of certain parameters is detected to be matched with the change trend range before the fault, a corresponding protection signaling is generated, and the problem that the existing fault monitoring can only monitor the result after the fault of the mobile phone and cannot predict the fault is solved.
2. According to the invention, the acquisition frequency is adjusted in real time through the change of the electric quantity value and the memory occupancy value, and when the electric quantity of the battery is reduced to be within a preset threshold range or the memory occupancy rate is increased to be within the preset threshold range in the actual use process, the acquisition frequency is adjusted for the first time according to preset settings, if the acquisition frequency is found to be too high after adjustment, the acquisition frequency can be further adjusted according to the actual use condition, if the acquisition frequency is too low after adjustment, the acquisition frequency can be increased, the acquisition frequency is limited, the CPU resource is prevented from being excessively occupied, the consumption of the electric quantity of the mobile phone is avoided, the influence on the performance of the mobile phone is reduced, and the mobile phone is prevented from being blocked or the reaction speed is too slow.
Drawings
The present invention is further described below with reference to the accompanying drawings for the convenience of understanding by those skilled in the art.
FIG. 1 is a schematic block diagram of the present invention;
FIG. 2 is a graph showing the trend of CPU usage;
fig. 3 is a plot of the change in the electrical quantity.
Detailed Description
The technical solutions of the present invention will be clearly and completely described in connection with the embodiments, and it is obvious that the described embodiments are only some embodiments of the present invention, 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-3, a smart phone with fault monitoring function includes a parameter monitoring module, a change analysis module, a protection signaling execution module and a fault model module;
the parameter monitoring module collects various parameters of the mobile phone, wherein the parameters comprise an electric quantity value, a CPU (central processing unit) utilization rate and a disk read-write speed;
the change analysis module is used for analyzing each item of the mobile phone, the specific fault types comprise battery faults, CPU faults and a katon fault problem, the parameters corresponding to the fault types are analyzed to obtain corresponding fault values, and the corresponding parameters of the battery faults are analyzed and processed as follows:
step one: acquiring electric quantity values of two adjacent time points in a preset time range, calculating an electric quantity change value, calculating an electric quantity change speed value between the electric quantity change value and a time interval, namely, electric quantity change speed value= (current electric quantity-last electric quantity)/time interval, adding all calculated electric quantity change speed values, and taking an average value to obtain a speed change value YT1;
step two: substituting the electric quantity value in the preset time range into a line graph for representation, drawing a numerical point of the electric quantity value corresponding to the line graph, connecting two adjacent numerical points to obtain a numerical line, and calculating the slope of the numerical line and the included angle between the numerical line and the horizontal line; when the included angle between the numerical line and the horizontal line is smaller than 45 ℃, marking the slope of the numerical line as a first slope; when the included angle between the numerical line and the horizontal is larger than 45 ℃, marking the numerical line as a second slope; summing all the values of the first slopes to obtain a first total value and marking the first total value as J1, summing all the values of the second slopes to obtain a second total value and marking the second total value as J2;
connecting a forefront numerical value point and a last numerical value point in the line graph to obtain a line segment, marking the line segment as a connecting line, calculating the slope of the connecting line and the included angle between the connecting line and the horizontal line, marking the slope of the connecting line as a third slope and representing the third slope by a symbol Y1 when the included angle between the connecting line and the horizontal line is smaller than 45 ℃, and marking the slope of the connecting line as a fourth slope and representing the fourth slope by a symbol Y2 when the included angle between the connecting line and the horizontal line is larger than 45 ℃; calculating a vertical distance between the highest numerical value point and the lowest numerical value point and representing the vertical distance and the slope of the mark by using a symbol J3, substituting the vertical distance and the slope of the mark into a formula YT2= (J1/J2) xR1+YX xR2+J3 xR3, and calculating to obtain a down-conversion value YT2, wherein X=1 or 2, and R1, R2 and R3 are all preset weight factors;
step three: substituting the variable YT1, the reduced variable YT2 and the battery temperature value YT3 before failure into a formulaCalculating to obtain an electric warning value YTA, wherein d1, d2 and d3 are respectively preset weight factors of a variable speed value YT1, a reducing variable value YT2 and a battery temperature value YT3, alpha is a preset correction factor, and the value is 0.271;
the change analysis module analyzes the electric alarm value in the real-time running process of the mobile phone, and when the real-time electric alarm value is within the preset fluctuation range of the electric alarm value in the fault model module, a battery protection signaling is generated and fed back to the protection signaling execution module;
when generating battery protection signaling: firstly triggering the smart phone to enter a self-protection mode, limiting background operation of an application program and access of a network, and then popping up an energy-saving mode application to a user through a display interface so as to reduce consumption of a battery; if the user refuses the application of the energy-saving module, the unnecessary functions are automatically closed, the functions comprise Bluetooth, WIFI and spaced delivery, the brightness and the volume of the mobile phone are reduced, so that the energy consumption of a battery is reduced, the position of the mobile phone is acquired in real time, if the position of the mobile phone is inconsistent with the position of a residence place, the distribution position of the charging bank in a preset range is popped up to the user, if the distribution of the charging bank is not in the preset range, the position of the charging bank is expanded outwards on the basis of the preset range to continue searching the position of the charging bank until the distribution position of the charging bank is searched, in the preset number of days, if the battery protection signaling with preset times is generated, the battery replacement signaling is popped up to be reminded, and after confirmation, the user pops up the after-sales service telephone.
The analysis and processing process of the change analysis module to the corresponding parameters of the CPU fault is as follows:
step one: obtaining CPU utilization rate values at different moments in a preset time range, comparing the CPU utilization rate values with a preset threshold value, and marking the CPU utilization rate values as super-frequency values when the CPU utilization rate values are larger than the preset threshold value;
step two: counting the number of the overtime values and marking the overtime values as A1, carrying out calculation on the difference between the overtime values and a preset threshold value to obtain an overtime difference value and marking the overtime difference value as A2, matching each overtime difference value with a preset value range, wherein each value range corresponds to one preset coefficient Pi, i=1, 2 and 3, carrying out calculation on the corresponding overtime difference value and the corresponding preset coefficient Pi to obtain an influence rate value A3, namely A3=A2×Pi, summing all the influence rate values A3 and taking an average value to obtain an influence rate average value A4;
it should be noted that, the preset value ranges are all matched with one value range, for example, the value range is divided into 0-10%, 10% -20%, and more than 20%, if the value range is 6%, the value range is matched with the first value range, then the corresponding preset coefficients are respectively set to p1=0.23, p2=0.34, p3=0.47, then the first value range is corresponding to 0.23, the influence value of the value range is obtained by 6×0.23, and the value range and the corresponding preset coefficient are optimized and adjusted according to the update of the model.
Step three: substituting the CPU utilization value into the graph for representation, calculating all shadow areas in the graph, and adding all the shadow areas to obtain a utilization peak value A5;
step four: the number A1 of the super-frequency values, the influence rate average value A4 and the peak value A5 are normalized and substituted into a formulaCalculating to obtain a CPU early warning value YTB, wherein VC1, VC2 and VC3 are respectively the number A1 of the over-frequency values, an influence rate average value A4 and a preset weight factor using a peak value A5, beta is a preset correction factor, and the value is 0.832;
the change analysis module analyzes the CPU early warning value in the real-time running process of the mobile phone, and when the real-time CPU early warning value is within the preset fluctuation range of the CPU early warning value in the fault model module, a CPU maintenance signaling is generated and fed back to the protection signaling execution module;
when generating CPU maintenance signaling: firstly, a restarting application window is popped up, if a user refuses to use a prompt window for a long time at a high temperature through a display screen, the CPU frequency is automatically regulated to control the working speed and the power consumption of the mobile phone, then unnecessary programs of a mobile phone background are automatically screened out to close, such as game, online shopping, short video platform and other entertainment software, only communication software is reserved, the version update of a mobile phone system is checked, if a new version is checked, the new version is fed back to the display window to prompt the user to complete the update in time, in the range of a preset number of days, if CPU maintenance signaling of the preset times is generated, a CPU diagnosis window is popped up, and after confirmation, the user pops up a mobile phone repair shop of 1Km-2Km nearby the mobile phone.
The analysis and processing process of the change analysis module to the corresponding parameters of the katon fault problem is as follows:
step one: collecting disk read-write speeds at different moments in a preset time range, marking the disk read-write speed lower than a preset threshold as low valley values, counting the number of the low valley values and marking the low valley values as B1, performing difference calculation between each low valley value and the preset threshold to obtain differential values, sorting all the differential values from big to small, removing the differential values from the head to the tail, and adding the rest differential values to obtain an attenuation total value B2;
step two: obtaining the time point and duration of occurrence of the low valley, marking the section with the longest duration as an abnormal value B3, normalizing the number B1 of the low valley, the attenuation total value B2 and the abnormal value B3 and substituting the normalized values into a formulaCalculating to obtain a speed alarm value YTC, wherein +.>And +.>The preset weight factors of the quantity B1 of the low valley values, the total attenuation value B2 and the abnormal value B3 are respectively, ρ is a preset correction factor, and the value is 0.365;
the change analysis module analyzes the speed alarm value in the real-time running process of the mobile phone, and when the real-time speed alarm value is within the preset fluctuation range of the speed alarm value in the fault model module, a cartoon regulation signaling is generated and fed back to the protection signaling execution module;
when the katon adjustment signaling is generated: closing unnecessary mobile phone animation effects or special effects, such as mobile phone dynamic wallpaper and software icon decoration, closing unnecessary programs in a background process of the mobile phone, such as game, online shopping, short video platform and other entertainment software, screening out software which is not opened in the last half month of the mobile phone downloaded software, integrating the software to prompt a user to carry out selective deletion and cleaning, sorting and popping up cache files in each software operation according to the size for the user to selectively delete, and if a preset number of katon adjustment signaling is generated within a preset number of days, popping up a disk detection window, checking the residual capacity of a mobile phone disk by the user, if the residual capacity is more than 30 percent, checking whether viruses or malicious software exist in the mobile phone, if so, immediately clearing, and if not, prompting a factory setting or contacting a professional technical support staff to carry out further diagnosis and repair.
The fault model module is used for receiving the fault value obtained before the corresponding fault occurs, and integrating the fault value into the fault model for real-time updating;
after each fault occurs, the system collects various parameters before the fault and uses the parameters to update a fault model, wherein the change trend of various parameters of the mobile phone before the common fault occurs is preset in the model, and the occurrence of the fault can be predicted more accurately by continuously collecting and updating data.
The parameter monitoring module adjusts the collected frequency according to the real-time running state of the smart phone, and specifically comprises the following steps:
q1: the acquisition frequency of the preset parameter monitoring module is 2S/times, and before each time of data acquisition, the time of last data acquisition is checked;
q2: analyzing the battery electric quantity and the memory occupancy rate in real time in the running process of the mobile phone, adjusting the battery electric quantity and the memory occupancy rate according to the battery electric quantity, adjusting the acquisition frequency from 2S/time to 4S/time if the battery electric quantity is reduced to a preset threshold value range, and adjusting the acquisition frequency from 2S/time to 6S/time if the memory occupancy rate is increased to the preset threshold value range;
q3: the user adjusts the acquisition frequency in the mobile phone setting according to the actual use condition.
It should be noted that, the setting of the collection frequency can be adjusted according to the actual use situation, for example, if in the actual use process, the battery power is reduced to a preset threshold range or the memory occupancy rate is increased to a preset threshold range, the collection frequency is adjusted for the first time according to the preset setting, if the collection frequency is found to be still too high after the adjustment, the collection frequency can be further adjusted according to the actual use situation, and if the collection frequency is too low after the adjustment, the collection frequency can be increased.
The preferred embodiments of the invention disclosed above are intended only to assist in the explanation of the invention. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise form disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best understand and utilize the invention. The invention is limited only by the claims and the full scope and equivalents thereof.
Claims (5)
1. The intelligent mobile phone with the fault monitoring function is characterized by comprising a mobile phone body, and a parameter monitoring module, a change analysis module, a protection signaling execution module and a fault model module which are arranged in the mobile phone body;
the parameter monitoring module is used for collecting various parameters of the mobile phone and feeding back the parameters to the change analysis module, wherein the parameters comprise an electric quantity value, a CPU (central processing unit) utilization rate and a disk read-write speed;
the change analysis module is used for analyzing various parameters of the mobile phone, wherein specific fault types comprise battery faults, CPU faults and a katon fault problem, analyzing parameters corresponding to the fault types to obtain corresponding fault values, and sending the obtained fault values to the fault model module;
the fault model module is used for receiving the corresponding fault value and integrating the fault value into the fault model for real-time updating;
the specific process of analyzing the corresponding parameters of the battery faults by the change analysis module is as follows:
step one: acquiring electric quantity values of two adjacent time points in a preset time range, calculating an electric quantity change value, calculating an electric quantity change speed value between the electric quantity change value and a time interval, namely, electric quantity change speed value= (current electric quantity-last electric quantity)/time interval, adding all calculated electric quantity change speed values, and taking an average value to obtain a speed change value YT1;
step two: substituting the electric quantity value in the preset time range into a line graph for representation, drawing a numerical point of the electric quantity value corresponding to the line graph, connecting two adjacent numerical points to obtain a numerical line, and calculating the slope of the numerical line and the included angle between the numerical line and the horizontal line; when the included angle between the numerical line and the horizontal line is smaller than 45 ℃, marking the slope of the numerical line as a first slope; when the included angle between the numerical line and the horizontal is larger than 45 ℃, marking the numerical line as a second slope; summing all the values of the first slopes to obtain a first total value and marking the first total value as J1, summing all the values of the second slopes to obtain a second total value and marking the second total value as J2;
connecting a forefront numerical value point and a last numerical value point in the line graph to obtain a line segment, marking the line segment as a connecting line, calculating the slope of the connecting line and the included angle between the connecting line and the horizontal line, marking the slope of the connecting line as a third slope and representing the third slope by a symbol Y1 when the included angle between the connecting line and the horizontal line is smaller than 45 ℃, and marking the slope of the connecting line as a fourth slope and representing the fourth slope by a symbol Y2 when the included angle between the connecting line and the horizontal line is larger than 45 ℃; calculating a vertical distance between the highest numerical value point and the lowest numerical value point and representing the vertical distance and the slope of the mark by using a symbol J3, substituting the vertical distance and the slope of the mark into a formula YT2= (J1/J2) xR1+YX xR2+J3 xR3, and calculating to obtain a down-conversion value YT2, wherein X=1 or 2, and R1, R2 and R3 are all preset weight factors;
step three: substituting the variable YT1, the reduced variable YT2 and the battery temperature value YT3 before failure into a formulaCalculating to obtain an electric warning value YTA, wherein d1, d2 and d3 are respectively preset weight factors of a variable speed value YT1, a reducing variable value YT2 and a battery temperature value YT3, alpha is a preset correction factor, and the value is 0.271;
the change analysis module is also used for analyzing the electric alarm value in the real-time operation process of the mobile phone, and when the real-time electric alarm value is within the preset fluctuation range of the electric alarm value in the fault model module, a corresponding protection signaling is generated and fed back to the protection signaling execution module;
the protection signaling execution module is used for receiving the corresponding protection signaling and executing the corresponding operation, and specifically comprises the following steps:
when a battery protection signaling is generated, firstly triggering the smart phone to enter a self-protection mode, limiting background operation of an application program and access of a network, and then popping up an energy-saving mode application to a user through a display interface so as to reduce consumption of a battery; if the user refuses the application of the energy-saving module, the unnecessary functions are automatically closed, the functions comprise Bluetooth, WIFI and spaced delivery, the brightness and the volume of the mobile phone are reduced, so that the energy consumption of a battery is reduced, the position of the mobile phone is acquired in real time, if the position of the mobile phone is inconsistent with the position of a residence place, the distribution position of the charging bank in a preset range is popped up to the user, if the distribution of the charging bank is not in the preset range, the position of the charging bank is expanded outwards on the basis of the preset range to continue searching the position of the charging bank until the distribution position of the charging bank is searched, in the preset number of days, if the battery protection signaling with preset times is generated, the battery replacement signaling is popped up to be reminded, and after confirmation, the user pops up the after-sales service telephone.
2. The smart phone with fault monitoring function according to claim 1, wherein the specific analysis process of the change analysis module on the parameters corresponding to the CPU fault is:
step one: obtaining CPU utilization rate values at different moments in a preset time range, comparing the CPU utilization rate values with a preset threshold value, and marking the CPU utilization rate values as super-frequency values when the CPU utilization rate values are larger than the preset threshold value;
step two: counting the number of the overtime values and marking the number as A1, carrying out calculation on the difference between the overtime value and a preset threshold value to obtain an overtime difference value and marking the overtime difference value as A2, matching each overtime difference value with a preset value range, wherein each value range corresponds to one preset coefficient Pi, i=1, 2 and 3, carrying out calculation on the corresponding overtime difference value and the corresponding preset coefficient Pi to obtain an influence rate value A3, namely A3=A2×Pi, summing all the influence rate values A3 and taking the average value to obtain an influence rate average value;
step three: substituting the CPU utilization value into the graph for representation, calculating all shadow areas in the graph, and adding all the shadow areas to obtain a utilization peak value;
step four: and obtaining the CPU early warning value by carrying out normalization processing on the number of the super-frequency values, the influence rate average value and the peak value.
3. The smart phone with fault monitoring function according to claim 2, wherein the specific analysis process of the change analysis module on the parameters corresponding to the katon fault problem is:
step one: collecting disk read-write speeds at different moments in a preset time range, marking the disk read-write speed lower than a preset threshold as low valley values, counting the number of the low valley values and marking the number as B1, performing difference calculation between each low valley value and the preset threshold to obtain differential values, sorting all the differential values from big to small, removing the differential values from the head to the tail, and adding the rest differential values to obtain an attenuation total value;
step two: and (3) acquiring the time point and the duration time of occurrence of the low valley value, marking a section with the longest duration time as an abnormal value, and normalizing the number of the low valley values, the total attenuation value and the abnormal value to obtain a speed warning value.
4. The smart phone with fault monitoring function according to claim 3, wherein the specific process of the protection signaling execution module executing the CPU maintenance signaling and the katon adjustment signaling is:
CPU maintenance signaling: when generating CPU maintenance signaling: firstly, popping up a restarting application window, popping up a prompt window through a display screen to avoid high-temperature long-time use if a user fails, automatically adjusting CPU frequency to control the working speed and power consumption of the mobile phone, automatically screening out unnecessary programs of a mobile phone background to close, only reserving communication software, checking version updating of a mobile phone system, feeding back the version updating to the display window to prompt the user to complete updating in time if the new version is checked, popping up a CPU diagnosis window if CPU maintenance signaling of preset times is generated within a preset day range, and popping up a mobile phone maintenance shop within a preset range near the mobile phone after confirmation by the user;
and (3) a clamp adjustment signaling: closing unnecessary mobile phone animation effects or special effects, closing unnecessary programs in a background process of the mobile phone, screening out software which is not opened in the last half month of mobile phone download software, integrating the software to prompt a user to carry out selective deletion and cleaning, sorting and popping up cache files in each software operation according to the size for the user to selectively delete, popping up a disk detection window in a preset day range if a preset number of cartoon regulation signaling is generated, checking the residual capacity of a mobile phone disk by the user firstly, checking whether viruses or malicious software exist in the mobile phone if the residual capacity is larger than 30 percent, immediately clearing the software if the virus or the malicious software exists in the mobile phone, and prompting a factory setting or contacting a professional technical support personnel to carry out further diagnosis and repair if the virus or the malicious software does not exist.
5. The smart phone with fault monitoring function according to claim 4, wherein the parameter monitoring module adjusts the collected frequency according to the real-time running state of the smart phone, specifically:
q1: the acquisition frequency of the preset parameter monitoring module is 2S/times, and before each time of data acquisition, the time of last data acquisition is checked;
q2: analyzing the battery electric quantity and the memory occupancy rate in real time in the running process of the mobile phone, adjusting the battery electric quantity and the memory occupancy rate according to the battery electric quantity, adjusting the acquisition frequency from 2S/time to 4S/time if the battery electric quantity is reduced to a preset threshold value range, and adjusting the acquisition frequency from 2S/time to 6S/time if the memory occupancy rate is increased to the preset threshold value range;
q3: the user adjusts the acquisition frequency in the mobile phone setting according to the actual use condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310706029.0A CN116567127B (en) | 2023-06-15 | 2023-06-15 | Smart phone with fault monitoring function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310706029.0A CN116567127B (en) | 2023-06-15 | 2023-06-15 | Smart phone with fault monitoring function |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116567127A CN116567127A (en) | 2023-08-08 |
CN116567127B true CN116567127B (en) | 2024-01-23 |
Family
ID=87500230
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310706029.0A Active CN116567127B (en) | 2023-06-15 | 2023-06-15 | Smart phone with fault monitoring function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116567127B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117514360B (en) * | 2024-01-04 | 2024-03-22 | 山东金科星机电股份有限公司 | Mine monitoring and early warning system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201479214U (en) * | 2009-09-09 | 2010-05-19 | 康佳集团股份有限公司 | Mobile phone and battery power alarming and prompting device thereof |
CN104301499A (en) * | 2013-07-15 | 2015-01-21 | 腾讯科技(深圳)有限公司 | Method and device for analyzing battery capacity records of mobile terminal, platform and mobile terminal |
CN107728067A (en) * | 2017-09-19 | 2018-02-23 | 上海斐讯数据通信技术有限公司 | A kind of terminal power measuring method and system |
CN109618397A (en) * | 2018-11-15 | 2019-04-12 | 安徽信果网络科技有限公司 | One kind optimizing based on wechat small routine mobile phone electricity and use early warning system |
CN110445849A (en) * | 2019-07-23 | 2019-11-12 | 深圳市云充吧科技有限公司 | A kind of mobile terminal low electricity pond state of charge based reminding method |
CN112711963A (en) * | 2019-10-24 | 2021-04-27 | 富泰华工业(深圳)有限公司 | User terminal fault detection method, device, computer device and storage medium |
CN114995625A (en) * | 2021-08-11 | 2022-09-02 | 荣耀终端有限公司 | System power consumption control method and electronic equipment |
CN115663312A (en) * | 2022-12-27 | 2023-01-31 | 深圳市今朝时代股份有限公司 | Battery operation monitoring system and method based on battery protection |
-
2023
- 2023-06-15 CN CN202310706029.0A patent/CN116567127B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201479214U (en) * | 2009-09-09 | 2010-05-19 | 康佳集团股份有限公司 | Mobile phone and battery power alarming and prompting device thereof |
CN104301499A (en) * | 2013-07-15 | 2015-01-21 | 腾讯科技(深圳)有限公司 | Method and device for analyzing battery capacity records of mobile terminal, platform and mobile terminal |
CN107728067A (en) * | 2017-09-19 | 2018-02-23 | 上海斐讯数据通信技术有限公司 | A kind of terminal power measuring method and system |
CN109618397A (en) * | 2018-11-15 | 2019-04-12 | 安徽信果网络科技有限公司 | One kind optimizing based on wechat small routine mobile phone electricity and use early warning system |
CN110445849A (en) * | 2019-07-23 | 2019-11-12 | 深圳市云充吧科技有限公司 | A kind of mobile terminal low electricity pond state of charge based reminding method |
CN112711963A (en) * | 2019-10-24 | 2021-04-27 | 富泰华工业(深圳)有限公司 | User terminal fault detection method, device, computer device and storage medium |
CN114995625A (en) * | 2021-08-11 | 2022-09-02 | 荣耀终端有限公司 | System power consumption control method and electronic equipment |
CN115663312A (en) * | 2022-12-27 | 2023-01-31 | 深圳市今朝时代股份有限公司 | Battery operation monitoring system and method based on battery protection |
Also Published As
Publication number | Publication date |
---|---|
CN116567127A (en) | 2023-08-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116567127B (en) | Smart phone with fault monitoring function | |
CN104238713B (en) | Charging method and system of intelligent mobile terminal | |
CN107832132B (en) | Application control method and device, storage medium and electronic equipment | |
CN110891283A (en) | Small base station monitoring device and method based on edge calculation model | |
CN103067578A (en) | Intelligent lock screen function achieving method based on mobile terminal and mobile terminal | |
CN101763598A (en) | Electrical energy management system | |
CN107577522A (en) | Application control method, apparatus, storage medium and electronic equipment | |
CN106338924A (en) | Method and device for automatically adjusting operation parameter threshold of equipment | |
CN102779068A (en) | Mobile terminal and application program networking control method | |
CN109947497A (en) | Application program preloads method, apparatus, storage medium and mobile terminal | |
CN107911387A (en) | Power information acquisition system account logs in the monitoring method with abnormal operation extremely | |
CN108446207B (en) | Method, device and system for evaluating disaster tolerance capability of computer system | |
WO2024001208A1 (en) | Fault detection method and apparatus for air conditioner, air conditioner and electronic device | |
CN112784210A (en) | Load identification method based on multivariate Gaussian discrimination mode | |
CN110365534B (en) | Automatic chopping and recovery method for intelligent substation communication system | |
CN101183996A (en) | Cluster information monitoring method | |
CN106124835B (en) | A kind of method that power distribution voltage compares with predetermined voltage | |
CN114691662A (en) | Data quality inspection rule self-adaption method, storage medium and system | |
CN106484077A (en) | Mobile terminal and its electricity saving method based on application software classification | |
CN110211605A (en) | Smart machine speech sensitivity adjusting method, device, equipment and storage medium | |
WO2024001253A1 (en) | Fault detection method and apparatus for air conditioner, air conditioner and electronic device | |
CN110647086B (en) | Intelligent operation and maintenance monitoring system based on operation big data analysis | |
CN116881958A (en) | Power grid big data safety protection method, system, electronic equipment and storage medium | |
CN105741187A (en) | Living resource consumption data processing method and device, and living resource consumption monitoring method and device | |
CN103067901A (en) | Billing early warning method and billing early warning system |
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 |