Display method for touch input, and electronic device performing method

By performing shape recognition on touch points and applying attribute information to enhance stroke display, the electronic device addresses the limitations of recognizing and displaying complex shapes, offering an improved digital drawing experience.

WO2026019072A1PCT designated stage Publication Date: 2026-01-22SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2025/007752
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-08-23
Filing Date
2025-06-05
Publication Date
2026-01-22

AI Technical Summary

Technical Problem

Existing electronic devices struggle to effectively recognize and display complex shapes based on touch inputs, particularly when using tools like stylus pens, limiting the intuitive and expressive capabilities of digital drawing and note-taking.

Method used

The electronic device performs shape recognition on touch points by detecting events that trigger shape recognition during stroke inputs, generating a new set of touch points based on attribute information such as pressure and velocity, and applying these attributes to determine point size and display strokes with enhanced features like thickness, brush, and texture.

Benefits of technology

This method enhances the display of touch inputs by accurately recognizing and displaying complex shapes, providing a more intuitive and expressive digital drawing experience, mimicking traditional writing with improved usability and flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2025007752_22012026_PF_FP_ABST
    Figure KR2025007752_22012026_PF_FP_ABST
Patent Text Reader

Abstract

This method performed by an electronic device may comprise the operations of: acquiring a first touch point set corresponding to a stroke input; displaying a first stroke corresponding to the first touch point set; performing figure recognition on the first touch point set on the basis of the detection of an event of triggering the figure recognition while the stroke input is received; generating a second touch point set corresponding to the shape of a figure recognized with respect to the first touch point set; determining second attribute information of the second touch point set by using first attribute information of the first touch point set; determining the point size of the second touch point set on the basis of the second attribute information; generating a second stroke on the basis of the point size of the second touch point set; and displaying the second stroke.
Need to check novelty before this filing date? Find Prior Art

Description

Display method for touch input and electronic device performing the same

[0001] Hereinafter, a method for displaying a shape based on touch input in an electronic device is disclosed.

[0002] Electronic devices such as smartphones, tablets, personal computers (PCs), or wearable devices can receive touch input not only from the user's finger but also from input tools such as external electronic devices (e.g., electronic pens, stylus pens). Based on touch input to the display, the electronic devices can provide various functions, such as note-taking, sketching, and drawing.

[0003] Creating content using a finger or stylus offers greater freedom, allows for more intuitive and rapid input, and, thanks to improvements in handwritten character recognition technology, is significantly increasing its usability. Furthermore, by applying options like pen thickness (or width), brush, texture, and color, users can achieve the same effect as writing on a real note.

[0004] The above information may be provided as background art to aid in understanding the present disclosure. No claim or determination is made as to whether any of the above-described matters constitute prior art related to the present disclosure.

[0005] According to one embodiment, an electronic device may include a display. The electronic device may include at least one processor including processing circuitry. The electronic device may include a memory including one or more storage media storing instructions. When the instructions are individually or collectively executed by the at least one processor, the instructions may cause the electronic device to: obtain a first set of touch points corresponding to a stroke input received on the display. When the instructions are individually or collectively executed by the at least one processor, the instructions may cause the electronic device to: display a first stroke corresponding to the first set of touch points through the display. When the instructions are individually or collectively executed by the at least one processor, the instructions may cause the electronic device to: perform shape recognition on the first set of touch points based on detecting an event that triggers shape recognition while the stroke input is received. When the above instructions are individually or collectively executed by the at least one processor, the electronic device may be caused to: generate a second set of touch points corresponding to the shape of the shape recognized for the first set of touch points. When the above instructions are individually or collectively executed by the at least one processor, the electronic device may be caused to: determine second attribute information of the second set of touch points using first attribute information of the first set of touch points. The first attribute information may include at least one of a pressure or a velocity related to a touch input corresponding to each of the touch points included in the first set of touch points.When the above instructions are individually or collectively executed by the at least one processor, the electronic device may be caused to: determine a point size of the second set of touch points based on the second attribute information. When the above instructions are individually or collectively executed by the at least one processor, the electronic device may be caused to: generate a second stroke based on the point size of the second set of touch points. When the above instructions are individually or collectively executed by the at least one processor, the electronic device may be caused to: display the second stroke through the display.

[0006] In one embodiment, a method performed by an electronic device may include obtaining a first set of touch points corresponding to a stroke input received on a display of the electronic device. The method performed by the electronic device may include displaying a first stroke corresponding to the first set of touch points through the display. The method performed by the electronic device may include performing shape recognition on the first set of touch points based on detecting an event that triggers shape recognition while the stroke input is received. The method performed by the electronic device may include generating a second set of touch points corresponding to a shape of a shape recognized on the first set of touch points. The method performed by the electronic device may include determining second attribute information of the second set of touch points using first attribute information of the first set of touch points. The first attribute information may include at least one of a pressure or a velocity related to a touch input corresponding to each of the touch points included in the first set of touch points. The method performed by the electronic device may include an operation of determining a point size of the second touch point set based on the second attribute information. The method performed by the electronic device may include an operation of generating a second stroke based on the point size of the second touch point set. The method performed by the electronic device may include an operation of displaying the second stroke through the display.

[0007] According to one embodiment, a non-transitory computer-readable recording medium may store one or more programs including instructions. When the instructions are individually or collectively executed by at least one processor (120, 210) of an electronic device (101, 201), the instructions may cause the electronic device (101, 201) to perform an operation of: acquiring a first set of touch points corresponding to a stroke input received on a display (160, 230) of the electronic device (101, 201). When the instructions are individually or collectively executed by the at least one processor (120, 210) of the electronic device (101, 201), the instructions may cause the electronic device (101, 201) to perform an operation of: displaying a first stroke corresponding to the first set of touch points through the display (160, 230). When the above commands are individually or collectively executed by the at least one processor (120, 210) of the electronic device (101, 201), the electronic device (101, 201) may perform an operation of: performing shape recognition for the first set of touch points based on detecting an event that triggers shape recognition while the stroke input is received. When the above commands are individually or collectively executed by the at least one processor (120, 210) of the electronic device (101, 201), the electronic device (101, 201) may perform an operation of: generating a second set of touch points corresponding to the form of the shape recognized for the first set of touch points.When the above instructions are individually or collectively executed by the at least one processor (120, 210) of the electronic device (101, 201), the electronic device (101, 201) may perform an operation of: determining second attribute information of the second touch point set using first attribute information of the first touch point set, the first attribute information including at least one of a pressure or a velocity with respect to a touch input corresponding to each of the touch points included in the first touch point set. When the above instructions are individually or collectively executed by the at least one processor (120, 210) of the electronic device (101, 201), the electronic device (101, 201) may perform an operation of: determining a point size of the second touch point set based on the second attribute information. When the above commands are individually or collectively executed by the at least one processor (120, 210) of the electronic device (101, 201), the electronic device (101, 201) may perform an operation of: generating a second stroke based on the point size of the second touch point set. When the above commands are individually or collectively executed by the at least one processor (120, 210) of the electronic device (101, 201), the electronic device (101, 201) may perform an operation of: displaying the second stroke through the display (160, 230).

[0008] FIG. 1 is a block diagram of an electronic device within a network environment according to one embodiment.

[0009] FIG. 2 is a block diagram of an electronic device according to one embodiment.

[0010] FIG. 3 is a drawing illustrating a display method for touch input according to an example.

[0011] Figure 4 is a flowchart of a display method according to one embodiment.

[0012] FIG. 5 is a flowchart of a method for determining second attribute information using first attribute information according to embodiments.

[0013] Figure 6 is a drawing explaining a method of displaying speed according to an example.

[0014] Figure 7 is a drawing explaining a method of indicating pressure according to an example.

[0015] Figure 8 is a drawing explaining a display method for characteristic values ​​according to an example.

[0016] FIG. 9 is a flowchart of a display method when a shape indicates an intersection point according to one embodiment.

[0017] Figure 10 is a drawing illustrating a method of indicating an intersection point according to an example.

[0018] Figure 11 is a flowchart of a display method according to point-wise point size, according to one embodiment.

[0019] Figure 12 is a flowchart of a display method according to stroke-wise point size, according to one embodiment.

[0020] Hereinafter, an embodiment of the present document may be described with reference to the attached drawings.

[0021] FIG. 1 is a block diagram of an electronic device within a network environment according to one embodiment.

[0022] Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with an electronic device (104) or a server (108) via a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).

[0023] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit (CPU) or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit (GPU), a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.

[0024] The auxiliary processor (123) may control at least a part of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, in the electronic device (101) itself where artificial intelligence is performed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.

[0025] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).

[0026] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).

[0027] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).

[0028] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. According to one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.

[0029] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.

[0030] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).

[0031] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

[0032] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

[0033] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0034] A haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

[0035] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.

[0036] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

[0037] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0038] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).

[0039] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) may support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.

[0040] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). According to one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). According to one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas by, for example, the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device through the selected at least one antenna. According to some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).

[0041] In one embodiment, the antenna module (197) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.

[0042] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).

[0043] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service by itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

[0044] FIG. 2 is a block diagram of an electronic device according to one embodiment.

[0045] According to one embodiment, an electronic device (201) (e.g., electronic device (101) of FIG. 1) in a system (200) may include a processor (210) (e.g., processor (120) of FIG. 1), a memory (220) (e.g., memory (130) of FIG. 1), and a display (230) (e.g., display module (160) of FIG. 1).

[0046] The display (or display device) (230) of the electronic device (201) can simultaneously support data input / output functions.

