Operation control method based on tagging of external device, and electronic device therefor
Patent Information
- Application Number
- PCT/KR2024/010229
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-10
- Filing Date
- 2024-07-17
- Publication Date
- 2025-02-27
Smart Images

Figure KR2024010229_27022025_PF_FP_ABST
Abstract
Description
Motion control method based on tagging of external device and electronic device thereof
[0001] Various embodiments of the present invention disclose a method for controlling motion based on tagging of an external device and an electronic device thereof.
[0002] With the advancement of digital technology, various types of electronic devices, such as mobile terminals, personal digital assistants (PDAs), electronic notebooks, smartphones, tablet PCs (personal computers), and wearable devices, are becoming widely used. These electronic devices are constantly undergoing improvements in their hardware and / or software to support and enhance their functionality.
[0003] For example, an electronic device may use near field communication (NFC) technology to detect an external object (e.g., a wireless charger) tagged (or attached) to the back or side of the electronic device. The electronic device may only detect the external object and not control any actions associated with the external object.
[0004] In one embodiment, a method and device for detecting that an external device (e.g., an accessory) is tagged (or attached) to the electronic device through the one or more Hall sensors may be disclosed, and executing an application associated with the external device.
[0005] An electronic device according to an embodiment of the present disclosure may include a plurality of magnetic bodies (201, 203, 205, 207) arranged at a specified distance from each other, one or more Hall sensors (213) arranged adjacent to the plurality of magnetic bodies, a memory (130) storing instructions, and a processor (120). The instructions, when executed by the processor, may cause the electronic device to detect a change in a magnetic field of at least one of the plurality of magnetic bodies using the one or more Hall sensors, and to control an operation of the electronic device based on the detected change in the magnetic field.
[0006] According to an embodiment of the present disclosure, an operating method of an electronic device (101) including a plurality of magnetic bodies (201, 203, 205, 207) arranged at a specified distance from each other, one or more Hall sensors (213) arranged adjacent to the plurality of magnetic bodies, and a short-range wireless communication module may include an operation of detecting tagging of an external device using the short-range wireless communication module, an operation of detecting a change in a magnetic field of at least one of the plurality of magnetic bodies (201, 203, 205, 207) using the one or more Hall sensors, and an operation of controlling an operation of the electronic device based on the detected change in the magnetic field.
[0007] According to one embodiment, by including a plurality of magnets or one or more Hall sensors on the rear of the electronic device, the orientation (or position) of an external device (e.g., an accessory) tagged (or attached) to the electronic device can be identified.
[0008] In one embodiment, different applications can be run on the electronic device, or specific functions of an application can be executed directly, based on the direction (or location) of an external device tagged to the electronic device.
[0009] According to one embodiment, by arranging a plurality of magnetic bodies in a regular polygon, space for an antenna included in an electronic device can be secured, and the design structure of the electronic device can be efficiently implemented.
[0010] According to one embodiment, by enabling an external device to be attached to an electronic device in various directions according to the purpose of the external device, the user's convenience can be improved by simply attaching the external device to a specific location on the electronic device to immediately launch a desired application.
[0011] FIG. 1 is a block diagram of an electronic device within a network environment according to one embodiment.
[0012] FIG. 2A is a diagram illustrating an example of an electronic device in which a magnet and a Hall sensor are attached according to one embodiment.
[0013] FIG. 2b is an exploded perspective view illustrating an example of an electronic device with a magnet and a Hall sensor attached thereto according to one embodiment.
[0014] FIG. 3 is a drawing illustrating an example of arranging a Hall sensor corresponding to a magnetic material arranged in an electronic device according to one embodiment.
[0015] FIG. 4A is a drawing illustrating an example of a magnetic body and a Hall sensor attached to an external device according to one embodiment.
[0016] FIG. 4b is an exploded perspective view illustrating an example of an external device with a magnet and a Hall sensor attached thereto according to one embodiment.
[0017] FIG. 5 is a diagram illustrating an example of controlling an operation when an external device is tagged to an electronic device according to one embodiment.
[0018] FIG. 6 is a flowchart illustrating an operation method between an electronic device and an external device according to one embodiment.
[0019] Figure 7 is a flowchart illustrating an operating method of an electronic device according to one embodiment.
[0020] FIG. 8A is a diagram illustrating an example of identifying an attached position of an external device in an electronic device according to one embodiment.
[0021] FIG. 8b is a diagram illustrating an example of identifying an attachment location of an external device in an electronic device according to one embodiment.
[0022] FIG. 9A is a diagram illustrating an example of executing an application when an external device is tagged in a vertical direction in an electronic device according to one embodiment.
[0023] FIG. 9b is a diagram illustrating an example of executing an application when an external device is tagged in a horizontal direction in an electronic device according to one embodiment.
[0024] FIG. 9c is a diagram illustrating another example of executing an application when an external device is tagged in a vertical direction in an electronic device according to one embodiment.
[0025] FIG. 9d is a diagram illustrating another example of executing an application when an external device is tagged in a horizontal direction in an electronic device according to an embodiment.
[0026] FIG. 10A is a diagram illustrating an example of executing an application when an external device is tagged in a vertical direction in an electronic device according to one embodiment.
[0027] FIG. 10b is a diagram illustrating an example of executing an application when an external device is tagged in a horizontal direction in an electronic device according to one embodiment.
[0028] FIG. 10c is a diagram illustrating an example of executing an application differently depending on the attached position of an external device in an electronic device according to one embodiment.
[0029] FIG. 11 is a flowchart illustrating a method for executing an application according to an attachment location of an external device in an electronic device according to one embodiment.
[0030] FIGS. 12A and 12B are diagrams illustrating an example of an application execution according to an attachment location of an external device in an electronic device according to one embodiment.
[0031] FIGS. 13a and 13b are diagrams illustrating another example of executing an application according to an attachment location of an external device in an electronic device according to one embodiment.
[0032] FIG. 14 is a flowchart illustrating a method for executing an application according to a movement trajectory of an external device in an electronic device according to one embodiment.
[0033] FIGS. 15A and 15B are diagrams illustrating an example of an application execution according to a movement trajectory of an external device in an electronic device according to one embodiment.
[0034] Figure 16 is a flowchart illustrating an operation method of an external device according to one embodiment.
[0035] FIGS. 17A to 17C are diagrams illustrating an example of identifying an attachment location of an external device in an electronic device according to one embodiment.
[0036] FIG. 17d is a diagram illustrating an example of detecting a movement trajectory of an external device in an electronic device according to one embodiment.
[0037] FIGS. 18A and 18B are diagrams illustrating examples of types of external devices tagged to an electronic device according to one embodiment.
[0038] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to various embodiments.
[0039] Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of an electronic device (104) or a server (108) via a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).
[0040] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
[0041] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.
[0042] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).
[0043] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
[0044] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0045] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0046] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector, and a control circuit for controlling the device. According to one embodiment, the display module (160) may include a touch sensor for detecting a touch, or a pressure sensor for measuring the strength of a force generated by the touch.
[0047] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).
[0048] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0049] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
[0050] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0051] The haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0052] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
[0053] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
[0054] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0055] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, a corresponding communication module may communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as NFC (near field communication), RFID (radio frequency identification), BLE (bluetooth low energy), UWB (ultra-wideband), Bluetooth, WiFi (wireless fidelity) direct, or IrDA (infrared data association)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules may be integrated into a single component (e.g., a single chip) or implemented as a plurality of separate components (e.g., multiple chips).The wireless communication module (192) can verify or authenticate an electronic device (101) within a communication network, such as a first network (198) or a second network (199), using subscriber information (e.g., international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).
[0056] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.
[0057] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas, for example, by the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).
[0058] According to various embodiments, the antenna module (197) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.
[0059] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).
[0060] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
[0061] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.
[0062] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "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" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another component (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.
[0063] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0064] Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
[0065] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as a computer program product. The computer program product may be traded between sellers and buyers as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)) or may be provided through an application store (e.g., Play Store). TM ) or directly between two user devices (e.g., smart phones), online distribution (e.g., downloading or uploading). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0066] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
[0067] FIG. 2A is a diagram illustrating an example of an electronic device in which a magnet and a Hall sensor are attached according to one embodiment.
[0068] Referring to FIG. 2A, an electronic device according to an embodiment (e.g., an electronic device (101) of FIG. 1) may include a plurality of magnetic bodies (or magnet modules) (201, 203, 205, 207) or at least one Hall sensor (213) (e.g., a sensor module (176) of FIG. 1) on the rear surface. Although the drawing illustrates an example in which the plurality of magnetic bodies (201, 203, 205, 207) and at least one Hall sensor (213) are directly included on the rear surface of the electronic device, the plurality of magnetic bodies (201, 203, 205, 207) and at least one Hall sensor (213) may also be arranged in an external case that can be attached (or mounted) to the electronic device (101). That is, an external case including a plurality of magnetic bodies (201, 203, 205, 207) and at least one Hall sensor (213) may be disposed in an electronic device. The present invention can be performed by mounting it on a device (101).
[0069] In a first embodiment (210), the electronic device (101) may include four magnetic bodies (201, 203, 205, 207) and two Hall sensors (211, 213). The four magnetic bodies (201, 203, 205, 207) may include a first magnetic body (201), a second magnetic body (203), a third magnetic body (205), and a fourth magnetic body (207). The four magnetic bodies (201, 203, 205, 207) may be arranged to have a distance apart from each other. For example, the four magnetic bodies (201, 203, 205, 207) may be arranged in different directions around the wireless charging coil (219). The four magnetic bodies (201, 203, 205, 207) can be formed in a regular polygonal arrangement structure at the same distance from the center of the wireless charging coil (219). When the four magnetic bodies (201, 203, 205, 207) are arranged in a regular polygonal arrangement, there is more empty space compared to a circular arrangement, making it easier to secure space for the antenna and design it.
[0070] The Hall sensor (or magnetic detection sensor) is for detecting a change in the magnetic field of at least one of the four magnetic bodies (201, 203, 205, 207), and may be arranged to correspond to (or be adjacent to) the four magnetic bodies (201, 203, 205, 207). For example, the first Hall sensor (211) may be arranged at a position corresponding to the first magnetic body (201), and the second Hall sensor (213) may be arranged at a position corresponding to the fourth magnetic body (207). Alternatively, unlike the drawing, the two Hall sensors (211, 213) may be arranged adjacent to (or be adjacent to) the second magnetic body (203) or the third magnetic body (205). The drawing is only to help understanding of the invention, and the invention is not limited by the drawing.
[0071] In a second embodiment (220), the electronic device (101) may include four magnetic bodies (201, 203, 205, 207) and four Hall sensors (211, 213, 215, 217). The first magnetic body (201), the second magnetic body (203), the third magnetic body (205), and the fourth magnetic body (207) may be arranged to have a distance apart from each other. For example, the first magnetic body (201), the second magnetic body (203), the third magnetic body (205), and the fourth magnetic body (207) may be arranged in different directions around the wireless charging coil (219). Four Hall sensors (211, 213, 215, 217) may be arranged to correspond to four magnetic bodies (201, 203, 205, 207). For example, the first Hall sensor (211) may be arranged at a position corresponding to the first magnetic body (201), the second Hall sensor (213) may be arranged at a position corresponding to the fourth magnetic body (207), the third Hall sensor (215) may be arranged at a position corresponding to the second magnetic body (203), and the fourth Hall sensor (217) may be arranged at a position corresponding to the third magnetic body (205).
[0072] In a third embodiment (230), the electronic device (101) may include four magnetic bodies (201, 203, 205, 207). The first magnetic body (201), the second magnetic body (203), the third magnetic body (205), and the fourth magnetic body (207) may be arranged to have a distance apart from each other. For example, the first magnetic body (201), the second magnetic body (203), the third magnetic body (205), and the fourth magnetic body (207) may be arranged in different directions around the wireless charging coil (219). The electronic device (101) may not include a Hall sensor. In this case, an external device (e.g., an external device (400) of FIG. 4A) tagged (or contacted, mounted, or attached) to the electronic device (101) may include a Hall sensor.
[0073] In a fourth embodiment (240), the electronic device (101) may include three magnetic bodies (201, 203, 207) and at least one Hall sensor (e.g., a second Hall sensor (213)). The first magnetic body (201), the second magnetic body (203), and the fourth magnetic body (207) may be arranged to have a distance apart from each other. For example, the first magnetic body (201), the second magnetic body (203), and the fourth magnetic body (207) may be arranged in different directions around the wireless charging coil (219). The second Hall sensor (213) may be arranged to correspond to (or be adjacent to) the fourth magnetic body (207). Alternatively, unlike the drawing, the electronic device (101) may only include the first Hall sensor (211) corresponding to the first magnetic body (201). The drawings are provided only to aid understanding of the invention and the invention is not limited by the drawings.
[0074] In one embodiment, each of the plurality of magnetic bodies (201, 203, 205, 207) may be formed in a structure in which the outer S magnetic body radially wraps around the inner N magnetic body so that the S magnetism is directed toward the direction of the inner N magnetic body. For example, each of the plurality of magnetic bodies (201, 203, 205, 207) may be arranged in a Halbach array. However, the plurality of magnetic bodies (201, 203, 205, 207) may have a magnetic body arrangement other than the Halbach array.
[0075] According to one embodiment, the electronic device (101) may further include a wireless charging coil (219) and an NFC (near field communication) antenna (209). Although the drawing illustrates that the NFC antenna (209) (or NFC communication module) is arranged in a circular shape surrounding the wireless charging coil (219), the NFC antenna (209) may also be formed in a rectangular shape adjacent to a side (or corner) of the electronic device (101). The arrangement position and formed size of the wireless charging coil (219) or NFC antenna (209) included in the electronic device (101) may be different from those illustrated. The drawings are provided only to aid understanding of the invention, and the invention is not limited by the drawings.
[0076] FIG. 2b is an exploded perspective view illustrating an example of an electronic device with a magnet and a Hall sensor attached thereto according to one embodiment.
[0077] Referring to FIG. 2B, the electronic device (101) has substantially the same components as the electronic device (101) described in the previous drawing, and the same reference numerals are given to the same components, and a detailed description thereof may be omitted. The electronic device (101) may include a display module (260) (e.g., the display module (160) of FIG. 1) under the front glass (251), and a battery and a main board (270) under the display module (260). The electronic device (101) may include a module case (280) and a wireless charging coil (219) corresponding to a plurality of magnetic bodies (201 to 207) inside the frame (253). The electronic device (101) may include (or arrange) a plurality of magnetic bodies (201 to 207) in the rear cover (255).
[0078] FIG. 3 is a drawing illustrating an example of arranging a Hall sensor corresponding to a magnetic material arranged in an electronic device according to one embodiment.
[0079] Referring to FIG. 3, an electronic device according to an embodiment (e.g., the electronic device (101) of FIG. 1) may include a plurality of magnetic bodies (or magnet modules) (201, 203, 205, 207) and a plurality of Hall sensors (211, 213, 215, 217) on the rear surface. In FIG. 3, when the electronic device (101) is implemented as the second embodiment (220) of FIG. 2a, an example of the arrangement of the plurality of Hall sensors (211, 213, 215, 217) may be described. However, the same or similar arrangement may also be applied when the electronic device (101) is implemented as the first embodiment (210) of FIG. 2a or the fourth embodiment (240).
[0080] In the first embodiment (310), a plurality of Hall sensors (211, 213, 215, 217) may be arranged adjacent to a plurality of magnetic bodies (201, 203, 205, 207). The Hall sensors are for detecting changes in the magnetic field of the magnetic bodies, and the plurality of Hall sensors (211, 213, 215, 217) may be arranged to correspond to the plurality of magnetic bodies (201, 203, 205, 207). When a plurality of Hall sensors (211, 213, 215, 217) are arranged adjacent to a plurality of magnetic bodies (201, 203, 205, 207), a separate shielding member may not be formed between the plurality of Hall sensors (211, 213, 215, 217) and the plurality of magnetic bodies (201, 203, 205, 207).
[0081] In a second embodiment (320), the plurality of Hall sensors (211, 213, 215, 217) may be arranged in a direction perpendicular to the plurality of magnetic bodies (201, 203, 205, 207). For example, referring to the first attachment cross-section (340), when the plurality of magnetic bodies (201, 203, 205, 207) are arranged on the rear cover of the electronic device (101) (e.g., the rear cover (255) of FIG. 2B), the plurality of Hall sensors (211, 213, 215, 217) may be arranged in a direction below the plurality of magnetic bodies (201, 203, 205, 207) in the front direction of the electronic device (101). In this case, the plurality of Hall sensors (211, 213, 215, 217) may further include a shielding member between the plurality of magnetic bodies (201, 203, 205, 207).
[0082] Looking at the first attachment cross-section (340), a first Hall sensor (211) may be placed under the first magnetic body (201), and a third Hall sensor (215) may be placed under the second magnetic body (203). When the first magnetic body (401) of the external device (400) is attached to the first magnetic body (201) of the electronic device (101), the first Hall sensor (211) can detect a change in the magnetic field strength or wavelength of the first magnetic body (201). When the second magnetic body (403) of the external device (400) is attached to the second magnetic body (203) of the electronic device (101), the third Hall sensor (215) can detect a change in the magnetic field strength or wavelength of the second magnetic body (203).
[0083] In a third embodiment (330), the plurality of Hall sensors (211, 213, 215, 217) may be arranged (or included) within the plurality of magnetic bodies (201, 203, 205, 207). For example, referring to the second attachment cross-section (350), the plurality of Hall sensors (211, 213, 215, 217) may be arranged within (e.g., in the center) the plurality of magnetic bodies (201, 203, 205, 207). In this case, the plurality of Hall sensors (211, 213, 215, 217) may further include a shielding member between the plurality of magnetic bodies (201, 203, 205, 207).
[0084] Looking at the second attachment cross-section (350), a first Hall sensor (211) may be placed under the first magnetic body (201), and a third Hall sensor (215) may be placed under the second magnetic body (203). When the first magnetic body (401) of the external device (400) is attached to the first magnetic body (201) of the electronic device (101), the first Hall sensor (211) can detect a change in the magnetic field strength or wavelength of the first magnetic body (201). When the second magnetic body (403) of the external device (400) is attached to the second magnetic body (203) of the electronic device (101), the third Hall sensor (215) can detect a change in the magnetic field strength or wavelength of the second magnetic body (203).
[0085] FIG. 4A is a drawing illustrating an example of a magnetic body and a Hall sensor attached to an external device according to one embodiment.
[0086] Referring to FIG. 4A, an external device (400) according to an embodiment may be a type of accessory that can be attached to an electronic device (e.g., the electronic device (101) of FIG. 1). According to an embodiment, the external device (400) may include at least one of a stand including a wireless charging pad, a car cradle, a tripod mount, a lighting device, a photography filter, or an electronic pen. The external device (400) may include a plurality of magnetic bodies (or magnet modules) (401, 403, 405, 407) or at least one Hall sensor (411, 413) (e.g., the sensor module (176) of FIG. 1). In order to distinguish the magnetic body included in the external device (400) from the magnetic body included in the electronic device (101), the magnetic body included in the external device (400) may be hereinafter described as an 'external magnetic body'. However, the present invention is not limited by the description. The external device (400) can store device information of the external device (400), including the name (or identifier) or type of the external device (400), in the memory.
[0087] In a first embodiment (410), the external device (400) may include at least one of four external magnetic bodies (401, 403, 405, 407), an NFC tag (409) (or an NFC antenna, an NFC communication module), and a wireless charging coil (419). The four external magnetic bodies (401, 403, 405, 407) may include a first external magnetic body (401), a second external magnetic body (403), a third external magnetic body (405), and a fourth external magnetic body (407). The four external magnetic bodies (401, 403, 405, 407) may be arranged to have a distance apart from each other. For example, the four external magnetic bodies (401, 403, 405, 407) may be arranged in different directions around the wireless charging coil (419). The four external magnetic bodies (401, 403, 405, 407) can be formed in a regular polygonal arrangement structure at the same distance from the center of the wireless charging coil (419). When the four external magnetic bodies (401, 403, 405, 407) are arranged in a regular polygon, there is more empty space compared to a circular arrangement, so securing space for the antenna and design can be made easy. The external device (400) can detect that it is tagged (or in contact with, attached to) the electronic device (101) through the NFC tag (409). The external device (400) can transmit (or share) power to the electronic device (101) through the wireless charging coil (419).
[0088] In a second embodiment (420), the external device (400) may include at least one of four external magnetic bodies (401, 403, 405, 407), two external Hall sensors (411, 413), an NFC tag (409), and a wireless charging coil (419). The four external magnetic bodies (401, 403, 405, 407) may include a first external magnetic body (401), a second external magnetic body (403), a third external magnetic body (405), and a fourth external magnetic body (407). The four external magnetic bodies (401, 403, 405, 407) may be arranged to have a distance apart from each other. For example, four external magnets (401, 403, 405, 407) can be arranged in different directions around the wireless charging coil (419).
[0089] The two external Hall sensors (411, 413) may be arranged to correspond to (or be adjacent to) the four external magnetic bodies (401, 403, 405, 407). For example, the first external Hall sensor (411) may be arranged at a position corresponding to the first external magnetic body (401), and the second Hall sensor (413) may be arranged at a position corresponding to the fourth external magnetic body (407). Alternatively, unlike the drawing, the two external Hall sensors (411, 413) may be arranged adjacent to (or be adjacent to) the second external magnetic body (403) or the third external magnetic body (405). The drawing is only to help understanding of the invention, and the invention is not limited by the drawing.
[0090] In a third embodiment (430), the external device (400) may include at least one of four external magnetic bodies (401, 403, 405, 407), four external Hall sensors (411, 413, 415, 417), an NFC tag (409), and a wireless charging coil (419). The four external magnetic bodies (401, 403, 405, 407) may include a first external magnetic body (401), a second external magnetic body (403), a third external magnetic body (405), and a fourth external magnetic body (407). The four external magnetic bodies (401, 403, 405, 407) may be arranged to have a distance apart from each other. For example, four external magnets (401, 403, 405, 407) may be arranged in different directions around the wireless charging coil (419). Four external Hall sensors (411, 413, 415, 417) may be arranged to correspond to the four external magnets (401, 403, 405, 407). For example, the first external Hall sensor (411) may be arranged at a position corresponding to the first external magnet (401), the second external Hall sensor (413) may be arranged at a position corresponding to the fourth external magnet (407), the third external Hall sensor (415) may be arranged at a position corresponding to the second external magnet (403), and the fourth external Hall sensor (417) may be arranged at a position corresponding to the third external magnet (405).
[0091] In a fourth embodiment (440), the external device (400) may include at least one of four external magnetic bodies (401, 403, 405, 407) and an NFC tag (409). The four external magnetic bodies (401, 403, 405, 407) may include a first external magnetic body (401), a second external magnetic body (403), a third external magnetic body (405), and a fourth external magnetic body (407). The four external magnetic bodies (401, 403, 405, 407) may be arranged to have a distance apart from each other.
[0092] In one embodiment, each of the plurality of external magnetic bodies (401, 403, 405, 407) may be formed in a structure in which the inner S magnetic body radially wraps around the outer N magnetic body so that the S magnetism is oriented in the direction of the outer N magnetic body. For example, each of the plurality of external magnetic bodies (401, 403, 405, 407) may be arranged in a Halbach arrangement. However, the plurality of external magnetic bodies (401, 403, 405, 407) may have a magnetic body arrangement other than the Halbach arrangement.
[0093] FIG. 4b is an exploded perspective view illustrating an example of an external device with a magnet and a Hall sensor attached thereto according to one embodiment.
[0094] Referring to FIG. 4B, the external device (400) has substantially the same components as the external device (400) described in the previous drawing, and the same reference numerals are given to them, and a detailed description thereof may be omitted. The external device (400) may include a cover (451), a module case (460), a PCB board (470), and a case (453). The module case (460) may include (or arrange) a plurality of external magnetic materials (401 to 407) and a wireless charging coil (419). Depending on the embodiment, the module case (460) may further include an external Hall sensor (e.g., a first external Hall sensor (211) or an NFC antenna (209).
[0095] FIG. 5 is a diagram illustrating an example of controlling an operation when an external device is tagged to an electronic device according to one embodiment.
[0096] Referring to FIG. 5, an electronic device according to an embodiment (e.g., the electronic device (101) of FIG. 1) can detect that an external device (e.g., the external device (400) of FIG. 4A) is tagged (or contacted, attached). To this end, the electronic device (101) can be implemented as one of the first embodiment (210) to the fourth embodiment (240) of FIG. 3A. The external device (400) can be implemented as at least one of the first embodiment (410) to the fourth embodiment (440) of FIG. 4A.
[0097] As in the first attachment example (510), when the external device (400) is vertically attached (or tagged) to the electronic device (101), the electronic device (101) may provide a first user interface (550). The electronic device (101) may detect a change in a magnetic field of at least one of a plurality of magnetic bodies (e.g., the first magnetic body (201) to the fourth magnetic body (207) of FIG. 3A) using at least one Hall sensor (e.g., the first Hall sensor (211) to the fourth Hall sensor (217) of FIG. 3A). The electronic device (101) may identify (or determine) that the external device (400) is vertically attached based on the detected change in the magnetic field. For example, when the external device (400) is a wireless charging pad holder, the first user interface (550) may include a notification (or pop-up) for executing a wireless charging (or low-power charging) function (or mode). The electronic device (101) can perform wireless charging based on user input through the first user interface (550).
[0098] As in the second attachment example (530), when the external device (400) is attached horizontally to the electronic device (101), the electronic device (101) can provide a second user interface (570). The electronic device (101) can detect a change in the magnetic field of at least one of a plurality of magnetic bodies (e.g., the first magnetic body (201) to the fourth magnetic body (207) of FIG. 3A) using at least one Hall sensor (e.g., the first Hall sensor (211) to the fourth Hall sensor (217) of FIG. 3A). The electronic device (101) can identify (or determine) that the external device (400) is attached horizontally based on the detected change in the magnetic field. For example, when the external device (400) is a wireless charging pad holder, the second user interface (550) can include an application list related to a video streaming service or an execution screen of an application. The electronic device (101) can provide a video streaming service while wirelessly charging based on user input through the second user interface (570).
[0099] An electronic device according to an embodiment of the present disclosure may include a plurality of magnetic bodies (201, 203, 205, 207) arranged at a specified distance from each other, one or more Hall sensors (211, 213) arranged adjacent to the plurality of magnetic bodies, a memory (130) storing instructions, and a processor (120). The instructions, when executed by the processor, may cause the electronic device to detect a change in a magnetic field of at least one of the plurality of magnetic bodies using the one or more Hall sensors, and to control an operation of the electronic device based on the detected change in the magnetic field.
[0100] The one or more Hall sensors may be included in numbers less than, more than, or corresponding to the number of the plurality of magnetic bodies.
[0101] The electronic device further includes a display module (260), and the one or more Hall sensors are disposed under the display module, and the plurality of magnetic bodies are disposed to overlap vertically under the one or more Hall sensors disposed under the display module, or the one or more Hall sensors disposed under the display module may be formed so as to be disposed inside the plurality of magnetic bodies.
[0102] Each of the above plurality of magnetic materials can be configured to be arranged in a Halbach array.
[0103] The electronic device further includes a wireless charging coil and a short-range wireless communication module arranged to surround the wireless charging coil, and the plurality of magnetic bodies may be configured to be arranged around the short-range wireless communication module.
[0104] The above instructions, when executed by the processor, may cause the electronic device to detect tagging of an external device using the short-range wireless communication module and to identify the external device.
[0105] The electronic device further includes a display module (260), and the instructions, when executed by the processor, can cause the electronic device to display information of the identified external device on the display module.
[0106] The instructions, when executed by the processor, may cause the electronic device to detect a change in a magnetic field through the one or more Hall sensors when tagging of an external device is detected, identify an attached position of the external device based on the detected change in the magnetic field, and execute an application based on the identified attached position of the external device.
[0107] The above instructions, when executed by the processor, may cause the electronic device to connect to the external device via low-power Bluetooth and transmit a command associated with the executed application to the external device via the low-power Bluetooth.
[0108] The instructions, when executed by the processor, may cause the electronic device to detect a change in a magnetic field through the one or more Hall sensors when tagging of an external device is detected, identify an attachment location of the external device based on the detected change in the magnetic field, execute a first function of an application when the identified attachment location is a first location, and execute a second function of the application when the identified attachment location is a second location, or execute a first application when the identified attachment location is the first location, and execute a second application when the identified attachment location is the second location.
[0109] The above instructions, when executed by the processor, may cause the electronic device to detect a change in a magnetic field through the one or more Hall sensors when tagging of an external device is detected, detect a movement trajectory of the external device based on the detected change in the magnetic field, and execute a specified function of a specified application or a displayed application based on the detected movement trajectory.
[0110] The above instructions, when executed by the processor, may cause the electronic device to collect a usage history of the electronic device while it is attached to the external device, and to execute an application differently depending on the attached position of the external device by further considering the collected usage history of the electronic device.
[0111] The instructions, when executed by the processor, may cause the electronic device to execute a specific application based on at least one of a type of an external device tagged to the electronic device, an attached position of the external device, an attached location of the external device, a movement trajectory of the external device, or a usage history of the electronic device.
[0112] FIG. 6 is a flowchart (600) illustrating an operation method between an electronic device and an external device according to one embodiment.
[0113] Referring to FIG. 6, in operation 601, an external device (e.g., the external device (400) of FIG. 4A) according to an embodiment may be tagged (or attached, brought into contact with, or mounted) to an electronic device (e.g., the electronic device (101) of FIG. 1) according to an embodiment. According to an embodiment, the external device (400) may include at least one of a stand including a wireless charging pad, a car cradle, a tripod mount, a lighting device, a photographic filter, or an electronic pen. Such an external device (400) may include a plurality of external magnetic bodies (or magnet modules) (e.g., the plurality of magnetic bodies (401, 403, 405, 407) of FIG. 4A) and an NFC tag (e.g., the NFC tag (409) of FIG. 4A). Alternatively, depending on the embodiment, the external device (400) may further include a wireless charging coil (e.g., wireless charging coil (419) of FIG. 4A) or at least one Hall sensor (e.g., at least one Hall sensor (411, 413) of FIG. 4A) (e.g., sensor module (176) of FIG. 1).
[0114] In operation 603, the electronic device (101) can detect an external device (400) and identify the external device (400). The electronic device (101) may include a plurality of magnetic bodies (e.g., a plurality of magnetic bodies (201 to 207) of FIG. 2A), one or more Hall sensors (e.g., a plurality of Hall sensors (211 to 217) of FIG. 2A), a wireless charging coil (e.g., a wireless charging coil (219) of FIG. 2A), and an NFC antenna (e.g., an NFC antenna (209) of FIG. 2A). The electronic device (101) may detect tagging of an external device (400) using the NFC antenna (e.g., an NFC antenna (209) of FIG. 2A). The electronic device (101) may detect tagging (or attachment) of the external device (400) when the NFC tag (409) of the external device (400) corresponds to the NFC antenna (209). The electronic device (101) may read tag information (or tag value) of the external device (400) to identify the external device (400). Tag information of the device (400) may be stored in advance in the external device (400). The tag information may include device information of the external device (400). The device information of the external device (400) may include the name (or identifier) or type of the external device (400).
[0115] In operation 605, the electronic device (101) may display information about the external device (400). The electronic device (101) may guide the user on a display (e.g., the display module (160) of FIG. 1) that the external device (400) is at least one of a wireless charging stand, a car cradle, a tripod mount, a lighting device, a photography filter, or an electronic pen. The electronic device (101) may display information about the external device (400) while the external device (400) is attached.
[0116] In operation 607, the electronic device (101) can detect the magnetic fields of the plurality of magnetic bodies (201 to 207) through the Hall sensor (213). The electronic device (101) can detect the magnetic fields of the plurality of magnetic bodies (201 to 207) through the Hall sensor (213) while the external device (400) is attached. The electronic device (101) can detect the magnetic fields of the plurality of magnetic bodies (201 to 207) by including two Hall sensors (211, 213) or by using four Hall sensors (211 to 217). Hereinafter, the electronic device (101) can be described as including four Hall sensors (211 to 217). However, the present invention is not limited by the description. The plurality of magnetic bodies (201 to 207) included in the electronic device (101) may be formed in a structure in which the outer S magnetic body radially wraps around the inner N magnetic body so that the S magnetism is directed toward the direction of the magnetic body. The plurality of external magnetic bodies (401 to 407) included in the external device (400) may be formed in a structure in which the inner S magnetic body radially wraps around the outer N magnetic body so that the S magnetism is directed toward the direction of the magnetic body. The four Hall sensors (211 to 217) may detect changes in the intensity and wavelength of the magnetic field when the plurality of magnetic bodies (201 to 207) are tagged (or attached) to the plurality of external magnetic bodies (401 to 407) included in the external device (400).
[0117] In operation 609, the electronic device (101) can identify the attached position of the external device (400). The attached position (or attachment direction, tagging mode) may indicate whether the external device (400) is attached to the electronic device (101) in a horizontal direction (or horizontal direction) or a vertical direction (or vertical direction). For example, when the electronic device (101) includes two Hall sensors (211, 213), at least two magnetic bodies (401, 407) of the external device (400) may have a magnetic field strength stronger than that of the remaining two magnetic bodies (403, 405). This may be for identifying the attached position of the external device (400) with the two Hall sensors (211, 213). Alternatively, when the electronic device (101) includes four Hall sensors (211 to 217), the electronic device (101) can identify the attached position of the external device (400) based on the magnetic field changes caused by the plurality of magnetic bodies (201 to 207). The electronic device (101) can identify the attached position of the external device (400) while the external device (400) is attached.
[0118] In operation 611, the electronic device (101) can execute an application according to the attached position of the external device (400). For example, if the external device (400) is a wireless charging pad holder, and the electronic device (101) is attached to the electronic device (101) in a vertical direction, the electronic device (101) can execute an application (or pop-up, notification) related to wireless charging, and if the external device (400) is attached to the electronic device (101) in a horizontal direction, the electronic device (101) can execute an application related to a video streaming service. For example, if the external device (400) is a car cradle, and the electronic device (101) is attached to the electronic device (101) in a vertical direction, the electronic device (101) can execute a map application, and if the external device (400) is attached to the electronic device (101) in a horizontal direction, the electronic device (101) can execute an application related to a music streaming service. The electronic device (101) can execute an application according to the attached position of the external device (400) while the external device (400) is attached.
[0119] According to one embodiment, the electronic device (101) collects the usage history of the electronic device (101) after attaching the external device (400), and further considers the collected usage history of the electronic device (101) to execute applications differently according to the attached position of the external device (400). Each user may have a different pattern of using the electronic device (101) after attaching the external device (400). The electronic device (101) may execute an application that provides a desired function to the user so that the user can immediately perform the desired function without additional input from the user based on the usage history of the electronic device (101). The electronic device (101) may execute various applications or execute specific functions of the applications without additional user input depending on what the external device (400) is or the attached position of the external device (400).
[0120] In operation 613, the electronic device (101) may transmit a command (or instruction) associated with the executed application to the external device (400). To perform operation 613, the electronic device (101) may be connected to the external device (400) via low-power Bluetooth prior to operation 613. For example, the command may be to start wireless charging or turn on a light source. However, when the external device (400) is tagged to the electronic device (101) or when wireless charging is automatically started or the light source is turned on after a certain period of time, operation 613 may be omitted. The electronic device (101) may transmit a command (or instruction) associated with the executed application to the external device (400) while the external device (400) is attached.
[0121] FIG. 7 is a flowchart (700) illustrating an operating method of an electronic device according to one embodiment.
[0122] Referring to FIG. 7, in operation 701, a processor (e.g., the processor (120) of FIG. 1) of an electronic device (e.g., the electronic device (101) of FIG. 1) according to an embodiment may detect and identify an external device (e.g., the external device (400) of FIG. 4A). According to an embodiment, the external device (400) may include at least one of a stand including a wireless charging pad, a car cradle, a tripod mount, a lighting device, a photography filter, or an electronic pen. The external device (400) may include a plurality of external magnetic bodies (or magnet modules) (e.g., a plurality of magnetic bodies (401, 403, 405, 407) of FIG. 4A) and an NFC tag (e.g., the NFC tag (409) of FIG. 4A). Alternatively, depending on the embodiment, the external device (400) may further include a wireless charging coil (e.g., wireless charging coil (419) of FIG. 4A) or at least one Hall sensor (e.g., at least one Hall sensor (411, 413) of FIG. 4A) (e.g., sensor module (176) of FIG. 1).
[0123] The electronic device (101) may include a plurality of magnetic bodies (e.g., a plurality of magnetic bodies (201 to 207) of FIG. 2A), at least one Hall sensor (e.g., a plurality of Hall sensors (211 to 217) of FIG. 2A), a wireless charging coil (e.g., a wireless charging coil (219) of FIG. 2A), and an NFC antenna (e.g., an NFC antenna (209) of FIG. 2A). The processor (120) may detect tagging of the external device (400) using the NFC antenna (e.g., the NFC antenna (209) of FIG. 2A). The processor (120) may detect tagging of the external device (400) when the NFC tag (409) of the external device (400) corresponds to the NFC antenna (209). The processor (120) may read tag information (or tag value) of the external device (400) to identify the external device (400). The tag of the external device (400) The information may be pre-stored in the external device (400). The tag information may include device information of the external device (400). The device information of the external device (400) may include the name (or identifier) or type of the external device (400).
[0124] In operation 703, the processor (120) may display information about the external device (400). The processor (120) may guide the user on a display (e.g., the display module (160) of FIG. 1) that the external device (400) is at least one of a wireless charging stand, a car cradle, a tripod mount, a lighting device, a photographic filter, or an electronic pen. The processor (120) may display information about the external device (400) while the external device (400) is attached.
[0125] In operation 705, the processor (120) can detect the magnetic fields of the plurality of magnetic bodies (201 to 207) through the Hall sensor (213). The electronic device (101) can detect the magnetic fields of the plurality of magnetic bodies (201 to 207) by including two Hall sensors (211, 213) or by using four Hall sensors (211 to 217). The plurality of magnetic bodies (201 to 207) included in the electronic device (101) can be formed in a structure in which an outer S magnetic body radially wraps an inner N magnetic body so that the S magnetism is directed toward the direction of the outer device (400). The plurality of outer magnetic bodies (401 to 407) included in the external device (400) can be formed in a structure in which an inner S magnetic body radially wraps an outer N magnetic body so that the S magnetism is directed toward the direction of the outer device (400). Each Hall sensor can detect changes in the intensity and wavelength of a magnetic field when multiple magnetic bodies (201 to 207) are tagged to multiple external magnetic bodies (401 to 407) included in an external device (400). Each Hall sensor can transmit the detected change in the magnetic field to the processor (120). Alternatively, the processor (120) can read the detected change in the magnetic field from each Hall sensor. The processor (120) can detect the magnetic fields of the multiple magnetic bodies (201 to 207) through the Hall sensors (213) while the external device (400) is attached.
[0126] In operation 707, the processor (120) may identify the attached position of the external device (400). The attached position (or attachment direction, tagging mode) may indicate whether the external device (400) is attached to the electronic device (101) in a horizontal direction (or horizontal direction) or a vertical direction (or vertical direction). For example, if the electronic device (101) includes two Hall sensors (211, 213), at least two magnetic bodies (401, 407) of the external device (400) may have a magnetic field strength stronger than that of the remaining two magnetic bodies (403, 405). This may be for identifying the attached position of the external device (400) with the two Hall sensors (211, 213). An example of identifying the attached position of an external device (400) using two Hall sensors (211, 213) will be described in detail with reference to the drawings below. Alternatively, when the electronic device (101) includes four Hall sensors (211 to 217), the processor (120) can identify the attached position of the external device (400) based on changes in magnetic fields caused by a plurality of magnetic bodies (201 to 207). The processor (120) can identify the attached position of the external device (400) while the external device (400) is attached.
[0127] In operation 709, the processor (120) may execute an application according to the attached position of the external device (400). For example, if the external device (400) is a wireless charging pad holder, and the processor (120) is attached to the electronic device (101) in a vertical direction, the processor may execute an application (or a pop-up, a notification) related to wireless charging, and if the external device (400) is attached to the electronic device (101) in a horizontal direction, the processor may execute an application related to a video streaming service. For example, if the external device (400) is a car cradle, and the processor (120) is attached to the electronic device (101) in a vertical direction, the processor (120) may execute a map application, and if the external device (400) is attached to the electronic device (101) in a horizontal direction, the processor may execute an application related to a music streaming service. The processor (120) can execute an application according to the attached position of the external device (400) while the external device (400) is attached.
[0128] According to one embodiment, the processor (120) collects the usage history of the electronic device (101) after attaching the external device (400), and may execute applications differently according to the attached position of the external device (400) by further considering the collected usage history of the electronic device (101). Each user may have a different pattern of using the electronic device (101) after attaching the external device (400). The processor (120) may execute an application that provides a desired function to the user so that the user can immediately perform the desired function without additional input from the user based on the usage history of the electronic device (101).
[0129] FIG. 8A is a diagram illustrating an example of identifying an attached position of an external device in an electronic device according to one embodiment.
[0130] Referring to FIG. 8A, when an electronic device (e.g., the electronic device (101) of FIG. 1) according to an embodiment includes four magnetic bodies (e.g., the four magnetic bodies (201 to 207) of FIG. 2A) and two Hall sensors (e.g., the first Hall sensor (211) and the second Hall sensor (213) of FIG. 2A) (e.g., the first embodiment (210) of FIG. 2A), at least two magnetic bodies (e.g., the first external magnetic body (401) and the fourth external magnetic body (407) of FIG. 4A) (shaded) of an external device (e.g., the external device (400) of FIG. 4A)) may be formed to have a magnetic field intensity stronger than the remaining two magnetic bodies (e.g., the second external magnetic body (403) and the third external magnetic body (405) of FIG. 4A).
[0131] A first attachment example (810) may be one in which an external device (400) is attached to an electronic device (101) in a first direction (e.g., front). A processor of the electronic device (101) (e.g., processor (120) of FIG. 1) may detect a first magnetic field (e.g., a strong magnetic field) of a first external magnetic body (401) through a first Hall sensor (211) and may detect a first magnetic field of a fourth external magnetic body (407) through a second Hall sensor (213). Since a strong (or high) magnetic field is detected by both the first Hall sensor (211) and the second Hall sensor (213), the processor (120) may determine (or identify) that the external device (400) is attached in the first direction.
[0132] A second attachment example (820) may be one in which the external device (400) is attached to the electronic device (101) in a second direction. The processor (120) may detect a second magnetic field (e.g., a weak magnetic field) of the second external magnetic body (403) through the first Hall sensor (211) and may detect a first magnetic field of the first external magnetic body (401) through the second Hall sensor (213). Since the magnetic field detected by the first Hall sensor (211) is lower than the magnetic field detected by the second Hall sensor (213), the processor (120) may determine (or identify) that the external device (400) is attached in the second direction.
[0133] A third attachment example (830) may be one in which the external device (400) is attached to the electronic device (101) in a third direction. The processor (120) may detect a first magnetic field of the fourth external magnetic body (407) through the first Hall sensor (211) and detect a second magnetic field of the third external magnetic body (405) through the second Hall sensor (213). Since the magnetic field detected by the first Hall sensor (211) is higher than the magnetic field detected by the second Hall sensor (213), the processor (120) may determine (or identify) that the external device (400) is attached in the third direction.
[0134] The fourth attachment example (840) may be that the external device (400) is attached to the electronic device (101) in the fourth direction. The processor (120) may detect the second magnetic field of the third external magnetic body (405) through the first Hall sensor (211) and detect the second magnetic field of the second external magnetic body (403) through the second Hall sensor (213). Since a weak (or low) magnetic field is detected from both the first Hall sensor (211) and the second Hall sensor (213), the processor (120) may determine (or identify) that the external device (400) is attached in the fourth direction.
[0135] Accordingly, the processor (120) can identify the attached position (or attachment direction) of the external device (400) based on the magnetic field change detected by the first hall sensor (211) and the second hall sensor (213).
[0136] FIG. 8b is a diagram illustrating an example of identifying an attachment location of an external device in an electronic device according to one embodiment.
[0137] Referring to FIG. 8B, the electronic device (101) may further include two Hall sensors (e.g., the third Hall sensor (215) and the fourth Hall sensor (217) of FIG. 2A), for a total of four Hall sensors (e.g., the second embodiment (220) of FIG. 2A). In this case, the four external magnetic bodies (401 to 407) included in the external device (400) may be formed with the same magnetic field strength.
[0138] A fifth attachment example (850) may be that the external device (400) is attached to the electronic device (101) at a first attachment location (e.g., the center of the external device (400)). The processor (120) may detect a magnetic field of the first external magnetic body (401) through the first Hall sensor (211), a magnetic field of the fourth external magnetic body (407) through the second Hall sensor (213), a magnetic field of the second external magnetic body (403) through the third Hall sensor (215), and a magnetic field of the third external magnetic body (405) through the fourth Hall sensor (217). Since magnetic fields are detected from all of the first Hall sensors (211) to the fourth Hall sensors (217), the processor (120) may determine (or identify) that the external device (400) is attached at the first attachment location.
[0139] The sixth attachment example (860) may be that the external device (400) is attached to the electronic device (101) at a second attachment location (e.g., left attachment of the external device (400)). The processor (120) may detect the magnetic field of the second external magnetic body (403) through the second Hall sensor (213) and may detect the magnetic field of the third external magnetic body (405) through the fourth Hall sensor (217). Since the magnetic fields are detected by the second Hall sensor (213) and the fourth Hall sensor (217), the processor (120) may determine (or identify) that the external device (400) is attached at the second attachment location.
[0140] The seventh attachment example (870) may be that the external device (400) is attached to the electronic device (101) at a third attachment location (e.g., right attachment of the external device (400)). The processor (120) may detect the magnetic field of the third external magnetic body (405) through the first Hall sensor (211) and may detect the magnetic field of the second external magnetic body (403) through the third Hall sensor (215). Since the magnetic fields are detected by the first Hall sensor (211) and the third Hall sensor (215), the processor (120) may determine (or identify) that the external device (400) is attached at the third attachment location.
[0141] The eighth attachment example (880) may be that the external device (400) is attached to the electronic device (101) at a fourth attachment location (e.g., attached to the right side of the external device (400) downward from the electronic device (101). The processor (120) may detect the magnetic field of the third external magnetic body (405) through the third Hall sensor (215) and may detect the magnetic field of the second external magnetic body (403) through the fourth Hall sensor (217). Since the magnetic fields are detected by the third Hall sensor (215) and the fourth Hall sensor (217), the processor (120) may determine (or identify) that the external device (400) is attached at the fourth attachment location.
[0142] Accordingly, the processor (120) can identify the attachment location (or attachment location) of the external device (400) based on the magnetic field change detected by at least one of the first hall sensor (211) to the fourth hall sensor (217).
[0143] FIG. 9A is a diagram illustrating an example of executing an application when an external device is tagged in a vertical direction in an electronic device according to one embodiment.
[0144] Referring to FIG. 9A, as in the first drawing example (910), when an electronic device according to an embodiment (e.g., the electronic device (101) of FIG. 1) includes four magnetic bodies (e.g., the four magnetic bodies (201 to 207) of FIG. 2A) and two Hall sensors (e.g., the first Hall sensor (211) and the second Hall sensor (213) of FIG. 2A) (e.g., the first embodiment (210) of FIG. 2A), at least two magnetic bodies (e.g., the first external magnetic body (401) and the fourth external magnetic body (407) of FIG. 4A) (shaded) of an external device (e.g., the external device (400) of FIG. 4A)) may have a magnetic field strength stronger than that of the remaining two magnetic bodies (e.g., the second external magnetic body (403) and the third external magnetic body (405) of FIG. 4A).
[0145] As in the first drawing example (910) and the first attachment example (920), the electronic device (101) can be tagged (or attached) vertically with the external device (400). The processor of the electronic device (101) (e.g., the processor (120) of FIG. 1) can detect a first magnetic field (e.g., a strong magnetic field) of the first external magnetic body (401) through the first Hall sensor (211) and can detect a first magnetic field of the fourth external magnetic body (407) through the second Hall sensor (213). Since a strong (or high) magnetic field is detected by both the first Hall sensor (211) and the second Hall sensor (213), the processor (120) determines that the external device (400) is attached vertically and can provide the first user interface (930). The first user interface (930) may include a guide for registering the wallet with the smart tag function when the external device (400) is a smart wallet.
[0146] FIG. 9b is a diagram illustrating an example of executing an application when an external device is tagged in a horizontal direction in an electronic device according to one embodiment.
[0147] Referring to FIG. 9b, as in the second drawing example (940), when the electronic device (101) includes four magnetic bodies (201 to 207), a first Hall sensor (211) and a second Hall sensor (213), at least two magnetic bodies (e.g., the first external magnetic body (401) and the fourth external magnetic body (407) of FIG. 4a) (shaded) of the external device (400) can have a magnetic field strength stronger than that of the remaining two magnetic bodies (e.g., the second external magnetic body (403) and the third external magnetic body (405) of FIG. 4a).
[0148] As in the second drawing example (940) and the second attachment example (950), the electronic device (101) can be tagged (or attached) horizontally with the external device (400). The processor (120) can detect a second magnetic field (e.g., a weak magnetic field) of the second external magnetic body (403) through the first Hall sensor (211) and can detect a first magnetic field of the first external magnetic body (401) through the second Hall sensor (213). Since the magnetic field detected by the first Hall sensor (211) is lower than the magnetic field detected by the second Hall sensor (213), the processor (120) determines that the external device (400) is attached horizontally and can provide a second user interface (960). The second user interface (960) can include an execution screen of the most recently executed application when the external device (400) is a wireless charging stand.
[0149] FIG. 9c is a diagram illustrating another example of executing an application when an external device is tagged in a vertical direction in an electronic device according to one embodiment.
[0150] Referring to FIG. 9c, as in the third attachment example (970), when the electronic device (101) includes four magnetic bodies (201 to 207), a first Hall sensor (211) and a second Hall sensor (213), at least two magnetic bodies (e.g., the first external magnetic body (401) and the fourth external magnetic body (407) of FIG. 4a) (shaded) of the external device (400) can be formed to have a stronger magnetic field intensity than the remaining two magnetic bodies (e.g., the second external magnetic body (403) and the third external magnetic body (405) of FIG. 4a).
[0151] As in the third attachment example (970), the electronic device (101) can be tagged (or attached) vertically with the external device (400). The processor (120) can detect the first magnetic field of the first external magnetic body (401) through the first Hall sensor (211) and the first magnetic field of the fourth external magnetic body (407) through the second Hall sensor (213). Since a strong (or high) magnetic field is detected from both the first Hall sensor (211) and the second Hall sensor (213), the processor (120) determines that the external device (400) is attached vertically and can provide the third user interface (980). The third user interface (980) can include an execution screen of a route finding (or map) application when the external device (400) is a car cradle.
[0152] FIG. 9d is a diagram illustrating another example of executing an application when an external device is tagged in a horizontal direction in an electronic device according to an embodiment.
[0153] Referring to FIG. 9d, when the electronic device (101) includes four magnetic bodies (201 to 207), a first Hall sensor (211), and a second Hall sensor (213), as in the fourth attachment example (990), at least two magnetic bodies (e.g., the first external magnetic body (401) and the fourth external magnetic body (407) of FIG. 4a) (shaded) of the external device (400) can have a magnetic field strength stronger than that of the remaining two magnetic bodies (e.g., the second external magnetic body (403) and the third external magnetic body (405) of FIG. 4a).
[0154] As in the fourth attachment example (990), the electronic device (101) can be tagged (or attached) horizontally with the external device (400). The processor (120) can detect the second magnetic field of the second external magnetic body (403) through the first Hall sensor (211) and can detect the first magnetic field of the first external magnetic body (401) through the second Hall sensor (213). Since the magnetic field detected by the first Hall sensor (211) is lower than the magnetic field detected by the second Hall sensor (213), the processor (120) determines that the external device (400) is attached horizontally and can provide the fourth user interface (995). The fourth user interface (995) can include an execution screen of a music application when the external device (400) is a car cradle.
[0155] According to one embodiment, the processor (120) may collect the usage history of the electronic device (101) after attaching the external device (400), and may execute an application other than the music application by further considering the collected usage history of the electronic device (101).
[0156] FIG. 10A is a diagram illustrating an example of executing an application when an external device is tagged in a vertical direction in an electronic device according to one embodiment.
[0157] Referring to FIG. 10A, as in the first attachment example (1010), when an electronic device according to an embodiment (e.g., the electronic device (101) of FIG. 1) includes four magnetic bodies (e.g., the four magnetic bodies (201 to 207) of FIG. 2A) and two Hall sensors (e.g., the first Hall sensor (211) and the second Hall sensor (213) of FIG. 2A) (e.g., the first embodiment (210) of FIG. 2A), at least two magnetic bodies (e.g., the first external magnetic body (401) and the fourth external magnetic body (407) of FIG. 4A) (shaded) of an external device (e.g., the external device (400) of FIG. 4A)) can form a magnetic field having a stronger intensity than the remaining two magnetic bodies (e.g., the second external magnetic body (403) and the third external magnetic body (405) of FIG. 4A).
[0158] As in the first attachment example (1010), the electronic device (101) can be tagged (or attached) vertically with the external device (400). The processor of the electronic device (101) (e.g., the processor (120) of FIG. 1) can detect a first magnetic field (e.g., a strong magnetic field) of the first external magnetic body (401) through the first Hall sensor (211) and can detect a first magnetic field of the fourth external magnetic body (407) through the second Hall sensor (213). Since a strong (or high) magnetic field is detected by both the first Hall sensor (211) and the second Hall sensor (213), the processor (120) determines that the external device (400) is attached vertically and can provide a first user interface (1020). The first user interface (1020) may include an execution screen of a camera application for taking pictures in selfie mode when the external device (400) is a tripod mount. The processor (120) may activate the camera positioned on the front of the electronic device (101) and execute the camera application to provide the first user interface (1020).
[0159] FIG. 10b is a diagram illustrating an example of executing an application when an external device is tagged in a horizontal direction in an electronic device according to one embodiment.
[0160] Referring to FIG. 10b, when the electronic device (101) includes four magnetic bodies (201 to 207), a first Hall sensor (211), and a second Hall sensor (213), as in the second attachment example (1030), at least two magnetic bodies (e.g., the first external magnetic body (401) and the fourth external magnetic body (407) of FIG. 4a) (shaded) of the external device (400) can have a magnetic field strength stronger than that of the remaining two magnetic bodies (e.g., the second external magnetic body (403) and the third external magnetic body (405) of FIG. 4a).
[0161] As in the second attachment example (1030), the electronic device (101) can be tagged (or attached) horizontally with the external device (400). The processor (120) can detect the second magnetic field of the second external magnetic body (403) through the first Hall sensor (211) and can detect the first magnetic field of the first external magnetic body (401) through the second Hall sensor (213). Since the magnetic field detected by the first Hall sensor (211) is lower than the magnetic field detected by the second Hall sensor (213), the processor (120) determines that the external device (400) is attached horizontally and can provide the second user interface (1040). The second user interface (1040) can include an execution screen of a camera application for taking pictures in a specified mode (e.g., horizontal shooting mode) (or recent shooting mode) when the external device (400) is a tripod mount. The processor (120) can activate a camera positioned on the rear of the electronic device (101) and execute a camera application to provide a second user interface (1040). The processor (120) can also provide a pop-up for taking pictures in a horizontal shooting mode using the second user interface (1040).
[0162] FIG. 10c is a diagram illustrating an example of executing an application differently depending on the attached position of an external device in an electronic device according to one embodiment.
[0163] Referring to FIG. 10c, when the electronic device (101) includes four magnetic bodies (201 to 207), a first Hall sensor (211) and a second Hall sensor (213), such as in the third attachment example (1050) or the fourth attachment example (1060), at least two magnetic bodies (e.g., the first external magnetic body (401) and the fourth external magnetic body (407) of FIG. 4a) (shaded) of the external device (400) can be formed to have a stronger magnetic field intensity than the remaining two magnetic bodies (e.g., the second external magnetic body (403) and the third external magnetic body (405) of FIG. 4a).
[0164] As in the third attachment example (1050), the electronic device (101) can be tagged (or attached) vertically with the external device (400). The processor (120) can detect the first magnetic field of the first external magnetic body (401) through the first Hall sensor (211) and can detect the first magnetic field of the fourth external magnetic body (407) through the second Hall sensor (213). Since a strong (or high) magnetic field is detected from both the first Hall sensor (211) and the second Hall sensor (213), the processor (120) can determine that the external device (400) is attached vertically. If the external device (400) is a wireless charging stand and is attached vertically, the processor (120) can execute the first designated application.
[0165] As in the fourth attachment example (1060), the electronic device (101) can be tagged (or attached) horizontally with the external device (400). The processor (120) can detect the second magnetic field of the second external magnetic body (403) through the first Hall sensor (211) and can detect the first magnetic field of the first external magnetic body (401) through the second Hall sensor (213). Since the magnetic field detected by the first Hall sensor (211) is lower than the magnetic field detected by the second Hall sensor (213), the processor (120) can determine that the external device (400) is attached horizontally. If the external device (400) is a wireless charging stand and is attached horizontally, the processor (120) can execute the second designated application.
[0166] FIG. 11 is a flowchart (1100) illustrating a method for executing an application according to an attachment location of an external device in an electronic device according to one embodiment.
[0167] Referring to FIG. 11, in operation 1101, a processor (e.g., processor (120) of FIG. 1) of an electronic device (e.g., electronic device (101) of FIG. 1) according to an embodiment may detect and identify an external device (e.g., external device (400) of FIG. 4A). According to an embodiment, the external device (400) may include at least one of a stand including a wireless charging pad, a car cradle, a tripod mount, a lighting device, a photography filter, or an electronic pen. The external device (400) may include a plurality of external magnetic bodies (or magnet modules) (e.g., a plurality of magnetic bodies (401, 403, 405, 407) of FIG. 4A) and an NFC tag (e.g., NFC tag (409) of FIG. 4A). Alternatively, depending on the embodiment, the external device (400) may further include a wireless charging coil (e.g., wireless charging coil (419) of FIG. 4A) or at least one Hall sensor (e.g., at least one Hall sensor (411, 413) of FIG. 4A) (e.g., sensor module (176) of FIG. 1).
[0168] The electronic device (101) may include a plurality of magnetic bodies (e.g., a plurality of magnetic bodies (201 to 207) of FIG. 2A), at least one Hall sensor (e.g., a plurality of Hall sensors (211 to 217) of FIG. 2A), a wireless charging coil (e.g., a wireless charging coil (219) of FIG. 2A), and an NFC antenna (e.g., an NFC antenna (209) of FIG. 2A). The processor (120) may detect tagging of the external device (400) using the NFC antenna (e.g., the NFC antenna (209) of FIG. 2A). The processor (120) may detect tagging of the external device (400) when the NFC tag (409) of the external device (400) corresponds to the NFC antenna (209). The processor (120) may read tag information (or tag value) of the external device (400) to identify the external device (400). The tag of the external device (400) The information may be pre-stored in the external device (400). The tag information may include device information of the external device (400). The device information of the external device (400) may include the name (or identifier) or type of the external device (400).
[0169] In operation 1103, the processor (120) may display information of an external device (400). The processor (120) may guide the user on a display (e.g., the display module (160) of FIG. 1) that the external device (400) is at least one of a wireless charging-enabled stand, a car cradle, a tripod mount, a lighting device, a photography filter, or an electronic pen.
[0170] In operation 1105, the processor (120) can detect the magnetic fields of the plurality of magnetic bodies (201 to 207) through the Hall sensor (213). The electronic device (101) can detect the magnetic fields of the plurality of magnetic bodies (201 to 207) by including two Hall sensors (211, 213) or by using four Hall sensors (211 to 217). The plurality of magnetic bodies (201 to 207) included in the electronic device (101) can be formed in a structure in which an outer S magnetic body radially wraps an inner N magnetic body so that the S magnetism is directed toward the direction of the outer device (400). The plurality of outer magnetic bodies (401 to 407) included in the external device (400) can be formed in a structure in which an inner S magnetic body radially wraps an outer N magnetic body so that the S magnetism is directed toward the direction of the outer device (400). Each Hall sensor can detect changes in the intensity and wavelength of a magnetic field when multiple magnetic bodies (201 to 207) are tagged to multiple external magnetic bodies (401 to 407) included in an external device (400). Each Hall sensor can transmit the detected change in the magnetic field to the processor (120). Alternatively, the processor (120) can read the change in the magnetic field detected by each Hall sensor.
[0171] In operation 1107, the processor (120) may connect an external device (400) to a low-power Bluetooth. When the external device (400) is detected, the processor (120) may connect the external device (400) to a low-power Bluetooth through a low-power Bluetooth communication module (e.g., the communication module (190) of FIG. 1). Although the drawing illustrates that operation 1107 is performed after operation 1105, operations 1105 and 1107 may be performed in parallel (e.g., simultaneously), or operation 1107 may be performed before operation 1105. This is merely an example, and the present invention is not limited by the example.
[0172] In operation 1109, the processor (120) may execute an application based on the change in the detected magnetic field. The processor (120) may identify the attached position of the external device (400) or the attachment location of the external device (400) based on the change in the detected magnetic field. The attached position (or attachment direction, tagging mode) may indicate whether the external device (400) is tagged horizontally (or horizontally) or vertically (or vertically) to the electronic device (101). Alternatively, the attachment location may indicate whether the external device (400) is tagged centrally, to the right, to the left, or downwardly to the electronic device (101).
[0173] According to one embodiment, when the electronic device (101) includes two Hall sensors (211, 213), at least two magnetic bodies (401, 407) of the external device (400) may form a magnetic field having a stronger intensity than the remaining two magnetic bodies (403, 405). Alternatively, when the electronic device (101) includes four Hall sensors (211 to 217), the processor (120) may identify the attachment location of the external device (400) based on the magnetic field changes caused by the plurality of magnetic bodies (201 to 207).
[0174] For example, if the external device (400) is a lighting device, and the processor (120) is attached to the center of the electronic device (101), it can execute a camera application in a designated mode, and if the external device (400) is attached to the right side of the electronic device (101), it can execute a camera application in a selfie mode.
[0175] In operation 1111, the processor (120) may transmit a command (or instruction) associated with the executed application to the external device (400). The processor (120) may transmit a command to the external device (400) to start wireless charging or turn on a light source via low-power Bluetooth. The external device (400) may receive the command from the electronic device (101) to start wireless charging or turn on the light source.
[0176] FIGS. 12A and 12B are diagrams illustrating an example of an application execution according to an attachment location of an external device in an electronic device according to one embodiment.
[0177] Referring to FIG. 12a, as in the first drawing example (1210), an electronic device according to an embodiment (e.g., the electronic device (101) of FIG. 1) may include four magnetic bodies (e.g., four magnetic bodies (201 to 207) of FIG. 2a) and four Hall sensors (e.g., four Hall sensors (211 to 213) of FIG. 2a) (e.g., the second embodiment (220) of FIG. 2a).
[0178] The first drawing example (1210) and the first attachment example (1220) may be such that the external device (400) is attached to the electronic device (101) at a first attachment location (e.g., the center of the external device (400)). The processor of the electronic device (101) (e.g., the processor (120) of FIG. 1) may detect the magnetic field of the first external magnetic body (401) through the first Hall sensor (211), the magnetic field of the fourth external magnetic body (407) through the second Hall sensor (213), the magnetic field of the second external magnetic body (403) through the third Hall sensor (215), and the magnetic field of the third external magnetic body (405) through the fourth Hall sensor (217). Since a magnetic field is detected from all of the first Hall sensors (211) to the fourth Hall sensors (217), the processor (120) can determine (or identify) that the external device (400) is attached to the first attachment location. When the external device (400), which is a lighting device, is attached to the first attachment location, the processor (120) can provide a first user interface (1230). The first user interface (1230) can include an execution screen of a camera application that activates the rear camera of the electronic device (101) (e.g., a preview image of the rear camera). The processor (120) can display the first user interface (1230) on a display (e.g., the display module (160) of FIG. 1) while transmitting a command to turn on the light source to the external device (400). The external device (400) can turn on the light source based on the command received from the electronic device (101).
[0179] Referring to FIG. 12b, as in the second drawing example (1250) and the second attachment example (1260), the electronic device (101) may include four magnetic bodies (201 to 207) and four Hall sensors (211 to 213) (e.g., the second embodiment (220) of FIG. 2a).
[0180] The second drawing example (1250) and the second attachment example (1260) may be an example in which the external device (400) is attached to the electronic device (101) at a second attachment location (e.g., left attachment of the external device (400)). The processor (120) may detect the magnetic field of the second external magnetic body (403) through the second Hall sensor (213) and may detect the magnetic field of the third external magnetic body (405) through the fourth Hall sensor (217). Since the magnetic fields are detected by the second Hall sensor (213) and the fourth Hall sensor (217), the processor (120) may determine (or identify) that the external device (400) is attached at the second attachment location. When the external device (400), which is a lighting device, is attached at the second attachment location, the processor (120) may provide a second user interface (1270). The second user interface (1270) may include an execution screen (e.g., a preview image of the front camera) of a camera application that activates the front camera of the electronic device (101) (e.g., selfie mode). The processor (120) may display the second user interface (1270) on the display module (160) while transmitting a command to turn on the light source to the external device (400). The external device (400) may turn on the light source based on the command received from the electronic device (101).
[0181] FIGS. 13a and 13b are diagrams illustrating another example of executing an application according to an attachment location of an external device in an electronic device according to one embodiment.
[0182] Referring to FIG. 13a, as in the first drawing example (1310), an electronic device according to an embodiment (e.g., electronic device (101) of FIG. 1) may include four magnetic bodies (e.g., four magnetic bodies (201 to 207) of FIG. 2a) and four Hall sensors (e.g., four Hall sensors (211 to 213) of FIG. 2a) (e.g., second embodiment (220) of FIG. 2a).
[0183] The first drawing example (1310) and the first attachment example (1320) may be such that the external device (400) is attached to the electronic device (101) at a first attachment location (e.g., the center of the external device (400)). The processor of the electronic device (101) (e.g., the processor (120) of FIG. 1) may detect the magnetic field of the first external magnetic body (401) through the first Hall sensor (211), the magnetic field of the fourth external magnetic body (407) through the second Hall sensor (213), the magnetic field of the second external magnetic body (403) through the third Hall sensor (215), and the magnetic field of the third external magnetic body (405) through the fourth Hall sensor (217). Since a magnetic field is detected from all of the first hall sensors (211) to the fourth hall sensors (217), the processor (120) can determine (or identify) that the external device (400) is attached to the first attachment location. When the external device (400), which is a lighting device, is attached to the first attachment location, the processor (120) can provide a first user interface (1330). The first user interface (1330) can include an execution screen of a camera application that activates the rear camera of the electronic device (101) (e.g., a preview image of the rear camera). The processor (120) can display the first user interface (1330) on a display (e.g., the display module (160) of FIG. 1) while transmitting a command to turn on the light source to the external device (400). The external device (400) can turn on the light source based on the command received from the electronic device (101).
[0184] Referring to FIG. 13b, as in the second drawing example (1350) and the second attachment example (1360), the electronic device (101) may include four magnetic bodies (201 to 207) and four Hall sensors (211 to 213) (e.g., the second embodiment (220) of FIG. 2a).
[0185] The second drawing example (1350) and the second attachment example (1360) may be an example in which the external device (400) is attached to the electronic device (101) at a second attachment location (e.g., left attachment of the external device (400)). The processor (120) may detect the magnetic field of the second external magnetic body (403) through the second Hall sensor (213) and may detect the magnetic field of the third external magnetic body (405) through the fourth Hall sensor (217). Since the magnetic fields are detected by the second Hall sensor (213) and the fourth Hall sensor (217), the processor (120) may determine (or identify) that the external device (400) is attached at the second attachment location. When the external device (400), which is a lighting device, is attached at the second attachment location, the processor (120) may provide a second user interface (1370). The third user interface (1370) may include an execution screen (e.g., a preview image of the front camera) of a camera application that activates the front camera of the electronic device (101) (e.g., selfie mode). The processor (120) may display the second user interface (1370) on the display module (160) while transmitting a command to turn on the light source to the external device (400). The external device (400) may turn on the light source based on the command received from the electronic device (101).
[0186] FIG. 14 is a flowchart (1400) illustrating a method for executing an application according to a movement trajectory of an external device in an electronic device according to one embodiment.
[0187] Referring to FIG. 14, in operation 1401, a processor (e.g., the processor (120) of FIG. 1) of an electronic device (e.g., the electronic device (101) of FIG. 1) according to an embodiment may detect and identify an external device (e.g., the external device (400) of FIG. 4A). According to an embodiment, the external device (400) may include at least one of a stand including a wireless charging pad, a car cradle, a tripod mount, a lighting device, a photography filter, or an electronic pen. The external device (400) may include a plurality of external magnetic bodies (or magnet modules) (e.g., the plurality of magnetic bodies (401, 403, 405, 407) of FIG. 4A) and an NFC tag (e.g., the NFC tag (409) of FIG. 4A). Alternatively, depending on the embodiment, the external device (400) may further include a wireless charging coil (e.g., wireless charging coil (419) of FIG. 4A) or at least one Hall sensor (e.g., at least one Hall sensor (411, 413) of FIG. 4A) (e.g., sensor module (176) of FIG. 1).
[0188] The electronic device (101) may include a plurality of magnetic bodies (e.g., a plurality of magnetic bodies (201 to 207) of FIG. 2A), at least one Hall sensor (e.g., a plurality of Hall sensors (211 to 217) of FIG. 2A), a wireless charging coil (e.g., a wireless charging coil (219) of FIG. 2A), and an NFC antenna (e.g., an NFC antenna (209) of FIG. 2A). The processor (120) may detect tagging of the external device (400) using the NFC antenna (e.g., the NFC antenna (209) of FIG. 2A). The processor (120) may detect tagging of the external device (400) when the NFC tag (409) of the external device (400) corresponds to the NFC antenna (209). The processor (120) may read tag information (or tag value) of the external device (400) to identify the external device (400). The tag of the external device (400) The information may be pre-stored in the external device (400). The tag information may include device information of the external device (400). The device information of the external device (400) may include the name (or identifier) or type of the external device (400).
[0189] In operation 1403, the processor (120) may display information of an external device (400). The processor (120) may guide the user on a display (e.g., the display module (160) of FIG. 1) that the external device (400) is at least one of a wireless charging-enabled stand, a car cradle, a tripod mount, a lighting device, a photographic filter, or an electronic pen.
[0190] In operation 1405, the processor (120) can detect the magnetic fields of the plurality of magnetic bodies (201 to 207) through the Hall sensor (213). The electronic device (101) can detect the magnetic fields of the plurality of magnetic bodies (201 to 207) by including two Hall sensors (211, 213) or by using four Hall sensors (211 to 217). The plurality of magnetic bodies (201 to 207) included in the electronic device (101) can be formed in a structure in which an outer S magnetic body radially wraps an inner N magnetic body so that the S magnetism is directed toward the direction of the outer device (400). The plurality of outer magnetic bodies (401 to 407) included in the external device (400) can be formed in a structure in which an inner S magnetic body radially wraps an outer N magnetic body so that the S magnetism is directed toward the direction of the outer device (400). Each Hall sensor can detect changes in the intensity and wavelength of a magnetic field when multiple magnetic bodies (201 to 207) are tagged to multiple external magnetic bodies (401 to 407) included in an external device (400). Each Hall sensor can transmit the detected change in the magnetic field to the processor (120). Alternatively, the processor (120) can read the change in the magnetic field detected by each Hall sensor.
[0191] In operation 1407, the processor (120) may detect a movement trajectory of the external device (101) based on a change in the detected magnetic field. For example, initially, a magnetic field may be detected from all four Hall sensors (211 to 217), but a magnetic field may be detected from only at least one of the second Hall sensor (213), the third Hall sensor (215), or the fourth Hall sensor (217).
[0192] In operation 1409, the processor (120) may execute an application based on the movement trajectory of the external device (101). For example, if the movement trajectory of the external device (101) is detected while executing a first function of the application (e.g., taking a landscape photo), the processor (120) may execute (or change) a second function of the application (e.g., selfie mode).
[0193] FIGS. 15A and 15B are drawings illustrating an example of an application execution according to a movement trajectory of an external device in an electronic device according to one embodiment.
[0194] Referring to FIG. 15A, as in the first attachment example (1510), an electronic device according to an embodiment (e.g., the electronic device (101) of FIG. 1) may include four magnetic bodies (e.g., the four magnetic bodies (201 to 207) of FIG. 2A) and four Hall sensors (e.g., the four Hall sensors (211 to 213) of FIG. 2A) (e.g., the second embodiment (220) of FIG. 2A). The first attachment example (1510) may be one in which an external device (e.g., the external device (400) of FIG. 4A) is attached to the electronic device (101) at a first attachment location (e.g., the center of the external device (400)). A processor of an electronic device (101) (e.g., processor (120) of FIG. 1) can detect a magnetic field of a first external magnetic body (401) through a first Hall sensor (211), a magnetic field of a fourth external magnetic body (407) through a second Hall sensor (213), a magnetic field of a second external magnetic body (403) through a third Hall sensor (215), and a magnetic field of a third external magnetic body (405) through a fourth Hall sensor (217). Since magnetic fields are detected by all of the first Hall sensors (211) to the fourth Hall sensors (217), the processor (120) can determine (or identify) that the external device (400) is attached to the first attachment location.
[0195] Thereafter, the processor (120) can detect a first movement trajectory (1520) based on the magnetic field changes detected by the four Hall sensors (211 to 213). In the first movement trajectory (1520), the processor (120) may not detect a magnetic field from the first Hall sensor (211), the third Hall sensor (215), and the fourth Hall sensor (1217), and may detect the magnetic field of the fourth external magnetic body (407) through the second Hall sensor (213). Alternatively, the processor (120) may detect a stronger magnetic field from the second Hall sensor (213) than from the first Hall sensor (211), the third Hall sensor (215), and the fourth Hall sensor (1217). In this case, the processor (120) can detect a movement trajectory change (1521) centered on the fourth external magnetic body (407) of the external device (400).
[0196] Subsequently, the processor (120) can detect a second movement trajectory (1530) based on the magnetic field changes detected by the four Hall sensors (211 to 213). In the second movement trajectory (1530), the processor (120) may not detect a magnetic field from the first Hall sensor (211), the third Hall sensor (215), and the fourth Hall sensor (1217), and may detect a magnetic field of the fourth external magnetic body (407) through the second Hall sensor (213). Alternatively, the processor (120) may detect a stronger magnetic field from the second Hall sensor (213) than from the first Hall sensor (211), the third Hall sensor (215), and the fourth Hall sensor (1217).
[0197] Moving on, the external device (400) can be attached to the electronic device (101) at a second attachment location (e.g., left attachment of the external device (400)), as in the second attachment example (1540). The processor (120) can detect the magnetic field of the second external magnetic body (403) through the second Hall sensor (213) and can detect the magnetic field of the third external magnetic body (405) through the fourth Hall sensor (217). Since the magnetic fields are detected by the second Hall sensor (213) and the fourth Hall sensor (217), the processor (120) can determine (or identify) that the external device (400) is attached at the second attachment location. When the external device (400), which is a lighting device, is attached at the second attachment location, the processor (120) can execute a second function of the application (e.g., selfie mode). The processor (120) may display a first execution screen of the camera application (e.g., a preview image of a rear camera) in the first attachment example (1510), and then display a second execution screen of the camera application (e.g., a preview image of a front camera) in the second attachment example (1540).
[0198] Referring to FIG. 15B, a third attachment example (1550) may be one in which the external device (400) is attached to the electronic device (101) at a first attachment location (e.g., the center of the external device (400)). The processor (120) may detect a magnetic field of the first external magnetic body (401) through the first Hall sensor (211), a magnetic field of the fourth external magnetic body (407) through the second Hall sensor (213), a magnetic field of the second external magnetic body (403) through the third Hall sensor (215), and a magnetic field of the third external magnetic body (405) through the fourth Hall sensor (217). Since magnetic fields are detected from all of the first Hall sensors (211) to the fourth Hall sensors (217), the processor (120) may determine (or identify) that the external device (400) is attached at the first attachment location.
[0199] Thereafter, the processor (120) can detect the movement trajectory of the external device (400) based on the magnetic field changes detected by the four Hall sensors (211 to 213). The processor (120) can detect that the external device (400) is attached to the electronic device (101) at the second attachment location (1570) based on the movement trajectory of the external device (400).
[0200] The processor (120) can execute the second function (1580) of the application when the external device (400) is attached to the second attachment location (1570). For example, the external device (400) can be a lighting device, a speaker, a microphone for photography, or a front recognition sensor. The processor (120) can display the first execution screen of the camera application (e.g., a preview image of the rear camera) in the third attachment example (1550), and then display the second execution screen of the camera application (e.g., a preview image of the front camera) in the fourth attachment example (1580).
[0201] Fig. 16 is a flowchart illustrating an operation method of an external device according to one embodiment.
[0202] Referring to FIG. 16, in operation 1601, a processor (e.g., a processor (120) of FIG. 1) of an external device (e.g., an external device (400) of FIG. 4A) according to an embodiment may detect and identify an electronic device (101). According to an embodiment, the external device (400) may include at least one of a stand including a wireless charging pad, a car cradle, a tripod mount, a lighting device, a photographic filter, or an electronic pen. The external device (400) may include a plurality of external magnetic bodies (or magnet modules) (e.g., a plurality of magnetic bodies (401, 403, 405, 407) of FIG. 4A), at least one Hall sensor (e.g., at least one Hall sensor (411, 413) of FIG. 4A) (e.g., a sensor module (176) of FIG. 1), and an NFC tag (e.g., an NFC tag (409) of FIG. 4A). In 16, the electronic device (101) may include a plurality of magnetic bodies (e.g., a plurality of magnetic bodies (201 to 207) of FIG. 2A), a wireless charging coil (e.g., a wireless charging coil (219) of FIG. 2A), and an NFC antenna (e.g., an NFC antenna (209) of FIG. 2A). That is, in the embodiment of FIG. 16, the electronic device (101) may not detect the tagging of the external device (400), and the external device (400) may detect the tagging of the electronic device (101). In this case, the electronic device (101) may not include a Hall sensor.
[0203] In operation 1603, the processor (120) can detect the magnetic fields of the plurality of magnetic bodies (401, 403, 405, 407) through at least one Hall sensor. The plurality of magnetic bodies (201 to 207) included in the electronic device (101) can be formed in a structure in which an outer S magnetic body radially wraps around an inner N magnetic body so that the S magnetism is directed toward the direction of the magnetic body. The plurality of outer magnetic bodies (401 to 407) included in the external device (400) can be formed in a structure in which an inner S magnetic body radially wraps around an outer N magnetic body so that the S magnetism is directed toward the direction of the magnetic body. Each Hall sensor can detect a change in the intensity and wavelength of the magnetic field when the plurality of magnetic bodies (201 to 207) are tagged to the plurality of outer magnetic bodies (401 to 407) included in the external device (400). Each Hall sensor can transmit the change in the detected magnetic field to the processor (120). Alternatively, the processor (120) can read the change in the magnetic field detected by each Hall sensor.
[0204] In operation 1605, the processor (120) may connect an external device (400) to a low-power Bluetooth. When an electronic device (101) is detected, the processor (120) may connect an external device (400) to a low-power Bluetooth through a low-power Bluetooth communication module (e.g., the communication module (190) of FIG. 1). Although the drawing illustrates that operation 1605 is performed after operation 1603, operations 1603 and 1605 may be performed in parallel (e.g., simultaneously), or operation 1605 may be performed before operation 1603. This is merely an example, and the present invention is not limited by the example.
[0205] In operation 1607, the processor (120) can transmit the change value of the detected magnetic field. In the embodiment of FIG. 16, the electronic device (101) does not detect the tagging of the external device (400), and since the external device (400) detects the tagging of the electronic device (101), the external device (400) can transmit the change value of the magnetic field to the electronic device (101). The processor (120) can transmit the change value of the detected magnetic field to the electronic device (101) via the low-power Bluetooth.
[0206] In operation 1609, the processor (120) may receive a command from the electronic device (101). The electronic device (101) may identify the attached position of the external device (400) or the attachment location of the external device (400) based on the change value of the magnetic field received from the external device (400). For example, if the external device (400) is a lighting device and the external device (400) is attached to the center of the electronic device (101), the electronic device (101) may execute a camera application in a designated mode, and if the external device (400) is attached to the right side of the electronic device (101), the camera application in a selfie mode may be executed. The electronic device (101) may transmit a command associated with the executed application to the external device (400).
[0207] In operation 1611, the processor (120) may perform an operation based on the received command. The processor (120) may start wireless charging or turn on a light source based on the command received from the electronic device (101).
[0208] FIGS. 17A to 17C are diagrams illustrating an example of identifying an attachment location of an external device in an electronic device according to one embodiment.
[0209] Referring to FIG. 17A, an electronic device according to an embodiment (e.g., electronic device (101) of FIG. 1) may include a plurality of magnetic bodies (e.g., a plurality of magnetic bodies (201 to 207) of FIG. 2A), at least one Hall sensor (e.g., a plurality of Hall sensors (211 to 217) of FIG. 2A), a wireless charging coil (e.g., a wireless charging coil (219) of FIG. 2A), and an NFC antenna (e.g., an NFC antenna (209) of FIG. 2A).
[0210] A processor (e.g., processor (120) of FIG. 1) of an electronic device (101) can detect tagging of an external device (400) using an NFC antenna (e.g., NFC antenna (209) of FIG. 2A) and detect magnetic fields of a plurality of magnetic bodies (201 to 207) using a plurality of Hall sensors (211 to 217). Based on changes in the magnetic fields of the plurality of magnetic bodies (201 to 207), the processor (120) can identify that the external device (400) is attached to the first attachment location (1710, 1720) which is the center of the electronic device (101). Additionally, the processor (120) can identify that the external device (400) is attached to a second attachment location (1730) (e.g., the right side of the electronic device (101)) which is a side of the electronic device (101) or a third attachment location (1740) (e.g., the right side of the electronic device (101)) which is another side of the electronic device (101) based on changes in the magnetic fields of the plurality of magnetic bodies (201 to 207).
[0211] Referring to FIG. 17B, the processor (120) can identify that an external device (400) is attached in a horizontal direction (1750) based on changes in the magnetic fields of a plurality of magnetic bodies (201 to 207). Alternatively, as in the first attachment example (1760), the processor (120) can identify that a plurality of different external devices (400A, 400B, 400C)) are attached.
[0212] Referring to FIG. 17c, as in the second attachment example (1770), the processor (120) can identify that a plurality of different external devices (400A, 400B) are attached. Alternatively, as in the third attachment example (1780), the processor (120) can identify that an external device (400) is attached in a diagonal direction (1780) of the electronic device (101) based on changes in the magnetic fields of the plurality of magnetic bodies (201 to 207).
[0213] FIG. 17d is a diagram illustrating an example of detecting a movement trajectory of an external device in an electronic device according to one embodiment.
[0214] Referring to FIG. 17d, as in the first movement trajectory example (1790), the processor (120) can detect the movement trajectory of a square-shaped external device (400) based on the magnetic field changes of the plurality of magnetic bodies (201 to 207). Alternatively, as in the second movement trajectory example (1595), the processor (120) can detect the movement trajectory of a rectangular-shaped external device (400) based on the magnetic field changes of the plurality of magnetic bodies (201 to 207).
[0215] FIGS. 18A and 18B are diagrams illustrating examples of types of external devices tagged to an electronic device according to one embodiment.
[0216] Referring to FIG. 18A, an external device (e.g., an external device (400) of FIG. 4A) according to an embodiment may include at least one of a stand (1820) including a wireless charging pad, a car cradle, a tripod mount, a lighting device, a photographic filter (1810), or an electronic pen (1830). An electronic device (e.g., an electronic device (101) of FIG. 1) according to an embodiment may execute a specific application based on at least one of a type of the external device (400), an attached position of the external device (400), an attached location of the external device (400), a movement trajectory of the external device (400), or a usage history of the electronic device (101) as the external device (400) is tagged.
[0217] Referring to FIG. 18B, in a flexible (or foldable) electronic device (1850) having at least two flexible displays, a specific application can be executed based on at least one of the type of the external device (400), the attached position of the external device (400), the attachment location of the external device (400), the movement trajectory of the external device (400), or the usage history of the electronic device (101) as the external device (400) is tagged. Alternatively, in an electronic device (1860) having one display area of a bar type, a specific application can be executed based on at least one of the type of the external device (400), the attached position of the external device (400), the attachment location of the external device (400), the movement trajectory of the external device (400), or the usage history of the electronic device (101) as the external device (400) is tagged.
[0218] According to an embodiment of the present disclosure, an operating method of an electronic device (101) including a plurality of magnetic bodies (201, 203, 205, 207) arranged at a specified distance from each other, one or more Hall sensors (211, 213) arranged adjacent to the plurality of magnetic bodies, and a short-range wireless communication module may include an operation of detecting tagging of an external device using the short-range wireless communication module, an operation of detecting a change in a magnetic field of at least one of the plurality of magnetic bodies (201, 203, 205, 207) using the one or more Hall sensors, and an operation of controlling an operation of the electronic device based on the detected change in the magnetic field.
[0219] The method may include an operation of identifying the external device as being tagged with the external device, and an operation of displaying information of the identified external device on a display of the electronic device.
[0220] The method may include an operation of detecting a change in a magnetic field through the one or more Hall sensors when tagging of the external device is detected, an operation of identifying an attached position of the external device based on the detected change in the magnetic field, and an operation of executing an application based on the identified attached position of the external device.
[0221] The method may include an operation of connecting to the external device via low-power Bluetooth, and an operation of transmitting a command associated with the executed application to the external device via the low-power Bluetooth.
[0222] The controlling operation may include an operation of identifying an attachment location of the external device based on the detected magnetic field change, and an operation of executing a first function of an application when the identified attachment location is a first location and executing a second function of the application when the identified attachment location is a second location, or an operation of executing a first application when the identified attachment location is a first location and executing a second application when the identified attachment location is a second location.
[0223] The above controlling operation may include an operation of detecting a movement trajectory of the external device based on the detected magnetic field change, and an operation of executing a specified function of a specified application or a displayed application based on the detected movement trajectory.
[0224] The method may include an operation of collecting a usage history of the electronic device while attached to the external device, and an operation of executing an application differently according to an attached position of the external device by further considering the collected usage history of the electronic device.
[0225] The various embodiments of the present invention disclosed in this specification and drawings are merely specific examples presented to facilitate easy explanation of the technical content of the present invention and aid understanding thereof, and are not intended to limit the scope of the present invention. Therefore, the scope of the present invention should be interpreted to include all modifications or variations derived based on the technical concept of the present invention, in addition to the embodiments disclosed herein.
Claims
1. In an electronic device (101), A plurality of magnetic bodies (201, 203, 205, 207) arranged at a specified distance from each other; One or more Hall sensors (211, 213) arranged adjacent to the plurality of magnetic bodies; Memory (130) for storing instructions; and A processor (120) is included, and the instructions, when executed by the processor, cause the electronic device to: Detecting a change in the magnetic field of at least one of a plurality of magnetic materials using one or more of the above Hall sensors, An electronic device that controls the operation of the electronic device based on the detected magnetic field change.
2. In the first paragraph, the one or more Hall sensors, An electronic device comprising a number less than or greater than the number of the plurality of magnetic bodies, or comprising a number corresponding to the number of the plurality of magnetic bodies.
3. In paragraph 1, Further comprising a display module (260), The one or more Hall sensors are arranged under the display module, and the plurality of magnetic bodies are arranged to overlap in a vertical direction under the one or more Hall sensors arranged under the display module, or An electronic device formed so that one or more Hall sensors disposed under the display module are disposed inside the plurality of magnetic bodies.
4. In paragraph 1, An electronic device wherein each of the plurality of magnetic materials is arranged in a Halbach array.
5. In paragraph 1, wireless charging coil; and Further comprising a short-range wireless communication module arranged to surround the wireless charging coil; The above plural magnetic bodies are, An electronic device configured to be placed around the above short-range wireless communication module.
6. In the fifth paragraph, the instructions, when executed by the processor, cause the electronic device to: Detecting tagging of an external device using the above short-range wireless communication module, An electronic device that identifies said external device.
7. In paragraph 6, Further comprising a display module (260), The above instructions, when executed by the processor, cause the electronic device to: An electronic device that displays information of the identified external device on the display module.
8. In the first paragraph, the instructions, when executed by the processor, cause the electronic device to: When tagging of an external device is detected, a change in magnetic field is detected through one or more Hall sensors, Identifying the attached position of the external device based on the detected magnetic field change, An electronic device that executes an application based on the attached position of the external device identified above.
9. In the 8th paragraph, the instructions, when executed by the processor, cause the electronic device to: Connect to the above external device via low-power Bluetooth, An electronic device that transmits a command associated with the executed application to the external device via the low-power Bluetooth.
10. In the first paragraph, the instructions, when executed by the processor, cause the electronic device to: When tagging of an external device is detected, a change in magnetic field is detected through one or more Hall sensors, Identifying the attachment location of the external device based on the detected magnetic field change, If the identified attachment location is a first location, execute a first function of the application; if the identified attachment location is a second location, execute a second function of the application; or An electronic device that executes a first application when the identified attachment location is a first location, and executes a second application when the identified attachment location is a second location.
11. In the first paragraph, the instructions, when executed by the processor, cause the electronic device to: When tagging of an external device is detected, a change in magnetic field is detected through one or more Hall sensors, Detecting the movement trajectory of the external device based on the detected magnetic field change, An electronic device that causes a designated application or a designated function of a displayed application to be executed based on the detected movement trajectory.
12. In the 8th paragraph, the instructions, when executed by the processor, cause the electronic device to: While attached to the above external device, the usage history of the electronic device is collected, An electronic device that further considers the usage history of the electronic device collected above and executes applications differently depending on the attached position of the external device.
13. In the first paragraph, the instructions, when executed by the processor, cause the electronic device to: An electronic device that executes a specific application based on at least one of the type of external device tagged to the electronic device, the attached position of the external device, the attached location of the external device, the movement trajectory of the external device, or the usage history of the electronic device.
14. In a method of operating an electronic device (101) including a plurality of magnetic bodies (201, 203, 205, 207) arranged at a specified distance from each other, one or more Hall sensors (211, 213) arranged adjacent to the plurality of magnetic bodies, and a short-range wireless communication module, An operation of detecting tagging of an external device using the above short-range wireless communication module; An operation of detecting a change in a magnetic field of one or more of a plurality of magnetic bodies (201, 203, 205, 207) using one or more of the above Hall sensors; and A method comprising controlling operation of the electronic device based on the detected magnetic field change.
15. In paragraph 14, An action to identify said external device by being tagged with said external device; An action of displaying information of the identified external device on a display of the electronic device; An action of detecting a change in a magnetic field through the one or more Hall sensors; An operation of identifying the attached position of the external device based on the detected magnetic field change; and A method comprising executing an application based on the attached position of the identified external device.
Citation Information
Patent Citations
Charging device for mobile terminal
KR1020170038358A
A preservative for skin external application, and a cosmetic composition and a pharmaceutical composition comprising the same
KR1020200145782A
Battery module assembly with venting structure and its battery pack assembly
KR1020240069346A
Display panel, forming method of pattern thereof and manufacturing appartus for the forming method of pattern thereof
KR102345738B1
KR20220159785A