Electronic device for displaying information about a stylus pen and method thereof

By integrating wireless communication circuits and processors into electronic devices, monitoring the battery status and connection status of the stylus, and displaying the corresponding user interface, the need for seamless communication between the electronic device and the stylus is solved, ensuring that the device stable operation and user experience.

CN112424741BActive Publication Date: 2025-01-21SAMSUNG ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201980047304.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-08-08
Filing Date
2019-08-06
Publication Date
2025-01-21
Estimated Expiration
2039-08-06

AI Technical Summary

Technical Problem

When achieving seamless wireless communication between electronic devices and stylus, it is necessary to periodically monitor the battery status and wireless communication connection status of the stylus, and feedback the stylus information connected to the device to the user to prevent the battery status or the performance of the communication link state is degraded.

Method used

An electronic device is designed, including a housing, a visual display, a wireless communication circuit, a processor, and a memory. The device establishes a short-distance wireless communication link with the inserted stylus through a wireless communication circuit, receives battery status information of the stylus, and detects the separation status of the stylus. Based on this information, the device displays a graphical user interface indicating battery status and connection status.

Benefits of technology

It achieves real-time provision of stylus battery status and wireless communication connection status information to users, prevents performance degradation of stylus battery status or communication link status, and ensures that users can identify and connect the correct stylus.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112424741B_ABST
    Figure CN112424741B_ABST
Patent Text Reader

Abstract

An electronic device for displaying information related to a stylus pen is provided. The electronic device includes: a wireless communication link based on a short-range wireless communication protocol with a stylus pen inserted into an inner space of a housing, detecting that the stylus pen is separated from the housing, receiving a signal including information about a battery status of the stylus pen from the stylus pen through the short-range wireless communication protocol, and displaying a first graphical user interface (GUI) indicating a battery status based on at least the information about the battery status.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to an electronic device and a method thereof for displaying information about a stylus pen. Background Art

[0002] The electronic device may include a stylus pen that can be inserted into or detached from the electronic device. The stylus pen may provide an environment in which a user inputs handwriting on a display of the electronic device.

[0003] Because the stylus can interact with the electronic device based on electromagnetic induction or short-range wireless communication protocol, the stylus can provide users with various user experience (UX) environments. In addition, based on the short-range wireless communication protocol, the electronic device can interact with multiple styluses as well as a single stylus.

[0004] The above information is presented as background information only to assist with an understanding of the present disclosure. No determination has been made, and no assertion is made, as to whether any of the above might be applicable as prior art with respect to the present disclosure. Summary of the invention

[0005] Technical issues

[0006] For seamless wireless communication between the electronic device and the stylus, it is necessary to periodically monitor the battery status of the stylus or the connection status of the wireless communication. In addition, in order for the user to identify the stylus connected to the electronic device from multiple styluses based on the short-range wireless communication protocol, it is necessary to feed back the information of the stylus connected to the electronic device to the user.

[0007] Since the stylus pen does not include a separate display in consideration of installation space and power consumption, there is a limitation in providing the user with information on a battery status or a connection status of wireless communication.

[0008] Technical Solution

[0009] An aspect of the present disclosure is to address at least the above problems and / or disadvantages and to provide at least the advantages described below. Therefore, an aspect of the present disclosure is to provide an apparatus and method for monitoring information about a stylus pen and displaying the monitored information.

[0010] Additional aspects will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the presented embodiments.

[0011] According to aspects of the present disclosure, an electronic device is provided. The electronic device includes a housing, a display visible through a portion of the housing, a wireless communication circuit disposed in the housing, at least one processor disposed in the housing and operably connected to the display and the wireless communication circuit, and a memory disposed in the housing and operably connected to the processor. The memory may store instructions that, when executed, configure at least one processor to: establish a wireless communication link based on a short-range wireless communication protocol with a stylus inserted into the internal space of the housing through the wireless communication circuit, receive a signal including information about the battery status of the stylus from the stylus through the wireless communication circuit and the short-range wireless communication protocol, detect that the stylus is separated from the housing, and display a first graphical user interface (GUI) indicating the battery status through the display based on at least the information about the battery status.

[0012] According to another aspect of the present disclosure, a method operated by an electronic device is provided. The method includes: establishing a wireless communication link based on a short-range wireless communication protocol with a stylus inserted into an internal space of the electronic device, receiving a signal including information about a battery status of the stylus from the stylus through the short-range wireless communication protocol, detecting that the stylus is separated from a housing of the electronic device, and displaying a first graphical user interface (GUI) indicating a battery status based on at least the information about the battery status.

[0013] According to another aspect of the present disclosure, an electronic device is provided. The device includes a housing, a display visible through a portion of the housing, a wireless communication circuit disposed in the housing, a stylus pen insertable into an internal space of the housing, at least one processor disposed in the housing and operably connected to the display and the wireless communication circuit, and a memory disposed in the housing and operably connected to the processor. The memory may store instructions that, when executed, configure at least one processor to: establish a wireless communication link based on a short-range wireless communication protocol with a stylus pen inserted into the internal space of the housing through the wireless communication circuit, detect that the stylus pen is separated from the housing, receive a signal including information about the battery status of the stylus pen from the stylus pen through the wireless communication circuit and the short-range wireless communication protocol, and display a first graphical user interface indicating the battery status through the display based on at least the information about the battery status.

[0014] Other aspects, advantages, and salient features of the present disclosure will become apparent to those skilled in the art from the following detailed description which discloses various embodiments of the present disclosure in conjunction with the accompanying drawings.

[0015] Advantageous Effects of the Invention

[0016] According to various embodiments of the present disclosure, the electronic device can provide information about the stylus pen to the user and thus prevent the performance of the battery state or the wireless communication link state of the stylus pen from being degraded.

[0017] According to various embodiments of the present disclosure, the electronic device may display information about a stylus connected to the electronic device among a plurality of styluses and thus prevent a user from performing an abnormal operation by using a stylus different from the connected stylus.

[0018] Furthermore, various effects directly or indirectly understood by the present disclosure can be provided.

[0019] While the present disclosure has been shown and described with reference to various embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the spirit and scope of the present disclosure as defined by the appended claims and their equivalents. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The above and other aspects, features and advantages of certain embodiments of the present disclosure will become more apparent from the following description in conjunction with the accompanying drawings, in which:

[0021] Figure 1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure;

[0022] Figure 2 is a perspective view of an electronic device including a digital pen according to various embodiments of the present disclosure;

[0023] Figure 3 A block diagram of a digital pen according to various embodiments of the present disclosure is shown;

[0024] Figure 4 is an exploded perspective view of a digital pen according to various embodiments of the present disclosure;

[0025] Figure 5 A graphical user interface (GUI) indicating information about a digital pen according to various embodiments of the present disclosure is shown;

[0026] Figure 6 A flowchart showing the operation of an electronic device displaying a GUI associated with a digital pen according to various embodiments of the present disclosure;

[0027] Figure 7 A first GUI indicating a battery status in stages according to various embodiments of the present disclosure is shown;

[0028] Figure 8 shows a GUI displayed when establishing a wireless communication link with a digital pen according to various embodiments of the present disclosure;

[0029] Fig. 9An operation flow chart of an electronic device establishing a wireless communication link with a digital pen according to various embodiments of the present disclosure is shown;

[0030] Fig.10 An operation of displaying information about a digital pen based on whether the digital pen is detached according to various embodiments of the present disclosure is shown;

[0031] Fig.11 An operation of displaying information about a plurality of digital pens according to various embodiments of the present disclosure is shown;

[0032] Fig.12 A user interface (UI) for selecting a digital pen among a plurality of digital pens according to various embodiments of the present disclosure is shown; and

