Method and device for correcting stroke by using electronic pen

The method detects and corrects missed strokes by adjusting the display layout, ensuring complete stroke visibility on electronic devices, addressing the issue of strokes outside the displayable area and improving user interaction.

WO2024195898A1PCT designated stage expired Publication Date: 2024-09-26SAMSUNG ELECTRONICS CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2023/003595
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-17
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

Electronic devices struggle to display strokes made with an electronic pen when they extend beyond the device's displayable area, resulting in missed strokes that are not visible on the screen.

Method used

The method involves detecting missing strokes using electromagnetic induction, acquiring missing stroke data, and adjusting the display layout to incorporate these strokes within the visible area, allowing the electronic device to display the entire stroke by moving it into empty space or adjusting its size based on the virtual display area.

Benefits of technology

This solution ensures that all strokes, regardless of their initial position, are fully displayed on the device, enhancing user interaction and data integrity by correcting missed strokes and maintaining continuous input recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2023003595_26092024_PF_FP
    Figure KR2023003595_26092024_PF_FP
Patent Text Reader

Abstract

A method for displaying a stroke by using an electronic pen on an electronic device, according to one embodiment, comprises the steps of: receiving stroke data related to a stroke by using the electronic pen; detecting a missing stroke, which is a stroke by using the electronic pen outside a displayable area of the electronic device; obtaining missing stroke data for the detected missing stroke; adjusting a layout of the displayable area on the basis of the missing stroke data; and displaying the missing stroke in the displayable area according to the adjusted layout.
Need to check novelty before this filing date? Find Prior Art

Description

Method for correcting strokes using an electronic pen and device therefor

[0001] Various embodiments relate to a method and device for correcting a stroke using an electronic pen.

[0002] Electronic devices are being developed to receive various inputs from users through specific input devices connected to the electronic device via wireless communication. Electronic devices can identify a location on the electronic device designated by an input device with pen functionality and perform corresponding functions.

[0003] An electronic device can detect a magnetic field generated from an electronic pen using electromagnetic induction. The electronic device can determine the position of the electronic pen based on the induced electromotive force generated by the magnetic field for each channel.

[0004] An electronic pen can be connected to an electronic device via short-range communication. For example, the electronic pen can transmit information about the pressed state of a button located on the pen's housing to the electronic device via short-range communication, and the electronic device can then perform a specified action based on the received information.

[0005] When a user uses an electronic pen on an electronic device, strokes made with the electronic pen may be displayed on the electronic device. The user may use the electronic pen even if the strokes are outside the display area of ​​the electronic device. The electronic device may not display strokes that are outside the display area of ​​the electronic device. Strokes that are outside the display area of ​​the electronic device may be omitted and not displayed on the display of the electronic device.

[0006] Various embodiments can display the missing stroke on the display of an electronic device by obtaining missing stroke data and adjusting the layout of the display when a stroke using an electronic pen is missed.

[0007] A method for displaying a stroke using an electronic pen on an electronic device according to one embodiment may include a step of receiving stroke data related to a stroke using the electronic pen.

[0008] A method for displaying a stroke using an electronic pen on an electronic device according to one embodiment may include a step of detecting a missed stroke, which is a stroke using the electronic pen outside a displayable area of ​​the electronic device.

[0009] A method for displaying a stroke using an electronic pen according to one embodiment on an electronic device may include a step of obtaining missing stroke data for the detected missing stroke.

[0010] A method for displaying a stroke using an electronic pen according to one embodiment on an electronic device may include a step of adjusting a layout of the displayable area based on the missing stroke data.

[0011] A method for displaying a stroke using an electronic pen according to one embodiment on an electronic device may include a step of displaying the missing stroke in the displayable area according to the adjusted layout.

[0012] An electronic device for displaying strokes using an electronic pen according to one embodiment may include a display, a memory storing at least one instruction, and at least one processor.

[0013] The at least one processor can receive stroke data related to a stroke using the electronic pen by executing the at least one instruction.

[0014] The at least one processor can detect a missed stroke, which is a stroke using the electronic pen outside the displayable area of ​​the display, by executing the at least one instruction.

[0015] The at least one processor can obtain missing stroke data for the detected missing stroke by executing the at least one instruction.

[0016] The at least one processor can adjust the layout of the displayable area based on the missing stroke data by executing the at least one instruction.

[0017] The at least one processor can display the missing stroke in the displayable area according to the adjusted layout by executing the at least one instruction.

[0018] A computer-readable recording medium according to one embodiment can store a program that performs a method of displaying a stroke using an electronic pen according to one embodiment on an electronic device.

[0019] FIG. 1 is a drawing for explaining a process for correcting a missing stroke according to one embodiment.

[0020] FIG. 2 is a flowchart illustrating a method of displaying a stroke using an electronic pen on an electronic device according to one embodiment.

[0021] FIG. 3 is a flowchart illustrating a method for detecting a missing stroke according to one embodiment.

[0022] FIG. 4 is a diagram illustrating a method for activating a missing stroke detection mode according to one embodiment.

[0023] FIG. 5 is a diagram illustrating a process for detecting that a missing stroke has returned from outside the displayable area to the displayable area according to one embodiment.

[0024] FIG. 6 is a diagram illustrating a method for obtaining missing stroke data after detecting that all missing strokes occurred outside the displayable area according to one embodiment.

[0025] FIG. 7 is a flowchart illustrating a method for obtaining missing stroke data according to one embodiment.

[0026] FIG. 8 is a drawing for explaining a method for calculating a pen tip position of an electronic pen according to one embodiment.

[0027] FIG. 9 is a diagram illustrating a method for calculating a pen tip position of an electronic pen in a virtual display area according to one embodiment.

[0028] FIG. 10 is a diagram illustrating a method for calculating a pen tip position of an electronic pen in a virtual display area according to one embodiment.

[0029] FIG. 11 is a flowchart illustrating a method for adjusting the layout of a displayable area of ​​an electronic device according to one embodiment.

[0030] FIG. 12 is a drawing illustrating a method of moving an entire stroke to an empty space according to one embodiment.

[0031] FIG. 13 is a diagram illustrating a method for adjusting the size of an entire stroke according to a ratio between a virtual display area and a displayable area according to one embodiment.

[0032] FIG. 14 is a drawing for explaining a method for calculating the pen tip position of an electronic pen using the position of a beacon according to one embodiment.

[0033] FIG. 15 is a drawing for explaining a method for calculating the pen tip position of an electronic pen using the position of a beacon according to one embodiment.

[0034] FIG. 16 is a diagram illustrating a method for adjusting the layout of a displayable area based on the blank space between each stroke according to one embodiment.

[0035] FIG. 17 is a diagram illustrating a method for obtaining missing stroke data using at least one of smart glasses, a smart ring, and a smart watch according to one embodiment.

[0036] Fig. 18 is a drawing for explaining a method for correcting a missing stroke according to one embodiment.

[0037] Fig. 19 is a block diagram illustrating a configuration of an electronic device according to one embodiment.

[0038] FIG. 20 is a diagram illustrating the configuration of an electronic pen according to one embodiment.

[0039] Below, with reference to the attached drawings, embodiments of the present invention are described in detail so that those skilled in the art can easily implement the present invention. However, the present invention may be implemented in various different forms and is not limited to the embodiments described herein. In addition, in the drawings, parts irrelevant to the description are omitted to clearly explain the present invention, and similar parts are designated with similar reference numerals throughout the specification.

[0040] The terms used in this invention have been selected from widely used, current terms, taking into account the functions of the invention. However, these terms may vary depending on the intentions of those skilled in the art, precedents, the emergence of new technologies, etc. Furthermore, in certain cases, terms may be arbitrarily selected by the applicant, in which case their meanings will be described in detail in the relevant description of the invention. Therefore, the terms used in this invention should not be defined simply as names, but rather based on their inherent meanings and the overall content of the invention.

[0041] Meanwhile, when a component is said to be "connected" to another component in this specification, this includes not only cases where it is "directly connected" but also cases where it is "connected with another component in between." Furthermore, when a component is said to "include" another component, this does not exclude other components, but rather may include other components, unless otherwise specifically stated.

[0042] Additionally, terms including ordinal numbers, such as "first" or "second," used herein may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another.

[0043] FIG. 1 is a drawing for explaining a process for correcting a missing stroke (140) according to one embodiment.

[0044] Referring to FIG. 1, the electronic device (110) may be implemented in various forms, such as a TV including a display, a smart monitor, a mobile phone, a tablet PC, a digital camera, a camcorder, a laptop computer, a desktop, an e-book reader, a digital broadcasting terminal, a PDA (Personal Digital Assistants), a PMP (Portable Multimedia Player), a navigation system, an MP3 player, a wearable device, etc. In addition, the electronic device (110) may be a fixed electronic device placed in a fixed location or a mobile electronic device having a portable form, and may be a digital broadcasting receiver capable of receiving digital broadcasting. However, the present invention is not limited thereto.

[0045] In one embodiment, the electronic pen (120) is a pen-shaped tool used to control the electronic device (110), and may include a stylus or stylus pen. For example, the electronic pen (120) may be an S Pen. However, the present invention is not limited thereto.

[0046] In one embodiment, a user can control the electronic device (110) by actions such as directly tapping or dragging the electronic pen (120) on the display of the electronic device (110) or clicking a button on the electronic pen (120).

[0047] In one embodiment, the electronic device (110) and the electronic pen (120) can transmit and receive data via wired or wireless communication. For example, the electronic pen (120) can perform communication to transmit stroke data or missing stroke data.

[0048] In one embodiment, the electronic device (110) and the electronic pen (120) may be connected to each other via a wired or wireless communication interface. For example, the wired communication interface may include a High Definition Multimedia Interface (HDMI), a Universal Serial Bus (USB), an optical interface, a D-sub (D-subminiature), a Digital Visual Interface (DVI), a display port, etc. In addition, the wireless communication interface may include a Wireless Fidelity (WiFi) module, a Bluetooth module, etc.

[0049] In one embodiment, the electronic device (110) and the electronic pen (120) can share data with each other using the Web RTC (Real-Time Communication) method. For example, Web RTC is a P2P method that directly transmits data without a central server, and refers to a communication method that can share audio, video, data, etc. in real time on the web without separate plug-ins or software. However, the present invention is not limited thereto, and the electronic device (110) and the electronic pen (120) can communicate with each other using various wired or wireless communication methods.

[0050] In one embodiment, a stroke may mean, but is not limited to, an action or result of generating a line, dot, character, or picture on the display of an electronic device (110) using an electronic pen (120).

[0051] In one embodiment, the electronic device (110) can display a stroke using an electronic pen (120) on the electronic device (110). In one embodiment, a user can generate a stroke on the electronic device (110) using the electronic pen (120).

[0052] In one embodiment, the electronic device (110) can display a stroke using the electronic pen (120) on the display of the electronic device (110). In one embodiment, the electronic device (110) can display a stroke using the electronic pen (120) on the displayable area (130) of the electronic device (110).

[0053] In one embodiment, the displayable area (130) may refer to an area that the electronic device (110) can display on the display. In one embodiment, the displayable area (130) may refer to a display area of ​​the electronic device (110) that can display a stroke using an electronic pen (120).

[0054] In one embodiment, a user may use an electronic pen (120) to generate a stroke on the display of an electronic device (110). In one embodiment, a user may use the electronic pen (120) to generate a stroke on a displayable area (130) of an electronic device (110). For example, a user may use the electronic pen (120) to generate a stroke saying "Hello! Sam" on a displayable area (130) of an electronic device (110).

[0055] In one embodiment, the stroke may be displayed on the display of the electronic device (110). In one embodiment, the stroke may be displayed in the displayable area (130) of the electronic device (110). For example, the stroke "Hello! Sam" may be displayed in the displayable area (130) of the electronic device (110).

[0056] In one embodiment, if a stroke using an electronic pen (120) occurs outside the display of the electronic device (110), the electronic device (110) may not display the stroke occurring outside the display on the electronic device (110). In one embodiment, if a stroke using an electronic pen (120) occurs outside the displayable area (130) of the electronic device (110), the electronic device (110) may not display the stroke occurring outside the displayable area (130) on the electronic device (110).

[0057] In one embodiment, a stroke that occurs outside the displayable area (130) may be a missing stroke (140). In one embodiment, a missing stroke (140) may not be displayed on the display of the electronic device (110). In one embodiment, a missing stroke (140) may not be displayed in the displayable area (130) of the electronic device (110). For example, in the entire stroke of "Hello! Sam," the end of the "m" may occur outside the displayable area and thus be a missing stroke.

[0058] In one embodiment, the electronic device (110) may not display the missing stroke (140) on the display of the electronic device (110). In one embodiment, the electronic device (110) may not display the missing stroke (140) in the displayable area (130) of the electronic device (110).

[0059] In one embodiment, the electronic device (110) can detect a missed stroke (140), which is a stroke made using the electronic pen (120) outside the displayable area (130) of the electronic device (110).

[0060] In one embodiment, the electronic device (110) can obtain missing stroke data for a detected missing stroke (140). In one embodiment, the electronic device (110) can obtain missing stroke data for a detected missing stroke (140) from the electronic pen (120). In one embodiment, the electronic pen (120) can transmit the missing stroke data to the electronic device (110).

[0061] In one embodiment, the electronic device (110) can adjust the layout of the displayable area (130) based on missing stroke data.

[0062] In one embodiment, the electronic device (110) may move the entire stroke to the empty space in the displayable area (130) based on at least one of the direction of use of the electronic pen (120), the virtual display area, and the displayable area (130). For example, if the electronic pen (120) is being used from left to right and the size of the missing stroke (140) is smaller than the left empty space in the displayable area (130), the entire stroke "Hello! Sam" may be moved to the left.

[0063] In one embodiment, the electronic device (110) may display the missing stroke (140) in the displayable area (130) according to the adjusted layout. For example, as the full stroke "Hello! Sam" moves to the left, the end of the missing stroke (140) "m" may be displayed in the displayable area (130) so as to be connected to the full stroke.

[0064] FIG. 2 is a flowchart for explaining a method of displaying a stroke using an electronic pen (120) on an electronic device (110) according to one embodiment.

[0065] Referring to FIG. 2, the electronic device (110) can receive stroke data related to a stroke using an electronic pen (120) (210).

[0066] In one embodiment, the electronic device (110) can receive stroke data related to a stroke using the electronic pen (120) from the electronic pen (120). In one embodiment, the electronic pen (120) can transmit the stroke data to the electronic device (110).

[0067] In one embodiment, the electronic device (110) can display a stroke using the electronic pen (120) on the electronic device (110) using the received stroke data. In one embodiment, the electronic device (110) can display a stroke using the electronic pen (120) on the display of the electronic device (110) using the received stroke data. In one embodiment, the electronic device (110) can display a stroke using the electronic pen (120) on the displayable area of ​​the electronic device (110) using the received stroke data.

[0068] In one embodiment, the stroke data may include at least one of pressure sensor data, infrared sensor data, ultrasonic sensor data, electrical signal data, magnetic signal data, electrostatic signal data, accelerometer data, gyroscope data, magnetometer data, pen tip position data, tilt data, and beacon position of the electronic pen (120), but is not limited thereto.

[0069] In one embodiment, the electronic device (110) can detect a stroke using an electronic pen (120) in a displayable area of ​​the electronic device (110) using stroke data. In one embodiment, when the electronic device (110) detects a stroke using an electronic pen (120) in a displayable area of ​​the electronic device (110), the electronic device (110) can display the stroke in the displayable area of ​​the electronic device (110).

[0070] In one embodiment, the electronic device (110) can detect a missed stroke (220), which is a stroke made using the electronic pen (120) outside the displayable area of ​​the electronic device (110).

[0071] In one embodiment, the electronic device (110) may activate a missed stroke detection mode when a stroke using an electronic pen (120) is detected at the edge of the displayable area of ​​the electronic device (110).

