WO2024101879A1 - Electronic device, and method of controlling image frame synchronization in electronic device - Google Patents

Electronic device, and method of controlling image frame synchronization in electronic device Download PDF

Info

Publication number
WO2024101879A1
WO2024101879A1 PCT/KR2023/017846 KR2023017846W WO2024101879A1 WO 2024101879 A1 WO2024101879 A1 WO 2024101879A1 KR 2023017846 W KR2023017846 W KR 2023017846W WO 2024101879 A1 WO2024101879 A1 WO 2024101879A1
Authority
WO
WIPO (PCT)
Prior art keywords
image frame
display
electronic device
buffer area
synchronization signal
Prior art date
Application number
PCT/KR2023/017846
Other languages
French (fr)
Korean (ko)
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 KR1020220176789A external-priority patent/KR20240066937A/en
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2024101879A1 publication Critical patent/WO2024101879A1/en

Links

Images

Definitions

  • Various embodiments relate to image frame synchronization control in an electronic device.
  • an electronic device eg, a smart phone, a wearable electronic device, or other portable electronic device
  • the electronic device may include a display capable of displaying information related to the execution of various functions.
  • the display may include various display devices such as a liquid crystal display (LCD), an organic light emitting diode display (OLED display), or an electrophoretic display.
  • the electronic device may perform rendering on image information (or display data) using at least one processor and display the rendered image frame through a display.
  • Electronic devices may require synchronization between rendering image frames and displaying image frames.
  • the electronic device may perform a vertical synchronization (eg, vsync (vertical synchronization)) function that transmits image frames rendered by at least one processor to the display according to the screen refresh rate of the display.
  • a vertical synchronization e.g. vsync (vertical synchronization)
  • the electronic device matches the starting point of scanning one field on the transmitting side (e.g., at least one processor) that transmits the rendered image frame and the receiving side (e.g., display) that receives the rendered image frame.
  • a vertical synchronizing signal e.g. vsync signal
  • vsync signal can be used.
  • the electronic device uses at least one processor to transmit rendered image frames to the display every specified time unit (e.g., vsync time unit) based on the vsync signal, and the display sends the received rendered image frames to the display using vsync signals. It can be played (or output) at specified time units based on the signal. If at least one processor fails to complete rendering within a specified time unit while using the vsync function, the electronic device may repeatedly play the previous image frame displayed on the display in the first time period in the second time period. In this way, when an electronic device reproduces one image frame in two time periods, the image frame may be displayed unnaturally.
  • vsync time unit e.g., vsync time unit
  • Electronic devices can use the adaptive sync function to prevent one image frame from being played in two vsync time sections. For example, when using the adaptive sync function, the electronic device controls the display to wait for an image frame to be received for a certain waiting time (e.g. 2ms), and if an image frame is received within the waiting time, it plays the received image frame. Even if an image frame is not received immediately upon receiving a vsync signal (e.g., the starting point of a specified time period), delayedly received image frames can be displayed after a slight delay.
  • a vsync signal e.g., the starting point of a specified time period
  • the electronic device When using the adaptive sync function, the electronic device includes waiting time in each designated time section (e.g., vsync time section), so the time length of each vsync time section may be increased compared to when the adaptive sync function is not used. For example, if the frame rate is 60hz, the time length of the vsync section may be 16.6ms, and if the waiting time for an image frame due to the adaptive sync function is 3.4ms, the time length of the vsync section may increase to a maximum of 20ms. You can.
  • each designated time section e.g., vsync time section
  • the adaptive sync feature can be useful to compensate for delays in receiving image frames from a display, but the display may have to wait up to the maximum latency to receive image frames even when there are no image frames to be received. For example, even if image frames are not rendered continuously and there are no rendered image frames in between, the display may have unnecessary waiting time in the vsync time section, which unnecessarily increases the time in the vsync section. The next image frame may not be played quickly.
  • a waiting time for the image frame may not be applied in the corresponding synchronization time section. You can.
  • An electronic device may include a display, memory, and at least one processor.
  • the at least one processor according to an embodiment is configured to update the first image frame in the graphics buffer area of the memory based on the first synchronization signal, so that the display displays the first image frame during a designated waiting time from the point of receiving the second synchronization signal. Control can be performed to wait for image frame reception, and when the first image frame is received within the designated waiting time, control can be performed to display the received first image frame.
  • the at least one processor is configured to display the first image frame without waiting time at the point of receiving the third synchronization signal as the second image frame is not updated in the graphic buffer area based on the second synchronization signal. You can control the continuous display of image frames.
  • a method of controlling image frame synchronization in an electronic device includes updating the first image frame in the graphic buffer area of the memory of the electronic device based on the first synchronization signal, thereby causing the display to change to a specified state from the time of receiving the second synchronization signal. It may include controlling the display to wait for reception of the first image frame during the waiting time, and controlling to display the received first image frame when the first image frame is received within the designated waiting time.
  • the method according to one embodiment is such that the second image frame is not updated in the graphic buffer area based on the second synchronization signal, so that the display displays the first image frame without waiting time at the time of receiving the third synchronization signal. It may include an operation to control continuous display.
  • a non-volatile storage medium storing instructions, wherein the instructions are set to cause the electronic device to perform at least one operation when executed by the electronic device, wherein the at least one operation is based on a first synchronization signal.
  • the display is controlled to wait for reception of the first image frame for a designated waiting time from the point of receiving the second synchronization signal, and the display is controlled to wait for reception of the first image frame within the designated waiting time.
  • the electronic device identifies whether to render an image frame and/or update an image frame by referring to the graphics buffer status and/or the operation status information of at least one processor, and displays and/or displays based on the identification result.
  • the DPU's adaptive sync function By controlling the DPU's adaptive sync function to be activated (e.g. on) or deactivated (e.g. off), unnecessary frame waiting time in the no frame section can be reduced. This can prevent the next new frame update time from being delayed.
  • FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments.
  • Figure 2 is a block diagram of a display device according to various embodiments.
  • Figure 3 is a configuration diagram of an electronic device according to an embodiment.
  • FIG. 4 is a diagram for explaining the operation of a CPU in an electronic device according to an embodiment.
  • Figure 5 is a flowchart showing an image frame synchronization control operation in an electronic device according to an embodiment.
  • FIG. 6 is a flowchart illustrating a display operation based on whether an image frame is updated in a graphics buffer area in an electronic device according to an embodiment.
  • FIG. 7 is a diagram illustrating image frames when adaptive sync is applied in an electronic device according to an embodiment.
  • FIG. 8 is a diagram illustrating a case in which an image frame is not updated in the graphics buffer area while adaptive sync is applied in an electronic device according to an embodiment.
  • FIG. 9 is a diagram illustrating not applying adaptive sync when an image frame is not updated in the graphics buffer area while applying adaptive sync in an electronic device according to an embodiment.
  • FIG. 10 is a diagram illustrating not applying adaptive sync when the next section is no frame while the vsync section of the display is increased based on the first frame delay in an electronic device according to an embodiment.
  • 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 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, where artificial intelligence 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 (enhanced mobile broadband (eMBB)), minimization of terminal power and access to multiple terminals (massive machine type communications (mMTC)), or ultra-reliable and low-latency (URLLC). -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.
  • MIMO massive array multiple-input and multiple-output
  • 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). According to one embodiment, the wireless communication module 192 supports Peak data rate (e.g., 20 Gbps or more) for realizing eMBB, 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 block diagram 200 of the display device 160 according to various embodiments.
  • the display device 160 may include a display 210 and a display driver integrated circuit (DDI) (or display driving circuit) 230 for controlling the display 210 .
  • the DDI 230 may include an interface module 231, a memory 233 (eg, buffer memory), an image processing module 235, or a mapping module 237.
  • the DDI 230 transmits image information, including image data or an image control signal corresponding to a command for controlling the image data, to an electronic device (e.g., the electronic device of FIG. 1) through the interface module 231. may receive from other components of the device 101).
  • the image information is stored in the processor 120 (e.g., the main processor 121 (e.g., an application processor) or the auxiliary processor 123 (
  • the DDI 230 may communicate with the touch circuit 250 or the sensor module 176 through the interface module 231.
  • at least some of the received image information may be stored in the memory 233, for example, on a frame basis, and the memory 233 may include a register (not shown).
  • the register may store setting values for performing functions of the electronic device 101.
  • the image processing module 235 may store at least a portion of the image data or the display 210.
  • the mapping module 237 may perform pre-processing or post-processing (e.g., resolution, brightness, or size adjustment) based on at least the characteristics of the image data pre-processed or post-processed through the image processing module 235.
  • the generation of the voltage value or current value may be generated by, for example, an attribute of the pixels of the display 210 (e.g., an array of pixels (RGB stripe or At least some pixels of the display 210 may be driven, for example, based at least in part on the voltage value or the current value.
  • Visual information eg, text, image, or icon
  • corresponding to the image data may be displayed through the display 210.
  • the display device 160 may further include a touch circuit 250.
  • the touch circuit 250 may include a touch sensor 251 and a touch sensor IC 253 for controlling the touch sensor 251.
  • the touch sensor IC (or touch sensor circuit) 253 may control the touch sensor 251 to, for example, detect a touch input or hovering input for a specific position on the display 210.
  • the touch sensor IC 253 may detect a touch input or a hovering input by measuring a change in a signal (eg, voltage, light amount, resistance, or charge amount) for a specific position of the display 210.
  • the touch sensor IC 253 may provide information (e.g., location, area, pressure, or time) about the detected touch input or hovering input to the processor 120.
  • At least a portion of the touch circuit 250 is disposed as part of the display driver IC 230, the display 210, or outside the display device 160. It may be included as part of other components (e.g., auxiliary processor 123).
  • the display device 160 may further include at least one sensor (eg, a fingerprint sensor, an iris sensor, a pressure sensor, or an illumination sensor) of the sensor module 176, or a control circuit therefor.
  • the at least one sensor or a control circuit therefor may be embedded in a part of the display device 160 (eg, the display 210 or the DDI 230) or a part of the touch circuit 250.
  • the sensor module 176 embedded in the display device 160 includes a biometric sensor (e.g., a fingerprint sensor)
  • the biometric sensor transmits biometric information associated with a touch input through a portion of the display 210. (e.g. fingerprint image) can be obtained.
  • the pressure sensor may acquire pressure information associated with a touch input through part or the entire area of the display 210. You can.
  • the touch sensor 251 or the sensor module 176 may be disposed between pixels of a pixel layer of the display 210, or above or below the pixel layer.
  • the sensor module 176 may further include a pen sensor (eg, a pen sensor circuit, a pen sensor IC, or a digitizer controller).
  • Figure 3 is a configuration diagram of an electronic device according to an embodiment.
  • the electronic device 301 may include at least one processor 320, a memory 330, and a display 360, and may further include other components. .
  • At least one processor 320 renders image information and renders the rendered image frame in a specified time unit (or vertical synchronization signal (e.g., vsync signal (vertical synchronization signal))) based on a specified synchronization signal (or vertical synchronization signal (vertical synchronization signal)).
  • a specified time unit or vertical synchronization signal (e.g., vsync signal (vertical synchronization signal))
  • vsync time unit can be transmitted to the display 360.
  • the at least one processor 320 stores the first image frame of the first time period rendered based on the first vsync signal in the graphics buffer area of the memory 330 (or a separate buffer memory (not shown)).
  • the first image frame stored in the graphic buffer area can be controlled to be transmitted to the display 360 based on the second vsync signal following the first vsync signal.
  • the display 360 may output (or play) the first image frame transmitted in the second time period based on the second vsync signal.
  • At least one processor 320 applies adaptive sync (e.g., activates the adaptive sync function) or does not apply adaptive sync (e.g., activates the adaptive sync function) when the display 360 receives an image frame from the at least one processor 320 and outputs it.
  • deactivating the adaptive sync function at least one processor 320 according to an embodiment may control whether an image frame is updated in the graphics buffer area (e.g., whether a newly rendered image frame is stored in the graphics buffer area).
  • the adaptive sync function of the display 360 may be controlled to be activated or deactivated based on whether an image frame to be transmitted from the graphic buffer area to the display 360 exists.
  • At least one processor 320 may be controlled to activate the adaptive sync function of the display 360.
  • the adaptive sync function of the display 360 may be controlled to be disabled if the adaptive sync function is activated so that the next image frame is not updated in the graphic buffer area. In this case, you can control the adaptive sync function to be disabled.
  • the at least one processor 320 stores the first image frame of the first time period rendered based on the first vsync signal in the graphics buffer area of the memory 330, and stores the next image frame of the first vsync signal in the graphics buffer area of the memory 330.
  • the display 360 may be controlled (or set) to perform adaptive sync (e.g., activate the adaptive sync function).
  • the display 360 waits to receive an image frame for a specified waiting time (e.g., 2 ms) from the moment of receiving the second vsync signal, and the first image frame is received through the graphics buffer area within the specified waiting time. Once received, the received first image frame may be displayed.
  • a specified waiting time e.g. 2 ms
  • the at least one processor 320 performs adaptive sync when there is no image frame rendered based on the second vsync signal following the first vsync signal or when the image frame is not updated in the graphics buffer area. You can control (or configure) it not to perform (e.g. disabling the adaptive sync feature).
  • the display 360 may continue to display the first image frame, which is the previously received image frame, without waiting time at the time of receiving the second vsync signal while the adaptive sync function is disabled.
  • the at least one processor 320 displays (360) when there is a second image frame rendered based on the third vsync signal following the second vsync signal or when the second image frame is updated in the graphics buffer area.
  • ) can be controlled (or set) to perform adaptive sync (e.g., activating the adaptive sync function).
  • the display 360 waits to receive the second image frame for a specified waiting time (e.g., 2 ms) from the point of receiving the third vsync signal, and displays the second image frame through the graphic buffer area within the specified waiting time.
  • a specified waiting time e.g., 2 ms
  • At least one processor 320 may include a central processing unit (CPU) 322, a graphic processing unit (GPU) 324, and/or a data processing unit (DPU) 326.
  • the CPU 322 may perform overall control operations for the components of the electronic device 301.
  • the CPU 322 can execute instructions and processing necessary for the operating system.
  • the GPU 324 may perform image processing on image information (eg, data to be displayed).
  • the GPU 324 may perform rendering on image information and obtain a rendered image frame.
  • the DPU 326 may parse and process image frames obtained through processing through the CPU 322 and GPU 324 and transmit them to the display 360.
  • At least one processor 320 includes the CPU 322, GPU 324, and DPU 326 has been described as an example, but at least one processor 320 includes the CPU 322. , GPU 324, and may include one application processor (AP) that performs the functions of DPU 326.
  • AP application processor
  • the memory 330 may store various data and information used by at least one processor 320.
  • Data may include, for example, input data or output data for software (e.g., a program) and instructions related thereto.
  • Memory 330 may include volatile memory or non-volatile memory.
  • the memory 330 may store instructions for processing operations performed by each of the at least one processor 320.
  • the display 360 may visually provide information to the outside of the electronic device 301 (eg, a user).
  • the display 360 may display an image corresponding to an image frame processed and transmitted by at least one processor 330.
  • An electronic device (e.g., the electronic device 101 of FIG. 1 or the electronic device 301 of FIG. 3) according to an embodiment includes a display (e.g., 360 of FIG. 3), a memory (e.g., 330 of FIG. 3), And it may include at least one processor (eg, 320 in FIG. 3).
  • the at least one processor updates the first image frame in the graphics buffer area of the memory based on the first synchronization signal, so that the display displays the first image for a designated waiting time from the point of receiving the second synchronization signal. Control can be performed to wait for frame reception, and when the first image frame is received within the designated waiting time, control can be performed to display the received first image frame.
  • the at least one processor is configured to display the first image frame without waiting time at the point of receiving the third synchronization signal as the second image frame is not updated in the graphic buffer area based on the second synchronization signal. You can control the continuous display of image frames.
  • the at least one processor updates the third image frame in the graphic buffer area based on the third synchronization signal, so that the display displays the third image frame during a designated waiting time from the time of receiving the fourth synchronization signal. It can be controlled to wait for reception, and if the third image frame is received within the designated waiting time, it can be controlled to display the received third image frame.
  • the at least one processor may include at least one of a central processing unit (CPU), a graphic processing unit (GPU), and a data processing unit (DPU).
  • CPU central processing unit
  • GPU graphic processing unit
  • DPU data processing unit
  • the at least one processor may be set to render image information and store the rendered image frame in the graphics buffer area for a designated time period based on a synchronization signal.
  • the at least one processor may be set to activate the adaptive sync function of the display as the rendered image frame is updated in the graphic buffer area.
  • the at least one processor may be set to disable the adaptive sync function of the display as the rendered image frame is not updated in the graphic buffer area.
  • the frame rate of the image frame may be 60hz, and the designated time interval based on the synchronization signal may be 16.6ms.
  • the waiting time according to one embodiment may be 3.4ms.
  • FIG. 4 is a diagram for explaining the operation of a CPU in an electronic device according to an embodiment.
  • the CPU e.g., the processor 120 of FIG. 1 or the electronic device 301 of FIG. 3 of an electronic device (e.g., the electronic device 101 of FIG. 1 or the electronic device 301 of FIG. 3) according to an embodiment.
  • the CPU 322) and/or the GPU include an application control module (APP) 410 and a surfaceflinger module (surfaceflinger) 420.
  • APP application control module
  • surfaceflinger surfaceflinger
  • display driver display driver
  • the application control module 410 renders image information, stores the rendered image frames in each of the graphics buffers (e.g., image frame storage areas of the memory) of the memory (e.g., 330), and then Information (e.g., storage area address) of each graphic buffer in which image frames are stored may be transmitted (e.g., enqueue) to the surfaceflinger module 420.
  • the graphics buffers e.g., image frame storage areas of the memory
  • Information e.g., storage area address
  • the surfaceflinger module 420 may composite and commit the frame of image frames stored in the graphic buffers using information on each of the graphic buffers.
  • the surfaceflinger module 420 provides information on each of the graphics buffers (e.g., each graphics buffer area address information (e.g., memory address information), each graphic buffer module 430 through a graphics HAL (hardware abstraction layer).
  • Memory size information of the graphic buffer area, image frame sequence information stored in each graphic buffer area, image frame data information stored in each graphic buffer area, and/or resolution information (e.g., horizontal and vertical sizes) of image frames stored in the graphic buffer area. ) can be transmitted.
  • the display driver module 430 may include an adaptive sync control module 432 and a frame status monitoring module 434.
  • the frame status monitoring module 434 may monitor status information of graphics buffer areas.
  • the state of the graphic buffer areas may include at least one of the enqueued state, dequeued state, acquired state, and free state.
  • the dequeued state may be a state in which an image frame is being saved.
  • the application control module 410 may perform an operation to create an image frame and store it in the graphics buffer area (e.g., if the application control module 410 has acquired ownership of the graphics buffer area) situation).
  • the enqueued state may be a state in which an image frame is stored.
  • the application control module 410 completes storing the generated image frame in the graphics server area, it can wait for the DPU to take the image frame in an enqueued state.
  • the acquired state may be a state in which an image frame is read.
  • the acquired state may be a state in which the DPU takes ownership to read an image frame from the graphics buffer area.
  • the free state according to one embodiment may be a state in which image frame consumption (e.g., reading task) by the DPU has been completed.
  • the DPU can read an image frame from the graphics buffer area and transmit it to the display 360, and after this read operation is completed, the acquired state can be changed from the acquired state to the free state.
  • the stored image frame may be delivered to the display 360 and no newly updated image frame may exist.
  • the graphics buffer area may repeat the enqueued state, dequeued state, acquired state, and free state. If all graphic buffer areas (e.g., 3) are in the free state, no rendering operation is performed. can be identified.
  • the frame status monitoring module 434 determines that, when all of the graphic buffer areas are in the free state, the state of the graphic buffer area is set to an image frame update state (e.g., a state in which a newly rendered image frame is stored in the graphic buffer area, or It can be identified as not being in a state where an image frame to be output exists in the graphics buffer area.
  • the frame state monitoring module 434 identifies whether the state of the GPU 324 is in a running state or an idle state, and when the state of the GPU 324 is in an idle state, the state of the graphics buffer area is in the image frame update state. It may be identified as not being the case (e.g., a newly rendered image frame is stored in the graphics buffer area, or an image frame to be output exists in the graphics buffer area).
  • the adaptive sync control module 432 determines the state of the graphic buffer area in an image frame update state (e.g., a newly rendered image frame is stored in the graphic buffer area, or an image frame to be output exists in the graphic buffer area). If it is identified as a state), the adaptive sync function can be activated. The adaptive sync control module 432 according to one embodiment determines the state of the graphic buffer area in an image frame update state (e.g., a newly rendered image frame is stored in the graphic buffer area, or an image frame to be output exists in the graphic buffer area). If it is identified as not being in a state), the adaptive sync feature can be disabled.
  • an image frame update state e.g., a newly rendered image frame is stored in the graphic buffer area, or an image frame to be output exists in the graphic buffer area.
  • the adaptive sync control module 432 may transmit information (or a command) notifying activation of the adaptive sync function to the DPU 326 and the display 360 to activate the adaptive sync function.
  • the adaptive sync control module 432 may transmit information (or a command) indicating deactivation of the adaptive sync function to the DPU 326 and the display 360 in order to deactivate the adaptive sync function.
  • the DPU 326 When the DPU 326 according to one embodiment receives new graphics buffer information within a specified time from the point of receiving a synchronization signal (e.g., TE signal) (or vsync signal) from the display 360, the DPU 326 updates the image frame stored in the graphics buffer area. Post-processing operations such as hardware (HW) blending and/or display stream compression (DSC) may be performed and image frames may be transmitted to the display 360 through a mobile industry processor interface (MIPI) lane.
  • HW hardware
  • DSC display stream compression
  • the DPU 326 may perform a designated waiting time. Wait for the image frame transfer command for (e.g. timeout time), and if the image frame transfer command is received within the waiting time, the image frame is delivered to the display 360, and the image frame transfer command is received when the waiting time is exceeded. Then, an image frame can be transmitted to the display 360 at the time of receiving the second synchronization signal (eg, the second vsync signal) after the first vsync signal.
  • the second synchronization signal e.g. the second vsync signal
  • the DPU 326 may generate a second signal corresponding to the first time interval without waiting time. 1 image frame can be transmitted to the display 360.
  • the display 360 may store the image frame received from the DPU 326 in a memory associated with the display 360 (eg, memory 233 or GRAM in FIG. 2).
  • the display 360 may be controlled to continuously display previously output image frames.
  • the display 360 waits for a specified waiting time with the adaptive sync function activated, and when an image frame is delivered within the specified waiting time, the display 360 scans the image frame stored in the GRAM and responds to the image frame through the display panel. A screen can be displayed.
  • the display 360 according to one embodiment waits for a specified waiting time with the adaptive sync function activated, and when an image frame is delivered while the specified waiting time is exceeded, the display 360 scans the image frame stored in GRAM in the next time period and displays it. The screen corresponding to the image frame can be displayed through the panel.
  • Figure 5 is a flowchart showing an image frame synchronization control operation in an electronic device according to an embodiment.
  • At least one processor e.g., the processor 120 of FIG. 1 or the electronic device 301 of FIG. 3 of an electronic device (e.g., the electronic device of FIG. 1 or the electronic device 301 of FIG. 3) according to an embodiment.
  • At least one processor 320 may perform at least one of operations 510 to 540.
  • At least one processor 320 may render image information and store the rendered image frame in the graphics buffer area of the memory 330 (or a separate buffer memory (not shown)). . At least one processor 320 according to an embodiment stores the rendered image frames in the memory 330 at designated time units (e.g., vsync time interval) using a vertical synchronization signal (e.g., vsync signal). It can be stored in the graphics buffer area of .
  • time units e.g., vsync time interval
  • a vertical synchronization signal e.g., vsync signal
  • At least one processor 320 may identify activation or deactivation of the adaptive sync function of the display for the second time period based on whether the image frame is updated during the first time period. For example, the at least one processor 320 determines whether an image frame is updated in the graphics buffer area during the first time interval (e.g., whether a newly rendered image frame is stored in the graphics buffer area or an image to be output to the graphics buffer area). Activation or deactivation of the adaptive sync function for the second time period of the display 360 may be identified based on whether a frame exists or not.
  • At least one processor 320 may control to activate an adaptive sync function for the second time period of the display 360 when an image frame is updated in the graphic buffer area during the first time period. According to one embodiment, at least one processor 320 may control to disable the adaptive sync function for the second time period of the display 360 when the image frame is not updated in the graphic buffer area during the first time period.
  • the at least one processor 320 controls the display 360 to wait to receive an image frame for a specified waiting time in a second time period based on activation of the adaptive sync function and waits for the specified wait time. If an image frame is received within the time (e.g. 2ms), the display of the received image frame can be controlled.
  • the at least one processor 320 controls the display 360 to continue displaying the image frame displayed in the first time period in the second time period based on deactivation of the adaptive sync function. can do.
  • FIG. 6 is a flowchart illustrating a display operation based on whether an image frame is updated in a graphics buffer area in an electronic device according to an embodiment.
  • At least one processor e.g., the processor 120 of FIG. 1 or the electronic device 301 of FIG. 3 of an electronic device (e.g., the electronic device of FIG. 1 or the electronic device 301 of FIG. 3) according to an embodiment.
  • At least one processor 320 may perform at least one of operations 610 to 630.
  • At least one processor 320 performs adaptive operation of the display 360 as the first image frame is updated in the graphics buffer area based on the first synchronization signal (e.g., the first vsync signal). Activate the sync function, control the display 360 to wait to receive the first image frame for a specified waiting time (e.g., 2 ms) from the point of receiving the second synchronization signal (e.g., the second vsync signal), and within the specified waiting time. When the first image frame is received, control can be made to display the received first image frame.
  • a specified waiting time e.g. 2 ms
  • the at least one processor 320 uses the adaptive sync function of the display 360 as the image frame is not updated in the graphics buffer area based on the second vsync signal following the first vsync signal. can be deactivated and controlled so that the display continues to display the first image frame, which is the previously received image frame, without waiting time at the time of receiving the second vsync signal.
  • the at least one processor 320 updates the second image frame in the graphics buffer area based on a third synchronization signal (e.g., a third vsync signal) following the second vsync signal.
  • a third synchronization signal e.g., a third vsync signal
  • the adaptive sync function of the display 360 control the display 360 to wait to receive the second image frame for a specified waiting time (e.g., 2 ms) from the point of receiving the third vsync signal, and display the second image frame within the specified waiting time.
  • a specified waiting time e.g. 2 ms
  • a method of controlling image frame synchronization in an electronic device includes updating the first image frame in the graphic buffer area of the memory of the electronic device based on the first synchronization signal, thereby causing the display to change to a specified state from the time of receiving the second synchronization signal. It may include controlling the display to wait for reception of the first image frame during the waiting time, and controlling to display the received first image frame when the first image frame is received within the designated waiting time.
  • the method according to one embodiment is such that the second image frame is not updated in the graphic buffer area based on the second synchronization signal, so that the display displays the first image frame without waiting time at the time of receiving the third synchronization signal. It may include an operation to control continuous display.
  • the method according to one embodiment is such that the display waits to receive the third image frame for a specified waiting time from the time of receiving the fourth synchronization signal as the third image frame is updated in the graphic buffer area based on the third synchronization signal. and, if the third image frame is received within the designated waiting time, to display the received third image frame.
  • the method according to one embodiment may include rendering image information and storing the rendered image frame in the graphics buffer area for a designated time period based on a synchronization signal.
  • the method according to one embodiment may include activating an adaptive sync function of the display as the rendered image frame is updated in the graphic buffer area.
  • the method according to one embodiment may include disabling the adaptive sync function of the display when the rendered image frame is not updated in the graphic buffer area.
  • the frame rate of the image frame may be 60hz, and the designated time interval based on the synchronization signal may be 16.6ms.
  • the waiting time may be 3.4ms.
  • FIG. 7 is a diagram illustrating image frames when adaptive sync is applied in an electronic device according to an embodiment.
  • reference number 710 is rendered by the CPU (e.g., CPU 322 in FIG. 3) and/or GPU (e.g., GPU 324 in FIG. 3) and stored in the graphics buffer. It can represent image frames that are Reference numeral 720 according to one embodiment may represent image frames delivered to the display 360 by the DPU 326. Reference number 730 according to one embodiment may represent image frames played by the display 360.
  • the CPU 322 and DPU 326 may operate based on the vsync signal at specified time intervals (e.g., 16.6 ms), and the specified time intervals may be adaptively adjusted according to the frame delay time.
  • specified time intervals e.g. 16.6 ms
  • the CPU 322 performs rendering on the image information and stores the rendered first image frame in memory ( It can be stored in the graphics buffer area of 320, and the DPU 326 and display 360 can be in a standby state without any received image frames.
  • the CPU 322 may display the rendered second image frame in the second time interval (T2). It can be stored in the graphic buffer area of the memory 320 in the third time interval (T3) when T2) is exceeded.
  • the DPU 326 according to one embodiment fails to deliver the second image frame to the display 360 at the start of the third time interval T3 based on the third vsync signal, and after a predetermined time delay, the second image frame stored in the graphics buffer area 2 Image frames can be transmitted to the display 360.
  • the display 360 may display the received second image frame when a time-delayed second image frame is received while waiting to receive an image frame based on applying adaptive sync (or activating the adaptive sync function).
  • the time length of the third time section (T3) corresponding to the third vsync signal is increased by the frame transmission delay time (735), and then the time section interval is normalized from the fourth vsync signal. You can return to a specified time.
  • FIG. 8 is a diagram illustrating a case in which an image frame is not updated in the graphics buffer area while adaptive sync is applied in an electronic device according to an embodiment.
  • reference numeral 810 is a number that is rendered by a CPU (e.g., CPU 322 in FIG. 3) and/or GPU (e.g., GPU 324 in FIG. 3) and stored in a graphics buffer.
  • Reference numeral 820 may represent image frames transmitted to the display 360 by a DPU (eg, DPU 326 in FIG. 3).
  • Number 830 may represent image frames reproduced by display 360.
  • the CPU 322 and DPU 326 may operate based on the vsync signal at specified time intervals (eg, 16.6 ms).
  • the specified time interval can be adaptively adjusted depending on the frame delay time.
  • the CPU 322 performs rendering on image information and stores the rendered first image frame corresponding to the first time interval T1 (e.g., first vsync interval) based on the first vsync signal. It can be stored in the graphics buffer area of (320).
  • the DPU 326 processes the first image frame stored in the graphics buffer area in a second time interval T2 (e.g., a second vsync interval) based on the second vsync signal and delivers it to the display 360. You can.
  • the display 360 When applying adaptive sync (or activating the adaptive sync function), the display 360 according to one embodiment receives the first image frame for a designated waiting time (e.g., 2 ms) in the second time interval (T2) based on the second vsync signal. It waits, and if the first image frame is received within the designated waiting time, the received first image frame may be displayed.
  • a designated waiting time e.g. 2 ms
  • T2 second time interval
  • the CPU 322 may not perform rendering in the second time interval T2 based on the second vsync signal after the first vsync signal, or may not perform an update of the image frame rendered in the graphics buffer area. there is.
  • the DPU 326 according to one embodiment displays the display 360 in the third time interval T3 when there is no image frame in the graphic buffer area or the image frame is not updated (NO frame) in the second time interval T2. Image frames may not be transmitted (NO frame).
  • the display 324 according to one embodiment waits to receive the image frame until the maximum waiting time 835, and then transfers the image frame after the maximum waiting time. The received first image frame may be displayed. According to FIG.
  • the display 360 may have an unnecessary waiting time (e.g., 835) in the corresponding time section, which is Unnecessarily increasing the time can prevent the next image frame from being played quickly.
  • an unnecessary waiting time e.g., 835
  • FIG. 9 is a diagram illustrating that adaptive sync is not applied when an image frame is not updated in the graphics buffer area while applying adaptive sync in an electronic device according to an embodiment.
  • reference numeral 910 is a number that is rendered by a CPU (e.g., CPU 322 in FIG. 3) and/or GPU (e.g., GPU 324 in FIG. 3) and stored in a graphics buffer.
  • Reference numeral 920 may represent image frames transmitted to the display 360 by a DPU (eg, DPU 326 in FIG. 3).
  • Number 930 may represent image frames reproduced by display 360.
  • the CPU 322 and DPU 326 may operate based on the vsync signal at specified time intervals (eg, 16.6 ms).
  • the specified time interval can be adaptively adjusted depending on the frame delay time.
  • the CPU 322 performs rendering on image information and stores the rendered first image frame corresponding to the first time interval T1 (e.g., first vsync interval) based on the first vsync signal. It can be stored in the graphics buffer area of (320).
  • the DPU 326 according to an embodiment processes the first image frame stored in the graphics buffer area in a second time period T2 (e.g., a second vsync period) based on the second vsync signal and delivers it to the display 360. You can.
  • the display 360 When applying adaptive sync (or activating the adaptive sync function), the display 360 according to one embodiment displays a designated waiting time (e.g., 2 ms) in a second time interval (T2) (e.g., a second vsync interval) based on the second vsync signal. ), and when the first image frame is received within the designated waiting time, the received first image frame can be displayed.
  • a designated waiting time e.g., 2 ms
  • T2 e.g., a second vsync interval
  • the CPU 322 does not perform rendering in the second time interval T2 (e.g., the second vsync interval) based on the second vsync signal after the first vsync signal, or does not perform rendering on the image rendered in the graphics buffer area. Frame updates may not be performed.
  • the CPU 322 may identify that rendering is not performed in the second time period T2 or that the image frame rendered in the graphic buffer area is not updated. If rendering is not performed in the second time interval T2 or the image frame rendered in the graphics buffer area is not updated, the CPU 322 according to one embodiment may operate with the DPU 326 in the third time interval T3.
  • the display 326 can be controlled not to apply adaptive sync (or disable the adaptive sync function).
  • the DPU 326 may deliver the first image frame to the display 360 in the second time interval T3 and provide setting information for not applying adaptive sync (or deactivating the adaptive sync function) (925). You can.
  • the display 360 displays the first image frame received in the second time interval T3 and displays the first image frame in the third time interval T3 according to setting information for not applying adaptive sync (or deactivating the adaptive sync function). You can set it to have no waiting time.
  • the DPU 326 may not transmit an image frame to the display 360 in the third time interval T3, and the display 360 may be based on non-application of adaptive sync in the third time interval T3. Thus, the previously received first image frame can be continuously displayed without waiting time.
  • FIG. 10 is a diagram illustrating not applying adaptive sync when the next section is no frame while the vsync section of the display is increased based on the first frame delay in an electronic device according to an embodiment.
  • reference numeral 1010 is a block that is rendered by a CPU (e.g., CPU 322 in FIG. 3) and/or GPU (e.g., GPU 324 in FIG. 3) and stored in a graphics buffer.
  • Reference number 1020 may represent image frames transmitted to the display 360 by a DPU (eg, DPU 326 in FIG. 3).
  • Number 1030 may represent image frames reproduced by display 360.
  • the CPU 322 and DPU 326 may operate based on the vsync signal at specified time intervals (eg, 16.6 ms).
  • the specified time interval can be adaptively adjusted depending on the frame delay time.
  • the CPU 322 performs rendering on image information and stores the rendered first image frame corresponding to the first time interval T1 (e.g., first vsync interval) based on the first vsync signal. It can be stored in the graphics buffer area of (320). If the rendering time of the first image frame is delayed, storage of the first image frame may be completed in the second vsync period.
  • T1 e.g., first vsync interval
  • the DPU 326 may process the delayed first image frame in a second time interval T2 (e.g., a second vsync interval) based on the second vsync signal and transmit it to the display 360 with delay. there is.
  • the display 360 according to one embodiment waits to receive the first image frame until the maximum waiting time in the second time interval T2 based on the second vsync signal based on applying adaptive sync (or activating the adaptive sync function), If the first image frame is received within the maximum waiting time (1035) (e.g., 3.4 ms (1035)), the first image frame may be displayed. Due to an increase in waiting time according to one embodiment, the second vsync section may be increased to 20ms.
  • the CPU 322 may not perform rendering in the second time interval T2 based on the second vsync signal after the first vsync signal, or may not perform an update of the image frame rendered in the graphics buffer area. there is.
  • the DPU 326 according to one embodiment identifies (1021) when there is no image frame in the graphics buffer area or the image frame is not updated (NO frame) in the second time interval (T2) and the display 360 performs adaptive sync. Control not to apply (or disable the adaptive sync function) (or transmit a command to the display 360 to cause the display 360 to not apply adaptive sync (or deactivate the adaptive sync function)) (1023), and a third time interval (T3) ), the image frame may not be transmitted to the display 360 (NO frame).
  • the display 324 does not apply adaptive sync (or deactivates the adaptive sync function) according to a control or command from the DPU 326 in the third time interval T3, so that a specified waiting time (e.g. : 2ms), and if the first image frame is not received within the specified waiting time (e.g., 2ms), the previously received first image frame may be displayed.
  • the designated time interval e.g. 16.6 ms
  • the next second image frame may be displayed faster than when adaptive sync is applied.
  • the CPU 322 may store the second image frame rendered in the third time interval T3 (e.g., the third vsync interval) based on the third vsync signal in the graphics buffer area of the memory 320. there is. If the rendering time of the second image frame is delayed, storage of the second image frame may be completed in the fourth vsync section.
  • T3 e.g., the third vsync interval
  • the DPU 326 may process the delayed second image frame in the fourth time interval T4 (e.g., the fourth vsync interval) based on the fourth vsync signal and transmit it to the display 360 with delay.
  • the display 360 receives a fourth vsync signal in a state in which adaptive sync is applied (or the adaptive sync function is activated) as a command to not apply adaptive sync (or disable the adaptive sync function) is not received from the DPU 326. Wait for reception of a second image frame until the maximum waiting time in a fourth time interval (T4) based on
  • an electronic device e.g., the electronic device 101 of FIG. 1 and the electronic device 301 of FIG.
  • 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 this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example.
  • a module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • a storage medium e.g., built-in memory 136 or external memory 138
  • a machine e.g., electronic device 101
  • It may be implemented as software (e.g., program 140) including instructions.
  • a processor e.g., processor 120
  • a device e.g., electronic device 101
  • the one or more instructions may include code generated by a compiler or code that can be executed by an interpreter.
  • Device-readable storage media may be provided in the form of non-transitory storage media.
  • '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 via an application store (e.g. Play StoreTM) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smartphones) or online.
  • a machine-readable storage medium e.g. compact disc read only memory (CD-ROM)
  • an application store e.g. Play StoreTM
  • two user devices e.g. It can be distributed (e.g. downloaded or uploaded) directly between smartphones) 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 (eg, module or program) of the above-described components may include a single entity or a plurality of entities.
  • 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, omitted, or , or one or more other operations may be added.
  • the instructions are set to cause the electronic device to perform at least one operation when executed by the electronic device, the at least one operation being: As the first image frame is updated in the graphics buffer area of the memory of the electronic device based on the first synchronization signal, the display is controlled to wait for reception of the first image frame for a specified waiting time from the time of receiving the second synchronization signal, Controlling to display the received first image frame when the first image frame is received within the designated waiting time, and when the second image frame is not updated in the graphic buffer area based on the second synchronization signal
  • the method may include controlling the display to continuously display the first image frame without waiting time when a third synchronization signal is received.

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