[0033] Fig.13 An operation of displaying information about one digital pen selected from a plurality of digital pens according to various embodiments of the present disclosure is illustrated.

[0034] Throughout the drawings, it should be noted that like reference numbers are used to depict the same or similar elements, features, and structures. DETAILED DESCRIPTION

[0035] The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of the various embodiments of the present disclosure as defined by the claims and their equivalents. It includes various specific details to assist in understanding, but these specific details are considered to be exemplary only. Therefore, it will be appreciated by those of ordinary skill in the art that various changes and modifications may be made to the various embodiments described herein without departing from the scope and spirit of the present disclosure. In addition, for the sake of clarity and brevity, descriptions of well-known functions and structures may be omitted.

[0036] The words and phrases used in the following description and claims are not limited to the bibliographical meanings, but are merely used by the inventor to enable a clear and consistent understanding of the present disclosure. Therefore, it will be apparent to those skilled in the art that the following description of various embodiments of the present disclosure is provided for illustrative purposes only and not for the purpose of limiting the present disclosure as defined by the appended claims and their equivalents.

[0037] It should be understood that the singular forms "a," "an," and "the" include plural referents unless the context clearly dictates otherwise. Thus, for example, reference to "a component surface" includes reference to one or more of such surfaces.

[0038] Figure 1 is a block diagram illustrating an electronic device 101 in a network environment 100 according to various embodiments of the present disclosure.

[0039] Reference Figure 1 , the electronic device 101 in the network environment 100 may communicate with the electronic device 102 via the first network 198 (e.g., a short-range wireless communication network), or communicate with the electronic device 104 or the server 108 via the second network 199 (e.g., a long-range wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 via the server 108. According to an embodiment, the electronic device 101 may include a processor 120, a memory 130, an input device 150, a sound output device 155, a display device 160, an audio module 170, a sensor module 176, an interface 177, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module 190, a user identification module (SIM) 196, or an antenna module 197. In some embodiments, at least one of the components (e.g., the display device 160 or the camera module 180) may be omitted from the electronic device 101, or one or more other components may be added to the electronic device 101. In some embodiments, some of the components may be implemented as a single integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illumination sensor) may be implemented to be embedded in the display device 160 (eg, a display).

[0040] The processor 120 may run, for example, software (e.g., program 140) to control at least one other component (e.g., hardware component or software component) of the electronic device 101 connected to the processor 120, and may perform various data processing or calculations. According to one embodiment, as at least part of the data processing or calculation, the processor 120 may load a command or data received from another component (e.g., sensor module 176 or communication module 190) into the volatile memory 132, process the command or data stored in the volatile memory 132, and store the result data in the non-volatile memory 134. According to an embodiment, the processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)) and an auxiliary processor 123 (e.g., a graphics processing unit (GPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is independent of or combined with the main processor 121 in operation. Additionally or alternatively, the auxiliary processor 123 may be adapted to consume less power than the main processor 121, or adapted to be specifically used for a specified function. The auxiliary processor 123 may be implemented separately from the main processor 121 , or as part of the main processor 121 .

[0041] When the main processor 121 is in an inactive (e.g., sleep) state, the auxiliary processor 123 may control at least some of the functions or states related to at least one component (e.g., display device 160, sensor module 176, or communication module 190) among the components of the electronic device 101 (not the main processor 121), or when the main processor 121 is in an active state (e.g., running an application), the auxiliary processor 123 may control at least some of the functions or states related to at least one component (e.g., display device 160, sensor module 176, or communication module 190) among the components of the electronic device 101 together with the main processor 121. According to an embodiment, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., camera module 180 or communication module 190) that is functionally related to the auxiliary processor 123.

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

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

[0044] The input device 150 may receive commands or data from outside the electronic device 101 (e.g., a user) to be used by other components of the electronic device 101 (e.g., the processor 120). The input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (e.g., a stylus).

[0045] The sound output device 155 can output a sound signal to the outside of the electronic device 101. The sound output device 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as playing multimedia or playing records, and the receiver can be used for incoming calls. Depending on the embodiment, the receiver can be implemented as a separate part from the speaker, or as a part of the speaker.

[0046] The display device 160 may visually provide information to the outside of the electronic device 101 (e.g., a user). The display device 160 may include, for example, a display, a holographic device, or a projector, and a control circuit for controlling a corresponding one of the display, the holographic device, and the projector. According to an embodiment, the display device 160 may include a touch circuit adapted to detect a touch or a sensor circuit (e.g., a pressure sensor) adapted to measure the strength of a force caused by a touch.

[0047] The audio module 170 can convert sound into an electrical signal, or vice versa. According to an embodiment, the audio module 170 can obtain sound via the input device 150, or output sound via the sound output device 155 or an earphone of an external electronic device (e.g., electronic device 102) directly (e.g., wired) or wirelessly connected to the electronic device 101.

[0048] The sensor module 176 may detect an operating state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a user's state) outside the electronic device 101, and then generate an electrical signal or data value corresponding to the detected state. Depending on the embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illumination sensor.

[0049] The interface 177 may support one or more specific protocols that will be used to connect the electronic device 101 directly (e.g., wired) or wirelessly to an external electronic device (e.g., the electronic device 102). Depending on the embodiment, the interface 177 may include, for example, a high-definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.

[0050] The connection end 178 may include a connector, wherein the electronic device 101 can be physically connected to an external electronic device (e.g., the electronic device 102) via the connector. According to an embodiment, the connection end 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0051] The haptic module 179 may convert the electrical signal into mechanical stimulation (eg, vibration or motion) or electrical stimulation that can be recognized by the user via his sense of touch or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulator.

[0052] The camera module 180 may capture still images or moving images. According to an embodiment, the camera module 180 may include one or more lenses, an image sensor, an image signal processor, or a flash.

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

[0054] The battery 189 may power at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0055] The communication module 190 may support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108), and perform communication via the established communication channel. The communication module 190 may include one or more communication processors that can operate independently from the processor 120 (e.g., an application processor (AP)) and support direct (e.g., wired) communication or wireless communication. According to an embodiment, the communication module 190 may include a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., a local area network (LAN) communication module or a power line communication (PLC) module). A corresponding one of these communication modules can communicate with an external electronic device via a first network 198 (e.g., a short-range communication network such as Bluetooth (BT), Wireless Fidelity (Wi-Fi) Direct, or Infrared Data Association (IrDA)) or a second network 199 (e.g., a long-range communication network such as a cellular network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN))). These various types of communication modules can be implemented as a single component (e.g., a single chip), or these various types of communication modules can be implemented as multiple components separated from each other (e.g., multiple chips). The wireless communication module 192 can identify and authenticate the electronic device 101 in a communication network (such as the first network 198 or the second network 199) using user information (e.g., an International Mobile Subscriber Identity (IMSI)) stored in the user identification module 196.