[0072] In one embodiment, the missed stroke detection mode may be a system that detects strokes using an electronic pen (120) outside the displayable area of ​​the electronic device (110). In one embodiment, the missed stroke detection mode may utilize stroke data associated with a stroke using the electronic pen (120).

[0073] In one embodiment, the electronic device (110) can detect a missed stroke, which is a stroke made using the electronic pen (120) outside the displayable area of ​​the electronic device (110), through a missed stroke detection mode.

[0074] In one embodiment, the electronic device (110) can use stroke data to detect a missed stroke, which is a stroke made using the electronic pen (120) outside the displayable area of ​​the electronic device (110).

[0075] In one embodiment, the electronic device (110) may not display a missing stroke on the electronic device (110). In one embodiment, the electronic device (110) may not display a missing stroke on the display of the electronic device (110). In one embodiment, the electronic device (110) may not display a missing stroke in the displayable area of ​​the electronic device (110).

[0076] In one embodiment, the electronic device (110) may use stroke data to determine whether or not a stroke is made when the electronic pen (120) is used outside the displayable area of ​​the electronic device (110). In one embodiment, if the electronic device (110) determines that a stroke is not made when the electronic pen (120) is used outside the displayable area of ​​the electronic device (110), the electronic device (110) may not recognize it as a missed stroke.

[0077] In one embodiment, the electronic device (110) can obtain missing stroke data for a detected missing stroke (230). In one embodiment, the electronic device (110) can obtain missing stroke data for a detected missing stroke from the electronic pen (120).

[0078] In one embodiment, the missing stroke data may include at least one of pen tip position data, accelerometer data, gyroscope data, magnetometer data, tilt data, time data, sensor data, and direction data of the electronic pen (120), but is not limited thereto.

[0079] In one embodiment, the electronic device (110) may acquire missing stroke data while a missed stroke occurs. In one embodiment, the electronic device (110) may stop acquiring missing stroke data when a missed stroke does not occur.

[0080] In one embodiment, the electronic device (110) can use the missing stroke data to determine whether a missing stroke is occurring. In one embodiment, the electronic device (110) can use the missing stroke data to measure whether at least one of the acceleration and the coordinates of the electronic pen (120) exceeds a threshold. In one embodiment, if at least one of the acceleration and the coordinates of the electronic pen (120) exceeds the threshold, the electronic device (110) can determine that a missing stroke is not occurring and stop acquiring the missing stroke data.

[0081] In one embodiment, the electronic device (110) can create a virtual display area that extends beyond the displayable area in the direction in which the missed stroke is detected. In one embodiment, the electronic device (110) can obtain the missed stroke data by calculating the pen tip position of the electronic pen (120) in the virtual display area.

[0082] In one embodiment, the virtual display area may mean any two-dimensional plane created by extending from the display edge of the electronic device (110) in the direction in which the missing stroke is detected, but is not limited thereto.

[0083] In one embodiment, the virtual display area may be a virtual two-dimensional plane created to calculate the pen tip position of the electronic pen (120). In one embodiment, the virtual display area may be a virtual two-dimensional plane created to acquire a missing stroke.

[0084] In one embodiment, the electronic device (110) can obtain a missing stroke using the missing stroke data. In one embodiment, the electronic device (110) can obtain a connected missing stroke by calculating the pen tip position of the electronic pen (120) in the virtual display area using the missing stroke data. In one embodiment, the missing stroke may be a stroke connected by calculating the pen tip position of the electronic pen (120) in the virtual display area.

[0085] In one embodiment, the electronic device (110) can adjust the layout of the displayable area based on the missing stroke data (240).

[0086] In one embodiment, the electronic device (110) can adjust the layout of the displayable area so that the missing strokes obtained using the missing stroke data can be displayed in the displayable area of ​​the electronic device (110).

[0087] In one embodiment, the electronic device (110) may move the entire stroke to the empty space if there is an empty space in the displayable area based on at least one of the direction of use of the electronic pen (120), the virtual display area, and the displayable area.

[0088] In one embodiment, the empty space may mean an empty space in the displayable area opposite to the direction of use of the electronic pen (120).

[0089] In one embodiment, the electronic device (110) can determine whether an empty space exists by comparing the size of the virtual display area containing the missing stroke with the size of the empty space.

[0090] In one embodiment, the electronic device (110) can adjust the size of the entire stroke based on the ratio between the virtual display area and the displayable area, if there is no empty space in the displayable area.

[0091] In one embodiment, the ratio between the virtual display area and the displayable area may mean a reduction ratio that allows the missing stroke to be displayed in the displayable area.

[0092] In one embodiment, the electronic device (110) can display the missing stroke in the displayable area according to the adjusted layout (250).

[0093] In one embodiment, the electronic device (110) may display a missing stroke as connected to the entire stroke when the entire stroke is moved to a blank space in the displayable area.

[0094] In one embodiment, the electronic device (110) may display a missing stroke so that it is proportionally resized and connected to the entire stroke when the entire stroke is resized.

[0095] In one embodiment, a missing stroke may be connected to a full stroke to complete a single letter or figure. In one embodiment, a missing stroke may be connected by adding the missing portion of a full stroke.

[0096] FIG. 3 is a flowchart illustrating a method for detecting a missing stroke according to one embodiment.

[0097] Referring to FIG. 3, the electronic device (110) can receive stroke data related to a stroke using the electronic pen (120) (310). In one embodiment, the electronic device (110) can receive stroke data related to a stroke using the electronic pen (120) from the electronic pen (120).

[0098] In one embodiment, the electronic device (110) can detect a stroke using an electronic pen (120) in a displayable area of ​​the electronic device (110) using stroke data. In one embodiment, when the electronic device (110) detects a stroke using an electronic pen (120) in a displayable area of ​​the electronic device (110), the electronic device (110) can display the stroke in the displayable area of ​​the electronic device (110).

[0099] In one embodiment, the electronic device (110) can display a stroke using an electronic pen (120) on a displayable area of ​​the electronic device (110) using the received stroke data.

[0100] In one embodiment, the electronic device (110) can detect a stroke using an electronic pen (120) at the edge of the displayable area of ​​the electronic device (110) (320).

[0101] In one embodiment, the electronic device (110) may continue to receive stroke data if it does not detect a stroke using the electronic pen (120) at the edge of the displayable area of ​​the electronic device (110).

[0102] In one embodiment, the electronic device (110) may activate a missed stroke detection mode when a stroke using an electronic pen (120) is detected at the edge of the displayable area of ​​the electronic device (110) (330).

[0103] In one embodiment, the missed stroke detection mode may be a system that detects strokes using an electronic pen (120) outside the displayable area of ​​the electronic device (110). In one embodiment, the missed stroke detection mode may utilize stroke data associated with a stroke using the electronic pen (120).

[0104] In one embodiment, the electronic device (110) can detect a missed stroke, which is a stroke made using the electronic pen (120) outside the displayable area of ​​the electronic device (110), through a missed stroke detection mode.

[0105] In one embodiment, the electronic device (110) can use stroke data to detect a missed stroke, which is a stroke made using the electronic pen (120) outside the displayable area of ​​the electronic device (110).

[0106] In one embodiment, when the missing stroke mode is activated, the electronic pen (120) can detect whether a stroke using the electronic pen (120) occurs outside the displayable area.

[0107] In one embodiment, when the missed stroke mode is activated, the electronic pen (120) can transmit a signal to the electronic device (110) indicating whether a missed stroke has occurred.

[0108] In one embodiment, the electronic device (110) can determine whether a stroke using the electronic pen (120) has moved from the displayable area of ​​the electronic device (110) to the edge of the displayable area (340).

[0109] In one embodiment, the electronic pen (120) can transmit a signal to the electronic device (120) indicating whether a stroke using the electronic pen (120) has moved from the displayable area of ​​the electronic device (110) to the edge of the displayable area.

[0110] In one embodiment, the electronic device (110) can determine whether a stroke using the electronic pen (120) has moved from the displayable area of ​​the electronic device (110) to the edge of the displayable area through the pen tip position information of the electronic pen (120).

[0111] In one embodiment, the electronic pen (120) can transmit information about the position of the pen tip of the electronic pen (120) to the electronic device (110) to inform the trajectory of a stroke made using the electronic pen (120). In one embodiment, the electronic pen (120) can transmit information about the position of the pen tip of the electronic pen (120) to the electronic device (110) to inform the electronic device (110) whether a stroke made using the electronic pen (120) has moved from the displayable area of ​​the electronic device (110) to the edge of the displayable area.

[0112] In one embodiment, if it is determined that the stroke has not moved from the displayable area of ​​the electronic device (110) to the edge of the displayable area, the electronic device (110) may terminate the operation by considering that no stroke is being made using the electronic pen (120).

[0113] In one embodiment, if the stroke is determined to have moved from the displayable area of ​​the electronic device (110) to the edge of the displayable area, the electronic device (110) may consider that a stroke using the electronic pen (120) is occurring.

[0114] In one embodiment, the electronic device (110) can determine whether a missed stroke returned from outside the displayable area into the displayable area (350).

[0115] In one embodiment, the electronic device (110) can use stroke data to determine whether a missed stroke returned from outside the displayable area of ​​the electronic device (110) into the displayable area.

[0116] In one embodiment, the electronic pen (120) may transmit a signal to the electronic device (110) indicating whether a missed stroke has returned from outside the displayable area of ​​the electronic device (110) to the displayable area.

[0117] In one embodiment, the electronic device (110) can determine whether a missed stroke returned from outside the displayable area of ​​the electronic device (110) to the displayable area through pen tip position information of the electronic pen (120).

[0118] In one embodiment, the electronic pen (120) can transmit pen tip position information of the electronic pen (120) to the electronic device (110) to indicate whether a missed stroke returned from outside the displayable area of ​​the electronic device (110) to the displayable area.

[0119] In one embodiment, if a missed stroke returns from outside the displayable area to the displayable area, the electronic device (110) may display the stroke after it returns to the displayable area in the displayable area of ​​the electronic device (110).

[0120] In one embodiment, a stroke that returns from outside the displayable area to the displayable area may take the form of a character or figure that is truncated relative to the edge of the displayable area of ​​the electronic device (110).

[0121] In one embodiment, the electronic device (110) may obtain missing stroke data for a missing stroke outside the displayable area when it detects that the missing stroke has returned to the displayable area from outside the displayable area (360).

[0122] In one embodiment, the electronic pen (120) may transmit missing stroke data for missed strokes outside the displayable area to the electronic device (110).

[0123] In one embodiment, the electronic device (110) may acquire missing stroke data from the time the stroke leaves the displayable area to the time the stroke returns to the displayable area. In one embodiment, the electronic device (110) may stop acquiring missing stroke data from the time the stroke returns to the displayable area.

[0124] In one embodiment, the electronic pen (120) may transmit missing stroke data to the electronic device (110) during the time from when the stroke leaves the displayable area to when it returns to the displayable area.

[0125] In one embodiment, the electronic device (110) may consider all missed strokes to have occurred outside the displayable area if it determines that the missed stroke did not return to the displayable area from outside the displayable area.

[0126] In one embodiment, the electronic device (110) may use stroke data to determine whether or not a stroke is made when the electronic pen (120) is used outside the displayable area of ​​the electronic device (110). In one embodiment, if the electronic device (110) determines that a stroke is not made when the electronic pen (120) is used outside the displayable area of ​​the electronic device (110), the electronic device (110) may not recognize it as a missed stroke.

[0127] In one embodiment, the electronic device (110) can determine whether the acceleration of the electronic pen (120) exceeds a threshold value (370).

[0128] In one embodiment, the accelerometer may mean a sensor capable of measuring the acceleration of the electronic pen (120) in the direction of a three-dimensional coordinate axis.

[0129] In one embodiment, the threshold value may refer to the maximum value of the error range within which a stroke using the electronic pen (120) can be determined to have occurred. In one embodiment, the threshold value may be a value arbitrarily set by the user.

[0130] In one embodiment, the electronic device (110) may receive data from an accelerometer included in the electronic pen (120) from the electronic pen (120) to determine whether the acceleration of the electronic pen (120) exceeds a threshold value.

[0131] In one embodiment, the electronic pen (120) can transmit data from an accelerometer included in the electronic pen (120) to the electronic device (110).

[0132] In one embodiment, data from an accelerometer included in the electronic pen (120) may be data measuring the acceleration of the electronic pen (120) in a three-dimensional coordinate axis direction.

[0133] In one embodiment, if the electronic device (110) determines that the acceleration of the electronic pen (120) exceeds a threshold value, it may terminate the operation by considering that no stroke is occurring using the electronic pen (120).

[0134] In one embodiment, if the acceleration of the electronic pen (120) is determined to exceed a threshold, the electronic device (110) may consider that the user has stopped generating strokes using the electronic pen (120).

[0135] In one embodiment, if the electronic device (110) determines that the acceleration of the electronic pen (120) does not exceed the threshold value, it can determine whether the coordinates of the electronic pen (120) exceed the threshold value (380).

[0136] In one embodiment, a gyroscope may mean a sensor capable of measuring the rotational direction, rotational angle, and angular velocity of an electronic pen (120) in three dimensions.

[0137] In one embodiment, the electronic device (110) can receive data of a gyroscope included in the electronic pen (120) from the electronic pen (120) to determine whether the coordinates of the electronic pen (120) exceed a threshold value.

[0138] In one embodiment, the electronic pen (120) can transmit data from a gyroscope included in the electronic pen (120) to the electronic device (110).

[0139] In one embodiment, the data of the gyroscope included in the electronic pen (120) may be data measuring the rotation direction, rotation angle, and angular velocity of the electronic pen (120) in three dimensions.

[0140] In one embodiment, the electronic device (110) can determine whether the z-axis coordinate of the electronic pen (120) exceeds a threshold value. In one embodiment, the electronic device (110) can receive data of a gyroscope included in the electronic pen (120) from the electronic pen (120) and determine whether the z-axis coordinate of the electronic pen (120) exceeds a threshold value.

[0141] In one embodiment, if the electronic device (110) determines that the z-axis coordinate of the electronic pen (120) exceeds a threshold value, it may consider that no stroke is made using the electronic pen (120) and terminate the operation.

[0142] In one embodiment, if the z-axis coordinate of the electronic pen (120) is determined to exceed a threshold value, the electronic device (110) may consider that the user has stopped generating strokes using the electronic pen (120).

[0143] In one embodiment, the electronic device (110) may obtain missing stroke data (390) if it determines that the coordinates of the electronic pen (120) do not exceed a threshold value.

[0144] In one embodiment, when the electronic device (110) detects that all missing strokes occurred outside the displayable area, the electronic device (110) may use data from at least one of an accelerometer and a gyroscope included in the electronic pen (120) to obtain missing stroke data until at least one of the acceleration and coordinates of the electronic pen (120) does not exceed a threshold value.

[0145] In one embodiment, the electronic device (110) may receive data from at least one of an accelerometer and a gyroscope included in the electronic pen (120) when it detects that all missed strokes occurred outside the displayable area.

[0146] In one embodiment, the electronic pen (120) can transmit data from at least one of an accelerometer and a gyroscope included in the electronic pen (120) to the electronic device (110).

[0147] In one embodiment, the electronic device (110) may receive missing stroke data from the electronic pen (120) until at least one of the acceleration and coordinates of the electronic pen (120) does not exceed a threshold value.

[0148] In one embodiment, the electronic pen (120) may transmit missing stroke data to the electronic device (110) until at least one of the acceleration and coordinates of the electronic pen (120) does not exceed a threshold.

[0149] In one embodiment, if at least one of the acceleration and coordinates of the electronic pen (120) exceeds a threshold, the electronic device (110) may stop acquiring missing stroke data. In one embodiment, if at least one of the acceleration and coordinates of the electronic pen (120) exceeds a threshold, the electronic device (110) may consider that the user has stopped generating strokes using the electronic pen (120).

[0150] In one embodiment, the electronic device (110) can acquire missing stroke data from the time a stroke using the electronic pen (120) goes outside the displayable area of ​​the electronic device (110) to the time when at least one of the acceleration and coordinates of the electronic pen (120) exceeds a threshold value.