According to various embodiments, an electronic device comprises: a display; a memory; and at least one processor, wherein the at least one processor may be configured to: as a first image frame is updated in a graphics buffer area of the memory on the basis of a first synchronizing signal, control the display to await reception of the first image frame during a designated standby time from a time point when a second synchronizing signal is received; if the first image frame is received within the designated standby time, control the received first image frame to be displayed; and as a second image frame is not updated in the graphics buffer area on the basis of the second synchronizing signal, control the display to continuously display the first image frame without a standby time, at a time point when a third synchronizing signal is received, and other embodiments can be possible.

Description

전자 장치 및 전자 장치에서 이미지 프레임 동기화 제어 방법Electronic devices and methods for controlling image frame synchronization in electronic devices
다양한 실시예들은 전자 장치에서 이미지 프레임 동기화 제어에 관한 것이다.Various embodiments relate to image frame synchronization control in an electronic device.
전자, 정보, 통신 기술이 발달하면서, 하나의 휴대용 통신 장치 또는 전자 장치에 다양한 기능이 통합되고 있다. 예를 들어, 전자 장치(예: 스마트 폰, 웨어러블 전자 장치, 또는 이외의 휴대 가능한 전자 장치)는 통신 기능과 아울러 다양한 어플리케이션들의 설치 및 실행을 통해 더욱 다양한 기능을 수행할 수 있다. 또한 전자 장치는 다양한 기능의 실행과 연관된 정보 표시가 가능하도록 하는 디스플레이를 포함할 수 있다. 예를 들면, 디스플레이는 액정 표시 장치(liquid crystal display, LCD), 유기 발광 표시 장치(organic light emitting diode display, OLED display) 또는 전기 영동 표시 장치(electrophoretic display) 등 다양한 표시 장치를 포함할 수 있다. As electronic, information, and communication technologies develop, various functions are being integrated into a single portable communication device or electronic device. For example, an electronic device (eg, a smart phone, a wearable electronic device, or other portable electronic device) can perform a variety of functions through the installation and execution of various applications in addition to communication functions. Additionally, the electronic device may include a display capable of displaying information related to the execution of various functions. For example, the display may include various display devices such as a liquid crystal display (LCD), an organic light emitting diode display (OLED display), or an electrophoretic display.
전자 장치는 어플리케이션 실행 시 적어도 하나의 프로세서를 이용하여 영상 정보(또는 표시 데이터)에 대한 렌더링을 수행하고, 렌더링된 이미지 프레임을 디스플레이를 통해 표시할 수 있다. 전자 장치에서는 이미지 프레임 렌더링과 표시되는 이미지 프레임 간의 동기화가 필요할 수 있다. When executing an application, the electronic device may perform rendering on image information (or display data) using at least one processor and display the rendered image frame through a display. Electronic devices may require synchronization between rendering image frames and displaying image frames.
예를 들면, 전자 장치는 적어도 하나의 프로세서에 의해 렌더링된 이미지 프레임을 디스플레이의 화면 재생률에 맞추어 디스플레이에 전송하는 수직 동기(예: vsync(vertical synchronization)) 기능을 수행할 수 있다. 전자 장치는 vsync 기능 수행 시 렌더링된 이미지 프레임을 전송하는 전송 측(예: 적어도 하나의 프로세서)과 렌더링된 이미지 프레임을 수신하는 수신 측(예: 디스플레이)에서 하나의 필드를 주사하는 시작점을 일치시키기 위해 수직 동기 신호(vertical synchronizing signal)(예: vsync 신호)를 이용할 수 있다.For example, the electronic device may perform a vertical synchronization (eg, vsync (vertical synchronization)) function that transmits image frames rendered by at least one processor to the display according to the screen refresh rate of the display. When performing the vsync function, the electronic device matches the starting point of scanning one field on the transmitting side (e.g., at least one processor) that transmits the rendered image frame and the receiving side (e.g., display) that receives the rendered image frame. For this purpose, a vertical synchronizing signal (e.g. vsync signal) can be used.
전자 장치는 vsync 기능을 이용하는 경우 적어도 하나의 프로세서를 이용하여 vsync 신호 기반으로 지정된 시간 단위(예: vsync 시간 단위)마다 렌더링된 이미지 프레임을 디스플레이에 전송하고, 디스플레이는 수신된 렌더링된 이미지 프레임을 vsync 신호 기반으로 지정된 시간 단위마다 재생(또는 출력)할 수 있다. 전자 장치는 vsync 기능 이용 중 적어도 하나의 프로세서가 지정된 시간 단위 내에 렌더링을 완료하지 못하는 경우 디스플레이에 제1 시간 구간에서 표시된 이전 이미지 프레임을 제2 시간 구간에서도 반복하여 재생할 수 있다. 이와 같이 전자 장치에서 하나의 이미지 프레임을 두 개의 시간 구간에 재생하는 경우 이미지 프레임이 부자연스럽게 표시될 수 있다. When using the vsync function, the electronic device uses at least one processor to transmit rendered image frames to the display every specified time unit (e.g., vsync time unit) based on the vsync signal, and the display sends the received rendered image frames to the display using vsync signals. It can be played (or output) at specified time units based on the signal. If at least one processor fails to complete rendering within a specified time unit while using the vsync function, the electronic device may repeatedly play the previous image frame displayed on the display in the first time period in the second time period. In this way, when an electronic device reproduces one image frame in two time periods, the image frame may be displayed unnaturally.
전자 장치는 adaptive sync 기능을 이용하여 하나의 이미지 프레임이 두 개의 vsync 시간 구간에 재생되는 것을 방지할 수 있다. 예를 들면, 전자 장치는 adaptive sync 기능을 이용하는 경우 디스플레이가 일정 대기 시간(예: 2ms) 동안 이미지 프레임이 수신될 때까지 대기하도록 제어하고 대기 시간 내에 이미지 프레임이 수신된다면 수신된 이미지 프레임을 재생함으로써 vsync 신호 수신 시(예: 지정된 시간 구간의 시작점)에 즉시 이미지 프레임이 수신되지 않더라도 지연 수신된 이미지 프레임을 약간의 지연 시간 후 표시할 수 있다.Electronic devices can use the adaptive sync function to prevent one image frame from being played in two vsync time sections. For example, when using the adaptive sync function, the electronic device controls the display to wait for an image frame to be received for a certain waiting time (e.g. 2ms), and if an image frame is received within the waiting time, it plays the received image frame. Even if an image frame is not received immediately upon receiving a vsync signal (e.g., the starting point of a specified time period), delayedly received image frames can be displayed after a slight delay.
adaptive sync 기능을 이용하는 경우 전자 장치는 각 지정된 시간 구간(예: vsync 시간 구간)마다 대기 시간을 포함하기 때문에 각 vsync 시간 구간의 시간 길이가 adaptive sync 기능을 이용하지 않는 경우보다 증가될 수 있다. 예를 들면, 프레임 레이트가 60hz 인 경우 vsync 구간의 시간 길이는 16.6ms 일 수 있고, 만일 adaptive sync 기능으로 인한 이미지 프레임에 대한 대기 시간이 3.4ms인 경우 vsync 구간의 시간 길이는 최대 20ms 로 증가할 수 있다. When using the adaptive sync function, the electronic device includes waiting time in each designated time section (e.g., vsync time section), so the time length of each vsync time section may be increased compared to when the adaptive sync function is not used. For example, if the frame rate is 60hz, the time length of the vsync section may be 16.6ms, and if the waiting time for an image frame due to the adaptive sync function is 3.4ms, the time length of the vsync section may increase to a maximum of 20ms. You can.
디스플레이에서 이미지 프레임 수신 지연을 보완하기 위해 adaptive sync 기능은 유용할 수 있지만 수신될 이미지 프레임이 없는 경우에도 디스플레이는 이미지 프레임 수신을 최대 대기 시간까지 기다려야 할 수 있다. 예를 들면, 이미지 프레임이 연속적으로 렌더링 되지 않고, 중간에 렌더링된 이미지 프레임이 존재하지 않는 경우에도 디스플레이는 해당 vsync 시간 구간에서 불필요한 대기 시간을 가질 수 있고, 이는 vsync 구간의 시간을 불필요하게 증가시켜 다음 이미지 프레임을 신속하게 재생하지 못할 수 있다.The adaptive sync feature can be useful to compensate for delays in receiving image frames from a display, but the display may have to wait up to the maximum latency to receive image frames even when there are no image frames to be received. For example, even if image frames are not rendered continuously and there are no rendered image frames in between, the display may have unnecessary waiting time in the vsync time section, which unnecessarily increases the time in the vsync section. The next image frame may not be played quickly.
일 실시예에 따르면 전자 장치에서 적어도 하나의 프로세서와 디스플레이간의 이미지 프레임 동기화 시 적어도 하나의 프로세서에 의해 렌더링된 이미지 프레임이 없는 경우 해당 동기 시간 구간에서 이미지 프레임에 대한 대기 시간을 적용하지 않을 수 있도록 할 수 있다. According to one embodiment, when synchronizing an image frame between at least one processor and a display in an electronic device, if there is no image frame rendered by at least one processor, a waiting time for the image frame may not be applied in the corresponding synchronization time section. You can.
일 실시예에 따른 전자 장치는 디스플레이, 메모리, 및 적어도 하나의 프로세서를 포함할 수 있다. 일 실시예에 따른 상기 적어도 하나의 프로세서는, 제1 동기 신호에 기반하여 상기 메모리의 그래픽 버퍼 영역에 제1 이미지 프레임이 업데이트 됨에 따라 상기 디스플레이가 제2 동기 신호 수신 시점으로부터 지정된 대기 시간 동안 제1 이미지 프레임 수신을 대기하도록 제어하고, 상기 지정된 대기 시간 내에 상기 제1 이미지 프레임이 수신되면 수신된 제1 이미지 프레임을 디스플레이하도록 제어할 수 있다. 일 실시예에 따른 상기 적어도 하나의 프로세서는 상기 제2 동기 신호에 기반하여 상기 그래픽 버퍼 영역에 제2 이미지 프레임이 업데이트되지 않음에 따라 상기 디스플레이가 제3 동기 신호 수신 시점에서 대기 시간 없이 상기 제1 이미지 프레임을 계속 디스플레이하도록 제어할 수 있다.An electronic device according to one embodiment may include a display, memory, and at least one processor. The at least one processor according to an embodiment is configured to update the first image frame in the graphics buffer area of the memory based on the first synchronization signal, so that the display displays the first image frame during a designated waiting time from the point of receiving the second synchronization signal. Control can be performed to wait for image frame reception, and when the first image frame is received within the designated waiting time, control can be performed to display the received first image frame. According to one embodiment, the at least one processor is configured to display the first image frame without waiting time at the point of receiving the third synchronization signal as the second image frame is not updated in the graphic buffer area based on the second synchronization signal. You can control the continuous display of image frames.
일 실시예에 따른 전자 장치에서 이미지 프레임 동기화 제어 방법은 제1 동기 신호에 기반하여 상기 전자 장치의 메모리의 그래픽 버퍼 영역에 제1 이미지 프레임이 업데이트 됨에 따라 상기 디스플레이가 제2 동기 신호 수신 시점으로부터 지정된 대기 시간 동안 제1 이미지 프레임 수신을 대기하도록 제어하고, 상기 지정된 대기 시간 내에 상기 제1 이미지 프레임이 수신되면 수신된 제1 이미지 프레임을 디스플레이하도록 제어하는 동작을 포함할 수 있다. 일 실시예에 따른 상기 방법은 상기 제2 동기 신호에 기반하여 상기 그래픽 버퍼 영역에 제2 이미지 프레임이 업데이트되지 않음에 따라 상기 디스플레이가 제3 동기 신호 수신 시점에서 대기 시간 없이 상기 제1 이미지 프레임을 계속 디스플레이하도록 제어하는 동작을 포함할 수 있다.A method of controlling image frame synchronization in an electronic device according to an embodiment includes updating the first image frame in the graphic buffer area of the memory of the electronic device based on the first synchronization signal, thereby causing the display to change to a specified state from the time of receiving the second synchronization signal. It may include controlling the display to wait for reception of the first image frame during the waiting time, and controlling to display the received first image frame when the first image frame is received within the designated waiting time. The method according to one embodiment is such that the second image frame is not updated in the graphic buffer area based on the second synchronization signal, so that the display displays the first image frame without waiting time at the time of receiving the third synchronization signal. It may include an operation to control continuous display.
명령들을 저장하고 있는 비휘발성 저장 매체에 있어서, 상기 명령들은 전자 장치에 의하여 실행될 때에 상기 전자 장치로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은, 제1 동기 신호에 기반하여 상기 전자 장치의 메모리의 그래픽 버퍼 영역에 제1 이미지 프레임이 업데이트 됨에 따라 상기 디스플레이가 제2 동기 신호 수신 시점으로부터 지정된 대기 시간 동안 제1 이미지 프레임 수신을 대기하도록 제어하고, 상기 지정된 대기 시간 내에 상기 제1 이미지 프레임이 수신되면 수신된 제1 이미지 프레임을 디스플레이하도록 제어하는 동작, 및 상기 제2 동기 신호에 기반하여 상기 그래픽 버퍼 영역에 제2 이미지 프레임이 업데이트되지 않음에 따라 상기 디스플레이가 제3 동기 신호 수신 시점에서 대기 시간 없이 상기 제1 이미지 프레임을 계속 디스플레이하도록 제어하는 동작을 포함할 수 있다. A non-volatile storage medium storing instructions, wherein the instructions are set to cause the electronic device to perform at least one operation when executed by the electronic device, wherein the at least one operation is based on a first synchronization signal. As the first image frame is updated in the graphics buffer area of the memory of the electronic device, the display is controlled to wait for reception of the first image frame for a designated waiting time from the point of receiving the second synchronization signal, and the display is controlled to wait for reception of the first image frame within the designated waiting time. An operation of controlling to display a received first image frame when one image frame is received, and when the second image frame is not updated in the graphic buffer area based on the second synchronization signal, the display displays a third synchronization signal It may include a control operation to continuously display the first image frame without waiting time at the point of reception.
일 실시예에 따르면, 전자 장치는 그래픽 버퍼 상태 및/또는 적어도 하나의 프로세서의 동작 상태 정보를 참조하여 이미지 프레임 렌더링 여부 및/또는 이미지 프레임 업데이트 여부를 식별하고, 식별 결과에 기반하여 디스플레이 및/또는 DPU의 adaptive sync 기능을 활성화(예: on) 또는 비활성화(예: off)되도록 제어함으로써, no frame 구간에서의 불필요한 frame 대기 시간을 줄일 수 있다. 이로 인해 다음에 발생하는 신규 frame update 시간이 지연됨을 방지할 수 있다.According to one embodiment, the electronic device identifies whether to render an image frame and/or update an image frame by referring to the graphics buffer status and/or the operation status information of at least one processor, and displays and/or displays based on the identification result. By controlling the DPU's adaptive sync function to be activated (e.g. on) or deactivated (e.g. off), unnecessary frame waiting time in the no frame section can be reduced. This can prevent the next new frame update time from being delayed.
도 1은 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.1 is a block diagram of an electronic device in a network environment according to various embodiments.
도 2는 다양한 실시예들에 따른 표시 장치의 블록도이다. Figure 2 is a block diagram of a display device according to various embodiments.
도 3은 일 실시예에 따른 전자 장치의 구성도이다.Figure 3 is a configuration diagram of an electronic device according to an embodiment.
도 4는 일 실시예에 따른 전자 장치에서 CPU의 동작을 설명하기 위한 도면이다.FIG. 4 is a diagram for explaining the operation of a CPU in an electronic device according to an embodiment.
도 5는 일 실시예에 따른 전자 장치에서 이미지 프레임 동기화 제어 동작을 나타낸 흐름도이다.Figure 5 is a flowchart showing an image frame synchronization control operation in an electronic device according to an embodiment.
도 6은 일 실시예에 따른 전자 장치에서 그래픽 버퍼 영역에 이미지 프레임 업데이트 여부에 기반한 디스플레이 동작을 나타낸 흐름도이다.FIG. 6 is a flowchart illustrating a display operation based on whether an image frame is updated in a graphics buffer area in an electronic device according to an embodiment.
도 7은 일 실시예에 따른 전자 장치에서 adaptive sync 적용 시 이미지 프레임들을 나타낸 도면이다.FIG. 7 is a diagram illustrating image frames when adaptive sync is applied in an electronic device according to an embodiment.
도 8은 일 실시예에 따른 전자 장치에서 adaptive sync 적용된 상태에서 그래픽 버퍼 영역에 이미지 프레임이 업데이트되지 않는 경우를 나타낸 도면이다.FIG. 8 is a diagram illustrating a case in which an image frame is not updated in the graphics buffer area while adaptive sync is applied in an electronic device according to an embodiment.
도 9는 일 실시예에 따른 전자 장치에서 adaptive sync 적용 중 그래픽 버퍼 영역에 이미지 프레임이 업데이트되지 않는 경우 adaptive sync를 미적용하는 것을 나타낸 도면이다.FIG. 9 is a diagram illustrating not applying adaptive sync when an image frame is not updated in the graphics buffer area while applying adaptive sync in an electronic device according to an embodiment.
도 10은 일 실시예에 따른 전자 장치에서 제1 프레임 지연에 기반하여 디스플레이의 vsync 구간이 증가된 상태에서 다음 구간이 노 프레임인 경우 adaptive sync를 미적용하는 것을 나타낸 도면이다.FIG. 10 is a diagram illustrating not applying adaptive sync when the next section is no frame while the vsync section of the display is increased based on the first frame delay in an electronic device according to an embodiment.
도면의 설명과 관련하여, 동일 또는 유사한 구성 요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.In relation to the description of the drawings, identical or similar reference numerals may be used for identical or similar components.
본 문서에서 사용된 용어들은 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 다른 실시예의 범위를 한정하려는 의도가 아닐 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명의 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가질 수 있다. 일반적으로 사용되는 사전에 정의된 용어들은 관련 기술의 문맥상 가지는 의미와 동일 또는 유사한 의미를 가지는 것으로 해석될 수 있으며, 본 문서에서 명백하게 정의되지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다. 경우에 따라서, 본 문서에서 정의된 용어일지라도 본 발명의 실시예들을 배제하도록 해석될 수 없다.Terms used in this document are merely used to describe specific embodiments and may not be intended to limit the scope of other embodiments. Singular expressions may include plural expressions, unless the context clearly indicates otherwise. All terms used herein, including technical or scientific terms, may have the same meaning as commonly understood by a person of ordinary skill in the technical field of the present invention. Terms defined in commonly used dictionaries can be interpreted as having the same or similar meaning as the meaning they have in the context of the related technology, and unless clearly defined in this document, they are not interpreted in an ideal or excessively formal sense. . In some cases, even terms defined in this document cannot be interpreted to exclude embodiments of the present invention.
도 1은 다양한 실시예들에 따른 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. FIG. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments.
도 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))로 통합될 수 있다.Referring to FIG. 1, in the network environment 100, 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 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. According to one embodiment, 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. In some embodiments, 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. In some embodiments, 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.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.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. According to one embodiment, 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). For example, if 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.
보조 프로세서(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) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.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. According to one embodiment, 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. According to one embodiment, the auxiliary processor 123 (eg, neural network processing unit) 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, where artificial intelligence 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. In addition to hardware structures, artificial intelligence models may additionally or alternatively include software structures.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. 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.
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. 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.
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. 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).
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.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.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. 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. According to one embodiment, 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.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.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).
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. 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. According to one embodiment, 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.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.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). According to one embodiment, 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.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102). According to one embodiment, 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).
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.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. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 can capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 can manage power supplied to the electronic device 101. According to one embodiment, the power management module 188 may be implemented as at least a part of, for example, a power management integrated circuit (PMIC).
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101. According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
통신 모듈(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)를 확인 또는 인증할 수 있다. 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. According to one embodiment, 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. Among these communication modules, 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). These various types of communication modules may be integrated into one component (e.g., a single chip) or may be implemented as a plurality of separate components (e.g., multiple chips). 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. The electronic device 101 can be confirmed or authenticated.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.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 (enhanced mobile broadband (eMBB)), minimization of terminal power and access to multiple terminals (massive machine type communications (mMTC)), or ultra-reliable and low-latency (URLLC). -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). According to one embodiment, the wireless communication module 192 supports Peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 164 dB or less) for realizing mmTC, or U-plane latency (e.g., 164 dB or less) for realizing URLLC. Example: Downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) can be supported.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module 197 may transmit or receive signals or power to or from the outside (eg, an external electronic device). According to one embodiment, 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). According to one embodiment, 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. According to some embodiments, in addition to the radiator, other components (eg, radio frequency integrated circuit (RFIC)) may be additionally formed as part of the antenna module 197.
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, 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.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( (e.g. commands or data) can be exchanged with each other.
일 실시예에 따르면, 명령 또는 데이터는 제 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 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.According to one embodiment, 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. According to one embodiment, 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. For example, when the electronic device 101 must perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 may perform the function or service instead of executing the function or service on its own. Alternatively, or additionally, 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. For this purpose, for example, 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. In another embodiment, 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. According to one embodiment, 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.
도 2는 다양한 실시예들에 따른 표시 장치(160)의 블록도(200)이다. FIG. 2 is a block diagram 200 of the display device 160 according to various embodiments.
도 2를 참조하면, 표시 장치(160)는 디스플레이(210), 및 이를 제어하기 위한 디스플레이 드라이버 IC(DDI, display driver integrated circuit)(또는 디스플레이 구동 회로)(230)를 포함할 수 있다. DDI(230)는 인터페이스 모듈(231), 메모리(233)(예: 버퍼 메모리), 이미지 처리 모듈(235), 또는 맵핑 모듈(237)을 포함할 수 있다. DDI(230)은, 예를 들면, 영상 데이터, 또는 상기 영상 데이터를 제어하기 위한 명령에 대응하는 영상 제어 신호를 포함하는 영상 정보를 인터페이스 모듈(231)을 통해 전자 장치(예: 도 1의 전자 장치(101))의 다른 구성요소로부터 수신할 수 있다. 예를 들면, 일 실시예에 따르면, 영상 정보는 프로세서(120)(예: 메인 프로세서(121)(예: 어플리케이션 프로세서) 또는 메인 프로세서(121)의 기능과 독립적으로 운영되는 보조 프로세서(123)(예: 그래픽 처리 장치)로부터 수신될 수 있다. DDI(230)는 터치 회로(250) 또는 센서 모듈(176) 등과 상기 인터페이스 모듈(231)을 통하여 커뮤니케이션할 수 있다. 또한, DDI(230)는 상기 수신된 영상 정보 중 적어도 일부를 메모리(233)에, 예를 들면, 프레임 단위로 저장할 수 있다. 일 실시예에 따르면, 메모리(233)는, 레지스터(register)(미도시)를 포함할 수 있고, 상기 레지스터는 전자 장치(101)의 기능 수행을 위한 설정 값이 저장될 수 있다. 이미지 처리 모듈(235)은, 예를 들면, 상기 영상 데이터의 적어도 일부를 상기 영상 데이터의 특성 또는 디스플레이(210)의 특성에 적어도 기반하여 전처리 또는 후처리(예: 해상도, 밝기, 또는 크기 조정)를 수행할 수 있다. 맵핑 모듈(237)은 이미지 처리 모듈(235)를 통해 전처리 또는 후처리된 상기 영상 데이터에 대응하는 전압 값 또는 전류 값을 생성할 수 있다. 일 실시예에 따르면, 전압 값 또는 전류 값의 생성은 예를 들면, 디스플레이(210)의 픽셀들의 속성(예: 픽셀들의 배열(RGB stripe 또는 PenTile 구조), 또는 서브 픽셀들 각각의 크기)에 적어도 일부 기반하여 수행될 수 있다. 디스플레이(210)의 적어도 일부 픽셀들은, 예를 들면, 상기 전압 값 또는 전류 값에 적어도 일부 기반하여 구동됨으로써 상기 영상 데이터에 대응하는 시각적 정보(예: 텍스트, 이미지, 또는 아이콘)가 디스플레이(210)를 통해 표시될 수 있다.Referring to FIG. 2 , the display device 160 may include a display 210 and a display driver integrated circuit (DDI) (or display driving circuit) 230 for controlling the display 210 . The DDI 230 may include an interface module 231, a memory 233 (eg, buffer memory), an image processing module 235, or a mapping module 237. For example, the DDI 230 transmits image information, including image data or an image control signal corresponding to a command for controlling the image data, to an electronic device (e.g., the electronic device of FIG. 1) through the interface module 231. may receive from other components of the device 101). For example, according to one embodiment, the image information is stored in the processor 120 (e.g., the main processor 121 (e.g., an application processor) or the auxiliary processor 123 ( For example, the DDI 230 may communicate with the touch circuit 250 or the sensor module 176 through the interface module 231. According to one embodiment, at least some of the received image information may be stored in the memory 233, for example, on a frame basis, and the memory 233 may include a register (not shown). , the register may store setting values for performing functions of the electronic device 101. For example, the image processing module 235 may store at least a portion of the image data or the display 210. The mapping module 237 may perform pre-processing or post-processing (e.g., resolution, brightness, or size adjustment) based on at least the characteristics of the image data pre-processed or post-processed through the image processing module 235. According to one embodiment, the generation of the voltage value or current value may be generated by, for example, an attribute of the pixels of the display 210 (e.g., an array of pixels (RGB stripe or At least some pixels of the display 210 may be driven, for example, based at least in part on the voltage value or the current value. Visual information (eg, text, image, or icon) corresponding to the image data may be displayed through the display 210.
일 실시예에 따르면, 표시 장치(160)는 터치 회로(250)를 더 포함할 수 있다. 터치 회로(250)는 터치 센서(251) 및 이를 제어하기 위한 터치 센서 IC(253)를 포함할 수 있다. 터치 센서 IC(또는 터치 센서 회로)(253)는, 예를 들면, 디스플레이(210)의 특정 위치에 대한 터치 입력 또는 호버링 입력을 감지하기 위해 터치 센서(251)를 제어할 수 있다. 예를 들면, 터치 센서 IC(253)는 디스플레이(210)의 특정 위치에 대한 신호(예: 전압, 광량, 저항, 또는 전하량)의 변화를 측정함으로써 터치 입력 또는 호버링 입력을 감지할 수 있다. 터치 센서 IC(253)는 감지된 터치 입력 또는 호버링 입력에 관한 정보(예: 위치, 면적, 압력, 또는 시간)를 프로세서(120) 에 제공할 수 있다. 일 실시예에 따르면, 터치 회로(250)의 적어도 일부(예: 터치 센서 IC(253))는 디스플레이 드라이버 IC(230), 또는 디스플레이(210)의 일부로, 또는 표시 장치(160)의 외부에 배치된 다른 구성요소(예: 보조 프로세서(123))의 일부로 포함될 수 있다.According to one embodiment, the display device 160 may further include a touch circuit 250. The touch circuit 250 may include a touch sensor 251 and a touch sensor IC 253 for controlling the touch sensor 251. The touch sensor IC (or touch sensor circuit) 253 may control the touch sensor 251 to, for example, detect a touch input or hovering input for a specific position on the display 210. For example, the touch sensor IC 253 may detect a touch input or a hovering input by measuring a change in a signal (eg, voltage, light amount, resistance, or charge amount) for a specific position of the display 210. The touch sensor IC 253 may provide information (e.g., location, area, pressure, or time) about the detected touch input or hovering input to the processor 120. According to one embodiment, at least a portion of the touch circuit 250 (e.g., touch sensor IC 253) is disposed as part of the display driver IC 230, the display 210, or outside the display device 160. It may be included as part of other components (e.g., auxiliary processor 123).
일 실시예에 따르면, 표시 장치(160)는 센서 모듈(176)의 적어도 하나의 센서(예: 지문 센서, 홍채 센서, 압력 센서 또는 조도 센서), 또는 이에 대한 제어 회로를 더 포함할 수 있다. 이 경우, 상기 적어도 하나의 센서 또는 이에 대한 제어 회로는 표시 장치(160)의 일부(예: 디스플레이(210) 또는 DDI(230)) 또는 터치 회로(250)의 일부에 임베디드될 수 있다. 예를 들면, 표시 장치(160)에 임베디드된 센서 모듈(176)이 생체 센서(예: 지문 센서)를 포함할 경우, 상기 생체 센서는 디스플레이(210)의 일부 영역을 통해 터치 입력과 연관된 생체 정보(예: 지문 이미지)를 획득할 수 있다. 다른 예를 들면, 표시 장치(160)에 임베디드된 센서 모듈(176)이 압력 센서를 포함할 경우, 상기 압력 센서는 디스플레이(210)의 일부 또는 전체 영역을 통해 터치 입력과 연관된 압력 정보를 획득할 수 있다. 일 실시예에 따르면, 터치 센서(251) 또는 센서 모듈(176)은 디스플레이(210)의 픽셀 레이어의 픽셀들 사이에, 또는 상기 픽셀 레이어의 위에 또는 아래에 배치될 수 있다. 일 실시예에 따르면 센서 모듈(176)은 펜 센서(예: 펜 센서 회로, 펜 센서 IC, 또는 디지타이저 컨트롤러)를 더 포함할 수 있다.According to one embodiment, the display device 160 may further include at least one sensor (eg, a fingerprint sensor, an iris sensor, a pressure sensor, or an illumination sensor) of the sensor module 176, or a control circuit therefor. In this case, the at least one sensor or a control circuit therefor may be embedded in a part of the display device 160 (eg, the display 210 or the DDI 230) or a part of the touch circuit 250. For example, when the sensor module 176 embedded in the display device 160 includes a biometric sensor (e.g., a fingerprint sensor), the biometric sensor transmits biometric information associated with a touch input through a portion of the display 210. (e.g. fingerprint image) can be obtained. For another example, when the sensor module 176 embedded in the display device 160 includes a pressure sensor, the pressure sensor may acquire pressure information associated with a touch input through part or the entire area of the display 210. You can. According to one embodiment, the touch sensor 251 or the sensor module 176 may be disposed between pixels of a pixel layer of the display 210, or above or below the pixel layer. According to one embodiment, the sensor module 176 may further include a pen sensor (eg, a pen sensor circuit, a pen sensor IC, or a digitizer controller).
도 3은 일 실시예에 따른 전자 장치의 구성도이다.Figure 3 is a configuration diagram of an electronic device according to an embodiment.
도 3을 참조하면, 일 실시예에 따른 전자 장치(301)는 적어도 하나의 프로세서(320), 메모리(330), 디스플레이(360)를 포함할 수 있으며, 이외 다른 구성 요소를 더 포함할 수 있다. Referring to FIG. 3, the electronic device 301 according to one embodiment may include at least one processor 320, a memory 330, and a display 360, and may further include other components. .
일 실시예에 따른 적어도 하나의 프로세서(320)는 영상 정보를 렌더링하고 렌더링된 이미지 프레임이 지정된 동기 신호(또는 수직 동기 신호(예: vsync 신호(vertical synchronization signal)))에 기반하여 지정된 시간 단위(예: vsync 시간 단위)로 디스플레이(360)에 전달되도록 할 수 있다. 예를 들면, 적어도 하나의 프로세서(320)는 제1 vsync 신호에 기반하여 렌더링된 제1 시간 구간의 제1 이미지 프레임을 메모리(330)의 그래픽 버퍼 영역(또는 별도의 버퍼 메모리(미도시))에 저장하고, 제1 vsync 신호의 다음 제2 vsync 신호에 기반하여 그래픽 버퍼 영역에 저장된 제1 이미지 프레임이 디스플레이(360)에 전달되도록 제어할 수 있다. 일 실시예에 따른 디스플레이(360)는 제2 vsync 신호에 기반하여 제2 시간 구간에서 전달되는 제1 이미지 프레임을 출력(또는 재생)되도록 할 수 있다. At least one processor 320 according to an embodiment renders image information and renders the rendered image frame in a specified time unit (or vertical synchronization signal (e.g., vsync signal (vertical synchronization signal))) based on a specified synchronization signal (or vertical synchronization signal (vertical synchronization signal)). Example: vsync time unit) can be transmitted to the display 360. For example, the at least one processor 320 stores the first image frame of the first time period rendered based on the first vsync signal in the graphics buffer area of the memory 330 (or a separate buffer memory (not shown)). The first image frame stored in the graphic buffer area can be controlled to be transmitted to the display 360 based on the second vsync signal following the first vsync signal. The display 360 according to one embodiment may output (or play) the first image frame transmitted in the second time period based on the second vsync signal.
일 실시예에 따른 적어도 하나의 프로세서(320)는 디스플레이(360)가 적어도 하나의 프로세서(320)로부터 이미지 프레임을 수신하여 출력 시 adaptive sync를 적용(예: adaptive sync 기능 활성화)하거나 미적용((예: adaptive sync 기능 비활성화)하도록 제어할 수 있다. 일 실시예에 따른 적어도 하나의 프로세서(320)는 그래픽 버퍼 영역에 이미지 프레임의 업데이트 여부(예: 그래픽 버퍼 영역에 새로 렌더링된 이미지 프레임이 저장되는지 또는 그래픽 버퍼 영역으로부터 디스플레이(360)로 전달될 이미지 프레임이 존재하는지 여부)에 기반하여 디스플레이(360)의 adaptive sync 기능이 활성화되거나 비활성화되도록 제어할 수 있다. 일 실시예에 따르면 적어도 하나의 프로세서(320)는 그래픽 버퍼 영역에 이미지 프레임이 업데이트되는 경우 디스플레이(360)의 adaptive sync 기능을 활성화도록 제어할 수 있다. 일 실시예에 따르면 적어도 하나의 프로세서(320)는 그래픽 버퍼 영역에 이미지 프레임이 업데이트되지 않는 경우 디스플레이(360)의 adaptive sync 기능이 비활성화되도록 제어할 수 있다. 일 실시예에 따르면 적어도 하나의 프로세서(320)는 adaptive sync 기능이 활성화된 상태에서 그래픽 버퍼 영역에 다음 이미지 프레임이 업데이트되지 않는 경우 adaptive sync 기능이 비활성화되도록 제어할 수 있다. At least one processor 320 according to an embodiment applies adaptive sync (e.g., activates the adaptive sync function) or does not apply adaptive sync (e.g., activates the adaptive sync function) when the display 360 receives an image frame from the at least one processor 320 and outputs it. : deactivating the adaptive sync function), at least one processor 320 according to an embodiment may control whether an image frame is updated in the graphics buffer area (e.g., whether a newly rendered image frame is stored in the graphics buffer area). According to one embodiment, the adaptive sync function of the display 360 may be controlled to be activated or deactivated based on whether an image frame to be transmitted from the graphic buffer area to the display 360 exists. According to one embodiment, when an image frame is updated in the graphic buffer area, at least one processor 320 may be controlled to activate the adaptive sync function of the display 360. According to one embodiment, the adaptive sync function of the display 360 may be controlled to be disabled if the adaptive sync function is activated so that the next image frame is not updated in the graphic buffer area. In this case, you can control the adaptive sync function to be disabled.
일 실시예에 따르면 적어도 하나의 프로세서(320)는 제1 vsync 신호에 기반하여 렌더링된 제1 시간 구간의 제1 이미지 프레임이 메모리(330)의 그래픽 버퍼 영역에 저장되고, 제1 vsync 신호의 다음 제2 vsync 신호에 기반하여 제1 이미지 프레임이 디스플레이(360)에 전달되는 경우 디스플레이(360)가 adaptive sync를 수행하도록 제어(또는 설정)(예: adaptive sync 기능 활성화)할 수 있다. 디스플레이(360)는 adaptive sync 기능이 활성화된 상태에서 제2 vsync 신호 수신 시점으로부터 지정된 대기 시간(예: 2ms) 동안 이미지 프레임 수신을 대기하고, 지정된 대기 시간 내에 그래픽 버퍼 영역을 통해 제1 이미지 프레임이 수신되면 수신된 제1 이미지 프레임을 디스플레이할 수 있다.According to one embodiment, the at least one processor 320 stores the first image frame of the first time period rendered based on the first vsync signal in the graphics buffer area of the memory 330, and stores the next image frame of the first vsync signal in the graphics buffer area of the memory 330. When the first image frame is transmitted to the display 360 based on the second vsync signal, the display 360 may be controlled (or set) to perform adaptive sync (e.g., activate the adaptive sync function). With the adaptive sync function activated, the display 360 waits to receive an image frame for a specified waiting time (e.g., 2 ms) from the moment of receiving the second vsync signal, and the first image frame is received through the graphics buffer area within the specified waiting time. Once received, the received first image frame may be displayed.
일 실시예에 따르면 적어도 하나의 프로세서(320)는 제1 vsync 신호의 다음 제2 vsync 신호에 기반하여 렌더링되는 이미지 프레임이 없거나 그래픽 버퍼 영역에 이미지 프레임이 업데이트되지 않는 경우 디스플레이(360)가 adaptive sync를 수행하지 않도록 제어(또는 설정)(예: adaptive sync 기능 비활성화)할 수 있다. 디스플레이(360)는 adaptive sync 기능이 비활성화된 상태에서 제2 vsync 신호 수신 시점에서 대기 시간 없이 이전 수신된 이미지 프레임인 제1 이미지 프레임을 계속 디스플레이할 수 있다.According to one embodiment, the at least one processor 320 performs adaptive sync when there is no image frame rendered based on the second vsync signal following the first vsync signal or when the image frame is not updated in the graphics buffer area. You can control (or configure) it not to perform (e.g. disabling the adaptive sync feature). The display 360 may continue to display the first image frame, which is the previously received image frame, without waiting time at the time of receiving the second vsync signal while the adaptive sync function is disabled.
일 실시예에 따르면 적어도 하나의 프로세서(320)는 제2 vsync 신호의 다음 제3 vsync 신호에 기반하여 렌더링되는 제2 이미지 프레임이 존재하거나 그래픽 버퍼 영역에 제2 이미지 프레임이 업데이트되는 경우 디스플레이(360)가 adaptive sync를 수행하도록 제어(또는 설정)(예: adaptive sync 기능 활성화)할 수 있다. 디스플레이(360)는 adaptive sync 기능이 활성화된 상태에서 제3 vsync 신호 수신 시점으로부터 지정된 대기 시간(예: 2ms) 동안 제2 이미지 프레임 수신을 대기하고, 지정된 대기 시간 내에 그래픽 버퍼 영역을 통해 제2 이미지 프레임이 수신되면 수신된 제3 이미지 프레임을 디스플레이할 수 있다.According to one embodiment, the at least one processor 320 displays (360) when there is a second image frame rendered based on the third vsync signal following the second vsync signal or when the second image frame is updated in the graphics buffer area. ) can be controlled (or set) to perform adaptive sync (e.g., activating the adaptive sync function). With the adaptive sync function activated, the display 360 waits to receive the second image frame for a specified waiting time (e.g., 2 ms) from the point of receiving the third vsync signal, and displays the second image frame through the graphic buffer area within the specified waiting time. When a frame is received, the received third image frame may be displayed.
일 실시예에 따른 적어도 하나의 프로세서(320)는 CPU(central processing unit)(322), GPU(graphic processing unit)(324), 및/또는 DPU(data processing unit)(326)을 포함할 수 있다. 일 실시예에 따른 CPU(322)는 전자 장치(301)의 구성 요소들에 대한 전반적인 제어 동작을 수행할 수 있다. 예를 들면, CPU(322)는 운영 체제에 필요한 명령과 처리를 실행할 수 있다. 일 실시 예에 따른 GPU(324)는 영상 정보(예: 표시될 데이터)에 대한 이미지 프로세싱을 수행할 수 있다. 예를 들면, GPU(324)는 영상 정보에 대한 렌더링을 수행하고 렌더링된 이미지 프레임을 획득할 수 있다. 일 실시예에 따른 DPU(326)는 CPU(322) 및 GPU(324)를 통해 처리되어 획득된 이미지 프레임을 파싱(parsing) 및 처리하여 디스플레이(360)에 전달할 수 있다. At least one processor 320 according to one embodiment may include a central processing unit (CPU) 322, a graphic processing unit (GPU) 324, and/or a data processing unit (DPU) 326. . The CPU 322 according to one embodiment may perform overall control operations for the components of the electronic device 301. For example, the CPU 322 can execute instructions and processing necessary for the operating system. The GPU 324 according to one embodiment may perform image processing on image information (eg, data to be displayed). For example, the GPU 324 may perform rendering on image information and obtain a rendered image frame. The DPU 326 according to one embodiment may parse and process image frames obtained through processing through the CPU 322 and GPU 324 and transmit them to the display 360.
상기 설명에서는 적어도 하나의 프로세서(320)이 CPU(322), GPU(324), 및 DPU(326)를 포함하는 경우를 예를 들어 설명하였으나, 적어도 하나의 프로세서(320)는 상기 CPU(322), GPU(324), 및 DPU(326)의 기능을 수행하는 하나의 AP(application processor)를 포함할 수도 있다. In the above description, the case where at least one processor 320 includes the CPU 322, GPU 324, and DPU 326 has been described as an example, but at least one processor 320 includes the CPU 322. , GPU 324, and may include one application processor (AP) that performs the functions of DPU 326.
일 실시예에 따른 메모리(330)는 적어도 하나의 프로세서(320)에 의해 이용되는 다양한 데이터 및 정보를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(330)는 휘발성 메모리 또는 비휘발성 메모리를 포함할 수 있다. 일 실시예에 따른 메모리(330)는 적어도 하나의 프로세서(320) 각각에 의해 수행되는 동작들을 처리 하기 위한 인스트럭션들을 저장할 수 있다.The memory 330 according to one embodiment may store various data and information used by at least one processor 320. Data may include, for example, input data or output data for software (e.g., a program) and instructions related thereto. Memory 330 may include volatile memory or non-volatile memory. The memory 330 according to one embodiment may store instructions for processing operations performed by each of the at least one processor 320.
일 실시예에 따른 디스플레이(360)는 전자 장치(301)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 예를 들면, 디스플레이(360)는 적어도 하나의 프로세서(330)에 의해 처리되어 전달되는 이미지 프레임에 대응된 영상을 표시할 수 있다. The display 360 according to one embodiment may visually provide information to the outside of the electronic device 301 (eg, a user). For example, the display 360 may display an image corresponding to an image frame processed and transmitted by at least one processor 330.
일 실시예에 따른 전자 장치(예: 도 1의 전자 장치(101), 또는 도 3의 전자 장치(301))는 디스플레이(예: 도 3의 360), 메모리(예: 도 3의 330), 및 적어도 하나의 프로세서(예: 도 3의 320)를 포함할 수 있다. 일 실시예에 따른 상기 적어도 하나의 프로세서는 제1 동기 신호에 기반하여 상기 메모리의 그래픽 버퍼 영역에 제1 이미지 프레임이 업데이트 됨에 따라 상기 디스플레이가 제2 동기 신호 수신 시점으로부터 지정된 대기 시간 동안 제1 이미지 프레임 수신을 대기하도록 제어하고, 상기 지정된 대기 시간 내에 상기 제1 이미지 프레임이 수신되면 수신된 제1 이미지 프레임을 디스플레이하도록 제어할 수 있다. 일 실시예에 따른 상기 적어도 하나의 프로세서는 상기 제2 동기 신호에 기반하여 상기 그래픽 버퍼 영역에 제2 이미지 프레임이 업데이트되지 않음에 따라 상기 디스플레이가 제3 동기 신호 수신 시점에서 대기 시간 없이 상기 제1 이미지 프레임을 계속 디스플레이하도록 제어할 수 있다.An electronic device (e.g., the electronic device 101 of FIG. 1 or the electronic device 301 of FIG. 3) according to an embodiment includes a display (e.g., 360 of FIG. 3), a memory (e.g., 330 of FIG. 3), And it may include at least one processor (eg, 320 in FIG. 3). The at least one processor according to an embodiment updates the first image frame in the graphics buffer area of the memory based on the first synchronization signal, so that the display displays the first image for a designated waiting time from the point of receiving the second synchronization signal. Control can be performed to wait for frame reception, and when the first image frame is received within the designated waiting time, control can be performed to display the received first image frame. According to one embodiment, the at least one processor is configured to display the first image frame without waiting time at the point of receiving the third synchronization signal as the second image frame is not updated in the graphic buffer area based on the second synchronization signal. You can control the continuous display of image frames.
일 실시예에 따른 상기 적어도 하나의 프로세서는 상기 제3 동기 신호에 기반하여 상기 그래픽 버퍼 영역에 제3 이미지 프레임이 업데이트 됨에 따라 상기 디스플레이가 제4 동기 신호 수신 시점으로부터 지정된 대기 시간 동안 제3 이미지 프레임 수신을 대기하도록 제어하고, 상기 지정된 대기 시간 내에 상기 제3 이미지 프레임이 수신되면 수신된 제3 이미지 프레임을 디스플레이하도록 제어할 수 있다.The at least one processor according to an embodiment updates the third image frame in the graphic buffer area based on the third synchronization signal, so that the display displays the third image frame during a designated waiting time from the time of receiving the fourth synchronization signal. It can be controlled to wait for reception, and if the third image frame is received within the designated waiting time, it can be controlled to display the received third image frame.
일 실시예에 따른 상기 적어도 하나의 프로세서는 상기 적어도 하나의 프로세서는 CPU(central processing unit), GPU(graphic processing unit), 및 DPU(data processing unit) 중 적어도 하나를 포함할 수 있다.The at least one processor according to an embodiment may include at least one of a central processing unit (CPU), a graphic processing unit (GPU), and a data processing unit (DPU).
일 실시예에 따른 상기 적어도 하나의 프로세서는 상기 적어도 하나의 프로세서는 영상 정보를 렌더링하고 렌더링된 이미지 프레임을 동기 신호에 기반한 지정된 시간 구간 동안 상기 그래픽 버퍼 영역에 저장하도록 설정될 수 있다.The at least one processor according to an embodiment may be set to render image information and store the rendered image frame in the graphics buffer area for a designated time period based on a synchronization signal.
일 실시예에 따른 상기 적어도 하나의 프로세서는 상기 그래픽 버퍼 영역에 상기 렌더링된 이미지 프레임이 업데이트 됨에 따라 상기 디스플레이의 adaptive sync 기능을 활성화도록 설정될 수 있다.The at least one processor according to one embodiment may be set to activate the adaptive sync function of the display as the rendered image frame is updated in the graphic buffer area.
일 실시예에 따른 상기 적어도 하나의 프로세서는 상기 그래픽 버퍼 영역에 상기 렌더링된 이미지 프레임이 업데이트 되지 않음에 따라 상기 디스플레이의 adaptive sync 기능을 비활성화도록 설정될 수 있다.The at least one processor according to one embodiment may be set to disable the adaptive sync function of the display as the rendered image frame is not updated in the graphic buffer area.
일 실시예에 따른 상기 이미지 프레임의 프레임 레이트는 60hz이고, 상기 동기 신호에 기반한 지정된 시간 구간은 16.6ms일 수 있다.The frame rate of the image frame according to one embodiment may be 60hz, and the designated time interval based on the synchronization signal may be 16.6ms.
일 실시예에 따른 상기 대기 시간은 3.4ms일 수 있다. The waiting time according to one embodiment may be 3.4ms.
도 4는 일 실시예에 따른 전자 장치에서 CPU의 동작을 설명하기 위한 도면이다.FIG. 4 is a diagram for explaining the operation of a CPU in an electronic device according to an embodiment.
도 4를 참조하면, 일 실시예에 따른 전자 장치(예: 도 1의 전자 장치(101), 또는 도 3의 전자 장치(301))의 CPU(예: 도 1의 프로세서(120) 또는 도 3의 CPU(322)) 및/또는 GPU(예: 도 1의 프로세서(120) 또는 도 3의 GPU(324))는 어플리케이션 제어 모듈(APP:application)(410), surfaceflinger 모듈(surfaceflinger)(420), 및 디스플레이 드라이버 모듈(display driver)(430)을 포함할 수 있다. 도 4에서는 CPU(322)가 GPU(324)의 기능을 함께 수행하는 예를 들어 설명한다.Referring to FIG. 4, the CPU (e.g., the processor 120 of FIG. 1 or the electronic device 301 of FIG. 3) of an electronic device (e.g., the electronic device 101 of FIG. 1 or the electronic device 301 of FIG. 3) according to an embodiment. The CPU 322) and/or the GPU (e.g., the processor 120 in FIG. 1 or the GPU 324 in FIG. 3) include an application control module (APP) 410 and a surfaceflinger module (surfaceflinger) 420. , and may include a display driver module (display driver) 430. In Figure 4, an example in which the CPU 322 performs the functions of the GPU 324 is explained.
일 실시예에 따른 어플리케이션 제어 모듈 (410)은 영상 정보를 렌더링하고, 렌더링된 이미지 프레임들을 메모리(예: 330)의 그래픽 버퍼들(예: 메모리의 이미지 프레임들 저장 영역들) 각각에 저장한 후 이미지 프레임들이 저장된 그래픽 버퍼들 각각의 정보(예: 저장 영역 주소)를 surfaceflinger 모듈(420)에 전달(예: enqueue)할 수 있다.The application control module 410 according to an embodiment renders image information, stores the rendered image frames in each of the graphics buffers (e.g., image frame storage areas of the memory) of the memory (e.g., 330), and then Information (e.g., storage area address) of each graphic buffer in which image frames are stored may be transmitted (e.g., enqueue) to the surfaceflinger module 420.
일 실시예에 따른 surfaceflinger 모듈(420)은 그래픽 버퍼들 각각의 정보를 이용하여 그래픽 퍼버들에 저장된 이미지 프레임들을 조합 및 완성(composite and commit the frame)할 수 있다. 예를 들면, surfaceflinger 모듈(420)은 graphics HAL(hardware abstraction layer)을 통하여 디스플레이 드라이버 모듈(430)에 그래픽 버퍼들 각각의 정보(예: 각 그래픽 버퍼 영역 주소 정보(예: 메모리 주소 정보), 각 그래픽 버퍼 영역의 메모리 사이즈 정보, 각 그래픽 버퍼 영역에 저장된 이미지 프레임 시퀀스 정보, 각 그래픽 버퍼 영역에 저장된 이미지 프레임 데이터 정보, 및/또는 그래픽 버퍼 영역에 저장된 이미지 프레임의 해상도 정보(예: 가로 및 세로 사이즈)를 전달할 수 있다.The surfaceflinger module 420 according to one embodiment may composite and commit the frame of image frames stored in the graphic buffers using information on each of the graphic buffers. For example, the surfaceflinger module 420 provides information on each of the graphics buffers (e.g., each graphics buffer area address information (e.g., memory address information), each graphic buffer module 430 through a graphics HAL (hardware abstraction layer). Memory size information of the graphic buffer area, image frame sequence information stored in each graphic buffer area, image frame data information stored in each graphic buffer area, and/or resolution information (e.g., horizontal and vertical sizes) of image frames stored in the graphic buffer area. ) can be transmitted.
일 실시예에 따른 디스플레이 드라이버 모듈(430)은 adaptive sync 제어 모듈(432) 및 프레임 상태 모니터링 모듈(434)을 포함할 수 있다. 일 실시예에 따른 프레임 상태 모니터링 모듈(434)은 그래픽 버퍼 영역들의 상태 정보를 모니터링할 수 있다. 예를 들면, 그래픽 버퍼 영역들의 상태는 enqueued 상태, dequeued 상태, acquired 상태, free 상태 중 적어도 하나의 상태를 포함할 수 있다. 일 실시예에 따르면 dequeued 상태는 이미지 프레임이 저장되고 있는 상태일 수 있다. 예를 들면, dequeued 상태에서 어플리케이션 제어 모듈(410)이 이미지 프레임을 생성해서 그래픽 버퍼 영역에 저장하기 위한 동작을 수행할 수 있다(예: 어플리케이션 제어 모듈(410)이 그래픽 버퍼 영역의 소유권을 획득한 상태). 일 실시예에 따르면, enqueued 상태는 이미지 프레임이 저장된 상태일 수 있다. 예를 들면, 어플리케이션 제어 모듈(410)은 생성한 이미지 프레임을 그래픽 퍼버 영역에 저장 완료 후, enqueued 상태에서 DPU가 이미지 프레임을 가져가도록 대기할 수 있다. 일 실시예에 따른 acquired 상태는 이미지 프레임이 읽히는 상태일 수 있다. 예를 들면, acquired 상태는 DPU가 그래픽 버퍼 영역로부터 이미지 프레임을 읽어오기 위해 소유권을 가져간 상태일 수 있다. 일 실시예에 따른 free 상태는 DPU에 의한 이미지 프레임 소비(예: 읽는 작업)이 완료된 상태일 수 있다. 예를 들면, DPU에서는 그래픽 버퍼 영역에서 이미지 프레임을 읽어와서 디스플레이(360)에 전송할 수 있으며, 이러한 읽기 작업이 완료된 후, acquired 상태에서 free 상태로 변경될 수 있다. 예를 들면, free 상태에서는 저장된 이미지 프레임이 디스플레이(360)에 전달되어 새로 업데이트된 이미지 프레임이 존재하지 않을 수 있다. The display driver module 430 according to one embodiment may include an adaptive sync control module 432 and a frame status monitoring module 434. The frame status monitoring module 434 according to one embodiment may monitor status information of graphics buffer areas. For example, the state of the graphic buffer areas may include at least one of the enqueued state, dequeued state, acquired state, and free state. According to one embodiment, the dequeued state may be a state in which an image frame is being saved. For example, in the dequeued state, the application control module 410 may perform an operation to create an image frame and store it in the graphics buffer area (e.g., if the application control module 410 has acquired ownership of the graphics buffer area) situation). According to one embodiment, the enqueued state may be a state in which an image frame is stored. For example, after the application control module 410 completes storing the generated image frame in the graphics server area, it can wait for the DPU to take the image frame in an enqueued state. The acquired state according to one embodiment may be a state in which an image frame is read. For example, the acquired state may be a state in which the DPU takes ownership to read an image frame from the graphics buffer area. The free state according to one embodiment may be a state in which image frame consumption (e.g., reading task) by the DPU has been completed. For example, the DPU can read an image frame from the graphics buffer area and transmit it to the display 360, and after this read operation is completed, the acquired state can be changed from the acquired state to the free state. For example, in the free state, the stored image frame may be delivered to the display 360 and no newly updated image frame may exist.
일 실시예에 따르면 그래픽 버퍼 영역은 enqueued 상태, dequeued 상태, acquired 상태, free 상태가 반복될 수 있으며, 그래픽 버퍼 영역들(예: 3개)이 모두 free 상태인 경우 렌더링 동작이 수행되지 않는 상태로 식별될 수 있다.According to one embodiment, the graphics buffer area may repeat the enqueued state, dequeued state, acquired state, and free state. If all graphic buffer areas (e.g., 3) are in the free state, no rendering operation is performed. can be identified.
일 실시예에 따른 프레임 상태 모니터링 모듈(434)은 그래픽 버퍼 영역들의 상태가 모두 free 상태인 경우 그래픽 버퍼 영역의 상태가 이미지 프레임 업데이트 상태(예: 그래픽 버퍼 영역에 새로 렌더링된 이미지 프레임이 저장된 상태 또는 그래픽 버퍼 영역에 출력할 이미지 프레임이 존재하는 상태)가 아닌 것으로 식별할 수 있다. 일 실시예에 따르면 프레임 상태 모니터링 모듈(434)은 GPU(324)의 상태가 running 상태인지 idle 상태인지 식별하고, GPU(324)의 상태가 idle 상태인 경우 그래픽 버퍼 영역의 상태가 이미지 프레임 업데이트 상태(예: 그래픽 버퍼 영역에 새로 렌더링된 이미지 프레임이 저장된 상태 또는 그래픽 버퍼 영역에 출력할 이미지 프레임이 존재하는 상태)가 아닌 것으로 식별할 수도 있다.The frame status monitoring module 434 according to one embodiment determines that, when all of the graphic buffer areas are in the free state, the state of the graphic buffer area is set to an image frame update state (e.g., a state in which a newly rendered image frame is stored in the graphic buffer area, or It can be identified as not being in a state where an image frame to be output exists in the graphics buffer area. According to one embodiment, the frame state monitoring module 434 identifies whether the state of the GPU 324 is in a running state or an idle state, and when the state of the GPU 324 is in an idle state, the state of the graphics buffer area is in the image frame update state. It may be identified as not being the case (e.g., a newly rendered image frame is stored in the graphics buffer area, or an image frame to be output exists in the graphics buffer area).
일 실시예에 따른 adaptive sync 제어 모듈(432)은 그래픽 버퍼 영역의 상태가 이미지 프레임 업데이트 상태(예: 그래픽 버퍼 영역에 새로 렌더링된 이미지 프레임이 저장된 상태 또는 그래픽 버퍼 영역에 출력할 이미지 프레임이 존재하는 상태)인 것으로 식별된 경우 adaptive sync 기능을 활성화할 수 있다. 일 실시예에 따른 adaptive sync 제어 모듈(432)은 그래픽 버퍼 영역의 상태가 이미지 프레임 업데이트 상태(예: 그래픽 버퍼 영역에 새로 렌더링된 이미지 프레임이 저장된 상태 또는 그래픽 버퍼 영역에 출력할 이미지 프레임이 존재하는 상태)가 아닌 것으로 식별된 경우 adaptive sync 기능을 비활성화할 수 있다.The adaptive sync control module 432 according to one embodiment determines the state of the graphic buffer area in an image frame update state (e.g., a newly rendered image frame is stored in the graphic buffer area, or an image frame to be output exists in the graphic buffer area). If it is identified as a state), the adaptive sync function can be activated. The adaptive sync control module 432 according to one embodiment determines the state of the graphic buffer area in an image frame update state (e.g., a newly rendered image frame is stored in the graphic buffer area, or an image frame to be output exists in the graphic buffer area). If it is identified as not being in a state), the adaptive sync feature can be disabled.
일 실시예에 따른 adaptive sync 제어 모듈(432)은 adaptive sync 기능 활성화를 위해 DPU(326)와 디스플레이(360)에 adaptive sync 기능 활성화를 알리는 정보(또는 명령(command))를 전송할 수 있다. 일 실시예에 따른 adaptive sync 제어 모듈(432)은 adaptive sync 기능 비활성화를 위해 DPU(326)와 디스플레이(360)에 adaptive sync 기능 비활성화를 알리는 정보(또는 명령(command))를 전송할 수 있다.The adaptive sync control module 432 according to one embodiment may transmit information (or a command) notifying activation of the adaptive sync function to the DPU 326 and the display 360 to activate the adaptive sync function. The adaptive sync control module 432 according to one embodiment may transmit information (or a command) indicating deactivation of the adaptive sync function to the DPU 326 and the display 360 in order to deactivate the adaptive sync function.
일 실시예에 따른 DPU(326)는 디스플레이(360)로부터 동기 신호(예: TE 신호)(또는 vsync 신호) 수신 시점으로부터 지정된 시간 내에 신규 그래픽 버퍼 정보를 전달 받으면 그래픽 버퍼 영역에 저장된 이미지 프레임에 대한 HW(hardware) blending 및/또는 DSC(display stream compression)와 같은 후처리 동작을 수행하고 MIPI(mobile industry processor interface) lane을 통하여 디스플레이(360)에 이미지 프레임을 전달할 수 있다. When the DPU 326 according to one embodiment receives new graphics buffer information within a specified time from the point of receiving a synchronization signal (e.g., TE signal) (or vsync signal) from the display 360, the DPU 326 updates the image frame stored in the graphics buffer area. Post-processing operations such as hardware (HW) blending and/or display stream compression (DSC) may be performed and image frames may be transmitted to the display 360 through a mobile industry processor interface (MIPI) lane.
일 실시예에 따른 DPU(326)는 adaptive sync 기능이 활성화된 상태에서 제1 시간 구간에 대응하는 제1 동기 신호(예: 제1 vsync 신호) 수신 시점에 이미지 프레임 전달 명령이 없는 경우 지정된 대기 시간(예: 타임 아웃 시간)동안 이미지 프레임 전달 명령을 대기하고, 대기 시간 내에 이미지 프레임 전달 명령이 수신되면 디스플레이(360)에 이미지 프레임을 전달하고, 대기 시간이 초과된 상태에서 이미지 프레임 전달 명령이 수신되면 제1 vsync 신호 이후의 제2 동기 신호(예: 제2 vsync 신호) 수신 시점에 디스플레이(360)에 이미지 프레임을 전달할 수 있다. 일 실시예에 따른 DPU(326)는 adaptive sync 기능이 활성화된 상태에서 제1 시간 구간에 대응하는 제1 vsync 신호 수신 시점에 이미지 프레임 전달 명령이 있는 경우 대기 시간 없이 제1 시간 구간에 대응하는 제1 이미지 프레임을 디스플레이(360)에 전달할 수 있다.If there is no image frame transfer command at the time of receiving the first synchronization signal (e.g., first vsync signal) corresponding to the first time interval while the adaptive sync function is activated, the DPU 326 according to one embodiment may perform a designated waiting time. Wait for the image frame transfer command for (e.g. timeout time), and if the image frame transfer command is received within the waiting time, the image frame is delivered to the display 360, and the image frame transfer command is received when the waiting time is exceeded. Then, an image frame can be transmitted to the display 360 at the time of receiving the second synchronization signal (eg, the second vsync signal) after the first vsync signal. If there is an image frame transfer command at the time of receiving the first vsync signal corresponding to the first time interval while the adaptive sync function is activated, the DPU 326 according to one embodiment may generate a second signal corresponding to the first time interval without waiting time. 1 image frame can be transmitted to the display 360.
일 실시예에 따른 디스플레이(360)는 DPU(326)로부터 전달받은 이미지 프레임을 디스플레이(360)와 연관된 메모리(예: 도 2의 메모리(233) 또는 GRAM)에 저장할 수 있다. The display 360 according to one embodiment may store the image frame received from the DPU 326 in a memory associated with the display 360 (eg, memory 233 or GRAM in FIG. 2).
일 실시예에 따른 디스플레이(360)는 adaptive sync 기능이 비활성화된 상태에서 업데이트된 이미지 프레임이 전달받지 못하므로 이전에 출력한 이미지 프레임을 지속해서 표시하도록 제어할 수 있다.Since updated image frames are not received when the adaptive sync function is disabled, the display 360 according to one embodiment may be controlled to continuously display previously output image frames.
일 실시예에 따른 디스플레이(360)는 adaptive sync 기능이 활성화된 상태에서 지정된 대기 시간 동안 대기하고, 지정된 대기 시간 내에 이미지 프레임이 전달되면 GRAM에 저장된 이미지 프레임을 스캔 후 디스플레이 패널을 통해 이미지 프레임에 대응하는 화면을 표시할 수 있다. 일 실시예에 따른 디스플레이(360)는 adaptive sync 기능이 활성화된 상태에서 지정된 대기 시간 동안 대기하고, 지정된 대기 시간 초과한 상태에서 이미지 프레임이 전달되면 다음 시간 구간에 GRAM에 저장된 이미지 프레임을 스캔 후 디스플레이 패널을 통해 이미지 프레임에 대응하는 화면을 표시할 수 있다. The display 360 according to one embodiment waits for a specified waiting time with the adaptive sync function activated, and when an image frame is delivered within the specified waiting time, the display 360 scans the image frame stored in the GRAM and responds to the image frame through the display panel. A screen can be displayed. The display 360 according to one embodiment waits for a specified waiting time with the adaptive sync function activated, and when an image frame is delivered while the specified waiting time is exceeded, the display 360 scans the image frame stored in GRAM in the next time period and displays it. The screen corresponding to the image frame can be displayed through the panel.
도 5는 일 실시예에 따른 전자 장치에서 이미지 프레임 동기화 제어 동작을 나타낸 흐름도이다.Figure 5 is a flowchart showing an image frame synchronization control operation in an electronic device according to an embodiment.
도 5를 참조하면, 일 실시예에 따른 전자 장치(예: 도 1의 전자 장치 또는 도 3의 전자 장치(301))의 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 적어도 하나의 프로세서(320))는 510 동작 내지 540 동작 중 적어도 하나의 동작을 수행할 수 있다.Referring to FIG. 5, at least one processor (e.g., the processor 120 of FIG. 1 or the electronic device 301 of FIG. 3) of an electronic device (e.g., the electronic device of FIG. 1 or the electronic device 301 of FIG. 3) according to an embodiment. At least one processor 320 may perform at least one of operations 510 to 540.
510 동작에서, 일 실시예에 따른 적어도 하나의 프로세서(320)는 영상 정보를 렌더링하고 렌더링된 이미지 프레임을 메모리(330)의 그래픽 버퍼 영역(또는 별도의 버퍼 메모리(미도시))에 저장할 수 있다. 일 실시예에 따른 적어도 하나의 프로세서(320)는 렌더링된 이미지 프레임들을 수직 동기 신호(예: vsync 신호(vertical synchronization signal))를 이용하여 지정된 시간 단위(예: vsync 시간 구간)마다 메모리(330)의 그래픽 버퍼 영역에 저장할 수 있다.In operation 510, at least one processor 320 according to an embodiment may render image information and store the rendered image frame in the graphics buffer area of the memory 330 (or a separate buffer memory (not shown)). . At least one processor 320 according to an embodiment stores the rendered image frames in the memory 330 at designated time units (e.g., vsync time interval) using a vertical synchronization signal (e.g., vsync signal). It can be stored in the graphics buffer area of .
520 동작에서, 일 실시예에 따른 적어도 하나의 프로세서(320)는 제1 시간 구간 동안 이미지 프레임의 업데이트 여부에 기반하여 제2 시간 구간에 대한 디스플레이의 adaptive sync 기능 활성화 또는 비활성화를 식별할 수 있다. 예를 들면, 따른 적어도 하나의 프로세서(320)는 제1 시간 구간 동안 그래픽 버퍼 영역에 이미지 프레임의 업데이트 여부(예: 그래픽 버퍼 영역에 새로 렌더링된 이미지 프레임이 저장되는지 또는 그래픽 버퍼 영역에 출력할 이미지 프레임이 존재하는지 여부)에 기반하여 디스플레이(360)의 제2 시간 구간에 대한 adaptive sync 기능 활성화 또는 비활성화를 식별할 수 있다. 일 실시예에 따르면 적어도 하나의 프로세서(320)는 제1 시간 구간 동안 그래픽 버퍼 영역에 이미지 프레임이 업데이트되는 경우 디스플레이(360)의 제2 시간 구간에 대한 adaptive sync 기능을 활성화하도록 제어할 수 있다. 일 실시예에 따르면 적어도 하나의 프로세서(320)는 제1 시간 구간 동안 그래픽 버퍼 영역에 이미지 프레임이 업데이트되지 않는 경우 디스플레이(360)의 제2 시간 구간에 대한 adaptive sync 기능을 비활성화도록 제어할 수 있다.In operation 520, at least one processor 320 according to an embodiment may identify activation or deactivation of the adaptive sync function of the display for the second time period based on whether the image frame is updated during the first time period. For example, the at least one processor 320 determines whether an image frame is updated in the graphics buffer area during the first time interval (e.g., whether a newly rendered image frame is stored in the graphics buffer area or an image to be output to the graphics buffer area). Activation or deactivation of the adaptive sync function for the second time period of the display 360 may be identified based on whether a frame exists or not. According to one embodiment, at least one processor 320 may control to activate an adaptive sync function for the second time period of the display 360 when an image frame is updated in the graphic buffer area during the first time period. According to one embodiment, at least one processor 320 may control to disable the adaptive sync function for the second time period of the display 360 when the image frame is not updated in the graphic buffer area during the first time period. .
530 동작에서, 일 실시예에 따른 적어도 하나의 프로세서(320)는 adaptive sync 기능이 활성화에 기반하여, 디스플레이(360)가 제2 시간 구간에서 지정된 대기 시간 동안 이미지 프레임 수신을 대기하도록 제어하고 지정된 대기 시간(예: 2ms) 내에 이미지 프레임이 수신되면, 수신된 이미지 프레임을 디스플레이하도록 제어할 수 있다. In operation 530, the at least one processor 320 according to an embodiment controls the display 360 to wait to receive an image frame for a specified waiting time in a second time period based on activation of the adaptive sync function and waits for the specified wait time. If an image frame is received within the time (e.g. 2ms), the display of the received image frame can be controlled.
540 동작에서, 일 실시예에 따른 적어도 하나의 프로세서(320)는 adaptive sync 기능 비활성화에 기반하여, 디스플레이(360)가 제1 시간구간에 디스플레이한 이미지 프레임을 제2 시간 구간에 계속해서 디스플레이하도록 제어할 수 있다.In operation 540, the at least one processor 320 according to an embodiment controls the display 360 to continue displaying the image frame displayed in the first time period in the second time period based on deactivation of the adaptive sync function. can do.
도 6은 일 실시예에 따른 전자 장치에서 그래픽 버퍼 영역에 이미지 프레임 업데이트 여부에 기반한 디스플레이 동작을 나타낸 흐름도이다.FIG. 6 is a flowchart illustrating a display operation based on whether an image frame is updated in a graphics buffer area in an electronic device according to an embodiment.
도 6을 참조하면, 일 실시예에 따른 전자 장치(예: 도 1의 전자 장치 또는 도 3의 전자 장치(301))의 적어도 하나의 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 적어도 하나의 프로세서(320))는 610 동작 내지 630 동작 중 적어도 하나의 동작을 수행할 수 있다.Referring to FIG. 6, at least one processor (e.g., the processor 120 of FIG. 1 or the electronic device 301 of FIG. 3) of an electronic device (e.g., the electronic device of FIG. 1 or the electronic device 301 of FIG. 3) according to an embodiment. At least one processor 320 may perform at least one of operations 610 to 630.
610 동작에서, 일 실시예에 따른 적어도 하나의 프로세서(320)는 제1 동기 신호(예: 제1 vsync 신호)에 기반하여 그래픽 버퍼 영역에 제1 이미지 프레임이 업데이트됨에 따라 디스플레이(360)의 adaptive sync 기능을 활성화하고, 디스플레이(360)가 제2 동기 신호(예: 제2 vsync 신호) 수신 시점으로부터 지정된 대기 시간(예: 2ms) 동안 제1 이미지 프레임 수신을 대기하도록 제어하고, 지정된 대기 시간 내에 제1 이미지 프레임이 수신되면 수신된 제1 이미지 프레임을 디스플레이하도록 제어할 수 있다.In operation 610, at least one processor 320 according to an embodiment performs adaptive operation of the display 360 as the first image frame is updated in the graphics buffer area based on the first synchronization signal (e.g., the first vsync signal). Activate the sync function, control the display 360 to wait to receive the first image frame for a specified waiting time (e.g., 2 ms) from the point of receiving the second synchronization signal (e.g., the second vsync signal), and within the specified waiting time. When the first image frame is received, control can be made to display the received first image frame.
620 동작에서, 일 실시예에 따른 적어도 하나의 프로세서(320)는 제1 vsync 신호의 다음 제2 vsync 신호에 기반하여 그래픽 버퍼 영역에 이미지 프레임이 업데이트되지 않음에 따라 디스플레이(360)의 adaptive sync 기능을 비활성화하고 디스플레이가 제2 vsync 신호 수신 시점에서 대기 시간 없이 이전 수신된 이미지 프레임인 제1 이미지 프레임을 계속 디스플레이하도록 제어할 수 있다.In operation 620, the at least one processor 320 according to an embodiment uses the adaptive sync function of the display 360 as the image frame is not updated in the graphics buffer area based on the second vsync signal following the first vsync signal. can be deactivated and controlled so that the display continues to display the first image frame, which is the previously received image frame, without waiting time at the time of receiving the second vsync signal.
630 동작에서, 일 실시예에 따른 적어도 하나의 프로세서(320)는 제2 vsync 신호의 다음 제3 동기 신호(예: 제3 vsync 신호)에 기반하여 그래픽 버퍼 영역에 제2 이미지 프레임이 업데이트 됨에 따라 디스플레이(360)의 adaptive sync 기능을 활성화하고, 디스플레이(360)가 제3 vsync 신호 수신 시점으로부터 지정된 대기 시간(예: 2ms) 동안 제2 이미지 프레임 수신을 대기하도록 제어하고, 지정된 대기 시간 내에 제2 이미지 프레임이 수신되면 수신된 제2 이미지 프레임을 디스플레이하도록 제어할 수 있다.In operation 630, the at least one processor 320 according to an embodiment updates the second image frame in the graphics buffer area based on a third synchronization signal (e.g., a third vsync signal) following the second vsync signal. Activate the adaptive sync function of the display 360, control the display 360 to wait to receive the second image frame for a specified waiting time (e.g., 2 ms) from the point of receiving the third vsync signal, and display the second image frame within the specified waiting time. When an image frame is received, control can be made to display the received second image frame.
일 실시예에 따른 전자 장치에서 이미지 프레임 동기화 제어 방법은 제1 동기 신호에 기반하여 상기 전자 장치의 메모리의 그래픽 버퍼 영역에 제1 이미지 프레임이 업데이트 됨에 따라 상기 디스플레이가 제2 동기 신호 수신 시점으로부터 지정된 대기 시간 동안 제1 이미지 프레임 수신을 대기하도록 제어하고, 상기 지정된 대기 시간 내에 상기 제1 이미지 프레임이 수신되면 수신된 제1 이미지 프레임을 디스플레이하도록 제어하는 동작을 포함할 수 있다. 일 실시예에 따른 상기 방법은 상기 제2 동기 신호에 기반하여 상기 그래픽 버퍼 영역에 제2 이미지 프레임이 업데이트되지 않음에 따라 상기 디스플레이가 제3 동기 신호 수신 시점에서 대기 시간 없이 상기 제1 이미지 프레임을 계속 디스플레이하도록 제어하는 동작을 포함할 수 있다.A method of controlling image frame synchronization in an electronic device according to an embodiment includes updating the first image frame in the graphic buffer area of the memory of the electronic device based on the first synchronization signal, thereby causing the display to change to a specified state from the time of receiving the second synchronization signal. It may include controlling the display to wait for reception of the first image frame during the waiting time, and controlling to display the received first image frame when the first image frame is received within the designated waiting time. The method according to one embodiment is such that the second image frame is not updated in the graphic buffer area based on the second synchronization signal, so that the display displays the first image frame without waiting time at the time of receiving the third synchronization signal. It may include an operation to control continuous display.
일 실시예에 따른 상기 방법은 상기 제3 동기 신호에 기반하여 상기 그래픽 버퍼 영역에 제3 이미지 프레임이 업데이트 됨에 따라 상기 디스플레이가 제4 동기 신호 수신 시점으로부터 지정된 대기 시간 동안 제3 이미지 프레임 수신을 대기하도록 제어하고, 상기 지정된 대기 시간 내에 상기 제3 이미지 프레임이 수신되면 수신된 제3 이미지 프레임을 디스플레이하도록 제어하는 동작을 포함할 수 있다.The method according to one embodiment is such that the display waits to receive the third image frame for a specified waiting time from the time of receiving the fourth synchronization signal as the third image frame is updated in the graphic buffer area based on the third synchronization signal. and, if the third image frame is received within the designated waiting time, to display the received third image frame.
일 실시예에 따른 상기 방법은 영상 정보를 렌더링하고 렌더링된 이미지 프레임을 동기 신호에 기반한 지정된 시간 구간 동안 상기 그래픽 버퍼 영역에 저장하는 동작을 포함할 수 있다.The method according to one embodiment may include rendering image information and storing the rendered image frame in the graphics buffer area for a designated time period based on a synchronization signal.
일 실시예에 따른 상기 방법은 상기 그래픽 버퍼 영역에 상기 렌더링된 이미지 프레임이 업데이트 됨에 따라 상기 디스플레이의 adaptive sync 기능을 활성화하는 동작을 포함할 수 있다.The method according to one embodiment may include activating an adaptive sync function of the display as the rendered image frame is updated in the graphic buffer area.
일 실시예에 따른 상기 방법은 상기 그래픽 버퍼 영역에 상기 렌더링된 이미지 프레임이 업데이트 되지 않음에 따라 상기 디스플레이의 adaptive sync 기능을 비활성화하는 동작을 포함할 수 있다.The method according to one embodiment may include disabling the adaptive sync function of the display when the rendered image frame is not updated in the graphic buffer area.
일 실시예에 따른 상기 방법에서 상기 이미지 프레임의 프레임 레이트는 60hz이고, 상기 동기 신호에 기반한 지정된 시간 구간은 16.6ms일 수 있다.In the method according to one embodiment, the frame rate of the image frame may be 60hz, and the designated time interval based on the synchronization signal may be 16.6ms.
일 실시예에 따른 상기 방법에서 상기 대기 시간은 3.4ms일 수 있다.In the method according to one embodiment, the waiting time may be 3.4ms.
도 7은 일 실시예에 따른 전자 장치에서 adaptive sync 적용 시 이미지 프레임들을 나타낸 도면이다.FIG. 7 is a diagram illustrating image frames when adaptive sync is applied in an electronic device according to an embodiment.
도 7을 참조하면, 일 실시예에 따른 참조번호 710은 CPU(예: 도 3의 CPU(322)) 및/또는 GPU(예: 도 3의 GPU(324))에 의해 렌더링되어 그래픽 버퍼에 저장되는 이미지 프레임들을 나타낼 수 있다. 일 실시예에 따른 참조 번호 720은 DPU(326)에 의해 디스플레이(360)에 전달되는 이미지 프레임들을 나타낼 수 있다. 일 실시예에 따른 참조 번호 730은 디스플레이(360)에 의해 재생되는 이미지 프레임들을 나타낼 수 있다. Referring to FIG. 7, reference number 710 according to one embodiment is rendered by the CPU (e.g., CPU 322 in FIG. 3) and/or GPU (e.g., GPU 324 in FIG. 3) and stored in the graphics buffer. It can represent image frames that are Reference numeral 720 according to one embodiment may represent image frames delivered to the display 360 by the DPU 326. Reference number 730 according to one embodiment may represent image frames played by the display 360.
일 실시예에 따른 CPU(322) 및 DPU(326)는 지정된 시간 간격(예: 16.6ms)마다 vsync 신호를 기반으로 동작할 수 있으며, 지정된 시간 간격은 프레임 지연 시간에 따라 adaptive하게 조정될 수 있다.The CPU 322 and DPU 326 according to one embodiment may operate based on the vsync signal at specified time intervals (e.g., 16.6 ms), and the specified time intervals may be adaptively adjusted according to the frame delay time.
일 실시예에 따른 제1 vsync 신호에 기반한 제1 시간 구간(T1)(예: 제1 vsync 구간)에서, CPU(322)는 영상 정보에 대한 렌더링을 수행하고 렌더링된 제1 이미지 프레임을 메모리(320)의 그래픽 버퍼 영역에 저장할 수 있고, DPU(326)와 디스플레이(360)는 전달받은 이미지 프레임없이 대기 상태일 수 있다.In the first time interval T1 (e.g., first vsync interval) based on the first vsync signal according to one embodiment, the CPU 322 performs rendering on the image information and stores the rendered first image frame in memory ( It can be stored in the graphics buffer area of 320, and the DPU 326 and display 360 can be in a standby state without any received image frames.
일 실시예에 따른 CPU(322)는 제2 vsync 신호에 기반한 제2 시간 구간(T2)(예: 제2 vsync 구간)에서 렌더링 시간이 지연되는 경우 렌더링된 제2 이미지 프레임을 제2 시간 구간(T2)이 초과된 제3 시간 구간(T3) 상태에서 메모리(320)의 그래픽 버퍼 영역에 저장할 수 있다. 일 실시예에 따른 DPU(326)는 제3 vsync 신호에 기반하여 제3 시간 구간(T3) 시작 시점에 제2 이미지 프레임을 디스플레이(360)에 전달하지 못하고 일정 시간 지연 후 그래픽 버퍼 영역에 저장된 제2 이미지 프레임을 디스플레이(360)에 전달할 수 있다. 일 실시예에 따른 디스플레이(360)는 adaptive sync 적용(또는 adaptive sync 기능 활성화)에 기반하여 이미지 프레임 수신 대기 중 시간 지연된 제2 이미지 프레임이 수신되면 수신된 제2 이미지 프레임을 디스플레이할 수 있다. If the rendering time is delayed in the second time interval T2 (e.g., the second vsync interval) based on the second vsync signal, the CPU 322 according to one embodiment may display the rendered second image frame in the second time interval (T2). It can be stored in the graphic buffer area of the memory 320 in the third time interval (T3) when T2) is exceeded. The DPU 326 according to one embodiment fails to deliver the second image frame to the display 360 at the start of the third time interval T3 based on the third vsync signal, and after a predetermined time delay, the second image frame stored in the graphics buffer area 2 Image frames can be transmitted to the display 360. The display 360 according to one embodiment may display the received second image frame when a time-delayed second image frame is received while waiting to receive an image frame based on applying adaptive sync (or activating the adaptive sync function).
일 실시예에 따르면 adaptive sync 기능에 따라 프레임 전달 지연 시간(735)만큼 제3 vsync 신호에 대응된 제3 시간 구간(T3)의 시간 길이가 길어졌다가 다시 제4 vsync 신호부터는 정상적으로 시간 구간 간격이 지정된 시간으로 되돌아올 수 있다. According to one embodiment, according to the adaptive sync function, the time length of the third time section (T3) corresponding to the third vsync signal is increased by the frame transmission delay time (735), and then the time section interval is normalized from the fourth vsync signal. You can return to a specified time.
도 8은 일 실시예에 따른 전자 장치에서 adaptive sync 적용된 상태에서 그래픽 버퍼 영역에 이미지 프레임이 업데이트되지 않는 경우를 나타낸 도면이다.FIG. 8 is a diagram illustrating a case in which an image frame is not updated in the graphics buffer area while adaptive sync is applied in an electronic device according to an embodiment.
도 8을 참조하면, 일 실시예에 따른 참조번호 810은 CPU(예: 도 3의 CPU(322)) 및/또는 GPU(예: 도 3의 GPU(324)에 의해 렌더링되어 그래픽 버퍼에 저장되는 이미지 프레임들을 나타낼 수 있다. 일 실시예에 따른 참조 번호 820은 DPU(예: 도 3의 DPU(326))에 의해 디스플레이(360)에 전달되는 이미지 프레임들을 나타낼 수 있다. 일 실시예에 따른 참조 번호 830은 디스플레이(360)에 의해 재생되는 이미지 프레임들을 나타낼 수 있다. Referring to FIG. 8, reference numeral 810 according to one embodiment is a number that is rendered by a CPU (e.g., CPU 322 in FIG. 3) and/or GPU (e.g., GPU 324 in FIG. 3) and stored in a graphics buffer. Reference numeral 820 according to an embodiment may represent image frames transmitted to the display 360 by a DPU (eg, DPU 326 in FIG. 3). Number 830 may represent image frames reproduced by display 360.
일 실시예에 따른 CPU(322) 및 DPU(326)는 지정된 시간 간격(예: 16.6ms)마다 vsync 신호를 기반으로 동작할 수 있다. 지정된 시간 간격은 프레임 지연 시간에 따라 adaptive하게 조정될 수 있다.The CPU 322 and DPU 326 according to one embodiment may operate based on the vsync signal at specified time intervals (eg, 16.6 ms). The specified time interval can be adaptively adjusted depending on the frame delay time.
일 실시예에 따른 CPU(322)는 영상 정보에 대한 렌더링을 수행하고 제1 vsync 신호에 기반한 제1 시간 구간(T1)(예: 제1 vsync 구간)에 대응된 렌더링된 제1 이미지 프레임을 메모리(320)의 그래픽 버퍼 영역에 저장할 수 있다. 일 실시예에 따른 DPU(326)는 제2 vsync 신호에 기반한 제2 시간 구간(T2)(예: 제2 vsync 구간)에서 그래픽 버퍼 영역에 저장된 제1 이미지 프레임을 처리하여 디스플레이(360)에 전달할 수 있다. 일 실시예에 따른 디스플레이(360)는 adaptive sync 적용(또는 adaptive sync 기능 활성화) 시 제2 vsync 신호에 기반한 제2 시간 구간(T2) 에서 지정된 대기 시간(예: 2ms) 동안 제1 이미지 프레임 수신을 대기하고, 지정된 대기 시간 내에 제1 이미지 프레임이 수신되면 수신된 제1 이미지 프레임을 디스플레이할 수 있다.The CPU 322 according to one embodiment performs rendering on image information and stores the rendered first image frame corresponding to the first time interval T1 (e.g., first vsync interval) based on the first vsync signal. It can be stored in the graphics buffer area of (320). The DPU 326 according to one embodiment processes the first image frame stored in the graphics buffer area in a second time interval T2 (e.g., a second vsync interval) based on the second vsync signal and delivers it to the display 360. You can. When applying adaptive sync (or activating the adaptive sync function), the display 360 according to one embodiment receives the first image frame for a designated waiting time (e.g., 2 ms) in the second time interval (T2) based on the second vsync signal. It waits, and if the first image frame is received within the designated waiting time, the received first image frame may be displayed.
일 실시예에 따른 CPU(322)는 제1 vsync 신호 이후 제2 vsync 신호에 기반한 제2 시간 구간(T2)에서 렌더링을 수행하지 않거나, 그래픽 버퍼 영역에 렌더링된 이미지 프레임의 업데이트를 수행하지 않을 수 있다. 일 실시예에 따른 DPU(326)는 제2 시간 구간(T2)에서 그래픽 버퍼 영역에 이미지 프레임이 없거나 이미지 프레임이 업데이트되지 않은 경우(NO frame) 제3 시간 구간(T3)에서 디스플레이(360)에 이미지 프레임을 전달하지 않을 수 있다(NO frame). 일 실시예에 따른 디스플레이(324)는 제3 시간 구간(T3)에서 DPU(326)로부터 이미지 프레임이 전달되지 않음에 따라 최대 대기 시간(835)까지 이미지 프레임수신을 대기하고, 최대 대기 시간 후에 이전 수신된 제1 이미지 프레임을 디스플레이할 수 있다. 상기 도 8에 따르면, 이미지 프레임이 연속적으로 렌더링되지 않고, 중간에 렌더링된 이미지 프레임이 존재하지 않는 경우 디스플레이(360)는 해당 시간 구간에서 불필요한 대기 시간(예: 835)을 가질 수 있고, 이는 대기 시간을 불필요하게 증가시켜 다음 이미지 프레임을 신속하게 재생하지 못하도록 할 수 있다.The CPU 322 according to one embodiment may not perform rendering in the second time interval T2 based on the second vsync signal after the first vsync signal, or may not perform an update of the image frame rendered in the graphics buffer area. there is. The DPU 326 according to one embodiment displays the display 360 in the third time interval T3 when there is no image frame in the graphic buffer area or the image frame is not updated (NO frame) in the second time interval T2. Image frames may not be transmitted (NO frame). As the image frame is not delivered from the DPU 326 in the third time period T3, the display 324 according to one embodiment waits to receive the image frame until the maximum waiting time 835, and then transfers the image frame after the maximum waiting time. The received first image frame may be displayed. According to FIG. 8, when image frames are not rendered continuously and there is no rendered image frame in the middle, the display 360 may have an unnecessary waiting time (e.g., 835) in the corresponding time section, which is Unnecessarily increasing the time can prevent the next image frame from being played quickly.
도 9는 일 실시예에 따른 전자 장치에서 adaptive sync 적용 중 그래픽 버퍼 영역에 이미지 프레임이 업데이트되지 않는 경우 adaptive sync가 미적용된 것을 나타낸 도면이다.FIG. 9 is a diagram illustrating that adaptive sync is not applied when an image frame is not updated in the graphics buffer area while applying adaptive sync in an electronic device according to an embodiment.
도 9를 참조하면, 일 실시예에 따른 참조번호 910은 CPU(예: 도 3의 CPU(322)) 및/또는 GPU(예: 도 3의 GPU(324)에 의해 렌더링되어 그래픽 버퍼에 저장되는 이미지 프레임들을 나타낼 수 있다. 일 실시예에 따른 참조 번호 920은 DPU(예: 도 3의 DPU(326))에 의해 디스플레이(360)에 전달되는 이미지 프레임들을 나타낼 수 있다. 일 실시예에 따른 참조 번호 930은 디스플레이(360)에 의해 재생되는 이미지 프레임들을 나타낼 수 있다. Referring to FIG. 9, reference numeral 910 according to an embodiment is a number that is rendered by a CPU (e.g., CPU 322 in FIG. 3) and/or GPU (e.g., GPU 324 in FIG. 3) and stored in a graphics buffer. Reference numeral 920 according to an embodiment may represent image frames transmitted to the display 360 by a DPU (eg, DPU 326 in FIG. 3). Number 930 may represent image frames reproduced by display 360.
일 실시예에 따른 CPU(322) 및 DPU(326)는 지정된 시간 간격(예: 16.6ms)마다 vsync 신호를 기반으로 동작할 수 있다. 지정된 시간 간격은 프레임 지연 시간에 따라 adaptive하게 조정될 수 있다.The CPU 322 and DPU 326 according to one embodiment may operate based on the vsync signal at specified time intervals (eg, 16.6 ms). The specified time interval can be adaptively adjusted depending on the frame delay time.
일 실시예에 따른 CPU(322)는 영상 정보에 대한 렌더링을 수행하고 제1 vsync 신호에 기반한 제1 시간 구간(T1)(예: 제1 vsync 구간)에 대응된 렌더링된 제1 이미지 프레임을 메모리(320)의 그래픽 버퍼 영역에 저장할 수 있다. 일 실시예에 따른 DPU(326)는 제2 vsync 신호에 기반한 제2 시간 구간(T2)(예: 제2 vsync 구간)에서 그래픽 버퍼 영역에 저장된 제1 이미지 프레임을 처리하여 디스플레이(360)에 전달할 수 있다. 일 실시예에 따른 디스플레이(360)는 adaptive sync 적용(또는 adaptive sync 기능 활성화) 시 제2 vsync 신호에 기반한 제2 시간 구간(T2)(예: 제2 vsync 구간)에서 지정된 대기 시간(예: 2ms) 동안 제1 이미지 프레임 수신을 대기하고, 지정된 대기 시간 내에 제1 이미지 프레임이 수신되면 수신된 제1 이미지 프레임을 디스플레이할 수 있다. The CPU 322 according to one embodiment performs rendering on image information and stores the rendered first image frame corresponding to the first time interval T1 (e.g., first vsync interval) based on the first vsync signal. It can be stored in the graphics buffer area of (320). The DPU 326 according to an embodiment processes the first image frame stored in the graphics buffer area in a second time period T2 (e.g., a second vsync period) based on the second vsync signal and delivers it to the display 360. You can. When applying adaptive sync (or activating the adaptive sync function), the display 360 according to one embodiment displays a designated waiting time (e.g., 2 ms) in a second time interval (T2) (e.g., a second vsync interval) based on the second vsync signal. ), and when the first image frame is received within the designated waiting time, the received first image frame can be displayed.
일 실시예에 따른 CPU(322)는 제1 vsync 신호 이후 제2 vsync 신호에 기반한 제2 시간 구간(T2)(예: 제2 vsync 구간)에서 렌더링을 수행하지 않거나, 그래픽 버퍼 영역에 렌더링된 이미지 프레임의 업데이트를 수행하지 않을 수 있다. 일 실시예에 따른 CPU(322)는 제2 시간 구간(T2)에서 렌더링이 수행되지 않거나, 그래픽 버퍼 영역에 렌더링된 이미지 프레임이 업데이트되지 않은 것을 식별할 수 있다. 일 실시예에 따른 CPU(322)는 제2 시간 구간(T2)에서 렌더링이 수행되지 않거나, 그래픽 버퍼 영역에 렌더링된 이미지 프레임이 업데이트되지 않은 경우 제3 시간 구간(T3)에서 DPU(326)와 디스플레이(326)가 adaptive sync 미적용(또는 adaptive sync 기능 비활성화)하도록 제어할 수 있다.The CPU 322 according to one embodiment does not perform rendering in the second time interval T2 (e.g., the second vsync interval) based on the second vsync signal after the first vsync signal, or does not perform rendering on the image rendered in the graphics buffer area. Frame updates may not be performed. The CPU 322 according to an embodiment may identify that rendering is not performed in the second time period T2 or that the image frame rendered in the graphic buffer area is not updated. If rendering is not performed in the second time interval T2 or the image frame rendered in the graphics buffer area is not updated, the CPU 322 according to one embodiment may operate with the DPU 326 in the third time interval T3. The display 326 can be controlled not to apply adaptive sync (or disable the adaptive sync function).
일 실시예에 따른 DPU(326)는 제2 시간 구간(T3)에서 디스플레이(360)에 제1 이미지 프레임을 전달하고 adaptive sync 미적용(또는 adaptive sync 기능 비활성화)하도록 하는 설정 정보를 제공(925)할 수 있다.The DPU 326 according to one embodiment may deliver the first image frame to the display 360 in the second time interval T3 and provide setting information for not applying adaptive sync (or deactivating the adaptive sync function) (925). You can.
일 실시예에 따른 디스플레이(360)는 제2 시간 구간(T3)에서 수신되는 제1 이미지 프레임을 디스플레이하고 adaptive sync 미적용(또는 adaptive sync 기능 비활성화)하도록 하는 설정 정보에 따라 제3 시간 구간(T3)에서 대기 시간이 없도록 설정할 수 있다.The display 360 according to an embodiment displays the first image frame received in the second time interval T3 and displays the first image frame in the third time interval T3 according to setting information for not applying adaptive sync (or deactivating the adaptive sync function). You can set it to have no waiting time.
일 실시예에 따른 DPU(326)는 제3 시간 구간(T3)에서 디스플레이(360)에 이미지 프레임을 전달하지 않을 수 있고, 디스플레이(360)는 제3 시간 구간(T3)에서 adaptive sync 미적용에 기반하여 대기 시간 없이 이전 수신된 제1 이미지 프레임을 계속해서 표시할 수 있다. The DPU 326 according to one embodiment may not transmit an image frame to the display 360 in the third time interval T3, and the display 360 may be based on non-application of adaptive sync in the third time interval T3. Thus, the previously received first image frame can be continuously displayed without waiting time.
도 10은 일 실시예에 따른 전자 장치에서 제1 프레임 지연에 기반하여 디스플레이의 vsync 구간이 증가된 상태에서 다음 구간이 노 프레임인 경우 adaptive sync를 미적용하는 것을 나타낸 도면이다.FIG. 10 is a diagram illustrating not applying adaptive sync when the next section is no frame while the vsync section of the display is increased based on the first frame delay in an electronic device according to an embodiment.
도 10을 참조하면, 일 실시예에 따른 참조번호 1010은 CPU(예: 도 3의 CPU(322)) 및/또는 GPU(예: 도 3의 GPU(324)에 의해 렌더링되어 그래픽 버퍼에 저장되는 이미지 프레임들을 나타낼 수 있다. 일 실시예에 따른 참조 번호 1020은 DPU(예: 도 3의 DPU(326))에 의해 디스플레이(360)에 전달되는 이미지 프레임들을 나타낼 수 있다. 일 실시예에 따른 참조 번호 1030은 디스플레이(360)에 의해 재생되는 이미지 프레임들을 나타낼 수 있다. Referring to FIG. 10, reference numeral 1010 according to an embodiment is a block that is rendered by a CPU (e.g., CPU 322 in FIG. 3) and/or GPU (e.g., GPU 324 in FIG. 3) and stored in a graphics buffer. Reference number 1020 according to an embodiment may represent image frames transmitted to the display 360 by a DPU (eg, DPU 326 in FIG. 3). Number 1030 may represent image frames reproduced by display 360.
일 실시예에 따른 CPU(322) 및 DPU(326)는 지정된 시간 간격(예: 16.6ms)마다 vsync 신호를 기반으로 동작할 수 있다. 지정된 시간 간격은 프레임 지연 시간에 따라 adaptive하게 조정될 수 있다. The CPU 322 and DPU 326 according to one embodiment may operate based on the vsync signal at specified time intervals (eg, 16.6 ms). The specified time interval can be adaptively adjusted depending on the frame delay time.
일 실시예에 따른 CPU(322)는 영상 정보에 대한 렌더링을 수행하고 제1 vsync 신호에 기반한 제1 시간 구간(T1)(예: 제1 vsync 구간)에 대응된 렌더링된 제1 이미지 프레임을 메모리(320)의 그래픽 버퍼 영역에 저장할 수 있다. 제1 이미지 프레임의 렌더링 시간이 지연된 경우 제1 이미지 프레임의 저장 완료는 제2 vsync 구간에 이루어질 수 있다.The CPU 322 according to one embodiment performs rendering on image information and stores the rendered first image frame corresponding to the first time interval T1 (e.g., first vsync interval) based on the first vsync signal. It can be stored in the graphics buffer area of (320). If the rendering time of the first image frame is delayed, storage of the first image frame may be completed in the second vsync period.
일 실시예에 따른 DPU(326)는 제2 vsync 신호에 기반한 제2 시간 구간(T2)(예: 제2 vsync 구간)에서 지연 처리된 제1 이미지 프레임을 처리하여 디스플레이(360)에 지연 전달할 수 있다. 일 실시예에 따른 디스플레이(360)는 adaptive sync 적용(또는 adaptive sync 기능 활성화)에 기반하여 제2 vsync 신호에 기반한 제2 시간 구간(T2)에서 최대 대기 시간까지 제1 이미지 프레임 수신을 대기하고, 최대 대기 시간 내(1035)(예: 3.4ms(1035))에 제1 이미지 프레임이 수신되면 제1 이미지 프레임을 디스플레이할 수 있다. 일 실시예에 따른 대기 시간의 증가로 인해 제2 vsync 구간은 20ms로 증가될 수 있다.The DPU 326 according to an embodiment may process the delayed first image frame in a second time interval T2 (e.g., a second vsync interval) based on the second vsync signal and transmit it to the display 360 with delay. there is. The display 360 according to one embodiment waits to receive the first image frame until the maximum waiting time in the second time interval T2 based on the second vsync signal based on applying adaptive sync (or activating the adaptive sync function), If the first image frame is received within the maximum waiting time (1035) (e.g., 3.4 ms (1035)), the first image frame may be displayed. Due to an increase in waiting time according to one embodiment, the second vsync section may be increased to 20ms.
일 실시예에 따른 CPU(322)는 제1 vsync 신호 이후 제2 vsync 신호에 기반한 제2 시간 구간(T2)에서 렌더링을 수행하지 않거나, 그래픽 버퍼 영역에 렌더링된 이미지 프레임의 업데이트를 수행하지 않을 수 있다. 일 실시예에 따른 DPU(326)는 제2 시간 구간(T2)에서 그래픽 버퍼 영역에 이미지 프레임이 없거나 이미지 프레임이 업데이트되지 않은 경우(NO frame) 이를 식별하고(1021) 디스플레이(360)가 adaptive sync 미적용(또는 adaptive sync 기능 비활성화)하도록 제어하고(또는 디스플레이(360)가 adaptive sync 미적용(또는 adaptive sync 기능 비활성화)하도록 하는 명령을 디스플레이(360)에 전송하고)(1023), 제3 시간 구간(T3)에서 디스플레이(360)에 이미지 프레임을 전달하지 않을 수 있다(NO frame). The CPU 322 according to one embodiment may not perform rendering in the second time interval T2 based on the second vsync signal after the first vsync signal, or may not perform an update of the image frame rendered in the graphics buffer area. there is. The DPU 326 according to one embodiment identifies (1021) when there is no image frame in the graphics buffer area or the image frame is not updated (NO frame) in the second time interval (T2) and the display 360 performs adaptive sync. Control not to apply (or disable the adaptive sync function) (or transmit a command to the display 360 to cause the display 360 to not apply adaptive sync (or deactivate the adaptive sync function)) (1023), and a third time interval (T3) ), the image frame may not be transmitted to the display 360 (NO frame).
일 실시예에 따른 디스플레이(324)는 제3 시간 구간(T3)에서 DPU(326)로부터의 제어 또는 명령에 따라 adaptive sync 미적용(또는 adaptive sync 기능 비활성화)하여 최대 대기 시간이 아닌 지정된 대기 시간(예: 2ms) 동안 제2 이미지 프레임 수신을 대기하고, 지정된 대기 시간(예: 2ms) 내에 제1 이미지 프레임이 수신되지 않는 경우 이전 수신된 제1 이미지 프레임을 표시할 수 있다. 일 실시예에 따른 제3 시간 구간(T3)은 adaptive sync 미적용(또는 adaptive sync 기능 비활성화)로 인해 지정된 시간 간격(예: 16.6ms)이 불필요하게 증가되지 않을 수 있다. 이에 따라 다음 제2 이미지 프레임이 adaptive sync 적용 시보다 빨리 디스플레이될 수 있다. The display 324 according to one embodiment does not apply adaptive sync (or deactivates the adaptive sync function) according to a control or command from the DPU 326 in the third time interval T3, so that a specified waiting time (e.g. : 2ms), and if the first image frame is not received within the specified waiting time (e.g., 2ms), the previously received first image frame may be displayed. In the third time interval T3 according to one embodiment, the designated time interval (e.g., 16.6 ms) may not be unnecessarily increased due to non-application of adaptive sync (or deactivation of the adaptive sync function). Accordingly, the next second image frame may be displayed faster than when adaptive sync is applied.
일 실시예에 따른 CPU(322)는 제3 vsync 신호에 기반한 제3 시간 구간(T3)(예: 제3 vsync 구간)에서 렌더링된 제2 이미지 프레임을 메모리(320)의 그래픽 버퍼 영역에 저장할 수 있다. 제2 이미지 프레임의 렌더링 시간이 지연된 경우 제2 이미지 프레임의 저장 완료는 제4 vsync 구간에 이루어질 수 있다.The CPU 322 according to one embodiment may store the second image frame rendered in the third time interval T3 (e.g., the third vsync interval) based on the third vsync signal in the graphics buffer area of the memory 320. there is. If the rendering time of the second image frame is delayed, storage of the second image frame may be completed in the fourth vsync section.
일 실시예에 따른 DPU(326)는 제4 vsync 신호에 기반한 제4 시간 구간(T4)(예: 제4 vsync 구간)에서 지연 처리된 제2 이미지 프레임을 처리하여 디스플레이(360)에 지연 전달할 수 있다. 일 실시예에 따른 디스플레이(360)는 DPU(326)로부터의 adaptive sync 미적용(또는 adaptive sync 기능 비활성화) 명령이 수신되지 않음에 따라 adaptive sync 적용(또는 adaptive sync 기능 활성화)된 상태에서 제4 vsync 신호에 기반한 제4 시간 구간(T4)에서 최대 대기 시간까지 제2 이미지 프레임 수신을 대기하고, 최대 대기 시간 내(예: 3.4ms(1037))에 제2 이미지 프레임이 수신되면 제2 이미지 프레임을 디스플레이할 수 있다.일 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101), 도 3의 전자 장치(301))는 그래픽 버퍼 상태 및/또는 GPU 상태 정보를 참조하여 미리 이미지 프레임 렌더링 여부 및/또는 이미지 프레임 업데이트 여부를 식별하고, 식별 결과에 기반하여 디스플레이(360) 및/또는 DPU(325)의 adaptive sync 기능을 활성화(예: on) 또는 비활성화(예: off) 되도록 제어함으로써, no frame 구간에서의 불필요한 frame 대기 시간을 줄일 수 있다. 이로 인해 다음에 발생하는 신규 frame update 시간이 지연됨을 방지할 수 있다.The DPU 326 according to one embodiment may process the delayed second image frame in the fourth time interval T4 (e.g., the fourth vsync interval) based on the fourth vsync signal and transmit it to the display 360 with delay. there is. According to one embodiment, the display 360 receives a fourth vsync signal in a state in which adaptive sync is applied (or the adaptive sync function is activated) as a command to not apply adaptive sync (or disable the adaptive sync function) is not received from the DPU 326. Wait for reception of a second image frame until the maximum waiting time in a fourth time interval (T4) based on According to one embodiment, an electronic device (e.g., the electronic device 101 of FIG. 1 and the electronic device 301 of FIG. 3) renders an image frame in advance by referring to the graphics buffer status and/or GPU status information. By identifying whether and/or whether the image frame is updated and controlling the adaptive sync function of the display 360 and/or DPU 325 to be activated (e.g. on) or deactivated (e.g. off) based on the identification result, Unnecessary frame waiting time in the no frame section can be reduced. This can prevent the next new frame update time from being delayed.
본 문서에 개시된 다양한 실시예에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document 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.
본 문서의 다양한 실시예 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나","A 또는 B 중 적어도 하나,""A, B 또는 C," "A, B 및 C 중 적어도 하나,"및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and the terms used herein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various changes, equivalents, or replacements of the embodiments. In connection with the description of the drawings, similar reference numbers may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the above items, unless the relevant context clearly indicates otherwise. In this document, “A or B,” “at least one of A and B,” “at least one of A or B,” “A, B, or C,” “at least one of A, B, and C,” and “A. Each of phrases such as “at least one of , B, or C” may include any one of the items listed together in the corresponding phrase, or any possible combination thereof. Terms such as "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.” When mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. 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).
본 문서의 다양한 실시예는 기기(machine)(예: 전자 장치(101))에 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체 는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document are one or more 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 instructions. For example, a processor (e.g., processor 120) of a device (e.g., electronic device 101) may call at least one command among one or more commands stored from a storage medium and execute it. This allows the device to be operated to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. Device-readable storage media may be provided in the form of non-transitory storage media. Here, '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 product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, methods according to various embodiments disclosed in this document may be provided and included in a computer program product. 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 via an application store (e.g. Play StoreTM) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smartphones) or online. In the case of online distribution, 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.
다양한 실시예에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a single entity or a plurality of entities. According to various embodiments, one or more of the components or operations described above may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (eg, modules or programs) may be integrated into a single component. In this case, 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. . According to various embodiments, 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, omitted, or , or one or more other operations may be added.
일 실시예에에 따르면, 명령들을 저장하고 있는 비휘발성 저장 매체에 있어서, 상기 명령들은 전자 장치에 의하여 실행될 때에 상기 전자 장치로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은, 제1 동기 신호에 기반하여 상기 전자 장치의 메모리의 그래픽 버퍼 영역에 제1 이미지 프레임이 업데이트 됨에 따라 상기 디스플레이가 제2 동기 신호 수신 시점으로부터 지정된 대기 시간 동안 제1 이미지 프레임 수신을 대기하도록 제어하고, 상기 지정된 대기 시간 내에 상기 제1 이미지 프레임이 수신되면 수신된 제1 이미지 프레임을 디스플레이하도록 제어하는 동작, 및 상기 제2 동기 신호에 기반하여 상기 그래픽 버퍼 영역에 제2 이미지 프레임이 업데이트되지 않음에 따라 상기 디스플레이가 제3 동기 신호 수신 시점에서 대기 시간 없이 상기 제1 이미지 프레임을 계속 디스플레이하도록 제어하는 동작을 포함할 수 있다.According to one embodiment, in a non-volatile storage medium storing instructions, the instructions are set to cause the electronic device to perform at least one operation when executed by the electronic device, the at least one operation being: As the first image frame is updated in the graphics buffer area of the memory of the electronic device based on the first synchronization signal, the display is controlled to wait for reception of the first image frame for a specified waiting time from the time of receiving the second synchronization signal, Controlling to display the received first image frame when the first image frame is received within the designated waiting time, and when the second image frame is not updated in the graphic buffer area based on the second synchronization signal The method may include controlling the display to continuously display the first image frame without waiting time when a third synchronization signal is received.
그리고 본 명세서와 도면에 발명된 본 개시의 실시예들은 본 개시의 실시예에 따른 기술 내용을 쉽게 설명하고 본 개시의 실시예의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 개시의 실시예의 범위를 한정하고자 하는 것은 아니다. 따라서 본 발명의 다양한 실시예의 범위는 여기에 발명된 실시예들 이외에도 본 개시의 다양한 실시예의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태가 본 개시의 다양한 실시예의 범위에 포함되는 것으로 해석되어야 한다.In addition, the embodiments of the present disclosure invented in the specification and drawings are merely presented as specific examples to easily explain the technical content according to the embodiments of the present disclosure and to aid understanding of the embodiments of the present disclosure, and the scope of the embodiments of the present disclosure It is not intended to limit it. Therefore, the scope of the various embodiments of the present disclosure should be interpreted as including all changes or modified forms derived based on the technical idea of the various embodiments of the present disclosure in addition to the embodiments invented herein. do.

