WO2022154264A1 - 전자 장치 및 전자 장치의 동작 방법 - Google Patents

전자 장치 및 전자 장치의 동작 방법 Download PDF

Info

Publication number
WO2022154264A1
WO2022154264A1 PCT/KR2021/018485 KR2021018485W WO2022154264A1 WO 2022154264 A1 WO2022154264 A1 WO 2022154264A1 KR 2021018485 W KR2021018485 W KR 2021018485W WO 2022154264 A1 WO2022154264 A1 WO 2022154264A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
score
processor
delay
state
Prior art date
Application number
PCT/KR2021/018485
Other languages
English (en)
French (fr)
Inventor
손운상
박언상
우광택
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2022154264A1 publication Critical patent/WO2022154264A1/ko
Priority to US18/350,384 priority Critical patent/US20230350730A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5022Workload threshold
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/508Monitor

Definitions

  • Various embodiments disclosed in this document relate to an electronic device and a method of operating the electronic device.
  • various electronic devices can deal with a bottleneck caused by a busy state of a system by allocating resources based on a scenario.
  • the electronic device may allocate the same resource to the same scenario.
  • a technical problem to be achieved by an embodiment disclosed in this document is to provide a method and an apparatus for alleviating a system bottleneck.
  • the technical problem to be achieved by an embodiment disclosed in this document is to provide a method and an apparatus for dynamically allocating system resources by dynamically identifying a busy state of an electronic device.
  • the technical problem to be achieved by an embodiment disclosed in this document is to provide a method and apparatus for dynamically allocating system resources by dynamically identifying a system load situation caused by a complex cause of an electronic device.
  • An electronic device includes a communication circuit, a memory, and at least one processor operatively connected to the communication circuit, and the memory, wherein the memory, when the processor is executed , based on the occurrence of a delay situation of the electronic device, identify a delay event, filter a parameter indicating a state of the electronic device, and obtain a first score based on at least one of the identified delay event or the filtered parameter may be stored, instructions for determining a state level based on the determined first score, generating a hint corresponding to the state level, and controlling a resource of the electronic device based on the generated hint. have.
  • a delay event an operation of identifying , filtering a parameter indicating a state of the electronic device, determining a first score based on at least one of the identified delay event or the filtered parameter, based on the determined first score , determining a state level, generating a hint corresponding to the state level, and controlling the resource of the electronic device based on the generated hint.
  • a method and apparatus for alleviating a bottleneck of an electronic device caused by a load situation by dynamically identifying a system load situation caused by a complex cause of an electronic device are provided. can provide
  • a method of solving a bottleneck and providing a smooth UX to a user by predicting a bottleneck of an electronic device and dynamically allocating a resource required for a system and devices.
  • FIG. 1 is a block diagram of an electronic device in a network environment, according to various embodiments of the present disclosure
  • FIG. 2 is a block diagram illustrating a program according to various embodiments.
  • FIG. 3 is a block diagram illustrating a structure of an electronic device according to an exemplary embodiment disclosed in this document.
  • FIG. 4 is another block diagram illustrating a structure of an electronic device according to an exemplary embodiment disclosed in this document.
  • FIG. 5 is a flowchart of a method of improving a system bottleneck by providing a hint by an electronic device according to an embodiment disclosed in this document.
  • FIG. 6 is another flowchart of a method for improving a system bottleneck by providing a hint by 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 an embodiment of the present invention.
  • FIG. 8 is an exemplary diagram of a method for calculating a bottleneck window score by an electronic device according to an embodiment of the present invention.
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100, according to various embodiments.
  • an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • a first network 198 eg, a short-range wireless communication network
  • a second network 199 e.g., a second network 199
  • the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • the electronic device 101 includes a processor 120 , a memory 130 , an input module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a 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 an antenna module 197 .
  • at least one of these components eg, the connection terminal 178
  • some of these components are integrated into one component (eg, display module 160 ). can be
  • the processor 120 for example, executes software (eg, a program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be stored in , process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 .
  • software eg, a program 140
  • the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 .
  • the volatile memory 132 may be stored in , process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 .
  • the processor 120 is the main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor).
  • the main processor 121 eg, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor.
  • the main processor 121 e.g, a central processing unit or an application processor
  • a secondary processor 123 eg, a graphic processing unit, a neural network processing unit (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a
  • the secondary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the coprocessor 123 eg, an image signal processor or a communication processor
  • may be implemented as part of another functionally related component eg, the camera module 180 or the communication module 190 ). have.
  • the auxiliary processor 123 may include a hardware structure specialized for processing an artificial intelligence model.
  • Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which artificial intelligence is performed, or may be performed through a separate server (eg, the server 108).
  • the learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited
  • the artificial intelligence model may include a plurality of artificial neural network layers.
  • Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example.
  • the artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.
  • the memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176 ) of the electronic device 101 .
  • the data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto.
  • the memory 130 may include a volatile memory 132 or a non-volatile memory 134 .
  • the program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .
  • the input module 150 may receive a command or data to be used by a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 .
  • the input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
  • the sound output module 155 may output a sound signal to the outside of the electronic device 101 .
  • the sound output module 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback.
  • the receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.
  • the display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 .
  • the display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device.
  • the display module 160 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.
  • the audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input module 150 , or an external electronic device (eg, a sound output module 155 ) connected directly or wirelessly with the electronic device 101 .
  • the electronic device 102) eg, a speaker or headphones
  • the electronic device 102 may output a sound.
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the sensed state. can do.
  • the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
  • the interface 177 may support one or more specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ).
  • the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • the connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ).
  • the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication performance through the established communication channel.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a local area network (LAN) communication module, or a power line communication module).
  • a wireless communication module 192 eg, a cellular communication module, a short-range communication module, or a global navigation satellite system (GNSS) communication module
  • GNSS global navigation satellite system
  • wired communication module 194 eg, : It may include a local area network (LAN) communication module, or a power line communication module.
  • a corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a first network 198 eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)
  • a second network 199 eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN).
  • a telecommunication network
  • the wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 .
  • subscriber information eg, International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the electronic device 101 may be identified or authenticated.
  • the wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR).
  • NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)).
  • eMBB enhanced mobile broadband
  • mMTC massive machine type communications
  • URLLC ultra-reliable and low-latency
  • the wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example.
  • a high frequency band eg, mmWave band
  • the wireless communication module 192 uses various techniques for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna.
  • the wireless communication module 192 may support various requirements defined in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ).
  • the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: Downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) can be supported.
  • a peak data rate eg, 20 Gbps or more
  • loss coverage eg, 164 dB or less
  • U-plane latency for realizing URLLC
  • the antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device).
  • the antenna module 197 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern.
  • the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna.
  • other components eg, a radio frequency integrated circuit (RFIC)
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • GPIO general purpose input and output
  • SPI serial peripheral interface
  • MIPI mobile industry processor interface
  • the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 .
  • Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 .
  • all or a part of operations executed in the electronic device 101 may be executed in one or more external electronic devices 102 , 104 , or 108 .
  • the electronic device 101 may perform the function or service itself instead of executing the function or service itself.
  • one or more external electronic devices may be requested to perform at least a part of the function or the service.
  • One or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101 .
  • the electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request.
  • cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used.
  • the electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
  • the external electronic device 104 may include an Internet of things (IoT) device.
  • the server 108 may be an intelligent server using machine learning and/or neural networks.
  • the external electronic device 104 or the server 108 may be included in the second network 199 .
  • the electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
  • FIG. 2 is a block diagram 200 illustrating a program 140 in accordance with various embodiments.
  • the program 140 executes an operating system 142 , middleware 144 , or an application 146 executable in the operating system 142 for controlling one or more resources of the electronic device 101 .
  • may include Operating system 142 may include, for example, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, or BadaTM.
  • At least some of the programs 140 are, for example, preloaded into the electronic device 101 at the time of manufacture, or an external electronic device (eg, the electronic device 102 or 104 ), or a server (eg, the electronic device 102 or 104 ) when used by a user ( 108)), or may be updated.
  • the operating system 142 may control management (eg, allocation or retrieval) of one or more system resources (eg, a process, memory, or power) of the electronic device 101 .
  • the operating system 142 may additionally or alternatively include other hardware devices of the electronic device 101 , for example, the input device 150 , the sound output device 155 , the display device 160 , and the audio module 170 . , sensor module 176 , interface 177 , haptic module 179 , camera module 180 , power management module 188 , battery 189 , communication module 190 , subscriber identification module 196 , or It may include one or more driver programs for driving the antenna module 197 .
  • the middleware 144 may provide various functions to the application 146 so that functions or information provided from one or more resources of the electronic device 101 may be used by the application 146 .
  • the middleware 144 includes, for example, an application manager 201 , a window manager 203 , a multimedia manager 205 , a resource manager 207 , a power manager 209 , a database manager 211 , and a package manager 213 . ), a connectivity manager 215 , a notification manager 217 , a location manager 219 , a graphics manager 221 , a security manager 223 , a call manager 225 , or a voice recognition manager 227 .
  • an application manager 201 includes, for example, an application manager 201 , a window manager 203 , a multimedia manager 205 , a resource manager 207 , a power manager 209 , a database manager 211 , and a package manager 213 .
  • a connectivity manager 215 a notification manager 217 , a
  • the application manager 201 may manage the life cycle of the application 146 , for example.
  • the window manager 203 may manage one or more GUI resources used in the screen, for example.
  • the multimedia manager 205 for example, identifies one or more formats required for playback of media files, and encodes or decodes a corresponding media file among the media files using a codec suitable for the selected format. can be done
  • the resource manager 207 may manage the space of the source code of the application 146 or the memory of the memory 130 , for example.
  • the power manager 209 may, for example, manage the capacity, temperature, or power of the battery 189 , and determine or provide related information required for the operation of the electronic device 101 by using the corresponding information. . According to an embodiment, the power manager 209 may interwork with a basic input/output system (BIOS) (not shown) of the electronic device 101 .
  • BIOS basic input/output system
  • the database manager 211 may create, retrieve, or change a database to be used by the application 146 , for example.
  • the package manager 213 may manage installation or update of an application distributed in the form of a package file, for example.
  • the connectivity manager 215 may manage, for example, a wireless connection or a direct connection between the electronic device 101 and an external electronic device.
  • the notification manager 217 may provide, for example, a function for notifying the user of the occurrence of a specified event (eg, an incoming call, a message, or an alarm).
  • the location manager 219 may manage location information of the electronic device 101 , for example.
  • the graphic manager 221 may manage, for example, one or more graphic effects to be provided to a user or a user interface related thereto.
  • Security manager 223 may provide, for example, system security or user authentication.
  • the telephony manager 225 may manage, for example, a voice call function or a video call function provided by the electronic device 101 .
  • the voice recognition manager 227 for example, transmits the user's voice data to the server 108, and based at least in part on the voice data, a command corresponding to a function to be performed in the electronic device 101; Alternatively, the converted text data may be received from the server 108 based at least in part on the voice data.
  • the middleware 244 may dynamically delete some existing components or add new components.
  • at least a portion of the middleware 144 may be included as a part of the operating system 142 or implemented as software separate from the operating system 142 .
  • Application 146 includes, for example, home 251 , dialer 253 , SMS/MMS 255 , instant message (IM) 257 , browser 259 , camera 261 , alarm 263 . , contacts 265, voice recognition 267, email 269, calendar 271, media player 273, album 275, watch 277, health 279 (such as exercise or blood sugar) measuring biometric information), or environmental information 281 (eg, measuring atmospheric pressure, humidity, or temperature information).
  • the application 146 may further include an information exchange application (not shown) capable of supporting information exchange between the electronic device 101 and an external electronic device.
  • the information exchange application may include, for example, a notification relay application configured to transmit specified information (eg, call, message, or alarm) to an external electronic device, or a device management application configured to manage the external electronic device.
  • the notification relay application for example, transmits notification information corresponding to a specified event (eg, mail reception) generated in another application (eg, the email application 269 ) of the electronic device 101 to the external electronic device.
  • the notification relay application may receive notification information from the external electronic device and provide it to the user of the electronic device 101 .
  • the device management application is, for example, a power source (eg, turn-on or turn-on or turn on) of an external electronic device that communicates with the electronic device 101 or some components thereof (eg, the display device 160 or the camera module 180 ). -off) or a function (eg, brightness, resolution, or focus of the display device 160 or the camera module 180 ) may be controlled.
  • the device management application may additionally or alternatively support installation, deletion, or update of an application operating in an external electronic device.
  • FIG. 3 is a block diagram illustrating a structure of an electronic device 300 according to an exemplary embodiment disclosed in this document. For clarity of explanation, things that overlap with those described above may be simplified or omitted.
  • the electronic device 300 includes a processor 301 (eg, the processor 120 of FIG. 1 ), a memory 302 (eg, the memory 130 of FIG. 1 ), and a user interface 303 . and a communication module 304 (eg, the communication module 190 of FIG. 1 ).
  • the user interface 303 may include a microphone (not shown) (eg, the input device 150 of FIG. 1 ) and a speaker (not shown) (eg, the sound output device 155 of FIG. 1 ).
  • the electronic device 300 may further include at least one additional component in addition to the components illustrated in FIG. 3 .
  • the components of the electronic device 300 may be the same entity or may constitute separate entities.
  • the electronic device 300 may include, for example, a smart phone, a tablet, a wearable device, a home appliance, or a digital camera.
  • the processor 301 includes a communication module 304 , a memory 302 , a user interface 303 (a microphone (not shown)) and a speaker (not shown) in order to perform overall functions of the electronic device 300 . )) and may be operatively coupled.
  • Processor 301 may include, for example, one or more processors.
  • the one or more processors may include, for example, an image signal processor (ISP), an application processor (AP), or a communication processor (CP).
  • ISP image signal processor
  • AP application processor
  • CP communication processor
  • the processor 301 executes the instructions stored in the memory 302, and a module (eg, the event detection module 401 of FIG. 4 , the event handler module 402 , the level determination module 403 , and the hint trigger module) 404 , the resource control module 405 , the database 406 , and the process control module 407 ).
  • a module eg, the event detection module 401 of FIG. 4 , the event handler module 402 , the level determination module 403 , and the hint trigger module
  • the processor 301 includes a module (eg, an event detection module 401 of FIG. 4 , an event handler module 402 , a level determination module 403 , and a hint trigger module in order to perform an overall function of the electronic device 300 ). 404 , the resource control module 405 , the database 406 , and the process control module 407 ).
  • modules eg, the event detection module 401 of FIG. 4 , the event handler module 402 , the level determination module 403 , the hint trigger module 404 , the resource control module 405 ) , the database 406 , and the process control module 407
  • performed (or executed) operations may be understood as operations performed by the processor 301 executing instructions stored in the memory 302 .
  • the processor 301 includes a module (eg, the event detection module 401 of FIG. 4 , an event handler module 402 , a level determination module 403 , a hint trigger module 404 , a resource control module ( 405), a database 406, and a process control module 407).
  • modules eg, the event detection module 401 of FIG. 4 , the event handler module 402 , the level determination module 403 , the hint trigger module 404 , the resource control module 405 , the database 406 ) , the process control module 407) performed (or executed) may be implemented as at least a part of the processor 301 .
  • the memory 302 may store a database (not shown) including at least one input data (eg, the database 406 of FIG. 4 ).
  • the memory 302 may store commands, information, or data related to operations of components included in the electronic device 300 .
  • the memory 302 may store instructions that, when executed, enable the processor 301 to perform various operations described herein.
  • the electronic device 300 may receive a user input using the user interface 303 .
  • the user input may be an input for a user to execute an app.
  • the user input may be a user's voice input (eg, utterance).
  • the electronic device 300 may receive the user input through a microphone (or a voice receiving device) (not shown).
  • the user input may be a user's touch input and/or a gesture input.
  • the electronic device 300 may receive the user input through a sensor (not shown).
  • At least one operation among the operations of each component described with reference to the electronic device 300 may be performed (or executed) by an external server (not shown) or another electronic device (not shown).
  • the processor 301 may transmit a user input to an external server (not shown) or another electronic device (not shown) using the communication module 304 .
  • the processor 301 may include at least one processor, and may be divided into a main processor that is physically divided and performs high-performance processing and an auxiliary processor that performs low-power processing. Alternatively, one processor may switch between high performance and low power depending on the situation.
  • the processor 301 may identify the delay event.
  • the processor 301 may detect a delay situation, generate the delay event in response to the delay situation, and identify the generated event.
  • the delay situation may mean a situation that may cause a bottleneck of the system.
  • the delay situation may mean at least one of a system main looper delay, a service lock contention, and/or an input framework delay.
  • the processor 301 may determine whether the delay event is equal to or greater than a threshold value.
  • the threshold value may mean a threshold for generating a bottleneck in the system of the electronic device 300 . For example, when the delay event is equal to or less than the threshold value, the electronic device 300 may ignore the delay event.
  • the delay event may mean a delay time value due to a bottleneck.
  • the processor 301 may determine whether the LCD state, resource limit state, and/or pressure stall info (PSI) of the electronic device 300 exceeds a threshold value.
  • PSI pressure stall info
  • the processor 301 may determine a bottleneck score. In an embodiment, the processor 301 may determine the bottleneck score by measuring the delay event during a window of a predetermined time period.
  • the processor 301 is a system main looper delay (main looper delay), service lock contention (service lock contention) and / or input framework delay (input framework delay) sensed during a window of a certain period of time It may be detected and measured as a delay event, and the bottleneck score may be determined based on the delay event.
  • main looper delay main looper delay
  • service lock contention service lock contention
  • input framework delay input framework delay
  • the processor 301 may determine a bottleneck window score. In one embodiment, the processor 301 calculates the determined bottleneck score with a status score according to the LCD state, the resource limit state and/or the pressure stall info (PSI) to calculate a bottleneck window score ( bottleneck window score) can be determined.
  • PSI pressure stall info
  • the processor 301 may determine a state level. In an embodiment, the processor 301 may determine a state level based on the determined bottleneck window score.
  • the processor 301 may determine whether the determined state level is the same as a current state level. If the determined state level is not the same as the current state level, the processor 301 may generate a hint corresponding to the determined state level.
  • the processor 301 may generate a hint for resource control corresponding to a state level.
  • the hint may mean information on the transitioned state level.
  • the processor 301 may control the resource in response to the hint.
  • the processor 301 may control the system of the processor 301 in response to the hint to secure resources.
  • the processor 301 may boost and release the limit on a clock included in or operatively connected to the processor 301 in response to the hint.
  • the processor 301 may preemptively secure a memory included in or operatively connected to the processor 301 in response to the hint.
  • the processor 301 predicts a bottleneck of the electronic device 300 and dynamically allocates resources required for the system, thereby solving the bottleneck and providing a smooth UX to the user of the electronic device 300 . can provide
  • the processor 301 may limit a background process included in or operatively connected to the processor 301 in response to the hint.
  • the processor 301 may be limited by freezing a background process other than the entering app.
  • the processor 301 determines an app having interaction with the user of the processor 301 as a top priority app in response to the hint, and reduces a race condition with a background process as much as possible to create a bottleneck Even in a (bottleneck) state, it is possible to guarantee the operation of the top priority app.
  • the processor 301 identifies a delay event based on the occurrence of a delay situation in the electronic device, filters a parameter indicating a state of the electronic device, and selects one of the identified delay event or the filtered parameter.
  • a first score is determined based on at least one
  • a state level is determined based on the determined first score
  • a hint corresponding to the state level is generated
  • a resource of the electronic device is determined based on the generated hint.
  • the processor 301 may determine the first score for the set unit time based on the number of generated events during the preset unit time.
  • the parameter may include at least one of the delay event, an operation state of an LCD included in or operatively connected to the electronic device, a resource limit state, and pressure stall info (PSI).
  • PSI pressure stall info
  • the processor 301 may ignore the generated delay event in response to an operation state of an LCD included in or operatively connected to the electronic device being an off state.
  • the delay situation may include the delay event, a main looper delay of a system included in or operatively connected to the electronic device, a service lock contention, or an input framework delay ( input framework delay).
  • the processor 301 may determine whether the parameter exceeds a threshold value, and in response to the parameter crossing a threshold value, filter with the parameter determining the first score.
  • the processor 301 determines a second score based on the generated delay event, determines a third score based on at least one of the filtered parameters, and determines the second score and the third score.
  • the first score may be determined by calculating a score.
  • the processor 301 may calculate by giving a weight to at least one of the second score and the third score.
  • the processor 301 may generate the hint in response to a difference between the determined state level and the current state level.
  • the processor 301 may determine whether a level difference between the determined state level and the current state level is equal to or greater than a predetermined level, and may generate a hint in response to the level difference being equal to or greater than a predetermined level.
  • FIG. 4 is another block diagram illustrating a structure of an electronic device 400 according to an exemplary embodiment disclosed in this document. For clarity of explanation, things that overlap with those described above may be simplified or omitted.
  • the electronic device 400 includes an event detection module 401 , an event handler module 402 , a level determination module 403 , a hint trigger module 404 , a resource control module 405 and/or a or a database 406 .
  • the components listed above may be operatively or electrically connected to each other.
  • the event detection module 401 may detect a delay situation of the electronic device 400 , generate a delay event in response to the delay situation, and identify the generated delay event.
  • the delay situation may mean a situation that may cause a bottleneck of the system.
  • the delay situation may mean at least one of a system main looper delay, a service lock contention, and/or an input framework delay.
  • the event detection module 401 may transmit the generated delay event to the event handler module 402 .
  • the event detection module 401 may transmit the generated delay event to the event handler module 402 in the form of a library.
  • the event detection module 401 may transmit a delay event to the event handler module 402 through a socket connection.
  • the socket connection may refer to a standard connection method for network communication.
  • the event handler module 402 may filter parameters for determining a level for a bottleneck and transmit the filtered parameters to the level determination module 403 .
  • the bottleneck may mean a system bottleneck in which the user of the electronic device 400 may feel that the operation of the electronic device 400 is slow or stopped.
  • the parameter may include the delay event received from the event detection module 401, LCD status, resource limit status, and/or pressure stall info (PSI).
  • the LCD state may mean whether the LCD of the electronic device 400 is in an off state.
  • the event handler module 402 since the event handler module 402 does not require user interaction of the electronic device 400 when the LCD of the electronic device 400 is in an off state, even if the critical path operation is long, the bottle The bottleneck phenomenon can be ignored.
  • the resource limit state may mean a state in which the electronic device 400 is restricted from using system resources to reduce battery consumption.
  • the resource limited state may mean a state in which the electronic device 400 is restricted from using a system resource to reduce battery consumption.
  • the resource-limited state may mean a state in which the electronic device 400 restricts use of system resources to reduce battery consumption.
  • the pressure stall info may refer to information on a busy level of a resource of the electronic device 400 .
  • the PSI may mean information on a resource busy state of a CPU, memory, and/or IO included in or operatively connected to the electronic device 400 .
  • the event handler module 402 may check whether the delay event, the LCD state, the resource limit state and/or the pressure stall info (PSI) exceeds a threshold value.
  • the threshold value may mean a reference value for generating a bottleneck in the system of the electronic device 400 .
  • the event handler module 402 may determine a priority for the delay event, the LCD state, the resource limit state, and/or the pressure stall info (PSI).
  • the priority may mean an order determined according to the necessity for the electronic device 400 to process the event. For example, as the degree of exceeding the threshold value increases, the electronic device 400 may have a higher priority because it is necessary to process the event first.
  • the level determining module 403 may calculate a bottleneck window score during a window, and determine a state level based on the bottleneck window score.
  • the window may mean a section of a section divided by a preset constant time.
  • the level determining module 403 may determine a bottleneck score of the window by calculating the delay event during a window of a predetermined time period.
  • the level determining module 403 is configured to calculate the determined bottleneck score with a status score according to the LCD state, the resource limit state and/or the pressure stall info (PSI) to create a bottleneck window score. score) can be determined.
  • PSI pressure stall info
  • the level determining module 403 may determine a state level based on the determined bottleneck window score. The level determination module 403 may transition the level according to the determined state level.
  • the hint trigger module 404 may detect a state level transition and determine whether the state level transition is greater than or equal to a predetermined level.
  • the hint trigger module 404 may transmit a hint to the resource control module 405 when the transitioned state level is equal to or greater than a predetermined level.
  • the hint may mean information on the transitioned state level.
  • the hint trigger module 404 transmits a hint to the resource control module 405 , it is possible to quickly secure a necessary resource according to a state level transition.
  • the resource control module 405 may control the system of the electronic device 400 to secure resources in response to the hint. In one embodiment, the resource control module 405 may boost and release the limit on the clock in response to the hint.
  • the resource control module 405 may preemptively reserve the memory in response to the hint.
  • the resource control module 405 may limit the background process. For example, the resource control module 405 may limit by freezing a background process other than the entering app.
  • the resource control module 405 determines an app that interacts with the user of the electronic device 400 as a top priority app, and reduces a race condition with a background process as much as possible to create a bottleneck. ) state, it is possible to guarantee the operation of the top priority app.
  • FIG. 5 is a flowchart 500 of a method for controlling a resource by providing a hint by the electronic device 101 according to an embodiment disclosed in this document.
  • the processor eg, the processor 120 of FIG. 1
  • the memory eg, the memory ( ) of FIG. 1 ) 130)
  • the electronic device 101 may detect a delay situation, generate a delay event in response to the delay situation, and identify the generated delay event.
  • the delay situation may mean a situation that may cause a bottleneck of the system.
  • the delay situation may mean at least one of a system main looper delay, a service lock contention, and/or an input framework delay.
  • the electronic device 101 may filter the parameter.
  • the parameter may include the generated delay event, LCD status, resource limit status, and/or pressure stall info (PSI).
  • the LCD included in or operatively connected to the electronic device 101 when the LCD included in or operatively connected to the electronic device 101 is in an off state, user interaction of the electronic device 101 is not required, so the electronic device 101 has a critical path. It can be filtered to ignore the bottleneck phenomenon even if the motion is long.
  • the electronic device 101 may check whether the delay event, the LCD state, the resource limit state, and/or the pressure stall info (PSI) exceeds a threshold value.
  • the threshold value may mean a reference value for generating a bottleneck in the system of the electronic device 101 .
  • the electronic device 101 may determine a priority for the delay event, the LCD state, the resource limit state, and/or the pressure stall info (PSI).
  • the priority may mean an order determined according to the necessity for the electronic device 101 to process the event. For example, as the degree of exceeding the threshold value increases, the electronic device 101 may have a higher priority because it is necessary to process the event first.
  • the electronic device 101 may calculate a bottleneck window score for a predetermined time.
  • the electronic device 101 determines a bottleneck score based on the delay event, and sets the determined bottleneck score to the LCD state, the resource limit state, and/or the PSI.
  • a bottleneck window score may be determined by calculating a state score according to (pressure stall info). This will be described in detail with reference to FIGS. 7 to 8 .
  • the electronic device 101 may determine a state level. In an embodiment, the electronic device 101 may determine a state level based on the determined bottleneck window score. In an embodiment, the electronic device 101 may transition the level according to the determined state level.
  • the electronic device 101 may generate a hint based on a state level transition.
  • the electronic device 101 may detect a state level transition and generate a hint for resource control.
  • the hint may mean information on the transitioned state level.
  • the electronic device 101 may control the resource in response to the hint.
  • the electronic device 101 may secure a resource by controlling the system of the electronic device 101 in response to the hint.
  • the electronic device 101 may boost and release restrictions on a clock included in or operatively connected to the electronic device 101 .
  • the electronic device 101 may preemptively secure a memory included in or operatively connected to the electronic device 101 in response to the hint.
  • the electronic device 101 may limit a background process included in or operatively connected to the electronic device 101 in response to the hint.
  • the electronic device 101 may be limited by freezing a background process other than an entering app.
  • the electronic device 101 determines an app having an interaction with the user of the electronic device 101 as a top priority app, and reduces a race condition with a background process as much as possible. It is possible to ensure the operation of the top priority app even in a bottleneck state.
  • operation 501 may be performed by the electronic device and operations 503 to 511 may be performed by the server.
  • FIG. 6 is a flowchart 600 of a method for controlling a resource by providing a hint by the electronic device 101 according to an embodiment disclosed in this document.
  • the processor eg, the processor 120 of FIG. 1
  • the memory eg, the memory ( ) of FIG. 1 ) 130)
  • the electronic device 101 may identify a delay event.
  • the electronic device 101 may detect a delay situation, generate the delay event in response to the delay situation, and identify the generated delay event.
  • the delay situation may mean a situation that may cause a bottleneck of the system.
  • the delay situation may mean at least one of a system main looper delay, a service lock contention, and/or an input framework delay.
  • the electronic device 101 may determine whether the delay event is equal to or greater than a threshold value.
  • the threshold value may mean a reference value for generating a bottleneck in the system of the electronic device 400 .
  • the electronic device 101 may determine whether the LCD state, resource limit state, and/or pressure stall info (PSI) of the electronic device 101 exceeds a threshold value.
  • PSI pressure stall info
  • the electronic device 101 may perform operation 605 . Conversely, when the delay event is not equal to or greater than the threshold value, the electronic device 101 may perform operation 601 .
  • the electronic device 101 may determine a bottleneck score.
  • the electronic device 101 may determine the bottleneck score by measuring the delay event during a window of a predetermined time period.
  • the electronic device 101 detects a system main looper delay, a service lock contention, and/or an input framework delay detected during a window of a predetermined time period. may be detected and measured as a delay event, and the bottleneck score may be determined based on the delay event.
  • the electronic device 101 may determine a bottleneck window score.
  • the electronic device 101 calculates the determined bottleneck score with a status score according to the LCD state, the resource limit state, and/or the pressure stall info (PSI) to obtain a bottleneck window score. (bottleneck window score) can be determined.
  • PSI pressure stall info
  • the electronic device 101 may determine a state level. In an embodiment, the electronic device 101 may determine a state level based on the determined bottleneck window score.
  • the electronic device 101 may determine whether the determined state level is the same as a current state level. When the determined state level is the same as the current state level, the electronic device 101 may terminate the process. Conversely, if the determined state level is not the same as the current state level, the electronic device 101 may perform operation 613 .
  • the electronic device 101 may generate a hint corresponding to the determined state level.
  • the electronic device 101 may generate a hint for resource control corresponding to a state level.
  • the hint may mean information on the transitioned state level.
  • the electronic device 101 may control the resource in response to the hint.
  • the electronic device 101 may secure a resource by controlling the system of the electronic device 101 in response to the hint.
  • the electronic device 101 may boost and release restrictions on a clock included in or operatively connected to the electronic device 101 .
  • the electronic device 101 may preemptively secure a memory included in or operatively connected to the electronic device 101 in response to the hint.
  • the electronic device 101 may limit a background process included in or operatively connected to the electronic device 101 in response to the hint.
  • the electronic device 101 may be limited by freezing a background process other than an entering app.
  • the electronic device 101 determines an app having an interaction with the user of the electronic device 101 as a top priority app, and reduces a race condition with a background process as much as possible. It is possible to ensure the operation of the top priority app even in a bottleneck state.
  • the electronic device 101 sequentially performs operations 601 to 615, but this is exemplary. can For example, operation 601 may be performed by the electronic device and operations 603 to 615 may be performed by the server.
  • the method performed by the electronic device 101 identifies a delay event based on occurrence of a delay situation of the electronic device when a process for a memory included in the electronic device or connected to the electronic device is executed. performing, filtering a parameter indicating a state of the electronic device, determining a first score based on at least one of the identified delay event or the filtered parameter, based on the determined first score, a state
  • the method may include determining a level, generating a hint corresponding to the state level, and controlling the resource of the electronic device based on the generated hint.
  • the method performed by the electronic device 101 may further include determining the first score for the set unit time based on the number of the generated events for a preset unit time.
  • the parameter may include at least one of the delay event, an operation state of an LCD included in or operatively connected to the electronic device, a resource limit state, and pressure stall info (PSI).
  • PSI pressure stall info
  • the method performed by the electronic device 101 is configured to ignore the generated delay event in response to an operation state of an LCD included in or operatively connected to the electronic device being an off state. It may further include an operation to
  • the delay situation may include the delay event, a main looper delay of a system included in or operatively connected to the electronic device, a service lock contention, or an input framework delay ( input framework delay).
  • the method performed by the electronic device 101 includes: determining whether the parameter exceeds a threshold value; and filtering with the parameter determining the first score in response to the parameter crossing a threshold value It may further include an operation to do so.
  • the method performed by the electronic device 101 includes: determining a second score based on the generated delay event; determining a third score based on at least one of the filtered parameters; The method may further include calculating the second score and the third score to determine the first score.
  • the method performed by the electronic device 101 may further include the operation of calculating by giving a weight to at least one of the second score and the third score.
  • the method performed by the electronic device 101 may further include generating the hint in response to a difference between the determined state level and the current state level.
  • the method performed by the electronic device 101 includes an operation of determining whether a level difference between the determined state level and the current state level is equal to or greater than a predetermined level, and a hint is provided in response to the level difference being equal to or greater than a predetermined level. It may further include an operation to generate.
  • FIG. 7 is an exemplary diagram of a delay event generated by the electronic device 101 according to an embodiment.
  • FIG. 7 shows a window divided at regular time intervals. Specifically, a first window 711 up to T0-T1, a second window 712 up to T1-T2, a third window 713 up to T2-T3, and a fourth window 714 up to T3-T4. is shown.
  • a delay event 701 due to service lock contention is generated in the first window 711 .
  • a delay event 702 due to service lock contention and a delay event 703 due to a system main looper delay are generated in the second window 712 .
  • two delay events 704 and 705 are generated due to two input framework delays.
  • two delay events 706 , 707 , and 708 are generated by three input framework delays.
  • FIG. 8 is an exemplary diagram of a method for calculating a bottleneck window score by the electronic device 101 according to an embodiment of the present invention.
  • the electronic device 101 may calculate a score by dividing generated delay events according to a cause of generating each delay event. Specifically, a score 801 for a delay event generated by service lock contention, a score 802 for a delay event generated by a system main looper delay, and an input framework A score 803 for each delay event generated by the delay (input framework delay) contention may be calculated.
  • the electronic device 101 may determine a bottleneck score 804 based on the calculated scores 801 , 802 , and 803 , respectively.
  • the electronic device 101 may determine a bottleneck window score by calculating a result value 805 obtained by weighting a parameter value indicating a state to a bottleneck score 804 .
  • the parameter indicating the state may include an LCD state included in or operatively connected to the electronic device 101 , a resource limit state included in or operatively connected to the electronic device 101 , and/or pressure stall info (PSI). have.
  • the LCD state may mean whether the LCD of the electronic device 400 is in an off state.
  • the electronic device may have various types of devices.
  • the electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a wearable device e.g., a smart bracelet
  • a home appliance device e.g., a home appliance
  • first, second, or first or second may simply be used to distinguish an element from other elements in question, and may refer elements to other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit.
  • a module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • Various embodiments of the present document include one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101).
  • a storage medium eg, internal memory 136 or external memory 138
  • the processor eg, the processor 120
  • the device eg, the electronic device 101
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the device-readable storage medium may be provided in the form of a non-transitory storage medium.
  • 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
  • a signal eg, electromagnetic wave
  • the method according to various embodiments disclosed in this document may be provided in a computer program product (computer program product).
  • Computer program products may be traded between sellers and buyers as commodities.
  • the computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play StoreTM) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly, online between smartphones (eg: smartphones).
  • a portion of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
  • each component eg, a module or a program of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. have.
  • one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg, a module or a program
  • the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. or one or more other operations may be added.

