WO2024085665A1 - 디스플레이의 동기화를 위한 전자 장치 및 방법 - Google Patents

디스플레이의 동기화를 위한 전자 장치 및 방법 Download PDF

Info

Publication number
WO2024085665A1
WO2024085665A1 PCT/KR2023/016198 KR2023016198W WO2024085665A1 WO 2024085665 A1 WO2024085665 A1 WO 2024085665A1 KR 2023016198 W KR2023016198 W KR 2023016198W WO 2024085665 A1 WO2024085665 A1 WO 2024085665A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
synchronization signal
electronic device
vertical synchronization
software
Prior art date
Application number
PCT/KR2023/016198
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
Priority claimed from KR1020220161792A external-priority patent/KR20240055586A/ko
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Priority to EP23786459.0A priority Critical patent/EP4380146A1/en
Publication of WO2024085665A1 publication Critical patent/WO2024085665A1/ko

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/363Graphics controllers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/18Timing circuits for raster scan displays

Definitions

  • One embodiment of this document relates to an electronic device and method for synchronizing displays.
  • Electronic devices are being provided in various forms such as smart phones, tablet personal computers (PCs), or personal digital assistants (PDAs). Electronic devices are also being developed in a form that can be worn by the user to improve portability and user accessibility.
  • PCs tablet personal computers
  • PDAs personal digital assistants
  • the electronic device may generate a vertical synchronization signal (VERTICAL-SYNC) to synchronize the frame generation of the system and the frame output timing of the display device.
  • the vertical synchronization signal (VERTICAL-SYNC) is generated by the hardware (H/W) according to the FPS, and if the system for frame processing (e.g. CPU and GPU operation) and the display are not synchronized, tearing of the video occurs. ) may occur.
  • the electronic device may generate a software vertical synchronization signal (S/W V-SYNC) to improve the efficiency of parallelization of the graphics pipeline for synchronization between software components.
  • Electronic devices can receive the hardware vertical synchronization signal (H/W V-SYNC) from the system to S/W through an interrupt method and use it as a synchronization signal for the graphics framework within the system.
  • H/W V-SYNC hardware vertical synchronization signal
  • the system load increases because the hardware vertical synchronization signal (H/W V-SYNC) generated through hardware is detected in an interrupt-like manner and the software vertical synchronization signal (S/W V-Sync) is processed through software through the CPU.
  • the time difference between the hardware vertical synchronization signal (H/W V-SYNC) and the software vertical synchronization signal (S/W V-Sync) becomes longer, and the rendering time becomes shorter accordingly.
  • the occurrence of frame drops may increase.
  • an electronic device and method for display synchronization may be provided to improve system responsiveness.
  • an electronic device may include a memory including a software module, a display, and at least one processor electrically connected to the memory and the display.
  • the software module may allocate hardware resources necessary for rendering the frame based on a request from the electronic device to render the frame to be displayed on the display. .
  • the software module may identify whether the frame has changed and obtain changed system parameters of the frame based on identifying the change in the frame.
  • the software module may be set to obtain offset information set in response to the changed system parameter from the memory and output a software vertical synchronization signal set by applying the offset information.
  • an operating method in an electronic device includes allocating hardware resources necessary for rendering a frame based on a request for rendering a frame to be displayed on the display by a software module (OS) of the electronic device.
  • the operating method may include an operation of identifying whether the frame has changed.
  • the operating method may include obtaining changed system parameters of the frame based on identifying a change in the frame.
  • the operating method may include obtaining offset information set in response to the changed system parameter from a memory of the electronic device and outputting a software vertical synchronization signal set by applying the offset information. there is.
  • FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments.
  • FIG. 2 is a diagram illustrating an example of the configuration of an electronic device for wireless communication according to an embodiment.
  • FIG. 3 is a diagram illustrating an example of the configuration of an electronic device for wireless communication according to an embodiment.
  • FIG. 4 is a diagram illustrating an example of an operation method in an electronic device according to an embodiment.
  • FIG. 5 is a diagram illustrating an example of a database of synchronization data in an electronic device according to an embodiment.
  • FIG. 6 is a diagram illustrating an example of an operation method in an electronic device according to an embodiment.
  • FIG. 7A is a diagram illustrating an example of the output of a software vertical synchronization signal according to frame drop improvement in an electronic device according to an embodiment
  • FIG. 7B is a diagram illustrating an example of the output of a software vertical synchronization signal in which frame drops are not improved in an electronic device according to an embodiment.
  • FIG. 8 is a diagram illustrating an example of an operation method in an electronic device according to an embodiment.
  • FIG. 9A is a diagram illustrating an example of the output of a software vertical synchronization signal according to improved responsiveness in an electronic device according to an embodiment.
  • FIG. 9B is a diagram illustrating an example of the output of a software vertical synchronization signal in which responsiveness is not improved in an electronic device according to an embodiment.
  • the term user used in various embodiments may refer to a person using an electronic device or a device (eg, an artificial intelligence electronic device) using the electronic device.
  • a device eg, an artificial intelligence electronic device
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100, according to various embodiments.
  • the electronic device 101 communicates with the electronic device 102 through a first network 198 (e.g., a short-range wireless communication network) or a second network 199. It is possible to communicate with at least one of the electronic device 104 or the server 108 through (e.g., a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108.
  • a first network 198 e.g., a short-range wireless communication network
  • a second network 199 e.g., a long-distance wireless communication network.
  • 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, an audio 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 may include an antenna module 197.
  • at least one of these components eg, the connection terminal 178) may be omitted or one or more other components may be added to the electronic device 101.
  • some of these components e.g., sensor module 176, camera module 180, or antenna module 197) are integrated into one component (e.g., display module 160). It can be.
  • the processor 120 for example, executes software (e.g., program 140) to operate at least one other component (e.g., hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and various data processing or calculations can be performed. According to one embodiment, as at least part of data processing or computation, the processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132. The commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134.
  • software e.g., program 140
  • the processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132.
  • the commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134.
  • the processor 120 includes a main processor 121 (e.g., a central processing unit or an application processor) or an auxiliary processor 123 that can operate independently or together (e.g., a graphics processing unit, a neural network processing unit ( It may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor).
  • a main processor 121 e.g., a central processing unit or an application processor
  • auxiliary processor 123 e.g., a graphics processing unit, a neural network processing unit ( It may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor.
  • the electronic device 101 includes a main processor 121 and a secondary processor 123
  • the secondary processor 123 may be set to use lower power than the main processor 121 or be specialized for a designated function. You can.
  • the auxiliary processor 123 may be implemented separately from the main processor 121 or as part of it.
  • the auxiliary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or while the main processor 121 is in an active (e.g., application execution) state. ), together with the main processor 121, at least one of the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) At least some of the functions or states related to can be controlled.
  • co-processor 123 e.g., image signal processor or communication processor
  • may be implemented as part of another functionally related component e.g., camera module 180 or communication module 190. there is.
  • the auxiliary processor 123 may include a hardware structure specialized for processing artificial intelligence models.
  • Artificial intelligence models can be created through machine learning. For example, such learning may be performed in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (e.g., server 108).
  • Learning algorithms may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but It is not limited.
  • An artificial intelligence model may include multiple artificial neural network layers.
  • Artificial neural networks include deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), restricted boltzmann machine (RBM), belief deep network (DBN), bidirectional recurrent deep neural network (BRDNN), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the examples described above.
  • artificial intelligence models may additionally or alternatively include software structures.
  • 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. Data may include, for example, input data or output data for software (e.g., program 140) and instructions related thereto.
  • Memory 130 may include volatile memory 132 or 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 application 146.
  • the input module 150 may receive commands or data to be used in a component of the electronic device 101 (e.g., the processor 120) from outside the electronic device 101 (e.g., a user).
  • the input module 150 may include, for example, a microphone, mouse, keyboard, keys (eg, buttons), or digital pen (eg, stylus pen).
  • the sound output module 155 may output sound signals to the outside of the electronic device 101.
  • the sound output module 155 may include, for example, a speaker or a receiver. Speakers 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 the speaker or as part of it.
  • the display module 160 can visually provide information to the outside of the electronic device 101 (eg, a user).
  • the display module 160 may include, for example, a display, a hologram device, or a projector, and a control circuit for controlling the device.
  • the display module 160 may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of force generated by the touch.
  • the audio module 170 can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device (e.g., directly or wirelessly connected to the electronic device 101). Sound may be output through the electronic device 102 (e.g., speaker or headphone).
  • the electronic device 102 e.g., speaker or headphone
  • the sensor module 176 detects the operating state (e.g., power or temperature) of the electronic device 101 or the external environmental state (e.g., user state) and generates an electrical signal or data value corresponding to the detected state. can do.
  • the sensor module 176 includes, for example, a gesture sensor, a gyro sensor, an air 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, humidity sensor, or light sensor.
  • the interface 177 may support one or more designated protocols that can be used to connect the electronic device 101 directly or wirelessly 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.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card interface
  • audio interface audio interface
  • 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 can convert electrical signals into mechanical stimulation (e.g., vibration or movement) or electrical stimulation that the user can perceive through tactile or kinesthetic senses.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 can capture still images and moving images.
  • the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 can manage power supplied to the electronic device 101.
  • the power management module 188 may be implemented as at least a part of, for example, 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.
  • the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
  • Communication module 190 is configured to provide a direct (e.g., wired) communication channel or wireless communication channel between electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108). It can support establishment and communication through established communication channels. Communication module 190 operates independently of processor 120 (e.g., an application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication.
  • processor 120 e.g., an application processor
  • the communication module 190 is a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., : LAN (local area network) communication module, or power line communication module) may be included.
  • a wireless communication module 192 e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module
  • GNSS global navigation satellite system
  • wired communication module 194 e.g., : LAN (local area network) communication module, or power line communication module
  • the corresponding communication module is a first network 198 (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (e.g., legacy It may communicate with an external electronic device 104 through a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN).
  • a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN).
  • a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN).
  • a telecommunication network such as a cellular network, a 5G network, a next-generation communication network
  • the wireless communication module 192 uses subscriber information (e.g., 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 e.g., International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the wireless communication module 192 may support 5G networks after 4G networks and next-generation communication technologies, for example, NR access technology (new radio access technology).
  • NR access technology provides 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)) can be supported.
  • the wireless communication module 192 may support high frequency bands (eg, mmWave bands), for example, to achieve high data rates.
  • the wireless communication module 192 uses various technologies to secure performance in high frequency bands, for example, beamforming, massive array multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. It can support technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna.
  • the wireless communication module 192 may support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., second network 199).
  • the wireless communication module 192 supports peak data rate (e.g., 20 Gbps or more) for realizing 1eMBB, loss coverage (e.g., 164 dB or less) for realizing mmTC, or U-plane latency (e.g., 164 dB or less) for realizing URLLC.
  • peak data rate e.g., 20 Gbps or more
  • loss coverage e.g., 164 dB or less
  • U-plane latency e.g., 164 dB or less
  • the antenna module 197 may transmit or receive signals or power to or from the outside (eg, an external electronic device).
  • the antenna module 197 may include an antenna including a radiator made of a conductor or a conductive pattern formed on a substrate (eg, PCB).
  • 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 to the plurality of antennas by, for example, the communication module 190. can be selected. Signals or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna.
  • other components eg, radio frequency integrated circuit (RFIC) may be additionally formed as part of the antenna module 197.
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • a mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., mmWave band); And a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band. can do.
  • a mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., mmWave band); And a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side)
  • peripheral devices e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • signal e.g. commands or data
  • commands 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 of the same or different type as the electronic device 101.
  • all or part of the operations performed in the electronic device 101 may be executed in one or more of the external electronic devices 102, 104, or 108.
  • the electronic device 101 may perform the function or service instead of executing the function or service on its own.
  • one or more external electronic devices may be requested to perform at least part of the function or service.
  • One or more external electronic devices that have received the request may execute at least part of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device 101.
  • the electronic device 101 may process the result as is or additionally and provide it as at least part of a response to the request.
  • cloud computing distributed computing, mobile edge computing (MEC), or client-server computing technology can 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.
  • Server 108 may be an intelligent server using machine learning and/or neural networks.
  • the external electronic device 104 or server 108 may be included in the second network 199.
  • the electronic device 101 may be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
  • FIG. 2 is a diagram illustrating an example configuration of an electronic device according to various embodiments.
  • Figure 3 is a diagram showing the configuration of an electronic device according to an embodiment.
  • the electronic device 101 includes a software module 201 (e.g., program 140 of FIG. 1) for executing display synchronization to improve system response.
  • the memory 130 of the electronic device 101 may store instructions (eg, instructions) to implement the software module 201 shown in FIG. 2 .
  • At least one processor 120 may execute instructions stored in the memory 130 to implement the software module 201 shown in FIG. 2, and may execute hardware associated with the function of the software module 201 (e.g., FIG. 1 sensor module 176, power management module 188, or communication module 190) can be controlled.
  • the software module 201 of the electronic device 101 includes a kernel (or HAL) 220 (e.g., the operating system 142 of FIG. 1) and a framework (e.g., the middleware 144 of FIG. 1). ) 230 and an application 240 (e.g., the application 146 of FIG. 1 ) may be set to be preloaded on the electronic device 101 .
  • the software module 201 may be downloaded from a server (eg, the server 108) and may include a synchronization module 210 to perform display synchronization to improve system response.
  • the synchronization module 210 may be included in the kernel 220 and may include a synchronization monitor 211, a synchronization timer 213, a synchronization data module 215, and a synchronization core 217.
  • the kernel 220 may be configured to include, for example, an event subsystem and a display driver subsystem.
  • the kernel 220 includes a key driver that delivers system events to the event subsystem, a telephony service provider (TSP) driver, and a system that generates a CPU clock. It may be included, and is not limited to this, and may be set to further include other modules (or drivers).
  • the kernel 220 may be configured to include a display driver 221 and a GPU driver 223.
  • the display driver 221 receives a commit (e.g., frame update) command from the display driver subsystem and transmits it to the synchronization module 210, and vertically synchronizes the software received from the synchronization module 210.
  • a commit e.g., frame update
  • a signal can be transmitted to the framework 230 through a display driver subsystem.
  • the GPU driver 223 receives a commit (e.g., frame update) command from the display driver subsystem, obtains information related to the graphics of the frame to be rendered through commit, and obtains Information related to one graphic may be transmitted to the synchronization module 210.
  • a commit e.g., frame update
  • the framework 230 may be set to include a graphics framework 231 and an event framework 233, but is not limited to other modules. It can be set to further include.
  • the framework 230 provides functions commonly required by the application 240 or provides an application programming interface (API) (as shown) so that the application 240 can efficiently use limited system resources inside the electronic device 101. (not provided) can provide various functions as an application 240.
  • the graphics framework 231 may manage rendering processing of frames displayed on the display of the display module 160.
  • the event framework 233 can manage system events delivered from the event subsystem of the kernel 220 and manage system events received from the application 240.
  • the framework 230 may provide specialized modules for each type of operating system to provide differentiated functions.
  • the framework 230 may dynamically delete some existing components or add new components.
  • the application 240 may be set to include a system user interface (UI: user interface) and applications (eg, modules, managers, or programs) related to capturing, creating, editing, or executing images.
  • the application 240 further includes a module (or application) (not shown) for wireless communication with an external electronic device (e.g., the electronic devices 102 and 104 of FIG. 1 or the server 108 or similar). It can be.
  • Application 240 may include an application received from an external electronic device (eg, server 108 or electronic devices 102, 104, or similar).
  • the application 240 may include a preloaded application or a third party application that can be downloaded from a server.
  • the components and names of the components of the software module 201 may vary depending on the type of operating system.
  • At least a portion of the software module 201 may be implemented as software, firmware, hardware, or a combination of at least two or more thereof. At least a portion of the software module 201 may be implemented (eg, executed, performed) by, for example, a processor (eg, AP). At least a portion of the software module 201 may include, for example, at least one of a module, program, routine, set of instructions, or process for performing at least one function.
  • the processor 120 of the electronic device 101 may be electrically or operationally connected to the display module 160.
  • the processor 120 may control the execution (e.g., implementation) of the software module 201.
  • the processor 120 may control the system UI and/or the application included in the application 240 of the software module 201.
  • the processor 120 may control the display module 160 to display an image related to the application (for example, a thumbnail displayed on the home screen or the UI of the application).
  • the software module 201 may render (e.g., graphically process) frame data of an application image for display under the control of the processor, and may transmit the rendering result of the frame data to the frame buffer.
  • the processor 120 may control the display module 160 to read the rendering result processed by the software module 201 from the frame buffer and display it on the display.
  • the processor 120 may control execution of the software module 201 to start rendering frame data based on a software vertical synchronization signal output (eg, generated) by the module 210.
  • a software vertical synchronization signal output eg, generated
  • the display processor 160 may control the hardware to output the hardware vertical synchronization signal at a specified period.
  • the display module 160 can be controlled by the software module 201 to display the rendering result of the frame on the display.
  • the graphics framework 231 of the software module 201 renders at least one frame (e.g., frame data) of an image to be displayed on the display from the application 240.
  • the graphics framework 231 allocates hardware resources necessary for rendering the current frame (here, the current frame is the frame currently being rendered) and issues a commit command for the current frame requiring rendering. It can be transmitted to the display driver 221.
  • the display driver 221 may transmit the received commit command to the synchronization core 217.
  • the graphics framework 231 may execute frame data processing of the Central Processing Unit (CPU) and the Graphics Processing Unit (GPU) with software (for example, the CPU and GPU use software). frame data processing can be performed).
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the frame may be displayed normally on the display and there may be no delay in displaying the frame. For example, if the CPU and GPU complete processing frame data within a predefined or preset period (e.g., a specified period), there may be no delay in displaying the frame and the frame may appear normally on the display. If the CPU or GPU cannot complete processing of one frame data (e.g., at least one frame data) within one cycle, the frame may be displayed normally on the display, but a delay may occur for displaying the frame. For example, if the CPU and GPU are unable to complete processing of frame data within a predefined or preset time period, there may be a delay in displaying the frame on the display until processing is complete.
  • a predefined or preset period e.g., a specified period
  • the graphics framework 231 uses the software vertical synchronization signal newly generated in the synchronization module 210 to generate one frame data (e.g., data) within one cycle by the CPU and GPU.
  • Frame data processing e.g., rendering
  • the CPU and GPU can complete frame data processing within one cycle, reducing the occurrence of delay in displaying processed frames and improving responsiveness. You can.
  • the synchronization core 217 acquires graphics-related information (e.g., graphics geometry information) of the current frame based on the received commit command, and combines the obtained graphics-related information of the current frame with the graphics-related information of the previous frame. Information can be compared to determine whether there are differences between the current frame and a previous frame (e.g., a previously rendered frame) (for example, it may be determined that there are differences in graphics geometry information between the current frame and the previous frame).
  • graphics-related information e.g., graphic geometry information
  • graphics-related information refers to the shape, size, relative position of geometric objects, and spatial properties of geometric objects such as points, lines, faces, volumes of a frame, and shapes contained in the frame. It may include geometric information or address, size and format (e.g. RGB, YcbCr) information of the frame buffer.
  • the synchronization core 217 can identify that there is a frame change if there is a difference between the current frame and the previous frame. In order to improve the delay in system response due to frame changes, the synchronization core 217 does not output a software vertical synchronization signal based on the period of the hardware vertical synchronization signal, but uses a synchronization timer 213 to output a new software vertical synchronization signal. ), you can transmit commands.
  • the synchronization core 217 may obtain offset information based on information related to the current frame from the synchronization data module 215 and transmit the obtained offset information to the synchronization timer 213.
  • the synchronization core 217 calculates the offset information of the optimized software vertical synchronization signal of the current frame obtained by the change, classifies the calculated offset information into the current system parameters, and stores the offset information in the memory 130 by the synchronization data module 215. It can be saved in .
  • the output time of the software vertical synchronization signal may be earlier than the output time of the hardware vertical synchronization signal 251.
  • the synchronization core 217 determines whether a frame drop occurs (e.g., a delay occurs when processing frame data, resulting in frame display) to calculate the offset information of the software vertical synchronization signal. frame drops or when frames cannot be displayed at all), how often they occur based on when they occur, and the delay in frame drops (i.e., the time that elapses between when a frame should be displayed normally and when the frame is displayed). time) can be obtained.
  • the synchronization core 217 provides information related to the frame drop, including the frequency of occurrence of the frame drop, the average time for the delay time of the frame drop, and the time difference average value calculated by averaging the time difference transmitted from the synchronization timer 213.
  • T diff average can be classified based on pre-specified system parameters, and information related to frame drops and time difference average value classified based on pre-specified system parameters can be obtained as synchronization data.
  • the synchronization data module 215 may store synchronization data in the synchronization data database of the memory 130.
  • the pre-specified system parameter may include at least one of FPS, CPU clock, GPU clock, or thermal status.
  • the database of synchronization data contains information related to frame drops (e.g., frequency (%) and average time (usec) of frame drops) mapped to system parameters (e.g., at least one of FPS, CPU clock, GPU clock, or thermal status), and The time difference average may be included.
  • the synchronization core 217 sends a command to immediately output a software vertical synchronization signal when a fast response event (e.g., user input, fingerprint recognition, or facial recognition, etc.) occurs in an idle state. It can be transmitted to the synchronization timer (213). Due to this, the software module 201 processes the synchronization core 217 to immediately output the software vertical synchronization signal without waiting for the output of the next hardware vertical synchronization signal, so that the system responds quickly and immediately, improving system responsiveness. It can be improved.
  • a fast response event e.g., user input, fingerprint recognition, or facial recognition, etc.
  • the synchronization timer 213 is a new software vertical application that applies offset information obtained from a database of synchronization data stored in the memory 130 based on information related to the current frame to be rendered received from the operation core 217.
  • a synchronization signal can be set (e.g. generated or determined) and the set software vertical synchronization signal can be output.
  • the software vertical synchronization signal may be transmitted to the display driver 221 through the synchronization core 217 and may be transmitted to the graphics framework 231 by the display driver 221.
  • the synchronization timer 213 may monitor the period of the software vertical synchronization signal and calculate the time difference value (T diff ) of the software vertical synchronization signal based on the hardware vertical synchronization signal.
  • the time difference value (T diff ) may be a value representing the time difference between the hardware vertical synchronization signal and the software vertical synchronization signal.
  • the synchronization monitor 211 may be operatively connected to the display module 160 of the hardware device 203 and monitor a hardware vertical synchronization signal output from the display module 160.
  • the synchronization monitor 211 may record the output time of the hardware vertical synchronization signal and provide the output time of the hardware vertical synchronization signal to another module of the software module 201.
  • the main components of the electronic device 101 of FIGS. 1, 2, and 3 are described. However, in various embodiments, not all of the components shown in FIGS. 1, 2, and 3 are essential components, and the electronic device 101 may be implemented with more components than the components shown. The electronic device 101 may be implemented with fewer components. Additionally, the positions of the main components of the electronic device 101 described above with reference to FIGS. 1, 2, and 3 may be changed according to various embodiments.
  • an electronic device (e.g., the electronic device 101 of FIGS. 1, 2, and 3) includes a memory (e.g., the software module 201 of FIGS. 2 and 3) including a software module.
  • the software module when executed by the at least one processor, may be configured to cause the electronic device to allocate hardware resources necessary for rendering the frame based on a request for rendering the frame to be displayed on the display.
  • the software module when executed by the at least one processor, may be set to enable the electronic device to identify whether the frame has been changed.
  • the software module when executed by the at least one processor, may be configured to cause the electronic device to obtain changed system parameters of the frame based on identifying a change in the frame. there is.
  • the software module when executed by the at least one processor, causes the electronic device to obtain offset information set in response to the changed system parameter from the memory and apply the offset information. It can be set to output a set software vertical synchronization signal.
  • the offset information includes an average value of the time difference between a hardware vertical synchronization signal and a software vertical synchronization signal, and may be mapped with information related to the system parameter and frame drop and stored in the memory.
  • the software module when executed by the at least one processor, causes the electronic device to generate the software vertical synchronization signal based on the occurrence of a fast response event, regardless of the period of the hardware vertical synchronization signal. It can be set to occur.
  • the software vertical synchronization signal may be output immediately when a fast response event is generated by a synchronization timer included in the software module.
  • the output time of the software vertical synchronization signal may be earlier than the output time of the hardware vertical synchronization signal.
  • the software module when executed by the at least one processor, causes the electronic device to change system parameters of the frame, change graphics-related information of the frame, or occur a frame drop. , can be set to identify that the frame has been changed.
  • the software module when executed by the at least one processor, causes the electronic device to monitor the hardware vertical synchronization signal and the software vertical synchronization signal, and monitor the hardware vertical synchronization signal and the software It may be set to obtain a time difference value between vertical synchronization signals and update the average time difference value stored in the memory by reflecting the time difference value.
  • the software module when executed by the at least one processor, causes the electronic device to identify whether a frame drop has occurred and, based on identifying the occurrence of the frame drop, to cause the electronic device to drop the frame.
  • Obtain the frequency or average time map the frequency of frame drop and the average time to the system parameter due to the frame drop, store it in the memory, and apply offset information set corresponding to the system parameter due to the frame drop. It can be set to output a new software vertical synchronization signal.
  • the system parameter may include at least one of FPS, CPU clock, GPU clock, or thermal status.
  • the software module may include a graphics framework and a synchronization module that processes rendering of the frame.
  • the synchronization module includes a synchronization core that identifies a change in the frame based on the frame rendering request and obtains the offset information, a synchronization timer that outputs the software vertical synchronization signal, and the synchronization data module that manages the offset information. and a synchronization monitor that monitors the software vertical synchronization signal and the hardware vertical synchronization signal output from the display module.
  • FIG. 4 is a diagram illustrating an example of an operating method in an electronic device according to an embodiment
  • FIG. 5 is a diagram illustrating an example of a database of synchronization data in an electronic device according to an embodiment.
  • an electronic device may display information displayed on a display (e.g., an image such as an object or graphic element, or shape) or screen can be identified as needing change.
  • a display e.g., an image such as an object or graphic element, or shape
  • the electronic device 101 may identify that the information or screen displayed on the display is changed due to a user's request or screen update.
  • the electronic device processes rendering of frames requiring change by a software module (e.g., the software module 201 in FIGS. 2 and 3) based on a request to change the display (e.g., displayed information, such as UI).
  • operations as shown in FIG. 4 can be performed to output a software vertical synchronization signal with an offset applied to display the processed frame on the display.
  • the electronic device may check whether there is a request (or request) for rendering a frame to be displayed on the display by the software module. As a result of the confirmation, if there is a request for rendering a frame, the electronic device may perform operation 403. Otherwise, operation 401 may be performed (for example, if it is determined that frame rendering is not requested, the electronic device may perform operation 401 For example, you can repeat the 401 operation until you identify that a frame has been requested to be rendered.
  • the electronic device may allocate hardware resources necessary for rendering a frame by a software module.
  • the electronic device may identify (or determine or calculate) whether the frame has changed by a software module. As a result of the confirmation, if a frame change is identified, the electronic device may perform operation 407, and if a frame change is not identified, the electronic device may perform operation 401.
  • the software module provides graphics-related information of the current frame and/or system parameters (e.g., pre-specified system parameters) of the current frame (e.g., at least one of FPS, a CPU clock, a GPU clock, or thermal status). may be acquired (or received or generated), and the difference between the current frame and the previous frame may be confirmed (or determined or calculated) based on the acquired graphics-related information (e.g., graphic geometry information).
  • system parameters e.g., pre-specified system parameters
  • the software module provides graphics-related information of the current frame and/or system parameters (e.g., pre-specified system parameters) of the current frame (e.g., at least one of FPS, a CPU clock, a GPU clock,
  • the software module may determine (or determine or calculate) that a frame has changed based on the difference between the current frame and the previous frame and/or identifying that a system parameter has changed (e.g., see FIG. 2, the current frame By comparing the graphics-related information obtained from and the graphics-related information of the previous frame, it is possible to check whether there is a difference between the current frame and the previous frame.)
  • the electronic device selects a database of synchronization data (e.g., database 510 of synchronization data of FIG. 5) stored in a memory (e.g., memory 130 of FIG. 1) based on system parameters of the current frame. )), offset information (e.g., information related to frame drop and/or time difference average value described with reference to FIG. 2) can be obtained.
  • a database of synchronization data e.g., database 510 of synchronization data of FIG. 5
  • a memory e.g., memory 130 of FIG. 1
  • offset information e.g., information related to frame drop and/or time difference average value described with reference to FIG. 2
  • the software module identifies that the previous frame had an FPS of 60Hz and the CPU clock and GPU clock were set to 1000Mhz, and the current frame's FPS has changed to 120Hz, it can identify that the system parameters of the current frame have changed. .
  • the software module may obtain offset information set in response to the changed system parameter from a synchronization data database (e.g., the synchronization data database 510 in FIG. 5). For example, if the FPS included in the system parameters of the current frame is 120 Hz, the CPU clock and GPU clock are 1000 Mhz, and there is no heat condition, the software module Offset information (e.g., time difference (T diff ) average value) set to 100 seconds (sec) can be obtained. For another example, if the FPS included in the system parameters of the current frame is 120Hz, the CPU clock and GPU clock are 1000Mhz, and the heat is in a heat state, the software module generates data from the database 510 of synchronization data as shown in FIG. Offset information (e.g.
  • T diff average value set to 250 seconds can be obtained.
  • offset information set in response to the changed system parameter can be obtained (or received or generated) from the database 510 of synchronization data as shown in FIG. 5. You can.
  • the electronic device may set a software vertical synchronization signal by applying (or using) the offset information obtained by the software module.
  • the electronic device may output (eg, generate) a software vertical synchronization signal set by the software module.
  • the electronic device calculates a time difference value (T diff ) according to data processing (e.g., rendering) of the current frame by a software module and converts it into offset information (e.g., T diff average value) of the system data. Can be set or updated.
  • data processing e.g., rendering
  • offset information e.g., T diff average value
  • FIG. 6 is a diagram illustrating an example of an operating method in an electronic device according to an embodiment.
  • an electronic device may display information (e.g., an object or graphic element) or a screen that needs to be changed. can be identified.
  • the electronic device 101 may identify that the information or screen displayed on the display is changed due to a user's request or screen update.
  • the electronic device processes the rendering of the frame requiring change by a software module (e.g., the software module 201 in FIGS. 2 and 3) based on the display change request, and processes the processed (or rendered) frame. 6 to output a software vertical synchronization signal for displaying on the display (e.g., if frame rendering is not identified as requested, operation 601 may be repeated).
  • the electronic device may check whether there is a request to render a frame to be displayed on the display by the software module. As a result of confirmation, if there is a request for rendering a frame, the electronic device may perform operation 603. Otherwise, the electronic device may perform operation 601.
  • the electronic device may allocate hardware resources necessary for rendering a frame by a software module.
  • the electronic device can identify whether the frame has changed by means of a software module. As a result of the confirmation, if a change in the frame is identified, the electronic device may perform operation 607. Otherwise, the electronic device may perform operation 609.
  • the software module obtains graphics-related information of the current frame or/and system parameters (e.g., preset system parameters) of the current frame (and graphics-related information and/or system parameters of the previous frame) in response to a frame rendering request; Based on the obtained graphics-related information, the difference between the current frame and the previous frame can be confirmed (for example, referring to Figure 2, the current frame is compared with the graphics-related information obtained in the current frame and the graphics-related information of the previous frame). You can check whether there is a difference between and the previous frame.).
  • the software module may confirm that the frame has changed based on differences between the current frame and the previous frame and/or identifying that system parameters have changed.
  • the electronic device stores memory stored by the synchronization data module (e.g., synchronization data module 215 in FIG. 2) based on system parameters of the current frame. Offset information may be obtained from a synchronization data database (e.g., the synchronization data database 510 of FIG. 5) (e.g., the memory 130 of FIG. 1). Afterwards, the electronic device may perform operation 613 by a software module. For example, when the software module identifies that the previous frame had an FPS of 60Hz and the CPU clock and GPU clock were set to 1000Mhz, and the current frame's FPS has changed to 120Hz, it can identify that the system parameters of the current frame have changed. .
  • the software module identifies that the previous frame had an FPS of 60Hz and the CPU clock and GPU clock were set to 1000Mhz, and the current frame's FPS has changed to 120Hz, it can identify that the system parameters of the current frame have changed. .
  • the software module may obtain offset information set in response to the changed system parameter from the synchronization data database 510 as shown in FIG. 5. For example, if the FPS included in the system parameters of the current frame is 120 Hz, the CPU clock and GPU clock are 1000 Mhz, and there is no heat condition, the software module Offset information (e.g., T diff average value) set to 100 seconds (sec) can be obtained. For another example, if the FPS included in the system parameters of the current frame is 120Hz, the CPU clock and GPU clock are 1000Mhz, and the heat is in a heat state, the software module generates data from the database 510 of synchronization data as shown in FIG. Offset information set to 250 seconds (sec) can be obtained. In addition, even when any one of the CPU clock, GPU clock, or thermal status changes, offset information set in response to the changed system parameter can be obtained from the database 510 of synchronization data as shown in FIG. 5.
  • the software module Offset information e.g., T diff average value
  • the electronic device may determine, by a software module, whether a frame drop has occurred (e.g., frame processing or If there is a delay in rendering). As a result of confirmation, if a frame drop occurs, the electronic device performs operation 611, and if no frame drop occurs, the electronic device performs operation 601.
  • a frame drop e.g., frame processing or If there is a delay in rendering
  • the electronic device may obtain, by the software module, information related to frame drops (e.g., frequency and average time) based on identifying the occurrence of frame drops.
  • the electronic device calculates or updates the frequency (%) and the average time (usec) of frame drops according to the occurrence of frame drops by a software module, and calculates the frequency (%) and average time (usec) of frame drops according to the system of the current frame.
  • the parameters may be stored in a synchronization data database (e.g., the synchronization data database 510 in FIG. 5).
  • the electronic device obtains offset information based on the calculated or updated frequency and average time of frame drop by the software module, and sets the acquired offset to set a new software vertical synchronization signal (to be output at the next time) by the synchronization timer.
  • Information can be passed to a synchronization timer.
  • the electronic device may set a software vertical synchronization signal by applying the acquired offset information by the software module, and output (e.g., generate) the software vertical synchronization signal set in operation 615.
  • FIG. 7A is a diagram showing an example of the output of an improved software vertical synchronization signal for frame drops in an electronic device according to an embodiment
  • FIG. 7B is a diagram showing an example of an output of an improved software vertical synchronization signal for frame drops in an electronic device according to an embodiment. This diagram shows an example of the output of a software vertical synchronization signal.
  • the software module in response to a rendering request for the current frame (hereinafter referred to as the first frame 701), the software module sends a software vertical synchronization signal to which offset information is applied at a first time point (hereinafter referred to as the first frame 701).
  • the current frame data processing e.g., rendering
  • the CPU calculates the display content of the data of the first frame 701 at the first time point (t1) output by the software vertical synchronization signal to which the offset information is applied and sends it to the GPU after the calculation is completed
  • the GPU processes the frame data (e.g.
  • the data processing results can be transmitted to the frame buffer area.
  • the first frame 701, for which rendering began at the first time point (t1), is transferred to the display at the second time point (t2) after rendering is completed, and the second frame 703, for which rendering began at the second time point (t2), is If a delay of R occurs, the second frame 703 may not be delivered to the display at the third time point t3 and may be delayed until the fourth time point t4.
  • the display transmission time of the frame per panel e.g., frame 703 in FIG. 7B
  • the fifth time point (t5) due to D R delay, resulting in a frame drop. (711-1) may occur.
  • the software vertical synchronization signal to which the offset information shown in FIG. 7A is applied can be output at a time earlier than the output time of the hardware vertical synchronization signal by the offset information (e.g., at the first time point t1). there is. Accordingly, as shown in FIG. 7A, the data processing result 711 of the first frame 701 is displayed, and then the frame drop 711-1 is not output, and the data of the second frame 703, which is the next changed frame, is displayed. The processing result (713) can be displayed.
  • FIG. 8 is a diagram illustrating an example of an operation method in an electronic device according to an embodiment.
  • an electronic device e.g., the electronic device 101 of FIGS. 1, 2, and 3 may display information (e.g., an object, a graphic element, or a figure, etc.) or change the screen. You can identify what you need. For example, the electronic device 101 may identify a change in the information or screen displayed on the display due to a user's request or screen update, or another determined request. Based on a display change request of the display, the electronic device processes the rendering of frames that need to be changed by a software module (e.g., the software module 201 in FIGS. 2 and 3) and displays the processed frames on the display. Operations as shown in FIG. 8 may be performed to output a software vertical synchronization signal.
  • a software module e.g., the software module 201 in FIGS. 2 and 3
  • the electronic device may check (or determine or calculate) whether there is a request to render a frame to be displayed on the display by a software module. As a result of confirmation, if there is a request to render a frame, the electronic device may perform operation 803, and if there is no request to render a frame, the electronic device may perform operation 801 (for example, if frame rendering is not identified as requested, the electronic device may perform operation 803). , operation 801 may be repeated).
  • the electronic device may allocate hardware resources necessary for rendering a frame by a software module.
  • the electronic device may check whether a quick response event (eg, user input, fingerprint recognition, face recognition, etc.) has occurred by means of a software module. As a result of the confirmation, if a quick response event occurs, the electronic device may perform operation 807, and if a quick response event does not occur, the electronic device may perform operation 809.
  • a quick response event eg, user input, fingerprint recognition, face recognition, etc.
  • the electronic device may immediately output a software vertical synchronization signal by the software module.
  • the software module may transmit a command to immediately output a software vertical synchronization signal to a synchronization timer (e.g., the synchronization timer 213 in FIG. 2).
  • the electronic device stores memory (e.g., memory 130 of FIG. 1) by the synchronization data module (e.g., synchronization data module 215 of FIG. 2) based on system parameters of the current frame. ) of the synchronization data database (e.g., the synchronization data database 510 of FIG. 5) may obtain (or receive) offset information. For example, when the software module identifies that the previous frame had an FPS of 60Hz and the CPU clock and GPU clock were set to 1000Mhz, and the current frame's FPS has changed to 120Hz, it can identify that the system parameters of the current frame have changed. .
  • the software module may obtain offset information set in response to the changed system parameter from the synchronization data database 510 as shown in FIG. 5. For example, if the FPS included in the system parameters of the current frame is 120 Hz, the CPU clock and GPU clock are 1000 Mhz, and there is no heat condition, the software module Offset information (T diff average) set to 100 seconds can be obtained. For another example, if the FPS included in the system parameters of the current frame is 120Hz, the CPU clock and GPU clock are 1000Mhz, and the heat is in a heat state, the software module generates data from the database 510 of synchronization data as shown in FIG. Offset information (T diff average) set to 250 seconds can be obtained. In addition, even when any one of the CPU clock, GPU clock, or thermal status changes, offset information set in response to the changed system parameter can be obtained from the database 510 of synchronization data as shown in FIG. 5.
  • the electronic device may set a software vertical synchronization signal by applying the acquired offset information by the software module, and in operation 813, output (e.g., generate) the set software vertical synchronization signal.
  • the electronic device calculates a time difference value (T diff ) according to data processing (e.g., rendering) of the current frame by a software module, and offset information of system data (e.g., synchronization data of FIG. 5). It can be set or updated to the T diff average value included in the database 510.
  • T diff time difference value
  • the software module of the electronic device recognizes the hardware vertical synchronization signal as software after outputting it, and immediately performs software vertical synchronization without outputting the generated software vertical synchronization signal. By outputting a signal, the system can respond quickly and immediately, improving system responsiveness.
  • FIG. 9A is a diagram illustrating an example of the output of a software vertical synchronization signal with improved responsiveness in an electronic device according to an embodiment
  • FIG. 9B is a diagram illustrating an example of the output of a software vertical synchronization signal with improved responsiveness in an electronic device according to an embodiment. This diagram shows an example of the output of a vertical synchronization signal.
  • the software module in response to a request to render the current frame (hereinafter referred to as the first frame 901), the software module sends a software vertical synchronization signal to a first time point based on a fast response event. It can be output immediately at (t0).
  • the software module may start processing (e.g., rendering) current frame data at t0 and perform current frame data processing until the next software vertical synchronization signal is output.
  • the CPU calculates the display content of the current frame data at t0 output by the software vertical synchronization signal to which the offset information is applied and sends it to the GPU after the calculation is completed.
  • the GPU processes the frame data (e.g. conversion processing, compositing processing, rendering processing).
  • the data processing results can be delivered to the frame buffer area.
  • the display may output a hardware vertical synchronization signal at a specified period, delay the display of the first frame 901 until t1, and display the frame data processing result 911 of the first frame 901 from t1 to t2. there is.
  • the software vertical synchronization signal can be output in synchronization with the hardware vertical synchronization signal output at a fixed cycle (e.g., specified FPS), so the display will be displayed in the next cycle (e.g., specified FPS). Display of the first frame 901 may be delayed continuously until t2 (for up to 2 frames).
  • a method of operating an electronic device includes using a software module of the electronic device (e.g., the software module 201 of FIGS. 2 and 3). )), based on a request for rendering a frame to be displayed on the display of the electronic device (e.g., the display module 160 of FIG. 1), may include an operation of allocating hardware resources necessary for rendering the frame. .
  • the method may include an operation of identifying whether the frame has changed.
  • the method may include obtaining changed system parameters of the frame based on identifying a change in the frame.
  • the method may include obtaining offset information set in response to the changed system parameter from a memory of the electronic device and outputting a software vertical synchronization signal set by applying the offset information.
  • the offset information includes an average value of the time difference between the hardware vertical synchronization signal and the software vertical synchronization signal, and may be stored in the memory in correspondence with the system parameter and information related to frame drop.
  • the method may further include outputting the software vertical synchronization signal regardless of the period of the hardware vertical synchronization signal based on the occurrence of a fast response event.
  • the software vertical synchronization signal may be output immediately when a fast response event is generated by a synchronization timer included in the software module.
  • the output time of the software vertical synchronization signal may be earlier than the output time of the hardware vertical synchronization signal.
  • the operation of identifying whether the frame has been changed includes identifying that the frame has been changed based on a change in system parameters of the frame, a change in graphics-related information of the frame, or the occurrence of a frame drop. It can be included.
  • the method includes monitoring a hardware vertical synchronization signal and the software vertical synchronization signal, obtaining a time difference value between the hardware vertical synchronization signal and the software vertical synchronization signal, and the time difference value. It may further include an operation of updating the time difference average value stored in the memory by reflecting the .
  • the method includes the operation of identifying whether a frame drop occurs, the operation of obtaining the frequency and average time of the frame drop based on identifying the occurrence of the frame drop, the frequency of the frame drop, or An operation of storing the average time in the memory in response to a system parameter due to the frame drop, an operation of setting a new software vertical synchronization signal by applying offset information set in response to the system parameter due to the frame drop, and the new software It may include an operation of outputting a vertical synchronization signal.
  • the system parameter may include at least one of FPS, CPU clock, GPU clock, or thermal status.
  • a non-transitory storage medium storing a program
  • the processor displays the program on the display by a software module (OS) of the electronic device.
  • OS software module
  • a non-transitory storage medium storing a program
  • the electronic device when the program is executed by a processor of an electronic device, the electronic device triggers a fast response event by a software module (OS) of the electronic device. Based on the occurrence, it may further include commands set to execute an operation of immediately outputting the software vertical synchronization signal.
  • OS software module
  • the software vertical synchronization signal may be output immediately when a fast response event occurs regardless of the period of the hardware vertical synchronization signal by a synchronization timer included in the software module.
  • the output time of the software vertical synchronization signal may be earlier than the output time of the hardware vertical synchronization signal.
  • the offset information includes an average value of the time difference between the hardware vertical synchronization signal and the software vertical synchronization signal, and may be stored in the memory in correspondence with the system parameter and information related to frame drop.
  • a non-transitory storage medium storing a program
  • the electronic device when the program is executed by a processor of an electronic device, the electronic device causes a frame drop by a software module (OS) of the electronic device.
  • OS software module
  • Commands set to execute an operation of storing in the memory, an operation of setting a new software vertical synchronization signal by applying offset information set in response to a system parameter due to the frame drop, and an operation of outputting the new software vertical synchronization signal More may be included.
  • Electronic devices may be of various types.
  • Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances.
  • Electronic devices according to embodiments of this document are not limited to the above-described devices.
  • first, second, or first or second may be used simply to distinguish one component from another, and to refer to those components in other respects (e.g., importance or order) is not limited.
  • One (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.”
  • 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 logic, logic block, component, or circuit, for example. It can be used as A module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions. For example, according to one embodiment, 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 are one or more instructions stored in a storage medium (e.g., built-in memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). It may be implemented as software (e.g., program 140) including these.
  • a processor e.g., processor 120
  • the one or more instructions may include code generated by a compiler or code that can be executed by an interpreter.
  • a storage medium that can be read by a device 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 signals (e.g. electromagnetic waves). This term refers to cases where data is stored semi-permanently in the storage medium. There is no distinction between temporary storage cases.
  • Computer program products are commodities and can be traded between sellers and buyers.
  • the computer program product may be distributed in the form of a machine-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play Store TM ) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smart phones) or online.
  • a machine-readable storage medium e.g. compact disc read only memory (CD-ROM)
  • an application store e.g. Play Store TM
  • two user devices e.g. It can be distributed (e.g. downloaded or uploaded) directly between smart phones) or online.
  • at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
  • each component (e.g., module or program) of the above-described components may include a single or plural entity, and some of the plurality of entities may be separately placed in other components. there is.
  • one or more of the components or operations described above may be omitted, or one or more other components or operations may be added.
  • multiple components eg, modules or programs
  • 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 of the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, or omitted. Alternatively, one or more other operations may be added.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