[0047] The electronic device (201) can receive (or acquire) a touch input through the display (230). The electronic device (201) can receive a touch input from a user's body (e.g., a hand) or an external electronic device (e.g., an external electronic device (102) of FIG. 1). For example, the external electronic device can be a digital pen (or stylus pen).

[0048] The display (230) may include a sensing panel and a display panel. The display (230) may include a sensing panel and a display panel that form a layered structure. In some embodiments, the sensing panel may form a layered structure with the display panel, but may not be included in the display (230).

[0049] The sensing panel of the display (230) can detect the position of a touch input, and the display panel can output an image. According to one embodiment, the display (230) can further include a driving circuit that controls the display panel to output an image through the display panel.

[0050] The sensing panel of the display (230) may be configured as an input pad of the EMR (electro-magnetic resonance) method or the EMI (electro-magnetic interface) method using an electromagnetic sensor if the external electronic device supports the EMR (electro-magnetic resonance) method. This is merely an example, and the input pad may also be configured as an ECR (electrically coupled resonance) method or another type of input pad.

[0051] The sensing panel of the display (230) can receive a magnetic field from an external electronic device and detect the location of the external electronic device from the magnetic field. The sensing panel can be composed of one or more panels forming a mutually layered structure to detect input using a plurality of sensors.

[0052] The sensing panel of the display (230) may be implemented as a touch screen panel (TSP). When implemented as a touch screen panel, the sensing panel may also identify the location of an external electronic device based on an output signal from an electrode. According to one embodiment, the external electronic device may be implemented using an active electrostatic (AES) method, and those skilled in the art will understand that there is no limitation on the type of implementation.