Abstract

전자 장치가 개시된다. 일 실시예에 따른 전자 장치는, 통신 회로, 메모리 및 상기 통신 회로, 및 상기 메모리에 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고, 상기 메모리는, 상기 프로세서가, 실행 시에, 상기 전자 장치의 지연 상황 발생에 기반하여, 딜레이 이벤트를 식별하고, 상기 전자 장치의 상태를 나타내는 파라미터를 필터링하고, 상기 식별된 딜레이 이벤트 또는 상기 필터링된 파라미터 중 적어도 하나에 기반하여 제1 스코어를 결정하고, 상기 결정된 제1 스코어에 기반하여, 스테이트 레벨을 결정하고, 상기 스테이트 레벨에 대응하는 힌트를 생성하고, 상기 생성된 힌트에 기반하여 상기 전자 장치의 리소스를 제어하도록 하는 인스트럭션들을 저장할 수 있다. 이 외에도 명세서를 통해 파악되는 다양한 실시예가 가능하다.

Description

전자 장치 및 전자 장치의 동작 방법
본 문서에서 개시되는 다양한 실시 예들은, 전자 장치 및 전자 장치의 동작 방법과 관련된다.
최근 다양한 전자 장치들은 시나리오 기반으로 리소스를 할당하여 시스템의 비지(busy) 상태로 인한 보틀넥에 대해 대처할 수 있다. 전자 장치는 동일 시나리오에 동일 리소스를 할당할 수 있다.
기술이 발전함에 따라, 전자 장치에서 활용되는 어플리케이션이 늘어남에 따라, 실제 사용자가 사용하는 복합적인 시나리오에서 보틀넥 상황이 훨씬 많이 발생하고 있다.
따라서, 이에 대해 동적으로 대처할 수 있는 방법의 필요성이 증가하고 있다.
본 문서에서 개시되는 일 실시예에 의해 달성하고자 하는 기술적 과제는 시스템 보틀넥을 완화하는 방법 및 장치를 제공한다.
본 문서에서 개시되는 일 실시예에 의해 달성하고자 하는 기술적 과제는 전자 장치가 상기 전자 장치의 비지(busy)상태를 동적으로 파악하여, 시스템 리소스를 동적으로 할당하는 방법 및 장치를 제공한다.
본 문서에서 개시되는 일 실시예에 의해 달성하고자 하는 기술적 과제는 전자 장치의 복합적인 원인으로 발생하는 시스템 부하 상황을 동적으로 파악하여, 시스템 리소스를 동적으로 할당하는 방법 및 장치를 제공한다.
본 문서에 개시되는 일 실시예에 따른 전자 장치는, 통신 회로, 메모리 및 상기 통신 회로, 및 상기 메모리에 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고, 상기 메모리는, 상기 프로세서가, 실행 시에, 상기 전자 장치의 지연 상황 발생에 기반하여, 딜레이 이벤트를 식별하고, 상기 전자 장치의 상태를 나타내는 파라미터를 필터링하고, 상기 식별된 딜레이 이벤트 또는 상기 필터링된 파라미터 중 적어도 하나에 기반하여 제1 스코어를 결정하고, 상기 결정된 제1 스코어에 기반하여, 스테이트 레벨을 결정하고, 상기 스테이트 레벨에 대응하는 힌트를 생성하고, 상기 생성된 힌트에 기반하여 상기 전자 장치의 리소스를 제어하도록 하는 인스트럭션들을 저장할 수 있다.
본 문서에 개시되는 일 실시 예에 따른 전자 장치가 수행하는 방법은, 상기 전자 장치에 포함되거나 상기 전자 장치에 연결된 메모리에 대한 프로세스가 실행되면, 상기 전자 장치의 지연 상황 발생에 기반하여, 딜레이 이벤트를 식별하는 동작, 상기 전자 장치의 상태를 나타내는 파라미터를 필터링하는 동작, 상기 식별된 딜레이 이벤트 또는 상기 필터링된 파라미터 중 적어도 하나에 기반하여 제1 스코어를 결정하는 동작, 상기 결정된 제1 스코어에 기반하여, 스테이트 레벨을 결정하는 동작, 상기 스테이트 레벨에 대응하는 힌트를 생성하는 동작 및 상기 생성된 힌트에 기반하여 상기 전자 장치의 리소스를 제어하도록 하는 동작을 포함할 수 있다.
본 문서에 개시되는 실시예들에 따르면, 전자 장치의 보틀넥(bottleneck)에 대해 동적으로 대응하는 방법 및 장치를 제공할 수 있다.
본 문서에 개시되는 실시예들에 따르면, 전자 장치의 비지(busy) 상태를 동적으로 파악하여, 시스템 리소스를 할당하고 해제할 수 있어 전자 장치의 보틀넥(bottleneck)에 대해 동적으로 개선 / 최적화하는 방법 및 장치를 제공할 수 있다.
본 문서에 개시되는 실시예들에 따르면, 전자 장치의 복합적인 원인으로 발생하는 시스템 부하 상황을 동적으로 파악하여, 부하 상황으로 인해 발생하는 전자 장치의 보틀넥(bottleneck)을 완화하는 방법 및 장치를 제공할 수 있다.
본 문서에 개시되는 실시예들에 따르면, 전자 장치의 보틀넥(bottleneck)을 예측하고, 시스템에 필요한 리소스를 동적으로 할당해줌으로써, 보틀넥(bottleneck)을 해소하고 사용자에게 원활한 UX를 제공하는 방법 및 장치를 제공할 수 있다.
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.
도 1은 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블럭도이다.
도 2는 다양한 실시예에 따른 프로그램을 예시하는 블록도이다.
도 3은 본 문서에 개시되는 일 실시예에 따른 전자 장치의 구조를 나타낸 블록도이다.
도 4는 본 문서에 개시되는 일 실시예에 따른 전자 장치의 구조를 나타낸 다른 블록도이다.
도 5는 본 문서에 개시되는 실시예에 따른 전자 장치가 힌트를 제공하여 시스템 보틀넥을 개선하는 방법에 대한 순서도이다.
도 6은 본 문서에 개시되는 실시예에 따른 전자 장치가 힌트를 제공하여 시스템 보틀넥을 개선하는 방법에 대한 다른 순서도이다.
도 7은 본 발명의 일 실시예에 따른 전자 장치가 생성하는 딜레이 이벤트에 대한 예시도이다.
도 8은 본 발명의 일 실시예에 따른 전자 장치가 보틀넥 윈도우 스코어를 계산하는 방법에 대한 예시도이다.
이하, 본 발명의 다양한 실시예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.
도 2은 다양한 실시예에 따른 프로그램(140)을 예시하는 블록도(200)이다. 일실시예에 따르면, 프로그램(140)은 전자 장치(101)의 하나 이상의 리소스들을 제어하기 위한 운영 체제(142), 미들웨어(144), 또는 상기 운영 체제(142)에서 실행 가능한 어플리케이션(146)을 포함할 수 있다. 운영 체제(142)는, 예를 들면, AndroidTM, iOSTM, WindowsTM, SymbianTM, TizenTM, 또는 BadaTM를 포함할 수 있다. 프로그램(140) 중 적어도 일부 프로그램은, 예를 들면, 제조 시에 전자 장치(101)에 프리로드되거나, 또는 사용자에 의해 사용 시 외부 전자 장치(예: 전자 장치(102 또는 104), 또는 서버(108))로부터 다운로드되거나 갱신 될 수 있다.
운영 체제(142)는 전자 장치(101)의 하나 이상의 시스템 리소스들(예: 프로세스, 메모리, 또는 전원)의 관리(예: 할당 또는 회수)를 제어할 수 있다. 운영 체제(142)는, 추가적으로 또는 대체적으로, 전자 장치(101)의 다른 하드웨어 디바이스, 예를 들면, 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 구동하기 위한 하나 이상의 드라이버 프로그램들을 포함할 수 있다.
미들웨어(144)는 전자 장치(101)의 하나 이상의 리소스들로부터 제공되는 기능 또는 정보가 어플리케이션(146)에 의해 사용될 수 있도록 다양한 기능들을 어플리케이션(146)으로 제공할 수 있다. 미들웨어(144)는, 예를 들면, 어플리케이션 매니저(201), 윈도우 매니저(203), 멀티미디어 매니저(205), 리소스 매니저(207), 파워 매니저(209), 데이터베이스 매니저(211), 패키지 매니저(213), 커넥티비티 매니저(215), 노티피케이션 매니저(217), 로케이션 매니저(219), 그래픽 매니저(221), 시큐리티 매니저(223), 통화 매니저(225), 또는 음성 인식 매니저(227)를 포함할 수 있다.
어플리케이션 매니저(201)는, 예를 들면, 어플리케이션(146)의 생명 주기를 관리할 수 있다. 윈도우 매니저(203)는, 예를 들면, 화면에서 사용되는 하나 이상의 GUI 자원들을 관리할 수 있다. 멀티미디어 매니저(205)는, 예를 들면, 미디어 파일들의 재생에 필요한 하나 이상의 포맷들을 파악하고, 그 중 선택된 해당하는 포맷에 맞는 코덱을 이용하여 상기 미디어 파일들 중 해당하는 미디어 파일의 인코딩 또는 디코딩을 수행할 수 있다. 리소스 매니저(207)는, 예를 들면, 어플리케이션(146)의 소스 코드 또는 메모리(130)의 메모리의 공간을 관리할 수 있다. 파워 매니저(209)는, 예를 들면, 배터리(189)의 용량, 온도 또는 전원을 관리하고, 이 중 해당 정보를 이용하여 전자 장치(101)의 동작에 필요한 관련 정보를 결정 또는 제공할 수 있다. 일실시예에 따르면, 파워 매니저(209)는 전자 장치(101)의 바이오스(BIOS: basic input/output system)(미도시)와 연동할 수 있다.
데이터베이스 매니저(211)는, 예를 들면, 어플리케이션(146)에 의해 사용될 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(213)는, 예를 들면, 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 갱신을 관리할 수 있다. 커넥티비티 매니저(215)는, 예를 들면, 전자 장치(101)와 외부 전자 장치 간의 무선 연결 또는 직접 연결을 관리할 수 있다. 노티피케이션 매니저(217)는, 예를 들면, 지정된 이벤트(예: 착신 통화, 메시지, 또는 알람)의 발생을 사용자에게 알리기 위한 기능을 제공할 수 있다. 로케이션 매니저(219)는, 예를 들면, 전자 장치(101)의 위치 정보를 관리할 수 있다. 그래픽 매니저(221)는, 예를 들면, 사용자에게 제공될 하나 이상의 그래픽 효과들 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다.
시큐리티 매니저(223)는, 예를 들면, 시스템 보안 또는 사용자 인증을 제공할 수 있다. 통화(telephony) 매니저(225)는, 예를 들면, 전자 장치(101)에 의해 제공되는 음성 통화 기능 또는 영상 통화 기능을 관리할 수 있다. 음성 인식 매니저(227)는, 예를 들면, 사용자의 음성 데이터를 서버(108)로 전송하고, 그 음성 데이터에 적어도 일부 기반하여 전자 장치(101)에서 수행될 기능에 대응하는 명령어(command), 또는 그 음성 데이터에 적어도 일부 기반하여 변환된 문자 데이터를 서버(108)로부터 수신할 수 있다. 일 실시예에 따르면, 미들웨어(244)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다. 일 실시예에 따르면, 미들웨어(144)의 적어도 일부는 운영 체제(142)의 일부로 포함되거나, 또는 운영 체제(142)와는 다른 별도의 소프트웨어로 구현될 수 있다.
어플리케이션(146)은, 예를 들면, 홈(251), 다이얼러(253), SMS/MMS(255), IM(instant message)(257), 브라우저(259), 카메라(261), 알람(263), 컨택트(265), 음성 인식(267), 이메일(269), 달력(271), 미디어 플레이어(273), 앨범(275), 와치(277), 헬스(279)(예: 운동량 또는 혈당과 같은 생체 정보를 측정), 또는 환경 정보(281)(예: 기압, 습도, 또는 온도 정보 측정) 어플리케이션을 포함할 수 있다. 일실시예에 따르면, 어플리케이션(146)은 전자 장치(101)와 외부 전자 장치 사이의 정보 교환을 지원할 수 있는 정보 교환 어플리케이션(미도시)을 더 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치로 지정된 정보 (예: 통화, 메시지, 또는 알람)를 전달하도록 설정된 노티피케이션 릴레이 어플리케이션, 또는 외부 전자 장치를 관리하도록 설정된 장치 관리 어플리케이션을 포함할 수 있다. 노티피케이션 릴레이 어플리케이션은, 예를 들면, 전자 장치(101)의 다른 어플리케이션(예: 이메일 어플리케이션(269))에서 발생된 지정된 이벤트(예: 메일 수신)에 대응하는 알림 정보를 외부 전자 장치로 전달할 수 있다. 추가적으로 또는 대체적으로, 노티피케이션 릴레이 어플리케이션은 외부 전자 장치로부터 알림 정보를 수신하여 전자 장치(101)의 사용자에게 제공할 수 있다.
장치 관리 어플리케이션은, 예를 들면, 전자 장치(101)와 통신하는 외부 전자 장치 또는 그 일부 구성 요소(예: 표시 장치(160) 또는 카메라 모듈(180))의 전원(예: 턴-온 또는 턴-오프) 또는 기능(예: 표시 장치(160) 또는 카메라 모듈(180)의 밝기, 해상도, 또는 포커스)을 제어할 수 있다. 장치 관리 어플리케이션은, 추가적으로 또는 대체적으로, 외부 전자 장치에서 동작하는 어플리케이션의 설치, 삭제, 또는 갱신을 지원할 수 있다.
도 3은 본 문서에 개시되는 일 실시예에 따른 전자 장치(300)의 구조를 나타낸 블록도이다. 설명의 명확성을 위해 앞서 설명한 것과 중복되는 것은 간략히 하거나 생략될 수 있다.
도 3을 참조하면, 전자 장치(300)는, 프로세서(301)(예: 도 1의 프로세서(120)), 메모리(302)(예: 도 1의 메모리(130)), 유저 인터페이스(303) 및 통신 모듈(304)(예: 도 1의 통신 모듈(190))을 포함할 수 있다. 유저 인터페이스(303)는, 마이크(미도시)(예: 도 1의 입력 장치(150)), 스피커(미도시)(예: 도 1의 음향 출력 장치(155))를 포함할 수 있다.
전자 장치(300)는 도 3에 도시된 구성요소들 이외에 추가적인 구성요소를 적어도 하나 더 포함할 수 있다. 일 실시예에 따르면, 전자 장치(300)의 구성요소들은 동일한 개체(entity)이거나, 별도의 개체를 구성할 수 있다.
전자 장치(300)는 예를 들어, 스마트 폰, 태블릿, 웨어러블 장치, 가전 장치 또는 디지털 카메라를 포함할 수 있다. 일 실시예에 따르면, 프로세서(301)는 전자 장치(300)의 전반적인 기능을 수행하기 위하여 통신 모듈(304), 메모리(302), 유저 인터페이스(303)(마이크(미도시) 및 스피커(미도시))와 작동적으로(operatively) 연결될(coupled) 수 있다. 프로세서(301)는 예를 들어, 하나 이상의 프로세서를 포함할 수 있다. 하나 이상의 프로세서는 예를 들어, 이미지 시그널 프로세서(image signal processor, ISP), 애플리케이션 프로세서(application processor, AP), 또는 통신 프로세서(communication processor, CP)를 포함할 수 있다.
또한, 프로세서(301)는, 메모리(302)에 저장된 인스트럭션들을 실행하여, 모듈(예: 도 4의 이벤트 감지 모듈(401), 이벤트 핸들러 모듈(402), 레벨 결정 모듈(403), 힌트 트리거 모듈(404), 리소스 컨트롤 모듈(405), 데이터 베이스(406), 프로세스 제어 모듈(407))을 구동시킬 수 있다.
프로세서(301)는, 전자 장치(300)의 전반적인 기능을 수행하기 위하여, 모듈(예: 도 4의 이벤트 감지 모듈(401), 이벤트 핸들러 모듈(402), 레벨 결정 모듈(403), 힌트 트리거 모듈(404), 리소스 컨트롤 모듈(405), 데이터 베이스(406), 프로세스 제어 모듈(407))과 작동적으로 연결될 수 있다. 본 문서에 개시되는 실시예에서, 모듈(예: 도 4의 이벤트 감지 모듈(401), 이벤트 핸들러 모듈(402), 레벨 결정 모듈(403), 힌트 트리거 모듈(404), 리소스 컨트롤 모듈(405), 데이터 베이스(406), 프로세스 제어 모듈(407))에 의해 수행(혹은, 실행)되는 동작은, 프로세서(301)가 메모리(302)에 저장된 인스트럭션들을 실행함으로써 수행하는 동작으로 이해될 수 있다.
일 실시예에서, 프로세서(301)는, 모듈(예: 도 4의 이벤트 감지 모듈(401), 이벤트 핸들러 모듈(402), 레벨 결정 모듈(403), 힌트 트리거 모듈(404), 리소스 컨트롤 모듈(405), 데이터 베이스(406), 프로세스 제어 모듈(407))을 포함할 수 있다. 이 경우, 모듈(예: 도 4의 이벤트 감지 모듈(401), 이벤트 핸들러 모듈(402), 레벨 결정 모듈(403), 힌트 트리거 모듈(404), 리소스 컨트롤 모듈(405), 데이터 베이스(406), 프로세스 제어 모듈(407)) 각각이 수행(혹은, 실행)하는 동작은, 프로세서(301)의 적어도 일부로서 구현될 수 있다.
본 발명의 다양한 실시예에서 언급되는 여러 모듈들은 하드웨어로 구현될 수도 있고, 소프트웨어로 구현될 수도 있다.
메모리(302)는, 적어도 하나의 입력 데이터를 포함하는 데이터 베이스(미도시)(예: 도 4의 데이터 베이스(406))를 저장할 수 있다. 메모리(302)는 전자 장치(300)에 포함된 구성요소들의 동작과 연관된 명령, 정보 또는 데이터를 저장할 수 있다. 예를 들어, 메모리(302)는, 실행 시에, 프로세서(301)가 본 문서에 기재된 다양한 동작을 수행할 수 있도록 하는 명령어들(instructions)을 저장할 수 있다.
일 실시예에서, 전자 장치(300)는, 유저 인터페이스(303)를 이용하여 사용자 입력을 수신할 수 있다. 상기 사용자 입력은 사용자가 앱을 실행하기 위한 입력일 수 있다. 일 실시예에서, 사용자 입력은 사용자의 음성 입력(예: 발화)일 수 있다. 사용자 입력이 음성 입력인 경우, 전자 장치(300)는 마이크(또는 음성 수신 장치)(미도시)를 통해 사용자 입력을 수신할 수 있다. 일 실시예에서, 사용자 입력은 사용자의 터치 입력 및/또는 제스처 입력일 수 있다. 사용자 입력이 터치 입력 및/또는 제스처 입력인 경우, 전자 장치(300)는 센서(미도시)를 통해 사용자 입력을 수신할 수 있다.
일 실시예에서, 전자 장치(300)를 참조하여 설명한 각 구성 요소의 동작들 중 적어도 하나의 동작은, 외부 서버(미도시) 또는 다른 전자 장치(미도시)에서 수행(혹은, 실행)될 수 있다. 예를 들어, 프로세서(301)는, 통신 모듈(304)을 이용하여, 외부 서버(미도시) 또는 다른 전자 장치(미도시)로 사용자 입력을 전송하도록 할 수 있다.
프로세서(301)는 적어도 하나 이상의 프로세서로 구성될 수 있으며, 물리적으로 나누어져 고성능의 처리를 수행하는 메인 프로세서와 저전력의 처리를 수행하는 보조 프로세서로 나누어서 구동될 수 있다. 또는 하나의 프로세서가 상황에 따라 고성능과 저전력을 스위칭하여 처리할 수도 있다.
일 실시예에서, 프로세서(301)는 딜레이 이벤트를 식별할 수 있다. 프로세서(301)는 지연 상황을 감지하고, 상기 지연 상황에 대응하여 상기 딜레이 이벤트를 생성하고, 상기 생성된 이벤트를 식별할 수 있다. 상기 지연 상황이란, 시스템의 보틀넥(bottleneck)을 일으킬 만한 상황을 의미할 수 있다. 예를 들어, 상기 지연 상황은 시스템 메인 루퍼 딜레이(main looper delay), 서비스 락 컨텐션(service lock contention) 및/또는 인풋 프레임 워크 딜레이(input framework delay) 중 적어도 하나를 의미할 수 있다.
일 실시예에서, 프로세서(301)는 상기 딜레이 이벤트가 임계값 이상인지 판단할 수 있다. 상기 임계값이란, 전자 장치(300)의 시스템에 보틀넥(bottleneck)을 발생시키는 기준값(threshold)을 의미할 수 있다. 예를 들어, 전자 장치(300)는 상기 딜레이 이벤트가 상기 임계값 이하인 경우, 전자 장치(300)는 상기 딜레이 이벤트를 무시할 수 있다.
상기 딜레이 이벤트는 보틀넥(bottleneck)으로 인한 지연시간 값을 의미할 수 있다.
일 실시예에서, 프로세서(301)는 전자 장치(300)의 LCD 상태, 리소스 제한 상태 및/또는 PSI(pressure stall info)가 임계값을 넘는지도 판단할 수 있다.
일 실시예에서, 프로세서(301)는 보틀넥 스코어(bottleneck score)를 결정할 수 있다. 일 실시예에서, 프로세서(301)는 일정 시간 구간의 윈도우 동안에 상기 딜레이 이벤트를 측정하여 상기 보틀넥 스코어(bottleneck score)를 결정할 수 있다.
일 실시예에서, 프로세서(301)는 일정 시간 구간의 윈도우 동안에 감지된 시스템 메인 루퍼 딜레이(main looper delay), 서비스 락 컨텐션(service lock contention) 및/또는 인풋 프레임 워크 딜레이(input framework delay)를 감지하여 딜레이 이벤트로 측정하고 상기 딜레이 이벤트를 바탕으로 상기 보틀넥 스코어(bottleneck score)를 결정할 수 있다.
일 실시예에서, 프로세서(301)는 보틀넥 윈도우 스코어(bottleneck window score)를 결정할 수 있다. 일 실시예에서, 프로세서(301)는 상기 결정된 보틀넥 스코어(bottleneck score)를 상기 LCD 상태, 상기 리소스 제한 상태 및/또는 상기 PSI(pressure stall info)에 따른 상태 스코어와 연산하여 보틀넥 윈도우 스코어(bottleneck window score)를 결정할 수 있다.
일 실시예에서, 프로세서(301)는 스테이트 레벨(state level)을 결정할 수 있다. 일 실시예에서, 프로세서(301)는, 상기 결정된 보틀넥 윈도우 스코어(bottleneck window score)에 기반하여 스테이트 레벨(state level)을 결정할 수 있다.
일 실시예에서, 프로세서(301)는 상기 결정된 스테이트 레벨(state level)이 현재 스테이트 레벨(state level)과 동일한지 판단할 수 있다. 상기 결정된 스테이트 레벨(state level)이 현재 스테이트 레벨(state level)과 동일하지 않다면, 프로세서(301)는 상기 결정된 스테이트 레벨(state level)에 대응되는 힌트를 생성할 수 있다.
일 실시예에서, 프로세서(301)는 스테이트 레벨(state level)에 대응하는 리소스 컨트롤을 위한 힌트를 생성할 수 있다. 상기 힌트는, 상기 전이된 스테이트 레벨(state level)에 대한 정보를 의미할 수 있다.
일 실시예에서, 프로세서(301)는 상기 힌트에 대응하여 리소스를 컨트롤 할 수 있다. 프로세서(301)는 상기 힌트에 대응하여 프로세서(301)의 시스템을 컨트롤 하여 리소스를 확보할 수 있다.
일 실시예에서, 프로세서(301)는 상기 힌트에 대응하여 프로세서(301)에 포함되거나 작동적으로 연결된 클럭에 대한 부스트 및 제한 해제를 할 수 있다.
일 실시예에서, 프로세서(301)는 상기 힌트에 대응하여 프로세서(301)에 포함되거나 작동적으로 연결된 메모리를 선제적으로 확보할 수 있다. 프로세서(301)는 전자 장치(300)의 보틀넥(bottleneck)을 예측하고, 시스템에 필요한 리소스를 동적으로 할당해줌으로써, 보틀넥(bottleneck)을 해소하고 전자 장치(300)의 사용자에게 원활한 UX를 제공할 수 있다.
일 실시예에서, 프로세서(301)는 상기 힌트에 대응하여 프로세서(301)에 포함되거나 작동적으로 연결된 백그라운드 프로세스를 제한할 수 있다. 예를 들어, 프로세서(301), 진입하는 앱 이외의 백그라운드 프로세스를 프리즈(freeze)시켜 제한할 수 있다.
일 실시예에서, 프로세서(301)는 상기 힌트에 대응하여 프로세서(301)의 사용자와의 인터랙션이 있는 앱을 최우선 앱으로 결정하고, 백 그라운드 프로세스와의 레이스 컨디션(race condition)을 최대한 줄여 보틀넥(bottleneck) 상태에서도 상기 최우선 앱의 동작을 보장할 수 있다.
이하에서는, 프로세서(301)의 동작에 대해 구체적으로 설명한다.
일 실시예에서, 프로세서(301)는 상기 전자 장치의 지연 상황 발생에 기반하여, 딜레이 이벤트를 식별하고, 상기 전자 장치의 상태를 나타내는 파라미터를 필터링하고, 상기 식별된 딜레이 이벤트 또는 상기 필터링된 파라미터 중 적어도 하나에 기반하여 제1 스코어를 결정하고, 상기 결정된 제1 스코어에 기반하여, 스테이트 레벨을 결정하고, 상기 스테이트 레벨에 대응하는 힌트를 생성하고, 상기 생성된 힌트에 기반하여 상기 전자 장치의 리소스를 제어할 수 있다.
일 실시예에서, 프로세서(301)는 기 설정된 단위 시간 동안, 상기 생성된 이벤트의 수에 기반하여 상기 설정된 단위 시간 동안의 상기 제1 스코어를 결정할 수 있다.
일 실시예에서, 상기 파라미터는, 상기 딜레이 이벤트, 상기 전자 장치에 포함되거나 작동적으로 연결된 LCD의 작동 상태, 리소스 제한 상태 또는 PSI(pressure stall info) 중 적어도 하나를 포함할 수 있다.
일 실시예에서, 프로세서(301)는 상기 전자 장치에 포함되거나 작동적으로 연결된 LCD의 작동 상태가 오프(off) 상태임에 응답하여, 상기 생성된 딜레이 이벤트를 무시 처리할 수 있다.
일 실시예에서, 상기 지연 상황은, 상기 딜레이 이벤트, 상기 전자 장치에 포함되거나 작동적으로 연결된 시스템의 메인 루퍼 딜레이(main looper delay), 서비스 락 컨텐션(service lock contention) 또는 인풋 프레임 워크 딜레이(input framework delay) 중 적어도 하나를 포함할 수 있다.
일 실시예에서, 프로세서(301)는 상기 파라미터가 임계값을 넘는지 확인하고, 상기 파라미터가 임계값을 넘는 것에 응답하여, 상기 제1 스코어를 결정하는 상기 파라미터로 필터링할 수 있다.
일 실시예에서, 프로세서(301)는 상기 생성된 딜레이 이벤트에 기반하여 제2 스코어를 결정하고, 상기 필터링된 파라미터 중 적어도 하나에 기반하여 제3 스코어를 결정하고, 상기 제2 스코어와 상기 제3 스코어를 연산하여 상기 제1 스코어를 결정할 수 있다.
일 실시예에서, 프로세서(301)는 상기 제2 스코어 또는 상기 제3 스코어 중 적어도 하나에 가중치를 주어 연산할 수 있다.
일 실시예에서, 프로세서(301)는 상기 결정된 스테이트 레벨과 현재 스테이트 레벨이 다름에 응답하여, 상기 힌트를 생성할 수 있다.
일 실시예에서, 프로세서(301)는 상기 결정된 스테이트 레벨과 상기 현재 스테이트 레벨의 레벨 차이가 일정 레벨 이상인지 판단하고, 상기 레벨 차이가 일정 레벨 이상임에 대응하여, 힌트를 생성할 수 있다.
도 4는 본 문서에 개시되는 일 실시예에 따른 전자 장치(400)의 구조를 나타낸 다른 블록도이다. 설명의 명확성을 위해 앞서 설명한 것과 중복되는 것은 간략히 하거나 생략될 수 있다.
도시된 실시예에 따르면, 전자 장치(400)는, 이벤트 감지 모듈(401), 이벤트 핸들러 모듈(402), 레벨 결정 모듈(403), 힌트 트리거 모듈(404), 리소스 컨트롤 모듈(405) 및/또는 데이터 베이스(406)를 포함할 수 있다. 상기 열거된 구성 요소들은 서로 작동적으로 또는 전기적으로 연결될 수 있다.
이벤트 감지 모듈(401)은, 전자 장치(400)의 지연 상황을 감지하고, 상기 지연 상황에 대응하여 딜레이 이벤트를 생성하고, 상기 생성된 딜레이 이벤트를 식별할 수 있다. 상기 지연 상황이란, 시스템의 보틀넥(bottleneck)을 일으킬 만한 상황을 의미할 수 있다. 예를 들어, 상기 지연 상황은 시스템 메인 루퍼 딜레이(main looper delay), 서비스 락 컨텐션(service lock contention) 및/또는 인풋 프레임 워크 딜레이(input framework delay) 중 적어도 하나를 의미할 수 있다. 이벤트 감지 모듈(401)은 상기 생성된 딜레이 이벤트를 이벤트 핸들러 모듈(402)에 전달할 수 있다.
일 실시예에서, 이벤트 감지 모듈(401)은 상기 생성된 딜레이 이벤트를 라이브러리 형태로 이벤트 핸들러 모듈(402)에 전달할 수 있다.
일 실시예에서, 이벤트 감지 모듈(401)은 소켓 연결을 통해 이벤트 핸들러 모듈(402)에 딜레이 이벤트를 전달할 수 있다. 상기 소켓 연결이란, 네트워크 통신을 하는 표준 연결 방법을 의미할 수 있다.
이벤트 핸들러 모듈(402)은, 보틀넥(bottleneck)에 대한 레벨 결정을 위한 파라미터들을 필터링하여 레벨 결정 모듈(403)에 전달할 수 있다. 상기 보틀넥(bottleneck)이란, 전자 장치(400)의 사용자가 전자 장치(400)의 작동이 느려짐 또는 멈춤을 느낄만한 시스템 병목을 의미할 수 있다.
일 실시예에서, 상기 파라미터는 이벤트 감지 모듈(401)로부터 전달 받은 상기 딜레이 이벤트, LCD 상태, 리소스 제한 상태 및/또는 PSI(pressure stall info)를 포함할 수 있다. 상기 LCD 상태란, 전자 장치(400)의 LCD가 off 상태인지 여부를 의미할 수 있다.
일 실시예에서, 이벤트 핸들러 모듈(402)은 전자 장치(400)의 LCD가 off 상태인 경우에는, 전자 장치(400)의 사용자의 인터랙션이 필요 없으므로, 크리티컬 패스(critical path) 동작이 길어져도 보틀넥(bottleneck) 현상을 무시 처리할 수 있다.
상기 리소스 제한 상태란, 전자 장치(400)가 베터리 소모를 줄이기 위해 시스템 리소스를 사용하지 못하도록 제한한 상태를 의미할 수 있다.
예를 들어, 상기 리소스 제한 상태란, 전자 장치(400)의 발열이 너무 높은 경우, 전자 장치(400)가 베터리 소모를 줄이기 위해 시스템 리소스를 사용하지 못하도록 제한한 상태를 의미할 수 있다.
예를 들어, 상기 리소스 제한 상태란, 전자 장치(400)의 모드가 베터리 제약 모드로 설정된 경우, 전자 장치(400)가 베터리 소모를 줄이기 위해 시스템 리소스를 사용하지 못하도록 제한한 상태를 의미할 수 있다.
상기 PSI(pressure stall info)란, 전자 장치(400)의 리소스의 비지(busy) 정도에 대한 정보를 의미할 수 있다. 예를 들어, PSI는 전자 장치(400)에 포함되거나 작동적으로 연결된 CPU, memory 및/또는 IO의 리소스 비지 상태에 대한 정보를 의미할 수 있다.
일 실시예에서, 이벤트 핸들러 모듈(402)은, 상기 딜레이 이벤트, 상기 LCD 상태, 상기 리소스 제한 상태 및/또는 상기 PSI(pressure stall info)가 임계값을 넘는지 확인할 수 있다. 상기 임계값이란, 전자 장치(400)의 시스템에 보틀넥(bottleneck)을 발생시키는 기준값을 의미할 수 있다.
일 실시예에서, 이벤트 핸들러 모듈(402)은, 상기 딜레이 이벤트, 상기 LCD 상태, 상기 리소스 제한 상태 및/또는 상기 PSI(pressure stall info)에 대한 우선 순위를 결정할 수 있다. 상기 우선 순위란, 전자 장치(400)가 상기 이벤트를 처리할 필요성에 따라 정한 순서를 의미할 수 있다. 예를 들어, 상기 임계값을 넘는 정도가 클수록 전자 장치(400)는 상기 이벤트를 먼저 처리할 필요성이 있으므로 높은 우선 순위를 가질 수 있다.
레벨 결정 모듈(403)은, 윈도우(window) 동안의 보틀넥 윈도우 스코어(bottleneck window score)를 계산하고, 상기 보틀넥 윈도우 스코어(bottleneck window score)에 기반하여 스테이트 레벨(state level)을 결정할 수 있다. 상기 윈도우(window)란, 기 설정된 일정한 시간으로 나눠진 구간의 한 구간을 의미할 수 있다.
일 실시예에서, 레벨 결정 모듈(403)은, 일정 시간 구간의 윈도우 동안에 상기 딜레이 이벤트를 계산하여 해당 윈도우의 보틀넥 스코어(bottleneck score)를 결정할 수 있다. 레벨 결정 모듈(403)은, 상기 결정된 보틀넥 스코어(bottleneck score)를 상기 LCD 상태, 상기 리소스 제한 상태 및/또는 상기 PSI(pressure stall info)에 따른 상태 스코어와 연산하여 보틀넥 윈도우 스코어(bottleneck window score)를 결정할 수 있다.
일 실시예에서, 레벨 결정 모듈(403)은, 상기 결정된 보틀넥 윈도우 스코어(bottleneck window score)에 기반하여 스테이트 레벨(state level)을 결정할 수 있다. 레벨 결정 모듈(403)은, 상기 결정된 스테이트 레벨(state level)에 따라 레벨을 전이할 수 있다.
힌트 트리거 모듈(404)은, 스테이트 레벨(state level) 전이를 감지하고, 상기 스테이트 레벨(state level) 전이가 일정 레벨 이상인지 판단할 수 있다. 힌트 트리거 모듈(404)은 상기 전이된 스테이트 레벨(state level)이 일정 레벨 이상이면, 리소스 컨드롤 모듈(405)로 힌트를 전송할 수 있다. 상기 힌트는, 상기 전이된 스테이트 레벨(state level)에 대한 정보를 의미할 수 있다.
힌트 트리거 모듈(404)이 리소스 컨트롤 모듈(405)로 힌트를 전송함으로써, 스테이트 레벨(state level) 전이에 따른 필요한 리소스를 빠르게 확보할 수 있다.
리소스 컨트롤 모듈(405)은 상기 힌트에 응답하여, 전자 장치(400)의 시스템을 컨트롤 하여 리소스를 확보할 수 있다. 일 실시예에서, 리소스 컨트롤 모듈(405)은, 상기 힌트에 응답하여, 클럭에 대한 부스트 및 제한 해제를 할 수 있다.
일 실시예에서, 리소스 컨트롤 모듈(405)은, 상기 힌트에 응답하여, 메모리를 선제적으로 확보할 수 있다.
일 실시예에서, 리소스 컨트롤 모듈(405)은, 백그라운드 프로세스를 제한할 수 있다. 예를 들어, 리소스 컨트롤 모듈(405)은, 진입하는 앱 이외의 백그라운드 프로세스를 프리즈(freeze)시켜 제한할 수 있다.
일 실시예에서, 리소스 컨트롤 모듈(405)은 전자 장치(400)의 사용자와의 인터랙션이 있는 앱을 최우선 앱으로 결정하고, 백 그라운드 프로세스와의 레이스 컨디션(race condition)을 최대한 줄여 보틀넥(bottleneck) 상태에서도 상기 최우선 앱의 동작을 보장할 수 있다.
이하에서 도 5 내지 도 6을 참조하여 본 문서에 개시되는 실시예에 따른 전자 장치(101)가 수행하는 방법에 대해 설명한다. 도 5는 본 문서에 개시되는 실시예에 따른 전자 장치(101)가 힌트를 제공하여 리소스를 컨트롤하는 방법에 대한 순서도(500)가 도시되어 있다. 일 실시예에 따르면, 도 5에 도시된 프로세스는 전자 장치(예: 도 1의 전자 장치(101))의 프로세서(예: 도 1의 프로세서(120))가 메모리(예: 도 1의 메모리(130))에 저장된 인스트럭션을 실행하여 수행되는 것으로 이해될 수 있다.
동작 501에서, 전자 장치(101)는 지연 상황을 감지하고, 상기 지연 상황에 대응하여 딜레이 이벤트를 생성하고 상기 생성된 딜레이 이벤트를 식별할 수 있다. 상기 지연 상황이란, 시스템의 보틀넥(bottleneck)을 일으킬 만한 상황을 의미할 수 있다. 예를 들어, 상기 지연 상황은 시스템 메인 루퍼 딜레이(main looper delay), 서비스 락 컨텐션(service lock contention) 및/또는 인풋 프레임 워크 딜레이(input framework delay) 중 적어도 하나를 의미할 수 있다.
동작 503에서, 전자 장치(101)는 파라미터를 필터링 할 수 있다. 상기 파라미터란, 상기 생성된 딜레이 이벤트, LCD 상태, 리소스 제한 상태, 및/ 또는 PSI(pressure stall info)를 포함할 수 있다.
일 실시예에서, 전자 장치(101)는 전자 장치(101)에 포함되거나 작동적으로 연결된 LCD가 off 상태인 경우에는, 전자 장치(101)의 사용자의 인터랙션이 필요 없으므로, 크리티컬 패스(critical path) 동작이 길어져도 보틀넥(bottleneck) 현상을 무시 처리하도록 필터링 할 수 있다.
일 실시예에서, 전자 장치(101)는, 상기 딜레이 이벤트, 상기 LCD 상태, 상기 리소스 제한 상태 및/또는 상기 PSI(pressure stall info)가 임계값을 넘는지 확인할 수 있다. 상기 임계값이란, 전자 장치(101)의 시스템에 보틀넥(bottleneck)을 발생시키는 기준값을 의미할 수 있다.
일 실시예에서, 전자 장치(101)는, 상기 딜레이 이벤트, 상기 LCD 상태, 상기 리소스 제한 상태 및/또는 상기 PSI(pressure stall info)에 대한 우선 순위를 결정할 수 있다. 상기 우선 순위란, 전자 장치(101)가 상기 이벤트를 처리할 필요성에 따라 정한 순서를 의미할 수 있다. 예를 들어, 상기 임계값을 넘는 정도가 클수록 전자 장치(101)는 상기 이벤트를 먼저 처리할 필요성이 있으므로 높은 우선 순위를 가질 수 있다.
동작 505에서, 전자 장치(101)는 일정 시간 동안의 보틀넥 윈도우 스코어(bottleneck window score)를 계산할 수 있다. 일 실시예에서, 전자 장치(101)는 상기 딜레이 이벤트에 기반한 보틀넥 스코어(bottleneck score)를 결정하고, 상기 결정된 보틀넥 스코어(bottleneck score)를 상기 LCD 상태, 상기 리소스 제한 상태 및/또는 상기 PSI(pressure stall info)에 따른 상태 스코어와 연산하여 보틀넥 윈도우 스코어(bottleneck window score)를 결정할 수 있다. 이에 대하여는 도 7 내지 도 8을 참조하여 자세히 설명한다.
동작 507에서, 전자 장치(101)는 스테이트 레벨(state level)을 결정할 수 있다. 일 실시예에서, 전자 장치(101)는, 상기 결정된 보틀넥 윈도우 스코어(bottleneck window score)에 기반하여 스테이트 레벨(state level)을 결정할 수 있다. 일 실시예에서, 전자 장치(101)는, 상기 결정된 스테이트 레벨(state level)에 따라 레벨을 전이할 수 있다.
동작 509에서, 전자 장치(101)는 스테이트 레벨(state level) 전이에 기반하여 힌트를 생성할 수 있다. 일 실시예에서, 전자 장치(101)는 스테이트 레벨(state level) 전이를 감지하고, 리소스 컨트롤을 위한 힌트를 생성할 수 있다. 상기 힌트는, 상기 전이된 스테이트 레벨(state level)에 대한 정보를 의미할 수 있다.
동작 511에서, 전자 장치(101)는 상기 힌트에 대응하여 리소스를 컨트롤 할 수 있다. 전자 장치(101)는 상기 힌트에 대응하여 전자 장치(101)의 시스템을 컨트롤 하여 리소스를 확보할 수 있다.
일 실시예에서, 전자 장치(101)는 상기 힌트에 대응하여 전자 장치(101)에 포함되거나 작동적으로 연결된 클럭에 대한 부스트 및 제한 해제를 할 수 있다.
일 실시예에서, 전자 장치(101)는 상기 힌트에 대응하여 전자 장치(101)에 포함되거나 작동적으로 연결된 메모리를 선제적으로 확보할 수 있다.
일 실시예에서, 전자 장치(101)는 상기 힌트에 대응하여 전자 장치(101)에 포함되거나 작동적으로 연결된 백그라운드 프로세스를 제한할 수 있다. 예를 들어, 전자 장치(101), 진입하는 앱 이외의 백그라운드 프로세스를 프리즈(freeze)시켜 제한할 수 있다.
일 실시예에서, 전자 장치(101)는 상기 힌트에 대응하여 전자 장치(101)의 사용자와의 인터랙션이 있는 앱을 최우선 앱으로 결정하고, 백 그라운드 프로세스와의 레이스 컨디션(race condition)을 최대한 줄여 보틀넥(bottleneck) 상태에서도 상기 최우선 앱의 동작을 보장할 수 있다.
도 5에는 전자 장치(101)가 동작 501 내지 동작 511을 순차적으로 수행하는 것으로 도시되어 있지만, 이는 예시적인 것으로 동작의 일부는 전자 장치(101)에서 수행하고 다른 일부는 외부 장치에서 수행하도록 변경 할 수 있다. 예를 들어, 동작 501은 전자 장치에서 수행하고 동작 503 내지 동작 511은 서버에서 수행하도록 변경할 수 있다.
도 6은 본 문서에 개시되는 실시예에 따른 전자 장치(101)가 힌트를 제공하여 리소스를 컨트롤하는 방법에 대한 순서도(600)가 도시되어 있다. 일 실시예에 따르면, 도 6에 도시된 프로세스는 전자 장치(예: 도 1의 전자 장치(101))의 프로세서(예: 도 1의 프로세서(120))가 메모리(예: 도 1의 메모리(130))에 저장된 인스트럭션을 실행하여 수행되는 것으로 이해될 수 있다.
동작 601에서, 전자 장치(101)는 딜레이 이벤트를 식별할 수 있다. 전자 장치(101)는 지연 상황을 감지하고, 상기 지연 상황에 대응하여 상기 딜레이 이벤트를 생성하고, 상기 생성된 딜레이 이벤트를 식별할 수 있다. 상기 지연 상황이란, 시스템의 보틀넥(bottleneck)을 일으킬 만한 상황을 의미할 수 있다. 예를 들어, 상기 지연 상황은 시스템 메인 루퍼 딜레이(main looper delay), 서비스 락 컨텐션(service lock contention) 및/또는 인풋 프레임 워크 딜레이(input framework delay) 중 적어도 하나를 의미할 수 있다.
동작 603에서, 전자 장치(101)는 상기 딜레이 이벤트가 임계값 이상인지 판단할 수 있다. 상기 임계값이란, 전자 장치(400)의 시스템에 보틀넥(bottleneck)을 발생시키는 기준값을 의미할 수 있다. 일 실시예에서, 전자 장치(101)는 전자 장치(101)의 LCD 상태, 리소스 제한 상태 및/또는 PSI(pressure stall info)가 임계값을 넘는지도 판단할 수 있다.
상기 딜레이 이벤트가 상기 임계값을 넘는 건으로 판단되면, 전자 장치(101)는 동작 605를 수행할 수 있다. 반대로, 상기 딜레이 이벤트가 상기 임계값 이상이 아닌 경우, 전자 장치(101)는 동작 601을 수행할 수 있다.
동작 605에서, 전자 장치(101)는 보틀넥 스코어(bottleneck score)를 결정할 수 있다. 일 실시예에서, 전자 장치(101)는 일정 시간 구간의 윈도우 동안에 상기 딜레이 이벤트를 측정하여 상기 보틀넥 스코어(bottleneck score)를 결정할 수 있다. 일 실시예에서, 전자 장치(101)는 일정 시간 구간의 윈도우 동안에 감지된 시스템 메인 루퍼 딜레이(main looper delay), 서비스 락 컨텐션(service lock contention) 및/또는 인풋 프레임 워크 딜레이(input framework delay)를 감지하여 딜레이 이벤트로 측정하고 상기 딜레이 이벤트를 바탕으로 상기 보틀넥 스코어(bottleneck score)를 결정할 수 있다.
동작 607에서 전자 장치(101)는 보틀넥 윈도우 스코어(bottleneck window score)를 결정할 수 있다. 일 실시예에서, 전자 장치(101)는 상기 결정된 보틀넥 스코어(bottleneck score)를 상기 LCD 상태, 상기 리소스 제한 상태 및/또는 상기 PSI(pressure stall info)에 따른 상태 스코어와 연산하여 보틀넥 윈도우 스코어(bottleneck window score)를 결정할 수 있다.
동작 609에서, 전자 장치(101)는 스테이트 레벨(state level)을 결정할 수 있다. 일 실시예에서, 전자 장치(101)는, 상기 결정된 보틀넥 윈도우 스코어(bottleneck window score)에 기반하여 스테이트 레벨(state level)을 결정할 수 있다.
동작 611에서, 전자 장치(101)는 상기 결정된 스테이트 레벨(state level)이 현재 스테이트 레벨(state level)과 동일한지 판단할 수 있다. 상기 결정된 스테이트 레벨(state level)이 현재 스테이트 레벨(state level)과 동일하면, 전자 장치(101)는 프로세스를 종료할 수 있다. 반대로, 상기 결정된 스테이트 레벨(state level)이 현재 스테이트 레벨(state level)과 동일하지 않다면, 전자 장치(101)는 동작 613을 수행할 수 있다.
동작 613에서, 전자 장치(101)는 상기 결정된 스테이트 레벨(state level)에 대응되는 힌트를 생성할 수 있다. 일 실시예에서, 전자 장치(101)는 스테이트 레벨(state level)에 대응하는 리소스 컨트롤을 위한 힌트를 생성할 수 있다. 상기 힌트는, 상기 전이된 스테이트 레벨(state level)에 대한 정보를 의미할 수 있다.
동작 615에서, 전자 장치(101)는 상기 힌트에 대응하여 리소스를 컨트롤 할 수 있다. 전자 장치(101)는 상기 힌트에 대응하여 전자 장치(101)의 시스템을 컨트롤 하여 리소스를 확보할 수 있다.
일 실시예에서, 전자 장치(101)는 상기 힌트에 대응하여 전자 장치(101)에 포함되거나 작동적으로 연결된 클럭에 대한 부스트 및 제한 해제를 할 수 있다.
일 실시예에서, 전자 장치(101)는 상기 힌트에 대응하여 전자 장치(101)에 포함되거나 작동적으로 연결된 메모리를 선제적으로 확보할 수 있다.
일 실시예에서, 전자 장치(101)는 상기 힌트에 대응하여 전자 장치(101)에 포함되거나 작동적으로 연결된 백그라운드 프로세스를 제한할 수 있다. 예를 들어, 전자 장치(101), 진입하는 앱 이외의 백그라운드 프로세스를 프리즈(freeze)시켜 제한할 수 있다.
일 실시예에서, 전자 장치(101)는 상기 힌트에 대응하여 전자 장치(101)의 사용자와의 인터랙션이 있는 앱을 최우선 앱으로 결정하고, 백 그라운드 프로세스와의 레이스 컨디션(race condition)을 최대한 줄여 보틀넥(bottleneck) 상태에서도 상기 최우선 앱의 동작을 보장할 수 있다.
도 6에는 전자 장치(101)가 동작 601 내지 동작 615를 순차적으로 수행하는 것으로 도시되어 있지만, 이는 예시적인 것으로 동작의 일부는 전자 장치(101)에서 수행하고 다른 일부는 외부 장치에서 수행하도록 변경 할 수 있다. 예를 들어, 동작 601은 전자 장치에서 수행하고 동작 603 내지 동작 615는 서버에서 수행하도록 변경할 수 있다.
일 실시예에서, 전자 장치(101)가 수행하는 방법은, 상기 전자 장치에 포함되거나 상기 전자 장치에 연결된 메모리에 대한 프로세스가 실행되면, 상기 전자 장치의 지연 상황 발생에 기반하여, 딜레이 이벤트를 식별하는 동작, 상기 전자 장치의 상태를 나타내는 파라미터를 필터링하는 동작, 상기 식별된 딜레이 이벤트 또는 상기 필터링된 파라미터 중 적어도 하나에 기반하여 제1 스코어를 결정하는 동작, 상기 결정된 제1 스코어에 기반하여, 스테이트 레벨을 결정하는 동작, 상기 스테이트 레벨에 대응하는 힌트를 생성하는 동작 및 상기 생성된 힌트에 기반하여 상기 전자 장치의 리소스를 제어하도록 하는 동작을 포함할 수 있다.
일 실시예에서, 전자 장치(101)가 수행하는 방법은, 기 설정된 단위 시간 동안, 상기 생성된 이벤트의 수에 기반하여 상기 설정된 단위 시간 동안의 상기 제1 스코어를 결정하도록 하는 동작을 더 포함할 수 있다.
일 실시예에서, 상기 파라미터는, 상기 딜레이 이벤트, 상기 전자 장치에 포함되거나 작동적으로 연결된 LCD의 작동 상태, 리소스 제한 상태 또는 PSI(pressure stall info) 중 적어도 하나를 포함할 수 있다.
일 실시예에서, 전자 장치(101)가 수행하는 방법은, 상기 전자 장치에 포함되거나 작동적으로 연결된 LCD의 작동 상태가 오프(off) 상태임에 응답하여, 상기 생성된 딜레이 이벤트를 무시 처리하도록 하는 동작을 더 포함할 수 있다.
일 실시예에서, 상기 지연 상황은, 상기 딜레이 이벤트, 상기 전자 장치에 포함되거나 작동적으로 연결된 시스템의 메인 루퍼 딜레이(main looper delay), 서비스 락 컨텐션(service lock contention) 또는 인풋 프레임 워크 딜레이(input framework delay) 중 적어도 하나를 포함할 수 있다.
일 실시예에서, 전자 장치(101)가 수행하는 방법은, 상기 파라미터가 임계값을 넘는지 확인하는 동작 및 상기 파라미터가 임계값을 넘는 것에 응답하여, 상기 제1 스코어를 결정하는 상기 파라미터로 필터링하도록 하는 동작을 더 포함할 수 있다.
일 실시예에서, 전자 장치(101)가 수행하는 방법은, 상기 생성된 딜레이 이벤트에 기반하여 제2 스코어를 결정하는 동작, 상기 필터링된 파라미터 중 적어도 하나에 기반하여 제3 스코어를 결정하는 동작 및 상기 제2 스코어와 상기 제3 스코어를 연산하여 상기 제1 스코어를 결정하도록 하는 동작을 더 포함할 수 있다.
일 실시예에서, 전자 장치(101)가 수행하는 방법은, 상기 제2 스코어 또는 상기 제3 스코어 중 적어도 하나에 가중치를 주어 연산하도록 하는 동작을 더 포함할 수 있다.
일 실시예에서, 전자 장치(101)가 수행하는 방법은, 상기 결정된 스테이트 레벨과 현재 스테이트 레벨이 다름에 응답하여, 상기 힌트를 생성하도록 하는 동작을 더 포함할 수 있다.
일 실시예에서, 전자 장치(101)가 수행하는 방법은, 상기 결정된 스테이트 레벨과 상기 현재 스테이트 레벨의 레벨 차이가 일정 레벨 이상인지 판단하는 동작 및 상기 레벨 차이가 일정 레벨 이상임에 대응하여, 힌트를 생성하도록 하는 동작을 더 포함할 수 있다.
이하, 도 7 내지 도 8에 도시된 예시도를 참조하여, 일 실시예에 따른 전자 장치(101)가 딜레이 이벤트를 이용하여 보틀넥 윈도우 스코어(bottleneck window score)를 결정하는 방법에 대해 구체적으로 설명한다.
도 7은 일 실시예에 따른 전자 장치(101)가 생성하는 딜레이 이벤트에 대한 예시도이다.
도 7을 참조하면, 시스템 메인 루퍼 딜레이(main looper delay)에 의해 생성된 딜레이 이벤트(703), 서비스 락 컨텐션(service lock contention)에 의해 생성된 딜레이 이벤트(701, 702) 및 인풋 프레임 워크 딜레이(input framework delay) 컨텐션에 의해 생성된 딜레이 이벤트(704, 705, 706, 707, 708)가 도시되어 있다.
도 7에는, 일정한 시간 간격으로 나누어진 윈도우가 도시되어 있다. 구체적으로, T0-T1까지의 제1 윈도우(711), T1-T2까지의 제2 윈도우(712), T2-T3까지의 제3 윈도우(713), T3-T4까지의 제4 윈도우(714)가 도시되어 있다.
제1 윈도우(711)에는, 서비스 락 컨텐션(service lock contention)에 의한 딜레이 이벤트(701)가 생성되어 있다. 제2 윈도우(712)에는 서비스 락 컨텐션(service lock contention)에 의한 딜레이 이벤트(702)와 시스템 메인 루퍼 딜레이(main looper delay)에 의한 딜레이 이벤트(703)가 생성되어 있다. 제3 윈도우(713)에는 두번의 인풋 프레임 워크 딜레이(input framework delay)에 의한 두개의 딜레이 이벤트(704, 705)가 생성되어 있다. 제4 윈도우(714)에는 세번의 인풋 프레임 워크 딜레이(input framework delay)에 의한 두개의 딜레이 이벤트(706, 707,708)가 생성되어 있다.
도 8은 본 발명의 일 실시예에 따른 전자 장치(101)가 보틀넥 윈도우 스코어(bottleneck window score)를 계산하는 방법에 대한 예시도이다.
도 8을 참조하면, 전자 장치(101)는 생성된 딜레이 이벤트들에 대해 각 딜레이 이벤트를 생성시킨 원인에 따라 나누어서 점수를 계산할 수 있다. 구체적으로, 서비스 락 컨텐션(service lock contention)에 의해 생성된 딜레이 이벤트에 대한 스코어(801), 시스템 메인 루퍼 딜레이(main looper delay)에 의해 생성된 딜레이 이벤트에 대한 스코어(802), 인풋 프레임 워크 딜레이(input framework delay) 컨텐션에 의해 생성된 딜레이 이벤트에 대한 스코어(803)를 각각 계산할 수 있다.
도 8에 도시된 바와 같이, 전자 장치(101)는 상기 각각 계산된 스코어(801, 802, 803)에 기반하여 보틀넥 스코어(bottleneck score)(804)를 결정할 수 있다.
전자 장치(101)는 보틀넥 스코어(bottleneck score)(804)에 상태를 나타내는 파라미터 값에 가중치를 준 결과 값(805)을 연산하여 보틀넥 윈도우 스코어(bottleneck window score)를 결정할 수 있다. 상기 상태를 나타내는 파라미터란, 전자 장치(101)에 포함되거나 작동적으로 연결된 LCD 상태, 전자 장치(101)에 포함되거나 작동적으로 연결된 리소스 제한 상태 및/또는 PSI(pressure stall info)를 포함할 수 있다. 상기 LCD 상태란, 전자 장치(400)의 LCD가 off 상태인지 여부를 의미할 수 있다.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어™)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.

