Method and system for managing electronic devices

By collecting multiple parameters in electronic devices and using clustering models and causal analysis to identify non-responsive state parameters, and applying corresponding strategies, the problem of the inability of existing technologies to prevent slowness of electronic devices is solved, and the response performance and user experience of the system are improved.

CN112654967BActive Publication Date: 2024-09-03SAMSUNG ELECTRONICS CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN201980052806.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-08-27
Filing Date
2019-08-26
Publication Date
2024-09-03
Estimated Expiration
2039-08-26

AI Technical Summary

Technical Problem

Existing software strategies cannot effectively predict and prevent electronic devices from entering or re-entering abnormal system states, resulting in latency problems. Existing methods can only intervene after latency occurs and cannot avoid unresponsive states in advance.

Method used

Collect multiple parameters of hardware modules, software modules and user usage patterns through the processor of the electronic device, use a four-dimensional clustering model and causal structure analysis to generate a directed acyclic graph, identify unresponsive state parameters, and apply a variety of strategies (such as Configuration changes, notification policies, storage policies) to prevent unresponsive states.

Benefits of technology

It realizes the prediction and prevention of unresponsive status of electronic devices, improves user experience, reduces application startup time, dropped frames and touch delays, and improves system response performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112654967B_ABST
    Figure CN112654967B_ABST
Patent Text Reader

Abstract

A method and apparatus for controlling an unresponsive state of an electronic device are provided. The method includes: obtaining a plurality of device parameters and a user usage pattern parameter related to at least one of a hardware module and a software module of the electronic device based on receiving at least one user input to the electronic device; predicting an unresponsive state of the electronic device based on the collected plurality of device parameters and the collected user usage pattern parameter; and avoiding the predicted unresponsive state of the electronic device by applying a policy selected from a plurality of policies associated with the plurality of device parameters to the device parameter related to the predicted unresponsive state of the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of managing electronic devices, and more particularly to predicting and avoiding sluggishness of electronic devices. Background Art

[0002] Stuttering is an unresponsive state of electronic devices / systems and applications. For example, stuttering may occur when application startup time, frame drops, and touch latency exceed predefined thresholds.

[0003] In a related art method, a mathematical model and a plurality of data parameters associated with at least one hardware module and software of an electronic device may be used to predict sluggishness. The accuracy of the prediction of sluggishness depends on the plurality of data parameters analyzed for predicting sluggishness. It is assumed that the greater the number of data parameters, the more accurate the mathematical model for predicting sluggishness of the electronic device. However, turbulence or variance in any of the included data parameters and the extraneous nature of the data may reduce the accuracy of the prediction.

[0004] In the related art methods, software policies (such as but not limited to resource management, background application management, low memory killer (LMK), governor, scheduler, etc.) can be used to reduce sluggishness. Software policies mainly target system parameters such as central processing unit (CPU) frequency, heat, scheduler, low memory, etc. to reduce sluggishness. However, such software policies can only be triggered after sluggishness occurs. Existing software policies cannot prevent electronic devices from entering or re-entering abnormal system states. Summary of the invention

[0005] Technical Solution

[0006] A method and apparatus for controlling an unresponsive state of an electronic device are provided.

[0007] Additional aspects will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the presented embodiments.

[0008] According to one aspect of the present disclosure, a method for controlling an unresponsive state of an electronic device includes: a processor of the electronic device obtaining a plurality of device parameters related to at least one of a hardware module of the electronic device and a software module of the electronic device and a user usage mode parameter based on receiving user input to the electronic device; the processor predicting the unresponsive state of the electronic device based on the obtained plurality of device parameters and the obtained user usage mode parameter; and the processor avoiding the predicted unresponsive state by applying a policy determined from a plurality of policies to a device parameter related to the predicted unresponsive state among the plurality of device parameters.

[0009] Beneficial Effects

[0010] Various aspects of the present disclosure are to at least solve the above problems and / or disadvantages and to provide at least the advantages described below. Therefore, one aspect of the present disclosure is to improve the convenience of users of electronic devices by predicting an unresponsive state of the electronic device and avoiding the predicted unresponsive state of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The above and other aspects, features and advantages of certain embodiments of the present disclosure will become more apparent from the following description in conjunction with the accompanying drawings, in which:

[0012] Figure 1 is a block diagram of an electronic device for controlling an unresponsive state of an electronic device according to an embodiment;

[0013] Figure 2 is a block diagram illustrating various modules of a processor for controlling an unresponsive state of an electronic device according to an embodiment;

[0014] Figure 3 is an example flow chart illustrating a method for controlling an unresponsive state of an electronic device according to an embodiment;

[0015] Figure 4 is an example flow chart illustrating prediction of an unresponsive state of an electronic device according to an embodiment;

[0016] Figure 5A is an example diagram illustrating a method for determining a non-responsive state parameter according to an embodiment;

[0017] Figure 5B is an example diagram illustrating a method for determining a non-responsive state parameter according to an embodiment;

[0018] Figure 5C is an example diagram illustrating a method for determining a non-responsive state parameter according to an embodiment;

[0019] Figure 6 is an example flow chart illustrating a method for clustering at least one unresponsive state parameter using a four-dimensional (4D) clustering model according to an embodiment;

[0020] Fig. 7A is an exemplary diagram illustrating a method for selecting a strategy for reducing a predicted unresponsive state of an electronic device according to an embodiment;

[0021] Figure 7B is an example flow chart illustrating a method for assigning at least one reward to at least one strategy according to an embodiment;

[0022] Fig. 8A is an example showing management of application launch by predicting and avoiding unresponsive states according to an embodiment;

[0023] Figure 8B is an example showing management of application launch by predicting and avoiding unresponsive states according to an embodiment;

[0024] Fig. 9A is an example table showing device parameters collected for predicting an unresponsive state of an electronic device according to an embodiment;

[0025] Fig. 9B is an example table showing user usage pattern parameters collected for predicting an unresponsive state of an electronic device according to an embodiment;

[0026] Fig. 9C is an example table showing unresponsive state parameters responsible for causing an unresponsive state of an electronic device according to an embodiment;

[0027] Fig.9D is an exemplary table illustrating sources of an unresponsive state of an electronic device based on sources of a cluster unresponsive state identified for an unresponsive state parameter of the electronic device and a strategy selected to avoid a predicted unresponsive state of the electronic device according to an embodiment;

[0028] Fig.9E is an example table illustrating actions of at least one policy that may be used to reduce an unresponsive state of an electronic device according to an embodiment;

[0029] Fig.9F is an example table illustrating reward allocation for reward-based strategy selection for avoiding an unresponsive state of an electronic device according to an embodiment;

[0030] Fig. 10A is an example diagram illustrating selection of at least one policy for various applications according to an embodiment;

[0031] Fig. 10B is an example diagram illustrating selection of at least one policy for various applications according to an embodiment;

[0032] Fig. 10C is an example diagram illustrating selection of at least one policy for various applications according to an embodiment;

[0033] Fig.11A is an exemplary table showing a reduction in the startup time of various applications based on selecting a notification change policy for the various applications according to an embodiment;

[0034] Fig. 11B is an exemplary table showing reduction in startup time of various applications based on selecting configuration change policies for the various applications according to an embodiment;

[0035] Fig. 11Cis an example table illustrating a reduction in camera rotation time based on a selection of a configuration change strategy according to an embodiment;

[0036] Fig.11D is an example table illustrating a reduction in the number of dropped frames based on selecting at least one policy for various applications according to an embodiment;

[0037] Fig.11E is an example table illustrating reduced touch delay based on selecting at least one policy for various applications according to an embodiment; and

[0038] Fig.12 is a flowchart illustrating a method for controlling an unresponsive state of an electronic device according to an embodiment. DETAILED DESCRIPTION

[0039] A method and apparatus for controlling an unresponsive state of an electronic device are provided.

[0040] Additional aspects will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the presented embodiments.

[0041] According to one aspect of the present disclosure, a method for controlling an unresponsive state of an electronic device includes: a processor of the electronic device obtaining a plurality of device parameters related to at least one of a hardware module of the electronic device and a software module of the electronic device and a user usage mode parameter based on receiving user input to the electronic device; the processor predicting the unresponsive state of the electronic device based on the obtained plurality of device parameters and the obtained user usage mode parameter; and the processor avoiding the predicted unresponsive state by applying a policy determined from a plurality of policies to a device parameter related to the predicted unresponsive state among the plurality of device parameters.

[0042] The prediction step may include: determining an unresponsive state parameter from the obtained multiple device parameters and the obtained user usage pattern parameters based on a causal relationship between the multiple device parameters and the user usage pattern parameters, wherein the unresponsive state parameter causes the unresponsive state; clustering the determined unresponsive state parameters using a four-dimensional (4D) clustering model; and using the clustered unresponsive state parameters to predict the source of the unresponsive state of the electronic device.

[0043] The step of determining an unresponsive state parameter may include: generating a directed acyclic graph (DAG) by performing causal structure analysis (CSA) on multiple obtained device parameters and obtained user usage pattern parameters, wherein the DAG includes at least one of the multiple device parameters and the user usage pattern parameters and multiple nodes representing unresponsive state nodes; determining an unresponsive state node related to the unresponsive state of the electronic device using a causal relationship identified by analyzing the multiple nodes of the DAG and edges associated with the multiple nodes of the DAG; and determining a parameter represented by a node connected to the determined unresponsive state node as the unresponsive state parameter.

[0044] The step of clustering the determined unresponsive state parameters may include: determining a predetermined number of center points; classifying the determined unresponsive state parameters on a 4D graph based on the determined predetermined number of center points; and forming a cluster including the unresponsive state parameters based on a preset average value of a cluster of each center point in the predetermined number of center points.

[0045] The step of predicting the source of the unresponsive state of the electronic device may include: identifying whether the formed cluster is an unresponsive state cluster representing an unresponsive state condition; predicting the response state of the electronic device based on identifying that the unresponsive state parameters of the cluster are not classified as an unresponsive state cluster; and predicting the unresponsive state of the electronic device based on identifying that the unresponsive state parameters of the cluster are classified as an unresponsive state cluster.