[0053] The sensing panel of the display (230) can detect contact, proximity, or non-contact with a human body (e.g., a user's finger) in addition to an external electronic device. For example, the sensing panel can detect inputs such as a touch down, touch move, or touch up by an external electronic device or a user's finger. The sensing panel can generate an input signal corresponding to a touch down, touch move, or touch up by an external electronic device or a user's finger and transmit the same to the processor (210).

[0054] The sensing panel of the display (230) can transmit at least one touch point corresponding to a touch down to the processor (210).

[0055] The sensing panel of the display (230) can transmit touch points to the processor (210) at specified time intervals (e.g., 3 ms) according to a touch move (e.g., drawing) after a touch down. For example, the sensing panel can transmit 120 touch points per second to the processor (210).

[0056] The display panel of the display (230) can receive and display display data from the processor (210). For example, the display panel can display an application screen according to the execution of an application (e.g., a note application) from the processor (210). The display panel can display at least one stroke on the application screen. The stroke can be an image (or a drawing image) representing the trajectory of a touch input.

[0057] The configuration of the display (230) is not limited to the above-described example, and the type and number of panels constituting the display (230) and the upper and lower layers of the panels may vary depending on the manufacturing technology of the electronic device (201).

[0058] The processor (210) can receive input from an external electronic device or a human body (e.g., a user's finger) from the sensing panel. The processor (210) can receive an input signal corresponding to a touch down, touch move, or touch up from the sensing panel.

[0059] The processor (210) can receive at least one touch point corresponding to a touch down from the sensing panel.

[0060] The processor (210) can receive touch points at a specified time interval (e.g., 3 ms) based on a touch move (e.g., drawing) after a touch down from the sensing panel. For example, the processor (210) can receive 120 touch points per second from the sensing panel.

[0061] The processor (210) can control the display panel to display strokes corresponding to touch points received from the sensing panel. The processor (210) can receive a touch-up signal based on a touch-up during a touch move from the sensing panel. Based on receiving the touch-up signal, the processor (210) can store touch points from the touch-down to the touch-up as a single stroke data.

[0062] FIG. 3 is a drawing illustrating a display method for touch input according to an example.

[0063] The screens (310 to 370) of FIG. 3 are examples of screens displayed through a display (e.g., the display module (160) of FIG. 1 or the display (230) of FIG. 2) of an electronic device (e.g., the electronic device (101) of FIG. 1 or the electronic device (201) of FIG. 2). The electronic device may include at least some of the components of the electronic device (101) described in FIG. 1 or the electronic device (201) described in FIG. 2. For example, the electronic device may include at least one processor including a processing circuit (e.g., the processor (120) of FIG. 1 or the processor (210) of FIG. 2), a memory including one or more storage media for storing instructions (e.g., the memory (130) of FIG. 1 or the memory (220) of FIG. 2), and a display (e.g., the display module (160) of FIG. 1 or the display (230) of FIG. 2).

[0064] An electronic device can receive (or acquire) a touch input from an external electronic device (e.g., the external electronic device (102) of FIG. 1) (e.g., a stylus pen) or a human body (e.g., a user's finger) through a display. For example, the electronic device can receive an input signal corresponding to a touch-down, a touch-move, or a touch-up through the display.

[0065] An electronic device can receive stroke input through a display. A stroke input is a touch input consisting of a touch-down and touch-move on the display of the electronic device. The electronic device can acquire a set of touch points corresponding to the stroke input.

[0066] A set of touch points corresponding to a stroke input may include at least one touch point corresponding to a touch down and touch points received at specified time intervals (e.g., 3 ms) following a touch move (e.g., drawing) after the touch down.

[0067] An electronic device can display strokes corresponding to a set of touch points via a display. The electronic device can store at least one touch point corresponding to a touchdown as the starting point of a stroke input, and display strokes corresponding to touch points received at specified time intervals in real time. In other words, the electronic device can update and display strokes at specified time intervals.

[0068] Electronic devices may display strokes with drawing options applied (e.g., pen thickness (or width), brush, texture, color, and / or other options). Electronic devices may display strokes with drawing options applied, either by default or set and / or changed by the user.

[0069] An electronic device can display a stroke based on attribute information of a touch point set corresponding to a stroke input. The attribute information of the touch point set may include at least one of a pressure applied to a display (or a display panel) by a user's body (e.g., a finger) or an external electronic device, a speed of a touch move, a vertical displacement ratio of the touch move, an azimuth of the external electronic device with respect to the display surface, and an elevation angle (tilt) of the external electronic device with respect to the display surface (or an angle formed by the external electronic device with a normal line of the display). The attribute information of the touch point set may include at least one of a pressure, a speed, a vertical displacement ratio, an azimuth, or an elevation angle related to a touch input corresponding to each of the touch points included in the touch point set.

[0070] The electronic device may display the stroke as bolder (or larger point size of the touch point) as the pressure, vertical displacement rate, azimuth, and / or elevation of the stroke input increases.

[0071] The electronic device can display the stroke thinner (or the point size of the touch point smaller) as the speed of the stroke input increases.

[0072] The electronic device can determine whether an event that triggers shape recognition occurs while a stroke input is received.

[0073] Events that trigger shape recognition may include a hold event, where the touch move of the stroke input is maintained for a set period of time (e.g., 500 ms). A hold event may be where the touch move of the stroke input is maintained for a set period of time in an area of ​​a set size (e.g., 8 px × 8 px).

[0074] An electronic device may perform shape recognition on a set of touch points corresponding to a stroke input based on detecting an event that triggers shape recognition while a stroke input is received. The electronic device may perform shape recognition on a set of touch points that includes touch points acquired (or accumulated) up to the point at which the event that triggers shape recognition is detected.

[0075] An electronic device can perform shape recognition by analyzing a set of touch points (or a trajectory of stroke input) based on detecting an event that triggers shape recognition. The shape may include various shapes composed of points and lines. For example, the shape may include a closed curve such as a triangle, square, circle, oval, trapezoid, or star, or a straight line or curve.

[0076] When the electronic device successfully recognizes a shape for a set of touch points, the electronic device can acquire a new set of touch points for the recognized shape. The electronic device can display a new stroke corresponding to the new set of touch points on the display while the stroke input is not touched up.

[0077] Referring to FIG. 3, an electronic device can receive a stroke input through a display and acquire a first set of touch points corresponding to the stroke input. The electronic device can display a first stroke corresponding to the first set of touch points. In screens (310-360) of FIG. 3, the electronic device can update and display the first stroke corresponding to the touch points received at specified time intervals.

[0078] The electronic device can display the first stroke based on first attribute information of the first set of touch points corresponding to the stroke input. The electronic device can determine the thickness (or width) of the first stroke based on the pressure, direction, speed, vertical displacement rate, azimuth, and / or elevation angle of the stroke input. For example, the electronic device can display the first stroke thicker (or the point size of the touch point larger) as the pressure, vertical displacement rate, azimuth, and / or elevation angle of the stroke input increases. The electronic device can determine the thickness of the first stroke to be inversely proportional to the speed of the stroke input. The electronic device can display the first stroke thinner (or the point size of the touch point smaller) as the speed increases.

[0079] The electronic device may perform shape recognition for a first set of touch points based on detecting an event that triggers shape recognition while a stroke input is received. In one embodiment, the electronic device may perform shape recognition for the first set of touch points based on detecting a hold event in which a touch move of the stroke input is maintained for a predetermined period of time. For example, in FIG. 3 , the electronic device may recognize an ellipse for the first set of touch points.

[0080] The electronic device can generate a second set of touch points corresponding to the elliptical shape recognized for the first set of touch points. In the screen (370) of FIG. 3, the electronic device can display a second stroke corresponding to the second set of touch points through the display when the stroke input is not touched up. The electronic device can display the second stroke by replacing the first stroke.

[0081] The electronic device may determine the thickness of the second stroke to be proportional to the pressure, vertical displacement rate, azimuth, and / or elevation of the stroke input. The electronic device may display the second stroke as thicker (or, a larger point size of the touch point) as the pressure, vertical displacement rate, azimuth, and / or elevation of the stroke input increases.

[0082] The electronic device can determine the thickness of the second stroke inversely proportional to the speed of the stroke input. The electronic device can display the second stroke thinner (or the touch point size smaller) as the speed of the stroke input increases. The method for displaying the second stroke is described in detail with reference to FIGS. 4 to 12.

[0083] Figure 4 is a flowchart of a display method according to one embodiment.

[0084] According to one embodiment, the operations 410 to 490 below may be performed by an electronic device (e.g., the electronic device 101 of FIG. 1 or the electronic device 201 of FIG. 2). The electronic device may include at least some of the components of the electronic device 101 described in FIG. 1 or the electronic device 201 described in FIG. 2. For example, the electronic device may include at least one processor including a processing circuit (e.g., the processor 120 of FIG. 1 or the processor 210 of FIG. 2), a memory including one or more storage media for storing instructions (e.g., the memory 130 of FIG. 1 or the memory 220 of FIG. 2), and a display (e.g., the display module 160 of FIG. 1).

[0085] An electronic device can receive (or acquire) a touch input from an external electronic device (e.g., the external electronic device (102) of FIG. 1) (e.g., a stylus pen) or a human body (e.g., a user's finger) through a display. For example, the electronic device can receive an input signal corresponding to a touch-down, a touch-move, or a touch-up through the display.

[0086] The electronic device can receive stroke input through the display. Stroke input is a touch input consisting of a touch-down and touch-move on the display of the electronic device.

[0087] In operation 410, the electronic device may acquire a first set of touch points corresponding to a stroke input received on the display.

[0088] A first set of touch points corresponding to a stroke input may include at least one touch point corresponding to a touch down and touch points received at specified time intervals (e.g., 3 ms) following a touch move (e.g., drawing) after the touch down.

[0089] In operation 420, the electronic device may display a first stroke corresponding to a first set of touch points through the display. The first stroke may be an image (or a drawing image) representing a trajectory of the touch input.

[0090] The electronic device can store at least one touch point corresponding to a touchdown as a starting point of a stroke input, and display in real time a first stroke corresponding to the touch points received at a specified time interval. That is, the electronic device can update and display the first stroke at a specified time interval.

[0091] Actions 410 to 490 may be performed while the touch move of the stroke input is maintained. For example, if the stroke input touches up while displaying the first stroke, the electronic device may stop updating and displaying the first stroke. The electronic device may display the first stroke corresponding to the first touch point set including the touch points acquired up to the point where the stroke input touches up.

[0092] At operation 430, the electronic device can determine whether an event triggering shape recognition occurs while a stroke input is received.

[0093] Events that trigger shape recognition may include a hold event in which a touch move of a stroke input is maintained for a set period of time (e.g., 500 ms). A hold event may be a touch move of a stroke input being maintained for a set period of time in an area of ​​a set size (e.g., 8 px × 8 px).

[0094] An event that triggers shape recognition may include a signal received from an external electronic device while a stroke input is being received. For example, an event that triggers shape recognition may include a signal indicating tapping (or, tapping) the external electronic device. The electronic device may detect an event that triggers shape recognition when a user taps a portion of the external electronic device once or multiple times while drawing using the external electronic device.

[0095] An event that triggers shape recognition may include a press event in which pressure applied to the display by the user's body or an external electronic device exceeds a predetermined level while a stroke input is received. The electronic device may detect an event that triggers shape recognition when the user presses the display with a pressure exceeding a predetermined level (threshold) while drawing using the user's body or an external electronic device.

[0096] Events that trigger shape recognition are not limited to the examples of the present disclosure and may be preset, stored, or changed by the user.

[0097] In operation 440, the electronic device may perform shape recognition for a first set of touch points based on detecting an event that triggers shape recognition while a stroke input is received.

[0098] The electronic device can perform shape recognition for a first set of touch points that includes touch points acquired (or accumulated) up to the point at which an event triggering shape recognition is detected.

[0099] An electronic device can perform shape recognition by analyzing a set of touch points (or, a stroke input trajectory) based on detecting an event that triggers shape recognition. The shape may include various geometric shapes composed of points and lines. For example, the geometric shape may include a triangle, square, circle, oval, trapezoid, or closed curve such as a star, or a straight or curved line.

[0100] In one embodiment, an electronic device may perform shape recognition using a pre-trained model that outputs the most similar shape when a stroke trajectory (or a set of points) is input. For example, the electronic device may perform shape recognition using a pre-trained machine learning model.

[0101] According to one embodiment, the electronic device can determine the most similar or matching shape among predefined shapes by extracting features of a set of touch points corresponding to a stroke input (e.g., a start point, an end point, an angle change, a corner (a point where the amount of change in direction is greater than a threshold value)).

[0102] According to one embodiment, the electronic device can decompose the trajectory of a stroke input into several smaller vectors and generate a histogram based on the calculated direction and magnitude of each vector. The electronic device can perform shape recognition by analyzing the characteristics of the stroke input represented by the histogram and comparing them with predefined shapes. For example, if the stroke input represents a circular trajectory, all vectors may appear relatively evenly. If the stroke input represents a linear trajectory, a specific direction may appear more frequently.

[0103] In operation 450, the electronic device may generate a second set of touch points corresponding to the shape of the shape recognized for the first set of touch points.

[0104] According to one embodiment, the electronic device may generate a second set of touch points including touch points arranged at specified intervals according to the shape of the recognized shape.

[0105] According to one embodiment, the electronic device can generate a second set of touch points by rearranging touch points included in the first set of touch points according to the shape of a shape.

[0106] In operation 460, the electronic device can determine second attribute information of the second touch point set using first attribute information of the first touch point set.

[0107] The attribute information (e.g., first attribute information, second attribute information) may include at least one of pressure applied to the display (or display panel) by a user's human body (e.g., finger) or an external electronic device, a speed of a touch move, a vertical displacement rate of the touch move, an azimuth of the external electronic device with respect to the display surface, and an elevation angle of the external electronic device with respect to the display surface (or an angle formed by the external electronic device with a normal line of the display). The attribute information may include at least one of pressure, speed, vertical displacement rate, azimuth, or elevation angle with respect to a touch input corresponding to each of the touch points included in the touch point set.

[0108] In one embodiment, the electronic device can calculate, for each touch point, a velocity, which is the displacement of the touch point per unit time. Alternatively, for touch points acquired per unit time, the displacement of the touch points can be considered as the velocity. A method for displaying velocity is described in detail with reference to FIG. 6.

[0109] According to one embodiment, the electronic device can acquire pressure for each touch point through the display. A method for displaying pressure is described in detail with reference to FIG. 7.

[0110] According to one embodiment, the electronic device may calculate, for each touch point, a vertical displacement ratio representing the verticality of movement from the previous touch point. A method for displaying the vertical displacement ratio is described in detail with reference to FIG. 8.

[0111] In one embodiment, the electronic device may receive azimuth and / or elevation information from an external electronic device (e.g., a stylus pen) that has established a communication connection with the electronic device.

[0112] The method for determining the second attribute information is described in detail with reference to FIGS. 5 and 9.

[0113] In operation 470, the electronic device may determine a point size of a second set of touch points based on the second attribute information. The point size may represent a diameter (or width) of the point.

[0114] According to one embodiment, the electronic device may determine a point size for each of the touch points included in the second touch point set based on a respective attribute corresponding to each of the touch points included in the second touch point set. A method for displaying point-wise point sizes is described in detail with reference to FIG. 11.

[0115] According to one embodiment, the electronic device may determine a point size based on an average of attributes corresponding to each of the touch points included in the second touch point set. A method for displaying point sizes according to stroke-wise points is described in detail with reference to FIG. 12.

[0116] At operation 480, the electronic device may generate a second stroke based on the point sizes of the second set of touch points.

[0117] The electronic device may generate a second stroke having the point size and drawing options (e.g., pen thickness (or width), brush, texture, color, and / or other options) of the second set of touch points applied. For example, the electronic device may generate a second stroke having the point size of the second set of touch points applied together with drawing options that are set by default or set and / or changed by the user.

[0118] In one embodiment, the electronic device can generate a second stroke by applying a determined point size to each of the touch points included in the two touch point sets.

[0119] According to one embodiment, the electronic device can generate a second stroke by uniformly applying a point size to touch points included in a set of two touch points.

[0120] In operation 490, the electronic device may display the second stroke through a display. The electronic device may display the first stroke as a replacement for the second stroke.

[0121] According to one embodiment, the electronic device can receive a separate touch input (e.g., touch down, touch move) through the display while performing the aforementioned operations without a stroke input being touched up. The electronic device can display an image (e.g., a drawing image or stroke) corresponding to the separate touch input through the display. The electronic device can asynchronously perform the operation of displaying the image corresponding to the separate touch input and the operation 430 of checking whether an event triggering shape recognition has occurred to the operation 480 of generating a second stroke. The electronic device can display the image corresponding to the separate touch input without delay even while performing the aforementioned operations by processing the operations 430 to 480 in a separate thread other than the main thread (e.g., a user interface thread).

[0122] FIG. 5 is a flowchart of a method for determining second attribute information using first attribute information according to embodiments.

[0123] According to one embodiment, the operations 510 to 550 below may be performed by an electronic device (e.g., the electronic device 101 of FIG. 1 or the electronic device 201 of FIG. 2). The electronic device may include at least some of the components of the electronic device 101 described in FIG. 1 or the electronic device 201 described in FIG. 2. For example, the electronic device may include at least one processor including a processing circuit (e.g., the processor 120 of FIG. 1 or the processor 210 of FIG. 2), a memory including one or more storage media for storing instructions (e.g., the memory 130 of FIG. 1 or the memory 220 of FIG. 2), and a display (e.g., the display module 160 of FIG. 1).

[0124] An electronic device can receive (or acquire) a touch input from an external electronic device (e.g., the external electronic device (102) of FIG. 1) (e.g., a stylus pen) or a human body (e.g., a user's finger) through a display. For example, the electronic device can receive an input signal corresponding to a touch-down, a touch-move, or a touch-up through the display.

[0125] An electronic device can receive a stroke input through a display. The stroke input is a touch input consisting of a touch-down and a touch-move on the display of the electronic device. The electronic device can obtain a first set of touch points corresponding to the stroke input received on the display. The electronic device can display a first stroke corresponding to the first set of touch points through the display. The electronic device can determine whether an event that triggers shape recognition occurs while the stroke input is received. The electronic device can perform shape recognition for the first set of touch points based on detecting an event that triggers shape recognition while the stroke input is received.

[0126] In operation 510, the electronic device may generate a second set of touch points corresponding to the shape of the shape recognized for the first set of touch points. Any description overlapping with the above-described contents with reference to operations 410 to 450 of FIG. 4 will be omitted.

[0127] According to one embodiment, operation 460 of determining second attribute information of a second touch point set using first attribute information of a first touch point set of FIG. 4 may include operations 520 and 530.

[0128] In operation 520, the electronic device can adjust the number of touch points included in the second touch point set according to the first touch point set.

[0129] The electronic device may remove a portion of the touch points in the second touch point set or add touch points to the second touch point set equal to the difference between the number of touch points in the second touch point set and the number of touch points in the first touch point set.

[0130] When the electronic device removes some of the touch points of the second touch point set, the electronic device can uniformly remove some of the touch points in a time sequence for the entire second touch point set.

[0131] When adding touch points to a second touch point set, the electronic device can add touch points uniformly and in chronological order throughout the second touch point set.

[0132] In operation 530, the electronic device can determine second attribute information by sequentially corresponding first attribute information of the first touch point set to the second touch point set.

[0133] The attribute information (e.g., first attribute information, second attribute information) may include at least one of a speed of a touch move, a pressure applied to the display (or display panel) by a user's body (e.g., a finger) or an external electronic device, a vertical displacement rate of the touch move, an azimuth of the external electronic device with respect to the display surface, an elevation angle of the external electronic device with respect to the display surface (or an angle formed by the external electronic device with a normal line of the display). The attribute information may include at least one of a pressure, a speed, a vertical displacement rate, an azimuth, or an elevation angle with respect to a touch input corresponding to each of the touch points included in the touch point set.

[0134] According to one embodiment, the electronic device can determine the speed of each of the touch points included in the second touch point set using the speed of each of the touch points included in the first touch point set. The electronic device can determine the speed of each of the touch points included in the second touch point set by sequentially corresponding the speed of each of the touch points included in the first touch point set to the second touch point set having an adjusted number of touch points.

[0135] According to one embodiment, the electronic device can obtain the pressure of each of the touch points included in the first touch point set through the display. The electronic device can determine the pressure of each of the touch points included in the second touch point set using the pressure of each of the touch points included in the first touch point set. The electronic device can determine the pressure of each of the touch points included in the second touch point set by sequentially corresponding the pressure of each of the touch points included in the first touch point set to the second touch point set having an adjusted number of touch points.

[0136] According to one embodiment, the electronic device can determine the vertical displacement ratio of each of the touch points included in the second touch point set using the vertical displacement ratio of each of the touch points included in the first touch point set. The electronic device can determine the vertical displacement ratio of each of the touch points included in the second touch point set by sequentially corresponding the vertical displacement ratio of each of the touch points included in the first touch point set to the second touch point set having an adjusted number of touch points.

[0137] According to one embodiment, the electronic device can determine the azimuth and / or elevation angle of each of the touch points included in the second touch point set using the azimuth and / or elevation angle of each of the touch points included in the first touch point set. The electronic device can receive the azimuth and / or elevation information from an external electronic device (e.g., a stylus pen) that has established a communication connection with the electronic device. The electronic device can determine the azimuth and / or elevation angle of each of the touch points included in the second touch point set by sequentially corresponding the azimuth and / or elevation angle of each of the touch points included in the first touch point set to the second touch point set having an adjusted number of touch points.

[0138] According to one embodiment, operation 460 of determining second attribute information of a second touch point set using first attribute information of a first touch point set of FIG. 4 may include operation 540.

[0139] In operation 540, the electronic device can determine second attribute information by sequentially corresponding first attribute information of the first touch point set to the second touch point set based on a ratio of the number of touch points of the second touch point set to the first touch point set.

[0140] For example, if the number of touch points included in the first touch point set is 500 and the number of touch points included in the second touch point set is 400, the electronic device can determine the second attribute information by matching the attribute information of the n*(500 / 400)th touch point of the first touch point set to the n(1≤n≤400)th touch point of the second touch point set. That is, the electronic device can determine the second attribute information by matching the first attribute information of the first touch point set to a touch point of a similar order in the second touch point set.

[0141] In operation 550, the electronic device can determine a point size of a second set of touch points based on the second attribute information.

[0142] The electronic device may determine the point size of the second set of touch points in proportion to the pressure, vertical displacement ratio, azimuth, or elevation angle indicated by the second attribute information. The electronic device may determine that the point size of each touch point included in the second set of touch points is larger as the pressure, vertical displacement ratio, azimuth, and / or elevation angle of the corresponding touch point increases.

[0143] The electronic device may determine the point size of the second touch point set to be inversely proportional to the speed indicated by the second attribute information. The electronic device may determine the point size of each touch point included in the second touch point set to be smaller as the speed of the corresponding touch point increases.

[0144] Figure 6 is a drawing explaining a method of displaying speed according to an example.

[0145] The screens (610, 620) of FIG. 6 are examples of screens displayed through a display (e.g., the display module (160) of FIG. 1 or the display (230) of FIG. 2) of an electronic device (e.g., the electronic device (101) of FIG. 1 or the electronic device (201) of FIG. 2). The electronic device may include at least some of the components of the electronic device (101) described in FIG. 1 or the electronic device (201) described in FIG. 2. For example, the electronic device may include at least one processor including a processing circuit (e.g., the processor (120) of FIG. 1 or the processor (210) of FIG. 2), a memory including one or more storage media for storing instructions (e.g., the memory (130) of FIG. 1 or the memory (220) of FIG. 2), and a display (e.g., the display module (160) of FIG. 1 or the display (230) of FIG. 2).

[0146] As described above with reference to FIGS. 2 to 5, the electronic device can receive (or acquire) a touch input by an external electronic device (e.g., the external electronic device (102) of FIG. 1) (e.g., a stylus pen) or a human body (e.g., a user's finger) through the display.

[0147] An electronic device can receive stroke input through a display. The stroke input is a touch input consisting of a touch-down and touch-move on the display of the electronic device. The electronic device can acquire a first set of touch points corresponding to the stroke input.

[0148] On the screen (610), the electronic device may display a first stroke corresponding to the first touch point set through the display. The screen (610) illustrates the first stroke corresponding to at least some of the touch points included in the first touch point set for the convenience of describing the spacing and speed between the touch points. Therefore, in an actual implementation, the first stroke displayed on the display of the electronic device may differ from the example of FIG. 6. The first stroke may be displayed as a trajectory in which the touch points included in the first touch point set are connected without a break.

[0149] The electronic device may perform shape recognition for a first set of touch points based on detecting an event that triggers shape recognition while receiving a stroke input. For example, on screen (610), the electronic device may recognize a curve for the first set of touch points. The electronic device may generate a second set of touch points corresponding to the shape of the curve recognized for the first set of touch points.

[0150] According to one embodiment, the electronic device may determine second attribute information of the second touch point set using first attribute information of the first touch point set. The attribute information (e.g., first attribute information, second attribute information) may include the speed of the touch move. The electronic device may determine the speed of each of the touch points included in the second touch point set using the speed of each of the touch points included in the first touch point set. Descriptions that overlap with those described above with reference to FIG. 5 are omitted.

[0151] In one embodiment, the electronic device may calculate, for each touch point included in the second touch point set, a velocity representing the displacement per unit time from the previous touch point. The electronic device may calculate the velocity based on the coordinates of the touch points included in the second touch point set. Alternatively, for touch points acquired per unit time, the displacement of the touch points may be considered as the velocity.

[0152] For example, the nth touch point The speed of the n-1th touch point Displacement per unit time from can be calculated as. For example, the unit time can be the time interval at which points are acquired.

[0153] The spacing between touch points acquired at unit time intervals may be proportional to the speed of the touch move. Referring to screen (610), it can be seen that the speed in area (611) is faster than the speed in area (621).

[0154] The electronic device may determine a point size for each of the touch points included in the second touch point set based on an individual velocity corresponding to each of the touch points included in the second touch point set. The electronic device may determine a point size for each touch point included in the second touch point set to be smaller as the velocity of the corresponding touch point increases.

[0155] The electronic device can generate a second stroke by applying a determined point size to each of the touch points included in the second touch point set.

[0156] On the screen (620), the electronic device can display a second stroke based on the second attribute information of the second touch point set through the display. The screen (620), like the screen (610), shows a second stroke corresponding to at least some of the touch points included in the second touch point set. Therefore, in an actual implementation, the second stroke displayed on the display of the electronic device may differ from the example of FIG. 6. The second stroke may be displayed as a trajectory in which the touch points included in the second touch point set are connected without a break.

[0157] Referring to screen (620), since the speed in area (613) is faster than the speed in area (623), the point sizes of the touch points in area (613) may be displayed relatively small. The greater the speed, the thinner the second stroke may be displayed.

[0158] Figure 7 is a drawing explaining a method of indicating pressure according to an example.

[0159] The screens (710, 720) of FIG. 7 are examples of screens displayed through a display (e.g., the display module (160) of FIG. 1 or the display (230) of FIG. 2) of an electronic device (e.g., the electronic device (101) of FIG. 1 or the electronic device (201) of FIG. 2). The electronic device may include at least some of the components of the electronic device (101) described in FIG. 1 or the electronic device (201) described in FIG. 2. For example, the electronic device may include at least one processor including a processing circuit (e.g., the processor (120) of FIG. 1 or the processor (210) of FIG. 2), a memory including one or more storage media for storing instructions (e.g., the memory (130) of FIG. 1 or the memory (220) of FIG. 2), and a display (e.g., the display module (160) of FIG. 1 or the display (230) of FIG. 2).

[0160] As described above with reference to FIGS. 2 to 6, the electronic device can receive (or acquire) a touch input by an external electronic device (e.g., the external electronic device (102) of FIG. 1) (e.g., a stylus pen) or a human body (e.g., a user's finger) through the display.

[0161] An electronic device can receive stroke input through a display. The stroke input is a touch input consisting of a touch-down and touch-move on the display of the electronic device. The electronic device can acquire a first set of touch points corresponding to the stroke input.

[0162] On the screen (710), the electronic device can display a first stroke corresponding to a first set of touch points through the display. Referring to the graph below the screen (710), the larger the pressure applied to the display, the larger the size of the touch points can be displayed.

[0163] Screen (710) illustrates a first stroke corresponding to at least some of the touch points included in the first touch point set for convenience of explanation of the point sizes of the touch points. Therefore, in an actual implementation, the first stroke displayed on the display of the electronic device may differ from the example of FIG. 7. The first stroke may be displayed as a trajectory in which the touch points included in the first touch point set are connected without interruption.

[0164] The electronic device may perform shape recognition for a first set of touch points based on detecting an event that triggers shape recognition while receiving a stroke input. For example, on screen (710), the electronic device may recognize a curve for the first set of touch points. The electronic device may generate a second set of touch points corresponding to the shape of the curve recognized for the first set of touch points.

[0165] According to one embodiment, an electronic device may determine second attribute information of a second touch point set using first attribute information of a first touch point set. The attribute information (e.g., first attribute information, second attribute information) may include pressure applied to a display (or a display panel) by a user's body (e.g., finger) or an external electronic device. The electronic device may obtain the pressure for each of the touch points included in the first touch point set through the display. The electronic device may determine the pressure of each of the touch points included in the second touch point set using the pressure of each of the touch points included in the first touch point set. Descriptions overlapping with those described above with reference to FIG. 5 are omitted.

[0166] The electronic device can determine a point size for each of the touch points included in the second touch point set based on the individual pressure corresponding to each of the touch points included in the second touch point set. The electronic device can determine a point size for each touch point included in the second touch point set to be larger as the pressure for the corresponding touch point increases.

[0167] The electronic device can generate a second stroke by applying a determined point size to each of the touch points included in the second touch point set.

[0168] On the screen (720), the electronic device can display a second stroke based on the second attribute information of the second touch point set through the display. Referring to the graph below the screen (720), the second stroke can be displayed in bolder color as the pressure applied to the display increases.

[0169] Screen (720), like screen (710), illustrates a second stroke corresponding to at least some of the touch points included in the second touch point set. Therefore, in an actual implementation, the second stroke displayed on the display of the electronic device may differ from the example of FIG. 7. The second stroke may be displayed as a trajectory in which the touch points included in the second touch point set are connected without interruption.

[0170] Figure 8 is a drawing explaining a method of displaying a vertical displacement ratio according to an example.

[0171] The screens (810, 820, 830, 840) of FIG. 8 are examples of screens displayed through a display (e.g., the display module (160) of FIG. 1 or the display (230) of FIG. 2) of an electronic device (e.g., the electronic device (101) of FIG. 1 or the electronic device (201) of FIG. 2). The electronic device may include at least some of the components of the electronic device (101) described in FIG. 1 or the electronic device (201) described in FIG. 2. For example, the electronic device may include at least one processor including a processing circuit (e.g., the processor (120) of FIG. 1 or the processor (210) of FIG. 2), a memory including one or more storage media for storing instructions (e.g., the memory (130) of FIG. 1 or the memory (220) of FIG. 2), and a display (e.g., the display module (160) of FIG. 1 or the display (230) of FIG. 2).

[0172] As described above with reference to FIGS. 2 to 7, the electronic device can receive (or acquire) a touch input by an external electronic device (e.g., the external electronic device (102) of FIG. 1) (e.g., a stylus pen) or a human body (e.g., a user's finger) through the display.

[0173] An electronic device can receive stroke input through a display. The stroke input is a touch input consisting of a touch-down and touch-move on the display of the electronic device. The electronic device can acquire a first set of touch points corresponding to the stroke input.

[0174] On the screen (810, 830), the electronic device can display a first stroke corresponding to a first set of touch points through the display.

[0175] The electronic device may perform shape recognition for a first set of touch points based on detecting an event that triggers shape recognition while receiving a stroke input. For example, on screens (810, 830), the electronic device may recognize a straight line for the first set of touch points. The electronic device may generate a second set of touch points corresponding to the shape of the straight line recognized for the first set of touch points.

[0176] According to one embodiment, the electronic device may determine second attribute information of the second touch point set using first attribute information of the first touch point set. The attribute information (e.g., first attribute information, second attribute information) may include a vertical displacement ratio of the touch move. The electronic device may determine the vertical displacement ratio of each of the touch points included in the second touch point set using the vertical displacement ratio of each of the touch points included in the first touch point set. Descriptions overlapping with those described above with reference to FIG. 5 are omitted.

[0177] According to one embodiment, the electronic device can calculate, for each of the touch points included in the second touch point set, a vertical displacement ratio representing the verticality of the movement from the previous touch point. The electronic device can calculate the vertical displacement ratio based on coordinates of the touch points included in the second touch point set.

[0178] According to one embodiment, the electronic device can calculate a vertical displacement ratio for each of the touch points included in the second touch point set based on [Equation 1].

[0179] [Formula 1]

[0180] Vertical displacement ratio = ABS(preY - curY) / Euclidean distance

[0181] For example, the nth touch point The vertical displacement ratio of the n-1th touch point Indicates the verticality of movement from can be calculated as follows. 'preY' can represent the y-coordinate of the previous touch point (i.e., yn-1), and 'curY' can represent the y-coordinate of the current touch point (i.e., yn). The vertical displacement ratio can be sensitive to the vertical displacement (y-coordinate change) of the touch point.

[0182] The electronic device can determine a point size for each of the touch points included in the second touch point set based on an individual vertical displacement ratio corresponding to each of the touch points included in the second touch point set. The electronic device can determine a larger point size for each touch point included in the second touch point set as the vertical displacement ratio of the corresponding touch point increases.

[0183] The electronic device can generate a second stroke by applying a determined point size to each of the touch points included in the second touch point set.

[0184] On screens (820, 840), the electronic device may display a second stroke based on second attribute information of a second touch point set via a display. A second stroke on screen (840) having a higher vertical displacement ratio than the second stroke on screen (820) may be displayed in a relatively bolder manner. The greater the vertical displacement ratio, the bolder the second stroke may be displayed.

[0185] FIG. 9 is a flowchart of a display method when a shape indicates an intersection point according to one embodiment.

[0186] According to one embodiment, the operations 490 to 940 below may be performed by an electronic device (e.g., the electronic device 101 of FIG. 1 or the electronic device 201 of FIG. 2). The electronic device may include at least some of the components of the electronic device 101 described in FIG. 1 or the electronic device 201 described in FIG. 2. For example, the electronic device may include at least one processor including a processing circuit (e.g., the processor 120 of FIG. 1 or the processor 210 of FIG. 2), a memory including one or more storage media for storing instructions (e.g., the memory 130 of FIG. 1 or the memory 220 of FIG. 2), and a display (e.g., the display module 160 of FIG. 1).

[0187] According to one embodiment, operation 460 of determining second attribute information of a second touch point set using first attribute information of a first touch point set of FIG. 4 may include operations 910 to 940.

[0188] According to one embodiment, operations 910 to 940 may be performed prior to operation 550 of determining the point size of the second touch point set based on the second attribute information of FIG. 5. For example, operations 910 to 940 may be additionally performed after operation 530 of FIG. 5. For example, operations 910 to 940 may be additionally performed after operation 540 of FIG. 5.

[0189] In operation 910, the electronic device can identify a first intersection point and a second intersection point corresponding to an intersection point among the second touch point set (or touch points included in the second touch point set) when the shape recognized for the first touch point set includes an intersection point.

[0190] A closed curved shape (e.g., a triangle, a square, a circle, an ellipse, a trapezoid, a star) may include at least one intersection point (or intersection area). Depending on the shape of the shape, the recognized shape may include one or more intersection points. Depending on the shape of the shape, the electronic device may identify pairs of intersection points, each corresponding to a plurality of intersection points.

[0191] The first intersection point and the second intersection point may be touch points among the touch points included in the second touch point set that correspond to intersection points (or intersection areas) of the shapes and have coordinates that match or are substantially the same (e.g., within a specified distance).

[0192] In operation 920, the electronic device may calculate a median of a first attribute corresponding to the first intersection point and a second attribute corresponding to the second intersection point. The electronic device may calculate a median of the first attribute corresponding to the first intersection point and the second attribute corresponding to the second intersection point based on second attribute information of the second touch point set.

[0193] The attributes (e.g., first attribute, second attribute) may be at least one of pressure, velocity, vertical displacement ratio, azimuth, or elevation corresponding to the intersection point (e.g., first intersection point, second intersection point). For example, the electronic device may calculate a median of the pressure corresponding to the first intersection point and the pressure corresponding to the second intersection point. For example, the electronic device may calculate a median of the pressure corresponding to the first intersection point and the pressure corresponding to the second intersection point, and a median of the velocity corresponding to the first intersection point and the velocity corresponding to the second intersection point, respectively.

[0194] In operation 930, the electronic device can identify a first curve point proximate to a first intersection point and a second curve point proximate to a second intersection point among two sets of touch points.

[0195] A curve point (e.g., a first curve point, a second curve point) may be a touch point or a section of touch points included in a second touch point set whose direction changes abruptly (e.g., a vector change rate exceeds a specified amount). A curve point (e.g., a first curve point, a second curve point) adjacent to an intersection point (e.g., a first intersection point, a second intersection point) may indicate a curve point that is closest in time order to the intersection point.

[0196] In operation 940, the electronic device can modify an attribute corresponding to a point section between a first curve point and a second curve point among the second touch point set in the second attribute information based on a median of the first attribute and the second attribute.

[0197] The electronic device may smooth an attribute corresponding to a point interval between a first curve point and a second curve point among a second set of touch points in the second attribute information based on a median of the first attribute and the second attribute.

[0198] For example, the electronic device may modify the pressures corresponding to each of the touch points from the first curve point to the second curve point based on a median (hereinafter, “pressure median”) of the pressures corresponding to the first intersection point and the pressures corresponding to the second intersection point. The electronic device may fix the pressures of the first intersection point and the second intersection point to the pressure median, and smooth the pressures corresponding to each of the touch points between the first curve point and the second curve point based on the pressure median. The electronic device may modify the properties corresponding to the point section between the first curve point and the second curve point in the same manner for other properties (e.g., speed, vertical displacement rate, azimuth, and elevation).

[0199] The electronic device may determine the point size of the second touch point set based on the modified second attribute information. According to one embodiment, the electronic device may determine the point size for each of the touch points included in the second touch point set based on individual attributes corresponding to each of the touch points included in the second touch point set. The electronic device may generate the second stroke by applying the determined point size to each of the touch points included in the second touch point set.

[0200] The electronic device can generate a second stroke having a smoothed thickness between the first curve point and the second curve point by determining a point size of the second set of touch points based on the modified second attribute information.

[0201] Figure 10 is a drawing illustrating a method of indicating an intersection point according to an example.

[0202] The screens (1010, 1020) of FIG. 10 are examples of screens displayed through a display (e.g., the display module (160) of FIG. 1 or the display (230) of FIG. 2) of an electronic device (e.g., the electronic device (101) of FIG. 1 or the electronic device (201) of FIG. 2). The electronic device may include at least some of the components of the electronic device (101) described in FIG. 1 or the electronic device (201) described in FIG. 2. For example, the electronic device may include at least one processor including a processing circuit (e.g., the processor (120) of FIG. 1 or the processor (210) of FIG. 2), a memory including one or more storage media for storing instructions (e.g., the memory (130) of FIG. 1 or the memory (220) of FIG. 2), and a display (e.g., the display module (160) of FIG. 1 or the display (230) of FIG. 2).

[0203] As described above with reference to FIGS. 2 to 9, the electronic device can receive (or acquire) a touch input by an external electronic device (e.g., the external electronic device (102) of FIG. 1) (e.g., a stylus pen) or a human body (e.g., a user's finger) through the display.

[0204] An electronic device can receive stroke input through a display. The stroke input is a touch input consisting of a touch-down and touch-move on the display of the electronic device. The electronic device can acquire a first set of touch points corresponding to the stroke input.

[0205] On the screen (1010), the electronic device can display, through the display, a first stroke corresponding to a first set of touch points.

[0206] The electronic device may perform shape recognition for a first set of touch points based on detecting an event that triggers shape recognition while receiving a stroke input. For example, on screen (1010), the electronic device may recognize an ellipse for the first set of touch points. The electronic device may generate a second set of touch points corresponding to the shape of the ellipse recognized for the first set of touch points.

[0207] An electronic device can determine second attribute information of a second touch point set using first attribute information of a first touch point set. Any description of the second attribute information that overlaps with the above description with reference to FIG. 5 will be omitted.

[0208] The electronic device can identify a first intersection point and a second intersection point corresponding to an intersection point among the second touch point set when the shape recognized for the first touch point set includes an intersection point.

[0209] Referring to screen (1010), the recognized ellipse for the first set of touch points may include an intersection point where the start point (1001) and the end point (1002) of the first stroke intersect. The electronic device may identify a first intersection point and a second intersection point corresponding to the intersection point among the second set of touch points. The first intersection point and the second intersection point may be touch points among the touch points included in the second set of touch points, which correspond to intersection points of shapes and have coordinates that match or are substantially the same (e.g., within a specified distance).

[0210] For example, the first intersection point may be a touch point corresponding to the start point (1001) in the second touch point set, and the second intersection point may be a touch point corresponding to the end point (1002).

[0211] The electronic device can calculate a median of a first attribute corresponding to a first intersection point and a second attribute corresponding to a second intersection point. The electronic device can calculate a median of the first attribute corresponding to the first intersection point and the second attribute corresponding to the second intersection point based on second attribute information of the second touch point set.

[0212] The electronic device can identify a first curve point proximate to a first intersection point and a second curve point proximate to the second intersection point among two touch point sets (or touch points included in a second touch point set). The curve point (e.g., the first curve point, the second curve point) can be a touch point or a section of touch points included in the second touch point set whose direction changes abruptly (e.g., a vector change rate of more than a specified amount). The curve point (e.g., the first curve point, the second curve point) proximate to the intersection point (e.g., the first intersection point, the second intersection point) can indicate a curve point that is closest in time order to the intersection point.

[0213] Referring to screen (1010), the electronic device can identify a first curve point corresponding to a point (1011) closest to the starting point (1001) of the first stroke among the touch points included in the second touch point set. The electronic device can identify a second curve point corresponding to a point (1012) closest to the ending point (1002) of the first stroke among the touch points included in the second touch point set.

[0214] The electronic device may modify an attribute corresponding to a point interval between a first curve point and a second curve point among the second touch point set in the second attribute information based on the median value of the first attribute and the second attribute. The electronic device may smooth an attribute corresponding to a point interval between a first curve point and a second curve point among the second touch point set in the second attribute information based on the median value of the first attribute and the second attribute.

[0215] The electronic device may determine the point size of the second touch point set based on the modified second attribute information. According to one embodiment, the electronic device may determine the point size for each of the touch points included in the second touch point set based on individual attributes corresponding to each of the touch points included in the second touch point set. The electronic device may generate the second stroke by applying the determined point size to each of the touch points included in the second touch point set.

[0216] In screen (1020), the electronic device can display the second stroke through the display. Referring to screen (1020), it can be seen that the thickness between point (1011) and point (1022), including the intersection point where the start point (1001) and the end point (1002) of the first stroke intersect, is smoothed in the second stroke.

[0217] Figure 11 is a flowchart of a display method according to point size for each point, according to one embodiment.

[0218] The screens (11-1, 11-2) of FIG. 11 are examples of screens displayed through a display (e.g., a display module (160) of FIG. 1 or a display (230) of FIG. 2) of an electronic device (e.g., an electronic device (101) of FIG. 1 or an electronic device (201) of FIG. 2). The electronic device may include at least some of the components of the electronic device (101) described in FIG. 1 or the electronic device (201) described in FIG. 2. For example, the electronic device may include at least one processor including a processing circuit (e.g., a processor (120) of FIG. 1 or a processor (210) of FIG. 2), a memory including one or more storage media for storing instructions (e.g., a memory (130) of FIG. 1 or a memory (220) of FIG. 2), and a display (e.g., a display module (160) of FIG. 1 or a display (230) of FIG. 2). According to one embodiment, the following operations 1110 and 1120 can be performed by electronic devices.

[0219] As described above with reference to FIGS. 2 to 10, the electronic device can receive (or acquire) a touch input by an external electronic device (e.g., the external electronic device (102) of FIG. 1) (e.g., a stylus pen) or a human body (e.g., a user's finger) through the display.

[0220] An electronic device can receive stroke input through a display. The stroke input is a touch input consisting of a touch-down and touch-move on the display of the electronic device. The electronic device can acquire a first set of touch points corresponding to the stroke input.

[0221] In screen (11-1), the electronic device can display a first stroke corresponding to a first set of touch points through the display.

[0222] The electronic device can perform shape recognition for a first set of touch points based on detecting an event that triggers shape recognition while receiving a stroke input. The electronic device can generate a second set of touch points corresponding to the shape of the shape recognized for the first set of touch points. The electronic device can determine second attribute information for the second set of touch points using first attribute information for the first set of touch points.

[0223] In operation 1110, the electronic device can determine a point size for each of the touch points included in the second touch point set based on individual attributes corresponding to each of the touch points included in the second touch point set.

[0224] At operation 1120, the electronic device can generate a second stroke by applying the determined point size to each of the touch points included in the two touch point sets.

[0225] In screen (11-2), the electronic device can display the second stroke through the display.

[0226] Figure 12 is a flowchart of a display method according to point size per stroke, according to one embodiment.

[0227] The screens (12-1, 12-2) of FIG. 12 are examples of screens displayed through a display (e.g., a display module (160) of FIG. 1 or a display (230) of FIG. 2) of an electronic device (e.g., an electronic device (101) of FIG. 1 or an electronic device (201) of FIG. 2). The electronic device may include at least some of the components of the electronic device (101) described in FIG. 1 or the electronic device (201) described in FIG. 2. For example, the electronic device may include at least one processor including a processing circuit (e.g., a processor (120) of FIG. 1 or a processor (210) of FIG. 2), a memory including one or more storage media for storing instructions (e.g., a memory (130) of FIG. 1 or a memory (220) of FIG. 2), and a display (e.g., a display module (160) of FIG. 1 or a display (230) of FIG. 2). According to one embodiment, the following operations 1210 and 1220 can be performed by electronic devices.

[0228] As described above with reference to FIGS. 2 to 11, the electronic device can receive (or acquire) a touch input by an external electronic device (e.g., the external electronic device (102) of FIG. 1) (e.g., a stylus pen) or a human body (e.g., a user's finger) through the display.

[0229] An electronic device can receive stroke input through a display. The stroke input is a touch input consisting of a touch-down and touch-move on the display of the electronic device. The electronic device can acquire a first set of touch points corresponding to the stroke input.

[0230] In screen (12-1), the electronic device can display a first stroke corresponding to a first set of touch points through the display.

[0231] The electronic device can perform shape recognition for a first set of touch points based on detecting an event that triggers shape recognition while receiving a stroke input. The electronic device can generate a second set of touch points corresponding to the shape of the shape recognized for the first set of touch points. The electronic device can determine second attribute information for the second set of touch points using first attribute information for the first set of touch points.

[0232] In operation 1210, the electronic device may determine a point size based on an average of attributes corresponding to each of the touch points included in the second touch point set.

[0233] In operation 1220, the electronic device can generate a second stroke by uniformly applying a point size to the touch points included in the two touch point sets.

[0234] On screen (12-2), the electronic device can display the second stroke through the display.

[0235] In one embodiment, an electronic device (101, 201) comprises: a display (160, 230); at least one processor (120, 210) including processing circuitry; and a memory (130, 220) including one or more storage media storing instructions, wherein when the instructions are individually or collectively executed by at least one processor (120, 210), the electronic device (101, 201) causes: to obtain a first set of touch points corresponding to a stroke input received on a display (160, 230), to display a first stroke corresponding to the first set of touch points through the display (160, 230), to perform shape recognition on the first set of touch points based on detecting an event that triggers shape recognition while the stroke input is received, to generate a second set of touch points corresponding to the form of the shape recognized on the first set of touch points, and to determine second attribute information of the second set of touch points using first attribute information of the first set of touch points, wherein the first attribute information comprises pressure, velocity, vertical displacement ratio, azimuth, or the like, with respect to the touch input, corresponding to each of the touch points included in the first set of touch points. - including at least one of the tilt angles -, determining a point size of a second touch point set based on the second attribute information, generating a second stroke based on the point size of the second touch point set, and displaying the second stroke through the display (160, 230).

[0236] According to one embodiment, when the instructions are individually or collectively executed by at least one processor (120, 210), the electronic device (101, 201) may be caused to: adjust the number of touch points included in the second touch point set according to the first touch point set, and determine second attribute information by sequentially corresponding first attribute information of the first touch point set to the second touch point set.

[0237] According to one embodiment, when the instructions are individually or collectively executed by at least one processor (120, 210), the electronic device (101, 201) may be caused to: determine second attribute information by sequentially matching first attribute information of the first touch point set to the second touch point set based on a ratio of the number of touch points of the second touch point set to the first touch point set.

[0238] According to one embodiment, when the instructions are individually or collectively executed by at least one processor (120, 210), the electronic device (101, 201) may: when a recognized shape for a first set of touch points includes an intersection point, identify a first intersection point and a second intersection point corresponding to the intersection point among a second set of touch points, calculate a median of a first attribute corresponding to the first intersection point and a second attribute corresponding to the second intersection point, identify a first curve point proximate to the first intersection point among the second set of touch points and a second curve point proximate to the second intersection point, and modify, based on the median, an attribute corresponding to a point section between the first curve point and the second curve point among the second set of touch points in the second attribute information.

[0239] According to one embodiment, when the instructions are individually or collectively executed by at least one processor (120, 210), the electronic device (101, 201) may: determine a point size for each of the touch points included in the second touch point set based on a respective attribute corresponding to each of the touch points included in the second touch point set.

[0240] According to one embodiment, when the instructions are individually or collectively executed by at least one processor (120, 210), the electronic device (101, 201) may: generate a second stroke by applying a determined point size to each of the touch points included in the second touch point set.

[0241] According to one embodiment, when the instructions are individually or collectively executed by at least one processor (120, 210), the electronic device (101, 201) may: determine a point size based on an average of attributes corresponding to each of the touch points included in the second touch point set.

[0242] According to one embodiment, when the instructions are individually or collectively executed by at least one processor (120, 210), the electronic device (101, 201) may be caused to: generate a second stroke by uniformly applying a determined point size to touch points included in a second touch point set.

[0243] According to one embodiment, the second attribute information may include at least one of pressure, velocity, vertical displacement rate, azimuth, or tilt regarding a touch input corresponding to each of the touch points included in the second touch point set.

[0244] According to one embodiment, when the instructions are individually or collectively executed by at least one processor (120, 210), the electronic device (101, 201) may: determine a point size inversely proportional to a speed indicated by the second attribute information.

[0245] In one embodiment, a method performed by an electronic device (101, 201) comprises: acquiring a first set of touch points corresponding to a stroke input received on a display (160, 230) of the electronic device (101, 201); displaying a first stroke corresponding to the first set of touch points through the display (160, 230); performing shape recognition on the first set of touch points based on detecting an event that triggers shape recognition while the stroke input is received; generating a second set of touch points corresponding to a form of a shape recognized on the first set of touch points; determining second attribute information of the second set of touch points using first attribute information of the first set of touch points, wherein the first attribute information includes at least one of a pressure, a speed, a vertical displacement rate, an azimuth, or an elevation angle (tilt) with respect to a touch input corresponding to each of the touch points included in the first set of touch points; determining a point size of the second set of touch points based on the second attribute information; An action of generating a second stroke based on a point size of a second touch point set; and an action of displaying the second stroke through a display (160, 230).

[0246] According to one embodiment, the operation of determining second attribute information of a second touch point set using first attribute information of a first touch point set may include: adjusting the number of touch points included in the second touch point set according to the first touch point set; and determining second attribute information by sequentially corresponding the first attribute information of the first touch point set to the second touch point set.

[0247] According to one embodiment, the operation of determining second attribute information of the second touch point set using first attribute information of the first touch point set may include determining the second attribute information by sequentially matching the first attribute information of the first touch point set to the second touch point set based on a ratio of the number of touch points of the second touch point set to the first touch point set.

[0248] According to one embodiment, the operation of determining second attribute information of the second touch point set using first attribute information of the first touch point set may further include: when a shape recognized for the first touch point set includes an intersection point, identifying a first intersection point and a second intersection point corresponding to the intersection point among the second touch point set; calculating a median of the first attribute corresponding to the first intersection point and the second attribute corresponding to the second intersection point; identifying a first curve close to the first intersection point and a second curve close to the second intersection point among the second touch point set; and modifying an attribute corresponding to a point section between the first curve and the second curve among the second touch point set in the second attribute information based on the median.

[0249] According to one embodiment, the operation of determining a point size of the second touch point set based on the second attribute information may include the operation of determining a point size for each of the touch points included in the second touch point set based on a respective attribute corresponding to each of the touch points included in the second touch point set.

[0250] In one embodiment, the operation of generating a second stroke based on a point size of the second touch point set may include generating the second stroke by applying the determined point size to each of the touch points included in the second touch point set.

[0251] According to one embodiment, the operation of determining a point size of the second touch point set based on the second attribute information may include an operation of determining the point size based on an average of attributes corresponding to each of the touch points included in the second touch point set.

[0252] In one embodiment, the operation of generating a second stroke based on a point size of the second touch point set may include generating the second stroke by uniformly applying the determined point size to touch points included in the second touch point set.

[0253] According to one embodiment, the recording medium may be combined with hardware to store a computer program for executing a method performed by an electronic device (101, 201).

[0254] According to one embodiment, a non-transitory computer-readable recording medium stores one or more programs including instructions, which, when individually or collectively executed by at least one processor (120, 210) of an electronic device (101, 201), cause the electronic device (101, 201) to: acquire a first set of touch points corresponding to a stroke input received on a display (160, 230) of the electronic device (101, 201); display a first stroke corresponding to the first set of touch points through the display (160, 230); perform shape recognition for the first set of touch points based on detecting an event that triggers shape recognition while the stroke input is received; generate a second set of touch points corresponding to a form of a shape recognized for the first set of touch points; An operation of determining second attribute information of a second touch point set using first attribute information of a first touch point set, wherein the first attribute information includes at least one of a pressure or a velocity related to a touch input corresponding to each of the touch points included in the first touch point set; an operation of determining a point size of the second touch point set based on the second attribute information; an operation of generating a second stroke based on the point size of the second touch point set; and an operation of displaying the second stroke through a display (160, 230) may be performed.

[0255] The embodiments described above may be implemented using hardware components, software components, and / or a combination of hardware components and software components. For example, the devices, methods, and components described in the embodiments may be implemented using a general-purpose computer or a special-purpose computer, such as, for example, 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 instructions and responding to them. The processing device may execute an operating system (OS) and software applications running on the operating system. Furthermore, the processing device may access, store, manipulate, process, and generate data in response to the execution of the software. For ease of understanding, the processing device is sometimes described as being used alone; however, one of ordinary skill in the art will recognize that the processing device may include multiple processing elements and / or multiple types of processing elements. For example, a processing unit may include multiple processors, or a processor and a controller. Other processing configurations, such as parallel processors, are also possible.

[0256] Software may include a computer program, code, instructions, or a combination of one or more of these, which may configure a processing device to perform a desired operation or may, independently or collectively, command the processing device. The software and / or data may be permanently or temporarily embodied in any type of machine, component, physical device, virtual equipment, computer storage medium or device, or transmitted signal wave, for interpretation by the processing device or for providing instructions or data to the processing device. The software may also be distributed over networked computer systems and stored or executed in a distributed manner. The software and data may be stored on a computer-readable recording medium.

[0257] The method according to the embodiment may be implemented in the form of program commands that can be executed through various computer means and recorded on a computer-readable medium. The computer-readable medium may include program commands, data files, data structures, etc., alone or in combination, and the program commands recorded on the medium may be those specially designed and configured for the embodiment or may be known and available to those skilled in the art of computer software. Examples of the computer-readable recording medium include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and hardware devices specially configured to store and execute program commands such as ROMs, RAMs, and flash memories. Examples of program commands include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter, etc.

[0258] The hardware device described above may be configured to operate as one or more software modules to perform the operations of the embodiment, and vice versa.

[0259] Although the embodiments have been described with limited drawings, those skilled in the art will appreciate that various technical modifications and variations can be applied based on the described embodiments. For example, appropriate results can still be achieved even if the described techniques are performed in a different order than described, and / or components of the described systems, structures, devices, circuits, etc. are combined or combined in a different manner than described, or are replaced or substituted with other components or equivalents.

[0260] Therefore, other implementations, embodiments and equivalents to the claims also fall within the scope of the claims described below.

Claims

1. In the electronic device (101, 201), display(160, 230); At least one processor (120, 210) comprising processing circuitry; and A memory (130, 220) comprising one or more storage media for storing instructions, When the above instructions are individually or collectively executed by the at least one processor (120, 210), the electronic device (101, 201) causes: Obtain a first set of touch points corresponding to the stroke input received for the above display (160, 230), Displaying a first stroke corresponding to the first touch point set through the above display (160, 230), Performing shape recognition for the first set of touch points based on detecting an event that triggers shape recognition while the stroke input is received; Generate a second set of touch points corresponding to the form of the shape recognized for the first set of touch points, Determining second attribute information of the second touch point set using first attribute information of the first touch point set, wherein the first attribute information includes at least one of pressure or velocity related to a touch input corresponding to each of the touch points included in the first touch point set. Determine the point size of the second touch point set based on the second attribute information, Generate a second stroke based on the point size of the second touch point set, Display the second stroke through the above display (160, 230) To do, Electronic devices (101, 201).

2. In paragraph 1, When the above instructions are individually or collectively executed by the at least one processor (120, 210), the electronic device (101, 201) causes: The number of touch points included in the second touch point set is adjusted according to the first touch point set, The second attribute information is determined by sequentially matching the first attribute information of the first touch point set to the second touch point set. To do, Electronic devices (101, 201).

3. In either of paragraphs 1 and 2, When the above instructions are individually or collectively executed by the at least one processor (120, 210), the electronic device (101, 201) causes: The second attribute information is determined by sequentially matching the first attribute information of the first touch point set to the second touch point set based on the ratio of the number of touch points of the second touch point set to the first touch point set. To do, Electronic devices (101, 201).

4. In any one of paragraphs 1 to 3, When the above instructions are individually or collectively executed by the at least one processor (120, 210), the electronic device (101, 201) causes: If the shape recognized for the first touch point set includes an intersection point, identify the first intersection point and the second intersection point corresponding to the intersection point among the second touch point set, Calculate the median of the first attribute corresponding to the first intersection point and the second attribute corresponding to the second intersection point, Identifying a first curve point close to the first intersection point and a second curve point close to the second intersection point among the second touch point sets, Based on the median, modify the property corresponding to the point section between the first curve point and the second curve point among the second touch point set in the second property information. To do, Electronic devices (101, 201).

5. In any one of paragraphs 1 to 4, When the above instructions are individually or collectively executed by the at least one processor (120, 210), the electronic device (101, 201) causes: Determine the point size for each of the touch points included in the second touch point set based on the individual (respective) property corresponding to each of the touch points included in the second touch point set. To do, Electronic devices (101, 201).

6. In any one of paragraphs 1 to 5, When the above instructions are individually or collectively executed by the at least one processor (120, 210), the electronic device (101, 201) causes: Generating the second stroke by applying the determined point size to each of the touch points included in the second touch point set To do, Electronic devices (101, 201).

7. In any one of paragraphs 1 to 6, When the above instructions are individually or collectively executed by the at least one processor (120, 210), the electronic device (101, 201) causes: Determine the point size based on the average of the properties corresponding to each of the touch points included in the second touch point set. To do, Electronic devices (101, 201).

8. In any one of paragraphs 1 to 7, When the above instructions are individually or collectively executed by the at least one processor (120, 210), the electronic device (101, 201) causes: The second stroke is generated by uniformly applying the determined point size to the touch points included in the second touch point set. To do, Electronic devices (101, 201).

9. In any one of paragraphs 1 to 8, The second attribute information includes at least one of pressure or speed regarding touch input corresponding to each of the touch points included in the second touch point set. Electronic devices (101, 201).

10. In any one of paragraphs 1 to 9, When the above instructions are individually or collectively executed by the at least one processor (120, 210), the electronic device (101, 201) causes: Determine the point size so that it is inversely proportional to the speed indicated by the second attribute information. To do, Electronic devices (101, 201).

11. In any one of paragraphs 1 to 10, When the above instructions are individually or collectively executed by the at least one processor (120, 210), the electronic device (101, 201) causes: Determine the point size so that it is proportional to the pressure indicated by the second attribute information. To do, Electronic devices (101, 201).

12. In a method performed by an electronic device (101, 201), An operation of acquiring a first set of touch points corresponding to a stroke input received on a display (160, 230) of the electronic device (101, 201); An action of displaying a first stroke corresponding to the first touch point set through the display (160, 230); An operation of performing shape recognition for the first set of touch points based on detecting an event that triggers shape recognition while the stroke input is received; An operation of generating a second set of touch points corresponding to the form of the shape recognized for the first set of touch points; An operation of determining second attribute information of the second touch point set using first attribute information of the first touch point set, wherein the first attribute information includes at least one of pressure or velocity related to a touch input corresponding to each of the touch points included in the first touch point set; An operation of determining a point size of the second touch point set based on the second attribute information; An operation of generating a second stroke based on the point size of the second touch point set; and An action of displaying the second stroke through the above display (160, 230) including, method.

13. In paragraph 12, An operation of determining the second attribute information of the second touch point set using the first attribute information of the first touch point set is as follows: An operation of adjusting the number of touch points included in the second touch point set according to the first touch point set; and An operation of determining the second attribute information by sequentially corresponding the first attribute information of the first touch point set to the second touch point set. including, method.

14. In any one of paragraphs 12 and 13, An operation of determining the second attribute information of the second touch point set using the first attribute information of the first touch point set is as follows: An operation of determining the second attribute information by sequentially corresponding the first attribute information of the first touch point set to the second touch point set based on the ratio of the number of touch points of the second touch point set to the first touch point set. including, method.

15. In a non-transitory computer-readable recording medium, Store one or more programs containing instructions, When the above instructions are individually or collectively executed by at least one processor (120, 210) of the electronic device (101, 201), the electronic device (101, 201) causes: An operation of acquiring a first set of touch points corresponding to a stroke input received on a display (160, 230) of the electronic device (101, 201); An action of displaying a first stroke corresponding to the first touch point set through the display (160, 230); An operation of performing shape recognition for the first set of touch points based on detecting an event that triggers shape recognition while the stroke input is received; An operation of generating a second set of touch points corresponding to the form of the shape recognized for the first set of touch points; An operation of determining second attribute information of the second touch point set using first attribute information of the first touch point set, wherein the first attribute information includes at least one of pressure or velocity related to a touch input corresponding to each of the touch points included in the first touch point set; An operation of determining a point size of the second touch point set based on the second attribute information; An operation of generating a second stroke based on the point size of the second touch point set; and An action of displaying the second stroke through the above display (160, 230) to perform, Non-transitory computer-readable recording medium.

Citation Information

Patent Citations

  • Electronic device and method

    JP2015225525A

  • Method for creating individual font and mobile device using thereof

    KR101204615B1

  • Method for online signature verification using proximity touch and apparatus therefor

    KR1020150030558A

  • Multi-function double faced golf putter

    KR1020240030343A

  • Stroke attribute matrices

    US20210224528A1