Claims (15)

  1. 전자 장치(도 3의 301)에 있어서,In the electronic device (301 in FIG. 3),
    디스플레이(도 3의 360);Display (360 in Figure 3);
    인스트럭션들을 저장하는 메모리(도 3의 330); 및a memory for storing instructions (330 in FIG. 3); and
    상기 디스플레이 및 상기 메모리와 작동적으로 연결된 프로세서(도 3의 320)를 포함하고,Comprising a processor (320 in FIG. 3) operatively connected to the display and the memory,
    상기 인스트럭션들은, 상기 프로세서에 의해 실행 될 때, 상기 전자 장치로 하여금, The instructions, when executed by the processor, cause the electronic device to:
    제1 동기 신호에 기반하여 상기 메모리의 그래픽 버퍼 영역에 제1 이미지 프레임이 업데이트 됨에 따라 상기 디스플레이가 제2 동기 신호 수신 시점으로부터 지정된 대기 시간 동안 제1 이미지 프레임 수신을 대기하도록 제어하고, 상기 지정된 대기 시간 내에 상기 제1 이미지 프레임이 수신되면 수신된 제1 이미지 프레임을 디스플레이하도록 제어하고,As the first image frame is updated in the graphics buffer area of the memory based on the first synchronization signal, the display is controlled to wait for reception of the first image frame for a specified waiting time from the point of receiving the second synchronization signal, and the specified wait time If the first image frame is received within time, control to display the received first image frame,
    상기 제2 동기 신호에 기반하여 상기 그래픽 버퍼 영역에 제2 이미지 프레임이 업데이트되지 않음에 따라 상기 디스플레이가 제3 동기 신호 수신 시점에서 대기 시간 없이 상기 제1 이미지 프레임을 계속 디스플레이하도록 제어하도록 설정된 전자 장치.An electronic device configured to control the display to continue displaying the first image frame without waiting time at the point of receiving the third synchronization signal as the second image frame is not updated in the graphic buffer area based on the second synchronization signal. .
  2. 제1항에 있어서, According to paragraph 1,
    상기 인스트럭션들은, 상기 프로세서에 의해 실행 될 때, 상기 전자 장치로 하여금, 상기 제3 동기 신호에 기반하여 상기 그래픽 버퍼 영역에 제3 이미지 프레임이 업데이트 됨에 따라 상기 디스플레이가 제4 동기 신호 수신 시점으로부터 지정된 대기 시간 동안 제3 이미지 프레임 수신을 대기하도록 제어하고, 상기 지정된 대기 시간 내에 상기 제3 이미지 프레임이 수신되면 수신된 제3 이미지 프레임을 디스플레이하도록 제어하도록 설정된 전자 장치.When executed by the processor, the instructions cause the electronic device to update the third image frame in the graphic buffer area based on the third synchronization signal, thereby causing the display to change to a specified point from the point of receiving the fourth synchronization signal. An electronic device configured to control the electronic device to wait for reception of a third image frame during the waiting time, and to display the received third image frame when the third image frame is received within the designated waiting time.
  3. 제1항 또는 제2항에 있어서, According to claim 1 or 2,
    상기 프로세서는 CPU(central processing unit), GPU(graphic processing unit), 및 DPU(data processing unit) 중 적어도 하나를 포함하는 전자 장치.The processor is an electronic device including at least one of a central processing unit (CPU), a graphic processing unit (GPU), and a data processing unit (DPU).
  4. 제1항 내지 제3항 중 어느 한 항에 있어서,According to any one of claims 1 to 3,
    상기 인스트럭션들은, 상기 프로세서에 의해 실행 될 때, 상기 전자 장치로 하여금,The instructions, when executed by the processor, cause the electronic device to:
    영상 정보를 렌더링하고 렌더링된 이미지 프레임을 동기 신호에 기반한 지정된 시간 구간 동안 상기 그래픽 버퍼 영역에 저장하도록 설정된 전자 장치.An electronic device configured to render image information and store rendered image frames in the graphics buffer area for a specified time interval based on a synchronization signal.
  5. 제1항 내지 제4항 중 어느 한 항에 있어서,According to any one of claims 1 to 4,
    상기 인스트럭션들은, 상기 프로세서에 의해 실행 될 때, 상기 전자 장치로 하여금, 상기 그래픽 버퍼 영역에 상기 렌더링된 이미지 프레임이 업데이트 됨에 따라 상기 디스플레이의 adaptive sync 기능을 활성화도록 설정된 전자 장치.The instructions, when executed by the processor, cause the electronic device to activate an adaptive sync function of the display as the rendered image frame in the graphic buffer area is updated.
  6. 제1항 내지 제5항 중 어느 한 항에 있어서,According to any one of claims 1 to 5,
    상기 인스트럭션들은, 상기 프로세서에 의해 실행 될 때, 상기 전자 장치로 하여금, 상기 그래픽 버퍼 영역에 상기 렌더링된 이미지 프레임이 업데이트 되지 않음에 따라 상기 디스플레이의 adaptive sync 기능을 비활성화도록 설정된 전자 장치.The instructions, when executed by the processor, cause the electronic device to disable the adaptive sync function of the display as the rendered image frame is not updated in the graphic buffer area.
  7. 제1항 내지 제6항 중 어느 한 항에 있어서,According to any one of claims 1 to 6,
    상기 이미지 프레임의 프레임 레이트는 60hz이고, 상기 동기 신호에 기반한 지정된 시간 구간은 16.6ms인 전자 장치.The electronic device wherein the frame rate of the image frame is 60hz, and the designated time interval based on the synchronization signal is 16.6ms.
  8. 제1항 내지 제7항 중 어느 한 항에 있어서,According to any one of claims 1 to 7,
    상기 대기 시간은 3.4ms인 전자 장치.An electronic device wherein the latency is 3.4 ms.
  9. 전자 장치에서 이미지 프레임 동기화 제어 방법에 있어서Method for controlling image frame synchronization in electronic device
    제1 동기 신호에 기반하여 상기 전자 장치의 메모리의 그래픽 버퍼 영역에 제1 이미지 프레임이 업데이트 됨에 따라 상기 디스플레이가 제2 동기 신호 수신 시점으로부터 지정된 대기 시간 동안 제1 이미지 프레임 수신을 대기하도록 제어하고, 상기 지정된 대기 시간 내에 상기 제1 이미지 프레임이 수신되면 수신된 제1 이미지 프레임을 디스플레이하도록 제어하는 동작; 및As the first image frame is updated in the graphics buffer area of the memory of the electronic device based on the first synchronization signal, the display is controlled to wait for reception of the first image frame for a specified waiting time from the time of receiving the second synchronization signal, Controlling to display the received first image frame when the first image frame is received within the designated waiting time; and
    상기 제2 동기 신호에 기반하여 상기 그래픽 버퍼 영역에 제2 이미지 프레임이 업데이트되지 않음에 따라 상기 디스플레이가 제3 동기 신호 수신 시점에서 대기 시간 없이 상기 제1 이미지 프레임을 계속 디스플레이하도록 제어하는 동작을 포함하는 방법.An operation of controlling the display to continue displaying the first image frame without waiting time at the point of receiving the third synchronization signal as the second image frame is not updated in the graphic buffer area based on the second synchronization signal. How to.
  10. 제9항에 있어서, According to clause 9,
    상기 제3 동기 신호에 기반하여 상기 그래픽 버퍼 영역에 제3 이미지 프레임이 업데이트 됨에 따라 상기 디스플레이가 제4 동기 신호 수신 시점으로부터 지정된 대기 시간 동안 제3 이미지 프레임 수신을 대기하도록 제어하고, 상기 지정된 대기 시간 내에 상기 제3 이미지 프레임이 수신되면 수신된 제3 이미지 프레임을 디스플레이하도록 제어하는 동작을 더 포함하는 방법.As the third image frame is updated in the graphic buffer area based on the third synchronization signal, the display is controlled to wait for reception of the third image frame for a designated waiting time from the point of receiving the fourth synchronization signal, and the designated waiting time The method further includes controlling to display the received third image frame when the third image frame is received.
  11. 제9항 또는 제10항에 있어서, According to claim 9 or 10,
    영상 정보를 렌더링하고 렌더링된 이미지 프레임을 동기 신호에 기반한 지정된 시간 구간 동안 상기 그래픽 버퍼 영역에 저장하는 동작을 더 포함하는 방법.The method further includes rendering image information and storing the rendered image frame in the graphics buffer area for a specified time period based on a synchronization signal.
  12. 제9항 내지 제11항 중 어느 한 항에 있어서,According to any one of claims 9 to 11,
    상기 그래픽 버퍼 영역에 상기 렌더링된 이미지 프레임이 업데이트 됨에 따라 상기 디스플레이의 adaptive sync 기능을 활성화하는 동작을 더 포함하는 방법.The method further includes activating an adaptive sync function of the display as the rendered image frame is updated in the graphic buffer area.
  13. 제9항 내지 제12항 중 어느 한 항에 있어서,According to any one of claims 9 to 12,
    상기 그래픽 버퍼 영역에 상기 렌더링된 이미지 프레임이 업데이트 되지 않음에 따라 상기 디스플레이의 adaptive sync 기능을 비활성화하는 동작을 더 포함하는 방법.The method further includes disabling the adaptive sync function of the display when the rendered image frame is not updated in the graphic buffer area.
  14. 제9항 내지 제13항 중 어느 한 항에 있어서,According to any one of claims 9 to 13,
    상기 이미지 프레임의 프레임 레이트는 60hz이고, 상기 동기 신호에 기반한 지정된 시간 구간은 16.6ms이고,The frame rate of the image frame is 60hz, and the designated time interval based on the synchronization signal is 16.6ms,
    상기 대기 시간은 3.4ms인 방법.A method wherein the waiting time is 3.4ms.
  15. 명령들을 저장하고 있는 비휘발성 저장 매체에 있어서, 상기 명령들은 전자 장치에 의하여 실행될 때에 상기 전자 장치로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은,A non-volatile storage medium storing instructions, wherein the instructions are set to cause the electronic device to perform at least one operation when executed by the electronic device, the at least one operation being:
    제1 동기 신호에 기반하여 상기 전자 장치의 메모리의 그래픽 버퍼 영역에 제1 이미지 프레임이 업데이트 됨에 따라 상기 디스플레이가 제2 동기 신호 수신 시점으로부터 지정된 대기 시간 동안 제1 이미지 프레임 수신을 대기하도록 제어하고, 상기 지정된 대기 시간 내에 상기 제1 이미지 프레임이 수신되면 수신된 제1 이미지 프레임을 디스플레이하도록 제어하는 동작; 및As the first image frame is updated in the graphics buffer area of the memory of the electronic device based on the first synchronization signal, the display is controlled to wait for reception of the first image frame for a specified waiting time from the time of receiving the second synchronization signal, Controlling to display the received first image frame when the first image frame is received within the designated waiting time; and
    상기 제2 동기 신호에 기반하여 상기 그래픽 버퍼 영역에 제2 이미지 프레임이 업데이트되지 않음에 따라 상기 디스플레이가 제3 동기 신호 수신 시점에서 대기 시간 없이 상기 제1 이미지 프레임을 계속 디스플레이하도록 제어하는 동작을 포함하는 저장 매체.An operation of controlling the display to continue displaying the first image frame without waiting time at the point of receiving the third synchronization signal as the second image frame is not updated in the graphic buffer area based on the second synchronization signal. storage media.