[0046] The step of avoiding the predicted unresponsive state by the processor may include: determining a strategy from multiple strategies associated with the predicted unresponsive state based on a reward previously set for each of the multiple strategies; determining an action from multiple actions corresponding to the determined strategy based on a user usage pattern parameter; and applying the determined action to device parameters related to the predicted unresponsive state.

[0047] The plurality of policies may include at least one of a configuration change policy, a notification policy, and a memory policy; and the device parameter associated with the predicted unresponsive state may be determined based on exceeding a predefined threshold.

[0048] The method may further include allocating, by the processor, a reward to the determined strategy based on a number of occurrences of the unresponsive state during a predetermined time period after applying the determined action to the device parameter associated with the predicted unresponsive state.

[0049] The step of allocating rewards may include: allocating, by the processor, a positive reward to the determined strategy based on a decrease in the number of times the unresponsive state occurs during a predetermined time period; and allocating, by the processor, a negative reward to the determined strategy based on an increase in the number of times the unresponsive state occurs during the predetermined time period.

[0050] Determining a strategy from a plurality of strategies associated with the predicted unresponsive state may include selecting, by the processor, the strategies in a dynamic order based on a user usage pattern parameter to maximize the reward.

[0051] According to one aspect of the present disclosure, an electronic device includes: a memory storing instructions; and at least one processor configured to execute the instructions to perform the following operations: based on receiving user input to the electronic device, obtaining multiple device parameters related to at least one of a hardware module of the electronic device and a software module of the electronic device and a user usage mode parameter; predicting an unresponsive state of the electronic device based on the obtained multiple device parameters and the obtained user usage mode parameter; and avoiding the predicted unresponsive state by applying a policy determined from multiple policies to a device parameter related to the predicted unresponsive state among the multiple device parameters.

[0052] At least one processor may also be configured to execute the instructions to perform the following operations: determine an unresponsive state parameter from the obtained multiple device parameters and the obtained user usage pattern parameters based on a causal relationship between the multiple device parameters and the user usage pattern parameters, wherein the unresponsive state parameter causes the unresponsive state; cluster the determined unresponsive state parameters using a 4D clustering model; and use the clustered unresponsive state parameters to predict the source of the unresponsive state of the electronic device.

[0053] At least one processor may also be configured to execute the instructions to perform the following operations: generate a directed acyclic graph (DAG) by performing causal structure analysis (CSA) on multiple obtained device parameters and obtained user usage pattern parameters, wherein the DAG may include multiple nodes representing unresponsive state nodes and at least one of multiple device parameters and user usage patterns; determine an unresponsive state node related to the unresponsive state of the electronic device using causal relationships identified by analyzing multiple nodes of the DAG and edges associated with the multiple nodes of the DAG; and determine a parameter represented by a connection to the determined unresponsive state node as an unresponsive state parameter.

[0054] At least one processor may also be configured to execute the instructions to perform the following operations: determine a predetermined number of center points; classify the determined unresponsive state parameters on a 4D graph based on the determined predetermined number of center points; and form a cluster including the unresponsive state parameters based on a preset average value of the cluster for each of the predetermined number of center points.

[0055] At least one processor may also be configured to execute instructions to perform the following operations: identify whether the formed cluster is an unresponsive state cluster representing an unresponsive state condition; predict a response state of the electronic device based on identifying that the unresponsive state parameters of the cluster are not classified as an unresponsive state cluster; and predict an unresponsive state of the electronic device based on identifying that the unresponsive state parameters of the cluster are classified as an unresponsive state cluster.

[0056] At least one processor may also be configured to execute instructions to perform the following operations: determine a strategy from a plurality of strategies associated with a predicted unresponsive state based on a reward previously set for each of a plurality of strategies; determine an action from a plurality of actions corresponding to the determined strategy based on a user usage pattern parameter; and apply the determined action to a device parameter associated with the predicted unresponsive state.

[0057] The plurality of policies may include at least one of a configuration change policy, a notification policy, and a memory policy; and the device parameter associated with the predicted unresponsive state may be determined based on exceeding a predefined threshold.

[0058] The at least one processor may be further configured to execute the instructions to perform the following operations: assign a reward to the determined strategy based on a number of occurrences of the unresponsive state during a predetermined time period after applying the determined action to the device parameter associated with the predicted unresponsive state.

[0059] At least one processor may also be configured to execute the instructions to perform the following operations: assigning a positive reward to the determined strategy based on a decrease in the number of times the unresponsive state occurs during the predetermined time period; and assigning a negative reward to the determined strategy based on an increase in the number of times the unresponsive state occurs during the predetermined time period.

[0060] According to one aspect of the present disclosure, a method for avoiding an unresponsive state of an electronic device includes: a processor of the electronic device obtaining device parameters based on receiving user input to the electronic device; the processor predicting the unresponsive state of the electronic device based on the obtained device parameters; and the processor avoiding entering the predicted unresponsive state by applying a strategy determined from multiple strategies to the device parameters.

[0061] The prediction step may include: determining a device parameter among multiple device parameters obtained based on receiving user input as an unresponsive state parameter based on a causal relationship between the multiple device parameters and a user usage pattern parameter obtained based on the user input; clustering the determined unresponsive state parameter using a four-dimensional (4D) clustering model; and predicting a source of the unresponsive state using the clustered unresponsive state parameters.

[0062] The step of determining an unresponsive state parameter may include: generating a directed acyclic graph (DAG) by performing a causal structure analysis (CSA) on multiple obtained device parameters and obtained user usage pattern parameters, wherein the DAG may include at least one of the multiple device parameters and the user usage pattern parameters and multiple nodes representing unresponsive state nodes; determining an unresponsive state node related to the unresponsive state of the electronic device using a causal relationship identified by analyzing the multiple nodes of the DAG and edges associated with the multiple nodes of the DAG; and determining a parameter represented by a node connected to the determined unresponsive state node as the unresponsive state parameter.

[0063] The step of avoiding entering a predicted unresponsive state by a processor may include: determining a strategy from a plurality of strategies associated with the predicted unresponsive state based on a reward previously set for each of the plurality of strategies; determining an action from a plurality of actions corresponding to the determined strategy based on a user usage pattern parameter obtained according to received user input; and applying the determined action to device parameters related to the predicted unresponsive state.

[0064] The plurality of policies may include at least one of a configuration change policy, a notification policy, and a memory policy; and the device parameter associated with the predicted unresponsive state may be determined based on exceeding a predefined threshold.

[0065] According to one aspect of the present disclosure, a non-transitory computer-readable recording medium has recorded thereon a program executable by at least one processor for executing a method for avoiding an unresponsive state of an electronic device.

[0066] The embodiments of this paper and its various features and advantageous details are explained more fully with reference to the non-limiting embodiments shown in the drawings and described in detail in the following description. The description of known components and processing techniques may be omitted to avoid unnecessarily obscuring the embodiments of this paper. The description of this paper is only intended to facilitate understanding of the manner in which the embodiments of this paper can be practiced, and also to enable those skilled in the art to practice the embodiments of this paper. Therefore, this disclosure should not be interpreted as limiting the scope of the embodiments of this paper.

[0067] Embodiments of the present invention disclose methods and systems for predicting and reducing the sluggishness of electronic devices. Referring now to the drawings, and more particularly to Figures 1 to 4 , FIG. 5A to FIG. 5C , Figure 6 , FIG. 7A to FIG. 7B , FIG. 8A to FIG. 8B , 9A to 9F , FIG. 10A to FIG. 10C , FIG. 11A to FIG. 11E and Fig.12 , wherein like reference numerals consistently denote corresponding features throughout the drawings, embodiments will now be described.

[0068] Figure 1 1 is a block diagram of an electronic device 100 for controlling an unresponsive state of an electronic device 100 according to an embodiment. The electronic device 100 mentioned here may be any digital device including multiple functions, services, and information. Examples of the electronic device 100 include, but are not limited to, mobile phones, smart phones, tablet computers, personal digital assistants (PDAs), laptop computers, e-readers, Internet of Things (IoT) devices, wearable computing devices, medical devices, gaming devices, smart watches, cameras, televisions (TVs), washing machines, refrigerators, vehicle infotainment systems, and the like. Multiple functions, services, and information may be at least one of applications, settings / configurations, personal information, messages, photos, and the like. Examples of applications include, but are not limited to, calendar applications, navigation applications, messaging applications, gaming applications, health and fitness applications, weather applications, camera applications, web browsers, video streaming applications, payment applications, financial applications, educational applications, news applications, shopping applications, utility applications, and the like.

[0069] The electronic device 100 may also use a communication network to connect to a server and an external database to access multiple functions, services, and information. Examples of communication networks include, but are not limited to, the Internet, a wired network (e.g., a local area network (LAN), Ethernet, etc.), a wireless network (e.g., a Wi-Fi network, a cellular network, a Wi-Fi hotspot, Bluetooth, Zigbee, Z-wave, etc.), etc. In one or more other embodiments, the electronic device 100 may be connected to a cloud platform via a gateway.

[0070] The electronic device 100 includes a memory 102, a communication interface unit 104 (eg, a communication interface), at least one hardware module 106, at least one software module 108, and a processor 110 (or at least one processor).

[0071] The memory 102 may store programs for processing and controlling the processor 110, and may store data input to or output from the electronic device 100. In addition, the memory 102 may be configured to store a plurality of functions, applications, services, information, operating conditions / parameters of at least one hardware module 106 and at least one software module 108, at least one user usage mode parameter associated with at least one user usage mode, a strategy, a reward associated with a strategy, etc. The memory 102 may include one or more computer-readable storage media. The memory 102 may include at least one of a flash memory type, a hard disk type, a multimedia card micro type, a card-type memory (e.g., an SD or XD memory), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In addition, in some examples, the memory 102 may be considered to be a non-transitory storage medium. The term "non-transitory" may indicate that the storage medium is not implemented in a carrier or a propagation signal. However, the term "non-transitory" should not be interpreted to mean that memory 102 is non-removable. In some examples, memory 102 may be configured to store a greater amount of information than the technical capacity of the memory. In certain instances, non-transitory storage media may store data that may change over time (e.g., in RAM or cache memory).

