Electronic device and method for processing touch input
By dynamically adjusting the refresh rate of the touch screen in an electronic device and identifying the touch input function, the problem of untimely response to refresh rate adjustment in the prior art is solved, and the balance of screen quality and power consumption is achieved, and user experience and efficiency are improved.
Patent Information
- Application Number
- CN202380037595.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-06-03
- Filing Date
- 2023-03-14
- Publication Date
- 2024-12-10
AI Technical Summary
When existing electronic devices process touch input, the adjustment of refresh rate cannot be effectively responded, resulting in poor balance between screen quality and power consumption and being unable to quickly adapt to user input.
Through the processor configuration, based on the recognition of touch input, the refresh rate of the touch screen is dynamically adjusted, from the initial refresh rate to the second refresh rate higher than the initial refresh rate, and the refresh rate is controlled and maintained according to the identified functions to ensure that A balance between screen quality and power consumption.
It realizes rapid response to touch input, improves screen quality, and optimizes power consumption and improves the user experience and efficiency of electronic devices.
Smart Images

Figure CN119110934A_ABST
Abstract
Description
Technical Field
[0001] The following description relates to an electronic device and method for processing touch input. Background Art
[0002] Electronic devices such as smartphones, tablet personal computers (PCs), smart watches, etc. can display images (or screens) through a touch screen based on a refresh rate. For example, a refresh rate may refer to the number of times an image is refreshed on a touch screen per second. Summary of the invention
[0003] Technical Solutions
[0004] An electronic device is described. The electronic device may include a touch screen and a processor. The processor may be configured to display a screen based on a first refresh rate through the touch screen. The processor may be configured to receive a signal from the touch screen indicating that a touch input is received when the screen is displayed based on the first refresh rate. The processor may be configured to control the touch screen to change the refresh rate of the touch screen from the first refresh rate to a second refresh rate higher than the first refresh rate in response to the signal before identifying a function to be executed based on the touch input. The processor may be configured to identify a function based on recognition of the touch input when the screen is displayed based on the second refresh rate. The processor may be configured to control the touch screen to change the refresh rate of the touch screen as a second refresh rate based on identifying a function corresponding to a predefined function. The processor may be configured to control the touch screen to maintain the refresh rate of the touch screen as a second refresh rate based on identifying a function different from the predefined function.
[0005] A method for operating an electronic device including a touch screen is described. The method may include displaying a screen based on a first refresh rate through the touch screen. The method may include: receiving a signal from the touch screen indicating that a touch input is received when the screen is displayed based on the first refresh rate. The method may include: before identifying a function to be executed based on the touch input, in response to the signal, controlling the touch screen to change the refresh rate of the touch screen from the first refresh rate to a second refresh rate that is higher than the first refresh rate. The method may include: when the screen is displayed based on the second refresh rate, identifying a function based on the recognition of the touch input. The method may include: based on identifying a function corresponding to a predefined function, controlling the touch screen to change the refresh rate of the touch screen as a second refresh rate. The method may include: based on identifying a function different from the predefined function, controlling the touch screen to maintain the refresh rate of the touch screen as the second refresh rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Figure 1 is a block diagram of an electronic device in a network environment according to various embodiments.
[0007] Figure 2is a block diagram of a display module according to various embodiments.
[0008] Figure 3 Exemplary components of an electronic device are shown.
[0009] Figure 4 Exemplary refresh rates for a touch screen of an electronic device are shown.
[0010] Figure 5 An exemplary touch input received while the screen is displayed based on the first refresh rate is shown.
[0011] Figure 6 An exemplary method of using a device driver to change the refresh rate before a touch input is recognized is shown.
[0012] Figure 7 An exemplary method of changing the refresh rate using the hardware abstraction layer (HAL) is shown.
[0013] Figure 8 is a flow chart illustrating a method of changing the refresh rate before a touch input is recognized.
[0014] Fig. 9 is a flow chart illustrating a method of changing a refresh rate before a touch input is recognized based on data indicative of illumination.
[0015] Fig.10 is a flow chart illustrating a method of changing a refresh rate before a touch input is recognized based on data indicative of a load on a processor. DETAILED DESCRIPTION
[0016] Figure 1 is a block diagram illustrating an electronic device 101 in a network environment 100 according to various embodiments.
[0017] refer to Figure 1, the electronic device 101 in the network environment 100 may communicate with the electronic device 102 via the first network 198 (e.g., a short-range wireless communication network), or communicate with at least one of the electronic device 104 or the server 108 via the second network 199 (e.g., a long-range wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 via the server 108. According to an embodiment, the electronic device 101 may include a processor 120, a memory 130, an input module 150, a sound output module 155, a display module 160, an audio module 170, a sensor module 176, an interface 177, a connection terminal 178, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module 190, a subscriber identification module (SIM) 196, or an antenna module 197. In some embodiments, at least one of the components (e.g., the connection terminal 178) may be omitted from the electronic device 101, or one or more other components may be added in the electronic device 101. In some embodiments, some of the components (eg, the sensor module 176 , the camera module 180 , or the antenna module 197 ) may be implemented as a single component (eg, the display module 160 ).
[0018] The processor 120 may execute, for example, software (e.g., program 140) to control at least one other component (e.g., hardware or software component) of the electronic device 101 coupled to the processor 120, and may perform various data processing or calculations. According to an embodiment, as at least a part of the data processing or calculation, the processor 120 may store a command or data received from another component (e.g., sensor module 176 or communication module 190) in the volatile memory 132, process the command or data stored in the volatile memory 132, and store the resulting data in the non-volatile memory 134. According to an embodiment, the processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)) or an auxiliary processor 123 (e.g., a graphics processing unit (GPU), a neural processing unit (NPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that may operate independently of the main processor 121 or in conjunction with the main processor 121. For example, when the electronic device 101 includes a main processor 121 and an auxiliary processor 123, the auxiliary processor 123 may be adapted to consume less power than the main processor 121 or be dedicated to a designated function. The auxiliary processor 123 may be implemented separately from the main processor 121 or as a part of the main processor 121.
[0019] The auxiliary processor 123 may replace the main processor 121 when the main processor 121 is in an inactive (e.g., sleep) state, or control at least some of the functions or states related to at least one of the components of the electronic device 101 (e.g., display module 160, sensor module 176, or communication module 190) together with the main processor 121 when the main processor 121 is in an active state (e.g., executing an application). According to an embodiment, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as a part of another component (e.g., camera module 180 or communication module 190) that is functionally related to the auxiliary processor 123. According to an embodiment, the auxiliary processor 123 (e.g., a neural processing unit) may include a hardware structure specified for artificial intelligence model processing. The artificial intelligence model may be generated by machine learning. Such learning may be performed, for example, by the electronic device 101 that performs artificial intelligence or via a separate server (e.g., server 108). The learning algorithm may include, but is not limited to, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning. The artificial intelligence model may include a plurality of artificial neural network layers. The artificial neural network may be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q network or a combination of two or more thereof, but is not limited thereto. Additionally or alternatively, the artificial intelligence model may include a software structure in addition to a hardware structure.
[0020] The memory 130 may store various data used by at least one component of the electronic device 101 (e.g., the processor 120 or the sensor module 176). The various data may include, for example, software (e.g., the program 140) and input data or output data for commands related thereto. The memory 130 may include a volatile memory 132 or a nonvolatile memory 134.
[0021] The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system (OS) 142 , middleware 144 , or applications 146 .
[0022] The input module 150 may receive a command or data to be used by another component (e.g., the processor 120) of the electronic device 101 from outside (e.g., a user) of the electronic device 101. The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus).
[0023] The sound output module 155 can 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. The speaker may be used for general purposes, such as playing multimedia or playing recordings. The receiver may be used to receive incoming calls. Depending on the embodiment, the receiver may be implemented as a part of the speaker or as a part of the speaker.
[0024] The display module 160 may visually provide information to the outside of the electronic device 101 (e.g., a user). The display module 160 may include, for example, a display, a hologram device, or a projector, and a control circuit for controlling a corresponding one of the display, the hologram device, and the projector. According to an embodiment, the display module 160 may include a touch sensor adapted to detect a touch or a pressure sensor adapted to measure the strength of a force caused by a touch.
[0025] The audio module 170 may convert sound into an electrical signal and vice versa. According to an embodiment, the audio module 170 may obtain sound via the input module 150 or output sound via the sound output module 155 or an earphone of an external electronic device (e.g., electronic device 102) directly (e.g., wired) or wirelessly coupled to the electronic device 101.
[0026] The sensor module 176 may detect an operating state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a user's state) outside the electronic device 101, and then generate an electrical signal or data value corresponding to the detected state. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illumination sensor.
[0027] The interface 177 may support one or more designated protocols for the electronic device 101 to be directly (e.g., wired) or wirelessly coupled with an external electronic device (e.g., the electronic device 102). According to an embodiment, the interface 177 may include, for example, a high-definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.
[0028] The connection terminal 178 may include a connector via which the electronic device 101 may be physically connected to an external electronic device (eg, the electronic device 102). According to an 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).
[0029] The haptic module 179 may convert the electric signal into mechanical stimulation (eg, vibration or movement) or electric stimulation that can be recognized by the user via his tactile or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electric stimulator.
[0030] The camera module 180 may capture still images or moving images. According to an embodiment, the camera module 180 may include one or more lenses, an image sensor, an image signal processor, or a flash.
[0031] The power management module 188 may manage power supplied to the electronic device 101. According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
[0032] The battery 189 may supply power to at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0033] The communication module 190 may support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108), and perform communication via the established communication channel. The communication module 190 may include one or more communication processors that may operate independently of the processor 120 (e.g., an application processor (AP)) and support direct (e.g., wired) communication or wireless communication. According to an embodiment, the communication module 190 may include 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., a local area network (LAN) communication module or a power line communication (PLC) module). A corresponding one of these communication modules may communicate via a first network 198 (e.g., a short-range communication network such as Bluetooth TM The wireless communication module 192 may communicate with an external electronic device via a wireless communication network 198 (e.g., a wireless Fidelity (Wi-Fi) Direct connection, or an Infrared Data Association (IrDA)) or a second network 199 (e.g., a long-range communication network such as a traditional cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN))). These various types of communication modules may be implemented as a single component (e.g., a single chip), or may be implemented as multiple components separated from each other (e.g., multiple chips). The wireless communication module 192 may use subscriber information (e.g., an International Mobile Subscriber Identity (IMSI)) stored in the subscriber identification module 196 to identify and authenticate the electronic device 101 in a communication network (such as the first network 198 or the second network 199).
[0034] The wireless communication module 192 can support 5G networks and next-generation communication technologies (e.g., new radio (NR) access technologies) after 4G networks. NR access technologies can support enhanced mobile broadband (eMBB), massive machine type communications (mMTC), or ultra-reliable and low-latency communications (URLLC). The wireless communication module 192 can support high-frequency bands (e.g., mmWave bands) to achieve, for example, high data transmission rates. The wireless communication module 192 can support various technologies for ensuring performance on high-frequency bands, such as, for example, beamforming, massive multiple-input multiple-output (massive MIMO), full-dimensional MIMO (FD-MIMO), array antennas, analog beamforming, or massive antennas. The wireless communication module 192 can support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., a second network 199). According to an embodiment, the wireless communication module 192 can support a peak data rate for implementing eMBB (e.g., 20 Gbps or greater), loss coverage for implementing mMTC (e.g., 164 dB or less), or U-plane delay for implementing URLLC (e.g., 0.5 ms or less for each of the downlink (DL) and uplink (UL), or 1 ms or less for a round trip).
[0035] The antenna module 197 may transmit or receive a signal or power to or from the outside of the electronic device 101 (e.g., an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a radiation element formed of a conductive material or a conductive pattern formed in or on a substrate (e.g., a printed circuit board (PCB)). According to an embodiment, the antenna module 197 may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication scheme used in a communication network such as the first network 198 or the second network 199 may be selected from the plurality of antennas, for example, by the communication module 190 (e.g., the wireless communication module 192). Then, a signal or power may be transmitted or received between the communication module 190 and the external electronic device via the selected at least one antenna. According to an embodiment, another component other than the radiation element (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module 197.
[0036] According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to an embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent to a first surface (e.g., bottom surface) of the printed circuit board and capable of supporting a specified high frequency band (e.g., mmWave frequency band), and a plurality of antennas (e.g., array antennas) disposed on or adjacent to a second surface (e.g., top surface or side surface) of the printed circuit board and capable of transmitting or receiving signals of the specified high frequency band.
[0037] At least some of the above components may be coupled to each other and transmit signals (eg, commands or data) therebetween via an inter-peripheral communication scheme (eg, a bus, general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)).
[0038] According to an embodiment, a command or data may be sent or received between the electronic device 101 and the external electronic device 104 via a server 108 coupled to the second network 199. Each of the electronic devices 102 or 104 may be a device of the same type or a different type as the electronic device 101. According to an embodiment, all or some of the operations to be performed at the electronic device 101 may be performed at one or more of the external electronic devices 102, 104, or 108. For example, if the electronic device 101 should perform a function or service automatically or in response to a request from a user or another device, the electronic device 101 may request one or more external electronic devices to perform at least a portion of the function or service instead of, or in addition to, performing the function or service. The one or more external electronic devices receiving the request may perform at least a portion of the requested function or service, or an additional function or additional service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may provide the result as at least a part of a reply to the request with or without further processing the result. To this end, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology can be used. The electronic device 101 can use, for example, distributed computing or mobile edge computing to provide ultra-low latency services. In another embodiment, the external electronic device 104 may include an Internet of Things (IoT) device. The server 108 may be an intelligent server using machine learning and / or neural networks. According to an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199. The electronic device 101 can be applied to intelligent services (e.g., smart homes, smart cities, smart cars, or healthcare) based on 5G communication technology or IoT-related technologies.
[0039] Figure 2is a block diagram 200 illustrating a display module 160 according to various embodiments.
[0040] refer to Figure 2 , the display module 160 may include a display 210 and a display driver integrated circuit (DDI) 230 for controlling the display 210. The DDI 230 may include an interface module 231, a memory 233 (e.g., a buffer memory), an image processing module 235, or a mapping module 237. The DDI 230 may receive image information containing image data or an image control signal corresponding to a command to control image data from another component of the electronic device 101 via the interface module 231. For example, according to an embodiment, the image information may be received from a processor 120 (e.g., a main processor 121 (e.g., an application processor)) or an auxiliary processor 123 (e.g., a graphics processing unit) that operates independently of the function of the main processor 121. The DDI 230 may communicate with the touch circuit 150 or the sensor module 176, for example, via the interface module 231. The DDI 230 may also store at least a portion of the received image information in the memory 233, for example, frame by frame. The image processing module 235 may perform pre-processing or post-processing (e.g., adjustment of resolution, brightness, or size) with respect to at least a portion of the image data. According to an embodiment, pre-processing or post-processing may be performed, for example, based at least in part on one or more characteristics of the image data or one or more characteristics of the display 210. The mapping module 237 may generate a voltage value or a current value corresponding to the image data pre-processed or post-processed by the image processing module 235. According to an embodiment, the generation of the voltage value or the current value may be performed, for example, based at least in part on one or more properties of the pixel (e.g., an array of pixels, such as RGB stripes or a pentile structure, or the size of each sub-pixel). For example, at least some pixels of the display 210 may be driven, at least in part, based on the voltage value or the current value, so that visual information (e.g., text, an image, or an icon) corresponding to the image data may be displayed via the display 210.
[0041] According to an embodiment, the display module 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 253 may control the touch sensor 251 to sense a touch input or a hovering input relative to a specific position on the display 210. To achieve this, for example, the touch sensor 251 may detect (e.g., measure) a change in a signal (e.g., voltage, light amount, resistance, or amount of one or more charges) corresponding to a specific position on the display 210. The touch circuit 250 may provide input information (e.g., position, area, pressure, or time) indicating a touch input or a hovering input detected via the touch sensor 251 to the processor 120. According to an embodiment, at least a portion of the touch circuit 250 (e.g., the touch sensor IC 253) may be formed as a part of the display 210 or the DDI 230, or as a part of another component (e.g., the auxiliary processor 123) provided outside the display module 160.
[0042] According to an embodiment, the display module 160 may further include at least one sensor (e.g., a fingerprint sensor, an iris sensor, a pressure sensor, or an illumination sensor) of the sensor module 176 or a control circuit for at least one sensor. In this case, the at least one sensor or the control circuit for at least one sensor may be embedded in a portion of a component (e.g., the display 210, the DDI 230, or the touch circuit 150) of the display module 160. For example, when the sensor module 176 embedded in the display module 160 includes a biometric sensor (e.g., a fingerprint sensor), the biometric sensor may obtain biometric information (e.g., a fingerprint image) corresponding to a touch input received via a portion of the display 210. As another example, when the sensor module 176 embedded in the display module 160 includes a pressure sensor, the pressure sensor may obtain pressure information corresponding to a touch input received via a portion or the entire area of the display 210. According to an embodiment, the touch sensor 251 or the sensor module 176 may be disposed between pixels in a pixel layer of the display 210, or above or below the pixel layer.
[0043] The touch screen of the electronic device may support a variable refresh rate. For example, under the condition that the state of the electronic device changes from a state of reducing the power consumption of the touch screen to a state of improving the quality of the screen displayed by the touch screen, the electronic device may change the refresh rate of the touch screen from a first refresh rate to a second refresh rate higher than the first refresh rate. For example, a method of reducing the time consumed to change the first refresh rate to the second refresh rate may be required.
[0044] Figure 3 Exemplary components of an electronic device are shown.
[0045] refer to Figure 3 , the electronic device 101 may include a processor 120 and a touch screen 160. For example, the processor 120 may include Figure 1 The processor 120 is shown. For example, the touch screen 160 may include Figure 1 The display module 160 shown, Figure 2 The display module 160 or Figure 2 The display 210 is shown. For example, the touch screen 160 may be operably (or operationally) coupled to the processor 120. For example, the touch screen 160 being operably coupled to the processor 120 may mean that the touch screen 160 is directly connected to the processor 120 so that the processor 120 controls the operation of the touch screen 160, or the touch screen 160 is connected to the processor 120 through another component of the electronic device 101 so as to control the operation of the touch screen 160.
[0046] In an embodiment, the processor 120 may display a screen through the touch screen 160 based on a refresh rate among the multiple refresh rates. For example, the processor 120 may display a screen through the touch screen 160 based on a first refresh rate among the multiple refresh rates, and display a screen through the touch screen 160 based on a second refresh rate among the multiple refresh rates that is higher than the first refresh rate. Figure 4 The description illustrates a first refresh rate and a second refresh rate.
[0047] Figure 4 An exemplary refresh rate of a touch screen of an electronic device is shown. Figure 4 , the processor 120 may display the screen based on the first refresh rate. For example, as shown in FIG400, the processor 120 may display the screen based on the first refresh rate by sequentially displaying the first image 410-1 to the Nth image 410-N (herein, N is a natural number greater than 1) through the touch screen 160 within a time period 405. For example, the processor 120 may display the screen based on the first refresh rate by sequentially displaying the first image 420-1 to the Nth image 420-N through the touch screen 160 within a time period 415 after the time period 405. For example, when the first refresh rate is 60 Hertz (Hz), N may be 60. However, it is not limited thereto.
[0048] For example, the processor 120 may display a screen based on a second refresh rate. For example, as shown in FIG. 425, the processor 120 may display a screen based on a second refresh rate by sequentially displaying a first image 430-1 to an M-th image 430-M (herein, M is a natural number greater than N) through the touch screen 160 within a time period 435. For example, the processor 120 may display a screen based on a second refresh rate by sequentially displaying a first image 440-1 to an N-th image 440-M through the touch screen 160 within a time period 445 after the time period 435. For example, when the second refresh rate is 120 Hz, M may be 120. However, it is not limited thereto.
[0049] Return to reference Figure 3 , the power consumed by displaying the screen based on the first refresh rate may be less than the power consumed by displaying the screen based on the second refresh rate, and the quality of the screen displayed based on the first refresh rate may be less than the quality of the screen displayed based on the second refresh rate.
[0050] In an embodiment, the processor 120 may display the screen based on a first refresh rate based on a first state in which it is recognized that reducing the power consumption of the display screen takes precedence over enhancing the screen quality. For example, under the condition that the second state shown below is changed to the first state, the processor 120 may change the refresh rate of the touch screen 160 from the second refresh rate to the first refresh rate. For example, the processor 120 may change the refresh rate of the touch screen 160 from the second refresh rate to the first refresh rate based on recognizing that a static image is displayed through the touch screen 160 for more than a certain time or that no touch input is received. For example, the processor 120 may change the refresh rate of the touch screen 160 from the second refresh rate to the first refresh rate based on recognizing that frame data is not provided from the processor 120 to the touch screen 160 during the reference time. For example, the processor 120 may change the refresh rate of the touch screen 160 from the second refresh rate to the first refresh rate based on recognizing that no touch input is received during the reference time. However, it is not limited thereto.
[0051] In an embodiment, the processor 120 may display the screen based on the second refresh rate based on identifying a second state in which enhancing screen quality takes precedence over reducing power consumption of the display screen. For example, under the condition that the first state is changed to the second state, the processor 120 may change the refresh rate of the touch screen 160 from the first refresh rate to the second refresh rate. For example, the processor 120 may change the refresh rate of the touch screen 160 from the first refresh rate to the second refresh rate based on identifying an event in which a dynamic image is displayed in the first state or a touch input is received in the first state. However, it is not limited thereto.
[0052] In an embodiment, the processor 120 may receive a signal indicating that a touch input is received from the touch screen 160 while displaying a screen through the touch screen 160 based on the first refresh rate.
[0053] For example, the touch input may include a user input having a contact point on the screen displayed by the touch screen 160 based on the first refresh rate. For example, the touch input may be caused by an input device (e.g., a user's finger or a stylus) spaced a certain distance from the screen displayed by the touch screen 160 based on the first refresh rate, and may be recognized by the touch screen 160. For example, the touch input may include a direct touch input caused by an input device in contact with the touch screen 160 and / or a hovering input caused by an input device spaced apart from the touch screen 160. However, it is not limited thereto.
[0054] For example, the signal indicating that the touch input is received may be a signal encoded by the firmware of the touch screen 160. For example, the signal indicating that the touch input is received may be generated (or obtained) by the touch screen 160 and provided from the touch screen 160 to the processor 120. For example, the signal indicating that the touch input is received may include information about the touch input. For example, the information may include data indicating the location within the touch screen 160 that caused the touch input. However, it is not limited thereto.
[0055] In an embodiment, before identifying a function to be executed based on the touch input, the processor 120 may control the touch screen 160 to change the refresh rate of the touch screen 160 from the first refresh rate to the second refresh rate in response to the signal. For example, the function may correspond to the user's intention to cause the touch input. For example, the function may be one of the functions available through the screen displayed based on the first refresh rate when the touch input is received. For example, the function may be displayed based on the touch input. Figure 5 to illustrate this functionality.
[0056] Figure 5 FIG. 4 shows an exemplary touch input received when the screen is displayed based on the first refresh rate. Figure 5 As shown in case 500, the function may include a function of newly executing a software application installed in the electronic device 101 and / or a function of changing the execution state of the software application from a background state to a foreground state. For example, when a screen 515 (e.g., wallpaper) including an executable object 510 is displayed based on a first refresh rate, the processor 120 may receive a signal from the touch screen 160 indicating that a touch input 520 for executing a software application having a contact point on the executable object 510 and indicated by the executable object 510 is received.
[0057] For example, the function may include a function provided through a user interface of a software application installed in the electronic device 101, as shown in case 530 or case 560. For example, when a screen 535 including a user interface of a software application is displayed based on a first refresh rate, the processor 120 may receive a signal from the touch screen 160 indicating that a touch input 537 is received for executing a function having a contact point on a visual object 536 within the user interface and indicated by the visual object 536 (e.g., obtaining a static image). For example, when a screen 570 including a user interface of a software application is displayed based on a first refresh rate, the processor 120 may receive a signal from the touch screen 160 indicating that a touch input 580 is received for executing a function having a contact point on a visual object 575 in the user interface within the screen 570 and indicated by the visual object 575.
[0058] Return to reference Figure 3 , the refresh rate of the touch screen 160 is changed from the first refresh rate to the second refresh rate before the function is recognized, which may refer to the processor 120 changing the refresh rate to the second refresh rate in a state where a signal is obtained from the touch screen 160 without recognizing the function based on the signal. For example, the refresh rate of the touch screen 160 is changed from the first refresh rate to the second refresh rate before the function is recognized, which may refer to the processor 120 changing the refresh rate to the second refresh rate in a state where a signal is obtained from the touch screen 160 without recognizing the user's intention to cause the touch input based on the signal. For example, by changing the refresh rate of the touch screen 160 to the second refresh rate before the function is recognized, the processor 120 may enhance the quality of the screen displayed by the touch screen 160 with a faster response than changing the refresh rate of the touch screen 160 to the second refresh rate after the function is recognized. For example, in order to display a higher quality screen with a faster response, the processor 120 may change the refresh rate of the touch screen 160 to the second refresh rate before completing the recognition of the touch input. For example, before obtaining a touch event of a touch input based on a signal indicating that a touch input is received or before the touch event is decoded, the processor 120 may change the refresh rate of the touch screen 160 to the second refresh rate. Figure 5, before identifying or recognizing that touch input 520 is associated with executable object 510, processor 120 may change the refresh rate of touch screen 160 to the second refresh rate. For example, before identifying or recognizing that touch input 520 is an input for executing the software application indicated by executable object 510, processor 120 may change the refresh rate of touch screen 160 to the second refresh rate. For example, before identifying or recognizing that touch input 520 is an input for changing the execution state of the software application indicated by executable object 510 to the foreground state, processor 120 may change the refresh rate of touch screen 160 to the second refresh rate. However, it is not limited thereto.
[0059] For example, before identifying or recognizing that touch input 537 is associated with visual object 536, processor 120 may change the refresh rate of touch screen 160 to the second refresh rate. For example, before identifying or recognizing that touch input 537 is an input obtained for executing a static image as a function indicated by visual object 536, processor 120 may change the refresh rate of touch screen 160 to the second refresh rate. However, it is not limited thereto.
[0060] For example, before identifying or recognizing that touch input 580 is associated with visual object 575, processor 120 may change the refresh rate of touch screen 160 to the second refresh rate. For example, before identifying or recognizing that touch input 580 is an input for reproducing a video including an image corresponding to a thumbnail image represented by visual object 575, processor 120 may change the refresh rate of touch screen 160 to the second refresh rate. However, it is not limited thereto.
[0061] Return to reference Figure 3 In an embodiment, the processor 120 may identify a function based on recognition of a touch input when the screen is displayed based on a second refresh rate changed from the first refresh rate. For example, the processor 120 may identify a function based on decoding a touch event identified based on a signal indicating that a touch input is received when the screen is displayed based on the second refresh rate. For example, the processor 120 may identify a function by recognizing the touch input so as to provide a response to the touch input when the screen is displayed based on the second refresh rate.
[0062] For example, the processor 120 may identify whether a function corresponds to a predefined function or a function does not correspond to a predefined function when the screen is displayed based on the second refresh rate. For example, a predefined function may be defined in the electronic device 101 to identify whether displaying the screen based on the second refresh rate corresponds to executing a function according to a touch input. For example, a predefined function may be defined in the electronic device 101 to identify a suitable function for displaying the screen based on another refresh rate different from the second refresh rate instead of the second refresh rate.
[0063] For example, since changing the refresh rate of the touch screen 160 to the second refresh rate is performed before the function corresponding to the touch input is recognized, the processor 120 may recognize whether the function corresponds to a predefined function.
[0064] For example, the function corresponding to the predefined function may mean that changing the refresh rate of the touch screen 160 as the second refresh rate is more appropriate than maintaining the refresh rate of the touch screen 160 as the second refresh rate. For example, the function corresponding to the predefined function may mean that displaying the screen displayed according to the execution of the function based on another refresh rate different from the second refresh rate is more appropriate than displaying the screen displayed according to the execution of the function based on the second refresh rate. However, it is not limited thereto.
[0065] For example, the fact that the function does not correspond to the predefined function or the function is different from the predefined function may mean that it is more appropriate to maintain the refresh rate of the touch screen 160 as the second refresh rate than to change the refresh rate of the touch screen 160 as the second refresh rate. For example, the fact that the function does not correspond to the predefined function or the function is different from the predefined function may mean that it is more appropriate to display the screen displayed according to the execution of the function based on the second refresh rate than to display the screen displayed according to the execution of the function based on another refresh rate different from the second refresh rate. However, it is not limited thereto.
[0066] For example, the function corresponding to the predefined function may be a function associated with a software application that provides a service based on a frame per second (FPS) that does not correspond to the second refresh rate. For example, the function corresponding to the predefined function may be a function associated with a software application that is pre-registered among a plurality of software applications installed in the electronic device 101 to display a screen based on a refresh rate different from the second refresh rate. For example, compared with displaying the screen based on the second refresh rate in the second state, executing the function corresponding to the predefined function may be more suitable for displaying the screen based on another refresh rate different from the second refresh rate in the second state. However, it is not limited thereto.
[0067] In an embodiment, the processor 120 may control the touch screen 160 to change the refresh rate of the touch screen 160 from the second refresh rate to another refresh rate based on the recognition of the function corresponding to the predefined function. For example, the processor 120 may change the second refresh rate to another refresh rate by sending or providing a signal (or command) for changing the period of the vertical synchronization signal of the touch screen 160 to the touch screen 160 based on the recognition of the function corresponding to the predefined function. For example, the other refresh rate may be a refresh rate corresponding to the function. For example, the other refresh rate may be the first refresh rate. The other refresh rate may be a third refresh rate different from the first refresh rate and the second refresh rate. The third refresh rate may be lower than the first refresh rate. The third refresh rate may be higher than the second refresh rate. The third refresh rate may be between the first refresh rate and the second refresh rate.
[0068] For example, refer to Figure 5 , based on recognizing that the touch input 520 is for performing a function with the camera of the electronic device 101 (eg, Figure 1 The processor 120 may control the touch screen 160 to change the refresh rate of the touch screen 160 from the second refresh rate to another refresh rate corresponding to the FPS of the camera based on the input of the software application associated with the camera module 180.
[0069] For example, based on recognizing that touch input 537 is an input for activating a camera, processor 120 may control touch screen 160 to change the refresh rate of touch screen 160 from the second refresh rate to another refresh rate corresponding to the FPS of the camera.
[0070] For example, based on recognizing that touch input 580 is an input for reproducing a video having an FPS different from the second refresh rate, processor 120 can control touch screen 160 to change the refresh rate of touch screen 160 from the second refresh rate to another refresh rate corresponding to the FPS of the video.
[0071] Return to reference Figure 3 In an embodiment, the processor 120 may control the touch screen 160 to maintain the refresh rate of the touch screen 160 at the second refresh rate based on the recognition of a function different from the predefined function. For example, since the function does not correspond to the predefined function, which means that the execution of the function corresponds to displaying the screen based on the second refresh rate, the processor 120 may maintain the refresh rate of the touch screen 160 at the second refresh rate.
[0072] In an embodiment, the processor 120 may control the touch screen 160 to change the refresh rate of the touch screen 160 from the second refresh rate to the first refresh rate based on the failure to recognize the function corresponding to the touch input. For example, the processor 120 may restore the refresh rate of the touch screen 160 to the first refresh rate based on recognizing that the touch input is an unintentional erroneous input by the user through the recognition of the touch input. However, it is not limited thereto.
[0073] In an embodiment, the processor 120 may avoid, bypass, or postpone changing the refresh rate of the touch screen 160 from a first refresh rate to a second refresh rate based on a state of the electronic device 101 or a state of an environment including the electronic device 101 before identifying a function to be performed based on the touch input in response to the touch input.
[0074] For example, in the case where the electronic device 101 is in a state where the difference between the quality of the screen displayed based on the first refresh rate and the quality of the screen displayed based on the second refresh rate is not recognized, the processor 120 can avoid, bypass or postpone changing the refresh rate of the touch screen 160 from the first refresh rate to the second refresh rate before the function is recognized in response to the touch input. For example, the processor 120 can obtain data indicating the illumination around the electronic device 101 through a sensor (e.g., sensor module 176) of the electronic device 101, avoid changing the refresh rate of the touch screen to the second refresh rate in response to a signal based on the data being within a reference range, and change the refresh rate of the touch screen to the second refresh rate in response to a signal based on the data being outside the reference range. For example, the reference range can be a parameter defined in the electronic device 101 for identifying the brightness around the electronic device 101 where the difference is not recognized. For example, the reference range can be a parameter defined in the electronic device 101 for identifying the brightness around the electronic device 101 where the flicker caused when the screen is displayed based on the first refresh rate is not recognized. However, it is not limited thereto.
[0075] For example, when the electronic device 101 is in a state where it is necessary to reduce the amount of operation (or reduce power consumption) rather than reduce the screen quality, the processor 120 can avoid, bypass or postpone changing the refresh rate of the touch screen 160 from the first refresh rate to the second refresh rate before identifying the function in response to the touch input. For example, the processor 120 can obtain or identify data indicating the load of the processor, avoid changing the refresh rate of the touch screen to the second refresh rate in response to a signal based on the data being within a reference range, and change the refresh rate of the touch screen to the second refresh rate in response to a signal based on the data being outside the reference range. For example, the reference range can be a parameter defined to identify whether the electronic device 101 is in a state in which the reduction of the amount of operation within the electronic device 101 is more appropriate than the enhancement of the screen quality according to the use of the second refresh rate. However, it is not limited to this.
[0076] In an embodiment, the processor 120 may change the refresh rate of the touch screen 160 from the first refresh rate to the second refresh rate before recognizing the function in response to the touch input by using a device driver for supporting the touch screen 160. Figure 6 160 using a device driver to exemplify changing the refresh rate of the touch screen 160.
[0077] Figure 6 An exemplary method of using a device driver to change the refresh rate before a touch input is recognized is shown. Figure 6 In operation 602, the touch screen 160 may display a screen based on a first refresh rate. The touch screen 160 may receive a touch input while displaying the screen based on the first refresh rate.
[0078] In operation 604, the touch screen 160 may provide a signal indicating receipt of the touch input to the processor 120 in response to the touch input. For example, the signal may be encoded by firmware of the touch screen 160. For example, the processor 120 may receive the signal through the device driver 600 as a device driver.
[0079] In operation 606, the processor 120 may, in response to receiving the signal, provide the touch screen 160 with a signal for changing the refresh rate of the touch screen 160 to the second refresh rate by using the device driver 600. For example, the signal for changing the refresh rate of the touch screen 160 to the second refresh rate may include a command for changing the period of the vertical synchronization signal of the touch screen 160. For example, the processor 120 may control the touch screen 160 to change the refresh rate of the touch screen 160 to the second refresh rate by providing the signal for changing the refresh rate of the touch screen 160 to the second refresh rate by using the device driver 600.
[0080] In operation 608, the touch screen 160 may display a screen based on the second refresh rate changed from the first refresh rate. For example, operation 608 may be performed before or simultaneously with operation 610 illustrated below. For example, operation 608 may be performed before operation 612 illustrated below is performed.
[0081] In operation 610, the processor 120 may provide information about the touch input to the framework 601 by using the device driver 600. For example, by decoding the signal received in operation 604 using the device driver 600, the processor 120 may obtain information including data indicating a position (or coordinates) at which the touch input is received as a touch event of the touch input, and provide the information to the framework 601. For example, the processor 120 may obtain the information using the framework 601.
[0082] In operation 612, the processor 120 may identify a function corresponding to the touch input by recognizing the touch input based on the information using the framework 601. For example, the processor 120 may identify a function corresponding to the touch input by decoding the information as a touch event using the framework 601.
[0083] In operation 614, the processor 120 may identify whether the function corresponds to the predefined function by using the framework 601. For example, operation 614 may be included in operation 612. However, it is not limited thereto. The processor 120 may perform operation 616 using the framework 601 under the condition that the function corresponds to the predefined function, and perform operation 620 using the framework 601 under the condition that the function does not correspond to the predefined function.
[0084] In operation 616, the processor 120 may provide a signal for changing the second refresh rate to the device driver 600 using the framework 601 based on recognizing that the function corresponds to the predefined function by using the framework 601. For example, the processor 120 may recognize the refresh rate of the touch screen 160 to be changed from the second refresh rate using the framework 601 in response to recognizing that the function corresponds to the predefined function by using the framework 601, and provide a signal for changing the second refresh rate to the recognized refresh rate to the device driver 600. For example, the recognized refresh rate may correspond to the function recognized in operation 612. However, it is not limited thereto. For example, the device driver 600 may obtain a signal for changing the second refresh rate from the framework 601.
[0085] In operation 618, the processor 120 may provide a signal for changing the second refresh rate to the touch screen 160 by using the device driver 600. For example, the signal may be a signal for changing the second refresh rate to the first refresh rate. For example, the signal may be a signal for changing the second refresh rate to the third refresh rate. However, it is not limited thereto.
[0086] Although not in Figure 6 , but based on the signal obtained in operation 618, the touch screen 160 may display a screen based on the first refresh rate changed from the second refresh rate or the third refresh rate changed from the second refresh rate.
[0087] In operation 620, the processor 120 may provide the device driver 600 with a signal for maintaining the second refresh rate using the framework 601 based on recognizing that the function is different from the predefined function by using the framework 601. For example, since the change from the first refresh rate to the second refresh rate is completed before the recognition of the touch input is completed, the processor 120 may provide the device driver 600 with a signal for maintaining the second refresh rate using the framework 601, so as to notify the device driver 600 that the change to the second refresh rate in operation 606 corresponds to the touch input or confirm the change to the second refresh rate in operation 606. For example, the device driver 600 may obtain the signal for maintaining the second refresh rate from the framework 601.
[0088] In operation 622, the processor 120 may provide a signal for maintaining the second refresh rate to the touch screen 160 using the device driver 600. For example, the signal may be provided to the touch screen 160 to notify that the change to the second refresh rate corresponds to the touch input in operation 606. According to an embodiment, operation 622 may be omitted.
[0089] Although not in Figure 6 , but in an embodiment, when identifying whether to perform operation 606 based on data indicating the illumination around the electronic device 101, the processor 120 may provide a signal for avoiding, postponing, or bypassing the performance of operation 606 to the device driver 600 by using the framework 601 based on recognizing that the data obtained when the screen is displayed through the touch screen 160 based on the first refresh rate is within the reference range. However, it is not limited thereto.
[0090] Although not in Figure 6 , but in an embodiment, when identifying whether to perform operation 606 based on data indicating the load of the processor 120, the processor 120 may provide a signal for avoiding, postponing, or bypassing the performance of operation 606 to the device driver 600 by using the framework 601 based on recognizing that data obtained when a screen is displayed through the touch screen 160 based on the first refresh rate is within a reference range. However, it is not limited thereto.
[0091] Although not in Figure 6 , but in an embodiment, the processor 120 may identify whether the software application providing the screen displayed based on the first refresh rate is a predetermined software application by using the framework 601 before operation 604 is executed. For example, the predetermined software application may be a software application that does not require a change from the first refresh rate to the second refresh rate. For example, the predetermined software application may be a pre-identified software application for avoiding, postponing, or bypassing the execution of operation 606 among a plurality of software applications installed in the electronic device 101. For example, the predetermined software application may be a software application that provides services based on the FPS corresponding to the first refresh rate. However, it is not limited thereto. For example, in response to identifying that the software application is a predetermined software application by using the framework 601, the processor 120 may provide a signal for avoiding, postponing, or bypassing operation 606 to the device driver 600 by using the framework 601. For example, the processor 120 may provide a signal for indicating that the software application is a predetermined software application as a signal for avoiding the execution of operation 606 when displaying a screen provided from a software application for a camera (e.g., camera module 180) for the electronic device 101 based on the first refresh rate. Based on the signal, the processor 120 may avoid performing operation 606 using the device driver 600 based on the signal received from the touch screen 160 in operation 604. However, it is not limited thereto.
[0092] As described above, by changing the refresh rate of the touch screen 160 to the second refresh rate in operation 606, the electronic device 101 can perform the change to the second refresh rate with a faster response than another electronic device changing the refresh rate of the touch screen 160 based on the execution of operation 612. For example, since receiving a touch input in the first state may refer to the state of the electronic device 101 being changed from the first state to the second state as a use state, the electronic device 101 can provide a faster response to the touch input. For example, since the electronic device 101 changes the refresh rate of the touch screen 160 to the second refresh rate faster than another electronic device in response to the touch input, the electronic device 101 can display a higher quality screen.
[0093] In an embodiment, the processor 120 may change the refresh rate of the touch screen 160 from the first refresh rate to the second refresh rate before recognizing a function in response to the touch input by using a hardware abstraction layer (HAL). For example, the HAL may be used to interact with a hardware device such as the touch screen 160 at a general or abstract level rather than a detailed hardware level. For example, the HAL may be used for compatibility (or versatility) of various types of hardware devices. For example, the HAL may be used to communicate with the touch screen 160 at a general or abstract level rather than a detailed hardware level. Figure 7 160 using the HAL to exemplify how to change the refresh rate of the touch screen 160.
[0094] Figure 7 An exemplary method of changing the refresh rate using the hardware abstraction layer (HAL) is shown. For example, referring to Figure 7 In operation 702, the touch screen 160 may display a screen based on a first refresh rate. The touch screen 160 may receive a touch input while displaying the screen based on the first refresh rate.
[0095] In operation 704, the touch screen 160 may provide a signal indicating receipt of the touch input to the processor 120 in response to the touch input. For example, the signal may be encoded by firmware of the touch screen 160. Although not described in Figure 7 , but the signal may be provided to the HAL 700 as the HAL through the device driver 600. For example, the HAL 700 may receive the signal from the touch screen 160.
[0096] In operation 706, the processor 120 may provide the touch screen 160 with a signal for changing the refresh rate of the touch screen 160 to the second refresh rate by using the HAL 700 in response to receiving the signal. Figure 7, but the signal may be provided from the HAL 700 to the touch screen 160 through the device driver 600. For example, the signal for changing the refresh rate of the touch screen 160 to the second refresh rate may include a command for changing the period of the vertical synchronization signal of the touch screen 160. For example, the processor 120 may control the touch screen 160 to change the refresh rate of the touch screen 160 to the second refresh rate by providing the signal for changing the refresh rate of the touch screen 160 to the second refresh rate using the HAL 700.
[0097] In operation 708, the touch screen 160 may display a screen based on the second refresh rate changed from the first refresh rate. For example, operation 708 may be performed before or simultaneously with operation 710 illustrated below. For example, operation 708 may be performed before operation 712 illustrated below is performed.
[0098] In operation 710, the processor 120 may provide information about the touch input to the framework 601 by using the HAL 700. For example, based on the signal received in operation 704 using the HAL 700, the processor 120 may obtain information including data indicating a position (or coordinates) at which the touch input is received, and provide the information to the framework 601. For example, the processor 120 may obtain the information by using the framework 601.
[0099] In operation 712 , the processor 120 may identify a function corresponding to the touch input by recognizing the touch input based on the information using the framework 601 .
[0100] In operation 714, the processor 120 may identify whether the function corresponds to the predefined function by using the framework 601. For example, operation 714 may be included in operation 712. However, it is not limited thereto. The processor 120 may perform operation 716 using the framework 601 under the condition that the function corresponds to the predefined function, and perform operation 720 using the framework 601 under the condition that the function does not correspond to the predefined function.
[0101] In operation 716, the processor 120 may provide a signal for changing the second refresh rate to the HAL 700 using the framework 601 based on recognizing that the function corresponds to the predefined function by using the framework 601. For example, the processor 120 may recognize the refresh rate of the touch screen 160 to be changed from the second refresh rate using the framework 601 in response to recognizing that the function corresponds to the predefined function by using the framework 601, and provide a signal for changing the second refresh rate to the recognized refresh rate to the HAL 700. For example, the recognized refresh rate may correspond to the function recognized in operation 712. However, it is not limited thereto. For example, the HAL 700 may obtain a signal for changing the second refresh rate from the framework 601.
[0102] In operation 718, the processor 120 may provide a signal for changing the second refresh rate to the touch screen 160 by using the HAL 700. Figure 7 , but a signal may be provided from the HAL 700 to the touch screen 160 through the device driver 600. For example, the signal may be a signal for changing the second refresh rate to the first refresh rate. For example, the signal may be a signal for changing the second refresh rate to the third refresh rate. However, it is not limited thereto.
[0103] Although not in Figure 7 , but based on the signal obtained in operation 718, the touch screen 160 may display a screen based on the first refresh rate changed from the second refresh rate or the third refresh rate changed from the second refresh rate.
[0104] In operation 720, the processor 120 may provide the HAL 700 with a signal for maintaining the second refresh rate using the framework 601 based on recognizing that the function is different from the predefined function using the framework 601. For example, since the first refresh rate is changed to the second refresh rate before the recognition of the touch input is completed, the processor 120 may provide the HAL 700 with a signal for maintaining the second refresh rate using the framework 601, so as to notify the HAL 700 that the change to the second refresh rate in operation 706 corresponds to the touch input or confirm the change to the second refresh rate in operation 706. Although not in operation 720, the processor 120 may provide the HAL 700 with a signal for maintaining the second refresh rate using the framework 601. Figure 7 , but the HAL 700 may obtain a signal for maintaining the second refresh rate from the framework 601 through the device driver 600.
[0105] In operation 722, the processor 120 may provide a signal for maintaining the second refresh rate to the touch screen 160 using the HAL 700. For example, a signal may be provided to the touch screen 160 to notify that the change to the second refresh rate corresponds to the touch input in operation 706. According to an embodiment, operation 722 may be omitted.
[0106] Although not in Figure 7 , but in an embodiment, when identifying whether to perform operation 706 based on data indicating the illumination around the electronic device 101, the processor 120 may provide a signal for avoiding, postponing, or bypassing the performance of operation 706 to the HAL 700 by using the framework 601 based on recognizing that the data obtained when the screen is displayed through the touch screen 160 based on the first refresh rate is within the reference range. However, it is not limited thereto.
[0107] Although not in Figure 7, but in an embodiment, when identifying whether to perform operation 706 based on data indicating the load of the processor 120, the processor 120 may provide a signal for avoiding, postponing, or bypassing the performance of operation 706 to the HAL 700 by using the framework 601 based on recognizing that data obtained when a screen is displayed through the touch screen 160 based on the first refresh rate is within a reference range. However, it is not limited thereto.
[0108] Although not in Figure 7 , but in an embodiment, the processor 120 may use the framework 601 to identify whether the software application providing the screen displayed based on the first refresh rate is a predetermined software application before operation 704 is executed. For example, the predetermined software application may be a software application that does not require a change from the first refresh rate to the second refresh rate. For example, the predetermined software application may be a pre-identified software application for avoiding, postponing, or bypassing the execution of operation 706 among a plurality of software applications installed in the electronic device 101. For example, the predetermined software application may be a software application that provides services based on the FPS corresponding to the first refresh rate. However, it is not limited thereto. For example, the processor 120 may provide a signal for avoiding, postponing, or bypassing the execution of operation 706 to the HAL 700 by using the framework 601 in response to identifying that the software application is a predetermined software application by using the framework 601. For example, the processor 120 may provide a signal for indicating that the software application is a predetermined software application to the HAL 700 by using the framework 601 when displaying a screen provided from a software application for a camera (e.g., camera module 180) for the electronic device 101 based on the first refresh rate as a signal for avoiding the execution of operation 706. Based on the signal, the processor 120 may avoid performing operation 706 using the HAL 700 based on the signal received from the touch screen 160 in operation 704. However, it is not limited thereto.
[0109] As described above, by changing the refresh rate of the touch screen 160 to the second refresh rate in operation 706, the electronic device 101 can perform the change to the second refresh rate with a faster response than another electronic device changing the refresh rate of the touch screen 160 based on the execution of operation 712. For example, since receiving a touch input in the first state may refer to the state of the electronic device 101 being changed from the first state to the second state as a use state, the electronic device 101 can provide a faster response to the touch input. For example, since the electronic device 101 changes the refresh rate of the touch screen 160 to the second refresh rate faster than another electronic device in response to the touch input, the electronic device 101 can display a higher quality screen.
[0110] The above description and the following description illustrate the operation of the processor 120 according to the touch input received when the screen is displayed based on the first refresh rate, but the touch input may be replaced by an input having different attributes. For example, the touch input may be replaced by a press input on a physical button exposed through the housing of the electronic device 101. For example, the physical button may be used to turn the electronic device 101 on or off. For example, the physical button may be used to provide secretarial services based on voice recognition. However, it is not limited thereto.
[0111] For example, when the screen is displayed based on the first refresh rate, the processor 120 may receive a signal indicating that a press input is received from a component of the electronic device 101, for identifying a press input on a physical button. Before the function to be executed is identified based on the physical button, the processor 120 may control the touch screen 160 to change the first refresh rate to the second refresh rate in response to the signal. The processor 120 may identify the function based on the recognition of the press input when the screen is displayed based on the second refresh rate. The processor 120 may change the refresh rate of the touch screen 160 as the second refresh rate based on the identification that the function corresponds to the predefined function. The processor 120 may maintain the refresh rate of the touch screen 160 as the second refresh rate based on the identification that the function is different from the predefined function. However, it is not limited to this.
[0112] Figure 8 is a flow chart showing a method of changing the refresh rate before a touch input is recognized. The method may be Figure 1 The electronic device 101 shown, Figure 1 The processor 120 shown, Figure 3 The electronic device 101 or Figure 3 The processor 120 is shown executing.
[0113] refer to Figure 8 , in operation 802, the processor 120 may display a screen through the touch screen 160 based on the first refresh rate. For example, operation 802 may be identified based on a change from the second state to the first state. For example, operation 802 may be performed in response to identifying that an update of frame data is not performed during a reference time. For example, operation 802 may be performed in response to identifying that a touch input is not received during a reference time. For example, operation 802 may be performed in response to identifying that a flicker is not caused by illumination displayed at the first refresh rate. However, it is not limited thereto.
[0114] In operation 804, the processor 120 may receive a signal indicating that a touch input is received from the touch screen 160 while displaying the screen based on the first refresh rate. Figure 6 The device driver 600 or Figure 7 HAL 700 is shown to perform operation 804. However, it is not limited thereto.
[0115] In operation 806, the processor 120 may change the refresh rate of the touch screen 160 from the first refresh rate to the second refresh rate in response to the touch input. For example, the processor 120 may perform operation 806 in a state where it is not identified which function is to be executed in response to the touch input. For example, the processor 120 may perform operation 806 in a state where it is identified that the position where the touch input is received but the function corresponding to the touch input is not identified. However, it is not limited thereto. For example, the device driver 600 or the HAL 700 may be used to perform operation 806. However, it is not limited thereto.
[0116] Although not in Figure 8 , but in response to the execution of operation 806, the processor 120 may display a screen on the touch screen 160 based on the second refresh rate.
[0117] In operation 808, the processor 120 may identify a function corresponding to the touch input based on recognition of the touch input while the screen is displayed based on the second refresh rate. For example, the processor 120 may perform operation 808 after the refresh rate of the touch screen 160 is changed to the second refresh rate.
[0118] In operation 810, the processor 120 may change or maintain the refresh rate of the touch screen 160 as the second refresh rate according to whether the recognized function corresponds to the predefined function. For example, under the condition that the recognized function corresponds to the predefined function, the processor 120 may change the refresh rate of the touch screen 160 as the second refresh rate to another refresh rate. For example, in the case where the function corresponding to the predefined function is to execute a software application for a camera, the processor 120 may change the second refresh rate to a refresh rate corresponding to the FPS of the camera of the electronic device 101. For example, in the case where the function corresponding to the predefined function is to reproduce a video, the processor 120 may change the second refresh rate to a refresh rate corresponding to the FPS of the video. For example, under the condition that the recognized function is different from the predefined function, the processor 120 may maintain the refresh rate of the touch screen 160 as the second refresh rate.
[0119] In an embodiment, identifying whether the function corresponds to the predefined function may be performed as identifying whether the function is stored in a non-volatile memory (eg, Figure 1 The functions provided by the software applications in the list pre-stored or pre-registered in the non-volatile memory 134 shown in FIG.
[0120] As described above, the electronic device 101 may change the refresh rate of the touch screen 160 in operation 806 before operation 808 is performed. The electronic device 101 may identify whether the change to the second refresh rate is suitable for the state associated with the touch input through operation 810 after the refresh rate of the touch screen 160 is changed to the second refresh rate, and change or maintain the refresh rate of the touch screen 160 according to the result of the identification. For example, the electronic device 101 may enhance the quality of the screen with a quick response through operation 806, and provide a service suitable for the situation through operation 810.
[0121] Fig. 9 is a flow chart showing a method for changing the refresh rate before a touch input is recognized based on data indicating illumination. The method may be Figure 1 The electronic device 101 shown, Figure 1 The processor 120 shown, Figure 3 The electronic device 101 or Figure 3 The processor 120 is shown executing.
[0122] refer to Fig. 9 In operation 902, the processor 120 may receive a signal indicating that a touch input is received from the touch screen 160 while displaying the screen based on the first refresh rate. For example, operation 902 may include Figure 8 In operation 804.
[0123] In operation 904, in response to receiving the signal, the processor 120 may change the refresh rate of the touch screen 160 from the first refresh rate to the second refresh rate based on data indicating the illumination of the environment surrounding the electronic device 101, or may maintain the refresh rate of the touch screen 160 at the first refresh rate.
[0124] In an embodiment, when data is periodically obtained through the illumination sensor of the electronic device 101, the processor 120 may change or maintain the refresh rate of the touch screen 160 based on the data most recently obtained through the illumination sensor from the moment of receiving the signal. However, it is not limited thereto.
[0125] For example, under the condition that the data indicates that the flicker is not caused by displaying the screen at the first refresh rate, the processor 120 can maintain the refresh rate of the touch screen 160. For example, under the condition that the data indicates that the flicker is caused by displaying the screen at the first refresh rate, the processor 120 can change the refresh rate of the touch screen 160 to the second refresh rate.
[0126] As described above, the electronic device 101 can change the refresh rate of the touch screen 160 from the first refresh rate to the second refresh rate when the electronic device 101 is located in an environment where the difference between the first refresh rate and the second refresh rate can be identified, and maintain the refresh rate of the touch screen 160 at the first refresh rate when the electronic device 101 is located in an environment where the difference cannot be identified. The electronic device 101 can provide services corresponding to the environment where the electronic device 101 is located through these operations.
[0127] Fig.10 is a flow chart showing a method of changing the refresh rate before a touch input is recognized based on data indicating a load on a processor. The method may be Figure 1 The electronic device 101 shown, Figure 1 The processor 120 shown, Figure 3 The electronic device 101 or Figure 3 The processor 120 is shown executing.
[0128] refer to Fig.10 In operation 1002, the processor 120 may receive a signal indicating that a touch input is received from the touch screen 160 while displaying the screen based on the first refresh rate. For example, operation 1002 may include Figure 8 In operation 804.
[0129] In operation 1004 , in response to receiving the signal, the processor 120 may change the refresh rate of the touch screen 160 from the first refresh rate to the second refresh rate based on data indicating a load of the processor 120 , or maintain the refresh rate of the touch screen 160 at the first refresh rate.
[0130] In an embodiment, data may be periodically recognized when the screen is displayed based on the first refresh rate. For example, the processor 120 may change or maintain the refresh rate of the touch screen 160 based on the data most recently recognized from the moment the signal is received. However, it is not limited thereto.
[0131] For example, under the condition that the data indicates that an overload state of the processor 120 may occur according to the change to the second refresh rate, the processor 120 may maintain the refresh rate of the touch screen 160. For example, under the condition that the data indicates that an overload state of the processor 120 will not occur according to the change to the second refresh rate, the processor 120 may change the refresh rate of the touch screen 160 to the second refresh rate.
[0132] As described above, the electronic device 101 can change the refresh rate of the touch screen 160 from the first refresh rate to the second refresh rate when the electronic device 101 is in a state where screen quality takes precedence over improvement of the load of the processor 120, and maintain the refresh rate of the touch screen 160 at the first refresh rate when the electronic device 101 is in a state where improvement of the load of the processor 120 takes precedence over screen quality.
[0133] The electronic device and method according to the embodiment may improve resource efficiency associated with a change in a refresh rate by changing a refresh rate of a touch screen in response to a touch input before a function to be executed is recognized based on the touch input.
[0134] As described above, according to an embodiment, an electronic device (e.g., electronic device 101) may include a touch screen (e.g., touch screen 160) and a processor (e.g., processor 120). The processor may be configured to display a screen based on a first refresh rate through the touch screen. The processor may be configured to receive a signal indicating that a touch input is received from the touch screen when the screen is displayed based on the first refresh rate. The processor may be configured to control the touch screen to change the refresh rate of the touch screen from the first refresh rate to a second refresh rate higher than the first refresh rate in response to the signal before identifying a function to be executed based on the touch input. The processor may be configured to identify a function based on recognition of the touch input when the screen is displayed based on the second refresh rate. The processor may be configured to control the touch screen to change the refresh rate of the touch screen as a second refresh rate based on identifying a function corresponding to a predefined function. The processor may be configured to control the touch screen to maintain the refresh rate of the touch screen as a second refresh rate based on identifying a function different from the predefined function.
[0135] In an embodiment, the function corresponding to the predefined function may be a function associated with a software application that provides a service based on a frames per second (FPS) that does not correspond to the second refresh rate.
[0136] In an embodiment, the function corresponding to the predefined function may be a function associated with a software application pre-registered to display a screen based on a refresh rate different from the second refresh rate among a plurality of software applications installed in the electronic device.
[0137] In an embodiment, the processor may be configured to receive a signal using a device driver for supporting a touch screen (e.g., device driver 600). In an embodiment, the processor may be configured to control the touch screen to change the refresh rate of the touch screen to the second refresh rate by providing a signal for changing the refresh rate of the touch screen to the second refresh rate using the device driver in response to the signal.
[0138] In an embodiment, the processor may be configured to provide information about the touch input to the framework (eg, framework 601 ) using a device driver in response to a signal indicating that the touch input is received.
[0139] In an embodiment, the processor may be configured to identify a function by recognizing a touch input based on the information using the framework while the screen is displayed based on the second refresh rate.
[0140] In an embodiment, the processor may be configured to: based on identifying a function corresponding to a predefined function, provide, using the framework, to the device driver a signal for changing the refresh rate of the touch screen from the second refresh rate to the first refresh rate, or a signal for changing the refresh rate of the touch screen from the second refresh rate to a third refresh rate different from the first refresh rate and the second refresh rate. In an embodiment, the processor may be configured to: based on providing, using the device driver, to the touch screen a signal for changing the refresh rate of the touch screen from the second refresh rate to the first refresh rate, or a signal for changing the refresh rate of the touch screen from the second refresh rate to the third refresh rate, control the touch screen to change the refresh rate of the touch screen to the first refresh rate or the third refresh rate.
[0141] In an embodiment, the processor may be configured to provide, using the framework, a signal to maintain the refresh rate of the touch screen at the second refresh rate to the device driver based on identifying a function different from the predefined function.
[0142] In an embodiment, the processor may be further configured to: in response to receiving a signal indicating that a touch input is received using a device driver, identify using the device driver whether a signal for changing the refresh rate of the touch screen from the second refresh rate to the first refresh rate, a signal for changing the refresh rate of the touch screen from the second refresh rate to the third refresh rate, and a signal for maintaining the refresh rate of the touch screen at the second refresh rate are obtained from the framework during a reference time from the moment when the signal indicating that the touch input is received is received. In an embodiment, the processor may be further configured to: based on identifying that the signal for changing the refresh rate of the touch screen from the second refresh rate to the first refresh rate, the signal for changing the refresh rate of the touch screen from the second refresh rate to the third refresh rate, and the signal for maintaining the refresh rate of the touch screen at the second refresh rate are not obtained during the reference time from the moment, control the touch screen to change the refresh rate of the touch screen to the first refresh rate by providing the touch screen with a signal for changing the refresh rate of the touch screen from the second refresh rate to the first refresh rate using the device driver.
[0143] In an embodiment, the processor may be configured to receive a signal through a device driver (e.g., device driver 600) for supporting a touch screen using a hardware abstraction layer (HAL) (e.g., HAL 700). In an embodiment, the processor may be configured to control the touch screen to change the refresh rate of the touch screen to the second refresh rate by providing a signal for changing the refresh rate of the touch screen to the second refresh rate to the touch screen via the device driver using the HAL in response to the signal.
[0144] In an embodiment, the processor may be configured to provide information about the touch input to the framework (e.g., framework 601) using the HAL in response to a signal indicating that the touch input is received. In an embodiment, the processor may be configured to identify a function by recognizing the touch input based on the information using the framework when the screen is displayed based on the second refresh rate.
[0145] In an embodiment, the processor may be configured to: based on identifying a function corresponding to a predefined function, provide the HAL with a signal for changing the refresh rate of the touch screen from the second refresh rate to the first refresh rate, or a signal for changing the refresh rate of the touch screen from the second refresh rate to a third refresh rate different from the first refresh rate and the second refresh rate using the framework. In an embodiment, the processor may be configured to: based on providing the touch screen with a signal for changing the refresh rate of the touch screen from the second refresh rate to the first refresh rate, or a signal for changing the refresh rate of the touch screen from the second refresh rate to the third refresh rate through the device driver using the HAL, control the touch screen to change the refresh rate of the touch screen to the first refresh rate or the third refresh rate.
[0146] In an embodiment, the processor may be configured to provide, using the framework, to the HAL a signal for maintaining the refresh rate of the touch screen at the second refresh rate based on identifying a function different from the predefined function.
[0147] In an embodiment, the processor may be further configured to: in response to receiving a signal indicating that a touch input is received using the HAL, identify using the HAL whether a signal for changing the refresh rate of the touch screen from the second refresh rate to the first refresh rate, a signal for changing the refresh rate of the touch screen from the second refresh rate to the third refresh rate, or a signal for maintaining the refresh rate of the touch screen at the second refresh rate is obtained from the framework during a reference time from the moment when the signal indicating that the touch input is received is received. In an embodiment, the processor may be further configured to: based on identifying that a signal for changing the refresh rate of the touch screen from the second refresh rate to the first refresh rate, a signal for changing the refresh rate of the touch screen from the second refresh rate to the third refresh rate, and a signal for maintaining the refresh rate of the touch screen at the second refresh rate are not obtained during the reference time from the moment, control the touch screen to change the refresh rate of the touch screen to the first refresh rate by providing a signal for changing the refresh rate of the touch screen from the second refresh rate to the first refresh rate to the touch screen through the device driver using the HAL.
[0148] In an embodiment, the processor may be configured to change the refresh rate of the touch screen from the second refresh rate to the first refresh rate in response to recognizing that frame data is not provided to the touch screen during the reference time. In an embodiment, the processor may be configured to display a screen through the touch screen based on the first refresh rate. In an embodiment, the processor may be configured to receive a signal from the touch screen indicating that a touch input is received while displaying the screen based on the first refresh rate.
[0149] In an embodiment, the processor may be configured to change the refresh rate of the touch screen from the second refresh rate to the first refresh rate in response to recognizing that no touch input is received during the reference time. In an embodiment, the processor may be configured to display a screen through the touch screen based on the first refresh rate. In an embodiment, the processor may be configured to receive a signal from the touch screen indicating that a touch input is received while displaying the screen based on the first refresh rate.
[0150] In an embodiment, the processor may be configured to obtain data indicating illumination around the electronic device. In an embodiment, the processor may be configured to avoid changing the refresh rate of the touch screen to a second refresh rate in response to the signal based on the data being within a reference range before a function to be executed is identified based on the touch input. In an embodiment, the processor may be configured to control the touch screen to change the refresh rate of the touch screen from a first refresh rate to a second refresh rate in response to the signal based on the data being outside the reference range before a function to be executed is identified based on the touch input.
[0151] In an embodiment, the processor may be configured to obtain data indicating a load of the processor. In an embodiment, the processor may be configured to avoid changing the refresh rate of the touch screen to a second refresh rate in response to the signal based on the data being within a reference range before a function to be executed is identified based on the touch input. In an embodiment, the processor may be configured to control the touch screen to change the refresh rate of the touch screen from a first refresh rate to a second refresh rate in response to the signal based on the data being outside the reference range before a function to be executed is identified based on the touch input.
[0152] A method for operating an electronic device (e.g., electronic device 101) including a touch screen (e.g., touch screen 160) may include: displaying a screen based on a first refresh rate through the touch screen (e.g., operation 802). The method may include: receiving a signal indicating that a touch input is received from the touch screen when the screen is displayed based on the first refresh rate (e.g., operation 804). The method may include: before identifying a function to be executed based on the touch input, in response to the signal, controlling the touch screen to change the refresh rate of the touch screen from the first refresh rate to a second refresh rate higher than the first refresh rate (e.g., operation 806). The method may include: identifying a function based on recognition of the touch input when the screen is displayed based on the second refresh rate (e.g., operation 808). The method may include: controlling the touch screen to change the refresh rate of the touch screen as a second refresh rate based on identifying a function corresponding to a predefined function (e.g., operation 810). The method may include: controlling the touch screen to maintain the refresh rate of the touch screen as the second refresh rate based on identifying a function different from the predefined function (e.g., operation 810).
[0153] The electronic device according to various embodiments may be one of various types of electronic devices. The electronic device may include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a household appliance. According to an embodiment of the present disclosure, the electronic device is not limited to those described above.
[0154] It should be understood that the various embodiments of the present disclosure and the terms used therein are not intended to limit the technical features set forth herein to specific embodiments, and include various changes, equivalents or replacements for corresponding embodiments. With respect to the description of the accompanying drawings, similar reference numerals may be used to refer to similar or related elements. It should be understood that, unless otherwise clearly stated in the relevant context, the singular form of a noun corresponding to an item may include one or more things. As used herein, each of the phrases such as "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 "at least one of A, B or C" may include any one or all possible combinations of the items listed together in a corresponding phrase. As used herein, terms such as "first" and "second" may be used to simply distinguish a corresponding component from another component, and do not limit the component in other aspects (e.g., importance or order). It should be understood that if an element (e.g., a first element) is referred to as being “coupled with” or “connected with” another element (e.g., a second element) with or without the term “operably” or “communicatively”, it means that the element can be coupled with the other element directly (e.g., by wire), wirelessly, or via at least a third element.
[0155] As used in conjunction with various embodiments of the present disclosure, the term "module" may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with other terms (e.g., "logic," "logic block," "portion," or "circuit"). A module may be a single integrated component or its smallest unit or portion suitable for performing one or more functions. For example, according to an embodiment, a module may be implemented in the form of an application specific integrated circuit (ASIC).
[0156] The various embodiments described herein may be implemented as software (e.g., program 140) including one or more instructions stored in a storage medium (e.g., internal memory 136 or external memory 138) readable by a machine (e.g., electronic device 101). For example, a processor (e.g., processor 120) of a machine (e.g., electronic device 101) may call at least one of the one or more instructions stored in the storage medium and execute it with or without one or more other components under the control of the processor. This allows the machine 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 executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Among them, the term "non-transitory" simply means that the storage medium is a tangible device and does not include signals (e.g., electromagnetic waves), but the term does not distinguish between the case where data is semi-permanently stored in the storage medium and the case where data is temporarily stored in the storage medium.
[0157] According to an embodiment, the method according to various embodiments of the present disclosure may be included and provided in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., a compact disc read-only memory (CD-ROM)), or distributed online (e.g., downloaded or uploaded) via an application store (e.g., PlayStore™), or distributed directly between two user devices (e.g., smartphones) (e.g., downloaded or uploaded). If distributed online, at least a portion of the computer program product may be temporarily generated or at least temporarily stored in a machine-readable storage medium (such as a memory of a manufacturer's server, a server of an application store, or a relay server).
[0158] According to various embodiments, each of the above-mentioned components (e.g., a module or a program) may include a single entity or multiple entities, and some of the multiple entities may be separately arranged in different components. According to various embodiments, one or more of the above-mentioned components may be omitted, or one or more other components may be added. Alternatively or additionally, multiple components (e.g., modules or programs) may be integrated into a single component. In this case, according to various embodiments, the integrated component may still perform one or more functions of each of the multiple components in the same or similar manner as performed by the corresponding components in the multiple components before integration. According to various embodiments, the operations performed by a module, a program, or another component may be performed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be performed or omitted in a different order, or one or more other operations may be added.
Claims
1. An electronic device, include: touchscreen; as well as The processor is configured as: displaying a screen based on a first refresh rate through the touch screen; receiving, while displaying the screen based on the first refresh rate, a signal from the touch screen indicating receipt of a touch input; Before identifying a function to be executed based on the touch input, in response to the signal, controlling the touch screen to change a refresh rate of the touch screen from a first refresh rate to a second refresh rate higher than the first refresh rate; When the screen is displayed based on the second refresh rate, identifying the function based on recognition of the touch input; Based on identifying the function corresponding to the predefined function, controlling the touch screen to change a refresh rate of the touch screen as a second refresh rate; as well as Based on identifying the function different from the predefined function, the touch screen is controlled to maintain a refresh rate of the touch screen as a second refresh rate.
2. The electronic device according to claim 1, in, The function corresponding to the predefined function is a function associated with a software application that provides a service based on a frames per second (FPS) that does not correspond to the second refresh rate.
3. The electronic device according to claim 1, in, The function corresponding to the predefined function is a function associated with a software application pre-registered to display a screen based on a refresh rate different from the second refresh rate among a plurality of software applications installed in the electronic device.
4. The electronic device according to claim 1, in, The processor is configured to: receiving the signal using a device driver for supporting a touch screen; and In response to the signal, the touch screen is controlled to change the refresh rate of the touch screen to the second refresh rate by providing a signal for changing the refresh rate of the touch screen to the second refresh rate to the touch screen using a device driver.
5. The electronic device according to claim 4, in, The processor is configured to: In response to the signal indicating receipt of the touch input, providing information about the touch input to the framework using a device driver; as well as The function is identified by recognizing a touch input based on the information using a framework while the screen is displayed based on the second refresh rate.
6. The electronic device according to claim 5, in, The processor is configured to: Based on identifying the function corresponding to the predefined function, using the framework to provide a signal for changing a refresh rate of the touch screen from the second refresh rate to the first refresh rate, or a signal for changing the refresh rate of the touch screen from the second refresh rate to a third refresh rate different from the first refresh rate and the second refresh rate, to a device driver; as well as Based on using a device driver to provide the touch screen with a signal for changing the refresh rate of the touch screen from the second refresh rate to the first refresh rate or a signal for changing the refresh rate of the touch screen from the second refresh rate to the third refresh rate, the touch screen is controlled to change the refresh rate of the touch screen to the first refresh rate or the third refresh rate.
7. The electronic device according to claim 6, in, The processor is configured to: Based on identifying the function different from the predefined function, the usage framework provides a signal for maintaining the refresh rate of the touch screen at a second refresh rate to the device driver.
8. The electronic device according to claim 7, in, The processor is further configured to: In response to receiving a signal indicating that a touch input is received using a device driver, identifying whether a signal for changing a refresh rate of the touch screen from a second refresh rate to a first refresh rate, a signal for changing the refresh rate of the touch screen from the second refresh rate to a third refresh rate, or a signal for maintaining the refresh rate of the touch screen at the second refresh rate is obtained from the framework during a reference time from a moment when the signal indicating that a touch input is received is received using the device driver; as well as Based on identifying that a signal for changing the refresh rate of the touch screen from the second refresh rate to the first refresh rate, a signal for changing the refresh rate of the touch screen from the second refresh rate to the third refresh rate, and a signal for maintaining the refresh rate of the touch screen at the second refresh rate are not obtained during a reference time from the said moment, the touch screen is controlled to change the refresh rate of the touch screen to the first refresh rate by using a device driver to provide the touch screen with a signal for changing the refresh rate of the touch screen from the second refresh rate to the first refresh rate.
9. The electronic device according to claim 1, in, The processor is configured to: receiving the signal through a device driver for supporting a touch screen using a hardware abstraction layer (HAL); and In response to the signal, the touch screen is controlled to change the refresh rate of the touch screen to the second refresh rate by providing a signal for changing the refresh rate of the touch screen to the second refresh rate to the touch screen via a device driver using the HAL.
10. The electronic device according to claim 9, in, The processor is configured to: In response to the signal indicating receipt of the touch input, providing information about the touch input to the framework using the HAL; as well as The function is identified by recognizing a touch input based on the information using a framework while the screen is displayed based on the second refresh rate.
11. The electronic device according to claim 10, in, The processor is configured to: Based on identifying the function corresponding to the predefined function, using the framework to provide the HAL with a signal for changing the refresh rate of the touch screen from the second refresh rate to the first refresh rate, or a signal for changing the refresh rate of the touch screen from the second refresh rate to a third refresh rate different from the first refresh rate and the second refresh rate; as well as Based on using HAL to provide a signal for changing the refresh rate of the touch screen from the second refresh rate to the first refresh rate or a signal for changing the refresh rate of the touch screen from the second refresh rate to the third refresh rate to the touch screen through the device driver, the touch screen is controlled to change the refresh rate of the touch screen to the first refresh rate or the third refresh rate.
12. The electronic device according to claim 11, in, The processor is configured to: Based on identifying the function different from the predefined function, the usage framework provides the HAL with a signal for maintaining the refresh rate of the touch screen at a second refresh rate.
13. The electronic device according to claim 12, in, The processor is further configured to: In response to receiving a signal indicating that a touch input is received using the HAL, identifying using the HAL whether a signal for changing a refresh rate of the touch screen from the second refresh rate to the first refresh rate, a signal for changing the refresh rate of the touch screen from the second refresh rate to the third refresh rate, or a signal for maintaining the refresh rate of the touch screen at the second refresh rate is obtained from the framework during a reference time from the moment when the signal indicating that the touch input is received is received; as well as Based on identifying that a signal for changing the refresh rate of the touch screen from the second refresh rate to the first refresh rate, a signal for changing the refresh rate of the touch screen from the second refresh rate to the third refresh rate, and a signal for maintaining the refresh rate of the touch screen at the second refresh rate are not obtained during a reference time from the moment, the touch screen is controlled to change the refresh rate of the touch screen to the first refresh rate by providing a signal for changing the refresh rate of the touch screen from the second refresh rate to the first refresh rate to the touch screen via a device driver using HAL.
14. The electronic device according to claim 1, in, The processor is configured to: in response to identifying that frame data is not provided to the touch screen during a reference time, changing a refresh rate of the touch screen from a second refresh rate to a first refresh rate; displaying the screen via the touch screen based on a first refresh rate; as well as While the screen is displayed based on the first refresh rate, a signal is received from the touch screen indicating that a touch input is received.
15. The electronic device according to claim 1, in, The processor is configured to: In response to identifying that no touch input is received during a reference time, changing a refresh rate of the touch screen from a second refresh rate to a first refresh rate; displaying the screen via the touch screen based on a first refresh rate; as well as While the screen is displayed based on the first refresh rate, a signal is received from the touch screen indicating that a touch input is received.
