Electronic device for at least partially adjusting brightness of display based on touch input on display and method thereof

By integrating the touch sensor and processor in the electronic device to identify and respond to the user's touch input gestures on the display, the problem of difficulty in dynamically adjusting the brightness of the display in the prior art is solved, and a higher user experience and interactivity is achieved.

CN120077355APending Publication Date: 2025-05-30SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380063264.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-09-23
Filing Date
2023-09-11
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

It is difficult for existing electronic devices to effectively adjust the brightness of the display based on the touch input, especially when it is necessary to dynamically adjust the brightness according to user gestures.

Method used

By integrating the touch sensor and processor in the electronic device, touch input gestures executed on the display are identified and the brightness of the display is adjusted according to preset gesture configuration instructions. The specific implementation includes identifying the distribution and coordinates of contact points on the display, judging the correspondence between touch input and preset gestures, and changing the brightness of the visual object in the display accordingly.

Benefits of technology

The function of dynamically adjusting the brightness of the display according to the user's touch input is realized, improving the user experience and the interactivity of the device, especially when the brightness needs to be adjusted to suit the environment or user intentions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120077355A_ABST
    Figure CN120077355A_ABST
Patent Text Reader

Abstract

An electronic device according to an embodiment may acquire data from a touch sensor while displaying a screen on a display based on a first brightness. The electronic device may identify, based on at least one contact point identified by the data and associated with a touch input performed on the display, whether the touch input corresponds to a preset gesture for adjusting a first brightness of the display. The electronic device may change a brightness of a first portion on which at least one first visual object having a preset type is displayed among a plurality of visual objects included in the screen to a second brightness different from the first brightness based on recognizing that the touch input corresponds to the preset gesture.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to an electronic device and a method thereof for at least partially adjusting the brightness of a display based on touch input on the display. Background Art

[0002] Electronic devices having touch sensors to respond to touch input on a display have been developed. The electronic device can recognize a click or drag gesture on a visual object displayed through the display by using the touch sensor. Based on the gesture, the electronic device can execute a function mapped to the visual object. Summary of the Invention

[0003] Technical Solution According to an embodiment, an electronic device may include a display, a touch sensor, a memory storing instructions, and a processor. The instructions may be configured to, when executed by the processor, cause the electronic device to obtain data from the touch sensor while displaying a screen based on a first brightness on the display. The instructions may be configured to, when executed by the processor, cause the electronic device to identify whether the touch input corresponds to a preset gesture for adjusting the first brightness of the display based on at least one contact point associated with the touch input executed on the display identified through the data. The instructions may be configured to, when executed by the processor, cause the electronic device to change the brightness of a first portion of a plurality of visual objects included in the screen, which displays at least one first visual object having a preset type, to a second brightness different from the first brightness based on identifying that the touch input corresponds to the preset gesture.

[0004] According to an embodiment, a method of an electronic device may include: obtaining data from a touch sensor of the electronic device while displaying a screen based on a first brightness in a display of the electronic device. The method may include: identifying whether the touch input corresponds to a preset gesture for adjusting the first brightness of the display based on at least one contact point associated with the touch input executed on the display identified through the data. The method may include: changing the brightness of a first portion of a plurality of visual objects included in the screen, which displays at least one first visual object having a preset type, to a second brightness different from the first brightness based on identifying that the touch input corresponds to the preset gesture for adjusting the first brightness.

[0005] According to an embodiment, an electronic device may include a display, a touch sensor, and a processor. Instructions may be configured such that, when executed by the processor, the electronic device obtains data from the touch sensor while displaying a screen based on a first brightness in the display. The instructions may be configured such that, when executed by the processor, the electronic device identifies a preset gesture for at least partially covering the display based on the data. The instructions may be configured such that, when executed by the processor, the electronic device changes the brightness of a first portion among the portions of the display divided by the folding axis to a second brightness different from the first brightness based on identifying the preset gesture in a first state where the display is folded within a preset angular range along the folding axis. The instructions may be configured such that, when executed by the processor, the electronic device changes the brightness of all portions to the second brightness based on identifying the preset gesture in a second state different from the first state.

[0006] According to an embodiment, a method of an electronic device may include: obtaining data from a touch sensor of the electronic device while displaying a screen based on a first brightness in a display of the electronic device. The method may include: identifying a preset gesture for at least partially covering the display based on the data. The method may include: changing the brightness of a first portion among the portions of the display divided by the folding axis to a second brightness different from the first brightness based on identifying the preset gesture in a first state where the display is folded within a preset angular range along the folding axis. The method may include: changing the brightness of all portions to the second brightness based on identifying the preset gesture in a second state different from the first state. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 is a block diagram of an electronic device according to an embodiment.

[0008] Figure 2 illustrates an example of an operation in which an electronic device changes the brightness of a display based on a touch input on the display according to an embodiment.

[0009] Figure 3a 、 Figure 3b and Figure 3c illustrates an example of an operation in which an electronic device identifies a touch input on a display based on data of a touch sensor according to an embodiment.

[0010] Figures 4a to 4b illustrates an example of an operation in which an electronic device increases the brightness of at least a portion of a display based on a touch input on the display according to an embodiment.

[0011] Figures 5a to 5b illustrates an example of an operation in which an electronic device decreases the brightness of at least a portion of a display based on a touch input on the display according to an embodiment.

[0012] Figure 6 Illustrates an example of different states of a housing and / or a display of an electronic device according to an embodiment.

[0013] Figure 7a 、 Figure 7b and Figure 7c Illustrates an example of an operation in which an electronic device changes at least a part of the brightness of a display based on the shape of the display and / or a touch input on the display according to an embodiment.

[0014] Figure 8 Illustrates an example of an operation in which an electronic device changes at least a part of the brightness of a display based on a touch input on the display according to an embodiment.

[0015] Figure 9 Illustrates an example of a flowchart for describing an operation of an electronic device according to an embodiment.

[0016] Figure 10 Illustrates an example of a flowchart for describing an operation of an electronic device according to an embodiment.

[0017] Figure 11 Illustrates an example of a flowchart for describing an operation of an electronic device according to an embodiment.

[0018] Figure 12 Illustrates an example of a flowchart for describing an operation of an electronic device according to an embodiment. Detailed Description

[0019] Hereinafter, various embodiments herein will be described with reference to the accompanying drawings.

[0020] The various embodiments herein and the terms used herein are not intended to limit the technology described herein to a specific embodiment, and should be understood to include various modifications, equivalents, or alternatives of the corresponding embodiments. Regarding the description of the drawings, reference numerals may be used for similar components. Singular expressions may include plural expressions unless clearly indicated otherwise in the context. Herein, expressions such as "A or B", "at least one of A and / or B", "A, B, or C", or "at least one of A, B, and / or C" may include all possible combinations of the listed items. Expressions such as "first", "second", "first", or "second" may modify the corresponding components regardless of order or importance, and are only used to distinguish one component from another, but do not limit the corresponding components. When (e.g., a first) component is referred to as being "connected (functionally or communicatively)" or "accessing" another (e.g., a second) component, the component may be directly connected to the other component or may be connected through other components (e.g., a third component).

[0021] As used herein, the term "module" may include a unit configured with hardware, software, or firmware, and may be used interchangeably with terms such as logic, logical block, component, or circuit. A module may be a component or a minimum unit or a part of an overall configuration that executes one or more functions. For example, a module may be configured with an application specific integrated circuit (ASIC).

[0022] Figure 1 is a block diagram of an electronic device 101 according to an embodiment. Figure 1 The electronic device 101 may include at least one of a processor 120, a memory 130, a display 140, a sensor 150, or a communication circuit 160. The processor 120, the memory 130, the display 140, the sensor 150, and the communication circuit 160 may be electronically and / or operably coupled to each other by an electronic component such as a communication bus 110. Hereinafter, different hardware (or circuits) distinguished by operably coupled boxes or blocks may mean that a direct connection or an indirect connection is established between the hardware, either wired or wirelessly, such that a second hardware among the hardware is controlled by a first hardware. Although shown based on different boxes, the embodiment is not limited thereto, and a plurality of hardware (e.g., a combination of the processor 120, the memory 130, the sensor 150, and / or the communication circuit 160) may be included in a single integrated circuit such as a system on chip (SoC). The type and / or number of hardware components included in the electronic device 101 are not limited to Figure 1 shown. Including reference Figure 1 One or more hardware described will be referred to with reference to Figure 2 and / or Figure 6 will be described.

[0023] According to an embodiment, the processor 120 of the electronic device 101 may include hardware and / or circuits for processing data based on one or more instructions. For example, the hardware and / or circuits for processing data may include an arithmetic and logic unit (ALU), a floating point unit (FPU), a field programmable gate array (FPGA), a central processing unit (CPU), and / or an application processor (AP). The number of processors 120 may be one or more. For example, the processor 120 may have a structure of a multi-core processor such as a dual-core, quad-core, or six-core processor.

[0024] According to an embodiment, the memory 130 of the electronic device 101 may include hardware components for storing data and / or instructions input to and / or output from the processor 120. The memory 130 may include, for example, volatile memory such as random access memory (RAM) and / or non-volatile memory such as read-only memory (ROM). The volatile memory may include, for example, at least one of dynamic RAM (DRAM), static RAM (SRAM), cache RAM, and pseudo SRAM (PSRAM). The non-volatile memory may include, for example, at least one of programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), flash memory, hard disk, optical disk, solid state drive (SSD), and embedded multimedia card (eMMC).

[0025] In the memory 130, one or more instructions (or commands) indicating calculations and / or operations to be performed on data by the processor 120 may be stored. A set of one or more instructions may be referred to as firmware, an operating system, a process, a routine, a subroutine, and / or an application. For example, when a set of multiple instructions distributed in the form of an operating system, firmware, driver, and / or application program is executed, the electronic device 101 and / or the processor 120 may perform Figures 9 to 12 at least one of the operations. Hereinafter, an application installed in the electronic device 101 may mean one or more instructions stored in the memory 130 of the electronic device 101 provided in the form of an application, and the one or more applications are stored in a format executable by the processor 120 of the electronic device 101 (e.g., a file having an extension preset by the operating system of the electronic device 101). According to an embodiment, the processor 120 of the electronic device 101 may perform an operation corresponding to a touch input on the surface of the housing of the electronic device 101 based on one or more applications. In an example in which multiple applications are installed in the electronic device 101, the processor 120 of the electronic device 101 may basically run multiple applications simultaneously based on multitasking.

[0026] The display 140 of the electronic device 101 may output visual information to the user (e.g., Figures 3a to 5b and Figures 7a to 8 at least one of the screens). For example, the display 140 may be controlled by the processor 120 and then output visual information to the user. The display 140 may include a flat panel display (FPD) and / or electronic paper. The FPD may include a liquid crystal display (LCD), a plasma display panel (PDP), and / or one or more light emitting diodes (LEDs). The LEDs may include organic LEDs (OLEDs).

[0027] The sensor 150 of the electronic device 101 may generate electronic information from non-electronic information associated with the electronic device 101, which can be processed by the processor 120 or stored in the memory 130. The electronic information generated by the sensor 150 may be referred to as data output from the sensor 150 (e.g., sensor data). Refer to Figure 1 , the touch sensor 151, the photoresistor 152, the global positioning system (GPS) sensor 153, the accelerometer 154, and / or the Hall sensor 155 are shown as examples of the sensor 150 included in the electronic device 101. The sensor 150 included in the electronic device 101 is not limited to the sensors shown by Figure 1 different boxes. The sensor 150 may include a circuit (e.g., a sensor hub and / or a controller) for controlling the touch sensor 151, the photoresistor 152, the GPS sensor 153, the accelerometer 154, and / or the Hall sensor 155.

[0028] According to an embodiment, the processor 120 of the electronic device 101 may identify a gesture generated by an external object contacting the housing and / or the display 140 of the electronic device 101 based on the data of the touch sensor 151. The gesture may be referred to as a touch input. The touch sensor 151 may be referred to as a touch sensor panel (TSP). The processor 120 may execute a function associated with a specific visual object selected among the visual objects displayed on the display 140 in response to detecting the touch input.

[0029] According to an embodiment, the processor 120 of the electronic device 101 may identify the brightness of ambient light based on the data of the photoresistor 152. The photoresistor 152 may be at least partially exposed through the surface of the housing of the electronic device 101 (e.g., the front surface of the housing of the electronic device 101 on which the display 140 is provided). The photoresistor 152 may output data indicating the brightness of the ambient light measured by at least a part of the surface exposed thereto.

[0030] According to an embodiment, the processor 120 of the electronic device 101 may identify the geographical location of the electronic device 101 based on the data of the GPS sensor 153. The geographical location may include a numerical value associated with the latitude and / or longitude of the planet (e.g., the Earth) on which the electronic device 101 is provided. In addition to the GPS method, the GPS sensor 153 may also output data indicating the geographical location of the electronic device 101 based on global navigation satellite systems (GNSS) such as Galileo and Beidou (Compass).