[0151] In one embodiment, the electronic device (110) may receive missing stroke data from the electronic pen (120) from the time a stroke using the electronic pen (120) goes outside the displayable area of ​​the electronic device (110) until the time at least one of the acceleration and coordinates of the electronic pen (120) exceeds a threshold value.

[0152] In one embodiment, the electronic pen (120) may transmit missing stroke data to the electronic device (110) from the time a stroke using the electronic pen (120) goes outside the displayable area of ​​the electronic device (110) until at least one of the acceleration and coordinates of the electronic pen (120) exceeds a threshold value.

[0153] FIG. 4 is a diagram illustrating a method for activating a missing stroke detection mode according to one embodiment.

[0154] Referring to FIG. 4, the electronic device (110) can receive stroke data related to a stroke using the electronic pen (120). In one embodiment, the electronic device (110) can receive stroke data related to a stroke using the electronic pen (120) from the electronic pen (120).

[0155] In one embodiment, the electronic device (110) can detect a stroke using an electronic pen (120) in a displayable area of ​​the electronic device (110) using stroke data. In one embodiment, when the electronic device (110) detects a stroke using an electronic pen (120) in a displayable area of ​​the electronic device (110), the electronic device (110) can display the stroke in the displayable area of ​​the electronic device (110).

[0156] In one embodiment, the electronic device (110) can display a stroke using an electronic pen (120) on a displayable area of ​​the electronic device (110) using the received stroke data.

[0157] In one embodiment, the electronic device (110) can detect a stroke using an electronic pen (120) at the edge of the displayable area (410).

[0158] In one embodiment, the displayable area edge (410) may refer to an area extending a certain distance from the left and right ends of the electronic device (110). For example, the displayable area edge (410) may be an area extending a distance m from the left and right ends of the electronic device (110).

[0159] In one embodiment, the electronic pen (120) can detect whether a stroke using the electronic pen (120) occurs at the edge of the displayable area (410). In one embodiment, the electronic pen (120) can transmit a signal to the electronic device (110) when it detects that a stroke using the electronic pen (120) occurs at the edge of the displayable area (410).

[0160] In one embodiment, the electronic device (110) can detect a stroke using the electronic pen (120) at the edge of the displayable area (410) by receiving a signal from the electronic pen (120).

[0161] In one embodiment, the electronic device (110) may activate a missed stroke detection mode when a stroke using the electronic pen (120) is detected at the edge (410) of the displayable area. For example, the electronic device (110) may activate the missed stroke detection mode when a stroke of the electronic pen (120) is detected in an area at a distance m from the left and right ends of the electronic device (110).

[0162] In one embodiment, the missed stroke detection mode may be a system that detects strokes using an electronic pen (120) outside the displayable area of ​​the electronic device (110). In one embodiment, the missed stroke detection mode may utilize stroke data associated with a stroke using the electronic pen (120).

[0163] In one embodiment, the electronic device (110) can detect a missed stroke, which is a stroke made using the electronic pen (120) outside the displayable area of ​​the electronic device (110), through a missed stroke detection mode.

[0164] In one embodiment, the electronic device (110) can use stroke data to detect a missed stroke, which is a stroke made using the electronic pen (120) outside the displayable area of ​​the electronic device (110).

[0165] In one embodiment, when the missing stroke mode is activated, the electronic pen (120) can detect whether a stroke using the electronic pen (120) occurs outside the displayable area.

[0166] In one embodiment, when the missed stroke mode is activated, the electronic pen (120) can transmit a signal to the electronic device (110) indicating whether a missed stroke has occurred.

[0167] In one embodiment, the electronic device (110) can detect a missed stroke by receiving a signal from the electronic pen (120).

[0168] In one embodiment, the electronic device (110) may not display a missing stroke outside the displayable area of ​​the electronic device (110) in the displayable area of ​​the electronic device (110).

[0169] In one embodiment, when the electronic device (110) detects a missed stroke through the missed stroke detection mode, it can obtain missed stroke data for the detected missed stroke.

[0170] In one embodiment, the electronic device (110) may receive missing stroke data from the electronic pen (120) when a missing stroke is detected through the missing stroke detection mode.

[0171] FIG. 5 is a diagram illustrating a process for detecting that a missing stroke has returned from outside the displayable area (510) to the displayable area (520) according to one embodiment.

[0172] Referring to FIG. 5, the electronic device (110) can receive stroke data related to a stroke using the electronic pen (120). In one embodiment, the electronic device (110) can receive stroke data related to a stroke using the electronic pen (120) from the electronic pen (120).

[0173] In one embodiment, the electronic device (110) can detect a stroke using an electronic pen (120) in a displayable area (520) of the electronic device (110) using stroke data. In one embodiment, when the electronic device (110) detects a stroke using an electronic pen (120) in a displayable area (520) of the electronic device (110), the electronic device (110) can display the stroke in the displayable area of ​​the electronic device (110).

[0174] In one embodiment, the electronic device (110) may display a stroke using the electronic pen (120) on the displayable area of ​​the electronic device (110) using the received stroke data. For example, the electronic device (110) may display "Hello," a stroke using the electronic pen (120), on the displayable area of ​​the electronic device (110) using the received stroke data.

[0175] In one embodiment, the electronic device (110) can detect a missing stroke, which is a stroke made using the electronic pen (120) outside the displayable area (510) of the electronic device (110). For example, the electronic device (110) can detect that the end of the last letter "o" is missing in the stroke "Hello" made using the electronic pen.

[0176] In one embodiment, the electronic device (110) can detect a missed stroke by receiving a signal from the electronic pen (120).

[0177] In one embodiment, the electronic device (110) can detect a missed stroke, which is a stroke made using an electronic pen (120) outside the displayable area (510) of the electronic device (110), through a missed stroke detection mode.

[0178] In one embodiment, the electronic device (110) can obtain missing stroke data for a detected missing stroke. In one embodiment, the electronic device (110) can receive the missing stroke data from the electronic pen (120). In one embodiment, the electronic pen (120) can transmit the missing stroke data to the electronic device (110).

[0179] In one embodiment, the electronic device (110) can detect that a missing stroke has returned from outside the displayable area (510) to the displayable area (520). For example, the electronic device can detect that the end of the missing stroke "o" has returned from outside the displayable area (510) to the displayable area (520).

[0180] In one embodiment, the electronic device (110) can use stroke data to detect whether a missed stroke has returned from outside the displayable area (510) of the electronic device (110) into the displayable area (520).

[0181] In one embodiment, the electronic device (110) may receive stroke data from the electronic pen (120). For example, the electronic device (110) may receive data regarding a first stroke (530) and a second stroke (540) from the electronic pen (120).

[0182] For example, the first stroke (530) may be in a direction from the displayable area (520) to outside the displayable area (510). The second stroke (540) may be in a direction from outside the displayable area (510) to back into the display area (520).

[0183] In one embodiment, the first stroke (530) and the second stroke (540) may be consecutive strokes. In one embodiment, the first stroke (530) and the second stroke (540) may be overlapping or close-distance strokes.

[0184] In one embodiment, the electronic device (110) can use data regarding the first stroke (530) and the second stroke (540) to detect whether a missed stroke returned from outside the displayable area (510) of the electronic device (110) into the displayable area (520).

[0185] In one embodiment, the electronic device (110) can determine whether a missed stroke has returned from outside the displayable area (510) of the electronic device (110) to the displayable area (520) through the pen tip position information of the electronic pen (120). In one embodiment, the electronic pen (120) can transmit the pen tip position information of the electronic pen (120) to the electronic device (110).

[0186] In one embodiment, if a missed stroke returns from outside the displayable area (510) to the displayable area (520), the electronic device (110) may display the stroke after it returns to the displayable area (520) in the displayable area (520) of the electronic device (110).

[0187] In one embodiment, a stroke that returns from outside the displayable area (510) to the displayable area (520) may take the form of a character or figure that is truncated relative to the edge of the displayable area of ​​the electronic device (110). For example, the last letter "o" in the stroke "Hello" may be truncated relative to the edge of the displayable area of ​​the electronic device (110), so that only the shape of "c" may be displayed in the displayable area (520).

[0188] In one embodiment, the electronic device (110) may obtain missing stroke data for a missing stroke outside the displayable area (510) when it detects that the missing stroke has returned from outside the displayable area (510) to the displayable area (520) (360).

[0189] In one embodiment, the electronic pen (120) can transmit missing stroke data for missed strokes outside the displayable area (510) to the electronic device (110).

[0190] In one embodiment, the electronic device (110) may acquire missing stroke data from the time the stroke goes outside the displayable area (510) to the time it returns to the displayable area (520). In one embodiment, the electronic device (110) may stop acquiring missing stroke data from the time the stroke returns to the displayable area (520).

[0191] In one embodiment, the electronic device (110) can receive missing stroke data from the electronic pen (120) during the time from when the stroke goes outside the displayable area (510) to when it returns to the displayable area (520).

[0192] In one embodiment, the electronic pen (120) may transmit missing stroke data to the electronic device (110) from the time the stroke goes outside the displayable area (510) to the time it returns to the displayable area (520).

[0193] For example, if the last letter "o" in the stroke "Hello" is missing, the electronic device (110) can obtain missing stroke data for the portion excluding the "c" portion, which is the portion that is not missing from "o".

[0194] In one embodiment, the electronic device (110) can obtain missing strokes using missing stroke data.

[0195] FIG. 6 is a diagram illustrating a method for obtaining missing stroke data after detecting that all missing strokes occurred outside the displayable area according to one embodiment.

[0196] Referring to FIG. 6, the electronic device (110) can receive stroke data related to a stroke using the electronic pen (120). In one embodiment, the electronic device (110) can receive stroke data related to a stroke using the electronic pen (120) from the electronic pen (120).

[0197] In one embodiment, the electronic device (110) can detect a stroke using an electronic pen (120) in a displayable area (520) of the electronic device (110) using stroke data. In one embodiment, when the electronic device (110) detects a stroke using an electronic pen (120) in a displayable area (520) of the electronic device (110), the electronic device (110) can display the stroke in the displayable area of ​​the electronic device (110).

[0198] In one embodiment, the electronic device (110) can display a stroke using an electronic pen (120) on a displayable area of ​​the electronic device (110) using the received stroke data.

[0199] In one embodiment, the electronic device (110) can detect that a missed stroke has not returned from outside the displayable area to the displayable area.

[0200] In one embodiment, the electronic device (110) can detect that all missed strokes occurred outside the displayable area.

[0201] In one embodiment, the electronic device (110) may receive data from at least one of an accelerometer and a gyroscope included in the electronic pen (120) when it detects that all missed strokes occurred outside the displayable area.

[0202] In one embodiment, if all missed strokes occur outside the displayable area, the electronic pen (120) may transmit data from at least one of an accelerometer and a gyroscope included in the electronic pen (120) to the electronic device (110).

[0203] In one embodiment, the accelerometer may refer to a sensor capable of measuring the acceleration of the electronic pen (120) in a three-dimensional coordinate axis direction. In one embodiment, data from the accelerometer included in the electronic pen (120) may be data measuring the acceleration of the electronic pen (120) in a three-dimensional coordinate axis direction.

[0204] In one embodiment, a gyroscope may refer to a sensor capable of measuring the rotational direction, rotational angle, and angular velocity of an electronic pen (120) in three dimensions. In one embodiment, data of a gyroscope included in an electronic pen (120) may be data measuring the rotational direction, rotational angle, and angular velocity of the electronic pen (120) in three dimensions.

[0205] In one embodiment, the electronic device (110) can obtain the acceleration of a stroke using the electronic pen (120). For example, a first stroke (610) using the electronic pen (120) can have an acceleration of a1. The first stroke (610) can be a stroke that occurs in the displayable area of ​​the electronic device (110).

[0206] In one embodiment, the electronic device (110) can determine whether the acceleration of the electronic pen (120) exceeds a threshold value. In one embodiment, the electronic device (110) can receive data from an accelerometer included in the electronic pen (120) from the electronic pen (120) to determine whether the acceleration of the electronic pen (120) exceeds a threshold value.

[0207] In one embodiment, the threshold value may refer to the maximum value of the error range within which a stroke using the electronic pen (120) can be determined to have occurred. In one embodiment, the threshold value may be a value arbitrarily set by the user.

[0208] In one embodiment, the electronic device (110) can determine whether the acceleration of a stroke using the electronic pen (120) exceeds a threshold value. For example, a second stroke (620) using the electronic pen (120) may have an acceleration of a2. The second stroke (620) may be a stroke that occurred outside the displayable area of ​​the electronic device (110).

[0209] For example, the acceleration a2 of the second stroke (620) may have an error range within a threshold value compared to the acceleration a1 of the first stroke (610). The point that separates the first stroke (610) and the second stroke (620) may be T1.

[0210] In one embodiment, the electronic device (110) may determine that a stroke using the electronic pen (120) does not occur if it determines that the acceleration of the electronic pen (120) exceeds a threshold value.

[0211] In one embodiment, if the electronic device (110) determines that the acceleration of the electronic pen (120) exceeds a threshold value, the electronic device (110) may consider that the user has stopped making strokes using the electronic pen (120).

[0212] In one embodiment, if it is determined that the acceleration of the electronic pen (120) exceeds a threshold value, the electronic device (110) may stop acquiring missing stroke data. In one embodiment, if it is determined that the acceleration of the electronic pen (120) exceeds a threshold value, the electronic device (110) may not receive missing stroke data from the electronic pen (120).

[0213] In one embodiment, the electronic device (110) can determine whether the acceleration of a stroke using the electronic pen (120) exceeds a threshold value. For example, the third stroke (630) using the electronic pen (120) may have an acceleration of a3. The user may generate strokes only up to the second stroke (620) and then stop using the electronic pen (120).

[0214] For example, if the user stops using the electronic pen (120) after the second stroke (620), the acceleration a3 of the third stroke (630) may have an error range exceeding a threshold compared to a1. The point that separates the second stroke (620) and the third stroke (630) may be T2.

[0215] For example, if the user stops using the electronic pen (120) after the second stroke (620), the T2 point may be the starting point where the user does not generate a stroke or the point where the user stops using the electronic pen (120).

[0216] In one embodiment, the electronic device (110) may stop acquiring missing stroke data after point T2. In one embodiment, the electronic device (110) may not receive missing stroke data from the electronic pen (120) after point T2.

[0217] In one embodiment, the electronic device (110) may determine whether the coordinates of the electronic pen (120) exceed the threshold value when it determines that the acceleration of the electronic pen (120) does not exceed the threshold value.

[0218] In one embodiment, even if the user stops making a stroke, the acceleration of the electronic pen (120) may not exceed a threshold. In one embodiment, to determine when the user stops making a stroke, the gyroscope of the electronic pen (120) may be used to determine whether the coordinates of the electronic pen (120) exceed the threshold.

[0219] In one embodiment, the electronic device (110) can receive data of a gyroscope included in the electronic pen (120) from the electronic pen (120) to determine whether the coordinates of the electronic pen (120) exceed a threshold value.

[0220] In one embodiment, the electronic device (110) can determine whether the z-axis coordinate of the electronic pen (120) exceeds a threshold value. In one embodiment, the electronic device (110) can receive data of a gyroscope included in the electronic pen (120) from the electronic pen (120) and determine whether the z-axis coordinate of the electronic pen (120) exceeds a threshold value.

[0221] In one embodiment, the electronic device (110) can obtain the coordinates of a stroke using the electronic pen (120). For example, the coordinates of a fourth stroke (640) using the electronic pen (120) can be obtained. The fourth stroke (640) can occur outside the displayable area of ​​the electronic device (110).

[0222] For example, the electronic device (110) can obtain the z-axis coordinate of the fourth stroke (640). The z-axis coordinate outside the displayable area of ​​the fourth stroke (640) may have an error range exceeding a threshold value compared to the z-axis coordinate within the displayable area.