PCT/KR2023/017846 2022-11-08 2023-11-08 Electronic device, and method of controlling image frame synchronization in electronic device WO2024101879A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR20220148045 2022-11-08
KR10-2022-0148045 2022-11-08
KR1020220176789A KR20240066937A (en) 2022-11-08 2022-12-16 Electronic device and method for controlling of synchronizing of image frame in the electronic device
KR10-2022-0176789 2022-12-16

Publications (1)

Publication Number Publication Date
WO2024101879A1 true WO2024101879A1 (en) 2024-05-16

Family

ID=91033199

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2023/017846 WO2024101879A1 (en) 2022-11-08 2023-11-08 Electronic device, and method of controlling image frame synchronization in electronic device

Country Status (1)

Country Link
WO (1) WO2024101879A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170028479A (en) * 2015-09-03 2017-03-14 삼성디스플레이 주식회사 Display apparatus and method of driving the same
KR20170080793A (en) * 2015-12-30 2017-07-11 삼성디스플레이 주식회사 Display apparatus and method of driving the same
KR20220017296A (en) * 2020-08-04 2022-02-11 삼성전자주식회사 Electronic device comprising display and method of operation thereof
KR102363843B1 (en) * 2017-05-31 2022-02-17 엘지디스플레이 주식회사 Display Device Having A Multi-Display Module And Driving Method Of The Same
KR20220143667A (en) * 2020-02-21 2022-10-25 퀄컴 인코포레이티드 Reduced display processing unit delivery time to compensate for delayed graphics processing unit render times

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170028479A (en) * 2015-09-03 2017-03-14 삼성디스플레이 주식회사 Display apparatus and method of driving the same
KR20170080793A (en) * 2015-12-30 2017-07-11 삼성디스플레이 주식회사 Display apparatus and method of driving the same
KR102363843B1 (en) * 2017-05-31 2022-02-17 엘지디스플레이 주식회사 Display Device Having A Multi-Display Module And Driving Method Of The Same
KR20220143667A (en) * 2020-02-21 2022-10-25 퀄컴 인코포레이티드 Reduced display processing unit delivery time to compensate for delayed graphics processing unit render times
KR20220017296A (en) * 2020-08-04 2022-02-11 삼성전자주식회사 Electronic device comprising display and method of operation thereof