[0072] The communication interface unit 104 may be configured to establish communication between the electronic device 100 and an external entity (eg, a server, an external database, an external electronic device, etc.) using a communication network.

[0073] For example, the communication interface unit 104 may include a short-range wireless communication interface, a mobile communication interface, and a broadcast receiver. The short-range wireless communication interface may include a Bluetooth communication interface, a Bluetooth low energy (BLE) communication interface, a near field communication interface, a WLAN communication interface, a WLAN (WiFi) communication interface, a Zigbee communication interface, an infrared data association (IrDA) communication interface, a Wi-Fi direct (WFD) communication interface, an ultra-wideband (UWB) communication interface, an Ant+ communication interface, a Z-wave communication interface, etc., but is not limited thereto.

[0074] The at least one hardware module 106 may include at least one of a sensor (a microphone, a camera, an optical sensor, a user gaze sensor, a proximity sensor, or any other sensor embedded in the electronic device 100), a display (e.g., for providing a graphical user interface (GUI) screen / window as an interface for the user to interact with the electronic device 100), a battery, a power management module (for managing the battery), a key protection, etc. The at least one hardware module 106 may also include a memory 102.

[0075] At least one software module 106 may be configured to prepare content to be displayed to the user (at least one software module 106 acts as a link to multiple functions, applications, services, information, notifications, etc. present in the electronic device 100). Examples of the at least one software module include, but are not limited to, a wallpaper application module, an application launcher module, a status bar application module, a notification drawer module, etc.

[0076] The processor 110 may be at least one of a single processor, a plurality of processors, a plurality of homogeneous cores, a plurality of heterogeneous cores, a plurality of central processing units (CPUs) of different kinds, and the like.

[0077] The processor 110 may be configured to continuously monitor one or more user activities performed using the electronic device 100, and receive at least one user input to the electronic device 100 in response to detecting the one or more user activities. Examples of user activities include, but are not limited to, launching / installing applications, interacting with applications, performing gestures (such as tapping, sliding, dragging, scrolling, etc.) (touch events) on the display to access multiple functions, services and information, accessing content / notifications present on the display / stored in the memory 102, etc.

[0078] The processor 110 may communicate with at least one hardware module 106 and at least one software module 108 to collect (e.g., obtain, determine, identify, etc.) information about operating parameters / conditions of at least one hardware module 106 and / or at least one software module 108 associated with each user activity. The operating parameters may include a plurality of device parameters associated with at least one of the at least one hardware module 106 and at least one software module 108, and a plurality of user usage mode parameters in response to receiving at least one user input to the electronic device 100. According to an embodiment, the operating parameters of the at least one hardware module 106 and at least one software module 108 may be at least one of application-related parameters, thermal-related parameters, memory-related parameters, etc. Examples of application-related parameters include, but are not limited to, the startup time of at least one application, frame loss, a package name associated with at least one application, a mode of at least one application (e.g., power saving mode, ultra power saving mode, emergency mode, knox mode, etc.), a central processing unit (CPU) frequency, etc. Examples of thermal-related parameters include, but are not limited to, the temperature of a graphics processing unit (GPU) associated with the processor 110, power core temperature, performance core temperature, modem temperature, processing (CP) traffic, wireless fidelity (Wi-Fi) traffic, etc. Examples of memory-related parameters include, but are not limited to, available memory space, information about memory caches and memory buffers, ratio of background memory to foreground memory, memory active memory, inactive memory, active files, inactive files, swap free and memory mapping information, visible proportional set size (PSS) (part of the memory 102), persistent PSS, foreground PSS, native PSS, etc. As used herein, terms such as "operating parameters", "operating conditions", "device parameters", "system parameters", etc. refer to parameters related to at least one hardware module 106 and / or at least one software module 108.

[0079] The processor 110 may also collect (e.g., obtain) a user usage pattern over a period of time by communicating with at least one hardware module 106 and / or at least one software module 108, and obtain a user usage pattern parameter from the collected user usage pattern. The user usage pattern may be at least one of a notification access mode, a configuration change mode, a unique mode, and the like. Examples of notification access modes include, but are not limited to, user reactions to pending notifications and new notifications (e.g., clearing notifications immediately after reading (e.g., within a predetermined time from the display of notifications), rarely clearing notifications, and the like), notification access time, and the like. Examples of configuration change modes include, but are not limited to, the number of configuration changes of at least one hardware module 106 (e.g., the orientation of the camera) and at least one software module 108 performed by the user, the last configuration change time, and the like. Examples of unique parameters include, but are not limited to, information about how often the user charges the electronic device 100, the last charging time, the time when the user turns on Wi-Fi, the duration between (the user) turning on and off the screen of the display, the duration between turning off the screen and launching at least one application, the number of applications installed by the user, the number of cached applications, a pending intent count, information about whether any package installation initiated by the user is in progress, and the like.

[0080] Based on the collected device parameters and user usage pattern parameters, the processor 110 predicts the sluggishness of the electronic device 100. In other words, the processor 100 may predict the unresponsive state of the electronic device 100 based on the collected device parameters and user usage pattern parameters. The sluggishness mentioned herein may be the unresponsive state of the electronic device 100. According to an embodiment, the unresponsive state of the electronic device 100 may include a state of the electronic device 100 in which the startup time of an application executed in the electronic device 100 exceeds a preset threshold. According to an embodiment, the unresponsive state of the electronic device 100 may include a state of the electronic device 100 in which the frame (e.g., frame rate) of an image output from the electronic device 100 is reduced to below a predetermined threshold. According to an embodiment, the unresponsive state of the electronic device 100 may represent a state of the electronic device 100 in which the touch delay of the user's touch input to the electronic device 100 exceeds a preset threshold. According to an embodiment, the unresponsive state may refer to a state in which the speed of an application executed by the electronic device 100 is reduced to, for example, below a preset threshold. If the response time of at least one hardware module 106 and / or at least one software module 108 to one or more user activities and associated device parameters exceeds a predefined threshold, the processor 110 may deem the device 100 to be sluggish. The threshold time may be predefined based on at least one factor associated with the electronic device 100. The at least one factor may be at least one of the type of the electronic device 100, the specifications / functions supported by the electronic device 100, the operating environment associated with the electronic device 100, and the like. For example, when the startup time of at least one application exceeds a predefined threshold, when the frame loss exceeds a predefined threshold, when the touch delay exceeds a predefined threshold, and the like, it may be determined that the electronic device 100 is in an unresponsive state. As used herein, terms such as "sluggish", "entering a system sluggish state (SESS)", and the like may interchangeably refer to an unresponsive state of the electronic device 100 or an application present in the electronic device 100.

[0081] In an embodiment, the processor 110 predicts the unresponsive state of the electronic device 100 by determining at least one device parameter and / or at least one user usage pattern as the cause of the unresponsive state. In an embodiment, the processor 110 uses a four-dimensional (4D) clustering model to determine at least one device parameter and / or at least one user usage pattern that causes the unresponsive state of the electronic device 100 using causal relationships identified in the collected device parameters and user usage patterns.

[0082] Once the device 100 is already in the unresponsive state, the processor 110 reduces the unresponsive state by configuring at least one policy / changing policy. Examples of policies include, but are not limited to, configuration change policies, notification policies / notification change policies, memory policies, etc. The processor 110 may apply at least one policy to at least one device parameter that is the cause of the unresponsive state (wherein the device parameter exceeds a predefined threshold), so that for future user activities, the device parameters of at least one hardware module 106 and / or at least one software module 108 and the associated response time may not exceed the predetermined threshold, and the device 100 may not enter the unresponsive state due to the specific parameter.

[0083] In an embodiment, the processor 110 may configure at least one policy based on a reward associated with a previously applied policy. As a result, the user experience when interacting with the electronic device 100 is enhanced.

[0084] Figure 1 An exemplary block diagram of the electronic device 100 is shown, but it should be understood that other embodiments are not limited thereto. In other embodiments, the electronic device 100 may include fewer or more units or components. In addition, the labels or names of the units or components are only for illustrative purposes and do not limit the scope of the embodiments herein. One or more units may be combined together to perform the same or substantially similar functions in the electronic device 100.

[0085] Figure 2 2 is a block diagram illustrating various modules of the processor 110 for controlling an unresponsive state of the electronic device 100 according to an embodiment. The processor 110 includes an unresponsive state prediction engine 201 and an unresponsive state avoidance engine 202.

[0086] The unresponsive state prediction engine 201 includes a data collection module 201 a , an unresponsive state detection module 201 b , a clustering module 201 c , and a prediction module 201 d for predicting an unresponsive state of the electronic device 100 in response to one or more user activities.

[0087] The data collection module 201a may be configured to collect device parameters, user usage patterns, and user usage pattern parameters when one or more user activities are detected. The data collection module 201a communicates with at least one of the at least one hardware module 106, at least one software module 108, and the memory 102, and collects device parameters and user usage patterns for each user activity over a period of time. The data collection module 201a provides the collected device parameters, user usage pattern parameters, and user usage patterns to the unresponsive state detection module 201b.

[0088] The unresponsive state detection module 201b may be configured to detect at least one device parameter and / or at least one user usage pattern that may be responsible for causing the unresponsive state of the electronic device 100. The unresponsive state detection module 201b performs causal structure analysis (CSA) on the collected at least one device parameter and / or at least one user usage pattern, and generates a directed acyclic graph (DAG) of the collected at least one device parameter and / or at least one user usage pattern using an additive noise model (ANM). The DAG includes a plurality of nodes representing at least one of the device parameter and the user usage pattern parameter and an unresponsive state node. The unresponsive state node may be associated with an unresponsive state condition. Examples of unresponsive state conditions include, but are not limited to, startup time, frame loss, touch delay, etc. In addition, in the DAG, the edges between nodes (i.e., the connections between nodes) represent the causal relationship between nodes (device parameters and user usage pattern parameters). The prediction module 201d uses the causal relationship between nodes and identifies nodes connected to the unresponsive state node and nodes not connected to the unresponsive state node. Nodes not connected to the unresponsive state node may be referred to as island nodes in this article.