본 문서는 디스플레이 동기화를 위한 전자 장치 및 방법에 관한 것으로서, 일 실시예에 따르면, 전자 장치의 소프트웨어 모듈(OS)은, 디스플레이에 표시할 프레임의 렌더링 요청에 기반하여, 상기 프레임의 렌더링에 필요한 하드웨어 자원을 할당하고, 프레임의 변경 여부를 식별하고, 프레임의 변경을 식별한 것에 기반하여, 상기 프레임의 변경된 시스템 파라미터를 획득하고, 상기 변경된 시스템 파라미터에 대응하여 설정된 옵셋 정보를 동기화 데이터로부터 획득하고, 상기 옵셋 정보를 적용하여 소프트웨어 수직 동기화 신호를 발생하도록 설정될 수 있다. 다른 실시예도 가능하다.

Description

디스플레이의 동기화를 위한 전자 장치 및 방법
본 문서의 일 실시 예는 디스플레이의 동기화를 위한 전자 장치 및 방법에 관한 것이다.
전자 장치는 디지털 기술의 발달과 함께 스마트 폰(smart phone), 태블릿 PC(tablet personal computer), 또는 PDA(personal digital assistant)와 같은 다양한 형태로 제공되고 있다. 전자 장치는 이동성(portability) 및 사용자의 접근성(accessibility)을 향상시킬 수 있도록 사용자에 착용할 수 있는 형태로도 개발되고 있다.
전자 장치에서 제공되는 다양한 서비스 및 부가 기능들은 점차 확대되고 다양해지고 있다. 전자 장치의 효용 가치를 높이고 사용자들의 다양한 욕구를 만족시키기 위해서 전자 장치는 지속적으로 개발되고 있다.
전자 장치는 영상을 안정적으로 처리하여 디스플레이 표시하기 위해, 시스템의 프레임 생성과 디스플레이 장치의 프레임 출력 타이밍 동기화를 위한 수직 동기화 신호(VERTICAL-SYNC)를 발생할 수 있다. 일반적으로 수직 동기화 신호(VERTICAL-SYNC)는 FPS에 맞춰 하드웨어(H/W)에서 발생되며, 프레임 처리를 위한 시스템(예: CPU 및 GPU 동작)과 디스플레이 간 동기화가 맞지 않는 경우 영상의 찢어짐(Tearing)이 발생할 수 있다.
전자 장치는 소프트웨어 컴포넌트 간 동기화를 위해 그래픽 파이프 라인의 병렬화의 효율을 개선하기 위해 소프트웨어 수직 동기화 신호(S/W V-SYNC)를 발생할 수 있다. 전자 장치는 하드웨어 수직 동기화 신호(H/W V-SYNC)를 시스템이 인터럽트(interrupt) 방법을 통해 S/W로 전달받아 시스템 내부 그래픽 프레임워크의 동기화 신호로 활용할 수 있다.
하드웨어를 통해 발생된 하드웨어 수직 동기화 신호(H/W V-SYNC)를 인터럽트와 같은 방식으로 감지 후 소프트웨어 수직 동기화 신호(S/W V-Sync)를 CPU를 통해 소프트웨어로 처리하기 때문에 시스템 부하가 높아지고, 성능이 낮아지거나, 발열 상황일 때, 하드웨어 수직 동기화 신호(H/W V-SYNC) 및 소프트웨어 수직 동기화 신호(S/W V-Sync) 간의 시간차가 길어지고, 이에 따른 렌더링 시간이 짧아짐에 따라 프레임 드롭의 발생이 높아질 수 있다.
본 문서의 일 실시 예에 따르면, 시스템 응답성을 개선하기 위해 디스플레이 동기화를 위한 전자 장치 및 방법이 제공될 수 있다.
본 문서의 일 실시예에 따르면, 전자 장치는, 소프트웨어 모듈을 포함하는 메모리, 디스플레이 및 상기 메모리 및 상기 디스플레이와 전기적으로 연결되는 적어도 하나의 프로세서를 포함할 수 있다.
일 실시예에 따르면, 상기 소프트웨어 모듈은 상기 적어도 하나의 프로세서가 실행 시, 상기 전자 장치로 하여금 상기 디스플레이에 표시할 프레임의 렌더링 요청에 기반하여, 상기 프레임의 렌더링에 필요한 하드웨어 자원을 할당할 수 있다. 일 실시예에 따르면, 상기 소프트웨어 모듈은 상기 프레임의 변경 여부를 식별하고, 상기 프레임의 변경을 식별한 것에 기반하여, 상기 프레임의 변경된 시스템 파라미터를 획득할 수 있다. 일 실시예에 따르면, 상기 소프트웨어 모듈은 상기 변경된 시스템 파라미터에 대응하여 설정된 옵셋 정보를 상기 메모리로부터 획득하고, 상기 옵셋 정보를 적용하여 설정된 소프트웨어 수직 동기화 신호를 출력하도록 설정될 수 있다.
일 실시 예에 따르면, 전자 장치에서의 동작 방법은 상기 전자 장치의 소프트웨어 모듈(OS)에 의해, 상기 디스플레이에 표시할 프레임의 렌더링 요청에 기반하여, 상기 프레임의 렌더링에 필요한 하드웨어 자원을 할당하는 동작을 포함할 수 있다. 일 실시 예에 따르면, 상기 동작 방법은 상기 프레임의 변경 여부를 식별하는 동작을 포함할 수 있다. 일 실시 예에 따르면, 상기 동작 방법은 상기 프레임의 변경을 식별한 것에 기반하여, 상기 프레임의 변경된 시스템 파라미터를 획득하는 동작을 포함할 수 있다. 일 실시 예에 따르면, 상기 동작 방법은 상기 변경된 시스템 파라미터에 대응하여 설정된 옵셋 정보를 상기 전자 장치의 메모리로부터 획득하는 동작 및 상기 옵셋 정보를 적용하여 설정된 소프트웨어 수직 동기화 신호를 출력하는 동작을 포함할 수 있다.
도 1은 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 일 실시예에 따른 무선 통신을 위한 전자 장치의 구성 예를 나타내는 도면이다.
도 3은 일 실시예에 따른 무선 통신을 위한 전자 장치의 구성 예를 나타내는 도면이다.
도 4는 일 실시예에 따른 전자 장치에서의 동작 방법의 예를 나타내는 도면이다.
도 5는 일 실시예에 따른 전자 장치에서 동기화 데이터의 데이터베이스의 예를 나타내는 도면이다.
도 6은 일 실시예에 따른 전자 장치에서의 동작 방법의 예를 나타내는 도면이다.
도 7a는 일 실시예에 따른 전자 장치에서의 프레임 드롭 개선에 따른 소프트웨어 수직 동기화 신호의 출력에 대한 예를 나타내는 도면이고,
도 7b는 일 실시예에 따른 전자 장치에서의 프레임 드롭이 개선되지 않은 소프트웨어 수직 동기화 신호의 출력에 대한 예를 나타내는 도면이다.
도 8은 일 실시예에 따른 전자 장치에서의 동작 방법의 예를 나타내는 도면이다.
도 9a는 일 실시예에 따른 전자 장치에서의 응답성 개선에 따른 소프트웨어 수직 동기화 신호의 출력에 대한 예를 나타내는 도면이다.
도 9b는 일 실시예에 따른 전자 장치에서의 응답성이 개선되지 않은 소프트웨어 수직 동기화 신호의 출력에 대한 예를 나타내는 도면이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
이하, 첨부된 도면들을 참조하여 다양한 실시예에 따른 전자 장치에 대해서 살펴본다. 다양한 실시예에서 이용되는 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예를 들어, 인공지능 전자 장치)를 지칭할 수 있다.
도 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)은 1eMBB 실현을 위한 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는 다양한 실시 예들에 따른 전자 장치의 구성 예를 나타내는 도면이다. 도 3은 일 실시예에 따른 전자 장치의 구성을 나타내는 도면이다.
도 1, 도 2 및 도 3을 참조하면, 일 실시 예에 따른 전자 장치(101)는 시스템 응답 개선을 위한 디스플레이 동기화를 실행하기 위한 소프트웨어 모듈(201)(예: 도 1의 프로그램(140))을 구현할 수 있다. 전자 장치(101)의 메모리(130)는 도 2에 도시된 소프트웨어 모듈(201)을 구현하기 위해 명령어들(예: 인스트럭션들(instructions))을 저장할 수 있다. 적어도 하나의 프로세서(120)는 도 2에 도시된 소프트웨어 모듈(201)을 구현하기 위해 메모리(130)에 저장된 명령어들을 실행시킬 수 있고, 소프트웨어 모듈(201)의 기능과 연관된 하드웨어(예: 도 1의 센서 모듈(176), 전력 관리 모듈(188) 또는 통신 모듈(190))를 제어할 수 있다.
일 실시 예에 따르면, 전자 장치(101)의 소프트웨어 모듈(201)은 커널(또는 HAL)(220)(예: 도 1의 운영 체제(142), 프레임워크(예: 도 1의 미들웨어(144))(230) 및 어플리케이션(240)(예: 도 1의 어플리케이션(146))을 포함하여 설정될 수 있다. 소프트웨어 모듈(201)의 적어도 일부는 전자 장치(101) 상에 프리로드(preload) 되거나, 서버(예: 서버(108))로부터 다운로드(download) 가능할 수 있다. 소프트웨어 모듈(201)은 시스템 응답 개선을 위한 디스플레이 동기화를 실행하기 위한 동기화 모듈(210)을 포함할 수 있다. 일 실시예에 따르면, 동기화 모듈(210)은 커널(220)에 포함될 수 있으며, 동기화 모니터(211), 동기화 타이머(213), 동기화 데이터 모듈(215) 및 동기화 코어(217)를 포함할 수 있다.
일 실시 예에 따르면, 커널(220)은 예를 들어, 이벤트 서브 시스템(event sub system) 및 디스플레이 드라이버 서브 시스템(display sub system)을 포함하여 설정될 수 있다. 커널(220)은 이벤트 서브 시스템(event sub system)으로 시스템 이벤트들을 전달하는 키 드라이버(key driver), TSP(telephony service provider) 드라이버(driver) 및 CPU 클럭(clock)을 발생하는 시스템(system)을 포함할 수 있으며, 이에 한정되지 않고 다른 모듈(또는 드라이버)을 더 포함하여 설정될 수 있다. 커널(220)은 디스플레이 드라이버(221) 및 GPU 드라이버(223)를 포함하여 설정될 수 있다. 디스플레이 드라이버(221)는 디스플레이 드라이버 서브 시스템(display sub system)으로부터 커밋(commit)(예: 프레임 갱신) 명령을 수신하여 동기화 모듈(210)로 전달하고, 동기화 모듈(210)로부터 수신된 소프트웨어 수직 동기화 신호(S/W V-SYNC)를 디스플레이 드라이버 서브 시스템(display sub system)을 통해 프레임 워크(230)로 전달할 수 있다. GPU 드라이버(223)는 디스플레이 드라이버 서브 시스템(display sub system)로부터 커밋(commit)(예: 프레임 갱신) 명령을 수신하고, 커밋을 통해 렌더링할 프레임의 그래픽에 관련된 정보(information)를 획득하고, 획득한 그래픽에 관련된 정보를 동기화 모듈(210)로 전달할 수 있다.
일 실시 예에 따르면, 프레임워크(framework)(230)는 그래픽 프레임워크(graphics framework)(231) 및 이벤트 프레임워크(event framework)(233)를 포함하여 설정될 수 있으며, 이에 한정되지 않고 다른 모듈을 더 포함하여 설정될 수 있다. 프레임워크(230)는 어플리케이션(240)이 공통적으로 필요로 하는 기능을 제공하거나, 어플리케이션(240)이 전자 장치(101) 내부의 제한된 시스템 자원을 효율적으로 사용할 수 있도록 API(application programming interface)(도시되지 않음)를 통해 다양한 기능들을 어플리케이션(240)으로 제공할 수 있다. 그래픽 프레임워크(graphics framework)(231) 디스플레이 모듈(160)의 디스플레이에 표시되는 프레임의 렌더링 처리를 관리할 수 있다. 이벤트 프레임워크(event framework)(233)는 커널(220)의 이벤트 서브 시스템으로부터 전달되는 시스템 이벤트들을 관리할 수 있으며, 어플리케이션(240)으로부터 수신되는 시스템 이벤트들을 관리할 수 있다. 프레임워크(230)는 차별화된 기능을 제공하기 위해 운영 체제의 종류별로 특화된 모듈을 제공할 수 있다. 프레임워크(230)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다.
일 실시 예에 따르면, 어플리케이션(240)은 시스템 사용자 인터페이스(UI: user interface) 및 영상 촬영, 생성, 편집 또는 실행에 관련된 어플리케이션(예: 모듈, 매니저 또는 프로그램)을 포함하여 설정될 수 있다. 어플리케이션(240)은 외부 전자 장치(예, 도 1의 전자 장치(102, 104) 또는 서버(108) 또는 이와 유사한)와의 무선 통신을 위한 모듈(또는 어플리케이션)(도시되지 않음)을 더 포함하여 설정될 수 있다. 어플리케이션(240)은 외부 전자 장치(예: 서버(108) 또는 전자 장치(102, 104) 또는 이와 유사한)로부터 수신된 어플리케이션을 포함할 수 있다. 일 실시 예에 따르면, 어플리케이션(240)은 프리로드 어플리케이션(preloaded application) 또는 서버로부터 다운로드 가능한 제3자 어플리케이션(third party application)을 포함할 수 있다. 도시된 실시 예에 따른 소프트웨어 모듈(201)의 구성요소들 및 구성요소들의 명칭은 운영 체제의 종류에 따라서 달라질 수 있다.
일 실시 예에 따르면, 소프트웨어 모듈(201)의 적어도 일부는 소프트웨어, 펌웨어, 하드웨어, 또는 이들 중 적어도 둘 이상의 조합으로 구현될 수 있다. 소프트웨어 모듈(201)의 적어도 일부는, 예를 들면, 프로세서(예: AP)에 의해 구현(implement)(예: 실행, 수행)될 수 있다. 소프트웨어 모듈(201)의 적어도 일부는 적어도 하나의 기능을 수행하기 위한, 예를 들면, 모듈, 프로그램, 루틴, 명령어 세트(sets of instructions) 또는 프로세스 중 적어도 하나를 포함할 수 있다.
일 실시예에 따른 전자 장치(101)(예: 도 1의 전자 장치(101))의 프로세서(120)는 디스플레이 모듈(160)에 전기적으로 또는 동작적으로 연결될 수 있다. 프로세서(120)는 소프트웨어 모듈(201)의 실행(예: 구현(implementation)을 제어할 수 있다. 프로세서(120)는 소프트웨어 모듈(201)의 어플리케이션(240)에 포함된 시스템 UI 및/또는 어플리케이션의 실행을 제어할 수 있다. 일 실시예에 따르면, 프로세서(120)는 어플리케이션과 관련된 영상(예를 들어, 홈 화면에 표시되는 썸네일 또는 애플리케이션의 UI)을 디스플레이하도록 디스플레이 모듈(160)을 제어할 수 있다. 소프트웨어 모듈(201)은 프로세서의 제어에 의해 표시하기 위한 어플리케이션 영상의 프레임 데이터를 렌더링(예: 그래픽 처리)할 수 있으며, 프레임 데이터의 렌더링 결과를 프레임 버퍼로 전달할 수 있다. 프로세서(120)는 소프트웨어 모듈(201)에서 처리된 렌더링 결과를 프레임 버퍼로부터 판독하여 디스플레이에 표시하도록 디스플레이 모듈(160)을 제어할 수 있다. 일 실시예에 따르면, 프로세서(120)는 소프트웨어 모듈(201)의 동기화 모듈(210)에 의해 출력(예: 발생)된 소프트웨어 수직 동기화 신호를 기반하여 프레임 데이터의 렌더링을 시작하도록 소프트웨어 모듈(201)의 실행을 제어할 수 있다. 일 실시예에 따르면, 프로세서(120)는 하드웨어 수직 동기화 신호(251)(H/W V-SYNC)를 지정된 주기로 출력하도록 설정하고, 지정된 주기로 하드웨어 수직 동기화 신호를 출력하도록 디스플레이 모듈(160)을 제어할 수 있다. 프로세서(120)는 하드웨어 수직 동기화 신호가 출력될 때, 소프트웨어 모듈(201)에 의해 프레임의 렌더링 결과를 디스플레이에 표시하도록 디스플레이 모듈(160)을 제어할 수 있다.
다시 도 2를 참조하면, 일 실시예에 따르면, 소프트웨어 모듈(201)의 그래픽 프레임워크(231)는 어플리케이션(240)으로부터 디스플레이에 표시할 영상의 적어도 하나의 프레임(예: 프레임 데이터)을 렌더링하기 위한 요청을 수신할 수 있다. 그래픽 프레임워크(231)은 프레임 렌더링 요청에 기반하여, 현재 프레임(여기서, 현재 프레임은 현재 렌더링되는 프레임임)의 렌더링에 필요한 하드웨어 자원을 할당하고, 렌더링이 필요한 현재 프레임의 커밋(commit) 명령을 디스플레이 드라이버(221)로 전달할 수 있다. 디스플레이 드라이버(221)는 전달받은 커밋 명령을 동기화 코어(217)로 전달할 수 있다. 그래픽 프레임워크(231)는 중앙 처리 유닛(Central Processing Unit, CPU), 그래픽 처리 유닛(Graphics Processing Unit, GPU)의 프레임 데이터 처리를 소프트웨어로 실행할 수 있다(예를 들어, CPU와 GPU는 소프트웨어를 사용하여 프레임 데이터 처리를 수행할 수 있다). CPU, GPU가 한 주기 내에 한 프레임 데이터의 처리를 완료하면, 프레임이 디스플레이에 정상적으로 표시되어 프레임의 표시를 위한 지연이 발생하지 않을 수 있다. 예를 들어, CPU 및 GPU가 미리 정의되거나 미리 설정된 기간(예: 지정된 기간) 내에 프레임 데이터 처리를 완료하면 프레임 표시에 지연이 없을 수 있으며 해당 프레임은 디스플레이에 정상적으로 표시될 수 있다. CPU, GPU가 한 주기 내에 한 프레임 데이터(예: 적어도 하나의 프레임 데이터)를 처리를 완료할 수 없으면, 프레임이 디스플레이에 정상적으로 표시되어 프레임의 표시를 위한 지연이 발생할 수 있다. 예를 들어, CPU 및 GPU가 미리 정의되거나 미리 설정된 기간 내에 프레임 데이터 처리를 완료할 수 없는 경우 처리가 완료될 때까지 디스플레이에 프레임을 표시하는 데 지연이 있을 수 있습니다. 이러한 지연의 발생을 개선하여 응답성을 개선하기 위해, 그래픽 프레임워크(231)은 동기화 모듈(210)에서 새로 생성된 소프트웨어 수직 동기화 신호를 기반하여 CPU, GPU가 한 주기 내에 한 프레임 데이터(예: 적어도 하나의 프레임)의 처리를 완료할 수 있도록 소프트웨어로 프레임 데이터 처리(예: 렌더링)를 수행할 수 있다. 예를 들어, 소프트웨어 수직 동기 신호를 기반으로 프레임 데이터 처리를 수행함으로써, CPU와 GPU는 한 주기 내에 프레임 데이터 처리를 완료할 수 있고, 처리된 프레임을 표시하는 데 지연 발생을 줄여 응답성을 향상시킬 수 있다.
일 실시예에 따르면, 동기화 코어(217)는 전달받은 커밋 명령을 기반하여 현재 프레임의 그래픽 관련 정보(예: graphics geometry 정보)를 획득하고, 획득한 현재 프레임의 그래픽 관련 정보와 이전 프레임의 그래픽 관련 정보를 비교하여 현재 프레임과 이전 프레임(예: 이전에 렌더링된 프레임) 간에 차이가 있는지를 확인할 수 있다(예를 들어, 현재 프레임과 이전 프레임 사이의 그래픽 기하학 정보에 차이가 있다고 확인될 수 있다). 예를 들어, 그래픽 관련 정보(예: 그래픽 기하학 정보)는 프레임의 점, 선, 면, 부피, 프레임에 포함된 도형과 같은 기하학적인 대상의 모양, 크기, 기하학적인 대상의 상대적인 위치 및 공간의 성질에 대한 기하학 정보 또는 프레임 버퍼의 주소, 사이즈 및 포맷(예: RGB, YcbCr) 정보를 포함할 수 있다.
동기화 코어(217)는 현재 프레임과 이전 프레임이 차이가 있으면, 프레임 변경이 있는 것을 식별할 수 있다. 프레임 변경에 의해 시스템 응답이 지연되는 것을 개선하기 위해, 동기화 코어(217)는 하드웨어 수직 동기화 신호의 주기에 기반하여 소프트웨어 수직 동기화 신호를 출력하지 않고, 새로운 소프트웨어 수직 동기화 신호를 출력하도록 동기화 타이머(213)로 명령을 전달할 수 있다. 동기화 코어(217)는 동기화 데이터 모듈(215)로부터 현재 프레임에 관련된 정보를 기반하여 옵셋 정보를 획득하고, 획득한 옵셋 정보를 동기화 타이머(213)로 전달할 수 있다. 동기화 코어(217)는 변경에 의해 획득된 현재 프레임의 최적화된 소프트웨어 수직 동기화 신호의 옵셋 정보를 산출하고, 산출된 옵셋 정보를 현재 시스템 파라미터로 분류하여 동기화 데이터 모듈(215)에 의해 메모리(130)에 저장할 수 있다. 여기서, 소프트웨어 수직 동기화 신호의 출력 시간은 하드웨어 수직 동기화 신호(251)의 출력 시간보다 앞선 시간일 수 있다.
일 실시예에 따르면, 동기화 코어(217)는 소프트웨어 수직 동기화 신호의 옵셋 정보의 산출을 위해 프레임 드롭(frame drop의 발생 여부)(예를 들어, 프레임 데이터를 처리할 때 지연이 발생하여 프레임 표시가 지연되거나 프레임을 전혀 표시할 수 없는 경우)를 식별하고, 프레임 드롭의 발생에 따라 발생 빈도 및 프레임 드롭의 지연 시간(예를 들어, 프레임이 정상적으로 표시되어야 하는 시간과 프레임이 표시되는 시간 사이에 경과된 시간)을 구할 수 있다. 동기화 코어(217)는 프레임 드롭의 발생에 따른 발생 빈도, 프레임 드롭의 지연 시간에 대한 평균 시간을 포함하는 프레임 드롭에 관련된 정보, 및 동기화 타이머(213)로부터 전달된 시간차의 평균을 산출한 시간차 평균값(Tdiff 평균)을 미리 지정된 시스템 파라미터를 기반하여 분류하고, 미리 지정된 시스템 파라미터를 기반으로 분류된 프레임 드롭에 관련된 정보 및 시간차 평균값을 동기화 데이터로서 획득할 수 있다. 동기화 데이터 모듈(215)은 동기화 데이터를 메모리(130)의 동기화 데이터의 데이터베이스에 저장할 수 있다. 예를 들어, 미리 지정된 시스템 파라미터는 FPS, CPU 클럭, GPU 클럭 또는 발열 상태 중 적어도 하나를 포함할 수 있다. 동기화 데이터의 데이터베이스는 시스템 파라미터(예: FPS, CPU 클럭, GPU 클럭 또는 발열 상태 중 적어도 하나)에 매핑된 프레임 드롭에 관련된 정보(예: 프레임 드롭의 빈도(%) 및 평균 시간(usec)) 및 시간차 평균값을 포함할 수 있다.
일 실시예에 따르면, 동기화 코어(217)는 아이들(idle) 상태에서 빠른 응답 이벤트(예: 사용자 입력, 지문 인식 또는 안면 인식 등)가 발생한 경우, 소프트웨어 수직 동기화 신호를 즉각적으로 출력하기 위한 명령을 동기화 타이머(213)로 전달할 수 있다. 이로 인해, 소프트웨어 모듈(201)은 동기화 코어(217)에 의해, 다음 하드웨어 수직 동기화 신호의 출력까지 대기하지 않고, 즉시 소프트웨어 수직 동기화 신호를 출력하도록 처리함으로써, 시스템이 즉시 빠르게 반응하여 시스템 응답성을 개선할 수 있다.
일 실시예에 따르면, 동기화 타이머(213)는 동작 코어(217)에서 전달받은 렌더링할 현재 프레임에 관련된 정보를 기반하여 메모리(130)에 저장된 동기화 데이터의 데이터베이스로부터 획득한 옵셋 정보를 적용한 새로운 소프트웨어 수직 동기화 신호를 설정(예: 생성 또는 결정)하고, 설정된 소프트웨어 수직 동기화 신호를 출력할 수 있다. 소프트웨어 수직 동기화 신호는 동기화 코어(217)를 통해 디스플레이 드라이버(221)로 전달될 수 있으며, 디스플레이 드라이버(221)에 의해 그래픽 프레임워크(231)로 전달될 수 있다. 동기화 타이머(213)는 소프트웨어 수직 동기화 신호의 주기를 모니터링하고, 하드웨어 수직 동기화 신호를 기반한 소프트웨어 수직 동기화 신호의 시간차 값(Tdiff)을 산출할 수 있다. 시간차 값(Tdiff)은 하드웨어 수직 동기화 신호와 소프트웨어 수직 동기화 신호 간의 시간차를 나타내는 값일 수 있다.
일 실시예에 따르면, 동기화 모니터(211)는 하드웨어 디바이스(203)의 디스플레이 모듈(160)과 동작적으로 연결되어 디스플레이 모듈(160)에서 출력하는 하드웨어 수직 동기화 신호를 모니터링할 수 있다. 동기화 모니터(211)는 하드웨어 수직 동기화 신호의 출력 시간을 기록하고, 하드웨어 수직 동기화 신호의 출력 시간을 소프트웨어 모듈(201)의 다른 모듈로 제공할 수 있다.
이와 같이, 일 실시 예에서는 도 1, 도 2 및 도 3의 전자 장치(101)를 통해 전자 장치의 주요 구성 요소에 대해 설명하였다. 그러나 다양한 실시 예에서는 도 1, 도 2 및 도 3을 통해 도시된 구성 요소가 모두 필수 구성 요소인 것은 아니며, 도시된 구성 요소보다 많은 구성 요소에 의해 전자 장치(101)가 구현될 수도 있고, 그 보다 적은 구성 요소에 의해 전자 장치(101)가 구현될 수도 있다. 또한, 도 1, 도 2 및 도 3을 통해 상술한 전자 장치(101)의 주요 구성 요소의 위치는 다양한 실시 예에 따라 변경 가능할 수 있다.
일 실시예에 따르면, 전자 장치(예: 도 1, 도 2 및 도 3의 전자 장치(101))는, 소프트웨어 모듈(예: 도 2 및 도 3의 소프트웨어 모듈(201))을 포함하는 메모리(예: 도 1의 메모리(130)), 디스플레이(예: 도 1의 디스플레이 모듈(160)) 및 상기 메모리 및 상기 디스플레이와 전기적으로 연결되는 적어도 하나의 프로세서(예: 도 1의 프로세서(120))를 포함할 수 있다. 상기 소프트웨어 모듈은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 디스플레이에 표시할 프레임의 렌더링 요청에 기반하여, 상기 프레임의 렌더링에 필요한 하드웨어 자원을 할당하도록 설정될 수 있다.
일 실시예에 따르면, 상기 소프트웨어 모듈은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 프레임의 변경 여부를 식별하도록 설정될 수 있다.
일 실시예에 따르면, 상기 소프트웨어 모듈은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 프레임의 변경을 식별한 것에 기반하여, 상기 프레임의 변경된 시스템 파라미터를 획득하도록 설정될 수 있다.
일 실시예에 따르면, 상기 소프트웨어 모듈은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 변경된 시스템 파라미터에 대응하여 설정된 옵셋 정보를 상기 메모리로부터 획득하고, 상기 옵셋 정보를 적용하여 설정된 소프트웨어 수직 동기화 신호를 출력하도록 설정될 수 있다.
일 실시예에 따르면, 상기 옵셋 정보는 하드웨어 수직 동기화 신호와 소프트웨어 수직 동기화 신호 간의 시간차의 평균 값을 포함하며, 상기 시스템 파라미터 및 프레임 드롭에 관련된 정보와 매핑하여 상기 메모리에 저장될 수 있다.
일 실시예에 따르면, 상기 소프트웨어 모듈은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 빠른 응답 이벤트 발생에 기반하여, 상기 소프트웨어 수직 동기화 신호를 상기 하드웨어 수직 동기화 신호의 주기와 무관하게 발생하도록 설정될 수 있다.
일 실시예에 따르면, 상기 소프트웨어 수직 동기화 신호는 상기 소프트웨어 모듈에 포함된 동기화 타이머에 의해 빠른 응답 이벤트가 발생될 때, 즉각적으로 출력될 수 있다.
일 실시예에 따르면, 상기 소프트웨어 수직 동기화 신호의 출력 시간은 하드웨어 수직 동기화 신호의 출력 시간보다 앞선 시간일 수 있다.
일 실시예에 따르면, 상기 소프트웨어 모듈은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 상기 프레임의 시스템 파라미터의 변경, 상기 프레임의 그래픽 관련 정보의 변경 또는 프레임 드롭 발생에 기반하여, 상기 프레임이 변경된 것을 식별하도록 설정될 수 있다.
일 실시예에 따르면, 상기 소프트웨어 모듈은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 하드웨어 수직 동기화 신호를 및 상기 소프트웨어 수직 동기화 신호를 모니터링하고, 상기 하드웨어 수직 동기화 신호 및 상기 소프트웨어 수직 동기화 신호 간의 시간 차 값을 획득하고, 상기 시간 차 값을 반영하여 상기 메모리에 저장된 시간차 평균 값을 갱신하도록 설정될 수 있다.
일 실시예에 따르면, 상기 소프트웨어 모듈은, 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금, 프레임 드롭의 발생 여부를 식별하고, 상기 프레임 드롭의 발생을 식별한 것에 기반하여, 프레임 드롭의 빈도 또는 평균 시간을 획득하고, 상기 프레임 드롭의 빈도 및 상기 평균 시간을 상기 프레임 드롭에 의한 시스템 파라미터에 매핑하여 상기 메모리에 저장하고, 상기 프레임 드롭에 의한 시스템 파라미터에 대응하여 설정된 옵셋 정보를 적용하여 새로운 소프트웨어 수직 동기화 신호를 출력하도록 설정될 수 있다.
일 실시예에 따르면, 상기 시스템 파라미터는 FPS, CPU 클럭, GPU 클럭 또는 발열 상태 중 적어도 하나를 포함할 수 있다.
일 실시예에 따르면, 상기 소프트웨어 모듈은, 상기 프레임의 렌더링을 처리하는 그래픽 프레임워크 및 동기화 모듈을 포함할 수 있다. 상기 동기화 모듈은, 상기 프레임 렌더링 요청에 기반하여 상기 프레임의 변경을 식별하고, 상기 옵셋 정보를 획득하는 동기화 코어, 상기 소프트웨어 수직 동기화 신호를 출력하는 동기화 타이머, 상기 옵셋 정보를 관리하는 상기 동기화 데이터 모듈 및 상기 소프트웨어 수직 동기화 신호 및 상기 디스플레이 모듈에서 출력하는 하드웨어 수직 동기화 신호를 모니터링하는 동기화 모니터를 포함할 수 있다.
상술한 도 1 내지 도 3에 도시된 바와 같은 전자 장치에서 시스템 응답성을 개선할 수 있도록 디스플레이 동기화를 위한 동작 방법을 첨부된 도면들을 참조하여 설명하기로 한다.
도 4는 일 실시예에 따른 전자 장치에서의 동작 방법의 예를 나타내는 도면이고, 도 5는 일 실시예에 따른 전자 장치에서 동기화 데이터의 데이터베이스의 예를 나타내는 도면이다.
도 4 및 도 5를 참조하면, 일 실시예에 따른 전자 장치(예: 도 1, 도 2 및 도 3의 전자 장치(101))는 디스플레이에 표시된 정보(예: 객체 또는 그래픽 요소와 같은 이미지, 또는 도형) 또는 화면이 변경이 필요한 것을 식별할 수 있다. 예를 들어, 전자 장치(101)는 사용자의 요청 또는 화면 업데이트에 의해 디스플레이에 표시된 정보 또는 화면이 변경됨을 식별할 수 있다. 전자 장치는 디스플레이의 표시(예: UI와 같이, 표시된 정보) 변경 요청에 기반하여, 소프트웨어 모듈(예: 도 2 및 도 3의 소프트웨어 모듈(201))에 의해, 변경이 필요한 프레임의 렌더링을 처리하고, 처리된 프레임을 디스플레이에 표시하기 위한 옵셋(offset)이 적용된 소프트웨어 수직 동기화 신호를 출력하도록 도 4에 도시된 바와 같은 동작들 실행할 수 있다.
401 동작에서, 전자 장치는 소프트웨어 모듈에 의해, 디스플레이에 표시할 프레임의 렌더링 요청(또는 요구)이 있는지를 확인할 수 있다. 확인 결과, 프레임의 렌더링 요청이 있는 경우, 전자 장치는 403 동작을 수행하고, 그렇지 않으면, 401 동작을 수행할 수 있다(예를 들어, 프레임 렌더링이 요청되지 않은 것으로 판단되면, 전자 장치는 401 동작을 반복할 수 있다. 예를 들어, 프레임 렌더링이 요청되었음을 식별할 때까지 401 동작을 반복할 수 있다.).
403 동작에서, 전자 장치는 소프트웨어 모듈에 의해, 프레임의 렌더링에 필요한 하드웨어 자원을 할당할 수 있다.
405 동작에서, 전자 장치는 소프트웨어 모듈에 의해, 프레임의 변경 여부를 식별(또는 결정 또는 산출)할 수 있다. 확인 결과, 프레임의 변경이 식별된 경우, 전자 장치는 407 동작을 수행하고, 프레임의 변경이 식별되지 않으면, 401 동작을 수행할 수 있다. 소프트웨어 모듈은 프레임 렌더링 요청에 따라 현재 프레임의 그래픽 관련 정보 또는/및 현재 프레임의 시스템 파라미터(예: 미리 지정된 시스템 파라미터)(예: FPS, a CPU clock, a GPU clock, 또는 발열 상태 중 적어도 하나)를 획득(또는 수신 또는 생성)하고, 획득한 그래픽 관련 정보(예: 그래픽 기하학 정보)를 기반하여 현재 프레임과 이전 프레임의 차이를 확인(또는 결정 또는 산출)할 수 있다. 소프트웨어 모듈은 현재 프레임과 이전 프레임의 차이 및/또는 시스템 파라미터가 변경됨을 식별한 것에 기반하여 프레임이 변경됨을 확인(또는 결정 또는 산출)할 수 있다(예를 들어, 도 2를 참조하면, 현재 프레임에서 획득된 그래픽 관련 정보와 이전 프레임의 그래픽 관련 정보를 비교하여 현재 프레임과 이전 프레임 사이에 차이가 있는지 여부를 확인할 수 있다.).
407 동작에서, 전자 장치는 소프트웨어 모듈에 의해, 현재 프레임의 시스템 파라미터를 기반하여 메모리(예: 도 1의 메모리(130))에 저장된 동기화 데이터의 데이터베이스(예: 도 5의 동기화 데이터의 데이터베이스(510))로부터 옵셋 정보(예: 도 2를 참조하여 설명한 프레임 드롭에 관련된 정보 및/또는 시간차 평균값)를 획득할 수 있다. 예를 들어, 소프트웨어 모듈은 이전 프레임이 FPS가 60Hz이고 CPU 클럭 및 GPU 클럭이 1000Mhz으로 설정되고, 현재 프레임의 FPS가 120Hz로 변경된 것을 식별할 때, 현재 프레임의 시스템 파라미터가 변경된 것을 식별할 수 있다. 소프트웨어 모듈은 동기화 데이터의 데이터베이스(예: 도 5의 동기화 데이터의 데이터베이스(510))에서 변경된 시스템 파라미터에 대응하여 설정된 옵셋 정보를 획득할 수 있다. 예를 들어, 소프트웨어 모듈은 현재 프레임의 시스템 파라미터에 포함된 FPS가 120Hz이고, CPU 클럭 및 GPU 클럭이 1000Mhz이고, 발열 상태가 아닌 경우, 도 5에 도시된 바와 같은 동기화 데이터의 데이터베이스(510)에서 100초(sec)로 설정된 옵셋 정보(예: 시간차(Tdiff) 평균 값)를 획득할 수 있다. 다른 예를 들어, 소프트웨어 모듈은 현재 프레임의 시스템 파라미터에 포함된 FPS가 120Hz이고, CPU 클럭 및 GPU 클럭이 1000Mhz이고, 발열 상태인 경우, 도 5에 도시된 바와 같은 동기화 데이터의 데이터베이스(510)에서 250초(sec)로 설정된 옵셋 정보(예: Tdiff 평균 값)를 획득할 수 있다. 이 외에 CPU 클럭, GPU 클럭 또는 발열 상태 중 어느 하나가 변경될 때에도 도 5에 도시된 바와 같은 동기화 데이터의 데이터베이스(510)에서 변경된 시스템 파라미터에 대응하여 설정된 옵셋 정보를 획득(또는 수신 또는 생성)할 수 있다.
409 동작에서, 전자 장치는 소프트웨어 모듈에 의해, 획득한 옵셋 정보를 적용(또는 이용)하여 소프트웨어 수직 동기화 신호를 설정할 수 있다. 411 동작에서 전자 장치는 소프트웨어 모듈에 의해, 설정된 소프트웨어 수직 동기화 신호를 출력(예: 발생)할 수 있다.
일 실시예에 따르면, 전자 장치는 소프트웨어 모듈에 의해, 현재 프레임의 데이터 처리(예: 렌더링)에 따른 시간차 값(Tdiff)을 산출하여, 시스템 데이터의 옵셋 정보(예: Tdiff 평균 값)로 설정 또는 갱신할 수 있다.
도 6은 일 실시 예에 따른 전자 장치에서의 동작 방법의 예를 나타내는 도면이다.
도 5 및 도 6을 참조하면, 일 실시 예에 따른 전자 장치(예: 도 1 및 도 2의 전자 장치(101))는 디스플레이에 표시된 정보(예: 객체 또는 그래픽 요소) 또는 화면이 변경이 필요한 것을 식별할 수 있다. 예를 들어, 전자 장치(101)는 사용자의 요청 또는 화면 업데이트에 의해 디스플레이에 표시된 정보 또는 화면이 변경됨을 식별할 수 있다. 전자 장치는 디스플레이의 표시 변경 요청에 기반하여, 소프트웨어 모듈(예: 도 2 및 도 3의 소프트웨어 모듈(201))에 의해, 변경이 필요한 프레임의 렌더링을 처리하고, 처리된(또는 렌더링된) 프레임을 디스플레이에 표시하기 위한 소프트웨어 수직 동기화 신호를 출력하도록 도 6에 도시된 바와 같은 동작들을 실행할 수 있다(예를 들어, 프레임 렌더링이 요청된 것으로 식별되지 않으면, 동작 601이 반복될 수 있다.).
601 동작에서, 전자 장치는 소프트웨어 모듈에 의해, 디스플레이에 표시할 프레임의 렌더링 요청이 있는지를 확인할 수 있다. 확인 결과, 프레임의 렌더링 요청이 있으면, 전자 장치는 603 동작을 수행하고, 그렇지 않으면, 전자 장치는 601 동작을 수행할 수 있다.
603 동작에서, 전자 장치는 소프트웨어 모듈에 의해, 프레임의 렌더링에 필요한 하드웨어 자원을 할당할 수 있다.
605 동작에서, 전자 장치는 소프트웨어 모듈에 의해, 프레임의 변경 여부를 식별할 수 있다. 확인 결과, 프레임의 변경이 식별되면, 전자 장치는 607 동작을 수행하고, 그렇지 않으면, 전자 장치는 609 동작을 수행할 수 있다. 소프트웨어 모듈은 프레임 렌더링 요청에 따라 현재 프레임의 그래픽 관련 정보 또는/및 현재 프레임(및 그래픽 관련 정보 및/또는 이전 프레임의 시스템 파라미터)의 시스템 파라미터(예를 들어, 미리 설정된 시스템 파라미터)를 획득하고, 획득한 그래픽 관련 정보를 기반하여 현재 프레임과 이전 프레임의 차이를 확인할 수 있다(예를 들어, 도2를 참조하여, 현재 프레임에서 획득된 그래픽 관련 정보와 이전 프레임의 그래픽 관련 정보를 비교하여 현재 프레임과 이전 프레임 사이에 차이가 있는지 여부를 확인할 수 있다.). 소프트웨어 모듈은 현재 프레임과 이전 프레임의 차이 및/또는 시스템 파라미터가 변경됨을 식별한 것에 기반하여 프레임이 변경됨을 확인할 수 있다.
607 동작에서, 프레임의 변경이 식별된 것에 기반하여, 전자 장치는 소프트웨어 모듈에 의해, 현재 프레임의 시스템 파라미터를 기반하여 동기화 데이터 모듈(예: 도 2의 동기화 데이터 모듈(215))에 의해 저장된 메모리(예: 도 1의 메모리(130))의 동기화 데이터의 데이터베이스(예: 도 5의 동기화 데이터의 데이터베이스(510))로부터 옵셋 정보를 획득할 수 있다. 이후, 전자 장치는 소프트웨어 모듈에 의해, 613 동작을 수행할 수 있다. 예를 들어, 소프트웨어 모듈은 이전 프레임이 FPS가 60Hz이고 CPU 클럭 및 GPU 클럭이 1000Mhz으로 설정되고, 현재 프레임의 FPS가 120Hz로 변경된 것을 식별할 때, 현재 프레임의 시스템 파라미터가 변경된 것을 식별할 수 있다. 소프트웨어 모듈은 도 5에 도시된 바와 같은 동기화 데이터의 데이터베이스(510)에서 변경된 시스템 파라미터에 대응하여 설정된 옵셋 정보를 획득할 수 있다. 예를 들어, 소프트웨어 모듈은 현재 프레임의 시스템 파라미터에 포함된 FPS가 120Hz이고, CPU 클럭 및 GPU 클럭이 1000Mhz이고, 발열 상태가 아닌 경우, 도 5에 도시된 바와 같은 동기화 데이터의 데이터베이스(510)에서 100초(sec)로 설정된 옵셋 정보(예: Tdiff 평균 값)를 획득할 수 있다. 다른 예를 들어, 소프트웨어 모듈은 현재 프레임의 시스템 파라미터에 포함된 FPS가 120Hz이고, CPU 클럭 및 GPU 클럭이 1000Mhz이고, 발열 상태인 경우, 도 5에 도시된 바와 같은 동기화 데이터의 데이터베이스(510)에서 250초(sec)로 설정된 옵셋 정보를 획득할 수 있다. 이 외에 CPU 클럭, GPU 클럭 또는 발열 상태 중 어느 하나가 변경될 때에도 도 5에 도시된 바와 같은 동기화 데이터의 데이터베이스(510)에서 변경된 시스템 파라미터에 대응하여 설정된 옵셋 정보를 획득할 수 있다.
609 동작에서, 프레임의 변경이 식별되지 않은 것에 기반하여, 전자 장치는 소프트웨어 모듈에 의해, 프레임 드롭의 발생 여부를 확인할 수 있다(예를 들어, 도 2를 참조하여 설명된 바와 같이, 프레임 처리 또는 렌더링에 지연이 있는 경우). 확인 결과, 프레임 드롭이 발생하면, 전자 장치는 611 동작을 수행하고, 프레임 드롭이 발생하지 않으면, 전자 장치는 601 동작을 수행할 수 있다.
611 동작에서, 전자 장치는 소프트웨어 모듈에 의해, 프레임 드롭 발생을 식별한 것에 기반하여, 프레임 드롭에 관련된 정보(예: 빈도 및 평균 시간)를 획득할 수 있다. 전자 장치는 소프트웨어 모듈에 의해, 프레임 드롭 발생에 따른 빈도(%) 및 프레임 드롭의 평균 시간(usec)을 산출 또는 갱신하고, 빈도(%) 및 프레임 드롭의 평균 시간(usec)을 현재 프레임의 시스템 파라미터에 대응하여 동기화 데이터의 데이터베이스(예: 도 5의 동기화 데이터의 데이터베이스(510))에 저장할 수 있다. 전자 장치는 소프트웨어 모듈에 의해, 산출 또는 갱신된 빈도 및 프레임 드롭의 평균 시간을 기반하여 옵셋 정보를 획득하고, 동기화 타이머에 의해 (다음 시점에 출력할) 새로운 소프트웨어 수직 동기화 신호를 설정하도록 획득한 옵셋 정보를 동기화 타이머로 전달할 수 있다.
613 동작에서, 전자 장치는 소프트웨어 모듈에 의해, 획득한 옵셋 정보를 적용하여 소프트웨어 수직 동기화 신호를 설정하고, 615 동작에서 설정된 소프트웨어 수직 동기화 신호를 출력(예: 발생)할 수 있다.
도 7a는 일 실시예에 따른 전자 장치에서의 프레임 드롭을 위한 개선된 소프트웨어 수직 동기화 신호의 출력에 대한 예를 나타내는 도면이고, 도 7b는 일 실시예에 따른 전자 장치에서의 프레임 드롭이 개선되지 않은 소프트웨어 수직 동기화 신호의 출력에 대한 예를 나타내는 도면이다.
도 7a를 참조하면, 일 실시예에 따르면, 현재 프레임(이하, 제1 프레임(701)이라 칭함)의 렌더링 요청에 따라 소프트웨어 모듈은 옵셋 정보(offset)를 적용한 소프트웨어 수직 동기화 신호를 제1 시점(t1)에 출력하고, 제1 시점에 현재 프레임 데이터 처리(예: 렌더링)를 시작하고, 다음 소프트웨어 수직 동기화 신호가 출력되기 전까지 제1 프레임(701)의 데이터 처리를 수행할 수 있다. CPU는 옵셋 정보를 적용한 소프트웨어 수직 동기화 신호가 출력한 제1 시점(t1)에 제1 프레임(701)의 데이터의 표시 내용을 계산하고 계산이 완료된 후에 GPU로 송출하고, GPU는 프레임 데이터 처리(예: 변환 처리, 합성 처리, 렌더링 처리)를 실행한 후, 데이터 처리 결과를 프레임 버퍼 영역으로 전달할 수 있다. 제1 시점(t1)에 렌더링이 시작된 제1 프레임(701)은 렌더링 완료 후에 제2 시점(t2)에 디스플레이로 전달되고, 제2 시점(t2)에 렌더링이 시작된 제2 프레임(703)에서 DR의 지연이 발생되면, 제3 시점(t3)에서 제2 프레임(703)이 디스플레이로 전달되지 않고, 제4 시점(t4)까지 지연될 수 있다. 도 7b에 도시된 바와 같이, 옵셋 정보를 적용하지 않으면, DR 지연으로 인해 패당 프레임(예: 도 7b의 프레임(703))의 디스플레이 전송 시간이 제5 시점(t5)까지 지연됨에 따라 프레임 드롭(711-1)이 발생할 수 있다.
도 7a 및 도 7b를 비교하면, 도 7a에 도시된 옵셋 정보를 적용한 소프트웨어 수직 동기화 신호는 옵셋 정보만큼 하드웨어 수직 동기화 신호의 출력 시간보다 앞선 시간(예: 제1 시점(t1))에 출력할 수 있다. 이에 따라 도 7a와 같이, 제1 프레임(701)의 데이터 처리 결과(711)를 표시하고, 이후, 프레임 드롭(711-1)이 출력하지 않고, 다음 변경된 프레임인 제2 프레임(703)의 데이터 처리 결과(713)를 표시할 수 있다.
도 8은 일 실시예에 따른 전자 장치에서의 동작 방법의 예를 나타내는 도면이다.
도 8을 참조하면, 일 실시예에 따른 전자 장치(예: 도 1, 도 2 및 도 3의 전자 장치(101))는 디스플레이에 표시된 정보(예: 객체 또는 그래픽 요소 또는 도형 등) 또는 화면 변경이 필요한 것을 식별할 수 있다. 예를 들어, 전자 장치(101)는 사용자의 요청 또는 화면 업데이트에 의해 디스플레이에 표시된 정보 또는 화면이 변경됨 또는 다른 결정된 요청을 식별할 수 있다. 전자 장치는 디스플레이의 표시 변경 요청에 기반하여, 소프트웨어 모듈(예: 도 2 및 도 3의 소프트웨어 모듈(201))에 의해, 경이 필요한 프레임의 렌더링을 처리하고, 처리된 프레임을 디스플레이에 표시하기 위한 소프트웨어 수직 동기화 신호를 출력하도록 도 8에 도시된 바와 같은 동작들 실행할 수 있다.
801 동작에서, 전자 장치는 소프트웨어 모듈에 의해, 디스플레이에 표시할 프레임의 렌더링 요청이 있는지를 확인(또는 결정 또는 산출)할 수 있다. 확인 결과, 프레임의 렌더링 요청이 있으면, 전자 장치는 803 동작을 수행하고, 프레임의 렌더링 요청이 없으면, 전자 장치는 801 동작을 수행할 수 있다(예를 들어, 프레임 렌더링이 요청된 것으로 식별되지 않으면, 동작 801이 반복될 수 있다.).
803 동작에서, 전자 장치는 소프트웨어 모듈에 의해, 프레임의 렌더링에 필요한 하드웨어 자원을 할당할 수 있다.
805 동작에서, 전자 장치는 소프트웨어 모듈에 의해, 빠른 응답 이벤트(예를 들어, 사용자 입력, 지문 인식, 얼굴 인식 등)의 발생 여부를 확인할 수 있다. 확인 결과, 빠른 응답 이벤트가 발생하면, 전자 장치는 807 동작을 수행하고, 빠른 응답 이벤트가 발생하지 않으면, 전자 장치는 809 동작을 수행할 수 있다.
807 동작에서, 전자 장치는 소프트웨어 모듈에 의해, 즉시 소프트웨어 수직 동기화 신호를 출력할 수 있다. 소프트웨어 모듈은 소프트웨어 수직 동기화 신호를 즉각적으로 출력하기 위한 명령을 동기화 타이머(예: 도 2의 동기화 타이머(213))로 전달할 수 있다.
809 동작에서, 전자 장치는 소프트웨어 모듈에 의해, 현재 프레임의 시스템 파라미터를 기반하여 동기화 데이터 모듈(예: 도 2의 동기화 데이터 모듈(215))에 의해 저장된 메모리(예: 도 1의 메모리(130))의 동기화 데이터의 데이터베이스(예: 도 5의 동기화 데이터의 데이터베이스(510))로부터 옵셋 정보를 획득(또는 수신)할 수 있다. 예를 들어, 소프트웨어 모듈은 이전 프레임이 FPS가 60Hz이고 CPU 클럭 및 GPU 클럭이 1000Mhz으로 설정되고, 현재 프레임의 FPS가 120Hz로 변경된 것을 식별할 때, 현재 프레임의 시스템 파라미터가 변경된 것을 식별할 수 있다. 소프트웨어 모듈은 도 5에 도시된 바와 같은 동기화 데이터의 데이터베이스(510)에서 변경된 시스템 파라미터에 대응하여 설정된 옵셋 정보를 획득할 수 있다. 예를 들어, 소프트웨어 모듈은 현재 프레임의 시스템 파라미터에 포함된 FPS가 120Hz이고, CPU 클럭 및 GPU 클럭이 1000Mhz이고, 발열 상태가 아닌 경우, 도 5에 도시된 바와 같은 동기화 데이터의 데이터베이스(510)에서 100초(sec)로 설정된 옵셋 정보(Tdiff 평균)를 획득할 수 있다. 다른 예를 들어, 소프트웨어 모듈은 현재 프레임의 시스템 파라미터에 포함된 FPS가 120Hz이고, CPU 클럭 및 GPU 클럭이 1000Mhz이고, 발열 상태인 경우, 도 5에 도시된 바와 같은 동기화 데이터의 데이터베이스(510)에서 250초(sec)로 설정된 옵셋 정보(Tdiff 평균)를 획득할 수 있다. 이 외에 CPU 클럭, GPU 클럭 또는 발열 상태 중 어느 하나가 변경될 때에도 도 5에 도시된 바와 같은 동기화 데이터의 데이터베이스(510)에서 변경된 시스템 파라미터에 대응하여 설정된 옵셋 정보를 획득할 수 있다.
811 동작에서, 전자 장치는 소프트웨어 모듈에 의해, 획득한 옵셋 정보를 적용하여 소프트웨어 수직 동기화 신호를 설정하고, 813 동작에서, 설정된 소프트웨어 수직 동기화 신호를 출력(예: 발생)할 수 있다.
일 실시예에 따르면, 전자 장치는 소프트웨어 모듈에 의해, 현재 프레임의 데이터 처리(예: 렌더링)에 따른 시간차 값(Tdiff)을 산출하여, 시스템 데이터의 옵셋 정보(예: 도 5의 동기화 데이터의 데이터베이스(510)에 포함된 Tdiff 평균 값)으로 설정 또는 갱신할 수 있다.
상술한 도 8의 동작들에 의하면, 일 실시예에 따른 전자 장치의 소프트웨어 모듈에 의해, 하드웨어 수직 동기화 신호의 출력 후 이를 소프트웨어로 인식하여 생성된 소프트웨어 수직 동기화 신호를 출력하지 않고, 즉시 소프트웨어 수직 동기화 신호를 출력함으로써, 시스템이 즉시 빠르게 반응하여 시스템 응답성을 개선할 수 있다.
도 9a는 일 실시예에 따른 전자 장치에서의 응답성이 개선된 소프트웨어 수직 동기화 신호의 출력에 대한 예를 나타내는 도면이고, 도 9b는 일 실시예에 따른 전자 장치에서의 응답성이 개선되지 않은 소프트웨어 수직 동기화 신호의 출력에 대한 예를 나타내는 도면이다.
도 9a를 참조하면, 일 실시예에 따르면, 현재 프레임(이하, 제1 프레임(901)이라 칭함)의 렌더링 요청에 응답하여, 소프트웨어 모듈은 빠른 응답 이벤트에 기반하여 소프트웨어 수직 동기화 신호를 제1 시점(t0)에 즉시 출력할 수 있다. 소프트웨어 모듈은 t0에 현재 프레임 데이터 처리(예: 렌더링)를 시작하고, 다음 소프트웨어 수직 동기화 신호가 출력되기 전까지 현재 프레임 데이터 처리를 수행할 수 있다. CPU는 옵셋 정보를 적용한 소프트웨어 수직 동기화 신호가 출력한 t0에 현재 프레임 데이터의 표시 내용을 계산하고 계산이 완료된 후에 GPU로 송출하고, GPU는 프레임 데이터 처리(예: 변환 처리, 합성 처리, 렌더링 처리)를 실행한 후, 데이터 처리 결과를 프레임 버퍼 영역으로 전달할 수 있다. 디스플레이는 지정된 주기로 하드웨어 수직 동기화 신호를 출력하고, t1까지 제1 프레임(901)의 표시를 지연시킬 수 있으며, t1에서 t2까지 제1 프레임(901)의 프레임 데이터 처리 결과(911)를 표시할 수 있다. 도 9b에 도시된 바와 같이, 옵셋 정보를 적용하지 않으면, 소프트웨어 수직 동기화 신호는 고정된 주기(예: 지정된 FPS)마다 출력하는 하드웨어 수직 동기화 신호에 동기화되어 출력할 수 있으므로 디스플레이는 다음 주기(예: 최대 2 프레임 동안)의 t2까지 계속해서 제1 프레임(901)의 표시를 지연시킬 수 있다.
도 9a 및 도 9b를 비교하면, 즉시 소프트웨어 수직 동기화 신호를 출력함에 따라 도 9b에 도시된 바와 같이, 두 주기동안 프레임(901)의 표시를 지연시키지 않고, 즉각적으로 CPU가 응답하여 제1 프레임(901)의 데이터 처리를 수행할 수 있다. 이에 따라 디스플레이는 소프트웨어 수직 동기화 신호 출력 이후, 다음 하드웨어 수직 동기화 신호가 출력될 때 즉시 제1 프레임(901)을 표시하므로 프레임 데이터 처리를 위한 응답성을 개선할 수 있고, 디스플레이의 표시 지연 시간을 줄일 수 있다. 이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.
일 실시 예에 따르면, 전자 장치(예: 도 1, 도 2 및 도 3의 전자 장치(101))에서의 동작 방법은 상기 전자 장치의 소프트웨어 모듈(예: 도 2 및 도 3의 소프트웨어 모듈(201))에 의해, 상기 전자 장치의 디스플레이(예: 도 1의 디스플레이 모듈(160))에 표시할 프레임의 렌더링 요청에 기반하여, 상기 프레임의 렌더링에 필요한 하드웨어 자원을 할당하는 동작을 포함할 수 있다.
일 실시 예에 따르면, 상기 방법은 상기 프레임의 변경 여부를 식별하는 동작을 포함할 수 있다.
일 실시 예에 따르면, 상기 방법은 상기 프레임의 변경을 식별한 것에 기반하여, 상기 프레임의 변경된 시스템 파라미터를 획득하는 동작을 포함할 수 있다.
일 실시 예에 따르면, 상기 방법은 상기 변경된 시스템 파라미터에 대응하여 설정된 옵셋 정보를 상기 전자 장치의 메모리로부터 획득하는 동작 및 상기 옵셋 정보를 적용하여 설정된 소프트웨어 수직 동기화 신호를 출력하는 동작을 포함할 수 있다.
일 실시 예에 따르면, 상기 옵셋 정보는 하드웨어 수직 동기화 신호와 소프트웨어 수직 동기화 신호 간의 시간차 값의 평균 값을 포함하며, 상기 시스템 파라미터 및 프레임 드롭에 관련된 정보와 대응하여 상기 메모리에 저장될 수 있다.
일 실시 예에 따르면, 상기 방법은, 빠른 응답 이벤트 발생에 기반하여, 상기 소프트웨어 수직 동기화 신호를 상기 하드웨어 수직 동기화 신호의 주기와 무관하게 출력하는 동작을 더 포함할 수 있다.
일 실시 예에 따르면, 상기 소프트웨어 수직 동기화 신호는 상기 소프트웨어 모듈에 포함된 동기화 타이머에 의해 빠른 응답 이벤트가 발생될 때, 즉각적으로 출력될 수 있다.
일 실시 예에 따르면, 상기 소프트웨어 수직 동기화 신호의 출력 시간은 하드웨어 수직 동기화 신호의 출력 시간보다 앞선 시간일 수 있다.
일 실시 예에 따르면, 상기 프레임의 변경 여부를 식별하는 동작은, 상기 프레임의 시스템 파라미터의 변경, 상기 프레임의 그래픽 관련 정보의 변경 또는 프레임 드롭 발생에 기반하여, 상기 프레임이 변경된 것을 식별하는 동작을 포함할 수 있다.
일 실시 예에 따르면, 상기 방법은, 하드웨어 수직 동기화 신호를 및 상기 소프트웨어 수직 동기화 신호를 모니터링하는 동작, 상기 하드웨어 수직 동기화 신호 및 상기 소프트웨어 수직 동기화 신호 간의 시간 차 값을 획득하는 동작 및 상기 시간 차 값을 반영하여 상기 메모리에 저장된 시간차 평균 값을 갱신하는 동작을 더 포함할 수 있다.
일 실시 예에 따르면, 상기 방법은, 프레임 드롭의 발생 여부를 식별하는 동작, 상기 프레임 드롭의 발생을 식별한 것에 기반하여, 프레임 드롭의 빈도 및 평균 시간을 획득하는 동작, 상기 프레임 드롭의 빈도 또는 상기 평균 시간을 상기 프레임 드롭에 의한 시스템 파라미터에 대응하여 상기 메모리에 저장하는 동작, 상기 프레임 드롭에 의한 시스템 파라미터에 대응하여 설정된 옵셋 정보를 적용하여 새로운 소프트웨어 수직 동기화 신호를 설정하는 동작 및 상기 새로운 소프트웨어 수직 동기화 신호를 출력하는 동작을 포함할 수 있다.
일 실시 예에 따르면, 상기 시스템 파라미터는 FPS, CPU 클럭, GPU 클럭 또는 발열 상태 중 적어도 하나를 포함할 수 있다.
일 실시 예에 따르면, 프로그램을 저장하는 비 일시적 저장 매체에 있어서, 상기 프로그램은, 전자 장치의 프로세서에 의한 실행 시, 상기 프로세서가, 상기 전자 장치의 소프트웨어 모듈(OS)에 의해, 상기 디스플레이에 표시할 프레임의 렌더링 요청에 기반하여, 상기 프레임의 렌더링에 필요한 하드웨어 자원을 할당하는 동작, 상기 프레임의 변경 여부를 식별하는 동작, 상기 프레임의 변경을 식별한 것에 기반하여, 상기 프레임의 변경된 시스템 파라미터를 획득하는 동작, 상기 변경된 시스템 파라미터에 대응하여 설정된 옵셋 정보를 상기 전자 장치의 메모리로부터 획득하는 동작 및 상기 옵셋 정보를 적용하여 설정된 소프트웨어 수직 동기화 신호를 출력하는 동작을 실행하도록 실행 가능한 명령을 포함할 수 있다.
일 실시 예에 따르면, 프로그램을 저장하는 비 일시적 저장 매체에 있어서, 상기 프로그램은, 전자 장치의 프로세서에 의한 실행 시, 상기 전자 장치가, 상기 전자 장치의 소프트웨어 모듈(OS)에 의해, 빠른 응답 이벤트 발생에 기반하여, 상기 소프트웨어 수직 동기화 신호를 즉각적으로 출력하는 동작을 실행하도록 설정된 명령들을 더 포함할 수 있다.
일 실시 예에 따르면, 상기 소프트웨어 수직 동기화 신호는 상기 소프트웨어 모듈에 포함된 동기화 타이머에 의해 하드웨어 수직 동기화 신호의 주기와 무관하게 빠른 응답 이벤트가 발생될 때, 즉각적으로 출력될 수 있다. 일 실시 예에 따르면, 상기 소프트웨어 수직 동기화 신호의 출력 시간은 하드웨어 수직 동기화 신호의 출력 시간보다 앞선 시간일 수 있다. 일 실시 예에 따르면, 상기 옵셋 정보는 하드웨어 수직 동기화 신호와 소프트웨어 수직 동기화 신호 간의 시간차 값의 평균 값을 포함하며, 상기 시스템 파라미터 및 프레임 드롭에 관련된 정보와 대응하여 상기 메모리에 저장될 수 있다.
일 실시 예에 따르면, 프로그램을 저장하는 비 일시적 저장 매체에 있어서, 상기 프로그램은, 전자 장치의 프로세서에 의한 실행 시, 상기 전자 장치가, 상기 전자 장치의 소프트웨어 모듈(OS)에 의해, 프레임 드롭의 발생 여부를 식별하는 동작, 상기 프레임 드롭의 발생을 식별한 것에 기반하여, 프레임 드롭의 빈도 및 평균 시간을 획득하는 동작, 상기 프레임 드롭의 빈도 및 상기 평균 시간을 상기 프레임 드롭에 의한 시스템 파라미터에 대응하여 상기 메모리에 저장하는 동작, 상기 프레임 드롭에 의한 시스템 파라미터에 대응하여 설정된 옵셋 정보를 적용하여 새로운 소프트웨어 수직 동기화 신호를 설정하는 동작 및 상기 새로운 소프트웨어 수직 동기화 신호를 출력하는 동작을 실행하도록 설정된 명령들을 더 포함할 수 있다.
그리고 본 문서에 개시된 실시예는 개시된, 기술 내용의 설명 및 이해를 위해 제시된 것이며, 본 문서에서 기재된 기술의 범위를 한정하는 것은 아니다. 따라서, 본 문서의 범위는, 본 문서의 기술적 사상에 근거한 모든 변경 또는 다양한 다른 실시예를 포함하는 것으로 해석되어야 한다.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "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))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.

Claims (15)

  1. 전자 장치(101)에 있어서,
    소프트웨어 모듈(201)을 포함하는 메모리(130);
    디스플레이(160); 및
    상기 메모리 및 상기 디스플레이와 전기적으로 연결되는 적어도 하나의 프로세서(120)를 포함하며,
    상기 소프트웨어 모듈(201)은 상기 적어도 하나의 프로세서(120)에 의해 실행 시, 상기 전자 장치(101)로 하여금:
    상기 디스플레이에 표시할 프레임의 렌더링이 요청되는 지를 식별하고(401), 상기 프레임의 렌더링 요청을 식별하면, 상기 프레임의 렌더링에 필요한 하드웨어 자원을 할당하고(403),
    상기 프레임의 변경 여부를 식별하고,
    상기 프레임의 변경을 식별한 것에 기반하여, 상기 프레임의 변경된 시스템 파라미터를 획득하고,
    상기 변경된 시스템 파라미터에 대응하여 설정된 옵셋 정보를 상기 메모리로부터 획득하고(407),
    상기 옵셋 정보를 적용하여 설정된 소프트웨어 수직 동기화 신호를 출력(409)하도록 설정된, 전자 장치.
  2. 제1항에 있어서,
    상기 옵셋 정보는 하드웨어 수직 동기화 신호와 소프트웨어 수직 동기화 신호 간의 시간차 값의 평균 값을 포함하며, 상기 시스템 파라미터 및 프레임 드롭에 관련된 정보와 대응하여 상기 메모리에 저장된, 전자 장치.
  3. 제1항 또는 제2항에 있어서, 상기 소프트웨어 모듈은 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금,
    빠른 응답 이벤트 발생에 기반하여, 상기 소프트웨어 수직 동기화 신호를 상기 하드웨어 수직 동기화 신호의 주기와 무관하게 출력하도록 설정되며,
    상기 하드웨어 수직 동기화 신호는 미리 지정된 주기로 생성되며,
    상기 빠른 응답 이벤트는 사용자 입력 및/또는 지문 인식을 포함하는, 전자 장치.
  4. 제3항에 있어서,
    상기 소프트웨어 수직 동기화 신호는 상기 하드웨어 수직 동기화 신호의 주기와 무관하게 빠른 응답 이벤트가 발생될 때, 즉각적으로 출력되며,
    상기 소프트웨어 수직 동기화 신호의 출력 시간은 현재 주기에 대한 상기 하드웨어 수직 동기화 신호의 출력 시간보다 앞선 시간인, 전자 장치.
  5. 제1항 내지 제4항 중 어느 한 항에 있어서, 상기 소프트웨어 모듈은 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금 ,
    상기 프레임의 시스템 파라미터의 변경, 상기 프레임의 그래픽 관련 정보의 변경 또는 프레임 드롭 발생에 기반하여, 상기 프레임이 변경된 것을 식별하도록 설정된, 전자 장치.
  6. 제1항 내지 제5항 중 어느 한 항에 있어서, 상기 소프트웨어 모듈은 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금 ,
    하드웨어 수직 동기화 신호 및 상기 소프트웨어 수직 동기화 신호를 모니터링하고,
    상기 하드웨어 수직 동기화 신호 및 상기 소프트웨어 수직 동기화 신호 간의 시간 차 값을 획득하고,
    상기 시간 차 값을 반영하여 상기 메모리에 저장된 시간차 평균 값을 갱신하도록 설정된, 전자 장치.
  7. 제1항 내지 제6항 중 어느 한 항에 있어서, 상기 소프트웨어 모듈은 상기 적어도 하나의 프로세서에 의해 실행 시, 상기 전자 장치로 하여금,
    프레임 드롭의 발생 여부를 식별하고,
    상기 프레임 드롭의 발생을 식별한 것에 기반하여, 프레임 드롭의 빈도 또는 프레임 드롭의 평균 시간을 획득하고,
    상기 프레임 드롭의 빈도 및 상기 프레임 드롭의 평균 시간을 상기 프레임 드롭에 기반하여 갱신된 시스템 파라미터로서 상기 메모리에 저장하고,
    상기 갱신된 시스템 파라미터에 기반하여 옵셋 정보를 적용하여 새로운 소프트웨어 수직 동기화 신호를 출력하도록 설정되며,
    상기 시스템 파라미터는 FPS, CPU 클럭, GPU 클럭 또는 발열 상태 중 적어도 하나를 포함하며,
    상기 프레임 드롭의 평균 시간은 프레임 드롭들의 상기 지연 시간들의 평균인, 전자 장치.
  8. 제1항 내지 제7항 중 어느 한 항에 있어서, 상기 소프트웨어 모듈은,
    상기 프레임의 렌더링을 처리하는 그래픽 프레임워크; 및
    동기화 모듈을 포함하며,
    상기 동기화 모듈은,
    상기 프레임 렌더링 요청에 기반하여 상기 프레임의 변경을 식별하고, 상기 옵셋 정보를 획득하는 동기화 코어;
    상기 소프트웨어 수직 동기화 신호를 출력하는 동기화 타이머;
    상기 옵셋 정보를 관리하는 동기화 데이터 모듈; 및
    상기 소프트웨어 수직 동기화 신호 및 상기 디스플레이 모듈에서 출력하는 하드웨어 수직 동기화 신호를 모니터링하는 동기화 모니터를 포함하는, 전자 장치.
  9. 전자 장치(101)에서의 동작 방법에 있어서, 상기 전자 장치의 소프트웨어 모듈(201)에 의해,
    상기 전자 장치의 디스플레이(160)에 표시될 프레임의 렌더링이 요청되는 지를 식별하는 동작(401);
    상기 프레임의 렌더링 요청을 식별하면, 상기 프레임의 렌더링에 필요한 하드웨어 자원을 할당하는 동작(403);
    상기 프레임의 변경 여부를 식별하는 동작;
    상기 프레임의 변경을 식별한 것에 기반하여, 상기 프레임의 변경된 시스템 파라미터를 획득하는 동작;
    상기 변경된 시스템 파라미터에 대응하여 설정된 옵셋 정보를 상기 전자 장치의 메모리로부터 획득하는 동작(407); 및
    상기 옵셋 정보를 적용하여 설정된 소프트웨어 수직 동기화 신호를 출력하는 동작(409)을 포함하는, 방법.
  10. 제9항에 있어서,
    상기 옵셋 정보는 하드웨어 수직 동기화 신호와 소프트웨어 수직 동기화 신호 간의 시간차 값의 평균 값을 포함하며, 상기 시스템 파라미터 및 프레임 드롭에 관련된 정보와 대응하여 상기 메모리에 저장된, 방법.
  11. 제9항 또는 제10항에 있어서, 상기 방법은,
    빠른 응답 이벤트 발생에 기반하여, 상기 소프트웨어 수직 동기화 신호를 상기 하드웨어 수직 동기화 신호의 주기와 무관하게 출력하는 동작을 더 포함하며, 상기 하드웨어 수직 동기화 신호는 미리 지정된 주기로 생성되며;
    상기 빠른 응답 이벤트는 사용자 입력 및/또는 지문 인식을 포함하며;
    상기 소프트웨어 수직 동기화 신호는 상기 소프트웨어 모듈에 포함된 동기화 타이머에 의해 빠른 응답 이벤트가 발생될 때, 즉각적으로 출력되며,
    상기 소프트웨어 수직 동기화 신호의 출력 시간은 현재 주기에 대한 상기 하드웨어 수직 동기화 신호의 출력 시간보다 앞선 시간인, 방법.
  12. 제9항 내지 제11항 중 어느 한 항에 있어서, 상기 프레임의 변경 여부를 식별하는 동작은,
    상기 프레임의 시스템 파라미터의 변경, 상기 프레임의 그래픽 관련 정보의 변경 또는 프레임 드롭 발생에 기반하여, 상기 프레임이 변경된 것을 식별하는 동작을 포함하는, 방법.
  13. 제9항 내지 제12항 중 어느 한 항에 있어서, 상기 방법은,
    하드웨어 수직 동기화 신호를 및 상기 소프트웨어 수직 동기화 신호를 모니터링하는 동작;
    상기 하드웨어 수직 동기화 신호 및 상기 소프트웨어 수직 동기화 신호 간의 시간 차 값을 획득하는 동작; 및
    상기 시간 차 값을 반영하여 상기 메모리에 저장된 시간차 평균 값을 갱신하는 동작을 더 포함하는, 방법.
  14. 제9항 내지 제13항 중 어느 한 항에 있어서, 상기 방법은,
    프레임 드롭의 발생 여부를 식별하는 동작;
    상기 프레임 드롭의 발생을 식별한 것에 기반하여, 프레임 드롭의 빈도 또는 프레임 드롭의 평균 시간을 획득하는 동작;
    상기 프레임 드롭의 빈도 및 상기 프레임 드롭의 평균 시간을 상기 프레임 드롭에 기반하여 갱신된 시스템 파라미터로서 상기 메모리에 저장하는 동작;
    상기 갱신된 시스템 파라미터에 기반하여 옵셋 정보를 적용하여 새로운 소프트웨어 수직 동기화 신호를 생성하는 동작; 및
    상기 새로운 소프트웨어 수직 동기화 신호를 출력하는 동작을 포함하며,
    상기 시스템 파라미터는 FPS, CPU 클럭, GPU 클럭 또는 발열 상태 중 적어도 하나를 포함하며,
    상기 프레임 드롭의 평균 시간은 프레임 드롭들의 상기 지연 시간들의 평균인, 방법.
  15. 프로그램을 저장하는 비일시적 저장 매체에 있어서, 상기 프로그램은, 전자 장치(101)의 프로세서(120)에 의한 실행 시, 상기 전자 장치가, 상기 전자 장치의 소프트웨어 모듈(201)에 의해,
    상기 전자 장치의 디스플레이(160)에 표시될 프레임의 렌더링이 요청되는 지를 식별하는 동작(401);
    상기 프레임의 렌더링 요청을 식별하면, 상기 프레임의 렌더링에 필요한 하드웨어 자원을 할당하는 동작(403);
    상기 프레임의 변경 여부를 식별하는 동작;
    상기 프레임의 변경을 식별한 것에 기반하여, 상기 프레임의 변경된 시스템 파라미터를 획득하는 동작;
    상기 변경된 시스템 파라미터에 대응하여 설정된 옵셋 정보를 상기 전자 장치의 메모리로부터 획득하는 동작(407); 및
    상기 옵셋 정보를 적용하여 설정된 소프트웨어 수직 동기화 신호를 출력하는 동작(409)을 실행하도록 설정된 명령들을 포함하는, 비 일시적 저장 매체.
PCT/KR2023/016198 2022-10-20 2023-10-18 디스플레이의 동기화를 위한 전자 장치 및 방법 WO2024085665A1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP23786459.0A EP4380146A1 (en) 2022-10-20 2023-10-18 Electronic device and method for display synchronization

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR10-2022-0135446 2022-10-20
KR20220135446 2022-10-20
KR10-2022-0161792 2022-11-28
KR1020220161792A KR20240055586A (ko) 2022-10-20 2022-11-28 디스플레이의 동기화를 위한 전자 장치 및 방법

Publications (1)

Publication Number Publication Date
WO2024085665A1 true WO2024085665A1 (ko) 2024-04-25

Family

ID=88417474

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2023/016198 WO2024085665A1 (ko) 2022-10-20 2023-10-18 디스플레이의 동기화를 위한 전자 장치 및 방법

Country Status (2)

Country Link
EP (1) EP4380146A1 (ko)
WO (1) WO2024085665A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210038669A (ko) * 2018-08-06 2021-04-07 밸브 코포레이션 애플리케이션 렌더링 성능에 근거한 예측 및 스로틀링 조정
US20210194991A1 (en) * 2019-12-23 2021-06-24 Sony Interactive Entertainment Inc. Methods and systems for maintaining smooth frame rate during transmission of streaming video content
JP2021190868A (ja) * 2020-05-29 2021-12-13 キヤノン株式会社 映像同期装置、映像同期装置の制御方法及びプログラム
KR20220017218A (ko) * 2020-08-04 2022-02-11 삼성전자주식회사 화면의 부분 영역을 빠르게 업데이트하는 전자 장치 및 방법
KR102402247B1 (ko) * 2018-01-17 2022-05-26 엘지전자 주식회사 영상 표시 장치, 및 그것의 신호 처리 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102402247B1 (ko) * 2018-01-17 2022-05-26 엘지전자 주식회사 영상 표시 장치, 및 그것의 신호 처리 방법
KR20210038669A (ko) * 2018-08-06 2021-04-07 밸브 코포레이션 애플리케이션 렌더링 성능에 근거한 예측 및 스로틀링 조정
US20210194991A1 (en) * 2019-12-23 2021-06-24 Sony Interactive Entertainment Inc. Methods and systems for maintaining smooth frame rate during transmission of streaming video content
JP2021190868A (ja) * 2020-05-29 2021-12-13 キヤノン株式会社 映像同期装置、映像同期装置の制御方法及びプログラム
KR20220017218A (ko) * 2020-08-04 2022-02-11 삼성전자주식회사 화면의 부분 영역을 빠르게 업데이트하는 전자 장치 및 방법

Also Published As

Publication number Publication date
EP4380146A1 (en) 2024-06-05

Similar Documents

Publication Publication Date Title
WO2021075786A1 (en) Electronic device and method of processing pop-up window using multi-window thereof
WO2021145727A1 (en) Electronic device and screen refresh method thereof
WO2020166894A1 (en) Electronic device and method for recommending word in same
WO2022030890A1 (ko) 다중 윈도우 이미지 캡쳐 방법 및 이를 위한 전자 장치
WO2022108192A1 (ko) 전자 장치 및 전자 장치의 멀티윈도우 제어방법
WO2022031055A1 (ko) 전자 장치 및 그의 진동 출력 제어 방법
WO2024085665A1 (ko) 디스플레이의 동기화를 위한 전자 장치 및 방법
WO2022103225A1 (ko) 전자 장치 및 전자 장치의 이미지 렌더링 방법
WO2022065845A1 (ko) 입력 데이터 처리 방법 및 이를 지원하는 전자 장치
WO2021145693A1 (ko) 이미지 데이터를 처리하는 전자 장치 및 이미지 데이터 처리 방법
WO2021177640A1 (ko) 외부 전자 장치의 어플리케이션을 제어하는 방법 및 이를 지원하는 전자 장치
WO2021162210A1 (en) Electronic device for controlling processing unit on basis of time spent for generating frame and maximum allowed time and method of operating electronic device
WO2021049770A1 (ko) 복수의 어플리케이션을 실행하는 전자 장치 및 방법
WO2023214675A1 (ko) 터치 입력을 처리하기 위한 전자 장치 및 방법
WO2024101879A1 (ko) 전자 장치 및 전자 장치에서 이미지 프레임 동기화 제어 방법
WO2024072057A1 (ko) 터치 회로로부터의 신호에 기반하여 이미지의 표시를 스케줄링하는 전자 장치 및 방법
WO2024080659A1 (ko) 외부 전자 장치와 연결된 상태에 기반하여, 시각적 객체를 표시하기 위한 전자 장치, 방법, 및 컴퓨터 판독 가능 저장 매체
WO2022114648A1 (ko) 배경 화면을 설정하기 위한 전자 장치 및 그의 동작 방법
WO2024019359A1 (ko) 컨텐츠를 표시하는 전자 장치 및 그 동작 방법
WO2024112075A1 (ko) 하나 이상의 메신저 데이터 세트들에 대응하는 프로세스의 기능을 제어하기 위한 전자 장치 및 그 방법
WO2024210285A1 (ko) 이미지를 설정하는 전자 장치 및 설정 방법
WO2022197155A1 (ko) 플렉서블 회로기판를 포함하는 전자장치
WO2022103156A1 (ko) 플렉서블 디스플레이를 포함하는 전자 장치 및 이를 이용하는 방법
KR20240055586A (ko) 디스플레이의 동기화를 위한 전자 장치 및 방법
WO2024063342A1 (ko) 잠금 화면을 표시하는 전자 장치 및 그 동작 방법

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2023786459

Country of ref document: EP

Effective date: 20231019

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

Ref document number: 23786459

Country of ref document: EP

Kind code of ref document: A1