Search

KR-102963315-B1 - ELECTRONIC DEVICE AND OPERATION METHOD THEREOF

KR102963315B1KR 102963315 B1KR102963315 B1KR 102963315B1KR-102963315-B1

Abstract

An electronic device is disclosed. An electronic device according to one embodiment comprises a communication circuit, a memory, and at least one processor operatively connected to the communication circuit and the memory, wherein the memory may store instructions that, when executed, the processor identifies a delay event based on the occurrence of a delay situation of the electronic device, filters a parameter representing the state of the electronic device, determines a first score based on at least one of the generated delay event and the filtered parameter, determines a state level based on the determined first score, generates a hint corresponding to the state level, and controls the resources of the electronic device based on the generated level hint. In addition to this, various embodiments identified through the specification are possible.

Inventors

  • 손운상
  • 박언상
  • 우광택

Assignees

  • 삼성전자주식회사

Dates

Publication Date
20260511
Application Date
20210112

Claims (20)

  1. In electronic devices, Communication circuit; Memory; and The communication circuit and at least one processor operatively connected to the memory, The above memory, when the processor executes, Based on the occurrence of a delay situation of the above electronic device, identify a delay event, and Filtering parameters indicating the state of the above electronic device, and A first score is determined based on at least one of the identified delay event and the filtered parameter, and Based on the first score determined above, determine the state level, and Generate a hint corresponding to the above state level, and An electronic device that stores instructions for controlling the resources of the electronic device based on the level hint generated above.
  2. In claim 1, The above instructions are, the processor, Determining the first score during the set unit time based on the number of generated events during the set unit time, Electronic device.
  3. In claim 1, The above parameter includes at least one of the delay event, the operating state of an LCD included in or operatively connected to the electronic device, a resource limit state, and PSI (pressure stall info). Electronic device.
  4. In claim 1, The above instructions are, the processor, In response to the operating state of the LCD included in or operatively connected to the electronic device being off, the generated delay event is ignored. Electronic device.
  5. In claim 1, The above delay situation includes at least one of the delay event, the main looper delay of a system included in or operatively connected to the electronic device, service lock contention, and input framework delay. Electronic device.
  6. In claim 1, The above instructions are, the processor, Check if the above parameter exceeds the threshold, and In response to the above parameter exceeding a threshold value, filtering with the above parameter determining the first score, Electronic device.
  7. In claim 1, The above instructions are, the processor, Determine the second score based on the above-mentioned generated delay event, and A third score is determined based on at least one of the filtered parameters above, and Determining the first score by calculating the second score and the third score, Electronic device.
  8. In claim 7, The above instructions are, the processor, A method for performing calculations by giving weight to at least one of the second score and the third score. Electronic device.
  9. In claim 1, The above instructions are, the processor, If the above-determined state level and the current state level are different, to generate the above hint, Electronic device.
  10. In claim 9, The above instructions are, the processor, Determining whether the level difference between the above-determined state level and the above-determined current state level is greater than a certain level, and A method for generating a hint in response to the above level difference being above a certain level, Electronic device.
  11. In the method performed by the electronic device, When a process for a memory included in or connected to the electronic device is executed, an operation to identify a delay event based on the occurrence of a delay situation in the electronic device; An operation to filter parameters indicating the state of the above electronic device; An operation to determine a first score based on at least one of the identified delay event and the filtered parameter; An operation to determine a state level based on the first score determined above; The operation of generating a hint corresponding to the above state level; and Operation including controlling the resources of the electronic device based on the level hint generated above, method.
  12. In claim 11, Further including an operation to determine the first score during the set unit time based on the number of generated events during the set unit time, method.
  13. In claim 11, The above parameter includes at least one of the delay event, the operating state of an LCD included in or operatively connected to the electronic device, a resource limit state, and PSI (pressure stall info). method.
  14. In claim 11, A further operation comprising ignoring the generated delay event in response to the operating state of the LCD included in or operatively connected to the electronic device being off. method.
  15. In claim 11, The above delay situation includes at least one of the delay event, the main looper delay of a system included in or operatively connected to the electronic device, service lock contention, and input framework delay. method.
  16. In claim 11, An operation to check whether the above parameter exceeds a threshold; and A method further comprising an operation to filter the parameter determining the first score in response to the above parameter exceeding a threshold value. method.
  17. In claim 11, An operation to determine a second score based on the above-mentioned generated delay event; An operation to determine a third score based on at least one of the above filtered parameters; and Further including an operation to determine the first score by calculating the second score and the third score. method.
  18. In claim 17, The operation further includes weighting at least one of the second score and the third score to perform calculations. method.
  19. In claim 11, If the above-determined state level and the current state level are different, the operation further includes generating the above-determined hint. method.
  20. In claim 19, An operation to determine whether the level difference between the above-determined state level and the above-determined current state level is greater than or equal to a certain level; and A further operation to generate a hint in response to the above level difference being above a certain level, method.