[0089] The sluggishness detection module 201b also detects device parameters and / or user usage pattern parameters represented by the island nodes that are not responsible for causing the unresponsive state (e.g., the corresponding parameters are not greater than a predefined threshold). The unresponsiveness detection module 201b does not consider the device parameters and / or user usage patterns represented by the island nodes to predict the unresponsiveness state.

[0090] The unresponsive state detection module 201b detects device parameters and / or user usage patterns represented by nodes connected to the unresponsive state node as parameters that may be responsible for causing the unresponsive state. Device parameters and / or user usage patterns that may cause the unresponsive state are referred to herein as unresponsive state parameters.

[0091] For example, consider X 1 ..................X p as device parameters and user usage pattern parameters, L(X) as the joint distribution of device parameters and user usage pattern parameters, and PA j As {X 1 ..................X j-1}, such that P r (X j |PA j )=P r (X j |X 1 ...X j-1 ). Then, PA jcan be considered as a Markov parent. In other words, each variable X i can be associated with a minimal leading set sufficient to determine its value. The joint distribution can then be expressed as The decomposition of the joint distribution (as shown above) can be used to make each variable X i For nodes in the graph and from PA i Each node in the X i The DAG can be a Bayesian network.

[0092] In addition, consider X 1 , X 2 .........X n-1 , X n is a set of parameters (including device parameters and / or user usage mode parameters), and X n is the parameter to be predicted, where X n Is a node in the unresponsive state. The unresponsive state detection module 201b detects X 1 , X 2 .........X n-1 CAS is performed, wherein CAS shows other parameters for X n In addition, CAS distinguishes the parameters X that form the island n-2 To indicate X n-2 Cannot affect parameter X n (Prediction) Therefore, based on the CAS, the unresponsive state detection module 201b detects a parameter (unresponsive state parameter) responsible for causing the unresponsive state of the electronic device.

[0093] The clustering module 201c may be configured to cluster the unresponsive state into a 4D clustering model. The clustering module 201c uses the 4D clustering model to classify at least one unresponsive state parameter into at least one of a responsive state cluster (= non-unresponsive state cluster) and an unresponsive state cluster. Each unresponsive state cluster may indicate an unresponsive state condition. Examples of unresponsive state conditions include, but are not limited to, a startup time exceeding a predefined threshold, a frame loss exceeding a predefined threshold, a touch delay exceeding a predefined threshold, and the like. The 4D clustering model may include a method that can be used to classify the unresponsive state parameter into at least one cluster. The method included in the 4D clustering model may be at least one of a clustering method, a machine learning method, and the like.

[0094] As an example, the embodiments of this document also use the K-means clustering method to classify the unresponsive state parameter into at least one cluster, but it should be understood that one or more other embodiments are not limited thereto, and any other suitable clustering method may be considered. According to the K-means clustering method, the clustering module 201c represents the unresponsive state parameter in the form of a 4D map, wherein each data point of the 4D map represents at least one unresponsive state parameter. The clustering module 201c determines the number of center points in the 4D map and forms an associated number of clusters around the determined center points, wherein each cluster may be at least one of a responsive state cluster (= non-unresponsive state cluster) and an unresponsive state cluster indicating an unresponsive state condition, and each cluster may be assigned an average value (the sum of all data points). Thereafter, the clustering module 201c classifies the unresponsive state parameter into at least one cluster based on the nearest average value (minimum distance). For example, clustering module 201c may find 4 center points and form 4 clusters, wherein the first cluster may be a responsive cluster (= non-unresponsive state cluster), the second cluster may be an unresponsive state cluster indicating that the startup time exceeds a predefined threshold (unresponsive state condition), the third cluster may be an unresponsive state cluster indicating that the frame loss exceeds a predefined threshold (unresponsive state condition), and the fourth cluster may be an unresponsive state cluster indicating that the touch delay exceeds a predefined threshold (unresponsive state condition). Clustering module 201c also determines that the first unresponsive state parameter may be closest to the second cluster (based on the average value), and classifies the first unresponsive state parameter into the second cluster.

[0095] The prediction module 201d may be configured to predict the unresponsive state of the electronic device 100 by determining the source of the unresponsive state based on classifying the unresponsive state parameter into at least one cluster. If the unresponsive state parameter belongs to a responsive cluster (= non-unresponsive state cluster), the prediction module 201d determines the responsive state (= non-unresponsive state). If the unresponsive state parameter belongs to an unresponsive state cluster indicating at least one unresponsive state condition, the prediction module 201d predicts the unresponsive state. The prediction module 201d identifies the unresponsive state condition associated with the unresponsive state cluster to which the unresponsive state parameter belongs. The prediction module 201d also checks whether the unresponsive state parameter belonging to the unresponsive state cluster can cause the unresponsive state condition (associated with the cluster), and therefore considers the sluggishness parameter as the source of the unresponsive state. The prediction module 201d uses information (domain knowledge) about the unresponsive state parameter stored in at least one of the memory 102 and an external entity (e.g., a server, an external storage device, etc.) to check whether the unresponsive state parameter can cause the unresponsive state condition.

[0096] As an example, PSS memory, CPU temperature, the number of notifications received, the number of configuration changes, and the number of pending intents can be unresponsive state parameters. If the unresponsive state parameter is classified as a responsive cluster (= non-unresponsive state cluster), the prediction module 201d predicts the responsive state of the electronic device 100.

[0097] In the example herein, PSS memory, CPU temperature, the number of notifications received, the number of configuration changes, and the number of pending intents are considered to be classified into a cluster indicating an unresponsive state condition exceeding frame drops. The prediction module 201d then determines that a sudden increase in PSS memory may reduce the available free memory, which may further cause frame drops (sluggishness), and therefore considers the PSS memory as the source of the unresponsive state.

[0098] In the example herein, consider that PSS memory, CPU temperature, the number of notifications received, the number of configuration changes, and the number of pending intents are classified into a cluster indicating an unresponsive state condition exceeding the application launch time. In this case, the prediction module 201d predicts that the CPU temperature may increase due to a very high load on the resources of the electronic device 100, which may further slow down the launch of the application, and therefore considers the CPU temperature as the source of the unresponsive state.

[0099] In the example herein, PSS memory, CPU temperature, the number of notifications received, the number of configuration changes, and the number of pending intents are considered to be classified into touch delay. In this case, the prediction module 201d predicts that an increase in such unresponsive state parameters may increase the delay in pulling notifications from the memory 102 to the display 104, which may lead to an unresponsive state, and thus considers the number of notifications received, the number of configuration changes, and the number of pending intents as the source of the unresponsive state.

[0100] The unresponsive state avoidance engine 202 includes a strategy selection module 202a and a reward allocation module 202b for reducing / avoiding the predicted unresponsive state. The unresponsive state avoidance engine 202 operates only when the unresponsive state of the electronic device 100 is predicted.

[0101] The policy selection module 202a may be configured to configure at least one policy to be applied to a device parameter associated with a source of the unresponsive state to reduce the unresponsive state. The device parameter associated with the source of the unresponsive state may be a parameter that exceeds a predefined threshold. The policy may be at least one of a configuration change policy, a notification policy, a memory policy, and the like. In addition, each policy may include one or more actions. For example, a configuration change policy may include actions such as, but not limited to, postponing configuration changes of empty applications, postponing configuration changes of empty applications and services, postponing configuration changes of empty applications, services, and content providers, and the like. Notification policies may include actions such as, but not limited to, postponing ranking / sorting of notifications, postponing the process of pulling notifications, and the like. Memory policies may include actions such as, but not limited to, triggering the clearing of garbage collection (unwanted data) in the memory 102, trimming / releasing the memory 102, controlling background applications, services, and cached applications, and the like.

[0102] The strategy selection module 202a may select at least one strategy for reducing the unresponsive state based on reinforcement learning. The strategy selection module 202a initially randomly selects at least one strategy. For example, the strategy selection module 202a may select a configuration change strategy when it is predicted that the source of the unresponsive state is associated with the application startup time. The strategy selection module 202a may select a notification strategy when it is predicted that the source of the unresponsive state is associated with touch delay. The strategy selection module 202a may select a memory strategy when it is predicted that the source of the unresponsive state is associated with frame loss. In addition, the strategy selection module 202a may dynamically select at least one strategy by learning rewards associated with previous strategies selected to reduce the unresponsive state. The rewards mentioned herein may be in the form of points, values, levels, etc.

[0103] After selecting at least one policy, the policy selection module 202a selects at least one action from the at least one policy. In an embodiment, the policy selection module 202a may select at least one action based on at least one of a user usage pattern and / or a user usage pattern parameter. Thus, a customized sequence of actions is selected for each individual user based on the user usage pattern and / or at least one of the user usage pattern parameters. The policy selection module 202a applies the selected at least one action to device parameters of at least one hardware module 106 and / or at least one software module 108 associated with the source of the unresponsive state.

[0104] As an example, the PSS memory is considered to be the source of the unresponsive state that causes frame loss during the launch of at least one application. Because the PSS memory is the source of the unresponsive state, the policy selection module 202a can select a memory policy for avoiding frame loss. In addition, the policy selection module 202a analyzes the user's usage pattern and determines that the user rarely clears unwanted data in the memory 102. Therefore, the policy selection module 202a selects an action to trim the memory from the memory policy. The policy selection module 202a also identifies the selected action related to the source of the unresponsive state and applies it on the memory 102.

[0105] Consider the example of this article, in which the number of pending notifications (notification accesses) is considered to be the source of an unresponsive state that may cause touch delay to exceed a predefined threshold. In this case, because the number of pending notifications is the source of the unresponsive state, the policy selection module 202a may select a notification policy for improving touch delay. In addition, the policy selection module 202a analyzes the user's usage pattern and determines that the user clears the notification immediately. Therefore, the policy selection module 202a selects the action of postponing notification pull to improve touch delay. The policy selection module 202a also recognizes that the operating conditions (device parameters) of the notification drawer module may be related to the source of the unresponsive state, and applies the selected action to the operating conditions of the notification drawer module. Therefore, the notification drawer module can display new notifications to the user instead of displaying notifications based on sorting, which can improve touch delay.