Claims (15)

  1. 전자 장치에 있어서,
    통신 회로;
    메모리; 및
    상기 통신 회로, 및 상기 메모리에 작동적으로 연결되는 적어도 하나의 프로세서를 포함하고,
    상기 메모리는, 상기 프로세서가, 실행 시에,
    상기 전자 장치의 지연 상황 발생에 기반하여, 딜레이 이벤트를 식별하고,
    상기 전자 장치의 상태를 나타내는 파라미터를 필터링하고,
    상기 식별된 딜레이 이벤트 또는 상기 필터링된 파라미터 중 적어도 하나에 기반하여 제1 스코어를 결정하고,
    상기 결정된 제1 스코어에 기반하여, 스테이트 레벨을 결정하고,
    상기 스테이트 레벨에 대응하는 힌트를 생성하고,
    상기 생성된 힌트에 기반하여 상기 전자 장치의 리소스를 제어하도록 하는 인스트럭션들을 저장하는, 전자 장치.
  2. 청구항 1에 있어서,
    상기 인스트럭션들은, 상기 프로세서가,
    기 설정된 단위 시간 동안, 상기 생성된 이벤트의 수에 기반하여 상기 설정된 단위 시간 동안의 상기 제1 스코어를 결정하도록 하는,
    전자 장치.
  3. 청구항 1에 있어서,
    상기 파라미터는, 상기 딜레이 이벤트, 상기 전자 장치에 포함되거나 작동적으로 연결된 LCD의 작동 상태, 리소스 제한 상태 또는 PSI(pressure stall info) 중 적어도 하나를 포함하는,
    전자 장치.
  4. 청구항 1에 있어서,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 전자 장치에 포함되거나 작동적으로 연결된 LCD의 작동 상태가 오프(off) 상태임에 응답하여, 상기 생성된 딜레이 이벤트를 무시 처리하도록 하는,
    전자 장치.
  5. 청구항 1에 있어서,
    상기 지연 상황은, 상기 딜레이 이벤트, 상기 전자 장치에 포함되거나 작동적으로 연결된 시스템의 메인 루퍼 딜레이(main looper delay), 서비스 락 컨텐션(service lock contention) 또는 인풋 프레임 워크 딜레이(input framework delay) 중 적어도 하나를 포함하는,
    전자 장치.
  6. 청구항 1에 있어서,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 파라미터가 임계값을 넘는지 확인하고,
    상기 파라미터가 임계값을 넘는 것에 응답하여, 상기 제1 스코어를 결정하는 상기 파라미터로 필터링하도록 하는.
    전자 장치.
  7. 청구항 1에 있어서,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 생성된 딜레이 이벤트에 기반하여 제2 스코어를 결정하고,
    상기 필터링된 파라미터 중 적어도 하나에 기반하여 제3 스코어를 결정하고,
    상기 제2 스코어와 상기 제3 스코어를 연산하여 상기 제1 스코어를 결정하도록 하는,
    전자 장치.
  8. 청구항 7에 있어서,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 제2 스코어 또는 상기 제3 스코어 중 적어도 하나에 가중치를 주어 연산하도록 하는,
    전자 장치.
  9. 청구항 1에 있어서,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 결정된 스테이트 레벨과 현재 스테이트 레벨이 다름에 응답하여, 상기 힌트를 생성하도록 하는,
    전자 장치.
  10. 청구항 1에 있어서,
    상기 인스트럭션들은, 상기 프로세서가,
    상기 결정된 스테이트 레벨과 상기 현재 스테이트 레벨의 레벨 차이가 일정 레벨 이상인지 판단하고,
    상기 레벨 차이가 일정 레벨 이상임에 대응하여, 상기 힌트를 생성하도록 하는,
    전자 장치.
  11. 전자 장치가 수행하는 방법에 있어서,
    상기 전자 장치에 포함되거나 상기 전자 장치에 연결된 메모리에 대한 프로세스가 실행되면, 상기 전자 장치의 지연 상황 발생에 기반하여, 딜레이 이벤트를 식별하는 동작;
    상기 전자 장치의 상태를 나타내는 파라미터를 필터링하는 동작;
    상기 식별된 딜레이 이벤트 또는 상기 필터링된 파라미터 중 적어도 하나에 기반하여 제1 스코어를 결정하는 동작;
    상기 결정된 제1 스코어에 기반하여, 스테이트 레벨을 결정하는 동작;
    상기 스테이트 레벨에 대응하는 힌트를 생성하는 동작; 및
    상기 생성된 힌트에 기반하여 상기 전자 장치의 리소스를 제어하도록 하는 동작을 포함하는,
    방법.
  12. 청구항 11에 있어서,
    기 설정된 단위 시간 동안, 상기 생성된 이벤트의 수에 기반하여 상기 설정된 단위 시간 동안의 상기 제1 스코어를 결정하도록 하는 동작을 더 포함하는,
    방법.
  13. 청구항 11에 있어서,
    상기 파라미터는, 상기 딜레이 이벤트, 상기 전자 장치에 포함되거나 작동적으로 연결된 LCD의 작동 상태, 리소스 제한 상태 또는 PSI(pressure stall info) 중 적어도 하나를 포함하는,
    방법.
  14. 청구항 11에 있어서,
    상기 파라미터가 임계값을 넘는지 확인하는 동작; 및
    상기 파라미터가 임계값을 넘는 것에 응답하여, 상기 제1 스코어를 결정하는 상기 파라미터로 필터링하도록 하는 동작을 더 포함하는,
    방법.
  15. 청구항 11에 있어서,
    상기 결정된 스테이트 레벨과 현재 스테이트 레벨이 다름에 응답하여, 상기 힌트를 생성하도록 하는 동작을 더 포함하는,
    방법.