[0223] In one embodiment, if the electronic device (110) determines that the coordinates of the electronic pen (120) exceed a threshold value, it may consider that a stroke using the electronic pen (120) does not occur. In one embodiment, if the electronic device (110) determines that the z-axis coordinates of the electronic pen (120) exceed a threshold value, it may consider that a stroke using the electronic pen (120) does not occur.

[0224] In one embodiment, if it is determined that the coordinates of the electronic pen (120) exceed a threshold value, the electronic device (110) may consider that the user has stopped making strokes using the electronic pen (120). In one embodiment, if it is determined that the z-axis coordinates of the electronic pen (120) exceed a threshold value, the electronic device (110) may consider that the user has stopped making strokes using the electronic pen (120).

[0225] In one embodiment, if it is determined that the coordinates of the electronic pen (120) exceed a threshold value, the electronic device (110) may stop acquiring missing stroke data. In one embodiment, if it is determined that the coordinates of the electronic pen (120) exceed a threshold value, the electronic device (110) may not receive missing stroke data from the electronic pen (120).

[0226] In one embodiment, if it is determined that the z-axis coordinate of the electronic pen (120) exceeds a threshold value, the electronic device (110) may stop acquiring missing stroke data. In one embodiment, if it is determined that the z-axis coordinate of the electronic pen (120) exceeds a threshold value, the electronic device (110) may not receive missing stroke data from the electronic pen (120).

[0227] For example, the electronic device (110) may stop acquiring missing stroke data from the time point when the z-axis coordinate of the fourth stroke (640) exceeds the threshold value. The electronic device (110) may not receive missing stroke data from the electronic pen (120) from the time point when the z-axis coordinate of the fourth stroke (640) exceeds the threshold value.

[0228] In one embodiment, the electronic device (110) may obtain missing stroke data if it determines that at least one of the acceleration and coordinates of the electronic pen (120) does not exceed a threshold value. In one embodiment, the electronic device (110) may receive missing stroke data from the electronic pen (120) if it determines that at least one of the acceleration and coordinates of the electronic pen (120) does not exceed a threshold value.

[0229] In one embodiment, when the electronic device (110) detects that all missing strokes occurred outside the displayable area, the electronic device (110) may use data from at least one of an accelerometer and a gyroscope included in the electronic pen (120) to obtain missing stroke data until at least one of the acceleration and coordinates of the electronic pen (120) does not exceed a threshold value.

[0230] In one embodiment, the electronic device (110) may receive missing stroke data from the electronic pen (120) until at least one of the acceleration and coordinates of the electronic pen (120) does not exceed a threshold value.

[0231] In one embodiment, the electronic pen (120) may transmit missing stroke data to the electronic device (110) until at least one of the acceleration and coordinates of the electronic pen (120) does not exceed a threshold.

[0232] In one embodiment, if at least one of the acceleration and coordinates of the electronic pen (120) exceeds a threshold, the electronic device (110) may stop acquiring missing stroke data. In one embodiment, if at least one of the acceleration and coordinates of the electronic pen (120) exceeds a threshold, the electronic device (110) may consider that the user has stopped generating strokes using the electronic pen (120).

[0233] For example, the electronic device (110) may stop acquiring missing stroke data when the stroke of the electronic pen (120) exceeds a threshold value compared to the acceleration of a1, or when the z-axis coordinate of the stroke of the electronic pen (120) exceeds a threshold value.

[0234] In one embodiment, the electronic device (110) can acquire missing stroke data from the time a stroke using the electronic pen (120) goes outside the displayable area of ​​the electronic device (110) to the time when at least one of the acceleration and coordinates of the electronic pen (120) exceeds a threshold value.

[0235] For example, the electronic device (110) can acquire missing stroke data from the time when the stroke of the electronic pen (120) goes outside the displayable area of ​​the electronic device (110) until the stroke exceeds a threshold value greater than the acceleration of a1 or the z-axis coordinate of the stroke exceeds a threshold value.

[0236] In one embodiment, the electronic device (110) may receive missing stroke data from the electronic pen (120) from the time a stroke using the electronic pen (120) goes outside the displayable area of ​​the electronic device (110) until the time at least one of the acceleration and coordinates of the electronic pen (120) exceeds a threshold value.

[0237] In one embodiment, the electronic pen (120) may transmit missing stroke data to the electronic device (110) from the time a stroke using the electronic pen (120) goes outside the displayable area of ​​the electronic device (110) until at least one of the acceleration and coordinates of the electronic pen (120) exceeds a threshold value.

[0238] FIG. 7 is a flowchart illustrating a method for obtaining missing stroke data according to one embodiment.

[0239] Referring to FIG. 7, the electronic device (110) can determine whether missing stroke data exists (710). In one embodiment, the electronic device (110) can determine whether acquired missing stroke data exists based on a detected missing stroke.

[0240] In one embodiment, FIG. 7 may represent an operation after obtaining the missing stroke data in FIG. 3.

[0241] In one embodiment, the electronic device (110) may terminate the operation if it determines that no missing stroke data exists. In one embodiment, the absence of missing stroke data may mean that no missing stroke was detected.

[0242] In one embodiment, the electronic device (110) may consider a missing stroke to have been detected if it determines that missing stroke data exists.

[0243] In one embodiment, the electronic device (110) may create a virtual display area that extends beyond the displayable area in the direction in which the missing stroke was detected (720).

[0244] In one embodiment, the virtual display area may mean any two-dimensional plane created by extending from the display edge of the electronic device (110) in the direction in which the missing stroke is detected, but is not limited thereto.

[0245] In one embodiment, the virtual display area may be a virtual two-dimensional plane created to calculate the pen tip position of the electronic pen (120). In one embodiment, the virtual display area may be a virtual two-dimensional plane created to acquire a missing stroke.

[0246] In one embodiment, the electronic device (110) can calculate the pen tip position of the electronic pen (120) in the virtual display area (730).

[0247] In one embodiment, the electronic device (110) can calculate the position of the pen tip of the electronic pen (120) in the virtual display area using stroke data. In one embodiment, the electronic device (110) can calculate the position of the pen tip of the electronic pen (120) in the virtual display area using at least one of the position, tilt, and sensor data of the electronic pen (120).

[0248] In one embodiment, the electronic device (110) can calculate the position of the pen tip of the electronic pen (120) in the virtual display area by receiving stroke data from the electronic pen (120). In one embodiment, the electronic device (110) can calculate the position of the pen tip of the electronic pen (120) in the virtual display area by receiving at least one of the position, inclination, and sensor data of the electronic pen (120) from the electronic pen (120).

[0249] In one embodiment, the electronic pen (120) can transmit stroke data to the electronic device (110). In one embodiment, the electronic pen (120) can transmit stroke data for calculating the pen tip position of the electronic pen (120) to the electronic device (110). In one embodiment, the electronic pen (120) can transmit at least one of the position, inclination, and sensor data of the electronic pen (120) to the electronic device (110).

[0250] In one embodiment, the electronic device (110) can obtain missing stroke data by calculating the pen tip position of the electronic pen (120) in the virtual display area (740).

[0251] In one embodiment, the pen tip position of the electronic pen (120) on the virtual display area may be included in the missing stroke data.

[0252] In one embodiment, the electronic device (110) can obtain a missing stroke using missing stroke data. In one embodiment, the missing stroke may be a stroke connected by calculating the pen tip position of the electronic pen (120) in the virtual display area.

[0253] In one embodiment, the electronic device (110) can obtain the connected missing stroke by calculating the pen tip position of the electronic pen (120) in the virtual display area using the missing stroke data.

[0254] In one embodiment, the electronic device (110) can obtain the missing stroke by receiving the missing stroke data from the electronic pen (120). In one embodiment, the electronic pen (120) can transmit the missing stroke data to the electronic device (110).

[0255] In one embodiment, the electronic device (110) can obtain a missing stroke by calculating the pen tip position of the electronic pen (120) in the virtual display area. In one embodiment, the missing stroke may be a stroke connected by calculating the pen tip position of the electronic pen (120) in the virtual display area.

[0256] In one embodiment, the strokes connected by calculating the pen tip position of the electronic pen (120) in the virtual display area may be included in the missing stroke data. In one embodiment, the acquired missing strokes may be included in the missing stroke data.

[0257] In one embodiment, the electronic device (110) can adjust the layout of the displayable area based on the missing stroke data. In one embodiment, the electronic device (110) can adjust the layout of the displayable area based on the acquired missing stroke data.

[0258] FIG. 8 is a drawing for explaining a method for calculating the pen tip position of an electronic pen (120) according to one embodiment.

[0259] Referring to FIG. 8, the electronic device (110) can obtain missing stroke data by calculating the pen tip position of the electronic pen (120). In one embodiment, the electronic device (110) can obtain missing stroke data by calculating the pen tip position of the electronic pen (120).

[0260] In one embodiment, the electronic device (110) can obtain a missing stroke using missing stroke data. In one embodiment, the missing stroke may be a stroke connected by calculating the pen tip position of the electronic pen (120).

[0261] In one embodiment, the electronic device (110) can obtain a missing stroke by receiving missing stroke data from the electronic pen (120). In one embodiment, the electronic device (110) can obtain a missing stroke by receiving pen tip position information of the electronic pen (120) from the electronic pen (120). In one embodiment, the electronic pen (120) can transmit the missing stroke data to the electronic device (110).

[0262] In one embodiment, the missing stroke data may include at least one of the position of the electronic pen (120), the tilt of the electronic pen (120), the gyroscope sensor of the electronic pen (120), the accelerometer sensor of the electronic pen (120), and the position data of the user's hand.

[0263] In one embodiment, a user may generate strokes using an electronic pen (120). In one embodiment, a user using an electronic pen (120) may be assumed to generate strokes using movements of the fingers and wrist rather than movements of the entire hand.

[0264] In one embodiment, the position of the pen tip of the electronic pen (120) may be W. In one embodiment, the fixed virtual center point may be C. In one embodiment, the user may assume that the stroke is generated by rotating the electronic pen (120) based on the fixed virtual center point C. In one embodiment, the position of C may vary depending on how the user uses the electronic pen (120).

[0265] In one embodiment, it can be assumed that the pen tip position W of the electronic pen (120) is continuously in contact with the input area surface, and the electronic pen (120) moves along the line CW.

[0266] In one embodiment, it can be assumed that the pen tip position W of the electronic pen (120) moves in two dimensions. In one embodiment, W continues to touch the input area surface while moving from W0 to W t can move. In one embodiment, the position of C changes while W moves, but since there is no significant error in the movement, the position of C can be assumed to be fixed.

[0267] In one embodiment, g may represent the direction of gravity. In one embodiment, B may be a point that is in a straight line with C in the direction of g and touches the surface of the input area. In one embodiment, the distance between B and C may be assumed to be approximately 5 cm. In one embodiment, the distance between B and C may vary from user to user and may not affect the determination of the location of W.

[0268] In one embodiment, the electronic device (110) may receive data from an accelerometer included in the electronic pen (120) from the electronic pen (120). In one embodiment, the accelerometer may refer to a sensor that can measure acceleration of the electronic pen (120) in a three-dimensional coordinate axis direction. In one embodiment, the data from the accelerometer included in the electronic pen (120) may be data that measures acceleration of the electronic pen (120) in a three-dimensional coordinate axis direction.

[0269] In one embodiment, the data from the accelerometer is a = (a x , a y , a z ) can have a value of g. In one embodiment, when the user holds the electronic pen (120) and there is no movement, the accelerometer can measure the gravitational acceleration. In one embodiment, the gravitational acceleration is g = (g x , g y , g z ) can have a value of .

[0270] In one embodiment, the electronic pen (120) can rotate according to gravity. In one embodiment, the accelerometer measures the value of the acceleration a according to gravity by calculating a' = (a' x , a' y , a' z ) can be adjusted. In one embodiment, a' z may be in the opposite direction to gravity. In one embodiment, a' x and a' y may have a direction parallel to the input area surface. In one embodiment, the accelerometer may remove the effect of g by removing the z component after the rotation.

[0271] In one embodiment, the virtual starting point on the input area surface may be (x0, y0). In one embodiment, the point after substituting N sensor data measurements is (x N , y N ) may be. In one embodiment, (x N , yN ) can be expressed by the following mathematical formula.

[0272]

[0273] In one embodiment, (v nx , v ny ) can be expressed by the following mathematical formula.

[0274]

[0275] In one embodiment, t n can mean the time between n-1 and n measurements.

[0276] FIG. 9 is a drawing for explaining a method for calculating the pen tip position of an electronic pen (120) in a virtual display area (920) according to one embodiment.

[0277] Referring to FIG. 9, the electronic device (110) can receive stroke data related to a stroke using an electronic pen (120). In one embodiment, the electronic device (110) can display the stroke using the electronic pen (120) on a displayable area (910) of the electronic device (110) using the received stroke data.

[0278] In one embodiment, the electronic device (110) can detect a missed stroke, which is a stroke made using the electronic pen (120) outside the displayable area (910) of the electronic device (110).

[0279] In one embodiment, the electronic device (110) may create a virtual display area (920) that extends beyond the displayable area (910) in the direction in which the missed stroke is detected.

[0280] In one embodiment, the virtual display area (920) may mean any two-dimensional plane created by extending from the display edge of the electronic device (110) in the direction in which the missing stroke is detected, but is not limited thereto.

[0281] In one embodiment, the virtual display area (920) may be a virtual two-dimensional plane created to calculate the pen tip position of the electronic pen (120). In one embodiment, the virtual display area (920) may be a virtual two-dimensional plane created to obtain a missing stroke.

[0282] In one embodiment, the electronic device (110) can calculate the position of the pen tip of the electronic pen (120) in the virtual display area (920).

[0283] In one embodiment, the electronic device (110) can calculate the pen tip position of the electronic pen (120) in the virtual display area (920) using stroke data. In one embodiment, the electronic device (110) can calculate the pen tip position of the electronic pen (120) in the virtual display area (920) using at least one of the position, tilt, and sensor data of the electronic pen (120).

[0284] In one embodiment, the electronic device (110) can calculate the pen tip position of the electronic pen (120) in the virtual display area (920) by receiving stroke data from the electronic pen (120). In one embodiment, the electronic device (110) can calculate the pen tip position of the electronic pen (120) in the virtual display area (920) by receiving at least one of position, tilt, and sensor data of the electronic pen (120) from the electronic pen (120).

[0285] In one embodiment, the electronic pen (120) can transmit stroke data to the electronic device (110). In one embodiment, the electronic pen (120) can transmit stroke data for calculating the pen tip position of the electronic pen (120) to the electronic device (110). In one embodiment, the electronic pen (120) can transmit at least one of the position, inclination, and sensor data of the electronic pen (120) to the electronic device (110).

[0286] In one embodiment, the pen tip positions of the electronic pen (120) may be represented as P1, P2, P3, ... Pn. In one embodiment, P1, P2, P3, ... Pn may be pen tip positions of the electronic pen (120) calculated over a certain time interval. In one embodiment, the usage direction of the electronic pen (120) may be from P1 to Pn.

[0287] In one embodiment, the pen tip positions of the electronic pen (120) in the displayable area (910) of the electronic device (110) may be P1 and P2. In one embodiment, the pen tip positions of the electronic pen (120) in the virtual display area (920) may be P3, P4, P5, and P6.

[0288] In one embodiment, the pen tip positions of the electronic pen (120) in the virtual display area (920) may have different heights. In one embodiment, the pen tip positions of the electronic pen (120) in the virtual display area (920) may have different z-axis coordinates.

[0289] In one embodiment, P1, P2, and P6 may have the same height. In one embodiment, P1, P2, and P6 may have the same z-axis coordinate. In one embodiment, P1, P2, and P6 may have the same z-axis coordinate as the surface of the displayable area (910) of the electronic device (110).

[0290] In one embodiment, P3, P4, and P5 may have different heights. In one embodiment, P3, P4, and P5 may have different z-axis coordinates. In one embodiment, P3, P4, and P5 may have different z-axis coordinates relative to the surface of the displayable area (910) of the electronic device (110).