[0106] The reward allocation module 202b may be configured to allocate rewards to each strategy selected by the strategy selection module 202a for reducing the unresponsive state. The reward allocation module 202b allocates rewards to the strategy based on at least one action selected from the strategy for reducing the unresponsive state and the effect of the action within a predefined time. Therefore, selecting the best action within the strategy gives the maximum reward. The effect of the action here indicates the unresponsive state count identified within the predefined time. The unresponsive state count is a measurement of the occurrence of the unresponsive state after applying at least one action to at least one device parameter associated with the source of the unresponsive state. If the at least one applied action does not reduce the unresponsive state count, the reward allocation module 202b allocates negative reward points to the corresponding strategy. If the at least one action applied (in the next periodic interval) reduces the unresponsive state count, the reward allocation module 202b allocates positive reward points to the corresponding strategy, so that the strategy selection module 202a can select the strategy in the future. Therefore, the rewards allocated to the strategy help select the strategy in a dynamic order to maximize the rewards customized for the usage pattern of the unique user.

[0107] For example, the reward allocation module 202b allocates rewards to the policy based on reinforcement learning / Q learning, as shown using the following equation: Q(S, A) = Q(S, A) + α(R + γQ(S 0 , A 0 )-Q(S, A)). Wherein α is a learning rate which may be (0<α≤1), which may be set to 1 when a decrease in the unresponsive state count is detected, and γ may be a discount rate for modifying the state in consideration of future states.

[0108] Figure 2 Exemplary units of processor 110 are shown, but it should be understood that one or more other embodiments are not limited thereto. For example, according to one or more other embodiments, processor 110 may include fewer or more units. In addition, the labels or names of the units are only for illustrative purposes and do not limit the scope of the embodiments herein. One or more units may be combined together to perform the same or substantially similar functions in processor 110.

[0109] Figure 3 is an example flow chart illustrating a method for controlling an unresponsive state of an electronic device 100 according to an embodiment.

[0110] Reference Figure 3 In operation S301, the processor 110 detects one or more user activities (such as the launch of an application, the interaction with the content displayed on the display by performing a gesture (such as scrolling, tapping, dragging, sliding, etc.), etc.). In operation S302, based on the detection of one or more user activities, the processor 110 collects (e.g., obtains, etc.) device parameters and user usage mode parameters by communicating with at least one hardware module 106 and at least one software module 108. In operation S303, the processor 110 identifies the causal relationship between the collected device parameters and the collected user usage parameters, and accordingly selects (e.g., determines, identifies, etc.) one or more unresponsive state parameters from the collected device parameters and the collected user usage mode parameters as parameters that may cause an unresponsive state. In operation S304, the processor 110 also uses at least one of a clustering method and a machine learning method to classify the selected unresponsive state parameters into at least one cluster, wherein the cluster may be at least one of a response cluster (= non-unresponsive state cluster) and an unresponsive state cluster indicating an unresponsive state condition. Based on classifying the unresponsive state parameters into at least one cluster, the processor 110 determines at least one unresponsive state parameter as a source of the unresponsive state.

[0111] In operation S305, the processor 110 also predicts an unresponsive state based on the source of the unresponsive state. In operation S306, if the unresponsive state is not predicted, the processor 110 does not take action to reduce (e.g., avoid) the predicted unresponsive state. In operation S307a, if the unresponsive state is predicted, the processor 110 selects at least one policy (based on at least one of the user usage pattern and / or the user usage pattern parameter) and applies at least one action of the selected at least one policy to at least one device parameter associated with the source of the unresponsive state. In operation S307b, the processor 110 selects at least one policy based on a reward associated with a policy that has previously been applied to at least one device parameter associated with at least one hardware module 106 and / or at least one software module 108. The processor 110 may select the policy in a dynamic order based on the user usage pattern parameter to maximize the reward. In operation S307c, the processor 110 also assigns a reward to the policy based on the selected action and the effect of the selected action. The processor 110 assigns a positive reward to the policy based on a reduction in the number of times the unresponsive state occurs during a period of time (e.g., a predetermined period of time). In other words, if the unresponsive state count is reduced after the action of applying the policy, the processor 110 assigns a positive reward to the policy. The processor 110 assigns a negative reward to the policy based on an increase in the number of unresponsive state occurrences during the time period (or based on the number of unresponsive state occurrences during the time period being greater than a threshold). In other words, if the unresponsive state count is not reduced even after the action of applying the policy, the processor 110 assigns a negative reward to the policy.

[0112] Figure 4 is an example flow chart showing prediction of an unresponsive state of the electronic device 100 according to an embodiment. Figure 4 , in operation S402, the processor 110 collects 40 device parameters and 13 user usage pattern parameters in response to (or based on) receiving at least one user input to the electronic device 100. The processor may receive at least one user input in response to (or based on) detecting at least one user activity (e.g., the launch of an application). In operation S404, the processor 110 performs CSA on the 40 device parameters and 13 user usage pattern parameters and generates a DAG. In the DAG, the edges between the nodes corresponding to the 40 device parameters and the 13 user usage pattern parameters may represent a causal relationship. According to an embodiment, the user usage pattern of a user may be defined by combining at least one user pattern parameter. In operation S406, the processor 110 identifies 7 device parameters as unresponsive state parameters that may cause an unresponsive state of the electronic device 100 based on the causal relationship.

[0113] In operation S408, the processor 110 classifies the 7 device parameters into at least one cluster using a 4D clustering model (e.g., a K-means clustering method). In the example herein, the number of clusters formed using the 4D clustering model may be 4, wherein the first cluster may be a response cluster (= non-unresponsive state cluster), the second cluster may indicate that the startup time of the application exceeds a predefined threshold (one of the unresponsive state conditions), the third cluster may indicate frame loss (one of the unresponsive state conditions), and the fourth cluster may indicate that the touch delay exceeds 1 second (one of the unresponsive state conditions). Based on classifying the 7 device parameters into at least one cluster, the processor 110 predicts the unresponsive state by determining that one of the 7 device parameters may be the source of the unresponsive state.

[0114] Figure 5A is an example diagram illustrating a method for determining a non-responsive state parameter according to an embodiment. Figure 5B is an example diagram illustrating a method for determining an unresponsive state parameter according to an embodiment. In operation S501, a processor of an electronic device may collect 40 device parameters / system parameters that are considered for predicting an unresponsive state. In operation S503, the processor 110 may perform a causal structure analysis (CSA) on the 40 device parameters. In operation S505, the processor 110 may generate a directed acyclic graph (DAG). The DAG may include 40 nodes representing the 40 device parameters and an unresponsive state node. In operation S506, the processor 110 may identify an island node based on the edges of the nodes. In operation S507, the processor may identify a node connected to an unresponsive state node. According to an embodiment, an island node may be a node that does not affect the unresponsive state node (i.e., the island node is not connected to the unresponsive state node), such as Figure 5B In an embodiment, the island node may represent device parameters, such as CPU frequency, processor temperature, CP traffic, Wi-Fi traffic, etc. The processor 110 rejects the device parameters represented by the island node and does not consider the device parameters represented by the island node to predict the unresponsive state.

[0115] As mentioned above, Figure 3 1 is an example flow chart showing a method for controlling the unresponsive state of the electronic device 100 according to an embodiment. As an example, consider that 7 nodes representing 7 device parameters are connected to the unresponsive state node (affecting the unresponsive state node), such as Figure 5C The processor 110 determines the seven device parameters connected to the unresponsive state node as unresponsive state parameters that may cause the unresponsive state of the electronic device 100 .

[0116] Figure 61 is an example flow chart showing a method for clustering at least one unresponsive state parameter using a 4D clustering model according to an embodiment. Although the clustering of the unresponsive state parameters of this embodiment considers the K-means clustering method as an example, it should be understood that one or more other embodiments are not limited thereto, and other suitable clustering methods may be implemented.

[0117] Reference Figure 6 , in operation S601, once the unresponsive state parameter is identified, the processor 110 may draw the unresponsive state parameter in the 4D map. In operation S603, the processor 110 may determine the number of center points present in the 4D map, and determine at least one center point based on the number of center points determined. Although in the example herein, the number of center points is illustrated as four, it should be understood that one or more other embodiments are not limited thereto, and any number of center points may be determined. In operation S605, based on the four center points, the processor 110 forms four clusters by assigning an average value to each cluster, wherein each cluster may indicate at least one of a responsive state (= non-unresponsive state) condition and an unresponsive state condition. In an embodiment, the processor 110 further divides the unresponsive state parameter represented in the 4D map into at least one cluster based on the distance determined for each cluster. For example, if one of the source parameters is closest to the second cluster (minimum distance), the processor 110 classifies the source parameter into the second cluster. In operation S607, the processor 110 may also shift the cluster (change the average value) based on the new source parameter. The processor 110 also predicts the unresponsive state of the electronic device 100 using 4D clustering.

[0118] Fig. 7A is an exemplary diagram illustrating a method for selecting a strategy for reducing a predicted unresponsive state of an electronic device according to an embodiment.

[0119] Reference Fig. 7A , if the policy is not associated with any reward, the processor 110 selects at least one policy based on the 4D clustering model. After selecting the policy, the processor 110 selects at least one action of the at least one policy to be applied to at least one device parameter (of at least one hardware module 106 and / or at least one software module 108) that may be associated with the source of the unresponsive state. The processor 110 selects at least one action based on at least one of the user usage pattern or the user usage pattern parameter.