PCT/KR2021/018485 2021-01-12 2021-12-07 전자 장치 및 전자 장치의 동작 방법 WO2022154264A1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/350,384 US20230350730A1 (en) 2021-01-12 2023-07-11 Electronic device and operation method of electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2021-0003686 2021-01-12
KR1020210003686A KR20220101789A (ko) 2021-01-12 2021-01-12 전자 장치 및 전자 장치의 동작 방법

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/350,384 Continuation US20230350730A1 (en) 2021-01-12 2023-07-11 Electronic device and operation method of electronic device

Publications (1)

Publication Number Publication Date
WO2022154264A1 true WO2022154264A1 (ko) 2022-07-21

Family

ID=82447453

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2021/018485 WO2022154264A1 (ko) 2021-01-12 2021-12-07 전자 장치 및 전자 장치의 동작 방법

Country Status (3)

Country Link
US (1) US20230350730A1 (ko)
KR (1) KR20220101789A (ko)
WO (1) WO2022154264A1 (ko)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024076068A1 (ko) * 2022-10-06 2024-04-11 삼성전자주식회사 복수의 프로세스들의 릴리즈를 제어하기 위한 전자 장치 및 그 방법

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060079244A (ko) * 2003-10-29 2006-07-05 인터내셔널 비지네스 머신즈 코포레이션 정보 시스템, 부하 제어 방법, 부하 제어 프로그램 및 기록매체
WO2011142031A1 (ja) * 2010-05-14 2011-11-17 株式会社日立製作所 リソース管理方法、リソース管理装置およびプログラム
KR20130114697A (ko) * 2011-01-05 2013-10-17 알까뗄 루슨트 기업 애플리케이션의 끊김없는 스케일링
KR20140077769A (ko) * 2012-12-14 2014-06-24 한국전자통신연구원 적응형 자원 할당 및 관리 방법
US20150020076A1 (en) * 2013-07-09 2015-01-15 International Business Machines Corporation Method to apply perturbation for resource bottleneck detection and capacity planning

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060079244A (ko) * 2003-10-29 2006-07-05 인터내셔널 비지네스 머신즈 코포레이션 정보 시스템, 부하 제어 방법, 부하 제어 프로그램 및 기록매체
WO2011142031A1 (ja) * 2010-05-14 2011-11-17 株式会社日立製作所 リソース管理方法、リソース管理装置およびプログラム
KR20130114697A (ko) * 2011-01-05 2013-10-17 알까뗄 루슨트 기업 애플리케이션의 끊김없는 스케일링
KR20140077769A (ko) * 2012-12-14 2014-06-24 한국전자통신연구원 적응형 자원 할당 및 관리 방법
US20150020076A1 (en) * 2013-07-09 2015-01-15 International Business Machines Corporation Method to apply perturbation for resource bottleneck detection and capacity planning

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024076068A1 (ko) * 2022-10-06 2024-04-11 삼성전자주식회사 복수의 프로세스들의 릴리즈를 제어하기 위한 전자 장치 및 그 방법