[0291] In one embodiment, when the z-axis coordinate of the pen tip position of the electronic pen (120) in the virtual display area (920) is different from the z-axis coordinate of the surface of the displayable area (910) of the electronic device (110), the electronic device (110) may adjust the z-axis coordinate of the pen tip position of the electronic pen (120) in the virtual display area (920) to be the same as the z-axis coordinate of the surface of the displayable area (910) of the electronic device (110).

[0292] In one embodiment, the electronic device (110) may adjust the height of the pen tip position of the electronic pen (120) in the virtual display area (920) to be equal to the height of the surface of the displayable area (910) of the electronic device (110) when the height of the pen tip position of the electronic pen (120) in the virtual display area (920) is different from the height of the surface of the displayable area (910) of the electronic device (110).

[0293] In one embodiment, the electronic device (110) can adjust the z-axis coordinates of P3, P4, and P5 to be the same as the z-axis coordinates of P0, P1, and P6. In one embodiment, the electronic device (110) can adjust the heights of P3, P4, and P5 to be the same as the heights of P0, P1, and P6.

[0294] In one embodiment, the adjusted z-axis coordinates P3, P4 and P5 can be adjusted to P3', P4' and P5'. In one embodiment, the adjusted heights P3, P4 and P5 can be adjusted to P3', P4' and P5'.

[0295] In one embodiment, the electronic device (110) can obtain a missing stroke by connecting the pen tip positions of the electronic pen (120). In one embodiment, the electronic device (110) can obtain a missing stroke by connecting P1, P2, P3', P4', P5', and P6.

[0296] In one embodiment, the electronic device (110) can obtain missing stroke data by calculating the pen tip position of the electronic pen (120) in the virtual display area (920).

[0297] In one embodiment, the pen tip position of the electronic pen (120) on the virtual display area (920) may be included in the missing stroke data.

[0298] In one embodiment, the electronic device (110) can obtain a missing stroke using missing stroke data. In one embodiment, the missing stroke may be a stroke calculated by connecting the pen tip position of the electronic pen (120) in the virtual display area (920).

[0299] In one embodiment, the electronic device (110) can obtain the connected missing stroke by calculating the pen tip position of the electronic pen (120) in the virtual display area (920) using the missing stroke data.

[0300] In one embodiment, the electronic device (110) can obtain the missing stroke by receiving the missing stroke data from the electronic pen (120). In one embodiment, the electronic pen (120) can transmit the missing stroke data to the electronic device (110).

[0301] In one embodiment, the electronic device (110) can obtain a missing stroke by calculating the pen tip position of the electronic pen (120) in the virtual display area (920).

[0302] In one embodiment, the strokes calculated by connecting the pen tip position of the electronic pen (120) to the virtual display area (920) may be included in the missing stroke data. In one embodiment, the acquired missing strokes may be included in the missing stroke data.

[0303] In one embodiment, the electronic device (110) can adjust the layout of the displayable area (910) based on the missing stroke data. In one embodiment, the electronic device (110) can adjust the layout of the displayable area (910) based on the acquired missing stroke data.

[0304] FIG. 10 is a drawing for explaining a method for calculating the pen tip position of an electronic pen (120) in a virtual display area (1020) according to one embodiment.

[0305] Referring to FIG. 10, the electronic device (110) can receive stroke data related to a stroke using an electronic pen (120). In one embodiment, the electronic device (110) can display the stroke using the electronic pen (120) on a displayable area (1010) of the electronic device (110) using the received stroke data.

[0306] In one embodiment, the electronic device (110) can detect a missed stroke, which is a stroke made using the electronic pen (120) outside the displayable area (1010) of the electronic device (110).

[0307] In one embodiment, the electronic device (110) may create a virtual display area (1020) that extends beyond the displayable area (1010) in the direction in which the missed stroke is detected.

[0308] In one embodiment, the virtual display area (1020) may mean any two-dimensional plane created by extending from the display edge of the electronic device (110) in the direction in which the missing stroke is detected, but is not limited thereto.

[0309] In one embodiment, the virtual display area (1020) may be a virtual two-dimensional plane created to calculate the pen tip position of the electronic pen (120). In one embodiment, the virtual display area (1020) may be a virtual two-dimensional plane created to obtain a missing stroke.

[0310] In one embodiment, the electronic device (110) can calculate the pen tip position of the electronic pen (120) in the virtual display area (1020).

[0311] In one embodiment, the pen tip positions of the electronic pen (120) may be represented as P0, P1, P2, ... Pn. In one embodiment, P0, P1, P2, ... Pn may be pen tip positions of the electronic pen (120) calculated over a certain time interval. In one embodiment, the usage direction of the electronic pen (120) may be from P0 to Pn.

[0312] In one embodiment, the pen tip position of the electronic pen (120) in the displayable area (1010) of the electronic device (110) may be P0. In one embodiment, P0 may be the pen tip position of the electronic pen (120) in the displayable area (1010) immediately before a missed stroke occurs.

[0313] In one embodiment, the pen tip positions of the electronic pen (120) in the virtual display area (1020) may be P1, P2, and P3. In one embodiment, P1, P2, and P3 may be points adjusted to be equal to the height of the surface of the displayable area (1010) of the electronic device (110). In one embodiment, P1, P2, and P3 may be points adjusted to be equal to the z-axis coordinate of the surface of the displayable area (1010) of the electronic device (110).

[0314] In one embodiment, the electronic device (110) can obtain a missing stroke by connecting the pen tip positions of the electronic pen (120). In one embodiment, the electronic device (110) can obtain a missing stroke by connecting P0, P1, P2, and P3.

[0315] In one embodiment, the electronic device (110) can adjust the layout of the displayable area (910) based on the acquired missing strokes.

[0316] FIG. 11 is a flowchart illustrating a method for adjusting the layout of a displayable area of ​​an electronic device (110) according to one embodiment.

[0317] Referring to FIG. 11, the electronic device (110) can obtain missing stroke data for a detected missing stroke (1110). The method for obtaining missing stroke data has been described in FIGS. 3 and 7, and thus will be omitted.

[0318] In one embodiment, FIG. 11 may represent an operation subsequent to the operation in FIG. 7.

[0319] In one embodiment, the electronic device (110) can adjust the layout of the displayable area based on missing stroke data.

[0320] In one embodiment, the electronic device (110) can adjust the layout of the displayable area so that the missing strokes obtained using the missing stroke data can be displayed in the displayable area of ​​the electronic device (110).

[0321] In one embodiment, the electronic device (110) can obtain information about the direction of use of the electronic pen (120), the virtual display area, and the displayable area of ​​the electronic device (110) (1120).

[0322] In one embodiment, the electronic device (110) can obtain information about the direction of use, virtual display area, and displayable area of ​​the electronic pen (120) using missing stroke data.

[0323] In one embodiment, the direction of use of the electronic pen (120) may indicate the direction in which the user generates a stroke using the electronic pen (120). For example, if the user is right-handed, the direction of use of the electronic pen (120) may be from left to right.

[0324] In one embodiment, the information about the virtual display area may include information about the size of the virtual display area that includes the missing stroke. In one embodiment, the information about the virtual display area may indicate the minimum size of the virtual display area that may include the missing stroke.

[0325] In one embodiment, the information regarding the displayable area may include information regarding the size of the displayable area. In one embodiment, the information regarding the displayable area may include information regarding the size of the area where a stroke using the electronic pen (120) is displayed. In one embodiment, the information regarding the displayable area may include a minimum size of the area including the stroke using the electronic pen (120). For example, the size of the displayable area may indicate the size of the input area of ​​S Note, an application installed on a Samsung smartphone.

[0326] In one embodiment, the electronic device (110) can receive information about the direction of use, the virtual display area, and the displayable area of ​​the electronic pen (120) from the electronic pen (120). In one embodiment, the electronic pen (120) can transmit information about the direction of use, the virtual display area, and the displayable area of ​​the electronic pen (120) to the electronic device (110).

[0327] In one embodiment, the electronic device (110) can determine whether there is empty space in the displayable area based on at least one of the direction of use of the electronic pen (120), the virtual display area, and the displayable area (1130).

[0328] In one embodiment, the electronic device (110) can use missing stroke data to determine if there is empty space in the displayable area.

[0329] In one embodiment, the empty space may refer to an empty space in a displayable area in a direction opposite to the direction of use of the electronic pen (120). In one embodiment, the empty space may refer to a space excluding the size of an area including a stroke using the electronic pen (120) from the size of the displayable area.

[0330] In one embodiment, the electronic device (110) can determine whether an empty space exists by comparing the size of the virtual display area containing the missing stroke with the size of the empty space.

[0331] In one embodiment, the electronic device (110) may determine that a blank space exists only if the size of the virtual display area containing the missing stroke is smaller than the blank space.

[0332] In one embodiment, the electronic device (110) may determine that an empty space exists only if the size of the missing stroke is smaller than the empty space such that the missing stroke can be included in the empty space.

[0333] In one embodiment, the electronic device (110) may determine that no empty space exists if the size of the virtual display area containing the missing stroke is larger than the empty space.

[0334] In one embodiment, the electronic device (110) may determine that no empty space exists if the size of the missing stroke is greater than the empty space.

[0335] In one embodiment, the electronic device (110) may move the entire stroke to the empty space if there is an empty space in the displayable area based on at least one of the direction of use of the electronic pen (120), the virtual display area, and the displayable area (1150).

[0336] In one embodiment, a full stroke may mean a stroke using an electronic pen (120) displayed in a displayable area of ​​an electronic device (110). In one embodiment, a full stroke may not include a missed stroke.

[0337] In one embodiment, the electronic device (110) can move the entire stroke by the size of the virtual display area that includes the missing stroke among the empty space. In one embodiment, the electronic device (110) can move the entire stroke by the size of the missing stroke among the empty space.

[0338] In one embodiment, the electronic device (110) can move the entire stroke to the edge of the displayable area in the direction where there is empty space.

[0339] In one embodiment, the electronic device (110) can move the entire stroke by a distance that is either a size between the size of the missing stroke and the size of the empty space.

[0340] In one embodiment, the electronic device (110) can adjust the layout of the displayable area by moving the entire stroke into the empty space.

[0341] In one embodiment, the electronic device (110) may display the missing stroke in the displayable area according to the adjusted layout.

[0342] In one embodiment, the electronic device (110) may display a missing stroke by connecting it to a full stroke according to a layout that moves the full stroke to an empty space.

[0343] In one embodiment, a missing stroke may be connected to a full stroke to complete a single letter or figure. In one embodiment, a missing stroke may be connected by adding the missing portion of a full stroke.

[0344] In one embodiment, the electronic device (110) can adjust the size of the entire stroke based on the ratio between the virtual display area and the displayable area if there is no empty space in the displayable area (1140).

[0345] In one embodiment, the ratio between the virtual display area and the displayable area may mean a reduction ratio that allows the missing stroke to be displayed in the displayable area.

[0346] In one embodiment, the ratio between the virtual display area and the displayable area may mean the size of the displayable area divided by the size of the displayable area plus the size of the virtual display area including the missing stroke.

[0347] In one embodiment, the electronic device (110) can reduce the size of the entire stroke based on the ratio between the virtual display area and the displayable area.

[0348] In one embodiment, the electronic device (110) can adjust the layout of the displayable area by reducing the size of the entire stroke according to the ratio between the virtual display area and the displayable area.

[0349] In one embodiment, the electronic device (110) may display the missing stroke in the displayable area according to the adjusted layout.

[0350] In one embodiment, the electronic device (110) may display a missing stroke by connecting it to the entire stroke according to a layout that reduces the size of the entire stroke according to the ratio between the virtual display area and the displayable area.

[0351] In one embodiment, the electronic device (110) may reduce the size of a missing stroke based on the ratio between the virtual display area and the displayable area. In one embodiment, the electronic device (110) may display the reduced missing stroke by connecting it to the reduced full stroke.

[0352] In one embodiment, a missing stroke may be connected to a full stroke to complete a single letter or figure. In one embodiment, a missing stroke may be connected by adding the missing portion of a full stroke.

[0353] FIG. 12 is a drawing for explaining a method of moving an entire stroke to an empty space (1220) according to one embodiment.

[0354] Referring to FIG. 12, the electronic device (110) can receive stroke data related to a stroke using an electronic pen (120). In one embodiment, the electronic device (110) can display the stroke using the electronic pen (120) on a displayable area (1240) of the electronic device (110) using the received stroke data.

[0355] In one embodiment, the stroke using the electronic pen (120) may be "HELLO! Sam." In one embodiment, the stroke using the electronic pen (120), "HELLO! Sam," may be displayed on the displayable area (1240) of the electronic device (110).

[0356] In one embodiment, the electronic device (110) can detect a missed stroke (1210), which is a stroke made using the electronic pen (120) outside the displayable area (1240) of the electronic device (110). In one embodiment, the missed stroke (1210) can be the end of the last letter "m" in "HELLO! Sam", which is a stroke made using the electronic pen (120).

[0357] In one embodiment, the electronic device (110) can obtain missing stroke data for a detected missing stroke (1210).

[0358] In one embodiment, the missing stroke data may include at least one of pen tip position data, accelerometer data, gyroscope data, magnetometer data, tilt data, time data, sensor data, and direction data of the electronic pen (120), but is not limited thereto.

[0359] In one embodiment, the electronic device (110) can adjust the layout of the displayable area (1240) based on missing stroke data.

[0360] In one embodiment, the horizontal width of a stroke using the electronic pen (120) may be expressed as W. In one embodiment, W may mean the distance from where the stroke using the electronic pen (120) begins to the edge of the opposite displayable area (1240). In one embodiment, W may represent the distance between A and B or the distance between C and D.

[0361] In one embodiment, the horizontal length of the displayable area (1240) may be expressed as sW. In one embodiment, sW may mean the distance from one edge end of the displayable area (1240) to the opposite end. In one embodiment, sW may represent the distance from P to B or the distance from Q to C.

[0362] In one embodiment, the vertical height of a stroke using an electronic pen (120) may be expressed as H. In one embodiment, H may represent the distance from P to Q, the distance from A to D, the distance from B to C, or the distance from E to F.

[0363] In one embodiment, A, B, C, and D may represent the vertices of a rectangle containing the stroke displayed in the displayable area (1240).

[0364] In one embodiment, P may represent a point where a straight line connecting A and B intersects an edge of a displayable area (1240). In one embodiment, Q may represent a point where a straight line connecting C and D intersects an edge of a displayable area (1240).

[0365] In one embodiment, E may represent the upper right corner of a rectangle containing the missing stroke (1210). In one embodiment, F may represent the lower right corner of a rectangle containing the missing stroke (1210).

[0366] In one embodiment, the electronic device (110) can determine whether there is an empty space (1220) in the displayable area (1240) based on at least one of the direction of use of the electronic pen (120), the virtual display area (1230), and the displayable area (1240).

[0367] In one embodiment, the empty space (1220) may refer to an empty space in the displayable area (1240) opposite to the direction of use of the electronic pen (120). In one embodiment, the empty space (1220) may refer to a space excluding the size of the area including the stroke using the electronic pen (120) from the size of the displayable area (1240). In one embodiment, the empty space (1220) may be a rectangular PADQ area.

[0368] In one embodiment, the electronic device (110) can determine whether an empty space (1220) exists by comparing the size of the virtual display area (1230) containing the missing stroke (1210) with the size of the empty space (1220).

[0369] In one embodiment, the virtual display area (1230) including the missing stroke (1210) may be a rectangular BEFC area. In one embodiment, the size of the virtual display area (1230) including the missing stroke (1210) may be represented as x. In one embodiment, x may represent the distance from B to E or the distance from C to F. In one embodiment, x may be represented as the size of the missing stroke (1210).

[0370] In one embodiment, the size of the empty space (1220) may mean the distance from P to A or the distance from Q to D. In one embodiment, the size of the empty space (1220) may mean the value obtained by subtracting W from sW.