[0120] In an embodiment, the policy may include at least one of a configuration change policy, a notification policy, and a memory policy. In the examples herein, the memory policy may include three actions (A0, A1, and A2), the configuration change policy may include three actions (A3, A4, and A5), and the notification policy may include two actions (A6 and A7). According to an embodiment, based on the predicted unresponsive state due to the touch delay exceeding a predefined threshold, the processor 110 may select a notification policy as a policy for avoiding the predicted unresponsive state so that the touch delay may not exceed the predefined threshold. For example, the notification policy may include actions such as, but not limited to, sorting / postponing the ranking of notifications, postponing notification pulling (rendering, outputting, and / or displaying), etc. The processor 110 may also select at least one action of the notification policy and apply the selected at least one action to a device parameter (of a notification drawer or outputter) associated with the unresponsive state source (i.e., the touch delay exceeds a predefined threshold). The processor 110 may select at least one action based on at least one of a user usage pattern and a user usage pattern parameter. For example, if the user rarely clears notifications existing in the electronic device 100 and if there are many notifications to be processed by the user, the processor 110 may apply an action of postponing notifications based on the unresponsive state parameter associated with the source of the unresponsive state. For example, if the user immediately takes action on the notification and if the user receives a new notification during the launch of the application, the processor 110 may apply an action of postponing notification pulling to the device parameter associated with the source of the unresponsive state.

[0121] The processor 110 also assigns at least one of a positive reward and a negative reward to the strategy selected to avoid the unresponsive state. The processor 110 also assigns the reward to the strategy based on the action of the corresponding strategy applied to at least one device parameter associated with the source of the unresponsive state and the effect of the applied action. Therefore, the processor 110 can select the action to be applied based on the reward. When the action selected from the strategy reduces the unresponsive state count (= the number of times the unresponsive state occurs), the processor 110 assigns a positive reward to the strategy. When the action selected from the strategy increases the unresponsive state count, the processor 110 assigns a negative reward to the strategy. Therefore, the reward can help the processor 110 select strategies in a dynamic order to maximize the rewards customized for the usage pattern of a unique user.

[0122] Figure 7B is an example flow chart illustrating a method for assigning at least one reward to at least one strategy according to an embodiment. Figure 7B, the processor 110 detects one or more user activities and predicts an unresponsive state using device parameters and user usage patterns. The processor 110 also checks whether an unresponsive state has been predicted. If an unresponsive state has been predicted, the processor 110 selects a strategy based on a reward associated with the strategy and applies at least one action of the selected strategy based on the usage pattern for avoiding the predicted unresponsive state.

[0123] After applying at least one action, the processor 110 monitors the no-response status count within a predefined time. The processor 110 also resets the reward clock for the predefined time, so that the processor 110 can monitor the no-response status count within the predefined time (eg, 10 minutes).

[0124] The processor also assigns "zero" to the policy's window count parameter (indicating reward points). If the no-response state count is zero, the processor 110 increments the window count parameter by 1 (granting a positive reward to the policy). If the no-response state count is not zero, the processor 110 calculates the Q-learning value based on the reward value adjusted to the discount rate and learning rate.

[0125] If a no-response state has not been predicted, the processor 110 assigns "one" to the window count parameter (a positive reward score). The processor 110 also calculates a reward score based on the current value of the window count parameter associated with the strategy. The processor 110 may also select the next best action of the strategy to provisionally provide the reward assigned to the strategy, and may perform the above steps for assigning a reward to each action of the strategy.

[0126] Fig. 8A is an example showing management of application startup by predicting and avoiding an unresponsive state according to an embodiment. Figure 8B is an example showing management of application startup by predicting and avoiding an unresponsive state according to an embodiment.

[0127] Reference Fig. 8A and Figure 8B , in operation S802, the processor 110 of the electronic device 100 may detect that an application is being launched by a user of the electronic device 100. In operation S804, the processor 110 may collect device parameters and user usage pattern parameters. In operation S806, the processor 110 may identify unresponsive state parameters in the collected device parameters and user usage pattern parameters to determine unresponsive state parameters that may cause the unresponsive state. For example, PSS memory, the number of notifications received, the number of configuration changes that occurred, and the number of pending intents may be unresponsive state parameters.

[0128] In operation S808, the processor may use a 4D clustering model to predict the source of the unresponsive state. For example, after determining the unresponsive state parameter, the processor 110 uses the 4D clustering model to divide the unresponsive state parameter into a response cluster (= non-unresponsive state cluster) and at least one of an unresponsive state cluster indicating an unresponsive state condition (e.g., startup time exceeds a predefined threshold, touch delay exceeds a predefined threshold, frame loss exceeds a predefined threshold, etc.). As an example, consider that the unresponsive state parameter is classified into an unresponsive state cluster indicating frame loss. Based on classifying the unresponsive state parameter into at least one cluster, the processor 110 determines that the unresponsive state parameter is the source of the unresponsive state for starting the application. In the example herein, because the PSS memory has been classified into the cluster indicating frame loss, the processor 110 determines that the PSS memory is the source of the unresponsive state.

[0129] In operation S810, once the unresponsive state is predicted, the processor 110 selects at least one policy to be applied to at least one device parameter of at least one hardware module 106 and / or at least one software module 108 associated with the source of the unresponsive state. According to an embodiment, the processor 110 may select at least one policy based on each reward previously set for each of the plurality of policies. The processor 110 may receive each reward to be set to each of the plurality of policies from the reward engine 812. In the example herein, because a sudden decrease in the availability of the memory is considered to be the source of the frame drop, the processor 110 may select a memory policy to be applied to the operating condition of the memory 102. The processor 110 also selects at least one action of the policy to be applied to the operating condition of the memory 102 based on the user usage pattern. In the example herein, if the user rarely clears the unwanted data stored in the memory 102, the processor 110 may select the trim memory action of the memory policy.

[0130] The processor 110 also awards positive or negative reward points to the selected strategy based on the application action of the strategy and the effect of the action. Therefore, for future user activities (application launches), the processor 110 can select strategies based on the reward points associated with the strategies.

[0131] Fig. 9A is an example table showing device parameters collected for predicting an unresponsive state of the electronic device 100 according to an embodiment. Fig. 9A The device parameter may be at least one of an application-related parameter, a thermal-related parameter, a memory-related parameter (a kernel memory-related parameter and a platform memory-related parameter), etc. (e.g. Fig. 9A ) as shown in the example table.

[0132] Fig. 9Bis an example table showing user usage pattern parameters collected for predicting an unresponsive state of the electronic device 100 according to an embodiment. Fig. 9B The user usage mode may be defined as or defined by at least one of the user usage mode parameters. The user usage mode parameters may include at least one of the notification parameters, configuration parameters, unique parameters, etc. (e.g. Fig. 9B ) as shown in the example table.

[0133] Fig. 9C is an example table showing unresponsive state parameters responsible for causing an unresponsive state of the electronic device 100 according to an embodiment. The embodiments herein enable the processor 110 to perform CSA on the collected device / system parameters and user usage patterns and generate a DAG. Based on the DAG, the processor 110 identifies the causal relationship between the collected parameters and determines the unresponsive state parameters that may cause the unresponsive state of the electronic device 100 from the collected parameters. In one embodiment, the determined unresponsive state parameter may be at least one of a PSS memory (memory-related parameter), a CPU temperature (heat-related parameter), a number of notifications received by the electronic device 100 (notification parameter), a number of configuration changes (configuration parameter), a number of pending intents (unique parameter), etc. (such as Fig. 9C ).

[0134] Fig.9D is an example table showing the source of the unresponsive state of the electronic device 100 based on the clusters identified for the unresponsive state parameters and the strategy selected to avoid the predicted unresponsive state of the electronic device 100 according to the embodiment. One or more embodiments herein enable the processor 110 to detect the unresponsive state parameters using causal relationships. As an example, PSS memory, CPU temperature, the number of notifications received by the electronic device 100, the number of configuration changes, and the number of pending intents may be considered as unresponsive state parameters that may cause the unresponsive state of the electronic device 100. The processor 110 classifies the detected unresponsive state parameters into at least one cluster using a clustering method and determines the source of the unresponsive state. In addition, based on the clustering, the processor 110 decides on a strategy for avoiding the predicted unresponsive state.

[0135] For example, if the unresponsive state parameter belongs to a responsive cluster (= non-unresponsive state cluster), the processor 110 determines that the unresponsive state parameter is normal and thus no unresponsive state is predicted. In one example, it is considered that the unresponsive state parameters (PSS memory, CPU temperature, number of notifications received by the electronic device 100, number of configuration changes, and number of pending intents) belong to a cluster associated with a frame loss condition. The processor 110 determines that a sudden increase in PSS memory may reduce the availability of free memory and regards the PSS memory as the source of the unresponsive state. In addition, the processor 110 selects a memory strategy to avoid frame loss.

[0136] In one embodiment, consider that the unresponsive state parameters (PSS memory, CPU temperature, number of notifications received by the electronic device 100, number of configuration changes, and number of pending intents) belong to a cluster associated with the launch time of the application. In this case, the processor 110 determines that the increased load on the device resources may increase the CPU temperature, which will further increase the launch time. Therefore, the processor 110 selects the CPU temperature as the source of the unresponsive state and selects a configuration change strategy to avoid the launch time exceeding the predefined threshold.

[0137] In one embodiment, the unresponsive state parameters (PSS memory, CPU temperature, number of notifications received by the electronic device 100, number of configuration changes, and number of pending intents) are considered to belong to a cluster associated with a touch latency condition. In this case, the processor 110 determines that the increased delay in pulling notifications from the memory 102 to the display may cause the touch latency to exceed a predefined threshold, and considers the number of notifications received by the electronic device 100, the number of configuration changes, and the number of pending intents as the source of the unresponsive state. In addition, the processor 110 selects a notification strategy to improve touch latency.

[0138] Fig.9E is an example table showing actions of at least one strategy that may be used to reduce the unresponsive state of the electronic device 100 according to an embodiment. Fig.9E , the memory policy may include actions such as action A0, action A1, action A2, etc. Action A0 may be used to trigger garbage collection to clear the memory 102. Action A1 may be used to trim / release (e.g., clear) the memory 102. Action A2 may be used to control background applications, services, cached applications, etc.

[0139] In addition, the configuration change policy may include actions such as action A3, action A4, action A5, etc. Action A3 may be used to postpone configuration changes of empty applications. Action A4 may be used to postpone configuration changes of empty applications, services, etc. Action A5 may be used to allocate configurations for empty applications, services, and content providers.