Also Published As

Publication number Publication date
US20230350730A1 (en) 2023-11-02
KR20220101789A (ko) 2022-07-19

Similar Documents

Publication Publication Date Title
WO2021075786A1 (en) Electronic device and method of processing pop-up window using multi-window thereof
WO2022154264A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2020226332A1 (en) Electronic device and control method thereof
WO2022154263A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2022177162A1 (ko) 어플리케이션의 모델 파일을 초기화하는 프로세서 및 이를 포함하는 전자 장치
WO2022154286A1 (ko) 사용자 인터페이스를 제공하는 방법 및 그 전자 장치
WO2022196939A1 (ko) 대체 컨텐츠를 제공하는 전자 장치 및 그의 동작 방법
WO2022065845A1 (ko) 입력 데이터 처리 방법 및 이를 지원하는 전자 장치
WO2022098195A1 (ko) 플렉스 모드로 동작하는 전자 장치 및 방법
WO2022080683A1 (ko) 무선 오디오 출력 장치의 연결 제어 방법 및 장치
WO2022103019A1 (ko) 전자 장치 및 전자 장치의 어플리케이션 실행 방법
WO2022191400A1 (ko) 반응성의 레벨을 결정하는 프로세서 및 이를 포함하는 전자 장치
WO2022177061A1 (ko) 비정상적인 앱을 백그라운드에서 미리 로딩하는 전자 장치 및 그의 동작 방법
WO2023013945A1 (ko) 무선 통신으로 인한 노이즈를 제어하는 전자 장치 및 그의 동작 방법
WO2023158136A1 (ko) 메모리 제어 방법 및 상기 방법을 수행하는 전자 장치
WO2022025375A1 (ko) 오디오의 채널의 수를 변환하는 전자 장치 및 전자 장치의 동작 방법
WO2022245116A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2022215859A1 (ko) 캡쳐 기능을 수행하는 전자 장치 및 전자 장치의 동작 방법
WO2024101916A1 (ko) 장치 설정 방법 및 이를 지원하는 전자 장치
WO2023033311A1 (ko) 그래픽 어포던스와 매칭된 기능을 수행하는 전자 장치 및 그 전자 장치의 동작 방법
WO2023003233A1 (ko) 전자 장치 및 그의 동작 방법
WO2022240031A1 (ko) 전자 장치 및 전자 장치의 파일 관리 방법
WO2022080652A1 (ko) 저널 파일을 관리하는 전자 장치 및 이의 동작 방법
WO2024025194A1 (ko) 알림과 관련된 동작을 수행하기 위한 방법 및 이를 지원하는 전자 장치
WO2022231179A1 (ko) 전자 장치 및 전자 장치의 동작 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21919888

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21919888

Country of ref document: EP

Kind code of ref document: A1