[0371] In one embodiment, the electronic device (110) can determine whether an empty space (1220) exists by comparing the distance from x and P to A. In one embodiment, the electronic device (110) can determine whether an empty space (1220) exists by comparing the distance from x and Q to D.

[0372] In one embodiment, if x is less than the distance from P to A, it can be determined that an empty space (1220) exists. In one embodiment, if x is less than the distance from Q to D, it can be determined that an empty space (1220) exists.

[0373] In one embodiment, if x is greater than the distance from P to A, it can be determined that no empty space (1220) exists. In one embodiment, if x is greater than the distance from Q to D, it can be determined that no empty space (1220) exists.

[0374] In one embodiment, the electronic device (110) may move the entire stroke to the empty space (1220) if there is an empty space (1220) in the displayable area (1240) based on at least one of the direction of use of the electronic pen (120), the virtual display area (1230), and the displayable area (1240).

[0375] In one embodiment, the entire stroke may mean the portion of "HELLO! Sam" excluding the missing stroke (1210).

[0376] In one embodiment, the electronic device (110) can move the entire stroke by x. In one embodiment, the electronic device (110) can move the entire stroke by the distance from P to A. In one embodiment, the electronic device (110) can move the entire stroke by the distance from Q to D. In one embodiment, the electronic device (110) can move the entire stroke by the distance from SW to W.

[0377] In one embodiment, the electronic device (110) can move the entire stroke by any one of the distances between x and P to A.

[0378] In one embodiment, the electronic device (110) can move the entire stroke so that the missing stroke (1210) can be included in the displayable area (1240) of the electronic device (110).

[0379] In one embodiment, the electronic device (110) can adjust the layout of the displayable area (1240) by moving the entire stroke into the empty space (1220).

[0380] In one embodiment, the electronic device (110) may display the missing stroke (1210) in the displayable area (1240) according to the adjusted layout.

[0381] In one embodiment, the electronic device (110) may display a missing stroke (1210) by connecting it to the entire stroke according to a layout that moves the entire stroke to the empty space (1220).

[0382] In one embodiment, the end of the last letter of "HELLO! Sam", "m", may be displayed by moving it to the empty space (1220) and connecting it to "HELLO! Sam".

[0383] In one embodiment, a missing stroke (1210) may be connected to a full stroke to complete a single letter or figure. In one embodiment, a missing stroke (1210) may be added to and connected to a missing portion of a full stroke.

[0384] In one embodiment, the electronic device (110) may connect missing strokes (1210) to full strokes to complete the entire letter or figure before adjusting the layout of the displayable area (1240).

[0385] In one embodiment, the electronic device (110) can move the completed entire letter or picture to an empty space (1220) according to the adjusted layout.

[0386] FIG. 13 is a diagram illustrating a method for adjusting the size of an entire stroke according to a ratio between a virtual display area (1320) and a displayable area (1330) according to one embodiment.

[0387] Referring to FIG. 13, the electronic device (110) can receive stroke data related to a stroke using an electronic pen (120). In one embodiment, the electronic device (110) can display the stroke using the electronic pen (120) on a displayable area (1330) of the electronic device (110) using the received stroke data.

[0388] In one embodiment, the stroke using the electronic pen (120) may be "HELLO! Sam." In one embodiment, the stroke using the electronic pen (120), "HELLO! Sam," may be displayed on the displayable area (1330) of the electronic device (110).

[0389] In one embodiment, the electronic device (110) can detect a missed stroke (1310), which is a stroke made using the electronic pen (120) outside the displayable area (1330) of the electronic device (110). In one embodiment, the missed stroke (1310) can be the end of the last letter "m" in "HELLO! Sam", which is a stroke made using the electronic pen (120).

[0390] In one embodiment, the electronic device (110) can obtain missing stroke data for a detected missing stroke (1310).

[0391] In one embodiment, the missing stroke data may include at least one of pen tip position data, accelerometer data, gyroscope data, magnetometer data, tilt data, time data, sensor data, and direction data of the electronic pen (120), but is not limited thereto.

[0392] In one embodiment, the electronic device (110) can adjust the layout of the displayable area (1330) based on missing stroke data.

[0393] In one embodiment, the horizontal width of a stroke using the electronic pen (120) may be expressed as W. In one embodiment, W may mean the distance from where the stroke using the electronic pen (120) begins to the edge of the opposite displayable area (1330). In one embodiment, W may represent the distance between A and B or the distance between C and D.

[0394] In one embodiment, the horizontal length of the displayable area (1330) may be expressed as sW. In one embodiment, sW may mean the distance from one edge end of the displayable area (1330) to the opposite end.

[0395] In one embodiment, the vertical height of a stroke using an electronic pen (120) may be expressed as K. In one embodiment, K may represent the distance from A to D, the distance from B to C, or the distance from E to F.

[0396] In one embodiment, A, B, C, and D may represent the vertices of a rectangle containing the stroke displayed in the displayable area (1330).

[0397] In one embodiment, E may represent the upper right corner of a rectangle containing the missing stroke (1310). In one embodiment, F may represent the lower right corner of a rectangle containing the missing stroke (1310).

[0398] In one embodiment, the virtual display area (1320) including the missing stroke (1310) may be a rectangular BEFC area. In one embodiment, the size of the virtual display area (1320) including the missing stroke (1310) may be represented as x. In one embodiment, x may represent the distance from B to E or the distance from C to F. In one embodiment, x may be represented as the size of the missing stroke (1310).

[0399] In one embodiment, the electronic device (110) can determine whether there is empty space in the displayable area (1330) based on at least one of the direction of use of the electronic pen (120), the virtual display area (1320), and the displayable area (1330).

[0400] In one embodiment, the electronic device (110) can adjust the size of the entire stroke based on the ratio between the virtual display area (1320) and the displayable area (1330) when there is no empty space in the displayable area (1330).

[0401] In one embodiment, the ratio between the virtual display area (1320) and the displayable area (1330) may be a reduction ratio that allows the missing stroke (1310) to be displayed in the displayable area (1330).

[0402] In one embodiment, the ratio between the virtual display area (1320) and the displayable area (1330) may mean a value obtained by dividing the size value of the displayable area (1330) by the sum of the size of the displayable area (1330) and the size of the virtual display area (1320) including the missing stroke (1310).

[0403] In one embodiment, the ratio between the virtual display area (1320) and the displayable area (1330) may be the distance from A to B divided by the distance from A to E. In one embodiment, the distance from A to B may be W. In one embodiment, the distance from A to E may be W plus x.

[0404] In one embodiment, the ratio between the virtual display area (1320) and the displayable area (1330) is It can be expressed as follows.

[0405] In one embodiment, the electronic device (110) can reduce the size of the entire stroke based on the ratio between the virtual display area (1320) and the displayable area (1330).

[0406] In one embodiment, the size of the entire stroke can be expressed as y. In one embodiment, the size of the entire stroke can be expressed as a reduced value according to the ratio between the virtual display area (1320) and the displayable area (1330). It can be expressed as follows.

[0407] In one embodiment, the lower right corner of the rectangle containing the reduced entire stroke may be represented as H. In one embodiment, when connecting vertically from H to line segment EF, the point orthogonal to line segment EF may be represented as I.

[0408] In one embodiment, the length of the line segment HB may be a value obtained by multiplying the ratio between the virtual display area (1320) and the displayable area (1330) in K. In one embodiment, the length of the line segment HB is It can be expressed as follows.

[0409] In one embodiment, the size of each HFC is can be expressed as In one embodiment, the size of the entire stroke is The angle can be adjusted by moving F to H.

[0410] In one embodiment, the electronic device (110) can adjust the layout of the displayable area (1330) by reducing the size of the entire stroke according to the ratio between the virtual display area (1320) and the displayable area (1330).

[0411] In one embodiment, the electronic device (110) may display the missing stroke (1310) in the displayable area (1330) according to the adjusted layout.

[0412] In one embodiment, the electronic device (110) may display a missing stroke (1310) by connecting it to the entire stroke according to a layout that reduces the size of the entire stroke according to the ratio between the virtual display area (1320) and the displayable area (1330).

[0413] In one embodiment, the electronic device (110) may reduce the size of the missing stroke (1310) according to the ratio between the virtual display area (1320) and the displayable area (1330). In one embodiment, the electronic device (110) may display the reduced missing stroke by connecting it to the reduced full stroke.

[0414] In one embodiment, the end of the last letter "m" of "HELLO! Sam" may be reduced according to the ratio between the virtual display area (1320) and the displayable area (1330). In one embodiment, the end of the last letter "m" of the reduced "HELLO! Sam" may be displayed by connecting it to the reduced overall stroke.

[0415] In one embodiment, a missing stroke (1310) may be connected to a full stroke to complete a single letter or figure. In one embodiment, a missing stroke (1310) may be added to and connected to a missing portion of a full stroke.

[0416] In one embodiment, the electronic device (110) may connect missing strokes (1310) to full strokes to complete the entire letter or figure before adjusting the layout of the displayable area (1330).

[0417] In one embodiment, the electronic device (110) can reduce the entire completed letter or picture according to the ratio between the display area (1320) and the displayable area (1330).

[0418] FIG. 14 is a drawing for explaining a method for calculating the pen tip position of an electronic pen (120) using the position of a beacon (1410, 1420) according to one embodiment.

[0419] Referring to FIG. 14, the electronic device (110) can detect a missed stroke, which is a stroke made using an electronic pen (120) outside the displayable area of ​​the electronic device (110).

[0420] In one embodiment, the electronic device (110) may create a virtual display area that extends beyond the displayable area in the direction in which the missed stroke is detected.

[0421] In one embodiment, the electronic device (110) can calculate the position of the pen tip of the electronic pen (120) in the virtual display area. In one embodiment, the electronic device (110) can calculate the position of the pen tip of the electronic pen (120) in the virtual display area using stroke data.

[0422] In one embodiment, the electronic device (110) can obtain missing stroke data by calculating the pen tip position of the electronic pen (120) in the virtual display area.

[0423] In one embodiment, the missing stroke data may include at least one of pen tip position data, accelerometer data, gyroscope data, magnetometer data, tilt data, time data, sensor data, and direction data of the electronic pen (120), but is not limited thereto.

[0424] In one embodiment, the missing stroke data may include location data of a beacon (1410) included in an electronic device (110) or location data of a beacon (1420) included in an electronic pen (120).

[0425] In one embodiment, a beacon (1410, 1420) may be a short-range wireless communication device based on the Bluetooth low energy protocol, and may be used to transmit information about a specific location. In one embodiment, the beacon (1410, 1420) may be included in an electronic device (110) and an electronic pen (120).

[0426] In one embodiment, the electronic device (110) can obtain pen tip position information of the electronic pen (120) by using the position of the beacon (1410) included in the electronic device (110) and the position of the beacon (1420) included in the electronic pen (120).

[0427] In one embodiment, the electronic device (110) can receive location information of a beacon (1410) included in the electronic pen (120) from the electronic pen (120). In one embodiment, the electronic pen (120) can transmit location information of a beacon (1410) included in the electronic pen (120) to the electronic device (110).

[0428] In one embodiment, the vertices of the displayable area of ​​the electronic device (110) may be A, B, C, and D. In one embodiment, the location of the beacon (1410) included in the electronic device (110) may be E. In one embodiment, the location of the beacon (1420) included in the electronic pen (120) may be S.

[0429] In one embodiment, the distance from the location of the beacon (1420) included in the electronic pen (120) to the pen tip of the electronic pen (120) may be a. In one embodiment, the distance from the location of the beacon (1420) included in the electronic pen (120) to the location of the beacon (1410) included in the electronic device (110) may be b.

[0430] In one embodiment, the signal strength of the beacon (1410, 1420) measured by the receiver may be expressed as a Received Signal Strength Indicator (RSSI). In one embodiment, the RSSI may be affected by distance and transmission power. In one embodiment, the RSSI may be used to estimate the distance between the receiver and the beacon (1410, 1420).

[0431] In one embodiment, the power measured by the receiver may be represented as Measured Power. In one embodiment, Measured Power may be used in combination with RSSI to estimate the distance between the receiver and the beacon (1410, 1420).

[0432] In one embodiment, a or b may be represented by Distance. In one embodiment, Distance may be expressed by the following mathematical expression.

[0433]

[0434] In one embodiment, N may be a constant determined by environmental factors. In one embodiment, N may have a value between 2 and 4 depending on the environmental factors.

[0435] In one embodiment, the tilt angle between the displayable area plane of the electronic pen (120) and the electronic device (110) is It could be.

[0436] In one embodiment, the electronic device (110) uses data from a gyroscope included in the electronic pen (120). can be calculated.

[0437] In one embodiment, the data of the gyroscope included in the electronic pen (120) may be data measuring the rotation direction, rotation angle, and angular velocity of the electronic pen (120) in three dimensions.

[0438] In one embodiment, the data from the gyroscope is angular velocity r = (r x , r y , r z ) can have a value of o1 = (o 1x , o 1y , o 1z ) can be expressed as. In one embodiment, o1 may be a value that takes into account gravity in a state of no movement using an accelerometer included in the electronic pen (120).

[0439] In one embodiment, the initial posture can be updated using data from a gyroscope included in the electronic pen (120) as the electronic pen (120) rotates. In one embodiment, o1 is rotated at an angular velocity of r. If the rotation takes place over a time period of t, the rotation angle is Q( t r) can be expressed as follows. In one embodiment, the updated posture o2 can be expressed by the following mathematical expression.

[0440]

[0441] In one embodiment, * may denote quaternion multiplication. In one embodiment, can be calculated using o2.

[0442] In one embodiment, the electronic device (110) is configured to: determine the location of S, the location of E, the distance of a, the distance of b, and The position of the pen tip of the electronic pen (120) can be calculated using at least one of the tilt angles.

[0443] In one embodiment, the electronic device (110) can obtain missing stroke data through pen tip position information of the electronic pen (120) obtained using the position of the beacon (1410) included in the electronic device (110) and the position of the beacon (1420) included in the electronic pen (120).

[0444] In one embodiment, the electronic device (110) can obtain a missing stroke using missing stroke data. In one embodiment, the missing stroke may be a stroke connected by calculating the pen tip position of the electronic pen (120). In one embodiment, the electronic device (110) can obtain the missing stroke by calculating the pen tip position of the electronic pen (120) in the virtual display area.

[0445] In one embodiment, the electronic device (110) can adjust the layout of the displayable area based on the missing stroke data. In one embodiment, the electronic device (110) can adjust the layout of the displayable area based on the acquired missing stroke data.

[0446] FIG. 15 is a drawing for explaining a method for calculating the pen tip position of an electronic pen (120) using the position of a beacon according to one embodiment.

[0447] Referring to FIG. 15, the vertices of the displayable area of ​​the electronic device (110) may be A, B, C, and D. In one embodiment, the vertices of the virtual display area that extends beyond the displayable area of ​​the electronic device (110) may be A', B', C', and D'.

[0448] In one embodiment, the location of the beacon included in the electronic device (110) may be E. In one embodiment, the location of the beacon included in the electronic pen (120) may be S.

[0449] In one embodiment, the pen tip position of the electronic pen (120) may be P. In one embodiment, the point where a line drawn perpendicular to the plane ABCD from S intersects the plane ABCD may be M.

[0450] In one embodiment, M, E and P may be points located on the plane A'B'C'D' and all have the same z-axis coordinate.

[0451] In one embodiment, the distance from the location of the beacon included in the electronic pen (120) to the pen tip of the electronic pen (120) may be a. In one embodiment, the distance from the location of the beacon included in the electronic pen (120) to the location of the beacon included in the electronic device (110) may be b.

[0452] In one embodiment, the slope angle between line segment SP and line segment PM is It could be.

[0453] In one embodiment, the coordinates of S are (x S , y S , z S ) can be represented as (x E , y E , z E ) can be expressed as.

[0454] In one embodiment, the values ​​of a and b can be calculated as described in FIG. 14. In one embodiment, The value can be calculated as described in Fig. 14.