Description

ELECTRONIC DEVICE AND OPERATION METHOD THEREOF The various embodiments disclosed in this document relate to electronic devices and methods of operating electronic devices. Recently, various electronic devices can address bottlenecks caused by system busy states by allocating resources based on scenarios. Electronic devices can allocate the same resources to the same scenario. As technology advances and the number of applications utilized in electronic devices increases, bottleneck situations are occurring much more frequently in complex scenarios used by actual users. Therefore, there is an increasing need for methods to respond dynamically to this. FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments. FIG. 2 is a block diagram illustrating a program according to various embodiments. FIG. 3 is a block diagram showing the structure of an electronic device according to one embodiment disclosed in this document. FIG. 4 is another block diagram showing the structure of an electronic device according to one embodiment disclosed in this document. FIG. 5 is a flowchart of a method for improving a system bottleneck by providing a hint using an electronic device according to an embodiment disclosed in this document. FIG. 6 is another flowchart illustrating a method for improving a system bottleneck by providing a hint using an electronic device according to an embodiment disclosed in this document. FIG. 7 is an exemplary diagram of a delay event generated by an electronic device according to one embodiment of the present invention. FIG. 8 is an exemplary diagram of a method for an electronic device according to an embodiment of the present invention to calculate a bottleneck window score. Hereinafter, various embodiments of the present invention are described with reference to the accompanying drawings. However, this is not intended to limit the present invention to specific embodiments and should be understood to include various modifications, equivalents, and/or alternatives of the embodiments of the present invention. FIG. 1 is a block diagram of an electronic device (101) in a network environment (100) according to various embodiments. Referring to FIG. 1, in the network environment (100), the electronic device (101) may communicate with an electronic device (102) through a first network (198) (e.g., a short-range wireless communication network) or with an electronic device (104) or a server (108) through a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) through a server (108). According to one embodiment, the electronic device (101) may include a processor (120), memory (130), input module (150), sound output module (155), display module (160), audio module (170), sensor module (176), interface (177), connection terminal (178), haptic module (179), camera module (180), power management module (188), battery (189), communication module (190), subscriber identification module (196), or antenna module (197). In some embodiments, at least one of these components (e.g., connection terminal (178)) may be omitted from the electronic device (101), or one or more other components may be added. In some embodiments, some of these components (e.g., sensor module (176), camera module (180), or antenna module (197)) may be integrated into a single component (e.g., display module (160)). The processor (120) can control at least one other component (e.g., hardware or software component) of the electronic device (101) connected to the processor (120) by executing software (e.g., program (140)), for example, and can perform various data processing or operations. According to one embodiment, as at least part of the data processing or operations, the processor (120) can store commands or data received from other components (e.g., sensor module (176) or communication module (190)) in volatile memory (132), process the commands or data stored in volatile memory (132), and store the resulting data in non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., central processing unit or application processor) or an auxiliary processor (123) that can operate independently or together with it (e.g., graphics processing unit, neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor). For example, if the electronic device (101) includes a main processor (121) and an auxiliary processor (123), the auxiliary processor (123) may be configured to use lower power than the main processor (121) or to be specialized for a designated function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as part thereof. The auxiliary processor (123) may control at least some of the functions or states associated with at least one