[0031] According to an embodiment, the processor 120 of the electronic device 101 may identify the physical movement of the electronic device 101 based on the accelerometer 154. The accelerometer 154 may output sensor data indicating the direction and / or magnitude of the acceleration (e.g., gravitational acceleration) applied to the electronic device 101 by using a plurality of preset axes perpendicular to each other (e.g., the x-axis, y-axis, and z-axis). Based on the sensor data indicating the acceleration, the processor 120 may identify the physical movement of the electronic device 101 (e.g., translational movement). In addition to the accelerometer 154, the electronic device 101 may further include sensors that output data dependent on the physical movement of the electronic device 101, such as a geomagnetic sensor and / or a gyro sensor. For example, the geomagnetic sensor may output sensor data indicating the direction of the magnetic field (e.g., the direction of the N pole) applied to the electronic device 101 by using two-dimensional axes to three-dimensional axes. The gyro sensor may be included in the electronic device 101 to measure the rotation of the electronic device 101. For example, the gyro sensor may output sensor data indicating a parameter (e.g., angular velocity) of the rotation of the electronic device 101 based on a preset axis. The accelerometer 154, the geomagnetic sensor, the gyro sensor, or a combination thereof may be referred to as an inertial measurement unit (IMU).

[0032] According to an embodiment, the processor 120 of the electronic device 101 may identify the shape of the housing and / or the display 140 of the electronic device 101 by using the Hall sensor 155. The Hall sensor 155 may include a pair of a magnet and a magnetic field sensor that measures a change in the magnetic field formed by the magnet. The magnet of the Hall sensor 155 and the magnetic field sensor of the Hall sensor 155 may be disposed in different parts of the housing of the electronic device 101. Based on the change in the magnetic field measured by the magnetic field sensor, the Hall sensor may identify the distance between the parts. In an embodiment in which the electronic device 101 includes a deformable housing, the electronic device 101 may identify the shape of the housing by using the Hall sensor 155 including a magnet and a magnetic field sensor disposed in different parts of the housing. For example, the Hall sensor 155 may output sensor data indicating the distance and / or shape of the housing. An example of an operation in which the electronic device 101 uses the Hall sensor 155 to identify the shape of the housing and / or the flexible display will be described with reference to Figure 6 Examples of operations in which the electronic device 101 uses the Hall sensor 155 to identify the shape of the housing and / or the flexible display will be described.

[0033] Although the touch sensor 151, the photoresistor 152, the GPS sensor 153, the accelerometer 154, and / or the Hall sensor 155 have been exemplarily described as examples of the sensor 150, embodiments are not limited thereto. According to an embodiment, at least one of the sensors 150 may be omitted Figure 1 . According to an embodiment, the sensor 150 may further include Figure 1 sensors not shown in (e.g., a grip sensor, at least one microphone, and / or a proximity sensor).

[0034] According to an embodiment, the communication circuit 160 of the electronic device 101 may include a circuit for supporting transmission and / or reception of an electronic signal between the electronic device 101 and different external electronic devices (e.g., a server). The communication circuit 160 may include at least one of, for example, a MODEM, an antenna, and an optical / electronic (O / E) converter. The communication circuit 160 may support transmission and / or reception of an electronic signal based on various types of protocols such as Ethernet, local area network (LAN), wide area network (WAN), wireless fidelity (WiFi), Bluetooth, Bluetooth low energy (BLE), ZigBee, long term evolution (LTE), and 5G new radio (NR).

[0035] Although not shown, according to an embodiment, the electronic device 101 may include an output device for outputting information in a shape other than a visualized shape. For example, the electronic device 101 may include a speaker for outputting a sound signal. For example, the electronic device 101 may include a motor for providing haptic feedback based on vibration.

[0036] According to an embodiment, when the processor 120 of the electronic device 101 displays a screen on the display 140, the processor 120 may obtain data for controlling the display 140 by using the sensor 150. For example, in a case where a touch input on the display 140 is recognized by using the touch sensor 151, the electronic device 101 may perform an operation corresponding to the touch input by using the display 140. The operation may include an operation of changing the brightness of at least a part of the screen displayed on the display 140. Changing the brightness of at least a part of the screen may be conditionally performed based on data from another sensor different from the touch sensor 151 (e.g., a photoresistor 152, a GPS sensor 153, an accelerometer 154, and / or a Hall sensor 155). The touch input may include a gesture intuitively representing a user's intention of at least partially changing the brightness of the display 140, such as a gesture covering at least a part of the display 140. Reference will be made to Figure 2 、 Figures 3a to 3c describe an operation in which the processor 120 of the electronic device 101 recognizes a gesture based on data of the touch sensor 151. Reference will be made to Figures 4a to 5b and / or Figures 7a to 8 describe an operation of changing the brightness of at least a part of the screen displayed on the display 140 based on a gesture.

[0037] Hereinafter, reference will be made to Figure 2 describe an example of an operation in which the processor 120 of the electronic device 101 recognizes a gesture for changing the brightness of at least a part of the screen displayed through the display 140 based on data of the touch sensor 151 according to an embodiment.

[0038] Figure 2 An example of an operation in which an electronic device 101 changes the brightness of a display 140 based on a touch input on the display 140 according to an embodiment is shown. Figure 2 The electronic device 101 may be Figure 1 an example of the electronic device 101. For example, Figure 2 the electronic device 101 and the display 140 may include Figure 1 the electronic device 101 and the display 140.

[0039] Referring to Figure 2 , the electronic device 101 may be a terminal. For example, the terminal may include, for example, personal computers (PCs) such as laptop computers and desktop computers, smart phones, smart boards, and / or tablet PCs. Embodiments are not limited to this example, and the terminal may include smart accessories such as smart watches and / or head-mounted devices (HMDs). The electronic device 101 may display at least one screen (or screen) corresponding to at least one application in a display area of the display 140. Hereinafter, a screen (or screen) may mean a user interface (UI) displayed in at least a part of the display 140. The screen may include, for example, an activity of the Android operating system.

[0040] Referring to Figure 2 , states 201 and 202 in which the electronic device 101 displays a screen in the display 140 according to an embodiment are shown. States 201 and 202 in which the electronic device 101 displays a screen based on executing an application for displaying a web page (e.g., a web browser application) are shown, but embodiments are not limited thereto. In state 201, the electronic device 101 may display a screen including a web page by controlling the display 140 based on a first brightness. The first brightness may be a representative value (e.g., a maximum value, a minimum value, and / or an average value) of the brightness of pixels included in the display 140. The electronic device 101 may change the brightness of all pixels in the display 140 to another brightness different from the first brightness based on data of a photoresistor (e.g., Figure 1 the photoresistor 152).

[0041] Referring to Figure 2 , in state 201 in which a screen is displayed in the display 140 based on the first brightness, the electronic device 101 may obtain data from a touch sensor (e.g., Figure 1 the touch sensor 151). The data may indicate contact between the display 140 and an external object 210. Referring to Figure 2, in state 201, an example of an external object 210 (e.g., a hand) in contact on the display 140 is shown. According to an embodiment, the electronic device 101 may identify a contact surface 220 between the display 140 and the external object 210 based on data obtained from the touch sensor. For example, the electronic device 101 may identify the size and position of the contact surface 220 and / or the pressure applied to the contact surface 220 (e.g., the pressure of the external object 210 pressing the display 140) based on the data obtained from the touch sensor. For example, the electronic device 101 may identify the coordinates of points P1, P2, P3, P4, and P5 in the contact surface 220 and / or the pressure applied to each of the points P1, P2, P3, P4, and P5 based on the data obtained from the touch sensor. Each of the points P1, P2, P3, P4, and P5 may be referred to as a contact point. The electronic device 101 may obtain coordinates including numerical values ​​indicating the positions of the contact points P1, P2, P3, P4, and P5 based on a coordinate system formed by two-dimensional axes (e.g., X-axis and / or Y-axis) formed in the display area of ​​the display 140 in a state of recognizing the external object 210 and the contact surface 220 of the display 140. The coordinates may be matched with an identifier (e.g., an index) for distinguishing each of the contact points P1, P2, P3, P4, and P5.

[0042] According to an embodiment, the electronic device 101 may recognize a gesture represented by an external object 210 contacted by the contact points P1, P2, P3, P4, and P5 on the display 140 based on the distribution of the contact points P1, P2, P3, P4, and P5. The number of contact points P1, P2, P3, P4, and P5 may be associated with the range of the contact surface 220 formed on the display 140 by the contact of the external object 210. The shapes of the contact points P1, P2, P3, P4, and P5 in the display 140 may be associated with the contact surface 220 and / or with the shape of the external object 210 contacted on the display 140. According to an embodiment, the reference numerals may be used to represent the gesture represented by the external object 210 contacted by the contact points P1, P2, P3, P4, and P5. Figures 3a to 3c An operation in which the electronic device 101 recognizes a gesture based on the distribution of contact points P1 , P2 , P3 , P4 , and P5 on the display 140 is described.

[0043] According to an embodiment, the gesture recognized by the electronic device 101 based on the distribution of the contact points P1, P2, P3, P4, and P5 may include a preset gesture for partially changing the brightness of the screen displayed in the display 140. For example, in a case where the visibility of the screen displayed by the display 140 is reduced by external light, the user viewing the display 140 may perform a gesture for compensating for the reduction in visibility caused by the external light, such as a gesture of bringing the edge of the hand into contact on the display 140 (e.g., Figure 2the gesture shown). For example, a user viewing the display 140 may perform a gesture that partially covers the display 140 to block another user viewing the display 140. According to an embodiment, the electronic device 101 may identify an exemplary gesture based on the distribution of the contact points P1, P2, P3, P4, and P5. Based on at least one of the recognized gestures, the electronic device 101 may at least partially change the brightness of the screen displayed on the display 140.

[0044] In state 201, based on recognizing an external object 210 that contacts the display 140 along the contact surface 220, the electronic device 101 may partially adjust the brightness of the screen displayed on the display 140 based on the gesture performed by the external object 210. Figure 2 State 202 may be an exemplary state after partially adjusting the brightness of the screen based on a gesture. In state 202, the electronic device 101 may change the brightness of at least one visual object of a preset type among the visual objects included in the screen to a second brightness different from the first brightness. For example, the electronic device 101 may change the brightness of a portion of the screen that displays multimedia content (such as video 230) to a second brightness that exceeds the first brightness. The operation of changing the brightness of the portion of the screen that displays video 230 to a second brightness that exceeds the first brightness may include an operation of changing the representative value of the brightness of the pixels among the pixels of the display 140 corresponding to the portion of the screen that displays video 230 to the second brightness. The operation of changing the brightness of the portion of the screen that displays video 230 to a second brightness that exceeds the first brightness may include an operation of displaying a visual object (e.g., a quadrilateral including an opening corresponding to the portion) that is superimposed on another portion different from the portion and has a preset opacity (or transparency).

[0045] Reference Figure 2 , in state 202 where a gesture for at least partially adjusting the brightness of the display 140 is recognized, the electronic device 101 may select at least one visual object to be emphasized among the visual objects included in the screen of the display 140 based on the gesture. The electronic device 101 may select at least one visual object that can be executed based on whether the type of the visual object is included in a preset type. The type of the visual object may be identified by an application executed by the electronic device 101 and / or a system application executed by the electronic device 101 to display the screen. The preset type may include at least one of a quick response (QR) code, a barcode, an image, video 230, and a soft keyboard.

[0046] As described above, the electronic device 101 according to the embodiment may recognize a gesture including the user's intention to change the brightness and / or visibility of the display 140 based on the contact surface 220 formed on the display 140. Based on the gesture, the electronic device 101 may at least partially change the brightness of the screen displayed in the display 140. For example, the electronic device 101 may increase the brightness of a preset type of visual object (e.g., video 230) that may be viewed by the user among the visual objects included in the screen to exceed the brightness of another visual object.

[0047] In the following, reference will be made to Figures 3a to 3c An example of an operation in which the electronic device 101 recognizes a gesture performed by the external object 210 in contact with the contact surface 220 by using the touch sensor is described.

[0048] Figures 3a to 3c The electronic device 101 is based on a touch sensor (eg, Figure 1 An example of an operation of recognizing a touch input on the display 140 using data of the touch sensor 151 ). Figures 3a to 3c The electronic device 101 may be Figures 1 to 2 For example, Figure 1 The electronic device 101 and the display 140 may include Figures 3a to 3c electronic device 101 and display 140.