[0056] The antenna module 197 may transmit or receive a signal or power to or from the outside of the electronic device 101 (e.g., an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a radiating element formed of a conductive material or a conductive pattern formed in or on a substrate (e.g., a printed circuit board (PCB)). According to an embodiment, the antenna module 197 may include a plurality of antennas. In this case, at least one antenna suitable for a communication scheme used in a communication network (such as the first network 198 or the second network 199) may be selected from the plurality of antennas by, for example, the communication module 190 (e.g., the wireless communication module 192). A signal or power may then be transmitted or received between the communication module 190 and the external electronic device via the selected at least one antenna. According to an embodiment, another component (e.g., a radio frequency integrated circuit (RFIC)) other than the radiating element may be additionally formed as part of the antenna module 197.

[0057] At least some of the above components may be connected to each other via an inter-peripheral communication scheme (e.g., a bus, general purpose input output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and communicatively transmit signals (e.g., commands or data) therebetween.

[0058] According to an embodiment, a command or data may be sent or received between the electronic device 101 and the external electronic device 104 via the server 108 connected to the second network 199. Each of the electronic device 102 and the electronic device 104 may be a device of the same type as the electronic device 101, or a device of a different type from the electronic device 101. According to an embodiment, all or some operations to be run on the electronic device 101 may be run on one or more of the external electronic device 102, the external electronic device 104, or the server 108. For example, if the electronic device 101 should automatically perform a function or service or should perform a function or service in response to a request from a user or another device, the electronic device 101 may request the one or more external electronic devices to perform at least part of the function or service instead of running the function or service, or the electronic device 101 may request the one or more external electronic devices to perform at least part of the function or service in addition to running the function or service. The one or more external electronic devices that receive the request may perform the requested at least part of the function or service, or perform another function or another service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may provide the result as at least a partial reply to the request with or without further processing the result. To this end, cloud computing technology, distributed computing technology or client-server computing technology may be used, for example.

[0059] Figure 2 is a perspective view of an electronic device 101 including a digital pen 201 according to various embodiments of the present disclosure.

[0060] Reference Figure 2 The electronic device 101 of the embodiment may include Figure 1 The configuration shown in , and may include a structure in which a digital pen 201 (e.g., a stylus pen) may be inserted. The electronic device 101 may include a housing 110, and may include a hole 111 located in a portion of the housing 110 (e.g., a portion of a side surface 110c of the housing 110). According to an embodiment, the electronic device 101 may include a receiving space 112 connected to the hole 111, and the digital pen 201 may be inserted into the receiving space 112. According to the various embodiments shown, the digital pen 201 may include a button 201a that can be pressed at one end thereof so that the digital pen 201 is easily pulled out of the receiving space 112 of the electronic device 101. When the button 201a is pressed, a thrust mechanism (e.g., at least one spring) configured to be linked to the button 201a works, and the digital pen 201 can be detached from the receiving space 112.

[0061] Figure 3 A block diagram of a digital pen 201 according to various embodiments of the present disclosure is shown.

[0062] Reference Figure 3 , the digital pen 201 according to the embodiment may include a processor 220, a memory 230, a resonant circuit 287, a charging circuit 288, a battery 289, a communication circuit 290, an antenna 297, and / or a trigger circuit 298. In some embodiments, in the digital pen 201, the processor 220, at least a portion of the resonant circuit 287, and / or at least a portion of the communication circuit 290 may be implemented on a printed circuit board (PCB), or may be implemented in the form of a chip. The processor 220, the resonant circuit 287, and / or the communication circuit 290 may be electrically connected to the memory 230, the charging circuit 288, the battery 289, the antenna 297, or the trigger circuit 298. The digital pen 201 according to the embodiment may be implemented using only a resonant circuit and a button.

[0063] According to an embodiment, the processor 220 may include a custom hardware module or a general-purpose processor configured to execute software (e.g., an application). The processor 220 may include a hardware component (function) or a software component (program) having at least one of the following components included in the digital pen 201: various sensors, a data measurement module, an input / output interface, a module for managing the state or environment of the digital pen 201, or a communication module. The processor 220 may include one of hardware, software, or firmware, or a combination of two or more thereof. According to an embodiment, the processor 220 may receive a proximity signal corresponding to an electromagnetic signal generated from a digitizer (e.g., at least a portion of the display device 160) of the electronic device 101 through the resonant circuit 287. When the proximity signal is recognized, the processor 220 may control the resonant circuit 287 so that an electromagnetic resonance (EMR) input signal is sent to the electronic device 101.

[0064] According to an embodiment, the memory 230 may store information about the operation of the digital pen 201. For example, the information may include information for communicating with the electronic device 101 and frequency information about the input operation of the digital pen 201.

[0065] According to an embodiment, the resonant circuit 287 may include at least one of a coil, an inductor, or a capacitor. The resonant circuit 287 may be used for the digital pen 201 to generate a signal including a resonant frequency. For example, in order to generate a signal, the digital pen 201 may use at least one of an electromagnetic resonance (EMR) method, an active electrostatic (AES) method, or an electric coupling resonance (ECR) method. In the case where the digital pen 201 sends a signal in an EMR method, the digital pen 201 may generate a signal including a resonant frequency based on an electromagnetic field generated from a sensing panel of the electronic device 101. In the case where the digital pen 201 sends a signal in an AES method, the digital pen 201 may generate a signal by using a capacitor coupled to the electronic device 101. In the case where the digital pen 201 sends a signal in an ECR method, the digital pen 201 may generate a signal including a resonant frequency based on an electric field generated from a capacitive device of the electronic device 101. According to an embodiment, the resonant circuit 287 may be used to change the frequency or the strength of the electromagnetic field according to the user's manipulation state. For example, the resonant circuit 287 may provide a frequency for identifying a hover input, a drawing input, a button input, or an erase input.

[0066] According to an embodiment, when the charging circuit 288 is connected to the resonance circuit 287 based on the switching circuit, the charging circuit 288 may rectify the resonance signal generated from the resonance circuit 287 into a DC signal so as to supply it to the battery 289. According to an embodiment, the digital pen 201 may determine whether the digital pen 201 is inserted into the electronic device 101 by using the voltage level of the DC signal detected from the charging circuit 288.

[0067] According to an embodiment, the battery 289 may store energy required for the operation of the digital pen 201. For example, the battery 289 may include a lithium ion battery or a capacitor, and may be rechargeable or replaceable. According to an embodiment, the battery 289 may be charged by using power (e.g., a DC signal (or DC power)) provided from the charging circuit 288.

[0068] According to an embodiment, the communication circuit 290 may be configured to perform a wireless communication function between the digital pen 201 and the communication module 190 of the electronic device 101. According to an embodiment, the communication circuit 290 may transmit state information and input information of the digital pen 201 to the electronic device 101 by using a short-range communication method. For example, the communication circuit 290 may transmit direction information (e.g., motion sensor data) of the digital pen 201 obtained by the trigger circuit 298, voice information input through a microphone, or level information of the battery 289. For example, the short-range communication method may include at least one of Bluetooth Low Energy (BLE) or a wireless LAN.

[0069] According to an embodiment, the antenna 297 may be used to transmit a signal or power to the outside (e.g., the electronic device 101), or to receive a signal or power from the outside. According to an embodiment, the digital pen 201 may include a plurality of antennas 297, and at least one antenna 297 suitable for the communication method may be selected from among the plurality of antennas 297. The communication circuit 290 may exchange a signal or power with an external electronic device through the at least one antenna 297 thus selected.

[0070] According to an embodiment, the trigger circuit 298 may include at least one button or sensor circuit. According to an embodiment, the processor 220 may identify an input mode (e.g., touch or press) or type (e.g., EMR button or BLE button) of a button of the digital pen 201. According to an embodiment, the sensor circuit may generate an electrical signal or data value corresponding to an internal operating state of the digital pen 201 or corresponding to an external environmental state. For example, the sensor circuit may include at least one of a motion sensor, a battery level detection sensor, a pressure sensor, a light sensor, a temperature sensor, a geomagnetic sensor, or a biosensor. According to an embodiment, the trigger circuit 298 may send a trigger signal to the electronic device 101 by using an input signal of a button or a signal through a sensor.

[0071] Figure 4 is an exploded perspective view of a digital pen 201 according to various embodiments of the present disclosure.

[0072] Reference Figure 4 , the digital pen 201 may include a pen housing 300 forming the appearance of the digital pen 201 and internal accessories in the pen housing 300. In the illustrated embodiment, the internal accessories may include all parts installed in the pen and may be inserted into the pen housing 300 through only one assembly operation.

[0073] According to an embodiment, the pen housing 300 may be elongated between the first end 300a and the second end 300b, and may include a receiving space 301 therein. The pen housing 300 may have an elliptical shape, a cross section of which includes a short axis and a long axis, and may be formed in the shape of an elliptical cylinder as a whole. The receiving space of the digital pen 201 may have an elliptical cross section corresponding to the shape of the pen housing 300. The pen housing 300 may include a synthetic resin (e.g., plastic) and / or a metal material (e.g., aluminum). According to an embodiment, the second end 300b of the pen housing 300 may be formed of a synthetic resin material.

[0074] According to an embodiment, the internal accessory may have an elongated shape corresponding to the shape of the pen housing 300. The internal accessory may be roughly divided into three components along the longitudinal direction. For example, the internal accessory may include an ejection member 310 provided at a position corresponding to the first end 300a of the pen housing 300, a coil portion 320 provided at a position corresponding to the second end 300b of the pen housing 300, and a circuit board portion 330 provided at a position corresponding to the body of the housing.

[0075] According to an embodiment, the ejection member 310 may include a component for pulling out the digital pen 201 from the receiving space 112 of the electronic device 101. According to an embodiment, the ejection member 310 may include a shaft 311 and an ejection body 312 and a button portion 313 disposed around the shaft 311 and forming an overall appearance of the ejection member 310. When the internal accessory is fully inserted into the pen housing 300, the portion of the ejection member 310 including the shaft 311 and the ejection body 312 may be surrounded by the first end portion 300a of the pen housing 300, and the button portion 313 (e.g., Figure 2 201a) may be exposed to the outside of the first end portion 300a. A plurality of components (not shown) (e.g., a cam member or an elastic member) may be provided in the pop-up body 312 to form a push-pull structure. In an embodiment, the button portion 313 may be substantially engaged with the shaft 311 to perform linear reciprocating motion relative to the pop-up body 312. According to various embodiments, the button portion 313 may include a button having a stopper structure that allows the user to pull out the digital pen 201 by using his / her fingernail. According to an embodiment, the digital pen 201 may include a sensor that detects the linear reciprocating motion of the shaft 311, thereby providing another input method.

[0076] According to an embodiment, the coil part 320 may include: a pen tip 321 exposed to the outside of the second end 300b when the internal accessories are inserted into the pen housing 300, a sealing ring 322, a coil 323 having multiple turns, and / or a pen pressure sensing unit 324 for obtaining a pressure change when the pen tip 321 is pressed. The sealing ring 322 may include epoxy resin, rubber, urethane, or silicon. The sealing ring 322 may be provided for waterproof and dustproof purposes, and may protect the coil part 320 and the circuit board part 330 from moisture or dust when the electronic device 101 and / or the digital pen 201 penetrates into water. According to an embodiment, the coil 323 may form a resonant frequency in a given frequency band (e.g., 500kHz), and may be combined with at least one element (e.g., a capacitor) to adjust the resonant frequency formed by the coil 323 within a given range.

[0077] According to an embodiment, the circuit board portion 330 may include a printed circuit board 332, a substrate 331 covering at least one surface of the printed circuit board 332, and an antenna. According to an embodiment, a substrate placement portion 333 on which the printed circuit board 332 is disposed may be formed on the upper surface of the substrate 331, and the printed circuit board 332 may be fixed in a state of being disposed on the substrate placement portion 333. According to an embodiment, the printed circuit board 332 may include an upper surface and a lower surface. A variable capacitor connected to the coil 323 or the switch 334 may be disposed on the upper surface, and a charging circuit, a battery, or a communication circuit may be disposed on the lower surface. The battery may include an electric double layer capacitor (EDLC). The charging circuit is inserted between the coil 323 and the battery, and may include a voltage detector circuit and a rectifier.

[0078] According to an embodiment, the antenna may include an example Figure 4 339 and / or an antenna embedded in the printed circuit board 332. According to various embodiments, the switch 334 may be provided on the printed circuit board 332. The side button 337 provided on the digital pen 201 may be used to press the switch 334 and may be exposed to the outside through the side opening 302 of the pen housing 300. The side button 337 may be supported by a support member 338. When no external force acts on the side button 337, the support member 338 may provide a restoring force so that the side button 337 returns to or remains in a specific position.

[0079] According to an embodiment, the circuit board portion 330 may include a different sealing ring such as an O-ring. For example, an O-ring formed of an elastic material may be provided at opposite ends of the base 331 to form a sealing structure between the base 331 and the pen housing 300. In any embodiment, the support member 338 may be in close contact with the inner wall of the pen housing 300 around the side opening 302 to form a sealing structure. For example, in the sealing ring 322 of the coil portion 320, the circuit board portion 330 may have a waterproof and dustproof structure.

[0080] According to an embodiment, the digital pen 201 may include a battery mounting portion (not shown) disposed on the upper surface of the base 331 so that the battery 336 is disposed in the battery mounting portion 335. The battery 336 mountable on the battery mounting portion 335 may include, for example, a cylindrical battery.

[0081] According to an embodiment, the digital pen 201 may include a microphone (not shown). The microphone may be directly connected to the printed circuit board 332, or may be connected to a separate flexible printed circuit board (FPCB) (not shown) connected to the printed circuit board 332. According to various embodiments, the microphone may be provided in parallel to the side button 337 along the longitudinal direction of the digital pen 201.

[0082] Figure 5 A graphical user interface (GUI) 510 indicating information about a digital pen according to various embodiments of the present disclosure is shown.

[0083] Reference Figure 5 The electronic device 101 can establish a wireless communication link 520 with the digital pen 201 (eg, a stylus pen) based on a short-range wireless communication protocol. For example, the short-range wireless communication protocol can be based on the Bluetooth standard defined by the Bluetooth Special Interest Group (SIG) or the Bluetooth Low Energy (BLE) standard.

[0084] According to an embodiment, in order to continuously feed back the status of the wireless communication link 520 or the battery status of the digital pen 201 to the user, the electronic device 101 may display a graphical user interface (GUI) 510 indicating information about the digital pen 201 through the display 160 (e.g., at least a portion of the display 160) in a state where the wireless communication link 520 is established. According to an embodiment, for example, the GUI 510 may include information indicating the battery status of the digital pen 201 (e.g., Figure 2 At least one of a first GUI 511 indicating a remaining amount (or level) status of a battery 289) or a second GUI 512 indicating a connection status of a wireless communication link 520.

[0085] According to an embodiment, although Figure 5 Not shown, but when there are multiple digital pens each having a history of connecting to the electronic device 101 based on a short-range wireless communication protocol, the information about the digital pen 201 may include at least one of the following: information indicating that there are multiple digital pens each having a history of connecting to the electronic device 101, or color information of a digital pen (e.g., 201) among the multiple digital pens that currently establishes a wireless communication link 520 with the electronic device 101.

[0086] According to an embodiment, the electronic device 101 may display the GUI 510 in a partial area of ​​the indicator bar 505 located in one area (e.g., the upper end) of the display 160. According to an embodiment, the indicator bar 505 may indicate the state of the electronic device 101, for example, at least one of a battery remaining amount state, a cellular communication connection state, a wireless fidelity (Wi-Fi) connection state, or a current time.

[0087] According to an embodiment, the electronic device 101 may display the GUI 510 in response to detecting that the digital pen 201 is separated from the electronic device 101. Fig.10 The embodiment shown in FIG. 1 is used to describe how to detect the separation of the digital pen 201 from the electronic device 101 .

[0088] Figure 6 An operation flow chart 600 of the electronic device 101 displaying a GUI (eg, at least one of 511 or 512 ) associated with a digital pen according to various embodiments of the present disclosure is shown.

[0089] Figure 6 The operations shown in or another operation flow chart may be performed by the electronic device 101 or a component of the electronic device 101. For example, the components of the electronic device 101 may include Figure 1 At least one of a hardware component (eg, processor 120 ) or a software component (eg, application 146 or middleware 144 ) among the components shown.

[0090] Reference Figure 6 In operation 605 of flowchart 600, electronic device 101 may communicate with the user through wireless communication circuitry (e.g., Figure 1 at least a portion of the wireless communication module 192) and inserted into the internal space (eg, Figure 2 The wireless communication link 520 may be established by using the digital pen 201 in the receiving space 112 of the wireless communication device. According to an embodiment, the wireless communication link 520 may be based on at least one of the Bluetooth standard or the BLE standard.

[0091] In operation 610, the electronic device 101 may receive a signal including information about the battery status of the digital pen 201 from the digital pen 201 through the wireless communication circuit and the wireless communication link 520. The information about the battery status may include, for example, a battery level (or percentage). According to an embodiment, the electronic device 101 may store the information about the battery status in a memory (e.g., Figure 1 in the memory 130).

[0092] In operation 615, the electronic device 101 may detect that the digital pen 201 is separated from the internal space of the electronic device 101. For example, the electronic device 101 may detect the separation of the digital pen 201 by using an electromagnetic induction method (eg, at least one of EMR, AES, or ECR).

[0093] In operation 620 , the electronic device 101 may display the first GUI 511 indicating the battery status of the digital pen 201 through the display in response to detecting the separation of the digital pen 201 .

[0094] In operation 625, the electronic device 101 may display, through the display, the second GUI 512 indicating the connection state of the wireless communication link 520. According to an embodiment, the electronic device 101 may omit operation 625 and may display only the first GUI 511.

[0095] Figure 7A first GUI 511 indicating a battery status in stages according to various embodiments of the present disclosure is shown.

[0096] Reference Figure 7 , the electronic device 101 may display the first GUI 511 in stages according to the battery level (or percentage) of the digital pen 201. For example, the remaining amount of the battery may be classified into a first state 701 indicating less than 20%, a second state 702 indicating 20% ​​or more and less than 40%, a third state 703 indicating 40% or more and less than 60%, a fourth state 704 indicating 60% or more and less than 80%, and a fifth state 705 indicating 80% or more.

[0097] According to an embodiment, in the first state 701, the electronic device 101 may display the first GUI 511-1, in which an area occupying 20% ​​of the GUI representing the shape of the digital pen 201 is displayed with color, and an area occupying 80% is displayed transparently. In the second state 702, the electronic device 101 may display the first GUI 511-2, in which an area occupying 40% of the GUI representing the shape of the digital pen 201 is displayed with color, and an area occupying 60% is displayed transparently. In the third state 703, the electronic device 101 may display the first GUI 511-3, in which an area occupying 50% of the GUI representing the shape of the digital pen 201 is displayed with color, and an area occupying 50% is displayed transparently. In the fourth state 704, the electronic device 101 may display the first GUI 511-4, in which an area occupying 80% of the GUI representing the shape of the digital pen 201 is displayed with color, and an area occupying 20% ​​is displayed transparently. In the fifth state 705 , the electronic device 101 may display the first GUI 511 - 5 in which an area occupying 100% of the GUI representing the shape of the digital pen 201 is displayed with color.

[0098] According to an embodiment, the information on the battery status may indicate the first to fifth states 701 to 705 by using bit information. For another example, the information on the battery status may indicate the total capacity (in milliampere hours (mAh)) of the battery of the digital pen 201 and the remaining amount of the battery by using bit information.

[0099] Figure 8 A GUI (eg, 511 or 512 ) displayed when a wireless communication link 520 with the digital pen 201 is established according to various embodiments of the present disclosure is illustrated.

[0100] Reference Figure 8, the electronic device 101 may measure the state of the wireless communication link 520 in a state (e.g., in the first state 801) in which the wireless communication link 520 is established with the digital pen 201. For example, the electronic device 101 may measure the state of the wireless communication link 520 by measuring the strength (or interference level) of the signal received from the digital pen 201. According to an embodiment, during the first state 801, the electronic device 101 may display a first GUI 511 indicating the battery state of the digital pen 201 and a second GUI 512 indicating the state of the wireless communication link 520 through the display 160.

[0101] According to an embodiment, the electronic device 101 may detect that the wireless communication link 520 is released based on the measured state of the wireless communication link 520 or user settings. In the state where the wireless communication link 520 is released (e.g., in the second state 802), the electronic device 101 may provide an effect that the second GUI 512 disappears. In other words, the electronic device 101 may not display the second GUI 512, and may only display the first GUI 511.

[0102] According to an embodiment, the electronic device 101 may attempt to reestablish the wireless communication link 520. For example, the electronic device 101 may display a screen indicating that the wireless communication link 520 is released through the display 160, and may perform the reconstruction in response to a user input selecting the reconstruction of the wireless communication link 520. For another example, the electronic device 101 may automatically perform the reconstruction of the wireless communication link 520 without user input. In a state where the electronic device 101 and the digital pen 201 reestablish the wireless communication link 520 (for example, in the third state 803), the electronic device 101 may provide an effect that the first GUI 511 flashes.

[0103] Fig. 9 An operational flow chart 900 of the electronic device 101 establishing a wireless communication link 520 with the digital pen 201 according to various embodiments of the present disclosure is shown.

[0104] Reference Fig. 9 In operation 905 of flowchart 900, electronic device 101 may measure the state of wireless communication link 520. According to an embodiment, electronic device 101 may measure the state of wireless communication link 520. Figure 6 Operation 905 is performed between operation 605 and operation 625 .

[0105] In operation 910, the electronic device 101 may identify whether the wireless communication link 520 is released based on the measurement result. For example, when the strength of the signal received from the digital pen 201 is less than a specified threshold, the electronic device 101 may determine that the wireless communication link 520 is released. When the wireless communication link 520 is not released, the electronic device 101 may repeatedly perform operations 905 and 910.

[0106] When the wireless communication link 520 is released, the electronic device 101 may provide an effect that the second GUI 512 disappears in operation 920. The electronic device 101 may display only the first GUI 511 on a partial area of ​​the display 160 (eg, the indicator bar 505).

[0107] In operation 925, the electronic device 101 may attempt to reestablish the wireless communication link 520. In operation 930, the electronic device 101 may provide an effect of the first GUI 511 flashing while reestablishing the wireless communication link 520. According to an embodiment, operations 925 and 930 may be performed substantially simultaneously.

[0108] When the wireless communication link 520 is established, the electronic device 101 may display the second GUI 512 indicating the connection status of the wireless communication link 520 in operation 935. According to an embodiment, the electronic device 101 may display the second GUI 512 on a partial area of ​​the display 160 (eg, the indicator bar 505).

[0109] Fig.10 An operation of displaying information about the digital pen 201 based on whether the digital pen 201 is detached according to various embodiments of the present disclosure is illustrated.

[0110] Reference Fig.10 The electronic device 101 may further include a conductive coil 1010 and a control circuit 1015 for the purpose of detecting the digital pen 201 inserted into the receiving space 112 .

[0111] According to an embodiment, the conductive coil 1010 may perform an antenna function of transmitting / receiving a signal based on an electromagnetic induction method (eg, EMR, AES, or ECR). The conductive coil 1010 may be disposed within the housing 110 or within the receiving space 112 .

[0112] According to the embodiment, the control circuit 1015 may generate a signal based on electromagnetic induction or may process (or analyze) a received signal. According to the embodiment, the control circuit 1015 may be Figure 1 The processor 120 (or auxiliary processor 123) may be at least a part of the processor 120 (or auxiliary processor 123), or may be a separate module (or chip).

[0113] According to an embodiment, the electronic device 101 can detect whether the digital pen 201 is separated by a signal 1050 based on an electromagnetic induction method. For example, the electronic device 101 can generate a signal of a specified frequency through the control circuit 1015, and transmit the generated signal through the conductive coil 1010. The signal transmitted to the digital pen 201 can be generated by a resonant circuit (e.g., Figure 3 The electronic device 101 may receive the signal induced by the conductive coil 1010. The electronic device 101 may recognize whether the digital pen 201 is inserted into or separated from the receiving space 112 by analyzing (or processing) the signal induced by the control circuit 1015.

[0114] According to an embodiment, the electronic device 101 may establish a wireless communication link 520 with the digital pen 201 when the digital pen 201 is inserted into the receiving space 112. For example, the electronic device 101 may establish the wireless communication link 520 based on the Bluetooth standard or the BLE standard.

[0115] According to an embodiment, the electronic device 101 may display a GUI 510 including at least one of the first GUI 511 or the second GUI 512 based on whether the digital pen 201 is detached. For example, when the electronic device 101 detects that the digital pen 201 is detached (e.g., the first state 1001), the electronic device 101 may display the GUI 510 through the display 160. For another example, when the electronic device 101 detects that the digital pen 201 is inserted (e.g., the second state 1002), the electronic device 101 may not display the GUI 510 on the display 160.

[0116] Fig.11 An operation of displaying information about a plurality of digital pens (eg, 201 - 1 and 201 - 2 ) according to various embodiments of the present disclosure is illustrated.

[0117] Reference Fig.11 , the electronic device 101 can establish a wireless communication link with multiple digital pens (e.g., 201-1 and 201-2) based on a short-range wireless communication protocol (e.g., the Bluetooth standard or the BLE standard). According to an embodiment, the appearance of each of the multiple digital pens (e.g., 201-1 and 201-2) (e.g., at least one of the pen housing 300, the first end 300a, or the second end 300b) can have a different color. For example, in the embodiment to be described below, the first digital pen 201-1 can have a blue appearance, and the second digital pen 201-2 can have a red appearance. However, the various colors are not limited thereto.

[0118] According to an embodiment, in the case where the electronic device 101 has a history of establishing wireless communication links with at least two or more digital pens (e.g., 201-1 and 201-2), the electronic device 101 may display a third GUI 1110 through the display 160, and the third GUI 1110 indicates that there is a history of establishing wireless communication links with multiple digital pens 201-1 and 201-2. According to an embodiment, the electronic device 101 may display the third GUI 1110 on a partial area of ​​the display 160 (e.g., a partial area of ​​the indicator bar 505).

[0119] According to an embodiment, in order to reduce unnecessary power consumption, the electronic device 101 may establish a wireless communication link (e.g., a first wireless communication link 1101) with one digital pen (e.g., a first digital pen 201-1), and may release a wireless communication link (e.g., a second wireless communication link 1102) with another digital pen (e.g., a second digital pen 201-2). In this case, the electronic device 101 may store historical information about the second wireless communication link 1102 in a memory (e.g., Figure 1 The history information may include, for example, at least one of identification information of the second digital pen 201-2 or color information of the second digital pen 201-2.

[0120] Fig.12 A user interface (UI) for selecting one digital pen 201 - 1 among a plurality of digital pens 201 - 1 and 201 - 2 according to various embodiments of the present disclosure is illustrated.

[0121] Reference Fig.12 , the electronic device 101 may display a UI 1220 indicating that a wireless communication link has been established with the electronic device 101 from among the plurality of digital pens 201-1 and 201-2 (eg, Fig.11 A digital pen (eg, Fig.11 According to an embodiment, the electronic device 101 may display a UI 1220 on a first screen 1201. The first screen 1201 may include, for example, one of a home screen or an execution screen of an application executed by the electronic device 101. As another example, the first screen 1201 may include a lock screen.

[0122] According to an embodiment, the electronic device 101 may display UI 1220 below the control window 1210 so that the user can quickly select a digital pen from a plurality of digital pens. The control window 1210 may be displayed according to a sliding input received from an area (e.g., the upper end) of the display 160 in a specified direction (e.g., a downward direction). According to an embodiment, the control window 1210 may be referred to as a "quick panel". The UI 1220 may be displayed together with the control window 1210 in response to a sliding input of the user calling the control window 1210.

[0123] According to an embodiment, the UI 1220 may include a first icon 1221 indicating the first digital pen 201-1 and a second icon 1222 indicating the second digital pen 201-2. According to an embodiment, the color of the first icon 1221 may be the same as the color of the first digital pen 201-1 (e.g., blue), and the color of the second icon 1222 may be the same as the color of the second digital pen 201-2 (e.g., red). According to an embodiment, in order to indicate that the first wireless communication link 1101 is established between the first digital pen 201-1 and the electronic device 101, the electronic device 101 may display the first icon 1221 as dark, and may display the second icon 1222 as transparent. According to an embodiment, when a user input selecting the second icon 1222 is received, the electronic device 101 may release the first wireless communication link 1101 and may establish the second wireless communication link 1102.

[0124] According to another embodiment, although Fig.12 1220 may be displayed in a partial area of ​​the control window 1210. In this case, the electronic device 101 may display both the first icon 1221 and the second icon 1222, and an icon of a digital pen connected to the electronic device 101 (e.g., the first icon 1221) may be displayed in a partial area of ​​the control window 1210.

[0125] According to an embodiment, the electronic device 101 may present a digital pen connected to the electronic device 101 among the first digital pen 201-1 and the second digital pen 201-2 on the setting screen 1202. For example, when the first digital pen 201-1 is connected to the electronic device 101, the electronic device 101 may display text (e.g., "Connection") indicating the first digital pen 201-1 on the first button 1251. According to an embodiment, when a user input selecting the second button 1252 indicating the second digital pen 201-2 is received, the electronic device 101 may release the first wireless communication link 1101 and may establish the second wireless communication link 1102.

[0126] Fig.13An operation of displaying information about one digital pen (eg, the first digital pen 201 - 1 ) selected from among a plurality of digital pens (eg, 201 - 1 and 201 - 2 ) according to various embodiments of the present disclosure is illustrated.

[0127] Reference Fig.13 , when outputting the first screen 1301 (for example, Fig.12 When the first screen 1201 of the electronic device 101 is displayed, the electronic device 101 may display an indication of a digital pen connected to the electronic device 101 (for example, Fig.11 According to an embodiment, the electronic device 101 may display the GUI 1310 in a partial area (eg, on one side) of the first screen 1301.

[0128] According to an embodiment, the color of the GUI 1310 may be the same as the color of the digital pen connected to the electronic device 101. For example, when the electronic device 101 establishes a first wireless communication link 1101 with the first digital pen 201-1, the electronic device 101 may display the GUI 1310 having the same color as the color of the first digital pen 201-1 (e.g., blue color). According to an embodiment, the electronic device 101 may receive information about the color of the first digital pen 201-1 from the first digital pen 201-1 through the first wireless communication link 1101. For another example, when the electronic device 101 establishes a second wireless communication link 1102 with the second digital pen 201-2, the electronic device 101 may display the GUI 1310 having the same color as the color of the second digital pen 201-2 (e.g., red color).

[0129] According to an embodiment, the electronic device 101 may display the GUI 1310 in a state where the screen-off memo function is activated (e.g., 1302). According to an embodiment, the screen-off memo function may mean that some components of the electronic device 101 necessary for receiving the input of the digital pen 201 (e.g., Fig.10 The electronic device 101 may be a state in which the digitizer or control circuit 1015 of the display 160 is activated and some components necessary for outputting the screen of the display 160 are deactivated. When the screen off memo function is activated, the screen may not be output, or a black background screen may be output; however, the electronic device 101 may receive an input of the digital pen 201 through the digitizer.

[0130] According to an embodiment, the electronic device 101 may display the GUI 1310 in a partial area of ​​the display 160. For example, the electronic device 101 may display the GUI 1310 in a partial area of ​​the display 160 corresponding to the hole (eg, Figure 2 The GUI 1310 is displayed on a partial area corresponding to the position of the hole 111) (for example, the lower left corner of the electronic device 101).

[0131] As mentioned above, electronic devices (e.g. Figure 1 The electronic device 101 may include a housing (eg, Figure 2 The housing 110 may include a display that is visible through a portion of the housing (e.g., at least a portion of the display 160), and a wireless communication circuit (e.g., Figure 1 a portion of the wireless communication module 192 of the embodiment of the present invention), a processor (e.g., Figure 1 A processor 120) and a memory (e.g., Figure 1 The memory 130). The memory may store instructions that, when executed, cause the processor to: establish a wireless communication link based on a short-range wireless communication protocol with a stylus inserted into the interior space of the housing through the wireless communication circuit, receive a signal including information about the battery status of the stylus from the stylus through the wireless communication circuit and the short-range wireless communication protocol, detect that the stylus is separated from the housing, and display a first graphical user interface (GUI) indicating the battery status through the display based on at least the information about the battery status (e.g., Figure 5 first GUI 511).

[0132] According to an embodiment, the short-range wireless communication protocol may be based on the Bluetooth standard or the Bluetooth Low Energy (BLE) standard defined by the Bluetooth Special Interest Group (SIG).

[0133] According to an embodiment, the instructions may cause the processor to control the first GUI based at least on at least a portion of the information about the battery status, such that the first GUI indicates the battery status of each level through the display.

[0134] According to an embodiment, the instructions cause the processor to measure the state of the wireless communication link thus established, and display a second GUI (eg, Figure 5 512).

[0135] According to an embodiment, the instructions cause the processor to: detect that the wireless communication link is released, provide an effect of the second GUI disappearing through the display, rebuild the wireless communication link through the wireless communication circuit, provide an effect of the first GUI flashing through the display while rebuilding the wireless communication link, and provide the second GUI through the display when the wireless communication link is rebuilt.

[0136] According to an embodiment, the instructions cause the processor to detect insertion of the stylus pen into the interior space of the housing, and in response to detecting the insertion, release display of the first GUI and the second GUI through the display.

[0137] According to an embodiment, the instructions cause the processor to receive a signal including information about the color of the stylus from the stylus through the wireless communication circuit and the short-range wireless communication protocol, and to display a third GUI (e.g., Fig.13 1310).

[0138] According to an embodiment, the instructions cause the processor to display the third GUI in a state where the screen of the display is turned off.

[0139] As mentioned above, electronic devices (e.g. Figure 1 The method of the electronic device 101 may include: inserting a stylus (eg, Figure 2 The electronic device further comprises a digital pen 201 of the electronic device, wherein the digital pen 201 establishes a wireless communication link based on a short-range wireless communication protocol, receives a signal including information about a battery status of the stylus from the stylus through the short-range wireless communication protocol, detects that the stylus is separated from the housing of the electronic device, and displays a first GUI indicating a battery status based on at least the information about the battery status (e.g., Figure 5 first GUI 511).

[0140] According to an embodiment, the displaying of the first GUI may include controlling the first GUI based at least on at least a portion of the information about the battery status, such that the first GUI indicates the battery status of each level.

[0141] According to an embodiment, the method may further include measuring the state of the wireless communication link thus established, and displaying a second GUI (eg, Figure 5 512).

[0142] According to an embodiment, the method may further include: detecting that the wireless communication link is released, providing an effect that the second GUI disappears, reestablishing the wireless communication link, providing an effect that the first GUI flashes while reestablishing the wireless communication link, and displaying the second GUI when the wireless communication link is reestablished.

[0143] According to an embodiment, the method may further include detecting insertion of the stylus pen into an internal space of the electronic device and releasing display of the first GUI and the second GUI in response to detecting the insertion.

[0144] According to an embodiment, the method may further include: receiving a signal including information about the color of the stylus from the stylus through a short-range wireless communication protocol, and displaying a third GUI (e.g., Fig.13 1310).

[0145] According to an embodiment, the displaying of the third GUI may include displaying the third GUI in a state where a screen of a display of the electronic device is turned off.

[0146] As mentioned above, electronic devices (e.g. Figure 1 The electronic device 101 may include a housing (eg, Figure 2 housing 110), a display visible through a portion of the housing (e.g., at least a portion of display 160), a wireless communication circuit disposed within the housing (e.g., Figure 1 at least a portion of the wireless communication module 192 of the housing), a stylus pen (eg, Figure 2 A digital pen 201, a processor (eg, Figure 1 A processor 120) and a memory (e.g., Figure 1 The memory 130). The memory may store instructions that, when executed, cause the processor to: establish a wireless communication link based on a short-range wireless communication protocol with a stylus inserted into the interior space of the shell through the wireless communication circuit, detect that the stylus is separated from the shell, receive a signal including information about the battery status of the stylus from the stylus through the wireless communication circuit and the short-range wireless communication protocol, and display a first graphical user interface (GUI) indicating the battery status through the display based on at least the information about the battery status (e.g., Figure 5 first GUI 511).

[0147] According to an embodiment, the instructions may cause the processor to measure the state of the wireless communication link thus established, and display a second GUI (eg, Figure 5 512).

[0148] According to an embodiment, the instructions may cause the processor to: detect that the wireless communication link is released, provide an effect of the second GUI disappearing through the display, rebuild the wireless communication link through the wireless communication circuit, provide an effect of the first GUI flashing through the display while the wireless communication link is rebuilt, and provide a second GUI through the display when the wireless communication link is rebuilt.

[0149] According to an embodiment, the instructions may cause the processor to: detect insertion of the stylus pen into the interior space of the housing, and release display of the first GUI and the second GUI through the display in response to detecting the insertion.

[0150] According to an embodiment, the instructions may cause the processor to receive a signal including information about the color of the stylus from the stylus through the wireless communication circuit and the short-range wireless communication protocol, and display a third GUI (e.g., a color of the stylus) having the color of the stylus through the display based on at least the information about the color. Fig.13 1310).

[0151] The electronic device according to various embodiments may be an electronic device of one of various types. The electronic device may include, for example, a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a household appliance. According to the disclosed embodiments, the electronic device is not limited to the electronic device described above.

[0152] It should be understood that the various embodiments of the present disclosure and the terms used therein are not intended to limit the technical features set forth herein to specific embodiments, but include various changes, equivalents or alternative forms for the corresponding embodiments. For the description of the accompanying drawings, similar reference numerals may be used to refer to similar or related elements. It will be understood that the nouns in the singular form corresponding to the term may include one or more things, unless the relevant context clearly indicates otherwise. As used herein, each of the phrases such as "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C" and "at least one of A, B or C" may be included in any one or all possible combinations of the items listed together with the corresponding phrase in the phrase. As used herein, terms such as "1st" and "2nd" or "first" and "second" may be used to simply distinguish the corresponding component from another component, and do not limit the components in other aspects (e.g., importance or order). It will be understood that if an element (e.g., a first element) is referred to as being “connected to another element (e.g., a second element)”, “connected to another element (e.g., a second element)”, “in contact with another element (e.g., a second element)”, or “in contact with another element (e.g., a second element)”, with or without the term “operably” or “communicatively”, it means that the element may be connected to the other element directly (e.g., wired), wirelessly, or through a third element.

[0153] As used herein, the term "module" may include units implemented in hardware, software, or firmware, and may be used interchangeably with other terms (e.g., "logic," "logic block," "portion," or "circuit"). A module may be a single integrated component adapted to perform one or more functions or the smallest unit or portion thereof. For example, depending on the implementation, a module may be implemented in the form of an application specific integrated circuit (ASIC).

[0154] The various embodiments described herein may be implemented as software (e.g., program 140) including one or more instructions stored in a storage medium (e.g., internal memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). For example, under the control of a processor, a processor (e.g., processor 120) of a machine (e.g., electronic device 101) may call at least one of the one or more instructions stored in a storage medium and execute the instruction with or without one or more other components. This enables the machine to operate to perform at least one function according to at least one instruction called. One or more instructions may include code generated by a compiler or code that can be run by an interpreter. A machine-readable storage medium may be provided in the form of a non-transitory storage medium. Among them, the term "non-transitory" only means that the storage medium is a tangible device and does not include signals (e.g., electromagnetic waves), but the term does not distinguish between data being semi-permanently stored in a storage medium and data being temporarily stored in a storage medium.

[0155] According to the embodiment, the method according to various embodiments of the present disclosure may be included and provided in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be released in the form of a machine-readable storage medium (e.g., a compact disk read-only memory (CD-ROM)), or may be downloaded via an application store (e.g., PlayStore). TM ) The computer program product may be published (e.g., downloaded or uploaded) online, or the computer program product may be distributed (e.g., downloaded or uploaded) directly between two user devices (e.g., smart phones). If published online, at least part of the computer program product may be temporarily generated, or at least part of the computer program product may be at least temporarily stored in a machine-readable storage medium (such as a memory of a manufacturer's server, an application store's server, or a forwarding server).

[0156] According to various embodiments, each of the above-mentioned components (e.g., a module or a program) may include a single entity or multiple entities. According to various embodiments, one or more of the above-mentioned components may be omitted, or one or more other components may be added. Alternatively or additionally, multiple components (e.g., a module or a program) may be integrated into a single component. In this case, according to various embodiments, the integrated component may still perform one or more functions of each of the multiple components in the same or similar manner as a corresponding one of the multiple components performing one or more functions before integration. According to various embodiments, the operations performed by a module, a program or another component may be performed sequentially, in parallel, repeatedly or in a heuristic manner, or one or more of the operations may be run or omitted in a different order, or one or more other operations may be added.

[0157] According to various embodiments of the present disclosure, the electronic device can provide information about the stylus pen to the user and thus prevent the performance of the battery state or the wireless communication link state of the stylus pen from being degraded.

[0158] According to various embodiments of the present disclosure, the electronic device may display information about a stylus pen connected to the electronic device among a plurality of stylus pens and thus prevent a user from performing an abnormal operation by using a pen different from the connected stylus pen.

[0159] Furthermore, various effects directly or indirectly understood by the present disclosure can be provided.

[0160] While the present disclosure has been shown and described with reference to various embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the spirit and scope of the present disclosure as defined by the appended claims and their equivalents.

Claims

1. Electronic equipment, including: case; a display, the display being viewable through a portion of the housing; A wireless communication circuit is disposed in the housing; at least one processor disposed within the housing and operably connected to the display and the wireless communication circuitry; as well as a memory disposed within the housing and operably connected to the at least one processor, The memory stores instructions, which, when executed, configure the at least one processor to: A wireless communication link based on a short-range wireless communication protocol is established with a stylus pen inserted into the inner space of the housing through the wireless communication circuit, receiving a signal including information about a battery status of the stylus from the stylus through the wireless communication circuit and the short-range wireless communication protocol, detecting that the stylus pen is separated from the housing, In response to detecting the separation, displaying, via the display, a first graphical user interface indicating the battery status based at least on the information regarding the battery status, detecting that the stylus pen is inserted into the interior space of the housing, and In response to detecting the insertion, display of the first graphical user interface is released via the display.

2. The electronic device according to claim 1, wherein: The short-range wireless communication protocol is based on the Bluetooth standard or the Bluetooth low energy standard defined by the Bluetooth Special Interest Group.

3. The electronic device according to claim 1, wherein: The instructions, when executed, further configure the at least one processor to: The first graphic user interface is controlled based at least on at least a portion of the information about the battery status so that the first graphic user interface indicates the battery status at each level through the display.

4. The electronic device according to claim 1, wherein: The instructions, when executed, further configure the at least one processor to: measuring a status of the wireless communication link; and A second graphical user interface indicating the measured status of the wireless communication link is displayed through the display.

5. The electronic device according to claim 4, wherein: The instructions, when executed, further configure the at least one processor to: detecting that the wireless communication link is released; providing, by the display, an effect that the second graphical user interface disappears; reestablishing the wireless communication link via the wireless communication circuit; providing, through the display, a flashing effect of the first graphical user interface while reestablishing the wireless communication link; as well as When the wireless communication link is reestablished, the second graphical user interface is provided via the display.

6. The electronic device according to claim 4, wherein: The instructions, when executed, further configure the at least one processor to: In response to detecting the insertion, display of the second graphical user interface is released by the display.

7. The electronic device according to claim 1, wherein: The instructions, when executed, further configure the at least one processor to: receiving, from the stylus pen through the wireless communication circuit and the short-range wireless communication protocol, a signal including information about the color of the stylus pen; and Based at least on the information about the color, a third graphical user interface having the color of the stylus is displayed through the display.

8. The electronic device according to claim 7, wherein: The instructions, when executed, further configure the at least one processor to: The third graphical user interface is displayed in a state where the screen of the display is turned off.

9. A method operated by an electronic device, comprising: Establishing a wireless communication link based on a short-range wireless communication protocol with a stylus pen inserted into the internal space of the electronic device; receiving a signal including information about a battery status of the stylus from the stylus via the short-range wireless communication protocol; detecting that the stylus pen is separated from a housing of the electronic device; In response to detecting the separation, displaying a first graphical user interface indicating the battery status based at least on the information regarding the battery status; Detecting that the stylus pen is inserted into the internal space of the electronic device; as well as In response to detecting the insertion, display of the first graphical user interface is released.

10. The method according to claim 9, wherein: Displaying the first graphical user interface includes: The first graphic user interface is controlled based at least on at least a portion of the information about the battery status so that the first graphic user interface indicates the battery status at each level.

11. The method according to claim 9, further comprising: measuring a status of the wireless communication link; as well as A second graphical user interface is displayed indicating the measured status of the wireless communication link.

12. The method according to claim 11, further comprising: detecting that the wireless communication link is released; Providing an effect that the second graphical user interface disappears; reestablishing the wireless communication link; While reestablishing the wireless communication link, providing a flashing effect of the first graphical user interface; and When the wireless communication link is reestablished, the second graphical user interface is displayed.

13. The method according to claim 11, further comprising: In response to detecting the insertion, display of the second graphical user interface is released.

14. The method according to claim 9, further comprising: receiving a signal including information about a color of the stylus from the stylus via the short-range wireless communication protocol; as well as A third graphical user interface having the color of the stylus is displayed based at least on the information about the color.

15. The method according to claim 14, wherein: Displaying the third graphical user interface includes: The third graphical user interface is displayed when the screen of the display of the electronic device is turned off.

Citation Information

Patent Citations

  • Digital pen, touch system, and method for providing information thereof

    CN107430460A

  • Electronic device with touch pen

    US20140292730A1