[0455] In one embodiment, the lengths of sides SM and MP among the three sides of triangle SMP can be expressed by the following mathematical formulas.

[0456]

[0457]

[0458] In one embodiment, the length of side ME among the three sides of triangle SEM can be expressed by the following mathematical formula.

[0459]

[0460] In one embodiment, the square of the length of ME among the three sides of the triangle SEM can be expressed by the following mathematical equation using the coordinates of M and E.

[0461]

[0462] In one embodiment, E and M are points located on the plane ABCD, z E and z M can have the same value. In one embodiment, (z E - z M ) 2 The value can be 0.

[0463] In one embodiment, the square of the length of ME among the three sides of triangle SEM can be expressed by the following mathematical expression.

[0464]

[0465] In one embodiment, the square of the length of the side SM of the triangle SEM can be expressed by the following mathematical equation using the coordinates of S and M.

[0466]

[0467] In one embodiment, the square of the length of the side SM of the triangle SEM can be expressed by the following mathematical expression.

[0468]

[0469] In one embodiment, the coordinates of M can be calculated using Equations 8 and 10.

[0470] In one embodiment, the coordinates of P can be calculated using at least one of the coordinates of M, the coordinates of S, the length of side MP, the length of side SM, and the length of a.

[0471] In one embodiment, the electronic device (110) can obtain missing stroke data by calculating the pen tip position P of the electronic pen (120) in the virtual display area.

[0472] In one embodiment, the electronic device (110) can obtain a missing stroke by calculating the pen tip position P of the electronic pen (120) in the virtual display area. In one embodiment, the missing stroke may be a stroke connected by calculating the pen tip position of the electronic pen (120).

[0473] FIG. 16 is a diagram illustrating a method for adjusting the layout of a displayable area based on the blank space between each stroke according to one embodiment.

[0474] Referring to FIG. 16, the electronic device (110) can receive stroke data related to a stroke using an electronic pen (120). In one embodiment, the electronic device (110) can display the stroke using the electronic pen (120) in a displayable area of ​​the electronic device (110) using the received stroke data.

[0475] In one embodiment, the stroke using the electronic pen (120) may be "Samsung." In one embodiment, the stroke "Samsung" using the electronic pen (120) may be displayed in the displayable area of ​​the electronic device (110).

[0476] In one embodiment, the electronic device (110) can detect a missed stroke, which is a stroke made using the electronic pen (120) outside the displayable area of ​​the electronic device (110). In one embodiment, the missed stroke may be the end of the last letter "g" in "Samsung," which is a stroke made using the electronic pen (120).

[0477] In one embodiment, the electronic device (110) can obtain missing stroke data for a detected missing stroke.

[0478] In one embodiment, the missing stroke data may include at least one of pen tip position data, accelerometer data, gyroscope data, magnetometer data, tilt data, time data, sensor data, and direction data of the electronic pen (120), but is not limited thereto.

[0479] In one embodiment, the electronic device (110) can adjust the layout of the displayable area based on missing stroke data.

[0480] In one embodiment, the electronic device (110) can adjust the layout of the displayable area by comparing the size of the empty space between each stroke and the size of the missing stroke.

[0481] In one embodiment, each stroke itself may be represented by o1, o2, o3, o4, o5, o6, and o7. In one embodiment, o1 may represent "S", o2 may represent "a", o3 may represent "m", o4 may represent "s", o5 may represent "u", o6 may represent "n", and o7 may represent "g".

[0482] In one embodiment, the size of each stroke in the displayable area of ​​the electronic device (110) may be represented by w1, w2, w3, w4, w5, w6, and w7. In one embodiment, the size of a missing stroke may be represented by w8. In one embodiment, each w may represent the minimum horizontal width of the stroke.

[0483] In one embodiment, the empty space between each stroke may be represented by S1, S2, S3, S4, S5, and S6. In one embodiment, each S may represent the minimum distance between each stroke.

[0484] In one embodiment, the space between the first stroke and the end of the edge of the displayable area of ​​the electronic device (110) may be represented as S0. In one embodiment, S0 may represent the minimum distance between the first stroke and the end of the edge of the displayable area of ​​the electronic device (110).

[0485] In one embodiment, the electronic device (110) can determine whether there is a void between strokes greater than or equal to the size of the missing stroke. In one embodiment, the electronic device (110) can determine whether there is S greater than or equal to w8.

[0486] In one embodiment, when determining whether there is an empty space between strokes that is greater than or equal to the size of the missing stroke, the electronic device (110) may determine starting from the empty space closest to the missing stroke. For example, the electronic device (110) may determine in the order of S6, S5, S4...S0.

[0487] In one embodiment, if the electronic device (110) determines that there is an empty space between strokes that is greater than or equal to the size of the missing stroke, it may move the stroke by the size of the missing stroke among the empty space between the strokes.

[0488] In one embodiment, if the electronic device (110) determines that there is an empty space between strokes that is greater than or equal to the size of the missing stroke, it may move a stroke to the left or right of the empty space into the empty space by the size of the missing stroke.

[0489] In one embodiment, if the electronic device (110) determines that S6 is greater than or equal to w8, it may move the stroke corresponding to o7 by w8.

[0490] In one embodiment, the electronic device (110) can display a missing stroke in a displayable area of ​​the electronic device (110) by moving the stroke.

[0491] In one embodiment, if the electronic device (110) determines that there is no empty space between strokes greater than or equal to the size of the missing stroke, it may move each stroke so that the empty space between each stroke is equal.

[0492] In one embodiment, the electronic device (110) can determine whether to move each stroke to compensate for the missing stroke by comparing the size of the empty space between each stroke and the size of the missing stroke.

[0493] In one embodiment, the electronic device (110) can determine whether the following mathematical equation is satisfied.

[0494]

[0495] In one embodiment, may refer to the minimum distance that can separate two strokes. In one embodiment, n may refer to the number of empty spaces between each stroke. For example, n may be 6, which is the number of empty spaces between each stroke of the stroke "Samsung."

[0496] In one embodiment, the electronic device (110) can move each stroke so that the empty space of each stroke is equal if mathematical expression (11) is satisfied.

[0497] In one embodiment, the total size of the empty space of each stroke after moving can be expressed as Ss. In one embodiment, Ss can be expressed by the following mathematical expression.

[0498]

[0499] In one embodiment, the size of the empty space of each stroke moved is can be expressed as follows. In one embodiment, can be expressed by the following mathematical formula.

[0500]

[0501] In one embodiment, if the electronic device (110) determines that there is no empty space between strokes greater than or equal to the size of the missing stroke, the empty space between each stroke Each stroke can be moved to become .

[0502] In one embodiment, the electronic device (110) can display the missing stroke in the displayable area of ​​the electronic device (110) by moving each stroke.

[0503] FIG. 17 is a diagram for explaining a method of obtaining missing stroke data using at least one of smart glasses (1710), a smart ring (1730), and a smart watch (1720) according to one embodiment.

[0504] Referring to FIG. 17, the electronic device (110) can receive stroke data related to a stroke using an electronic pen (120). In one embodiment, the electronic device (110) can display the stroke using the electronic pen (120) in a displayable area of ​​the electronic device (110) using the received stroke data.

[0505] In one embodiment, the electronic device (110) can detect a missed stroke, which is a stroke made using the electronic pen (120) outside the displayable area of ​​the electronic device (110).

[0506] In one embodiment, the electronic device (110) may create a virtual display area that extends beyond the displayable area in the direction in which the missed stroke is detected.

[0507] In one embodiment, the electronic device (110) can obtain missing stroke data by calculating the pen tip position of the electronic pen (120) in the virtual display area.

[0508] In one embodiment, the missing stroke data may include at least one of pen tip position data of the electronic pen (120), accelerometer data, gyroscope data, magnetometer data, tilt data, time data, sensor data, direction data, and beacon position data, but is not limited thereto.

[0509] In one embodiment, the electronic device (110) can obtain a missing stroke using missing stroke data. In one embodiment, the missing stroke may be a stroke connected by calculating the pen tip position of the electronic pen (120) in the virtual display area.

[0510] In one embodiment, the electronic device (110) can obtain the connected missing stroke by calculating the pen tip position of the electronic pen (120) in the virtual display area (920) using the missing stroke data.

[0511] In one embodiment, the electronic device (110) can obtain a missing stroke by calculating the pen tip position of the electronic pen (120) in the virtual display area.

[0512] In one embodiment, the electronic device (110) can obtain missing stroke data using at least one of smart glasses (1710), a smart ring (1730), and a smart watch (1720).

[0513] In one embodiment, smart glasses (1710) may refer to a smart device in the form of glasses that has a computer-equipped viewing and recording functions. In one embodiment, smart glasses (1710) may include at least one of a camera, an interface device, and an image transmission device. However, the present invention is not limited thereto.

[0514] In one embodiment, a smart watch (1720) may refer to a smart device that is connected to an electronic device (110) and performs at least one of the functions of a watch, phone, text, email, music, and game, but is not limited thereto.

[0515] In one embodiment, a smart ring (1730) may be a wearable computer in the form of a ring, and may refer to a smart device that performs at least one of the following functions: controlling an electronic device (110), analyzing a user's health status, and making payments. However, the present invention is not limited thereto.

[0516] In one embodiment, the smart glasses (1710) can display in real time a virtual display area that is extended beyond the displayable area of ​​the electronic device (110).

[0517] In one embodiment, the smart glasses (1710) can display a virtual display area in real time by receiving missing stroke data from the electronic device (110) and the electronic pen (120).

[0518] In one embodiment, the electronic device (110) and the electronic pen (120) can transmit missing stroke data to the smart glasses (1710).

[0519] In one embodiment, a user wearing smart glasses (1710) can view a virtual display area in real time that is extended beyond the displayable area of ​​the electronic device (110).

[0520] In one embodiment, the smart glasses (1710) can use missing stroke data to display missing strokes in real time in a virtual display area. In one embodiment, a user wearing the smart glasses (1710) can view missing strokes in real time on the virtual display area.

[0521] In one embodiment, data regarding missing strokes on a virtual display area obtained using smart glasses (1710) can be transmitted to an electronic device (110).

[0522] In one embodiment, data acquired using smart glasses (1710) may be included in the missing stroke data.

[0523] In one embodiment, a smart watch (1720) and a smart ring (1730) can be used to obtain missing stroke data.

[0524] In one embodiment, the smart watch (1720) and the smart ring (1730) may be used to acquire at least one of data of the acceleration, inclination, distance from the electronic device (110) and position of the user's hand of the electronic pen (120), but is not limited thereto.

[0525] In one embodiment, missing stroke data acquired using a smart watch (1720) and a smart ring (1730) can be used to improve the accuracy of pen tip position calculation of an electronic pen (120).

[0526] In one embodiment, missing stroke data acquired using a smart watch (1720) and a smart ring (1730) can be used to improve the accuracy of missing strokes.

[0527] In one embodiment, the electronic device (110) can adjust the layout of the displayable area based on the missing stroke data. In one embodiment, the missing stroke can be displayed in the displayable area according to the adjusted layout.

[0528] FIG. 18 is a drawing for explaining a method for correcting a missing stroke (1810) according to one embodiment.

[0529] Referring to FIG. 18, the electronic device (110) can receive stroke data related to a stroke using an electronic pen (120). In one embodiment, the electronic device (110) can display the stroke using the electronic pen (120) in a displayable area of ​​the electronic device (110) using the received stroke data.

[0530] In one embodiment, the stroke using the electronic pen (120) may be "Hello Team." In one embodiment, the stroke using the electronic pen (120), "Hello Team," may be displayed in the displayable area of ​​the electronic device (110).

[0531] In one embodiment, the electronic device (110) can detect a missed stroke (1810), which is a stroke made using the electronic pen (120) outside the displayable area of ​​the electronic device (110). In one embodiment, the missed stroke (1810) can be the end of the last letter "m" in "Hello Team", which is a stroke made using the electronic pen (120).

[0532] In one embodiment, the electronic device (110) can obtain missing stroke data for a detected missing stroke (1810).

[0533] In one embodiment, the electronic device (110) can obtain a missing stroke (1810) using missing stroke data. In one embodiment, the missing stroke (1810) can be a stroke connected by calculating the pen tip position of the electronic pen (120) in the virtual display area.

[0534] In one embodiment, the calculated pen tip position of the electronic pen (120) may be a collection of non-contiguous points. In one embodiment, a missed stroke (1810) may be represented as a discontinuous stroke.

[0535] In one embodiment, the electronic device (110) can convert a missed stroke (1810) into a continuous stroke by compensating for it.

[0536] In one embodiment, the electronic device (110) may use a filter or algorithm to compensate for missing strokes (1810). For example, the filter or algorithm used to compensate for missing strokes (1810) may be an epsilon filter, a mean shift algorithm, or a mean estimation algorithm.

[0537] In one embodiment, the electronic device (110) can display the corrected missing stroke (1810) in the displayable area.

[0538] Fig. 19 is a block diagram illustrating the configuration of an electronic device (110) according to one embodiment.

[0539] Referring to FIG. 19, the electronic device (110) may include a processor (1910), a display (1920), and a memory (1930).

[0540] In one embodiment, the processor (1910) controls the overall operation of the electronic device (110) and the signal flow between the durable components of the electronic device (110), and performs functions to process data.

[0541] In one embodiment, the processor (1910) may include a single core, dual cores, triple cores, quad cores, and multiples thereof. Furthermore, the processor (1910) may include multiple processors. For example, the processor (1910) may be implemented as a main processor (not shown) and a subprocessor (not shown) operating in a sleep mode.

[0542] In one embodiment, the processor (1910) may include at least one of a Central Processing Unit (CPU), a Graphic Processing Unit (GPU), and a Video Processing Unit (VPU). Alternatively, depending on the embodiment, the processor (1910) may be implemented in the form of a System On Chip (SoC) that integrates at least one of a CPU, a GPU, and a VPU. Alternatively, the processor (1910) may further include a Neural Processing Unit (NPU).

[0543] In one embodiment, the processor (1910) may receive stroke data associated with a stroke using an electronic pen (120).

[0544] In one embodiment, the processor (1910) can detect a missed stroke, which is a stroke made using the electronic pen (120) outside the displayable area of ​​the electronic device (110).

[0545] In one embodiment, the processor (1910) may obtain missing stroke data for a detected missing stroke.

[0546] In one embodiment, the processor (1910) may adjust the layout of the displayable area based on missing stroke data.

[0547] In one embodiment, the processor (1910) may display the missing stroke in the displayable area according to the adjusted layout.

[0548] In one embodiment, the processor (1910) may activate a missed stroke detection mode when a stroke using an electronic pen (120) is detected at the edge of the displayable area of ​​the electronic device (110).

[0549] In one embodiment, the processor (1910) may create a virtual display area that extends beyond the displayable area in the direction in which the missing stroke was detected.

[0550] In one embodiment, the processor (1910) can obtain missing stroke data by calculating the pen tip position of the electronic pen (120) in the virtual displayable area.

[0551] In one embodiment, the processor (1910) may obtain missing stroke data for a missing stroke outside the displayable area when it detects that the missing stroke has returned to the displayable area from outside the displayable area.

[0552] In one embodiment, when the processor (1910) detects that all missing strokes occurred outside the displayable area, the processor (1910) may use data from at least one of an accelerometer and a gyroscope included in the electronic pen (120) to acquire missing stroke data until at least one of the acceleration and coordinates of the electronic pen (120) does not exceed a threshold.

[0553] In one embodiment, the processor (1910) can obtain missing stroke data through pen tip position information of the electronic pen (120) obtained using the position of the beacon included in the electronic device (110) and the position of the beacon included in the electronic pen (120).

[0554] In one embodiment, the processor (1910) may move the entire stroke to the empty space if there is an empty space in the displayable area based on at least one of the direction of use of the electronic pen (120), the virtual display area, and the displayable area.

[0555] In one embodiment, the processor (1910) can adjust the size of the entire stroke based on the ratio between the virtual display area and the displayable area, if there is no empty space.