[0140] In addition, the notification policy may include actions such as but not limited to action A6, action A7, etc. Action A6 may be used to postpone ranking / sorting of notifications. Action A7 may be used to postpone notification pulling.

[0141] Fig.9F is an example table showing reward allocation for selecting a policy based on a reward for avoiding an unresponsive state of the electronic device 100 according to an embodiment. One or more embodiments herein enable the processor 110 to allocate rewards to policies based on actions of corresponding policies applied on at least one of the at least one software module 108 and / or the at least one hardware module 106, based on user usage patterns and effects of the applied actions (decreased / increased unresponsive state count).

[0142] Consider an example scenario where an unresponsive state has been predicted when a user launches a gaming application. In this scenario, processor 110 selects a strategy for avoiding the unresponsive state based on the rewards assigned to the strategy previously applied to the gaming application. Fig.9F The rewards associated with strategies that have been previously applied to improve the startup time of a gaming application are shown in the exemplary table of . In the examples herein, due to the decrease in the unresponsive state count (e.g., 7) after selecting the configuration change strategy for the gaming application, the configuration change strategy may be associated with 6 bonus points (positive reward). Due to the increase in the unresponsive state count after selecting the notification strategy for the gaming application, the notification strategy may be associated with -7 bonus points (negative reward). Because the unresponsive state count did not decrease after applying the memory strategy to the gaming application, the memory strategy may be associated with -4 bonus points (negative reward). Therefore, the processor 110 may select a configuration change strategy for the gaming application in order to reduce (e.g., avoid) the predicted unresponsive state.

[0143] Fig. 10A is an example diagram illustrating selection of at least one policy for various applications according to an embodiment. Fig. 10B is an example diagram illustrating selection of at least one policy for various applications according to an embodiment. Fig. 10C is an example diagram illustrating selection of at least one policy for various applications according to an embodiment.

[0144] As an example, in the case where a user attempts to launch a game application, the processor 110 predicts the source of the unresponsive state that may cause the launch time of the game application to exceed a predefined threshold. Thereafter, the processor 110 selects at least one strategy for reducing the launch time of the game application. The processor 110 may select at least one strategy based on a reward associated with a strategy that has been previously applied to improve the launch time of the game application.

[0145] In such Fig. 10A In the example shown in the present document, the configuration change policy and the notification policy are policies that have been previously applied to improve the startup time of the gaming application. Because the configuration change policy improves the startup time of the application by reducing the unresponsive state count (e.g., 7), the configuration change policy may be associated with 6 positive bonus points. Because the notification policy did not improve the startup time of the gaming application (did not reduce the unresponsive state count), the notification policy may be associated with -4 negative bonus points. Therefore, the processor 110 may select a configuration change policy for improving the startup time of the gaming application. Here, after applying at least one action of the selected policy to the operating conditions of at least one hardware module 106 and / or at least one software module 108, the gaming application (e.g., the game application 100) may be started on the electronic device 100 within 2400ms. Fig. 10A ). Therefore, for users who always use the gaming application, the configuration change strategy can obtain positive rewards.

[0146] According to another example in which a user launches a social networking application and wants to interact with associated content, processor 110 predicts a source of an unresponsive state that may cause touch latency to exceed a predefined threshold. Thereafter, processor 110 selects at least one strategy for reducing touch latency. Processor 110 may select a strategy based on a reward associated with a strategy that has been previously applied to improve touch latency in response to the launch of the social networking application.

[0147] In such Fig. 10B In the example shown herein, the configuration change policy and the notification policy are policies that have been previously applied to improve touch latency in response to the launch of a social networking application. Because the configuration change policy did not improve touch latency by reducing the unresponsive state count, the configuration change policy can be associated with -5 negative reward points. Because the notification policy improved touch latency by reducing the unresponsive state count (e.g., 8), the notification policy can be associated with 6 positive reward points. Here, after applying at least one action of the selected policy to the operating conditions of at least one hardware module 106 and / or at least one software module 108, the touch latency can be reduced to 700 ms (e.g., 100 ms). Fig. 10B ). Therefore, for users who always use social network applications, the notification strategy can obtain positive rewards.

[0148] Based on another instance of the user launching the gaming application, the processor 110 predicts a source of an unresponsive state that may cause frame loss. Thereafter, the processor 110 selects at least one strategy for reducing frame loss. The processor 110 may select a strategy based on a reward associated with a strategy that has been previously applied to improve frame loss for the gaming application. Fig. 10CIn the example shown herein, the configuration change policy, notification policy, and memory policy are policies previously selected for a gaming application to improve frame loss. Because the configuration change policy does not improve frame loss by reducing the unresponsive state count, the configuration change policy may be associated with -5 negative bonus points. Because the notification policy does not improve frame loss by reducing the unresponsive state count bonus point number, the notification policy may be associated with -4 negative points. Because the memory policy improves frame loss by reducing the unresponsive state count (e.g., 9), the memory policy may be associated with 7 positive bonus points. Thus, the processor 110 may select a memory policy for improving frame loss in response to the launch of a social networking application. For example, after applying the memory policy, frame loss may be reduced to 54 (e.g., 9). Fig. 10C shown).

[0149] Fig.11A is an exemplary table showing the reduction of the startup time of various applications based on selecting a notification change policy for the various applications according to an embodiment. Fig.11A , the processor 110 can reduce the basic startup time of each of the camera application, the gallery application, and the game application by applying the notification change policy to the device parameters associated with the unresponsive state of the electronic device. Therefore, the user of the electronic device can experience faster startup of the camera application, the gallery application, and the game application.

[0150] Fig. 11B is an exemplary table showing the reduction of startup time of various applications based on selecting configuration change policies for the various applications according to an embodiment. Fig. 11B , the processor 110 can reduce the basic startup time of each of the game application A, game application B, game application C, game application D, game application E, game application F and camera application by applying the configuration change policy to the device parameters associated with the unresponsive state of the electronic device.

[0151] Fig. 11C is an example table showing reduced camera rotation time based on a selected configuration change strategy according to an embodiment. Fig. 11C , where a user uses a camera application to take a photo, the processor 110 can predict a possible unresponsive state (e.g., a rotation delay of the electronic device 100 for capturing an image). In addition, the processor 110 can avoid the predicted unresponsive state by applying a configuration change strategy to the operating conditions of the camera. Therefore, the user's camera rotation experience can be improved.

[0152] Fig.11D is an example table showing a reduction in the number of lost frames based on selecting at least one policy for various applications according to an embodiment. Fig.11D, the processor 110 can reduce the number of dropped frames of each of the social networking application A, the game application A, the game application B, and the social networking application B by applying at least one strategy of a plurality of strategies associated with the unresponsive state of the electronic device 100.

[0153] Fig.11E is an example table showing touch delay reduction based on selecting at least one strategy for various applications according to an embodiment. Fig.11E , the processor 110 may reduce the touch delay of each of the forum-related application, the sports-related application, the social networking application A, and the social networking application B by applying at least one strategy of a plurality of strategies associated with the unresponsive state of the electronic device.

[0154] Fig.12 is a flowchart illustrating a method for controlling an unresponsive state of the electronic device 100 according to an embodiment.

[0155] Reference Fig.12 In operation S1202, the processor 110 may collect (e.g., obtain) device parameters related to at least one of the hardware module 106 and the software module 108, and may collect one or more user usage pattern parameters in response to (or based on) receiving at least one user input to the electronic device.

[0156] In operation S1204, the processor 110 may predict an unresponsive state of the electronic device 100 based on the collected device parameters and the user usage pattern parameters. The unresponsive state is a state in which at least one device parameter of the electronic device exceeds a predetermined threshold. According to an embodiment, the responsive state may represent a state in which at least one device parameter of the electronic device is lower than a predetermined threshold. For example, if the electronic device operates in a responsive state, the electronic device may output a response to the user input within a predetermined time.

[0157] The processor may determine at least one of the collected multiple device parameters and user usage pattern parameters as at least one unresponsive state parameter based on the causal relationship between the multiple device parameters and the user usage pattern parameters. In addition, the processor may cluster the determined at least one unresponsive state parameter using a 4D clustering model, and use the clustered at least one unresponsive state parameter to predict the source of the unresponsive state of the electronic device.

[0158] According to an embodiment, the processor may generate a directed acyclic graph (DAG) by performing causal structure analysis (CSA) on the collected multiple device parameters and user usage pattern parameters. The DAG may include multiple nodes representing at least one of the multiple device parameters and the user usage pattern and an unresponsive state node. The processor may also use the causal relationship identified by analyzing the multiple nodes of the DAG and at least one edge associated with the multiple nodes of the DAG to determine an unresponsive state node related to the unresponsive state of the electronic device, and determine the parameter represented by at least one node connected to the determined unresponsive state node as an unresponsive state parameter.

[0159] In addition, the processor may determine a predetermined number of center points, classify the determined at least one unresponsive state parameter on the 4D map based on the determined predetermined number of center points, and form at least one cluster including the unresponsive state parameter based on a preset average value of the cluster of each center point.

[0160] Additionally, the processor may predict the unresponsive state by identifying at least one unresponsive state parameter as a source of the unresponsive state based on the classification. At least one device parameter associated with the source of the unresponsive state may exceed a predefined threshold.

[0161] For example, the processor may identify whether at least one formed cluster is an unresponsive state cluster representing an unresponsive state condition, predict a response state of the electronic device based on identifying that at least one clustered unresponsive state parameter is not classified as an unresponsive state cluster, and predict an unresponsive state of the electronic device based on identifying that at least one clustered unresponsive state parameter is classified as an unresponsive state cluster.

[0162] In operation S1206, the processor 110 can reduce (e.g., avoid) the unresponsive state of the electronic device by selecting and applying a policy for at least one device parameter exceeding a predefined threshold. Once the device 100 has been determined to be in an unresponsive state, the processor 110 reduces the unresponsive state by configuring at least one policy / changing the policy.

[0163] For example, the processor may select a strategy from a plurality of strategies associated with a predicted unresponsive state of the electronic device based on a reward previously set for each of the plurality of strategies, select an action from a plurality of actions corresponding to the selected strategy based on a user usage pattern parameter, and apply the selected action to at least one device parameter associated with the predicted unresponsive state of the electronic device.