Similar Documents

Publication Publication Date Title
WO2021145727A1 (en) Electronic device and screen refresh method thereof
WO2022010116A1 (en) Method and apparatus for controlling refresh rate of display screen
WO2022030757A1 (en) Electronic device and method for quickly updating partial region of screen
WO2022108192A1 (en) Electronic device and multi-window control method of electronic device
WO2022119276A1 (en) Flexible display electronic device and operation method thereof
WO2022030996A1 (en) Electronic device comprising display, and operation method thereof
WO2022169092A1 (en) Electronic device and method for controlling same
WO2022030998A1 (en) Electronic device comprising display and operation method thereof
WO2024101879A1 (en) Electronic device, and method of controlling image frame synchronization in electronic device
WO2023214675A1 (en) Electronic device and method for processing touch input
WO2024072057A1 (en) Electronic device and method for scheduling display of image on basis of signal from touch circuit
WO2024072053A1 (en) Electronic device and method for controlling memory in display
WO2023287057A1 (en) Electronic device for quickly updating screen when input is received from peripheral device
WO2024072099A1 (en) Electronic device comprising display providing signal to processor
WO2024029686A1 (en) Electronic apparatus and method for changing refresh rate
WO2024072058A1 (en) Electronic device for adaptive scanning of image
WO2024096317A1 (en) Electronic device for providing power to display
WO2024072177A1 (en) Electronic device and method in which command to display is controlled
WO2024071932A1 (en) Electronic device and method for transmission to display driving circuit
WO2022103225A1 (en) Electronic device and image rendering method of electronic device
WO2024112005A1 (en) Electronic device comprising display and operation method therefor
WO2024076031A1 (en) Electronic device comprising display drive circuit controlling clock rate
WO2023210991A1 (en) Method for driving display scaler in video mode and electronic device using same method
WO2024072056A1 (en) Electronic device for controlling pulse signal from processor to display
WO2024072176A1 (en) Electronic device changing image transmission based on refresh rate