A method and system for real-time monitoring of the use pressure state of electronic equipment
By monitoring the CPU, IO and memory usage of smartphones in real time and automatically implementing optimization measures, the system performance degradation caused by excessive consumption of smartphone resources is solved, and the effect of improving operational efficiency and improving user experience is achieved.
Patent Information
- Application Number
- CN202411890110.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-19
- Publication Date
- 2025-04-08
AI Technical Summary
When a smartphone runs a large number of applications, excessive consumption of resources leads to a significant decline in system performance, which cannot be effectively solved.
By monitoring the CPU, IO and memory usage of electronic devices in real time, automatically start monitoring services, match resource proportion thresholds, output reminder signals, and implement aggressive background killing strategies or prompt users to reset the device to release resources.
Effectively identify and deal with high load, high IO and low memory phenomena, improve mobile phone operation efficiency, improve user experience, and ensure that the mobile phone quickly returns to normal operation without restarting.
Smart Images

Figure CN119788543A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic communication technology, and in particular to a method and system for real-time monitoring of the use pressure state of an electronic device. Background Art
[0002] As the variety and number of smartphone applications continue to increase, their demand for system resources is also growing. Various applications are becoming larger and larger, and users are installing more and more applications, which often makes devices with large amounts of memory feel stretched. In order to improve the user experience and add more functions, many applications use more complex and sophisticated programming techniques and require higher levels of system permissions.
[0003] However, these feature-rich applications tend to occupy a large amount of CPU and memory resources when running in the background. This excessive consumption of resources can cause a significant decline in the system performance of smartphones, resulting in lag. Although Android native mechanisms and platforms will take some measures, such as process killing and CPU scheduling, to optimize system performance, these measures often cannot effectively solve the problem of excessive resource consumption.
[0004] Therefore, it is particularly important to develop an efficient detection mechanism that can quickly identify and optimize those applications that seriously affect the user experience under high load, high IO (input / output) operations and low memory conditions. In this way, it can ensure that smartphones can remain smooth and efficient when running a large number of applications. Summary of the invention
[0005] In view of the deficiencies in the prior art, the present invention discloses a method and system for real-time monitoring of the use pressure status of an electronic device, which are used to solve the above problems.
[0006] The present invention is achieved through the following technical solutions:
[0007] In a first aspect, the present invention provides a method for real-time monitoring of the use pressure state of an electronic device, comprising the following steps:
[0008] Automatically start monitoring service when electronic equipment is turned on, monitor the CPU, IO and memory usage of electronic equipment, and output data reports;
[0009] According to the data report, match the resource ratio thresholds of the electronic device's CPU, IO, and memory, and output corresponding reminder signals when the threshold range is exceeded;
[0010] Execute the reminder signal, match the corresponding prompt information, and prompt the user to reset the electronic device or execute an aggressive background killing strategy to release resources.
[0011] Furthermore, in the method,
[0012] When the CPU is detected to be >= 95%, the electronic device is under high load, and the freeze seriously affects the user's operation. The user is prompted and the electronic device is reset to quickly release resource pressure;
[0013] When the CPU is detected to be greater than or equal to 85%, the electronic device is under a high load. There will be delays but it will not affect user operations. An aggressive killing strategy will be implemented in the background to release some resources.
[0014] Furthermore, in the method,
[0015] When the IO>=10% is detected, the electronic device is under high load, and the freeze seriously affects the user's operation. The user is prompted and the electronic device is reset to quickly release resource pressure;
[0016] When IO>0% is detected, the electronic device is under load, which will affect the electronic device. An aggressive killing strategy will be implemented in the background to release some resources.
[0017] Furthermore, in the method,
[0018] When MemAvailable < 500M is detected, the electronic device is in low memory and the freeze seriously affects the user's operation. The user is prompted and the electronic device is reset to quickly release resource pressure;
[0019] When MemFree<20M is detected, the memory pressure of the electronic device is relatively high, which will have an impact on the electronic device. The background will implement an aggressive detection and killing strategy to release some resources.
[0020] Furthermore, in the method, the real-time temperature of the electronic device is detected. When it is detected that the real-time temperature of the electronic device exceeds a set threshold, a cooling program is automatically started to reduce the CPU frequency or close unnecessary background applications. If the temperature continues to rise, a warning message will be sent to the user, prompting the user to take measures.
[0021] Furthermore, in the method, a machine learning algorithm is used to dynamically adjust the resource allocation strategy and temperature control threshold according to historical data and user usage habits to achieve more accurate resource management and temperature control.
[0022] Furthermore, in the method, a machine learning algorithm is used to analyze the operating status of the electronic device in real time, including key indicators such as CPU load, memory usage, and storage space occupancy.
[0023] Furthermore, in the method, when an abnormal operating status of the device is detected, a fault diagnosis is automatically performed and corresponding optimization suggestions are provided based on the diagnosis results. If the CPU load continues to be too high, the currently running applications will be analyzed, and applications that occupy a large amount of resources will be preferentially reduced or stopped. According to the user's usage habits, the startup sequence and resource allocation of applications will be intelligently adjusted, thereby improving the overall performance of the device without affecting the user experience.
[0024] In a second aspect, the present invention provides a system for real-time monitoring of the stress status of an electronic device, comprising a processor, a memory, and a program stored in the memory and configured to be executed by the processor, wherein the memory is coupled to the processor, and when the processor executes the program, a method for real-time monitoring of the stress status of an electronic device as described in the first aspect is implemented.
[0025] Furthermore, the system is integrated with a temperature sensor for obtaining a real-time temperature value of the electronic device.
[0026] The beneficial effects of the present invention are:
[0027] The present invention can effectively identify and deal with complex phenomena such as high load, high input and output (IO) and low memory. Through this technology, when a mobile phone faces a performance bottleneck, it can quickly perform a reset operation without restarting the device. This process not only significantly improves the operating efficiency of the mobile phone, but also greatly improves the user experience. The technology can continuously monitor the operating status of the mobile phone in the background, and once it detects that the system load is too high, IO requests are frequent, or memory resources are tight, a series of optimization measures will be automatically triggered. These measures include but are not limited to clearing the cache, closing unnecessary background applications, optimizing system processes, etc., so as to ensure that the mobile phone can quickly resume normal operation without restarting.
[0028] The present invention also has an intelligent learning function, which can automatically optimize the running priority of applications according to the user's daily usage habits. If the user often uses a specific news reading application in the morning, the system will automatically set the application as a startup item to ensure that it can respond quickly when the user needs it. At the same time, the system will also dynamically adjust the running status of the background process according to the frequency of use and resource usage of the application to reduce unnecessary resource consumption.
[0029] The system of the present invention also has an abnormal behavior monitoring function. When potential malware or virus activity is detected, the system will immediately isolate it and notify the user to take further measures. In addition, the system also supports remote locking and data erasure functions to protect the security of user data when the device is lost or stolen.
[0030] The present invention can not only monitor the use pressure status of electronic equipment in real time, but also provide users with a more stable, efficient and safe use experience through intelligent optimization and safety protection functions. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1 It is a principle step diagram of the method for real-time monitoring of the use pressure state of an electronic device according to the present invention;
[0033] Figure 2 is a flow chart of a method for real-time monitoring of the use pressure state of an electronic device according to the present invention;
[0034] Figure 3 It is a system principle block diagram of the present invention for real-time monitoring of the use pressure status of electronic equipment. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] In one embodiment, please refer to Figure 1 As shown, a method for real-time monitoring of the use pressure state of an electronic device is provided, comprising the following steps:
[0037] Automatically start monitoring service when electronic equipment is turned on, monitor the usage of CPU, IO and memory of electronic equipment, and output data report;
[0038] According to the data report, match the resource ratio thresholds of the electronic device's CPU, IO, and memory, and output corresponding reminder signals when the threshold range is exceeded;
[0039] Execute the reminder signal, match the corresponding prompt information, and prompt the user to reset the electronic device or execute an aggressive background killing strategy to release resources.
[0040] In one embodiment, referring to Figure 2As shown, when the phone is turned on, the detection service will automatically start. The detection service will use indicators such as CPU share, IO share, and memory share to determine whether it is currently in a high load, high IO, and low memory state. If so, the user will be prompted and the phone will be reset to quickly release resource pressure.
[0041] i. When the CPU is detected to be >= 95%, the phone is under high load and the freeze seriously affects the user's operation. The user is prompted and the phone is reset to quickly release resource pressure.
[0042] ii. When the CPU is detected to be greater than or equal to 85%, the phone is under a high load and there will be a delay but it will not affect user operations. A more aggressive killing strategy is implemented in the background (for example, killing processes with a priority ADJ value (Adjustment Value) greater than 100) to release some resources.
[0043] iii. When the detected IO>=10%, the phone is in high IO, and the freeze seriously affects the user's operation. The user is prompted and the phone is reset to quickly release resource pressure.
[0044] iv. When IO>0% is detected, there is IO phenomenon on the mobile phone, which will have a certain impact on the mobile phone. A more aggressive killing strategy will be implemented in the background to release some resources.
[0045] v. When MemAvailable < 500M is detected, the phone is in low memory and the freeze seriously affects user operations. The user is prompted and the phone is reset to quickly release resource pressure.
[0046] vi. When MemFree<20M is detected, the phone's memory pressure is high, which will have a certain impact on the phone. A more aggressive detection and killing strategy will be implemented in the background to release some resources.
[0047] Through the above multiple dimensions of mobile phone performance indicator detection, it is determined whether the mobile phone is in a high load, high IO, and low memory state. If it is, the user is prompted and the phone is reset to quickly release resource pressure and improve user experience.
[0048] In one embodiment, in order to ensure the normal operation of electronic devices and extend their service life, it is particularly important to monitor the temperature of the device in real time. Through advanced sensor technology, we can detect the internal temperature of electronic devices in real time. When these sensors detect that the real-time temperature of the device exceeds the safety threshold we pre-set, the system will automatically start the cooling program. This program can take a variety of measures to reduce the temperature of the device, such as reducing the operating frequency of the CPU, thereby reducing the generation of heat. In addition, the system can also close some unnecessary background applications to reduce the load and power consumption of the processor, further reducing the temperature of the device.
[0049] If the device temperature continues to rise after taking the above measures, the system will take more urgent measures. At this time, the system will send a warning message to the user, reminding the user that the device temperature is too high through pop-up windows, sounds, or other notification methods. The warning message will prompt the user to take necessary measures, such as moving the device to a well-ventilated place, shutting down the device for cooling, or taking other cooling measures. In this way, users can take timely action before the device temperature is too high and damage occurs, ensuring the stable operation and safety of the device.
[0050] In one embodiment, by applying a machine learning algorithm, the system can dynamically adjust resource allocation strategies and temperature control thresholds based on historical data and user usage habits. This intelligent approach makes resource management and temperature control more accurate and efficient. Specifically, the machine learning algorithm can analyze the operating status of electronic devices in real time, including key indicators such as CPU load, memory usage, and storage space occupancy. Through continuous monitoring and analysis of these data, the system can promptly detect potential performance bottlenecks and overheating problems, and adjust resource allocation and temperature control strategies accordingly.
[0051] For example, if the system detects that the CPU load is too high, it may increase the power of the cooling device or adjust the task scheduling to ensure that the device is not damaged or performance degraded due to overheating. Similarly, if the memory usage rate is continuously high, the system may optimize the memory allocation strategy and release unnecessary memory resources to improve overall performance. Through this dynamic adjustment, the machine learning algorithm not only improves resource utilization, but also extends the service life of the device and ensures the stable operation of the system.
[0052] In one embodiment, when the device operating status is abnormal, the system will automatically trigger the fault diagnosis mechanism to deeply analyze the operating status of the device. Through a detailed diagnostic process, the system can identify the specific cause of the fault and provide a series of targeted optimization suggestions based on the diagnostic results. For example, if it is detected that the CPU load is continuously high, the system will further analyze the currently running applications and identify those applications that occupy a large amount of system resources. Subsequently, the system will give priority to reducing the running priority of these applications, and even stop their operation when necessary, to reduce the burden on the CPU.
[0053] In addition, the system will also perform intelligent analysis based on the user's usage habits and automatically adjust the startup order and resource allocation strategy of applications. In this way, the system can optimize the overall performance of the device without significantly affecting the user experience. Specifically, the system will prioritize allocating more resources to applications that users frequently use, and reduce resource allocation to applications that are less frequently used. This not only improves the operating efficiency of the device, but also ensures that users can experience a smooth and fast experience during use.
[0054] In one embodiment, referring to Figure 3 As shown, the present invention provides a system for real-time monitoring of the stress status of an electronic device, comprising a processor, a memory, and a program stored in the memory and configured to be executed by the processor, wherein the memory is coupled to the processor, and when the processor executes the program, a method for real-time monitoring of the stress status of an electronic device is implemented.
[0055] In this embodiment, the system for real-time monitoring of the use pressure status of an electronic device is integrated with a temperature sensor for obtaining a real-time temperature value of the electronic device.
[0056] In summary, the present invention can effectively identify and deal with complex phenomena such as high load, high input and output (IO) and low memory. Through this technology, when a mobile phone faces a performance bottleneck, it can quickly perform a reset operation without restarting the device. This process not only significantly improves the operating efficiency of the mobile phone, but also greatly improves the user experience. This technology can continuously monitor the operating status of the mobile phone in the background, and once it detects that the system load is too high, IO requests are frequent, or memory resources are tight, a series of optimization measures will be automatically triggered. These measures include but are not limited to clearing the cache, closing unnecessary background applications, optimizing system processes, etc., so as to ensure that the mobile phone can quickly resume normal operation without restarting.
[0057] The present invention also has an intelligent learning function, which can automatically optimize the running priority of applications according to the user's daily usage habits. If the user often uses a specific news reading application in the morning, the system will automatically set the application as a startup item to ensure that it can respond quickly when the user needs it. At the same time, the system will also dynamically adjust the running status of the background process according to the frequency of use and resource usage of the application to reduce unnecessary resource consumption.
[0058] The system of the present invention also has an abnormal behavior monitoring function. When potential malware or virus activity is detected, the system will immediately isolate it and notify the user to take further measures. In addition, the system also supports remote locking and data erasure functions to protect the security of user data when the device is lost or stolen.
[0059] The present invention can not only monitor the use pressure status of electronic equipment in real time, but also provide users with a more stable, efficient and safe use experience through intelligent optimization and safety protection functions.
[0060] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for real-time monitoring of the use pressure state of an electronic device, characterized in that: The following steps are involved: Automatically start monitoring service when electronic equipment is turned on, monitor the usage of CPU, IO and memory of electronic equipment, and output data report; According to the data report, match the resource ratio thresholds of the electronic device's CPU, IO, and memory, and output corresponding reminder signals when the threshold range is exceeded; Execute the reminder signal, match the corresponding prompt information, and prompt the user to reset the electronic device or execute an aggressive background killing strategy to release resources.
2. The method for real-time monitoring of the use pressure state of an electronic device according to claim 1, characterized in that: In the method, When the CPU is detected to be >= 95%, the electronic device is under high load, and the lag seriously affects the user's operation. The user is prompted and the electronic device is reset to quickly release resource pressure; When the CPU is detected to be greater than or equal to 85%, the electronic device is under a high load. There will be delays but it will not affect user operations. An aggressive killing strategy will be implemented in the background to release some resources.
3. The method for real-time monitoring of the use pressure state of an electronic device according to claim 1, characterized in that: In the method, When the IO>=10% is detected, the electronic device is under high load, and the freeze seriously affects the user's operation. The user is prompted and the electronic device is reset to quickly release resource pressure; When IO>0% is detected, the electronic device is under load, which will affect the electronic device. An aggressive killing strategy will be implemented in the background to release some resources.
4. The method for real-time monitoring of the use pressure state of an electronic device according to claim 1, characterized in that: In the method, When MemAvailable < 500M is detected, the electronic device is in low memory and the freeze seriously affects the user's operation. The user is prompted and the electronic device is reset to quickly release resource pressure; When MemFree<20M is detected, the memory pressure of the electronic device is relatively high, which will have an impact on the electronic device. The background will implement an aggressive detection and killing strategy to release some resources.
5. The method for real-time monitoring of the use pressure state of an electronic device according to claim 1, characterized in that: In the method, the real-time temperature of the electronic device is detected. When it is detected that the real-time temperature of the electronic device exceeds a set threshold, a cooling program is automatically started to reduce the CPU frequency or close unnecessary background applications. If the temperature continues to rise, a warning message will be sent to the user to prompt the user to take measures.
6. The method for real-time monitoring of the use pressure state of an electronic device according to claim 1, characterized in that: In the method, a machine learning algorithm is used to dynamically adjust the resource allocation strategy and temperature control threshold according to historical data and user usage habits to achieve more accurate resource management and temperature control.
7. The method for real-time monitoring of the use pressure state of an electronic device according to claim 6, characterized in that: In the method, a machine learning algorithm is used to analyze the operating status of the electronic device in real time, including key indicators such as CPU load, memory usage, and storage space occupancy.
8. The method for real-time monitoring of the use pressure state of an electronic device according to claim 7, characterized in that: In the method, when an abnormal operating status of the device is detected, fault diagnosis is automatically performed and corresponding optimization suggestions are provided based on the diagnosis results. If the CPU load continues to be too high, the currently running applications will be analyzed, and applications that occupy a large amount of resources will be preferentially reduced or stopped. According to the user's usage habits, the startup sequence and resource allocation of applications will be intelligently adjusted, thereby improving the overall performance of the device without affecting the user experience.
9. A system for real-time monitoring of the use pressure status of an electronic device, characterized in that: It includes a processor, a memory, and a program stored in the memory and configured to be executed by the processor. The memory is coupled to the processor, and when the processor executes the program, a method for real-time monitoring of the pressure status of an electronic device as described in any one of claims 1 to 9 is implemented.
10. The temperature adjustment system based on electronic equipment scenario according to claim 9, characterized in that: The system is integrated with a temperature sensor for obtaining the real-time temperature value of the electronic device.