[0556] In one embodiment, the processor (1910) can adjust the layout of the displayable area by comparing the size of the empty space between each stroke and the size of the missing stroke.

[0557] In one embodiment, the processor (1910) can obtain missing stroke data using at least one of smart glasses, a smart ring, and a smart watch.

[0558] A display (1920) according to one embodiment converts image signals, data signals, OSD signals, control signals, etc. processed by a processor (1910) to generate a driving signal. The display (1920) may be implemented as a PDP, LCD, OLED, flexible display, etc., and may also be implemented as a 3D display. In addition, the display (1920) may be configured as a touch screen and may be used as an input device in addition to an output device.

[0559] In one embodiment, the memory (1930) may store various data, programs, or applications for driving and controlling the electronic device (110).

[0560] In one embodiment, a program stored in memory (1930) may include one or more instructions. The program (one or more instructions) or application stored in memory (1930) may be executed by the processor (1910).

[0561] Fig. 20 is a drawing showing the configuration of an electronic pen (120) according to one embodiment.

[0562] Referring to FIG. 20, the electronic pen (120) may include a processor (2010), memory (2020), battery (2030), antenna (2040), accelerometer (2050), gyroscope (2060), magnetometer (2070), and communication unit (2080).

[0563] In one embodiment, the processor (2010) controls the overall operation of the electronic pen (120) and the signal flow between the durable components of the electronic pen (120), and performs the function of processing data.

[0564] In one embodiment, the processor (2010) may include a single core, dual cores, triple cores, quad cores, and multiples thereof. Additionally, the processor (2010) may include multiple processors. For example, the processor (2010) may be implemented as a main processor (not shown) and a subprocessor (not shown) operating in a sleep mode.

[0565] In one embodiment, the processor (2010) may include at least one of a Central Processing Unit (CPU), a Graphic Processing Unit (GPU), and a Video Processing Unit (VPU). Alternatively, depending on the embodiment, the processor (2010) may be implemented in the form of a System On Chip (SoC) that integrates at least one of a CPU, a GPU, and a VPU. Alternatively, the processor (2010) may further include a Neural Processing Unit (NPU).

[0566] In one embodiment, the memory (2020) may store various data, programs or applications for driving and controlling the electronic pen (120).

[0567] In one embodiment, a program stored in memory (2020) may include one or more instructions. The program (one or more instructions) or application stored in memory (2020) may be executed by the processor (2010).

[0568] In one embodiment, the battery (2030) can store power required for the operation of the electronic pen (120). For example, the battery (2030) can be a lithium-ion battery, a primary battery, a secondary battery, or a fuel cell. In one embodiment, the battery (2030) can be rechargeable or replaceable.

[0569] In one embodiment, the antenna (2040) may be used to transmit signals or power to or receive signals from the outside. In one embodiment, the electronic pen (120) may exchange signals or power with the electronic device (110) via the antenna (2040).

[0570] In one embodiment, the accelerometer (2050) may be a sensor capable of measuring the acceleration of the electronic pen (120) in a three-dimensional coordinate axis direction. In one embodiment, the electronic pen (120) may obtain missing stroke data using the accelerometer (2050).

[0571] In one embodiment, the gyroscope (2060) may be a sensor capable of measuring the rotational direction, rotational angle, and angular velocity of the electronic pen (120) in three dimensions. In one embodiment, the electronic pen (120) may obtain missing stroke data using the gyroscope (2060).

[0572] In one embodiment, the magnetometer (2070) may be a sensor that measures a magnetic field or magnetic moment of the electronic pen (120). In one embodiment, the electronic pen (120) may obtain information about the direction of the electronic pen (120) using the magnetometer (2070).

[0573] In one embodiment, the communication unit (2080) can transmit and receive data or signals with an external device (e.g., an electronic device (110)) or a server. For example, the communication unit (2080) can include a WiFi module, a Bluetooth module, an infrared communication module, a wireless communication module, a LAN module, an Ethernet module, a wired communication module, etc. In this case, each communication module can be implemented in the form of at least one hardware chip.

[0574] A method for displaying a stroke using an electronic pen on an electronic device according to one embodiment may include a step of activating a missed stroke detection mode when a stroke using the electronic pen is detected at an edge of a displayable area of ​​the electronic device.

[0575] A method for displaying a stroke using an electronic pen according to one embodiment on an electronic device may include a step of creating a virtual display area that is extended beyond the displayable area in a direction in which the missing stroke is detected.

[0576] A method for displaying a stroke using an electronic pen on an electronic device according to one embodiment may include a step of obtaining the missing stroke data by calculating a position of a pen tip of the electronic pen in the virtual display area.

[0577] A method for displaying a stroke using an electronic pen according to one embodiment of the present invention on an electronic device may include a step of acquiring missing stroke data for the missing stroke outside the displayable area when it is detected that the missing stroke has returned from outside the displayable area to the displayable area.

[0578] A method for displaying strokes using an electronic pen on an electronic device according to one embodiment may include, when it is detected that all of the missing strokes occurred outside the displayable area, obtaining the missing stroke data using data of at least one of an accelerometer and a gyroscope included in the electronic pen until at least one of the acceleration and coordinates of the electronic pen does not exceed a threshold value.

[0579] A method for displaying a stroke using an electronic pen according to one embodiment of the present invention on an electronic device may include a step of obtaining the missing stroke data through pen tip position information of the electronic pen obtained using the position of a beacon included in the electronic device and the position of a beacon included in the electronic pen.

[0580] A method for displaying a stroke using an electronic pen according to one embodiment on an electronic device may include, based on at least one of a direction of use of the electronic pen, the virtual display area, and the displayable area, if there is an empty space in the displayable area, moving the entire stroke to the empty space.

[0581] A method for displaying a stroke using an electronic pen according to one embodiment of the present invention on an electronic device may include a step of adjusting the size of the entire stroke according to a ratio between the virtual display area and the displayable area when there is no empty space.

[0582] A method for displaying strokes using an electronic pen according to one embodiment on an electronic device may include adjusting a layout of the displayable area by comparing the size of the missing stroke with the empty space between each stroke.

[0583] A method for displaying a stroke using an electronic pen according to one embodiment on an electronic device may include a step of obtaining the missing stroke data using at least one of smart glasses, a smart ring, and a smart watch.

[0584] The at least one processor may activate a missed stroke detection mode when a stroke using the electronic pen is detected at an edge of a displayable area of ​​the display by executing the at least one instruction.

[0585] The at least one processor can generate a virtual display area that is extended beyond the displayable area in the direction in which the missing stroke is detected by executing the at least one instruction.

[0586] The at least one processor can obtain the missing stroke data by calculating the position of the pen tip of the electronic pen in the virtual display area by executing the at least one instruction.

[0587] The at least one processor may obtain the missing stroke data for the missing stroke outside the displayable area when the missing stroke is detected to have returned from outside the displayable area to the displayable area by executing the at least one instruction.

[0588] The at least one processor may, by executing the at least one instruction, acquire the missing stroke data by using data from at least one of an accelerometer and a gyroscope included in the electronic pen until at least one of the acceleration and coordinates of the electronic pen does not exceed a threshold value when it is detected that all of the missing strokes occurred outside the displayable area.

[0589] The at least one processor can obtain the missing stroke data by executing the at least one instruction, through the pen tip position information of the electronic pen obtained using the position of the beacon included in the electronic device and the position of the beacon included in the electronic pen.

[0590] The at least one processor can, by executing the at least one instruction, move the entire stroke to the empty space in the displayable area based on at least one of the direction of use of the electronic pen, the virtual display area, and the displayable area, if there is an empty space in the displayable area.

[0591] The at least one processor can adjust the size of the entire stroke according to a ratio between the virtual display area and the displayable area when there is no empty space by executing the at least one instruction.

[0592] The at least one processor can adjust the layout of the displayable area by comparing the size of the missing stroke with the empty space between each stroke by executing the at least one instruction.

[0593] A method for connecting an IoT device to an IoT network in which multiple IoT devices are connected according to one embodiment may be implemented in the form of program commands that can be executed by various computer means and recorded on a computer-readable medium. The computer-readable medium may include program commands, data files, data structures, etc., either singly or in combination. The program commands recorded on the medium may be those specially designed and configured for the present invention or may be those known to and usable by those skilled in the art of computer software. Examples of computer-readable recording media 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 generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter, etc.

[0594] Additionally, the method for controlling an IoT device according to the disclosed embodiments may be provided as a computer program product. The computer program product may be traded as a product between a seller and a buyer.

[0595] A computer program product may include a software program and a computer-readable storage medium on which the software program is stored. For example, a computer program product may include a product in the form of a software program (e.g., a downloadable app) distributed electronically by an electronic device manufacturer or through an electronic marketplace (e.g., Google Play Store, App Store). For electronic distribution, at least a portion of the software program may be stored on a storage medium or temporarily created. In this case, the storage medium may be a storage medium of a manufacturer's server, an electronic marketplace server, or a relay server that temporarily stores the software program.

[0596] In a system comprising a server and a client device, the computer program product may include a storage medium of the server or a storage medium of the client device. Alternatively, if a third device (e.g., a smartphone) exists that is communicatively connected to the server or the client device, the computer program product may include a storage medium of the third device. Alternatively, the computer program product may include a software program itself that is transmitted from the server to the client device or the third device, or from the third device to the client device.

[0597] In this case, one of the server, the client device, and the third device may execute the computer program product to perform the method according to the disclosed embodiments. Alternatively, two or more of the server, the client device, and the third device may execute the computer program product to perform the method according to the disclosed embodiments in a distributed manner.

[0598] For example, a server (e.g., a cloud server or an artificial intelligence server, etc.) may execute a computer program product stored on the server, thereby controlling a client device in communication with the server to perform a method according to the disclosed embodiments.

[0599] Although the embodiments have been described in detail above, the scope of the present invention is not limited thereto, and various modifications and improvements made by those skilled in the art using the basic concept of the present invention defined in the following claims also fall within the scope of the present invention.

Claims

1. A method for displaying a stroke using an electronic pen (120) on an electronic device (110), Step (210) of receiving stroke data related to a stroke using the above electronic pen (120); A step (220) of detecting a missed stroke, which is a stroke using the electronic pen (120) outside the displayable area of ​​the electronic device (110); Step (230) of obtaining missing stroke data for the above-detected missing stroke; Step (240) of adjusting the layout of the displayable area based on the above missing stroke data; and A method comprising the step (250) of displaying the missing stroke in the displayable area according to the adjusted layout.

2. In paragraph 1, A method further comprising the step of activating a missed stroke detection mode when a stroke using the electronic pen (120) is detected at the edge of the displayable area of ​​the electronic device (110).

3. In paragraph 1 or 2, A step of generating a virtual display area that is extended beyond the displayable area in the direction in which the missing stroke is detected; and A method further comprising the step of obtaining the missing stroke data by calculating the pen tip position of the electronic pen (120) in the virtual display area.

4. In any one of paragraphs 1 to 3, The step of obtaining missing stroke data for the above detected missing stroke is: A method for obtaining missing stroke data for the missing stroke outside the displayable area, when it is detected that the missing stroke has returned to the displayable area from outside the displayable area.

5. In any one of paragraphs 1 to 4, The step of obtaining missing stroke data for the above detected missing stroke is: A method for acquiring the missing stroke data by using data from at least one of an accelerometer (2050) and a gyroscope (2060) included in the electronic pen (120) when it is detected that all of the above missing strokes occurred outside the displayable area, until at least one of the acceleration and coordinates of the electronic pen (120) does not exceed a threshold value.

6. In any one of paragraphs 1 to 5, The step of obtaining missing stroke data for the above detected missing stroke is: A method for obtaining the missing stroke data through pen tip position information of the electronic pen (120) obtained by using the position of the beacon (1410) included in the electronic device (110) and the position of the beacon (1420) included in the electronic pen (120).

7. In any one of paragraphs 1 to 6, The step of adjusting the layout of the displayable area based on the above missing stroke data is: A method of moving an entire stroke to an empty space in a displayable area based on at least one of the direction of use of the electronic pen (120), the virtual display area, and the displayable area.

8. In any one of paragraphs 1 to 7, The step of adjusting the layout of the displayable area based on the above missing stroke data is: A method for adjusting the size of the entire stroke according to the ratio between the virtual display area and the displayable area, if there is no empty space.

9. In any one of paragraphs 1 to 8, The step of adjusting the layout of the displayable area based on the above missing stroke data is: A method for adjusting the layout of the displayable area by comparing the size of the empty space between each stroke and the size of the missing stroke.

10. In any one of paragraphs 1 to 9, The step of obtaining missing stroke data for the above detected missing stroke is: A method for obtaining the missing stroke data using at least one of smart glasses (1710), a smart ring (1730) and a smart watch (1720).

11. In an electronic device (110) that displays a stroke using an electronic pen (120), Display (1920); A memory (1930) storing at least one instruction; and comprising at least one processor (1910); The at least one processor (1910) executes the at least one instruction, Receive stroke data related to a stroke using the above electronic pen (120), Detecting a missed stroke, which is a stroke made using the electronic pen (120) outside the displayable area of ​​the display (1920), Obtain missing stroke data for the above detected missing strokes, Adjusting the layout of the displayable area based on the above missing stroke data, An electronic device (110) that displays the missing stroke in the displayable area according to the adjusted layout.

12. In paragraph 11, The at least one processor (1910) executes the at least one instruction, An electronic device (110) that activates a missed stroke detection mode when a stroke using the electronic pen (120) is detected at the edge of the displayable area of ​​the display (1920).

13. In clause 11 or 12, The at least one processor (1910) executes the at least one instruction, Create a virtual display area that is extended beyond the displayable area in the direction in which the above missing stroke is detected, An electronic device (110) that obtains the missing stroke data by calculating the pen tip position of the electronic pen (120) in the virtual display area.

14. In any one of paragraphs 11 to 13, Obtaining missing stroke data for the above detected missing strokes is: An electronic device (110) that obtains the missing stroke data for the missing stroke outside the displayable area when it detects that the missing stroke has returned to the displayable area from outside the displayable area.

15. In any one of paragraphs 11 to 14, Obtaining missing stroke data for the above detected missing strokes is: An electronic device (110) that acquires the missing stroke data by using data from at least one of an accelerometer (2050) and a gyroscope (2060) included in the electronic pen (120) until at least one of the acceleration and coordinates of the electronic pen (120) does not exceed a threshold value, if it is detected that all of the above missing strokes occurred outside the displayable area.

16. In any one of paragraphs 11 to 15, Obtaining missing stroke data for the above detected missing strokes is: An electronic device (110) that obtains the missing stroke data through pen tip position information of the electronic pen (120) obtained by using the position of the beacon (1410) included in the electronic device (110) and the position of the beacon (1420) included in the electronic pen (120).

17. In any one of paragraphs 11 to 16, Adjusting the layout of the displayable area based on the above missing stroke data, An electronic device (110) that moves the entire stroke to an empty space in the displayable area based on at least one of the direction of use of the electronic pen (120), the virtual display area, and the displayable area.

18. In any one of paragraphs 11 to 17, Adjusting the layout of the displayable area based on the above missing stroke data, An electronic device (110) that adjusts the size of the entire stroke according to the ratio between the virtual display area and the displayable area, if there is no empty space.

19. In any one of paragraphs 11 to 18, Adjusting the layout of the displayable area based on the above missing stroke data, An electronic device (110) that adjusts the layout of the displayable area by comparing the size of the empty space between each stroke and the size of the missing stroke.

20. A computer-readable recording medium storing a program for performing any one of the methods of clauses 1 to 10.

Citation Information

Patent Citations

  • Mobile terminal and web browsing method of mobile terminal

    KR1020100102996A

  • Contents creating method and apparatus by handwriting input with touch screen

    KR1020140105385A

  • Information input device and method

    KR1020140114224A

  • Method for controlling generator of vehicle

    KR1020220000028A

  • Container assembly for vietnamese roll

    KR1020240023939A