[0164] In addition, the processor 110 may assign a reward to the selected strategy based on the number of times an unresponsive state occurs during a period of time (e.g., a predetermined time period) after the selected action is applied to at least one device parameter associated with the predicted unresponsive state of the electronic device.

[0165] In addition, the processor 110 may also assign a positive reward to the selected strategy based on a decrease in the number of unresponsive states occurring during the time period, and assign a negative reward to the selected strategy based on an increase in the number of unresponsive states occurring during the time period. The processor may select strategies in a dynamic order based on the user usage pattern parameters to maximize the reward.

[0166] In other words, processor 110 may apply at least one policy to at least one device parameter that is the cause of the unresponsive state (wherein the device parameter exceeds a predefined threshold) such that for future user activities, the device parameter of at least one hardware module 106 and / or at least one software module 108 may not exceed the predefined threshold and device 100 may not enter the unresponsive state due to the particular parameter.

[0167] The embodiments disclosed herein may be implemented by at least one software program running on at least one hardware device and performing network management functions to control the elements. The elements shown in the figures may be at least one of a hardware device, software, or a combination of a hardware device and software.

[0168] When implemented as software, a computer-readable storage medium storing one or more programs (e.g., software modules) may be provided. One or more programs stored in the computer-readable storage medium are configured to be executed by one or more processors in an electronic device. One or more programs include instructions for instructing an electronic device to perform a method according to an embodiment of the present disclosure as described herein or in the appended claims.

[0169] The program (e.g., software module or software) may be stored in a non-volatile memory, including random access memory (RAM) or flash memory, read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic disk storage, compact disk (CD)-ROM, digital versatile disk (DVD), another optical storage device, or magnetic tape cassette. Alternatively, the program may be stored in a memory comprising a combination of some or all of the above storage media. A plurality of such memories may be included.

[0170] In addition, the program may be stored in an attachable storage device accessible via any one or a combination of communication networks such as the Internet, an intranet, a local area network (LAN), a wide LAN (WLAN), and a storage area network (SAN). Such a storage device may access the electronic device via an external port. In addition, an additional storage device on a communication network may access the electronic device.

[0171] The embodiments disclosed herein describe methods and devices for controlling the unresponsive state of electronic devices. Therefore, it should be understood that the scope of protection extends to such a program, and in addition to a computer-readable device having a message therein, such a computer-readable storage device includes a program code device for implementing one or more steps of the method when the program is running on a server or a mobile device or any suitable programmable device. In an embodiment, the method is implemented by a software program written in, for example, a very high speed integrated circuit hardware description language (VHDL), another programming language, or together with the software program, or by one or more VHDL or several software modules executed on at least one hardware device. The hardware device can be any type of portable device that can be programmed. The device may also include a device that may be, for example, a hardware device (such as ASIC), or a combination of hardware and software devices (for example, ASIC and FPGA), or at least one microprocessor and at least one memory therein. The method embodiments described herein may be partially implemented in hardware and partially implemented in software. Optionally, the embodiment may be implemented on different hardware devices, for example, using multiple CPUs.

[0172] It should be understood that the wording or terminology used herein is for the purpose of description rather than limitation. Therefore, although the inventive concept has been described according to embodiments, those skilled in the art will recognize that the embodiments herein can be practiced by modification within the spirit and scope of the inventive concept as described herein and in the appended claims.

Claims

1. A method for controlling an unresponsive state of an electronic device, the method include: obtaining, by a processor of the electronic device, a plurality of device parameters related to at least one of a hardware module of the electronic device and a software module of the electronic device and a user usage mode parameter based on receiving a user input to the electronic device; predicting, by the processor, an unresponsive state of the electronic device based on the obtained plurality of device parameters and the obtained user usage pattern parameter, wherein the user usage pattern parameter indicates a pattern of user input to the electronic device; and avoiding, by the processor, a predicted unresponsive state by applying a policy determined from a plurality of policies to a device parameter of the plurality of device parameters associated with the predicted unresponsive state, The mode input by the user to the electronic device includes at least one of a notification access mode, a configuration change mode, and a unique mode.

2. The method according to claim 1, in, The prediction step includes: determining an unresponsive state parameter from the plurality of device parameters and the user usage pattern parameters based on a causal relationship between the plurality of device parameters obtained and the user usage pattern parameters obtained, wherein the unresponsive state parameter causes an unresponsive state; Clustering the determined non-response state parameters using a four-dimensional 4D clustering model; and The clustered unresponsive state parameters are used to predict a source of the unresponsive state of the electronic device.

3. The method according to claim 2, in, The step of determining the unresponsive state parameter comprises: Generating a directed acyclic graph (DAG) by performing a causal structure analysis (CSA) on the obtained plurality of device parameters and the obtained user usage pattern parameters, wherein the DAG includes at least one of the plurality of device parameters and the user usage pattern parameters and a plurality of nodes representing unresponsive state nodes; determining an unresponsive state node associated with an unresponsive state of the electronic device using causal relationships identified by analyzing the plurality of nodes of the DAG and edges associated with the plurality of nodes of the DAG; and Parameters represented by nodes connected to the determined non-response state node are determined as non-response state parameters.

4. The method according to claim 2, in, The step of clustering the determined unresponsive state parameters comprises: determining a predetermined number of center points; classifying the determined unresponsive state parameters on a 4D map based on the determined predetermined number of center points; and A cluster including the unresponsive state parameter is formed based on a preset average value of the cluster of each center point of the predetermined number of center points.

5. The method according to claim 4, in, The step of predicting the source of the unresponsive state of the electronic device comprises: identifying whether the formed cluster is a non-responsive state cluster representing a non-responsive state condition; predicting a response state of the electronic device based on identifying that the clustered unresponsive state parameters are not classified as an unresponsive state cluster; and The unresponsive state of the electronic device is predicted based on identifying that the clustered unresponsive state parameters are classified into an unresponsive state cluster.

6. The method according to claim 1, in, The steps of avoiding the predicted unresponsive state by the processor include: determining a strategy from a plurality of strategies based on a reward previously set for each strategy in the plurality of strategies associated with the predicted non-responsive state; determining an action among a plurality of actions corresponding to the determined policy based on the user usage pattern parameter; and The determined action is applied to the device parameters associated with the predicted unresponsive state.

7. The method according to claim 6, in: The plurality of policies include at least one of a configuration change policy, a notification policy, and a memory policy; and A device parameter associated with a predicted unresponsive state is determined based on exceeding a predefined threshold.

8. The method according to claim 6, further comprising: include: A reward is assigned, by the processor, to the determined strategy based on a number of times an unresponsive state occurs during a predetermined time period after applying the determined action to a device parameter associated with the predicted unresponsive state.

9. The method according to claim 8, in, The steps of allocating rewards include: assigning, by the processor, a positive reward to the determined strategy based on a decrease in the number of occurrences of the unresponsive state during the predetermined time period; and A negative reward is assigned, by the processor, to the determined strategy based on an increasing number of occurrences of the unresponsive state during the predetermined time period.

10. The method according to claim 9, in, The step of determining a strategy from the plurality of strategies includes selecting, by the processor, strategies in a dynamic order based on the user usage pattern parameter to maximize a reward.

11. An electronic device, include: Memory, which stores instructions; as well as At least one processor is configured to execute the instructions to perform the following operations: Based on receiving a user input to the electronic device, obtaining a plurality of device parameters related to at least one of a hardware module of the electronic device and a software module of the electronic device and a user usage mode parameter; predicting an unresponsive state of the electronic device based on the obtained plurality of device parameters and the obtained user usage pattern parameter, wherein the user usage pattern parameter indicates a pattern of user input to the electronic device; and avoiding the predicted unresponsive state by applying a policy determined from a plurality of policies to a device parameter of the plurality of device parameters associated with the predicted unresponsive state, The mode input by the user to the electronic device includes at least one of a notification access mode, a configuration change mode, and a unique mode.

12. The electronic device according to claim 11, in, The at least one processor is further configured to execute the instructions to: determining an unresponsive state parameter from the plurality of device parameters and the user usage pattern parameters based on a causal relationship between the plurality of device parameters obtained and the user usage pattern parameters obtained, wherein the unresponsive state parameter causes an unresponsive state; Clustering the determined non-response state parameters using a 4D clustering model; and The clustered unresponsive state parameters are used to predict a source of the unresponsive state of the electronic device.

13. The electronic device according to claim 12, in, The at least one processor is further configured to execute the instructions to: Generating a directed acyclic graph (DAG) by performing a causal structure analysis (CSA) on the obtained plurality of device parameters and the obtained user usage pattern parameters, wherein the DAG includes at least one of the plurality of device parameters and the user usage pattern parameters and a plurality of nodes representing unresponsive state nodes; determining an unresponsive state node associated with an unresponsive state of the electronic device using causal relationships identified by analyzing the plurality of nodes of the DAG and edges associated with the plurality of nodes of the DAG; and Parameters represented by nodes connected to the determined non-response state node are determined as non-response state parameters.

14. The electronic device according to claim 12, in, The at least one processor is further configured to execute the instructions to: determining a predetermined number of center points; classifying the determined unresponsive state parameters on a 4D map based on the determined predetermined number of center points; and A cluster including the unresponsive state parameter is formed based on a preset average value of the cluster of each center point of the predetermined number of center points. 15 . A non-transitory computer-readable recording medium having recorded thereon a program executable by at least one processor, the program for executing the method according to claim 1 .

Citation Information

Patent Citations

  • WMI-based fault detection analysis and state prediction method

    CN106844141A

  • Failure diagnosis method, failure diagnosis apparatus, conveyance device, image forming apparatus, program, and storage medium

    US20050262394A1

  • Self-Learning Integrity Management System and Related Methods

    US20080077358A1

  • Methods And Logic For Autonomous Generation Of Ensemble Classifiers, And Systems Incorporating Ensemble Classifiers

    US20110081073A1

  • Method and system for determining hardware life expectancy and failure prevention

    US20150193325A1