[0049] refer to Figures 3a to 3c , showing an embodiment in which the electronic device 101 is based on a touch sensor (eg, Figure 1 The data of the touch sensor 151) identifies an external object (eg, Figure 2 Example states 301, 302, and 303 of the external object 210 of the display 140. Each of the states 301, 302, and 303 may be a state in which a different gesture is performed to adjust the visibility of the screen displayed by the display 140 by at least partially adjusting the brightness of the display 140.

[0050] According to an embodiment, the electronic device 101 may obtain information associated with the contact surface 310 between the display 140 and an external object based on data from the touch sensor. The information may include one or more parameters indicating the position and / or size of the contact surface 310 in the display 140. The information may include coordinates of one or more points indicating the contact surface 310. The coordinates of the points included in the contact surface 310 may be a combination of numerical values ​​indicating the positions of the points based on a two-dimensional axis formed in the display 140. In a display 140 having a rectangular shape, each two-dimensional axis may be parallel to edges that are perpendicular to each other in the rectangle.Figures 3a to 3c In an embodiment, the electronic device 101 includes a display 140 having a rectangular shape with a height greater than its width. Here, it is assumed that the X-axis among the two-dimensional axes is an axis parallel to the width of the display 140, and the Y-axis among the two-dimensional axes is an axis parallel to the height of the display 140.

[0051] Reference Figure 3a , an exemplary state 301 is shown, in which the electronic device 101 identifies contact points P1, P2, P3, P4, and P5 in the contact surface 310 based on data from a touch sensor. For example, in a case where the user touches the edge of the hand substantially parallel to the X-axis of the display 140, the edge of the hand may contact the display 140 in the X-axis direction, such as Figure 3a the contact surface 310 illustrated in. According to an embodiment, the electronic device 101 may identify an example gesture of the user based on the data of the touch sensor. In the example, the user may perform a gesture to improve the visibility of the display 140. The electronic device 101 may identify a gesture that has been performed to improve the visibility of the display 140 by using another sensor different from the touch sensor (e.g., Figure 1 the photoresistor 152 of). Hereinafter, reference will be made to Figure 3a to describe an example of an operation in which the electronic device 101 identifies a gesture that has been performed to improve the visibility of the display 140.

[0052] Reference Figure 3a , in response to identifying a touch input based on more than a preset number (e.g., three) of contact points P1, P2, P3, P4, and P5 based on the data of the touch sensor, the electronic device 101 may obtain the coordinates of the contact points P1, P2, P3, P4, and P5 associated with the touch input based on the data. Based on the direction and / or shape of the contact points identified according to the coordinates, the electronic device 101 may identify the shape of the contact surface 310 indicated by the contact points. The electronic device 101 may identify whether the contact surface 310 is associated with a preset gesture for partially adjusting the brightness of the display 140 by comparing the coordinates of the contact points P1, P2, P3, P4, and P5. For example, the electronic device 101 may identify whether a touch input associated with the contact points P1, P2, P3, P4, and P5 corresponds to a preset gesture based on the difference in coordinates on axes perpendicular to each other (e.g., the X-axis and / or the Y-axis).

[0053] Reference Figure 3a, the electronic device 101 can identify the difference 314 on the X-axis and the difference 312 on the Y-axis of the contact points P1, P2, P3, P4, and P5 of the identified touch input based on the data of the touch sensor. The difference 314 on the X-axis can indicate the maximum value among the differences in the X-axis coordinate values ​​of the contact points P1, P2, P3, P4, and P5, and the difference 312 on the Y-axis can indicate the maximum value among the differences in the Y-axis coordinate values ​​of the contact points P1, P2, P3, P4, and P5. Figure 3a , in a state 301 in which the difference 314 on the X axis is greater than the difference 312 on the Y axis among the differences 314 and 312 of the contact points P1, P2, P3, P4, and P5 respectively about the X axis and the Y axis, the electronic device 101 may determine that the contact points P1, P2, P3, P4, and P5 correspond to a first preset gesture for partially increasing the brightness of the display 140. The first preset gesture may include Figure 2 Among the X-axis and the Y-axis, a gesture of covering the display 140 along a direction corresponding to the X-axis is shown.

[0054] Based on recognizing that the contact points P1, P2, P3, P4, and P5 are associated with the first preset gesture, the electronic device 101 may select at least one visual object whose brightness is increased by the first preset gesture based on the visual objects in the screen displayed by the display 140. By increasing the brightness of the at least one visual object to be greater than the brightness of other visual objects, the electronic device 101 may highlight (emphasize) the at least one visual object in the display 140. Figures 4a to 4b The electronic device 101 operation in the state 301 in which it is recognized that the contact points P1 , P2 , P3 , P4 , and P5 correspond to the first preset gesture is described.

[0055] The operation of comparing the coordinates of the contact points P1, P2, P3, P4, and P5 by the electronic device 101 is not limited to the operation of comparing the difference values ​​312 and 314. For example, the electronic device 101 may identify a graph connecting the contact points P1, P2, P3, P4, and P5 based on the difference values ​​314 and 312 of each of the X-axis and the Y-axis of the contact points P1, P2, P3, P4, and P5. In the case where the graph indicates a line extending at an angle less than a preset angle range (e.g., 45° or another angle less than 45°) about the X-axis in the display 140, the electronic device 101 may determine that the touch input associated with the contact points P1, P2, P3, P4, and P5 corresponds to the first preset gesture.

[0056] The arrangement of the contact points P1, P2, P3, P4, and P5 recognized by the electronic device 101 from the data of the touch sensor is not limited to Figure 3a Reference Figure 3b, showing an exemplary state 302 in which the electronic device 101 recognizes a contact surface 320 having a shape different from that of the contact surface 310 based on data from a touch sensor. For example, in a case where the edge of a user's hand contacts the display 140 substantially parallel to the Y-axis of the display 140, the edge of the hand may contact the display 140 in the direction of the Y-axis, such as Figure 3a the contact surface 320 shown. In this example, the user may perform a gesture to enhance the security of information displayed through the display 140. Hereinafter, an example of an operation in which the electronic device 101 recognizes a gesture performed to enhance the security of information will be described with reference to Figure 3b . Figure 3b Describing an example of an operation in which the electronic device 101 recognizes a gesture performed to enhance the security of information.

[0057] Referring to Figure 3b , based on sensor data to recognize a touch input based on more than a preset number (e.g., three) of contact points Q1, Q2, Q3, Q4, and Q5, the electronic device 101 may recognize whether the touch input corresponds to a preset gesture for adjusting the brightness of at least a portion of the display 140. The electronic device 101 may recognize the shape and / or position of the contact surface 320 including the contact points Q1, Q2, Q3, Q4, and Q5 based on the coordinates of the contact points Q1, Q2, Q3, Q4, and Q5. According to an embodiment, the electronic device 101 may recognize whether the contact surface 320 corresponds to a second preset gesture for partially reducing the brightness of the display 140 by comparing the coordinates of the contact points Q1, Q2, Q3, Q4, and Q5. For example, the electronic device 101 may recognize whether a touch input associated with the contact points Q1, Q2, Q3, Q4, and Q5 corresponds to a second preset gesture based on the difference in coordinates on axes perpendicular to each other (e.g., the X-axis and / or the Y-axis).

[0058] Referring to Figure 3b , the electronic device 101 may recognize the difference 324 on the X-axis and the difference 322 on the Y-axis of the contact points Q1, Q2, Q3, Q4, and Q5. As described above with reference to Figure 3a , the difference 324 on the X-axis may indicate the maximum value among the differences in the X-axis coordinate values of the contact points Q1, Q2, Q3, Q4, and Q5, and the difference 322 on the Y-axis may indicate the maximum value among the differences in the Y-axis coordinate values of the contact points Q1, Q2, Q3, Q4, and Q5. Referring to Figure 3b , in a state 302 where the difference 322 on the Y-axis among the differences 324 and 322 is greater than the difference 324 on the X-axis, the electronic device 101 may determine that the contact points Q1, Q2, Q3, Q4, and Q5 correspond to a second preset gesture for reducing the brightness of at least a portion of the display 140. The second preset gesture may include a gesture of covering the display 140 in a direction corresponding to the Y-axis among the X-axis and the Y-axis.

[0059] In state 302 where a second preset gesture is recognized based on contact points Q1, Q2, Q3, Q4, and Q5, the electronic device 101 may recognize at least a part of the screen displayed through the display 140 that is to be dimmed by the second preset gesture. This part may include a part of a preset type of visual object among the visual objects included in the display screen for receiving a password and / or a lock pattern. This part may include, among the windows corresponding to each application executed by the electronic device 101 based on multitasking, the part where the window selected or focused by the user is displayed. Reference will be made to Figures 7a to 7c Describe the operation of the electronic device 101 in state 302 where the contact points Q1, Q2, Q3, Q4, and Q5 are recognized as corresponding to the second preset gesture.

[0060] The operation of the electronic device 101 to compare the coordinates of the contact points Q1, Q2, Q3, Q4, and Q5 is not limited to the operation of comparing the differences 322 and 324. For example, the electronic device 101 may recognize an angle in the display 140 of the figure connecting the contact points Q1, Q2, Q3, Q4, and Q5. In the case where this figure corresponds to a line with an angle extending beyond a preset angle range (e.g., 45° or another angle greater than or equal to 45°) with respect to the X-axis in the display 140, the electronic device 101 may determine that the touch input associated with the contact points Q1, Q2, Q3, Q4, and Q5 corresponds to the second preset gesture. Reference Figures 3a to 3b The electronic device 101 may recognize the second preset gesture recognized based on the contact points Q1, Q2, Q3, Q4, and Q5 arranged in different directions along a direction perpendicular to the preset direction associated with the first preset gesture (e.g., the direction of the X-axis).

[0061] The gestures performed by the user to adjust the brightness of at least a part of the screen displayed through the display 140 are not limited to the first preset gesture and the second preset gesture where the edge of the hand touches the display 140. Reference Figure 3c shows an exemplary state 303 where the electronic device 101 receives data from the touch sensor based on a contact surface 330 different from states 301 and 302 of Figures 3a to 3b For example, in the case where the user's palm touches the display 140, the shape of the palm touching the display 140 may have a shape similar to an ellipse, such as Figure 3c the exemplary contact surface 330. In this example, the user may perform a gesture to reduce the brightness of at least a part of the display 140. Hereinafter, reference will be made to Figure 3c Describe an example of the operation of the electronic device 101 to recognize a gesture performed to reduce the brightness of at least a part of the display 140.

[0062] Reference Figure 3c, the electronic device 101 may identify a touch input based on data from a touch sensor that is based on more than a preset number (e.g., three) of contact points R1, R2, R3, R4, and R5. In a state 303 of identifying the touch input, the electronic device 101 may identify whether the touch input corresponds to a preset gesture for reducing the brightness of at least a portion of the display 140. The electronic device 101 may identify the shape and / or position of the contact surface 330 based on the coordinates of the contact points R1, R2, R3, R4, and R5. According to an embodiment, the electronic device 101 may identify whether the contact surface 330 corresponds to a third preset gesture for partially reducing the brightness of the display 140, such as a gesture of covering the display 140 with a palm, by comparing the coordinates of the contact points R1, R2, R3, R4, and R5. For example, based on whether the contact points R1, R2, R3, R4, and R5 are arranged along a closed curve such as an ellipse, it may be identified whether the touch input indicated by the contact points R1, R2, R3, R4, and R5 corresponds to the third preset gesture.

[0063] Reference Figure 3c , the electronic device 101 may identify whether the contact surface 330 corresponds to the third preset gesture by comparing the shape of a preset ellipse 335 formed in the display 140 with the contact surface 330. In a state 303 of identifying the contact points R1, R2, R3, R4, and R5 included in the contact surface 330, the electronic device 101 may identify the distance between the preset ellipse 335 and the contact points R1, R2, R3, R4, and R5 based on Equation 1.

[0064] [Equation 1]

[0065] Reference Figure 3c and Equation 1, a may indicate the length of the minor axis of the preset ellipse 335, and b may indicate the length of the major axis of the preset ellipse 335. In an Figure 3c embodiment, where the preset ellipse 335 is centered at a point O in the display 140, each of x and y in Equation 1 may be the X-axis coordinate value and the Y-axis coordinate value of a contact point based on a two-dimensional coordinate system with the point O as the origin in the display 140. Referring to Equation 1, based on the coordinates x and y of the contact point, the electronic device 101 may identify the shortest distance d between the boundary line of the preset ellipse 335 and the contact point. The symbol d may indicate whether the contact point is included within the preset ellipse 335. For example, in the case where d is negative, the electronic device 101 may determine that the contact point is included within the preset ellipse 335. For example, in the case where d is 0, the electronic device 101 may determine that the contact point is set on the boundary line of the preset ellipse 335. For example, in the case where d is positive, the electronic device 101 may determine that the contact point is set outside the preset ellipse 335.

[0066] According to an embodiment, in a state where the coordinates of contact points R1, R2, R3, R4, and R5 are identified based on data of a touch sensor, the electronic device 101 may identify distances d1, d2, d3, d4, and d5 between a preset ellipse 335 and the contact points R1, R2, R3, R4, and R5 using Equation 1. As described above with reference to Equation 1, the electronic device 101 may identify a negative distance d1 from the coordinates of the contact point R1 included in the preset ellipse 335. Similarly, the electronic device 101 may identify negative distances d2, d3, d4, and d5 from the other contact points R2, R3, R4, and R5.

[0067] According to an embodiment, the electronic device 101 may identify whether the contact points R1, R2, R3, R4, and R5 correspond to a preset gesture based on distances d1, d2, d3, d4, and d5 between a preset closed curve (such as the preset ellipse 335) and the contact points R1, R2, R3, R4, and R5. For example, in a case where it is identified that the distances d1, d2, d3, d4, and d5 are all negative and are separated from the boundary line of the preset ellipse 335 by less than a preset distance, the electronic device 101 may determine that the contact points R1, R2, R3, R4, and R5 correspond to a preset gesture (e.g., a third preset gesture).

[0068] In a state 303 where a third preset gesture is identified based on the contact points R1, R2, R3, R4, and R5, the electronic device 101 may reduce the brightness of at least a part of the screen displayed through the display 140. The at least a part may include a part that displays multimedia content focused by the user, such as a preset type of visual object for receiving a password and / or a lock pattern, and / or Figure 2 video 230. The at least a part may include a part that displays a window selected or focused by the user among windows corresponding to different applications executed by the electronic device 101 based on multitasking. An operation in which the electronic device 101 reduces the brightness of at least a part of the screen in state 303 will be described with reference to Figures 5a to 5b As described above, based on the number and / or coordinates of contact points of a touch input performed on the display 140, the electronic device 101 according to an embodiment may identify whether the touch input corresponds to a preset gesture (e.g., a first preset gesture to a third preset gesture) for adjusting the brightness of at least a part of the screen displayed through the display 140. In a state where a touch input corresponding to a preset gesture is identified (e.g., states 301, 302, and 303 of FIGS. 3A to 3C), the electronic device 101 may increase or decrease the brightness of at least a part of the screen displayed through the display 140. Based on the increase or decrease in the brightness of at least a part, the electronic device 101 may perform an operation of partially adjusting the brightness of the display 140 based on the user's gesture.

[0069] ​

[0070] In the following, reference will be made to Figures 4a to 4b describe an example of an operation of adjusting the brightness of at least a part of the display 140 in a state where the first preset gesture is recognized by the electronic device 101 according to an embodiment, as in Figure 3a In the state 301 of.

[0071] Figures 4a to 4b An example of an operation of increasing the brightness of at least a part of the display 140 by the electronic device 101 based on a touch input on the display 140 according to an embodiment is shown. Figure 4a and Figure 4b The electronic device 101 of Figures 1 to 2 The electronic device 101 of Figure 1 The electronic device 101 and the display 140 of Figures 4a to 4b The electronic device 101 and the display 140 of

[0072] Reference Figures 4a to 4b shows exemplary states 401 and 402 in which the electronic device 101 changes the brightness of at least a part of the display 140 based on an external object (e.g., Figure 2 The external object 210) that contacts the display 140 along the contact surface 310. Figures 4a to 4b The contact surface 310 of Figure 3a The contact surface 310 described in the state 301 of the above reference Figure 3a For example, the electronic device 101 can identify an external object (e.g., the edge of the user's hand) that contacts the display 140 along a preset direction (e.g., the direction corresponding to the X-axis) of the display 140 based on the coordinates of the contact points P1, P2, P3, P4, and P5 included in the contact surface 310 based on the operation of the above reference

[0073] Reference Figure 4a In the state 401 of recognizing a touch input corresponding to a preset gesture (e.g., Figure 3a The first preset gesture) based on the contact points P1, P2, P3, P4, and P5, the electronic device 101 can determine whether to change the brightness of at least a part of the display 140 based on data recognized by the duration of the touch input, a photoresistor (e.g., Figure 1 The photoresistor 152), an accelerometer (e.g., Figure 1 The accelerometer 154), and / or a communication circuit (e.g., Figure 1 The communication circuit 160).

[0074] For example, based on the recognition that the duration of the detected touch input exceeds 4 seconds to 5 seconds, the electronic device 101 may change the brightness of at least a portion of the display 140. For example, based on the data of the photoresistor, based on the recognition that the brightness of the external light of the electronic device 101 exceeds a preset brightness, the electronic device 101 may change the brightness of at least a portion of the display 140. For example, based on the communication circuit and / or the GPS sensor (e.g., Figure 1 the GPS sensor 153), based on the information associated with the environment including the location of the electronic device 101 (e.g., the amount of sunlight and / or the weather), the electronic device 101 may change the brightness of at least a portion of the display 140. For example, based on the location of the electronic device 101 identified from the data of the GPS sensor, the electronic device 101 may obtain, through the communication circuit, information including the weather at the location from an external electronic device (e.g., a server). Based on the recognition of a preset type of weather (e.g., sunny weather) from the information, the electronic device 101 may change the brightness of at least a portion of the display 140. For example, based on the direction of the electronic device 101 identified from the data of the accelerometer, the electronic device 101 may change the brightness of at least a portion of the display 140. For example, based on the recognition of a preset direction according to the accelerometer (e.g., such that the display 140 faces a direction perpendicular to the direction of the gravitational acceleration), the electronic device 101 may change the brightness of at least a portion of the display 140. To adjust the brightness of the display 140, the conditions used in conjunction with the touch input based on Figure 4a the touch inputs at the contact points P1, P2, P3, P4, and P5 shown are not limited to the exemplary conditions. For example, the electronic device 101 may change the brightness of at least a portion of the display 140 based on whether at least two of the exemplary conditions are satisfied.

[0075] Refer to Figure 4a , in the state 401 where one or more conditions for changing the brightness of at least a portion of the display 140 are satisfied, the electronic device 101 may increase the brightness of a portion of the screen displayed through the display 140 to exceed the brightness of another portion. For example, based on the recognition that the touch input corresponding to the coordinates of the contact points P1, P2, P3, P4, and P5 corresponds to a preset gesture for adjusting the first brightness of the display 140, the electronic device 101 may change the brightness of a first portion of at least one first visual object of a preset type included in the screen to a second brightness different from the first brightness. The second brightness may exceed the first brightness. The electronic device 101 may increase the brightness of at least one first visual object classified as a preset type among the multiple visual objects displayed through the display 140 to exceed the brightness of a second visual object different from at least one first visual object among the multiple visual objects.

[0076] Refer to Figure 4a, shows a state 401 in which the electronic device 101 increases the brightness of a portion 410 including a QR code to be higher than that of another portion in the screen displayed through the display 140. The electronic device 101 can recognize visual objects of a preset type, including the QR code included in the portion 410. The preset type can be set to classify visual objects that the user first sees, such as QR codes, images, and videos (e.g., Figure 2 video 230)). According to an embodiment, based on one or more instructions included in an application executed by the electronic device 101, the electronic device 101 can recognize visual objects of a preset type in a screen corresponding to the application. According to an embodiment, based on a system application for generating a screen to be displayed on the display 140, the electronic device 101 can recognize visual objects of a preset type in the screen. The electronic device 101 can increase the brightness of a portion (e.g., the portion 410 including the QR code) in which the visual object is displayed to be higher than that of another portion in the state 401.

[0077] In Figure 4a the state 401, the electronic device 101 can increase the brightness of the pixels included in the portion 410 among the pixels of the display 140 to increase the brightness of the portion 410. When increasing the brightness of the pixels included in the portion 410, the electronic device 101 can decrease the brightness of the pixels included in another portion different from the portion 410. The electronic device 101 can increase the brightness of the portion 410 to the maximum brightness within an adjustable brightness range. For example, in the state 401 in which a preset gesture indicated by contact points P1, P2, P3, P4, and P5 is recognized, the electronic device 101 can increase the brightness of the portion 410 displaying the QR code to the maximum brightness. In the case where a preset gesture is recognized while the screen is displayed based on the maximum brightness, the electronic device 101 can prohibit performing an operation associated with the preset gesture. In the state 401 in which the brightness of the portion 410 is increased to the maximum brightness, the electronic device 101 can maintain the brightness of other portions different from the portion 410 at the brightness of another state before recognizing the preset gesture, or can decrease the brightness to be lower than the brightness of other states.

[0078] Reference Figure 4a, in state 401, the electronic device 101 may display a visual object 420 in the shape of a pop-up window for adjusting the brightness of the portion 410. In the visual object 420, the electronic device 101 may display a visual object 424 in the shape of a slider for receiving an input indicating the adjustment of the brightness of the portion 410. Based on the position of the visual object 426 superimposed on the visual object 424, the electronic device 101 may visualize the brightness of the portion 410. Based on the visual object 426 having the shape of a handle adjusted in the visual object 424, the electronic device 101 may recognize an input indicating the adjustment of the brightness of the portion 410. Based on a gesture of dragging the visual object 426, the electronic device 101 may recognize an input indicating the adjustment of the brightness of the portion 410. The electronic device 101 may display a visual object 422 in the shape of a checkbox in the visual object 420 to check whether to adjust the brightness of at least a part of the display 140 based on a preset gesture exemplified in the reference Figure 4a Based on the visual object 422, the electronic device 101 may recognize an input for switching whether to respond to the preset gesture. The electronic device 101 may display the visual object 420 for a preset period of time after receiving the preset gesture.

[0079] Operations performed by the electronic device 101 in response to a preset gesture recognized by the contact points P1, P2, P3, P4, and P5 are not limited to the operations described above with reference to Figure 4a Reference Figure 4b , an exemplary state 402 is shown for selectively changing the brightness of portions 431 and 432 of the display 140 distinguished by a preset gesture in response to a preset gesture recognized by the contact points P1, P2, P3, P4, and P5. In state 402, the electronic device 101 may divide the display 140 into portions 431 and 432 based on the contact surface 310 and / or the positions of the contact points P1, P2, P3, P4, and P5 in the display 140. For example, the boundary line between the portion 431 and the portion 432 may extend in the direction (e.g., X-axis direction) along which the contact surface 310 extends in the contact surface 310.

[0080] According to an embodiment, in Figure 4b state 402, the electronic device 101 may increase the brightness of the second portion 432 distinguished by the contact surface 310 to exceed the brightness of the first portion 431. In state 402, the electronic device 101 may display visual objects 440 and 420 in the shape of pop-up windows for individually controlling the brightness of each of the portions 431 and 432. For example, the visual object 420 may be displayed by the electronic device 101 to adjust the increased brightness of the portion (e.g., the second portion 432) of the display 140 having increased brightness by a preset gesture, similar to Figure 4aThe visual object 420. For example, the visual object 440 may be displayed by the electronic device 101 in the first portion 431 of the display 140 to adjust the brightness of the first portion 431 that is different from the second portion 432 adjusted by the visual object 420.

[0081] Reference Figure 4b , the visual object 440 may display a visual object 444 having a slider shape similar to that of the visual object 420 and a visual object 446 having a handle shape superimposed on the visual object 444. In the state 402 where the brightness of the second portion 432 exceeds the brightness of the first portion 431, the position of the visual object 426 in the visual object 424 may be different from the position of the visual object 446 in the visual object 444. Based on the gesture of dragging the visual object 426, the electronic device 101 may adjust the brightness of the first portion 431 based on the position of the visual object 426 dragged by the gesture in the visual object 444. Similarly, based on the gesture of dragging the visual object 426, the electronic device 101 may adjust the brightness of the second portion 432 based on the position of the visual object 426 in the visual object 424.

[0082] As described above, according to an embodiment, the electronic device 101 may increase the brightness of the portion 410 of the display 140 to exceed the brightness of another portion based on a preset gesture recognized according to the contact surface 310 and / or the contact points P1, P2, P3, P4, and P5. Since the brightness of the portion 410 of the display 140 is increased, the electronic device 101 may highlight the visual object (e.g., a preset type of visual object) included in the portion 410. Based on the highlighting of the visual object, the electronic device 101 may enhance the visibility of the visual object. Based on the enhanced visibility, the electronic device 101 may improve the user experience associated with the visual object.

[0083] Hereinafter, reference will be made to Figures 5a to 5b Describe an example of an operation of adjusting the brightness of at least a portion of the display 140 in a state where the electronic device 101 recognizes a third preset gesture (such as in the state 303 in Figure 3c ).

[0084] Figures 5a to 5b Illustrates an example of an operation in which the electronic device 101 reduces the brightness of at least a portion of the display 140 based on a touch input on the display 140 according to an embodiment. Figures 5a to 5b The electronic device 101 may be Figures 1 to 2 An example of the electronic device 101. For example, Figure 1 The electronic device 101 and the display 140 may include Figures 5a to 5b The electronic device 101 and the display 140.

[0085] ReferenceFigures 5a to 5b , shows exemplary states 501 and 502 in which the electronic device 101 reduces the brightness of at least a portion of the display 140 based on an external object (e.g., Figure 2 external object 210) that contacts the display 140 along the contact surface 330. Figures 5a to 5b The contact surface 330 may correspond to the contact surface 330 described in the above reference Figure 3c state 303. For example, the electronic device 101 may be based on a preset closed curve having an elliptical shape, based on the coordinates of contact points R1, R2, R3, R4, and R5 included in the contact surface 330, based on the above reference equation 1 and / or Figure 3c the operations described to identify an external object (e.g., the user's palm) covering the display 140.

[0086] Refer to 5a to Figure 5b , in states 501 and 502 of identifying a touch input corresponding to a preset gesture (e.g., Figure 3c the third preset gesture) based on contact points R1, R2, R3, R4, and R5 arranged along a preset closed curve, the electronic device 101 may be based on the duration of the touch input, a photoresistor (e.g., Figure 1 photoresistor 152), and / or data from an accelerometer (e.g., Figure 1 accelerometer 154) to determine whether to change the brightness of at least a portion of the display 140. For example, based on identifying that the touch input maintains a preset duration or time period (e.g., a duration exceeding 4 seconds to 5 seconds), the electronic device 101 may change the brightness of at least a portion of the display 140. For example, based on an attitude in which the electronic device 101 is identified to face a preset direction (e.g., the display 140 faces a direction perpendicular to the direction of gravitational acceleration) together with the touch input, the electronic device 101 may change the brightness of at least a portion of the display 140.

[0087] In state 501 where one or more conditions for changing the brightness of at least a portion of the display 140 are met Figure 5a , the electronic device 101 may reduce the brightness of a portion 510 of the screen displayed through the display 140 to be less than the brightness of another portion. For example, based on identifying that the touch input corresponds to a preset gesture for reducing the brightness of at least a portion of the display 140 according to the distribution of contact points R1, R2, R3, R4, and R5, the electronic device 101 may reduce the brightness of at least one visual object having a preset type (including a text box for inputting a password and / or personal information (e.g., a phone number)) among a plurality of visual objects included in the screen to be less than the brightness of other visual objects among the plurality of visual objects other than the at least one visual object. Refer to Figure 5a, the electronic device 101 may reduce the brightness of a portion 510 in which a text box for receiving personal information such as a phone number is displayed to be less than the brightness of another portion other than the portion 510.

[0088] The operation of the electronic device 101 to reduce the brightness of the portion 510 may include an operation of selectively reducing the brightness of pixels included in a portion 150 among the pixels included in the display 140. The operation of the electronic device 101 to reduce the brightness of the portion 510 may include an operation of displaying a graphic having a preset transparency superimposed on the portion 510. The electronic device 101 may reduce the brightness of the portion 510 to a preset brightness before receiving a preset gesture. While reducing the brightness of the portion 510, the electronic device 101 may maintain the brightness of another portion different from the portion 510 as the brightness before receiving a preset gesture. For example, when a preset gesture is repeatedly received, the electronic device 101 may gradually reduce the brightness of the portion 510. In a state 501 in which the brightness of the portion 510 in the display 140 is reduced, the electronic device 101 may display a visual object 420 for adjusting the reduced brightness of the portion 510. The operation of the electronic device 101 associated with the visual object 420 may be performed similarly to the operation of the electronic device 101 with respect to Figures 4a to 4b the visual object 420.

[0089] Reference Figure 5b , in a state 502 in which screens 521 and 522 corresponding to different applications executed by the electronic device 101 based on multitasking are displayed, the electronic device 101 may selectively reduce the brightness of either the screen 521 or the screen 522 in response to a preset gesture recognized by contact points R1, R2, R3, R4, and R5. For example, the electronic device 101 may reduce the brightness of a specific screen selected or focused by the user among the screens 521 and 522 corresponding to different applications to be less than the brightness of another screen. In an exemplary state 502 in which a second screen 522 among the screens 521 and 522 is focused by the user, the electronic device 101 may reduce the brightness of the second screen 522 to be less than the brightness of the first screen 521. The electronic device 101 may display a visual object 420 for adjusting the reduced brightness of the second screen 522. The electronic device 101 may display the visual object 420 superimposed on the second screen 522 having a reduced brightness.

[0090] As described above, according to an embodiment, the electronic device 101 may reduce the brightness of a portion 510 of the display 140 to be less than that of another portion based on a contact surface 330 having a preset shape (such as an ellipse) and based on a preset gesture covering the display 140. Since the brightness of the portion 510 of the display 140 is reduced, the electronic device 101 may reduce the visibility of visual objects (e.g., visual objects displaying privacy information such as a phone number and / or a password) included in the portion 510. Based on the reduced visibility, the electronic device 101 may prevent leakage of information (e.g., privacy information) included in the visual objects.

[0091] In an embodiment, the electronic device 101 may identify a preset gesture to select a portion of the display 140 whose brightness is to be adjusted based on the shape of the electronic device 101 and / or the display 140. Hereinafter, examples of the form factor of the electronic device 101 including a deformable display 140 (e.g., a flexible display) will be described with reference to Figure 6 Examples of the form factor of the electronic device 101 including a deformable display 140 (e.g., a flexible display) will be described.

[0092] Figure 6 Examples of different states 601, 602, and 603 of the housing 610 and / or the display 140 of the electronic device 101 according to an embodiment are shown. Figure 6 The electronic device 101 may be Figure 1 Examples of the electronic device 101. For example, Figure 1 The electronic device 101 and the display 140 may include Figure 6 The electronic device 101 and the display 140. Referring to Figure 6 , according to an embodiment, the electronic device 101 may include a housing 610 having a structure that can be folded along a folding axis F. The housing 610 may be referred to as a deformable housing and / or a foldable housing. The housing 610 may be divided into a hinge assembly 613 including the folding axis F, and a first housing 611 and a second housing 612 coupled to the hinge assembly 613. The hinge assembly 613 may be foldably coupled to the first housing 611 and the second housing 612 through each different surface.

[0093] Referring to Figure 6 , an embodiment is shown in which the folding axis F is formed in the display 140 of the electronic device 101 in a direction parallel to the height of the display 140. The display 140 may be disposed across the hinge assembly 613 on the surfaces of the first housing 611 and the second housing 612. A single plane may be formed by the surfaces of the first housing 611 and the second housing 612 disposed on the display 140. The single plane may be referred to as the front surface of the electronic device 101 and / or the housing 610. Another surface of the electronic device 101 and / or the housing 610 opposite to the front surface may be referred to as the rear surface.

[0094] According to an embodiment, the electronic device 101 may include a sensor for identifying the shape of the housing 610 and / or the display 140 that can be folded along the folding axis F (e.g., Figure 1 the Hall sensor 155). For example, when the Hall sensor is included in the hinge assembly 613, the electronic device 101 may identify the angle of the display 140 bent along the folding axis F by using the Hall sensor. In an example, the Hall sensor may output sensor data for identifying the angle associated with the folding axis F. For example, the IMU sensor may be included in each of the first housing 611 and the second housing 612. In an example, the electronic device 101 may identify the first direction of the gravitational acceleration applied to the first housing 611 based on the data of the first IMU sensor in the first housing 611. In an example, the electronic device 101 may identify the second direction of the gravitational acceleration applied to the second housing 612 based on the data of the second IMU sensor in the second housing 612. Each of the first IMU sensor and the second IMU sensor may output sensor data indicating the direction of the gravitational acceleration applied to the housing in which the IMU sensor is disposed based on a preset axis (e.g., the x-axis, the y-axis, and / or the z-axis).

[0095] For example, the electronic device 101 may identify the first direction of the first portion of the display 140 disposed on the first housing 611 and the angle at which the display 140 is bent along the folding axis F based on the IMU sensor included in the first housing 611 and the Hall sensor included in the hinge assembly 613. In an example where the electronic device 101 uses the sensor to identify the first direction and the angle, the electronic device 101 may obtain the second direction of the second portion of the display 140 disposed on the second housing 612 based on the first direction and the angle.

[0096] In an embodiment, the state of the electronic device 101 may be distinguished based on the shape of the housing 610 and / or the display 140 identified by the sensor. Refer to Figure 6 , different states 601, 602, and 603 of the electronic device 101 distinguished by the angle at which the housing 610 and / or the display 140 is bent along the folding axis F are shown. The angle may be identified based on the data identified by the sensor of the electronic device 101. According to an embodiment, the electronic device 101 may identify a preset state corresponding to the state of the electronic device 101 among the preset states based on the comparison result of the angle with a preset angle range. The preset state may be referred to as a preset shape and / or a preset posture, and may also be referred to as a preset mode in terms of the shape and / or posture of the housing 610 and / or the display 140.

[0097] In an embodiment, the comparison of the preset angle range with the angle at which the housing 610 and / or the display 140 is bent along the folding axis F may include a first preset angle range (e.g., a range including angles greater than 131° and less than 180°), and the first preset angle range includes a flat angle (e.g., 180°). The preset angle range may include a second preset angle range different from the first preset angle range (e.g., a range including angles in the range from 70° to 130°) and includes a right angle (e.g., 90°). The preset angle range may include a third preset angle range different from the first and second preset angle ranges and including 0° (e.g., a range including angles in the range from 0° to 70°).

[0098] The state of the electronic device 101 may be distinguished by a preset angle range including the angle and / or state of the display 140. For example, the state in which the electronic device 101 recognizes an angle included in the first preset angle range (e.g., state 601) may be referred to as an unfolded state (or non-folded state), an open state, and / or a flat angle state. For example, the state in which the electronic device 101 recognizes an angle included in the second preset angle range (e.g., state 602) may be referred to as a sub-folded state (or sub-folded state), a sub-closed state, a sub-unfolded state, a sub-open state, and / or a bent state (or bent mode). For example, the state in which the electronic device 101 recognizes an angle included in the third preset angle range (e.g., state 603) may be referred to as a folded state (or folding state) and / or a closed state. Refer to Figure 6 In state 603, which is referred to as the folded state, the display 140 may be completely blocked by the housing 610 of the electronic device 101. In terms of being blocked in the folded state, the display 140 may be referred to as an internal display.

[0099] According to an embodiment, the electronic device 101 may display a screen suitable for the display 140 in a bent state (including Figure 6 state 602) bent along the folding axis F. In the bent state, the electronic device 101 may selectively change the brightness of any part among the parts of the display 140 divided by the folding axis F based on recognizing a preset gesture (e.g., the first to third preset gestures described above with reference to Figures 3a to 3c ) for changing the brightness of at least a part of the display 140.

[0100] Hereinafter, examples of operations of the electronic device 101 for partially changing the brightness of the display 140 bent along the folding axis F according to an embodiment will be described with reference to Figures 7a to 7c and / or Figure 8 .

[0101] Figures 7a to 7cAn example of an operation is shown in which the electronic device 101 changes the brightness of at least a portion of the display 140 based on the shape of the display 140 and / or a touch input on the display 140 according to an embodiment. Figures 7a to 7c The electronic device 101 may be Figure 1 and / or Figure 6 an example of the electronic device 101. For example, Figure 1 the electronic device 101 and the display 140 may include Figures 7a to 7c the electronic device 101 and the display 140. As described above with reference to Figure 6 the electronic device 101 may include a first housing 611, a second housing 612, and a housing 610 that can be deformed by a hinge assembly 613.

[0102] Reference Figure 7a shows an exemplary state 701 in which the electronic device 101 reduces the brightness of at least a portion of the display 140 in an unfolded state including a state 601 based on an external object (e.g., Figure 6 the external object 210) that contacts the display 140 along the contact surface 710. Figure 2 The contact surface 710 may be associated with the contact surface 320 described in the above reference Figure 7a state 302. For example, the electronic device 101 may identify whether a touch input associated with the contact points S1, S2, S3, S4, and S5 corresponds to a preset gesture (e.g., Figure 3b the second preset gesture in Figure 3b ) based on the coordinates and / or number of the contact points S1, S2, S3, S4, and S5. The electronic device 101 may identify that a touch input associated with the contact points S1, S2, S3, S4, and S5 corresponds to a preset gesture based on identifying that the contact points S1, S2, S3, S4, and S5 are arranged at an angle equal to or less than a preset difference along the Y-axis parallel to the height of the width or height of the display 140 and exceeding a preset number (e.g., three). For example, the electronic device 101 may identify an external object (e.g., the edge of a user's hand) that contacts the display 140 along the Y-axis.

[0103] Reference Figure 7a shows that in the state 701 where the contact surface 710 extending along the Y-axis and / or the contact points S1, S2, S3, S4, and S5 in the contact surface 710 are recognized, the electronic device 101 may determine whether to change the brightness of at least a portion of the display 140 based on a preset gesture corresponding to the touch input based on the duration of the touch input. For example, the electronic device 101 may change the brightness of at least a portion of the display 140 based on recognizing that the touch input is maintained for a period exceeding 4 seconds to 5 seconds.

[0104] According to an embodiment, the electronic device 101 may identify at least a portion of the display 140 that adjusts the brightness based on a preset gesture based on the shape of the foldable housing 610. In a state 701 where the display 140 has a planar shape based on the unfolded state, the electronic device 101 may change the brightness of the entire display area of the display 140 based on a preset gesture. For example, the electronic device 101 may reduce the brightness of the entire display area to a brightness less than a certain brightness before receiving the preset gesture. Refer to Figure 7a , the electronic device 101 that reduces the brightness of the display 140 in the state 701 may display a visual object 420 indicating the reduction in brightness in the display 140. In response to an input associated with the visual object 420 described above with reference to Figures 4a to 4b , the electronic device 101 may change the brightness of the entire display area of the display 140.

[0105] Refer to Figure 7b , in a state 702 where the shape of the display 140 is bent along the folding axis F and has a bent shape, the electronic device 101 may change the brightness of a portion of the display area of the display 140 based on a preset gesture. The electronic device 101 may identify the angle at which the display 140 is bent along the folding axis F based on a Hall sensor (e.g., Figure 1 the Hall sensor 155). For example, in a state 702 where the identified angle is within an angle range (e.g., Figure 6 the second preset angle range) corresponding to the bent state of the state 602 including Figure 6 , the electronic device 101 may identify a preset gesture for reducing the brightness of at least a portion of the display 140 based on the contact points T1, T2, T3, T4, and T5. The electronic device 101 that identifies the preset gesture may reduce the brightness of any one of the different portions 721 and 722 of the display 140 separated by the folding axis F to be less than the brightness of the other portion.

[0106] For example, the electronic device 101 may reduce the brightness of the second portion 722 among the portions 721 and 722, which is different from the first portion 721 that performs the preset gesture corresponding to the contact points T1, T2, T3, T4, and T5, to be less than the brightness of the first portion 721. In the state 702 where the brightness of the second portion 722 is reduced to be less than the brightness of the first portion 721, the electronic device 101 may maintain the brightness of the first portion 721 at that brightness before receiving the preset gesture. The degree to which the electronic device 101 reduces the brightness of the second portion 722 may be associated with the brightness before receiving the preset gesture. For example, while the brightness of the second portion 722 is less than the preset brightness (e.g., 70% brightness), the electronic device 101 that receives the preset gesture may reduce the brightness of the second portion 722 by a first preset level (e.g., 10% brightness). For example, while the brightness of the second portion 722 exceeds the preset brightness, the electronic device 101 that receives the preset gesture may reduce the brightness of the second portion 722 by a second preset level that exceeds the first preset level (e.g., 20% brightness). As the preset gesture is repeatedly executed, the brightness of the second portion 722 may gradually decrease. Based on recognizing that the brightness of the second portion 722 has decreased to the minimum brightness (e.g., 0% brightness), the electronic device 101 may display a screen that does not include the second portion 722 based on the first portion 721. For example, at the time point when the brightness of the second portion 722 corresponds to the minimum brightness, the electronic device 101 may display a screen including a plurality of visual objects arranged based on the size of the first portion 721.

[0107] Reference Figure 7b , in the state 702 where the brightness of the second portion 722 is changed to be different from the brightness of the first portion 721 based on the contact points T1, T2, T3, T4, and T5, the electronic device 101 may display visual objects 731 and 732 for adjusting the brightness of each of the first portion 721 and the second portion 722. Each of the visual objects 731 and 732 may have the layout of the visual object 420 described in the above reference Figures 4a to 4b . Based on the visual object 731, the electronic device 101 may recognize an input indicating a change in the brightness of the first portion. Based on this input, the electronic device 101 may change the brightness of the first portion 721 among the portions 721 and 722. Based on the visual object 732, the electronic device 101 may recognize an input indicating a change in the brightness of the second portion 722. Based on this input, the electronic device 101 may change the brightness of the second portion 722 among the portions 721 and 722.

[0108] According to an embodiment, the electronic device 101 may execute an application that generates screens that substantially simultaneously occupy different portions of the display 140. The electronic device 101 may display screens (e.g., windows and / or activities) corresponding to the application based on a grid of pop-up windows and / or positional relationships in the display 140. While displaying the screens, the electronic device 101 may selectively change the brightness of any one of the screens in response to a preset gesture that indicates a change in brightness of at least a portion of the display 140.

[0109] Reference Figure 7c , an exemplary state 703 is shown in which the electronic device 101 recognizes an external object that contacts the display 140 along the contact surface 740 based on contact points U1, U2, U3, U4, and U5 while the electronic device 101 displays screens 741, 742, and 743 corresponding to different applications. In state 703, based on the contact points U1, U2, U3, U4, and U5, the electronic device 101 may recognize a preset gesture for reducing the brightness of at least a portion of the display 140. In response to the preset gesture, the electronic device 101 may reduce the brightness of a specific screen (e.g., the second screen 742) selected or focused by the user among the screens 741, 742, and 743 to be less than the brightness of other screens (e.g., the first screen 741 and / or the third screen 743). Since the electronic device 101 selectively reduces the brightness of the specific screen, the electronic device 101 may prevent another user different from the user from viewing the specific screen.

[0110] Although state 703 in which the shape of the electronic device 101 is shown to have a bent shape is shown, the operation of the electronic device 101 based on the screens 741, 742, and 743 in the unfolded state may be performed similarly to the operation Figure 7c described above.

[0111] As described above, according to an embodiment, the electronic device 101 may select at least a portion of the display 140 to be darkened by a preset gesture based on the shape of the display 140 bent along the folding axis F and / or the screens corresponding to different applications. Hereinafter, an example of an operation in which the electronic device 101 restores the brightness of at least a portion of the display 140 darkened by the preset gesture will be described with reference to Figure 8 an example.

[0112] Figure 8 An example of an operation in which the electronic device 101 changes the brightness of at least a portion of the display 140 based on a touch input on the display 140 according to an embodiment is shown. Figure 8 The electronic device 101 may be Figure 1 and / or Figure 6 an example of the electronic device 101. For example, Figure 1The electronic device 101 and the display 140 may include Figure 8 the electronic device 101 and the display 140. As described above with reference to Figure 6 the electronic device 101 may include a first housing 611, a second housing 612, and a housing 610 that can be folded by a hinge assembly 613.

[0113] Reference Figure 8 and, after the electronic device 101 adjusts the brightness of at least one of the screens 741, 742, and 743 corresponding to the execution of different applications based on the gesture described above with reference to Figures 3a to 3c an exemplary state 801. For example, in Figure 7c state 703, the electronic device 101 may selectively reduce the brightness of the second screen 742 focused by the user among the screens 741, 742, and 743, and then may switch to state 801. In the case of repeatedly receiving a gesture for adjusting the brightness of at least a part of the display 140, the electronic device 101 may gradually change the brightness of at least a part (e.g., the second screen 742) in response to the gesture. For example, the electronic device 101 may cumulatively change the brightness of at least a part of the display 140 based on the gesture described above with reference to Figures 3a to 3c the gesture described above with reference to

[0114] According to an embodiment, the electronic device 101 may receive a preset gesture for restoring the brightness of at least a part of the display 140 that has been cumulatively changed. Referring to Figure 8 a gesture for restoring the brightness of at least a part of the display 140 may include a gesture in which an external object (e.g., Figure 2 the external object 210) that is in contact with the display 140 along the contact surface 810 is dragged along a direction 820 parallel to the height of the display 140. The electronic device 101 may use a touch sensor (e.g., Figure 1 the touch sensor 151) to identify an external object dragged along the direction 820 on the display 140 based on the movement of the contact points V1, V2, V3, V4, and V5 included in the contact surface 810.

[0115] Based on identifying that more than a preset number (e.g., three) of the contact points V1, V2, V3, V4, and V5 are dragged along the direction 820 on the display 140, the electronic device 101 may normalize the brightness of the entire display area of the display 140 to a single brightness. Referring to Figure 8In a state 801 where the brightness of a portion of the display 140 (e.g., the portion where the second screen 742 is displayed) changes from the brightness of another portion (e.g., the first screen 741 and / or the third screen 743) to another brightness, the electronic device 101 may change the brightness of the portion of the display 140 to the brightness of another portion in response to contact points V1, V2, V3, V4, and V5 dragged along the direction 820.

[0116] Based on the state 703 corresponding to Figure 7c of Figure 8 the state 801, an operation of restoring the brightness of at least a portion of the display 140 by the electronic device 101 is described, but the embodiments are not limited thereto. The electronic device 101 may be in another state where the brightness of at least a portion of the display 140 changes (such as Figures 4a to 4b the states 401 and 402 of Figures 5a to 5b the states 501 and 502 of Figures 7a to 7b and / or Figure 8 the states 701 and 702 of

[0117] Based on the gesture described above with reference to Figures 9 to 12 the brightness of at least a portion of the display 140 is changed.

[0118] Figure 9 An example of a flowchart for describing the operation of an electronic device according to an embodiment is shown. Figure 9 The electronic device of Figures 1 to 8 may include the electronic device 101 of Figure 9 At least one of the operations of Figure 1 may be performed by the electronic device 101 and / or the processor 120 of

[0119] Referring to Figure 9 in operation 910, according to an embodiment, the electronic device may identify a touch input based on data obtained from a touch sensor and based on more than a preset number of contact points. The touch sensor may include Figure 1 the touch sensor 151 of Figure 1 The preset number may include 3 to 4. The electronic device may identify whether the number of contact points exceeds the preset number based on the maximum value of the indices assigned to each contact point detected substantially simultaneously by the touch sensor. The data indicating each contact point may include the coordinates of points in the touch sensing area formed by the touch sensor. The touch sensing area may correspond to the display area on the display of the electronic device (e.g., Figure 1 the display 140 of

[0120] Referring to Figure 9In operation 920, the electronic device according to the embodiment may determine whether the touch input corresponds to a preset gesture. The electronic device may determine whether the touch input corresponding to the contact point corresponds to a preset gesture based on the number and / or coordinates of the contact points identified by the data of operation 910. The preset gesture as a gesture for changing the brightness of at least a portion of the display may include the above-mentioned reference gesture. Figures 3a to 3c For example, the preset gesture may be performed by a body part of the user (e.g., the edge and / or palm of a hand) covering at least a portion of the display 140. In the case where the touch input does not correspond to the preset gesture (920-No), the electronic device may prohibit changing the brightness of at least a portion of the display 140 based on the touch input.

[0121] In response to recognizing a touch input corresponding to a preset gesture (920-Yes), in operation 930, according to an embodiment, the electronic device may change the brightness of at least a portion associated with the preset gesture to a second brightness different from the first brightness in the screen displayed on the display based on the first brightness. The preset gesture may include a gesture for changing the brightness of at least a portion to a second brightness exceeding the first brightness, such as the above-mentioned reference gesture. Figure 3a The first preset gesture described. In the state where the electronic device 101 displays a single screen corresponding to a single application (for example, Figures 4a to 4b In states 401 and 402 of the electronic device, at least a portion associated with the first preset gesture may correspond to a portion in which at least one of a plurality of visual objects included in a single screen is displayed. The at least one visual object may include a visual object of a preset type set to be highlighted relative to another visual object, such as multimedia content of an image and / or video, and a QR code (or barcode). In a state in which the electronic device displays a plurality of screens corresponding to a plurality of applications, at least a portion associated with the first preset gesture may correspond to a portion of a displayed single screen selected or focused by a user among the plurality of screens.

[0122] The preset gesture of operation 920 may include a gesture for changing the brightness of at least a portion of the display to a second brightness that is smaller than the first brightness, such as the gesture described above with reference to FIG. Figures 3b to 3c The second preset gesture and / or the third preset gesture described. In a state where the electronic device displays a single screen corresponding to a single application (eg, Figure 5a Status 501 and Figures 7a to 7bIn states 701 and 702), at least a portion associated with the second preset gesture and / or the third preset gesture may correspond to a portion of at least one visual object displayed among a plurality of visual objects included in a single screen. The at least one visual object may include a preset type of visual object associated with privacy information, such as a text box displaying a preset type of text, such as a password, a personal identification number (PIN), a phone number, a plurality of icons and / or images for receiving an unlock pattern. The at least one visual object may include multimedia content, such as an image and / or a video. In a state where the electronic device displays a plurality of screens corresponding to a plurality of applications (e.g., Figure 5b state 502 and Figure 7c state 703), at least a portion associated with the second preset gesture and / or the third preset gesture may correspond to a portion of the displayed single screen selected or focused by the user among the plurality of screens.

[0123] In a state where the brightness of at least a portion of the display is changed to a second brightness different from the first brightness based on operation 930, the electronic device may restore the brightness of at least a portion changed to the second brightness to the first brightness based on the gesture described above with reference to Figure 8 the gesture described above.

[0124] Figure 10 FIG. shows an example of a flowchart for describing the operation of an electronic device according to an embodiment. Figure 10 The electronic device may include Figures 1 to 8 electronic device 101. Figure 10 At least one of the Figure 1 operations may be performed by Figure 10 electronic device 101 and / or processor 120 of the Figure 9 electronic device. For example, Figure 9 operation 910).

[0125] Referring to Figure 10 , in operation 1010, an electronic device according to an embodiment may obtain coordinates of contact points that are in contact with and exceed a preset number on the display based on data from a touch sensor. For example, the electronic device may obtain coordinates of more than three contact points based on data from the touch sensor.

[0126] Referring to Figure 10 , in operation 1020, an electronic device according to an embodiment may identify whether the contact points are arranged along any one of preset directions. The preset directions may include a direction parallel to the width of the display (e.g., the direction of the X-axis) and / or a direction parallel to the height of the display (e.g., the direction of the Y-axis). The electronic device may be based on the difference in the coordinate values of the contact points (e.g., Figures 3a to 3bThe differences 312, 314, 322, and 324) identify the direction of the contact point.

[0127] In a state where the contact point is arranged in any one of the preset directions (1020 - Yes), in operation 1030, according to an embodiment, the electronic device may partially change the brightness of the display based on the data of the photoresistor and / or the arrangement direction of the contact point. In a case where the contact point is arranged in a direction parallel to the width of the display (e.g., the direction of the X-axis), such as Figure 3a state 301 and / or Figures 4a to 4b states 401 and 402, the electronic device may change the brightness of at least a part of the display (e.g., Figure 1 part 410) based on the data of the photoresistor (e.g., Figure 4a photoresistor 152). For example, the electronic device may partially change the brightness of the display based on the illuminance exceeding a preset illuminance recognized from the data of the photoresistor. When the contact point is arranged in a direction parallel to the height of the display (e.g., the direction of the Y-axis), such as Figure 3b state 302 and / or Figures 7b to 7c states 702 and 703, the electronic device may partially change the brightness of the display based on the data of the Hall sensor (e.g., Figure 1 Hall sensor 155). For example, based on the shape of the display recognized from the data of the Hall sensor, the electronic device may select a part of the display whose brightness is to be adjusted. For example, the state after the electronic device partially changes the brightness of the display based on operation 1030 may include Figures 4a to 4b states 401 and 402, Figures 7a to 7c states 701, 702, and 703, and / or Figure 8 state 801.

[0128] In a case where the contact point is not aligned in any of the preset directions (1020 - No), in operation 1040, according to an embodiment, the electronic device may determine whether the contact point is separated from the closed curve by less than a preset distance. The closed curve may have the shape of an ellipse formed in the display (e.g., Figure 3c preset ellipse 335). The electronic device may identify whether the contact point is included in the closed curve and / or the distance of each contact point from the closed curve based on parameters associated with the closed curve (e.g., a and b in Equation 1). As described above with reference to Figure 3c , in a case where at least one of the contact points is set outside the closed curve or separated from the closed curve by more than the preset distance (1040 - NO), the electronic device may suppress partially changing the brightness of the display based on the touch input associated with the contact point.

[0129] When the contact points are set at a preset distance from the closed curve (1040 - Yes), in operation 1050, according to an embodiment, the electronic device may partially change the brightness of the display based on the screen displayed on the display. For example, when all the contact points are set inside the closed curve and arranged in the shape of the closed curve, the electronic device may partially change the brightness of the display based on operation 1050. The state after the electronic device partially changes the brightness of the display based on operation 1050 may include Figures 5a to 5b states 501 and 502.

[0130] Figure 11 FIG. shows an example of a flowchart for describing the operation of an electronic device according to an embodiment. Figure 11 The electronic device may include Figures 1 to 8 the electronic device 101. Figure 11 At least one of the operations may be performed by Figure 1 the electronic device 101 and / or the processor 120. Figure 11 At least one of the operations may be associated with Figures 9 to 10 the operation of the electronic device (e.g., Figure 9 operation 930 and / or Figure 10 operations 1030 and 1050).

[0131] Referring to Figure 11 , in operation 1110, according to an embodiment, the electronic device may identify a preset gesture for at least partially changing the brightness of the display based on the data of the touch sensor. The preset gesture may include Figures 3a to 3b the first preset gesture. The electronic device may identify the preset gesture based on Figure 9 operations 910 and 920 and Figure 10 operations 1010, 1020, and 1040.

[0132] In a state where the preset gesture is recognized, in operation 1120, according to an embodiment, the electronic device may determine whether the brightness of the display exceeds a preset threshold brightness. The threshold brightness may be selected from among discrete and separated brightness levels. The threshold brightness may be selected within the range of the reference voltage input to the pixels of the display. The threshold brightness may be set as a percentage value within the brightness range that can be displayed by the pixels of the display.

[0133] When the brightness of the display exceeds the preset threshold brightness (1120 - Yes), in operation 1130, according to an embodiment, the electronic device may change the brightness of at least a part associated with a preset gesture in the display based on a first brightness. The first brightness as the degree of changing the display brightness may be set based on a brightness level, a magnitude of a reference voltage, and / or a value in percentage. The preset gesture in operation 1110 is Figure 3a In the case of the first preset gesture for partially increasing the brightness of the display, the electronic device may partially increase the brightness of the display at a brightness less than or equal to the maximum brightness based on the first brightness. The preset gesture in operation 1110 is Figures 3b to 3c In the case of the second preset gesture and / or the third preset gesture for partially decreasing the brightness of the display, the electronic device may partially decrease the brightness of the display at a brightness greater than or equal to the minimum brightness based on the first brightness.

[0134] When the brightness of the display is less than or equal to the preset threshold brightness (1120 - No), in operation 1140, according to an embodiment, the electronic device may change the brightness of at least a part associated with a preset gesture in the display based on a second brightness exceeding the first brightness. The preset gesture in operation 1110 is Figure 3a In the case of the first preset gesture for partially increasing the brightness of the display, the electronic device may partially increase the brightness of the display at a brightness less than or equal to the maximum brightness based on the second brightness. The preset gesture in operation 1110 is Figures 3b to 3c In the case of the second preset gesture and / or the third preset gesture for partially decreasing the brightness of the display, the electronic device may partially decrease the brightness of the display at a brightness greater than or equal to the minimum brightness based on the first brightness. In operation 1140, since the brightness of at least a part of the display changes because the second brightness exceeds the first brightness, the electronic device may change the brightness of at least a part of the display significantly more than in operation 1130.

[0135] Figure 12 Shows an example of a flowchart for describing the operation of an electronic device according to an embodiment. Figure 12 The electronic device may include Figures 1 to 8 The electronic device 101. Figure 12 At least one of the operations may be performed by Figure 1 The electronic device 101 and / or the processor 120. Figure 12 At least one of the operations may be associated with Figures 9 to 11 At least one of the operations.

[0136] Refer to Figure 12[[, in operation 1210, an electronic device according to an embodiment may identify a preset gesture for at least partially changing the brightness of a display based on data from a touch sensor. The electronic device may perform ​ operation 1210, similar to ​ operations 910 and 920, ​ operations 1010, 1020, and 1040, and / or ​ operation 1110. The preset gesture may include the first to third preset gestures described above with reference to ​ .

[0137] In a state where the preset gesture is recognized, in operation 1220, according to an embodiment, the electronic device may determine whether to display a visual object of a preset type. The visual object of the preset type may include a visual object to be highlighted on the display, such as a QR code and / or a barcode. The visual object of the preset type may include privacy information, such as an unlock pattern, a password, an ID, and / or a PIN.

[0138] In a state where a visual object of the preset type is displayed (1220 - Yes), in operation 1230, according to an embodiment, the electronic device may change the brightness of the visual object of the preset type to a brightness different from that of another part of the screen. For example, the brightness of the part where the visual object of the preset type is displayed may be increased or decreased compared to the brightness of other parts.

[0139] In a case where a visual object of the preset type is not displayed (1220 - No), in operation 1240, according to an embodiment, the electronic device may determine whether to display a video and / or an image through the display. For example, the electronic device may determine whether multimedia content including a video and / or an image is displayed on the display.

[0140] In a state where a video and / or an image is displayed (1240 - Yes), in operation 1250, an electronic device according to an embodiment may change the brightness of the video and / or the image to a brightness different from that of another part of the screen. For example, the video and / or the image may be highlighted (e.g., ​ state 202).

[0141] In a case where a video or / and an image is not displayed (1240 - No), in operation 1260, an electronic device according to an embodiment may determine whether the screen includes screens corresponding to different applications. For example, based on applications substantially simultaneously executed by the electronic device, the electronic device may identify the screens corresponding to the applications.

[0142] In a state where the display includes screens corresponding to different applications (1260 - yes), in operation 1270, according to an embodiment, the electronic device may change the brightness of the focused screen among the screens corresponding to different applications to a brightness different from that of other screens. ​ State 502 and / or ​ State 703 may include a state after changing the brightness of a specific screen based on operation 1270.

[0143] In a state where a single screen based on the execution of a single application is displayed on the display (1260 - no), in operation 1280, according to an embodiment, the electronic device may change the brightness of the entire display area. When the screen that occupies the entire display and corresponds to an application does not include a preset type of visual object, video, or image, the electronic device may change the brightness of the entire display area of the display based on a preset gesture in operation 1210.

[0144] As described above, according to an embodiment, the electronic device may change the brightness of at least a part of the display differently from that of another part based on a gesture that partially covers the display. The gesture may include a gesture for compensating for a decrease in the visibility of the display due to ambient light, a gesture for reducing the number of users viewing the display, and / or a gesture for covering the display. The electronic device may preferentially change the brightness of a part of the display that displays multimedia content such as images and / or videos and privacy information such as an unlock pattern and / or PIN.

[0145] Based on intuitively performing a gesture for adjusting the brightness of the display, a method for changing the brightness of at least a part of the display may be required. As described above, according to an embodiment, the electronic device (e.g., ​ electronic device 101) may include a display (e.g., ​ display 140), a touch sensor (e.g., ​ touch sensor 151), a memory storing instructions, and a processor (e.g., ​ processor 120). The instructions may be configured such that when executed by the processor, the electronic device obtains data from the touch sensor while displaying a screen on the display based on a first brightness. The instructions may be configured such that when executed by the processor, the electronic device identifies whether the touch input corresponds to a preset gesture for adjusting the first brightness of the display based on at least one contact point associated with the touch input recognized on the display by the data. The instructions may be configured such that when executed by the processor, the electronic device, among the multiple visual objects included in the screen, based on recognizing a touch input corresponding to the preset gesture, displays at least one first visual object having a preset type (e.g., ​The brightness of the first part of the visual object 230) is changed to a second brightness different from the first brightness. According to an embodiment, the electronic device may adjust the brightness of the display in response to an intuitively performed gesture.

[0146] For example, the instruction may be configured such that when executed by the processor, the electronic device changes the brightness of the first part to a second brightness greater than the first brightness in a state where the touch input corresponds to a preset gesture recognized based on more than a preset number of contact points arranged along a preset direction.

[0147] For example, the electronic device may further include a photoresistor (e.g., ​ the photoresistor 152). The instruction may be configured such that when executed by the processor, the electronic device obtains whether to change the brightness of the first part to the second brightness based on the data output from the photoresistor in this state.

[0148] For example, the electronic device may further include an accelerometer (e.g., ​ the accelerometer 154). The instruction may be configured such that when executed by the processor, the electronic device obtains whether to change the brightness of the first part to the second brightness based on whether the direction of the display points to a preset direction recognized from the data output from the accelerometer in this state.

[0149] For example, the instruction may be configured such that when executed by the processor, the electronic device identifies at least one first visual object among a plurality of visual objects included in the screen based on a preset type for classifying as at least one of a quick response (QR) code, an image, a video, or a soft keyboard.

[0150] For example, the instruction may be configured such that when executed by the processor, the electronic device changes the brightness of the screen to a third brightness lower than the first brightness in another state where the touch input corresponds to another preset gesture recognized based on contact points arranged along another direction perpendicular to the preset direction.

[0151] For example, the electronic device may further include a Hall sensor (e.g., Figure 1 the Hall sensor 155). The instruction may be configured such that when executed by the processor, the electronic device identifies data associated with the display from the Hall sensor, where the display is a flexible display foldable along a folding axis. The instruction may be configured such that when executed by the processor, the electronic device: based on data indicating that the display has been folded by a preset angular range along the folding axis recognized from the Hall sensor in another state, changes the brightness of a second part different from the first part among the parts of the display separated by the folding axis to the third brightness, and maintains the brightness of the first part as the first brightness.

[0152] For example, an instruction may be configured to cause, when executed by a processor, an electronic device to change the brightness of a first portion to be lower than that of a second portion when a touch input corresponds to a preset gesture recognized based on more than a preset number of contact points arranged along a closed curve.

[0153] For example, an instruction may be configured to cause, when executed by a processor, an electronic device to identify whether a contact point corresponds to a preset gesture based on a preset closed curve formed in a display and the distance between contact points.

[0154] For example, an instruction may be configured to cause, when executed by a processor, an electronic device to identify at least one first visual object among a plurality of visual objects based on a preset type for classifying at least one of a text box, an image, or a video for receiving a password.

[0155] For example, an instruction may be configured to cause, when executed by a processor, an electronic device to identify whether a touch input corresponds to a preset gesture based on the difference in coordinates on axes perpendicular to each other.

[0156] As described above, according to an embodiment, a method of an electronic device may include obtaining data from a touch sensor of the electronic device while displaying a screen based on a first brightness in a display of the electronic device. The method may include identifying a preset gesture for at least partially covering the display based on the data. The method may include changing the brightness of a first portion among portions of the display separated by a folding axis to a second brightness different from the first brightness based on recognizing the preset gesture in a first state where the display is folded within a preset angle range along the folding axis. The method may include changing the brightness of all portions to the second brightness based on recognizing the preset gesture in a second state different from the first state.

[0157] For example, obtaining data may include identifying at least one contact point in contact with the display based on the data.

[0158] For example, identifying a preset gesture may include identifying the preset gesture based on coordinates of contact points based on recognizing more than a preset number of contact points.

[0159] For example, changing the brightness in the first state may include changing the brightness of a first portion different from a second portion among portions, where the second portion is covered by the preset gesture.

[0160] For example, changing the brightness in the first state may include changing the brightness of at least one visual object included in a preset type among a plurality of visual objects displayed through the first portion based on the screen to the second brightness.

[0161] For example, changing the brightness of at least one visual object may include identifying at least one visual object among a plurality of visual objects based on a preset type for classifying at least one of a text box, an image, or a video for receiving a password.

[0162] As described above, according to an embodiment, a method of an electronic device may include obtaining data from a touch sensor of the electronic device while displaying a screen based on a first brightness on a display of the electronic device. The method may include identifying whether a touch input corresponds to a preset gesture for adjusting the first brightness of the display based on at least one contact point associated with the touch input performed on the display identified by the data. The method may include changing the brightness of a first portion including at least one first visual object having a preset type among a plurality of visual objects included in the screen to a second brightness different from the first brightness based on identifying that the touch input corresponds to the preset gesture for adjusting the first brightness of the display.

[0163] For example, the changing may include changing the brightness of the first portion to a second brightness greater than the first brightness in a state where the touch input corresponds to a preset gesture identified based on more than a preset number of contact points arranged along a preset direction.

[0164] For example, the changing may include obtaining whether to change the brightness of the first portion to the second brightness based on data output from a photoresistor of the electronic device in this state.

[0165] For example, the changing may include obtaining whether to change the brightness of the first portion to the second brightness based on whether the direction of the display points to a preset direction identified by data output from an accelerometer of the electronic device in this state.

[0166] For example, the changing may include changing the brightness of the screen to a third brightness lower than the first brightness in another state where the touch input corresponds to another preset gesture identified based on contact points arranged along another direction perpendicular to the preset direction.

[0167] For example, the changing may include changing the brightness of the first portion to a second brightness lower than the first brightness in a state where the touch input corresponds to a preset gesture identified based on more than a preset number of contact points arranged along a closed curve.

[0168] For example, the changing may include identifying whether the contact points correspond to a preset gesture based on a preset closed curve formed in the display and the distance between the contact points.

[0169] For example, the changing may include identifying at least one first visual object among a plurality of visual objects included in the screen based on a preset type for classifying at least one of a quick response (QR) code, an image, a video, or a soft keyboard.

[0170] As described above, according to an embodiment, an electronic device (e.g., Figures 1 to 8 electronic device 101) may include a display (e.g., Figures 1 to 8 display 140), a touch sensor (e.g., Figure 1 touch sensor 151), and a processor (e.g., Figure 1 processor 120). Instructions may be configured such that when executed by the processor, the electronic device obtains data from the touch sensor while displaying a screen on the display based on a first brightness. The instructions may be configured such that when executed by the processor, the electronic device identifies a preset gesture for at least partially covering the display based on the data. The instructions may be configured such that when executed by the processor, the electronic device changes the brightness of a first portion among the portions of the display separated by the folding axis to a second brightness different from the first brightness based on identifying the preset gesture in a first state where the display is folded within a preset angle range along the folding axis. The instructions may be configured such that when executed by the processor, the electronic device changes the brightness of all portions to the second brightness based on identifying the preset gesture in a second state different from the first state.

[0171] For example, the instructions may be configured such that when executed by the processor, the electronic device identifies at least one contact point in contact with the display based on the data. The instructions may be configured such that when executed by the processor, the electronic device identifies the preset gesture based on the coordinates of the contact points based on identifying more than a preset number of contact points.

[0172] For example, the instructions may be configured such that when executed by the processor, the electronic device changes the brightness of a first portion different from a second portion, where the second portion is covered by the preset gesture in the first state.

[0173] For example, the instructions may be configured such that when executed by the processor, the electronic device changes the brightness of at least one visual object included in a preset type among a plurality of visual objects displayed through the first portion based on the screen to the second brightness.

[0174] For example, the electronic device may further include a Hall sensor (e.g., Figure 1 Hall sensor 155). The instructions may be configured such that when executed by the processor, the electronic device selects the state of the electronic device between the first state and the second state by comparing the angle of the display folded by the folding axis with a preset angle range.

[0175] According to an embodiment, an electronic device may include a display, a touch sensor, and a processor. Instructions may be configured to cause the electronic device, when executed by the processor, to obtain data from the touch sensor while displaying a screen based on a first brightness in the display. The instructions may be configured to cause the electronic device, when executed by the processor, to: in response to recognizing, based on the data, a touch input based on more than a preset number of contact points, obtain coordinates of contact points associated with the touch input based on the data. The instructions may be configured to cause the electronic device, when executed by the processor, to: based on recognizing that the touch input corresponds to a preset gesture for adjusting the first brightness of the display according to the obtained coordinates, change the brightness of a first portion including at least one first visual object having a preset type among a plurality of visual objects included in the screen to a second brightness different from the brightness.

[0176] The above-described device may be implemented as a hardware component, a software component, and / or a combination of a hardware component and a software component. For example, the devices and components described in the embodiments may be implemented by using one or more general-purpose or dedicated computers, such as a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), a programmable logic unit (PLU), a microprocessor, or any other device capable of executing and responding to instructions. The processing device may execute an operating system (OS) and one or more software applications executed on the operating system. In addition, the processing device may access, store, manipulate, process, and generate data in response to the execution of the software. For ease of understanding, there is a case where one processing device is described as being used, but those of ordinary skill in the relevant art can see that the processing device may include multiple processing elements and / or multiple types of processing elements. For example, the processing device may include multiple processors or one processor and one controller. In addition, another processing configuration, such as a parallel processor, is also possible.

[0177] Software may include a computer program, code, instructions, or a combination of one or more of them, and may configure the processing device according to a desired operation, or may command the processing device independently or jointly. The software and / or data may be embodied in any type of machine, component, physical device, computer storage medium, or device to be interpreted by the processing device or to provide commands or data to the processing device. The software may be distributed over a network-connected computer system and stored or executed in a distributed manner. The software and data may be stored in one or more computer-readable recording media.

[0178] The method according to an embodiment may be implemented in the form of program commands that can be executed by various computer devices and recorded on a computer-readable medium. In this case, the medium may continuously store a program executable by a computer, or may temporarily store a program for execution or download. In addition, the medium may be various recording or storage devices, the form of which may be a single hardware or a combination of several hardwares, but is not limited to a medium directly connected to a certain computer system, and may be distributed over a network. Examples of the medium may include magnetic media (such as hard disks, floppy disks, and magnetic tapes), optical recording media (such as CD-ROMs and DVDs), magneto-optical media (such as floppy disks), and media configured to store program instructions (including ROM, RAM, flash memory, etc.). Additionally, examples of other media may include recording or storage media managed by an application store that distributes applications, sites that supply or distribute various software, servers, etc.

[0179] As described above, although the embodiments have been described with limited examples and drawings, those of ordinary skill in the relevant technical field can make various modifications and transformations based on the above description. For example, even if the described technology is executed in an order different from the described method, and / or the components of the described system, structure, device, circuit, etc. are coupled or combined in a form different from the described method, or are replaced or substituted by other components or equivalents, appropriate results can still be achieved.

[0180] Therefore, other embodiments, other examples, and equivalents of the scope of the claims are within the scope of the appended claims.

Claims

1. An electronic device, the electronic device comprising: a display; a touch sensor; a memory storing instructions; and a processor, wherein the instructions are configured to, when executed by the processor, cause the electronic device to: while displaying a screen on the display based on a first brightness, obtain data from the touch sensor; based on at least one contact point identified by the data and associated with a touch input performed on the display, identify whether the touch input corresponds to a preset gesture for adjusting the first brightness of the display; and based on identifying that the touch input corresponds to the preset gesture, change the brightness of a first portion of a plurality of visual objects included in the screen, which displays at least one first visual object of a preset type, to a second brightness different from the first brightness.

2. The electronic device according to claim 1, wherein the instructions are configured to, when executed by the processor, cause the electronic device to: while the touch input corresponds to the preset gesture identified based on more than a preset number of contact points arranged along a preset direction, change the brightness of the first portion to a second brightness higher than the first brightness.

3. The electronic device according to any one of claims 1 to 2, the electronic device further comprising a photoresistor, and wherein the instructions are configured to, when executed by the processor, cause the electronic device to: while in the state, obtain whether to change the brightness of the first portion to the second brightness based on data output by the photoresistor.

4. The electronic device according to any one of claims 1 to 3, the electronic device further comprising an accelerometer, and wherein the instructions are configured to, when executed by the processor, cause the electronic device to: while in the state, obtain whether to change the brightness of the first portion to the second brightness based on identifying whether the direction of the display points to a preset direction based on data output by the accelerometer.

5. The electronic device according to any one of claims 1 to 4, wherein the instructions are configured to, when executed by the processor, cause the electronic device to: identify the at least one first visual object among a plurality of visual objects included in the screen based on the preset type for at least one of a quick response code, an image, a video, or a software keyboard.

6. The electronic device according to any one of claims 1 to 5, wherein the instructions are configured to, when executed by the processor, cause the electronic device to: while in another state where the touch input corresponds to another preset gesture identified based on contact points arranged along another direction perpendicular to the preset direction, change the brightness of the screen to a third brightness lower than the first brightness.

7. The electronic device according to any one of claims 1 to 6, the electronic device further comprising a Hall sensor, wherein the instructions are configured to, when executed by the processor, cause the electronic device to: Identify data associated with the display from the Hall sensor, the display being a flexible display capable of folding along a folding axis; And Based on data indicating that the display has been folded by a preset angular range along the folding axis identified from the Hall sensor in the other state, change the brightness of a second portion different from the first portion including the contact point among the portions of the display separated by the folding axis to the third brightness, and maintain the brightness of the first portion at the first brightness.

8. The electronic device according to any one of claims 1 to 7, Wherein, The instructions are configured to, when executed by the processor, cause the electronic device to: In a state where the touch input corresponds to the preset gesture identified based on more than a preset number of contact points arranged along a closed curve, change the brightness of the first portion to a second brightness lower than the first brightness.

9. The electronic device according to any one of claims 1 to 8, Wherein, The instructions are configured to, when executed by the processor, cause the electronic device to: Based on a preset closed curve formed in the display and the distance between the contact points, identify whether the contact points correspond to the preset gesture.

10. The electronic device according to any one of claims 1 to 9, Wherein, The instructions are configured to, when executed by the processor, cause the electronic device to: Based on a preset type for classifying at least one of a text box, an image, or a video for receiving a password, identify the at least one first visual object among the plurality of visual objects.

11. The electronic device according to any one of claims 1 to 10, Wherein, The instructions are configured to, when executed by the processor, cause the electronic device to: Based on the coordinate difference on axes perpendicular to each other, identify whether the touch input corresponds to the preset gesture.

12. A method of an electronic device, the method Comprises: When displaying a screen on the display of the electronic device based on a first brightness, obtain data from a touch sensor of the electronic device; Based on the data, identify a preset gesture for at least partially covering the display; Based on identifying the preset gesture in a first state where the display is folded within a preset angular range along a folding axis, change the brightness of a first portion among the portions of the display separated by the folding axis to a second brightness different from the first brightness; And Based on identifying the preset gesture in a second state different from the first state, change the brightness of all portions to the second brightness.

13. The method according to claim 12, Wherein, Obtaining the data includes: Based on the data, identify at least one contact point on the display that is touched.

14. The method according to any one of claims 12 to 13, Wherein, Identifying the preset gesture includes: Based on identifying more than a preset number of contact points, identify the preset gesture based on the coordinates of the contact points.

15. A non-transitory computer-readable storage medium storing instructions, wherein, when the instructions are executed by an electronic device including a touch sensor, a display, and a processor, the electronic device is caused to: while displaying a screen on the display based on a first brightness, obtain data from the touch sensor; based on at least one contact point identified through the data and associated with a touch input performed on the display, identify whether the touch input corresponds to a preset gesture for adjusting the first brightness of the display; and based on identifying that the touch input corresponds to the preset gesture, change the brightness of a first portion including at least one first visual object having a preset type among a plurality of visual objects included in the screen to a second brightness different from the first brightness.