Electronic device and method for controlling electronic device

By integrating sensors and processors into electronic devices, and using mobile information and biosignals to identify the user's carrying status, combined with dead reckoning and fingerprint comparison methods, the problem of low accuracy in determining user location in indoor environments has been solved, and more accurate location information has been obtained.

CN120973247APending Publication Date: 2025-11-18SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511329005.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2020-07-24
Filing Date
2020-11-24
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

Existing technologies struggle to accurately identify whether a user is carrying a user terminal device in indoor environments, leading to reduced location accuracy.

Method used

By integrating sensors and processors into electronic devices, mobile information, biosignals, and battery status can be used to identify whether a user is carrying a device, and appropriate detection methods can be selected to obtain location information, including dead reckoning and fingerprint comparison.

Benefits of technology

It improves the accuracy and precision of user location determination in indoor environments, ensuring reliable location information can be obtained under different conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120973247A_ABST
    Figure CN120973247A_ABST
Patent Text Reader

Abstract

An electronic device and a method for controlling the same are provided. The electronic device comprises a battery; a communicator including circuitry; a first sensor configured to detect movement information of the electronic device; and a processor configured to: identify whether the battery is being charged, obtain location information of a user using at least one of movement information or a first signal received from an access point (AP) via the communicator based on the battery being identified as not being charged; and obtaining location information of the user using a second signal received from the at least one external device via the communicator based on the battery being identified as being charged, in which part or all of the second signal is reflected or transmitted through the user by the user.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of patent application filed on November 24, 2020, with application number 202080104776.1 and entitled "Electronic device and method for controlling electronic device". Technical Field

[0002] This disclosure relates to electronic devices and methods for controlling such electronic devices. More specifically, this disclosure relates to an electronic device for determining a user based on whether the user is carrying an electronic device, and a method for controlling the electronic device. Background Technology

[0003] Users can identify the location of their personal terminal devices by using location-based services. Location-based services can refer to systems that provide various services to users based on location information obtained via mobile communication networks or the Global Positioning System.

[0004] However, location-based services using the Global Positioning System (GPS) are difficult to use indoors. Therefore, in the prior art, the following location determination technology has been developed and used: it is used to identify the location of a user terminal device using a network system such as a communication module included in the user terminal device or a Wi-Fi system installed in the surrounding environment.

[0005] Furthermore, users do not always carry user terminal devices and can perform actions when the user terminal device is placed in a specific location. When a user performs actions without carrying a user terminal device, the user's location differs from the location of the user terminal device. When using location determination techniques designed assuming the user is carrying a terminal device, the following limitation exists: the user location estimation (or positioning) information is output with degraded accuracy.

[0006] The above information is presented as background information only to aid in understanding this disclosure. No determination or assertion is made regarding whether any of the above applies to prior art relating to this disclosure. Summary of the Invention

[0007] Technical issues

[0008] This disclosure provides an electronic device and a method for controlling the electronic device, the electronic device identifying whether a user is carrying the electronic device, and determining a method for detecting the user's location based on the identification result.

[0009] Technical solution

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

[0011] According to an aspect of this disclosure, an electronic device is provided. The electronic device includes: a communicator, including circuitry; a first sensor configured to detect movement information of the electronic device; a memory including a first determining module configured to determine whether a user is carrying an electronic device and a second determining module configured to determine a detection method for detecting the user's location; and a processor configured to identify whether a user is carrying an electronic device based on the movement information of the electronic device obtained by the first sensor using the first determining module, and to determine a detection method for detecting the user's location information based on whether the user is carrying an electronic device using the second determining module, wherein the processor is configured to: determine a first detection method for obtaining the user's location information using at least one of the movement information of the electronic device or feature information of a first signal received from an access point (AP) via the communicator, based on the user being identified as carrying an electronic device; and determine a second detection method for obtaining the user's location information using feature information of a second signal received from at least one external device via the communicator, based on the user being identified as not carrying an electronic device.

[0012] The processor can also be configured to: identify that the user is not carrying an electronic device by using a first determining module based on the fact that the mobility information has not changed within a threshold time, and identify that the user is carrying an electronic device by using the first determining module based on the fact that the mobility information has changed within a threshold time.

[0013] The electronic device may also include a second sensor configured to detect a user’s biosignals by contact with the user of the electronic device, wherein the processor may also be configured to identify whether the user of the electronic device is carrying the electronic device by using a first determining module based on whether the user’s biosignals can be detected via the second sensor.

[0014] The processor can also be configured to: based on the determination of the second detection method, control the communicator to transmit a signal requesting the transmission of a second signal for obtaining the user's location information to at least one external device by using the second detection method module, and obtain the user's location information by receiving the second signal from at least one external device via the communicator based on the feature information of the second signal, and obtain the user's location information by inputting the feature information of the second signal into a location detection model.

[0015] The processor can also be configured to: based on the determination of the second detection method, control the communicator to transmit a request signal to at least one external device requesting the execution of an operation to obtain the user's location information, and wherein at least one external device that has received the request signal is configured to obtain the user's location information based on characteristic information of a third signal received from another external device.

[0016] The processor may also be configured to, based on the characteristic information of the second signal that the user is identified as not existing within a threshold distance from the electronic device, control the communicator to transmit a request signal to at least one external device requesting the execution of an operation to obtain the user's location information, and wherein at least one external device that has received the request signal may be configured to obtain the user's location information based on the characteristic information of a third signal received from another external device.

[0017] The processor can also be configured to: identify whether the battery of the electronic device is being charged; determine a detection method for detecting user location information based on whether the battery of the electronic device is being charged by using a second determining module; determine a second detection method based on whether the battery of the electronic device is being charged; and determine a first detection method based on whether the battery of the electronic device is being charged.

[0018] The processor can also be configured to: identify the location of the electronic device based on the battery of the electronic device being identified as being charged, identify the location of the electronic device by using a second signal received from at least one external device, and identify whether the location of the electronic device is a location used to obtain the user's location information via a location detection model.

[0019] The processor can also be configured to: obtain the user's location information by a second detection method based on the location of the electronic device being identified as a location for obtaining the user's location information via a location detection model, and obtain the user's location information by a first detection method based on the location of the electronic device not being identified as a location for obtaining the user's location information via a location detection model.

[0020] The processor can also be configured to: after the user is identified as carrying the electronic device, based on the location of the electronic device being identified as the location for obtaining the user's location information via a location detection model, obtain the movement information of the electronic device via a first sensor based on the location of the electronic device; and train the location detection model based on the movement information of the electronic device and feature information of a third signal received from the AP via a communicator.

[0021] According to another aspect of this disclosure, a method for controlling an electronic device is provided. The electronic device includes a first sensor configured to detect movement information of the electronic device, a first determining module configured to determine whether a user is carrying an electronic device, and a second determining module configured to determine a detection method for detecting the user's location. The method includes identifying whether a user is carrying an electronic device based on movement information of the electronic device obtained by the first determining module using the first determining module; and determining a detection method for detecting the user's location information based on whether the user is carrying an electronic device using the second determining module. The determining method includes, based on the user being identified as carrying an electronic device, determining a first detection method for obtaining the user's location information using at least one of the movement information of the electronic device or feature information of a first signal received from an access point (AP); and based on the user being identified as not carrying an electronic device, determining a second detection method for obtaining the user's location information using feature information of a second signal received from at least one external device.

[0022] The identification may include: identifying that the user is not carrying an electronic device by using a first determining module based on the fact that the mobile information has not changed within a threshold time, and identifying that the user is carrying an electronic device by using the first determining module based on the fact that the mobile information has changed within a threshold time.

[0023] Identification may include using a first determining module to identify whether a user of an electronic device is carrying an electronic device based on whether the user's biosignals can be detected via a second sensor configured to detect the user's biosignals.

[0024] The method may further include: based on the determination of a second detection method, transmitting a signal requesting the transmission of a second signal for obtaining the user's location information to at least one external device using a second detection method module; and obtaining the user's location information by inputting the feature information of the second signal into a location detection model based on the feature information of the second signal received from at least one external device.

[0025] The method may further include: based on the determination of a second detection method, transmitting a request signal to at least one external device requesting to perform an operation to obtain the user's location information, wherein at least one external device that has received the request signal may be configured to obtain the user's location information based on feature information of a third signal received from another external device.

[0026] The method may further include: based on the characteristic information of the second signal that the user is identified as not existing within a threshold distance from the electronic device, transmitting a request signal to at least one external device requesting to perform an operation to obtain the user's location information, wherein the at least one external device that has received the request signal may be configured to obtain the user's location information based on the characteristic information of the third signal received from another external device.

[0027] The identification may include: identifying whether the battery of the electronic device is being charged; determining a detection method for detecting user location information based on whether the battery of the electronic device is being charged by using a second determining module; determining a second detection method based on the identification that the battery of the electronic device is being charged; and determining a first detection method based on the identification that the battery of the electronic device is not being charged.

[0028] The method may further include identifying the location of the electronic device based on the battery of the electronic device being identified as being charged, identifying the location of the electronic device by using a second signal received from at least one external device, and identifying whether the location of the electronic device is a location used to obtain the user's location information via a location detection model.

[0029] Identifying whether the location of an electronic device is a location used to obtain the user's location information via a location detection model may include: obtaining the user's location information by a second detection method based on the electronic device's location being identified as a location used to obtain the user's location information via a location detection model, and obtaining the user's location information by using a first detection method based on the electronic device's location not being identified as a location used to obtain the user's location information via a location detection model.

[0030] The method may further include: identifying the user as carrying the electronic device after the location of the electronic device is identified as the location for obtaining the user's location information via a location detection model; obtaining the movement information of the electronic device via a first sensor based on the location of the electronic device; and training the location detection model based on the movement information of the electronic device and feature information of a third signal received from the AP.

[0031] Other aspects, advantages, and distinctive features of this disclosure will become apparent to those skilled in the art from the following detailed description of various embodiments disclosed in conjunction with the accompanying drawings.

[0032] Beneficial effects

[0033] According to various embodiments of this disclosure, an electronic device can detect a user's location using optimized methods, based on whether the user is carrying the device. Therefore, the user can receive accurate location determination information indoors. Attached Figure Description

[0034] From the following description taken in conjunction with the accompanying drawings, the above and other aspects, features, and advantages of certain embodiments of the present disclosure will become apparent, wherein:

[0035] Figure 1 It is a block diagram illustrating the configuration and operation of an electronic device according to embodiments of the present disclosure;

[0036] Figure 2 This is a flowchart illustrating a method for controlling an electronic device according to embodiments of the present disclosure;

[0037] Figure 3 It is a flowchart illustrating the operation between an electronic device and an external device according to embodiments of the present disclosure;

[0038] Figure 4 It is a flow diagram illustrating the operation between an electronic device and a plurality of external devices according to embodiments of the present disclosure;

[0039] Figure 5 It is a flow diagram used to illustrate the operation between an electronic device and an external device according to an embodiment;

[0040] Figure 6 This is a flowchart illustrating a process for determining whether the battery of an electronic device is being charged, according to embodiments of the present disclosure.

[0041] Figure 7 This is a flowchart illustrating a process for determining a detection method based on whether the battery of an electronic device is charging and the location of the electronic device, according to embodiments of the present disclosure.

[0042] Figure 8 This is a flowchart illustrating the process by which an electronic device according to embodiments of the present disclosure obtains a user's final location information; and

[0043] Figure 9 It is a block diagram used to specifically illustrate the configuration of an electronic device according to embodiments of the present disclosure.

[0044] Throughout the accompanying drawings, the same reference numerals will be understood to refer to the same parts, components, and structures. Detailed Implementation

[0045] The following description, provided with reference to the accompanying drawings, is intended to aid in a full understanding of the various embodiments of this disclosure as defined by the claims and their equivalents. It includes various specific details to aid understanding, but these are to be considered exemplary only. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the various embodiments described herein without departing from the scope and spirit of this disclosure. Additionally, for clarity and brevity, descriptions of well-known functions and structures may be omitted.

[0046] The terms and words used in the following description and claims are not limited to their bibliographical meaning, but are used solely by the inventors to enable a clear and consistent understanding of this disclosure. Therefore, it will be apparent to those skilled in the art that the following description of various embodiments of this disclosure is provided for illustrative purposes only and is not intended to limit the disclosure as defined by the appended claims and their equivalents.

[0047] It is important to understand that the singular forms “a,” “one,” and “the” include plural indicators unless the context explicitly indicates otherwise. Thus, for example, the reference to “a component surface” includes the reference to one or more such surfaces.

[0048] In the following description, various embodiments of the present disclosure will be described with reference to the accompanying drawings.

[0049] Figure 1 It is a block diagram used to illustrate the configuration and operation of an electronic device according to embodiments of the present disclosure.

[0050] refer to Figure 1 The electronic device 100 may include a sensor 110, a memory 120, a communicator 130, and a processor 140.

[0051] Figure 1 The configuration shown is a diagram for implementing an embodiment of the present disclosure, and suitable hardware and software configurations that will be apparent to those skilled in the art may additionally be included in the electronic device 100.

[0052] In describing this disclosure, electronic device 100 may be implemented as a user terminal device, such as a smartphone, a tablet PC, a laptop PC, a notebook computer, a medical device, and a wearable device, but is not limited thereto.

[0053] Sensor 110 can detect various status information of electronic device 100 or status information of the user carrying (or wearing) electronic device 100. Sensor 110 may include a first sensor 110-1 for detecting movement information of electronic device 100 and a second sensor 110-2 for detecting information about the user carrying or wearing electronic device 100.

[0054] The first sensor 110-1 may include at least one of a gyroscope sensor, an accelerometer sensor, and a geomagnetic sensor. The gyroscope sensor can detect information about the angular velocity of the electronic device 100.

[0055] Information about angular velocity obtained via a gyroscope sensor can be used to identify the tilt angle or rotation angle of the electronic device 100. A geomagnetic sensor is a sensor used to detect magnetic forces, and information obtained via the geomagnetic sensor can be used to obtain information about the azimuth angle of the electronic device 100.

[0056] An accelerometer can detect information about the dynamics of the electronic device 100, such as acceleration, vibration, and impact. The dynamic information obtained via the accelerometer can be used to identify the force applied to the electronic device 100 or information about the steps of the person carrying the electronic device 100. In this document, operational information may include information about whether the user is walking with the electronic device 100 and the number of steps taken.

[0057] The second sensor 110-2 may include a sensor for detecting the user's biosignals (e.g., a blood pressure sensor, a blood glucose sensor, a heart rate sensor, etc.). The sensor for detecting the user's biosignals can detect various biosignals, such as blood pressure and heart rate, by contacting the user's body with the electronic device 100 or by maintaining a distance from the user's body within a preset distance.

[0058] For example, if the electronic device 100 is implemented as a wearable device, the second sensor 110-2 can detect various biosignals of the user wearing the electronic device 100, such as blood pressure and heart rate. If the user removes the electronic device 100, the second sensor 110-2 may not need to contact the user's body, or it may not need to be at a preset distance from the user's body. In this case, the second sensor 110-2 may not be able to detect the user's biosignals.

[0059] In addition to the first sensor 110-1 and the second sensor 110-2, the sensor 110 may also include sensors for detecting location information (e.g., a Global Positioning System (GPS) sensor), sensors for detecting environmental information around the electronic device 100 (e.g., a temperature sensor, a humidity sensor, a pressure sensor, etc.), sensors for detecting the presence of a user (e.g., a camera, a UWB sensor, an IR sensor, a proximity sensor, an optical sensor, etc.).

[0060] The memory 120 may store instructions or data related to at least another element of the electronic device 100. The processor 140 may access the memory 120 and may perform reading, recording, editing, deleting or updating of data via the processor 140.

[0061] The term "memory" in this disclosure may include memory 120, ROM (not shown) and RAM (not shown) in processor 140, or a memory card (not shown) (e.g., a micro SD card or memory stick) mounted on electronic device 100. Additionally, memory 120 may store programs and data for configuring various screens to be displayed in the display area of ​​the monitor.

[0062] The memory 120 may store a set of instructions corresponding to at least one program executable by the processor 140. The instruction may refer to an action statement in a programming language directly executable by the processor 140, and is the smallest unit of execution or action of the program.

[0063] The memory 120 may store a first determining module for determining whether a user is carrying the electronic device 100 and a second determining module for determining a user location detection method. The first and second determining modules may be implemented as software modules and controlled by the processor 140. However, this is only an embodiment of this disclosure, and each determining module may be implemented as a separate hardware module controlled by the processor 140.

[0064] The first determining module 10 may be a module used to determine whether a user is carrying the electronic device 100 by using the movement information of the electronic device 100 or the biometric signals of the user of the electronic device 100. A user carrying the electronic device 100 may imply that the user is carrying, wearing, or using the electronic device 100.

[0065] The second determining module 20 may be a module for determining a detection method for detecting the user's location based on whether the user is carrying the electronic device 100 or whether the battery of the electronic device 100 is being charged.

[0066] The memory 120 can store multiple detection method modules (e.g., a first detection method module 30 and a second detection method module 40). When the second determining module 20 determines a method for detecting the user's location, the detection method module corresponding to the determined detection method can perform operations to obtain the user's location information. The operation and function of each detection method module can be controlled by the processor 140. The operation of the processor 140 controlling each module to obtain the user's location information will be described later.

[0067] Furthermore, in describing this disclosure, the user's location information may include not only information about the area where the user is located, but also information about whether the user is within a threshold distance from an electronic device or external device.

[0068] The memory 120 can store multiple position detection models (e.g., a first position detection model, a second position detection model, and a third position detection model).

[0069] The first location detection model can be an artificial intelligence model trained using a fingerprint database as learning data. The first location detection model can be trained to identify fingerprints matching the feature information of a first signal from the fingerprint database when the first signal is input, and output the user's location information corresponding to the identified fingerprint.

[0070] The first signal may refer to a Wi-Fi signal received via a Wi-Fi network. The characteristic information of the first signal may include at least one of the following: channel state information (CSI), time of arrival (TOA), angle of arrival (AOA), and received signal strength (RSS).

[0071] When electronic device 100 is located in a specific location, a fingerprint can refer to data including characteristic information of signals (e.g., Wi-Fi signals) that can be received from an access point (AC). The characteristic information of signals that electronic device 100 can receive from the AP varies depending on the location, and the fingerprint can be classified according to the location. An AP can refer to a device that enables wireless devices to connect to a wired network using Wi-Fi-related standards.

[0072] A fingerprint database can be a database that stores and constructs multiple fingerprints categorized for each location. A fingerprint database can also be represented as radio map information.

[0073] The second location detection model can be an artificial intelligence model trained to output the user's current location information based on multiple predefined locations of an electronic device according to feature information of a second signal. In this paper, the second signal can refer to a Wi-Fi signal received via a Wi-Fi network, and the type of feature information of the second signal can be the same as the type of feature information of the first signal. The predefined locations of the electronic device can refer to the locations learned by the second location detection model.

[0074] The second location detection model can be trained using feature information of a second signal received from an external device at a predefined location of electronic device 100 and the user's current location information as learning data.

[0075] As the position of electronic device 100 changes, the characteristic information of the second signal that electronic device 100 can receive from other external devices may change. The above-mentioned learning data can be used to train the second position detection model from multiple predefined positions determined by the user.

[0076] The third position detection model can be an artificial intelligence model trained to output the position information of an electronic device based on the feature information of a signal. The third position detection model can be trained using feature information of signals received from at least one external device and the current position information of the electronic device matching each feature information as learning data.

[0077] Memory 120 may include non-volatile memory that retains stored information even when power is interrupted, and volatile memory that requires continuous power to retain stored information. (Reference) Figure 1 The volatile memory may be implemented as an element of the processor 140 in the form of being included in the processor 140, but this is only an embodiment of the present disclosure, and the volatile memory may be implemented as an element separate from the processor 140.

[0078] The communicator 130 may include circuitry and communicate with the access point (AP) or external devices. The communicator 130 may include various wireless communication modules, and the wireless communication module may include Wi-Fi module 130-1.

[0079] Wi-Fi module 130-1 can receive Wi-Fi signals from an access point (AP) or various external devices. Wi-Fi module 130-1 can measure characteristic information of the Wi-Fi signal while receiving it. For example, Wi-Fi module 130-1 can obtain channel state information, time of arrival, angle of arrival, phase information, signal strength, etc., of the received Wi-Fi signal.

[0080] In describing this disclosure, external devices may include at least one of a smartphone, tablet PC, desktop PC, laptop PC, netbook PC, server, PDA, medical device, or wearable device. In some embodiments of this disclosure, external devices may include, for example, a television, refrigerator, air conditioner, air purifier, set-top box, or media box (e.g., SAMSUNG HOMESYNC). TM At least one of the following. However, there is no limitation on the above examples, and the external device can be implemented as a variety of types of devices.

[0081] Processor 140 may be electrically connected to memory 120 to control the general functions and operation of electronic device 100. Processor 140 may load multiple determining modules 10 and 20 and detection method modules 30 and 40 from non-volatile memory into volatile memory. Loading may refer to the operation of retrieving data stored in non-volatile memory to volatile memory to store the data so that it can be accessed by processor 140.

[0082] In embodiments of this disclosure, when the electronic device 100 is powered on, the processor 140 can load each determining module and detection method module into volatile memory. In another embodiment of this disclosure, when a user inputs a command to activate the user location detection function, the processor 140 can load each determining module and detection method module into volatile memory.

[0083] The processor 140 can use the first determining module 10 to identify whether a user is carrying an electronic device based on the movement information of the electronic device 100 obtained via the first sensor 110-1.

[0084] In embodiments of this disclosure, when the motion information (e.g., the tilt value, rotation angle, etc. of the electronic device 100) obtained via the first sensor 110-1 changes within a first threshold time, the processor 140 can identify the electronic device carried by the user via the first determination module 10.

[0085] In another embodiment of this disclosure, when the movement information changes a preset value or more within a first threshold time period, the processor 140 can identify the electronic device carried by the user via the first determining module 10. Herein, the preset value can be changed by the user.

[0086] For example, when a user rotates the electronic device 100 from a vertical direction (longitudinal direction) to a horizontal direction (lateral direction), the processor 140 can detect the change in the rotation angle of the electronic device 100 via the first sensor 110-1. The change in the rotation angle of the electronic device 100 can indicate that the user is carrying and using the electronic device 100. Because the rotation angle of the electronic device 100 changes within a first threshold time period, the processor 140 can use the first determining module to identify that the user is carrying the electronic device.

[0087] When the movement information obtained by the first sensor 110-1 remains unchanged within a first threshold time, the processor 140 can identify, via the first determination module 10, that the user is not carrying an electronic device. The first threshold time can be a preset time, but can be changed by the user.

[0088] The processor 140 can identify whether a user is carrying the electronic device 100 by using the first determining module 10, based on whether the user's biosignals can be detected by the second sensor 110-2. The processor 140 can obtain the user's biosignals by the second sensor 110-2, which is either in contact with the user of the electronic device 100 or spaced apart from the user within a preset distance.

[0089] If no biosignal of the user is obtained via the second sensor 110-2 within the second threshold time, the processor 140 can identify via the first determination module 10 that the user is not carrying an electronic device 100. When the biosignal of the user is obtained via the second sensor 110-2 within the second threshold time, the processor 140 can identify via the first determination module 10 that the user is carrying an electronic device 100.

[0090] When the first determining module 10 identifies whether a user is carrying an electronic device, the processor 140 can use the second determining module 20 to determine a detection method for detecting the user's location information based on the identification result.

[0091] When it is identified that a user is carrying an electronic device 100, the processor 140 can determine a first detection method (or device carrying detection method) for obtaining the user's location information by using at least one of the movement information of the electronic device and the characteristic information of a first signal received from the AP via the communicator 13.

[0092] When a first detection method is determined, the processor 140 can use the first detection method module 30, which corresponds to the determined first detection method, from among a plurality of detection method modules to obtain the user's location information.

[0093] In embodiments of this disclosure, processor 140 may obtain user location information via dead reckoning using a first detection method module 30 based on movement information from electronic device 100 obtained from the first detection method. Dead reckoning may be a method for estimating the current location of electronic device based on the direction and distance the electronic device has been moved from a reference location by the user.

[0094] Specifically, the processor 140 can obtain operational information via an accelerometer and information about the direction in which the user moves the electronic device via a gyroscope or a geomagnetic sensor. The processor 140 can estimate the direction and distance the electronic device moves from a reference position using the movement information of the electronic device 100 via the first detection method module 30. In this document, the reference position can be a fixed position where the user has not moved the electronic device for a preset time, or a position set by the user as the reference position.

[0095] Therefore, the processor 140 can obtain the current location information of the electronic device 100 that has moved from the reference location by using the first detection method module 30. Since the user is identified as carrying the electronic device 100, the location information of the electronic device 100 can refer to the user's location information.

[0096] In another embodiment of this disclosure, the processor 140 may obtain the user's location information from a first detection method using a fingerprint comparison method via a first detection method module 30. The fingerprint comparison method is a method for identifying a fingerprint that matches feature information of a signal received from an AP among fingerprints included in a pre-stored fingerprint database, and for estimating the current location information of the electronic device using the location information included in the identified fingerprint.

[0097] The processor 140 can obtain the user's location information using a fingerprint comparison method based on the feature information of the first signal obtained by the first detection method module 30 via the communicator 130. Specifically, the processor 140 can identify a fingerprint that matches the feature information of the first signal by inputting the feature information of the first signal into a first location detection model, and obtain the user's location information corresponding to the identified fingerprint via the first detection method module 30.

[0098] When it is determined that the user is not carrying an electronic device 100, the processor 140 can determine, via the second determining module 20, a second detection method (or a device-free detection method) for obtaining the user's location information using feature information of a second signal received from at least one external device. The processor 140 can obtain the user's location information by using the second detection method module 40, which corresponds to the determined second detection method among a plurality of detection method modules.

[0099] The processor 140 can control the communicator 130 to transmit a signal requesting the transmission of a second signal for obtaining user location information to an external device via the second detection method module 40. Upon receiving the request signal, the external device can transmit the second signal via various paths. The processor 140 can receive all or part of the second signal transmitted from the external device via the communicator 130.

[0100] Simultaneously, part or all of the second signal emitted from the external device can be reflected or transmitted through the user to be transmitted to the electronic device 100. The characteristic information of the second signal received by being reflected or transmitted through the user may be different from the characteristic information of the signal directly transmitted from the external device to the electronic device 100.

[0101] Processor 140 may receive part or all of a second signal transmitted from an external device via communicator 130, and obtain part or all of the characteristic information of the second signal. For example, processor 140 may receive all or part of a Wi-Fi signal transmitted from an external device, and obtain the CSI, RSS, AOA, or TOA of each of the received Wi-Fi signals. Part or all of the Wi-Fi signal received via communicator 130 may be a signal reflected or transmitted through the user.

[0102] The processor 140 can obtain the user's location information by inputting the feature information of the second signal into the second location detection model via the second detection method module 40. The second location detection model has been trained to output the user's location information based on a learned predefined location. Therefore, when the processor 140 inputs the feature information of the second signal into the second location detection model, the location of the electronic device 100 can be a predefined location learned by the second location detection model.

[0103] For example, when the CSI amplitude change of the Wi-Fi signal received from the external device via the first path and the second path is input into the second location detection model, the processor 140 can obtain the user's location information for measuring the user's location based on the current location of the electronic device 100 via the second detection method module 40.

[0104] The processor 140 can identify whether a user is within a threshold distance of the electronic device 100 based on the obtained user location information. The user location information may include information about whether the user is within the threshold distance of the electronic device 100.

[0105] When the processor 140 identifies that a user is within a threshold distance of the electronic device based on the obtained user location information, it can execute a predefined operation corresponding to the user's location information. For example, when the processor 140 identifies that the user is in an area designated as a danger zone based on the user's location information, it can output a message that the user is in the danger zone as voice. However, this is only an embodiment of this disclosure, and the predefined operation corresponding to the user's location information can be set differently by the user.

[0106] When it is determined that the user is not within the threshold distance of the electronic device 100, the processor 140 can control the communicator 130 to transmit a request signal to at least one external device requesting the execution of an operation to obtain the user's location information. In other words, when the user is not within the threshold distance of the electronic device 100 or it is difficult to determine whether the user is within the threshold distance of the electronic device 100, the processor 140 can control the communicator 130 to transmit a request signal to at least one external device, which requests the execution of an operation to obtain the user's location information using another external device.

[0107] At least one external device that has received a request signal can obtain the user's location information by using characteristic information of a third signal (e.g., a Wi-Fi signal) received from the other external device. Having obtained the user's location information, at least one external device can perform a predefined operation corresponding to the user's location information.

[0108] Simultaneously, when it is detected that the user is not carrying electronic device 100, processor 140 can control communicator 130 to transmit a request signal to at least one external device via the second detection method module 40, requesting the execution of an operation to obtain the user's location information. In other words, processor 140 can not only obtain the user's location information based on signals received from external devices, but also control communicator 130 to transmit a request signal to external devices to control the execution of an operation to obtain the user's location information.

[0109] After a preset time period following the transmission of a request signal to at least one external device, the processor 140 may control the communicator 130 to transmit a fourth signal near the at least one external device via various paths. The fourth signal may be a Wi-Fi signal that can be transmitted / received via a Wi-Fi network.

[0110] Part or all of the fourth signal transmitted via communicator 130 may be reflected or transmitted through the user to be transmitted to at least one external device. For example, communicator 130 may transmit Wi-Fi signals via multiple paths under the control of processor 140, and part or all of the transmitted Wi-Fi signals may be reflected or transmitted through the user located near electronic device 100 to be transmitted to at least one external device.

[0111] At least one external device can obtain the user's location information based on all or part of the characteristic information of the received fourth signal. At least one external device can perform an operation corresponding to the obtained user location information. For example, if the external device is implemented as a smart light, when the obtained user location information indicates that the user is within a threshold distance from the external device, the external device can turn on the light to illuminate the area around the user.

[0112] Simultaneously, the processor 140 can determine the detection method for detecting the user's location based on whether the battery of the electronic device 100 is being charged. The processor 140 can identify whether the battery is being charged via a wired charging cable or a wireless charger. The processor 140 can use the second determining module 20 to determine the detection method based on the battery's state of charge.

[0113] When it is detected that the battery of electronic device 100 is charging, processor 140 can determine a second detection method using second determination module 20. Typically, the state of the battery of charging electronic device 100 can indicate that the user is not carrying the electronic device. Therefore, when the battery of electronic device 100 is not charging, processor 140 can use second determination module 20 to determine a first detection method, and use first detection method module 30 corresponding to the determined first detection method to obtain the user's location information.

[0114] When it is detected that the battery of an electronic device is charging, the processor 140 can use the second determination module 20 to determine a second detection method. The processor 140 can then use the second detection method module 40 corresponding to the determined second detection method to obtain the user's location information.

[0115] In another embodiment of this disclosure, when it is detected that the battery of electronic device 100 is charging, processor 140 can use feature information of a second signal received from at least one external device to obtain the location information of the electronic device. Processor 140 can obtain the location information of the electronic device by inputting the feature information of the second signal received via communicator 130 into a third location detection model. For example, processor 140 can obtain the location information of electronic device 100 by inputting RSS information of a Wi-Fi signal received from an external device into the third location detection model.

[0116] The processor 140 can identify, based on the obtained location information of the electronic device 100, whether the location of the electronic device 100 is a location where the user's location information can be obtained using the second location detection model.

[0117] The location obtained using the second location detection model can refer to a predefined location learned by the second location detection model, which matches the user's location information with the features of the input signal. This predefined location learned by the second location detection model can be determined differently by the user. The pre-trained second location detection model can output the user's location information based on the learned predefined location, matching the feature information of the input second signal.

[0118] The processor 140 can identify whether the current position of the electronic device 100 is the position learned by the second position detection model based on the obtained position information of the electronic device 100.

[0119] When it is determined that the position of the electronic device 100 is not a position learned by the second position detection model, the processor 140 can use the second determination module 20 to determine a second detection method from among multiple detection methods. When it is determined that the position of the electronic device is a position learned by the second position detection model, the processor 140 can use the second determination module 20 to determine a first detection method from among multiple detection methods. The processor 140 can use a detection method module corresponding to the determined detection method to obtain the user's position information.

[0120] In another embodiment of this disclosure, the processor 140 may use the first detection method module 30 to obtain first user location information and the second detection method module 40 to obtain second user location information. In other words, the processor 140 may use the first detection method and the second detection method to obtain the first user location information and the second user location information, respectively.

[0121] The processor 140 can identify whether the difference between the first user location information and the second user location information exceeds a threshold. When the difference between the first user location information and the second user location information exceeds the threshold, the processor 140 can identify whether the user is carrying an electronic device.

[0122] When the difference between the user location information obtained using the first detection method and the second detection method is large, the processor 140 can identify whether the user is carrying an electronic device 100, thereby identifying the accurate information between the first user location information and the second user location information. The process of identifying whether a user is carrying an electronic device 100 has already been described above, and therefore, a repeating description will not be given.

[0123] When it is detected that a user is carrying an electronic device 100, the processor 140 can determine the first user location information obtained using the first detection method as the user's final location information. When the user is carrying the electronic device 100, the user location information obtained using the first detection method may be relatively accurate.

[0124] When it is detected that a user is carrying an electronic device 100, the processor 140 can determine the second user location information obtained using the second detection method as the user's final location information. When it is detected that the user is not carrying an electronic device 100, the user location information obtained using the second detection method may be relatively accurate.

[0125] When the difference between the first user location information and the second user location information does not exceed a threshold, the processor 140 can determine the first user location information as the user's final location information. When the user is not carrying an electronic device 100, the difference between the first user location information and the second user location information is likely to exceed the threshold. Therefore, when the difference between the first user location information and the second user location information is the threshold or less, the processor 140 can identify that the user is currently carrying an electronic device and identify the first user location information as the user's final location information.

[0126] The processor 140 can train a first location detection model based on learning data obtained from the first detection method using dead reckoning. Specifically, when it is identified that the battery of the electronic device 100 is charging, the processor 140 can determine whether the location of the electronic device 100 is a location where the user's location information can be obtained via the second location detection model.

[0127] When the location of the electronic device 100 is identified as a location where the user's location information can be obtained via the second location detection model, and when it is identified that the user is carrying the electronic device 100 which was previously charging, the processor 140 can obtain the movement information of the electronic device 100 via the first sensor 110-1 based on the current location of the electronic device 100. For example, the processor 140 can obtain the operation information of the user carrying the electronic device 100 or obtain the direction of movement by using the first sensor 110-1.

[0128] Processor 140 can identify the path taken by a user carrying electronic device 100 based on user operation information or direction of movement. Processor 140 can match specific locations on the identified path with feature information of Wi-Fi signals received from the access point (AP). Processor 140 can generate a fingerprint for each specific location by using the feature information of the matching Wi-Fi signals at each specific location on the path. Processor 140 can add the generated fingerprints for each specific location to a fingerprint database. Processor 140 can use the updated fingerprint database as learning data to train a first location detection model.

[0129] The artificial intelligence-related functions applied to artificial neural networks according to this disclosure are operated by processor 140 and memory 120. One or more processors 140 can perform control to process input data based on predefined action rules or artificial intelligence models stored in memory 120. Additionally, if one or more processors are dedicated artificial intelligence processors, the dedicated artificial intelligence processors can be designed with hardware architectures specifically designed to process particular artificial intelligence models.

[0130] Predefined action rules or artificial intelligence models are formed through training. In this document, "formed through training" can refer to, for example, training a basic artificial intelligence model using a learning algorithm with multiple training data to form predefined action rules or artificial intelligence models configured to perform desired actions (or actions on desired objects). Such training can be performed in a device demonstrating artificial intelligence according to this disclosure, or by a separate server and / or system.

[0131] Examples of learning algorithms include, but are not limited to, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning.

[0132] An artificial intelligence model can include multiple artificial neural networks, and these networks can include multiple layers. Each layer of the neural network has multiple weight values, and neural network processing is performed through the processing results of the previous layer and the processing between these weights. The weights of the multiple neural network layers can be optimized through the training results of the artificial intelligence model. For example, multiple weights can be updated to reduce or minimize the loss or cost values ​​obtained by the artificial intelligence model during training.

[0133] Artificial neural networks may include convolutional neural networks (CNN), deep neural networks (DNN), recurrent neural networks (RNN), restricted Boltzmann machines (RBM), deep belief networks (DBN), bidirectional recurrent deep neural networks (BRDNN), deep Q-networks, etc., but the artificial neural networks disclosed herein are not limited to the examples above, unless otherwise stated.

[0134] Figure 2 This is a flowchart illustrating a method for controlling an electronic device according to an embodiment of the present disclosure.

[0135] refer to Figure 2 In operation S210, electronic device 100 can obtain movement information. Electronic device 100 can obtain movement information via a first sensor (e.g., gyroscope sensor, accelerometer sensor, geomagnetic sensor, etc.).

[0136] In operation S220, electronic device 100 can use the first determining module to identify whether a user is carrying electronic device 100. Electronic device 100 can identify whether a user is carrying electronic device 100 based on whether movement information changes within a threshold time period.

[0137] For example, if the mobility information does not change within a threshold time, the electronic device 100 can use the first determining module to identify that the user is not carrying the electronic device 100. If the mobility information changes within the threshold time, the electronic device 100 can use the first determining module to identify that the user is carrying the electronic device 100.

[0138] In another embodiment of this disclosure, the electronic device 100 may identify whether a user is carrying the electronic device 100 based on the user's biosignals obtained via the second sensor 110-2. Embodiments relating thereto have already been described above, and therefore, repeated descriptions will not be repeated.

[0139] In operation S230, the electronic device 100 can use the second determining module to determine the detection method for detecting the user's location information based on whether the user is carrying an electronic device.

[0140] For example, when it is identified that a user is carrying electronic device 100, electronic device 100 can use at least one of the characteristic information of a first signal received from the AP to determine a first detection method for obtaining movement information of electronic device 100 and location information of the user. The first detection method has already been described above, and therefore, a repeating description will not be repeated.

[0141] In another embodiment of this disclosure, when it is identified that the user is not carrying the electronic device 100, the electronic device 100 may use feature information of a second signal received from at least one external device to determine a second determination method for obtaining the user's location information.

[0142] In operation S240, electronic device 100 can obtain user location information based on a determined detection method. Electronic device 100 can use a detection method module corresponding to the determined detection method to obtain user location information.

[0143] Reference Figure 3 This describes an embodiment where an electronic device 100 obtains a user's location information based on a second detection method. Reference will be made to... Figure 4 and Figure 5 An embodiment is described in which, when a second determination method is determined, electronic device 100 transmits a command to at least one external device for obtaining the user's location information.

[0144] Meanwhile, in another embodiment of this disclosure, the electronic device 100 can determine the detection method based on whether the battery is being charged. (See also...) Figure 6 and Figure 7 Describe the relevant implementation examples.

[0145] Figure 3 This is a flowchart illustrating the operation between an electronic device and an external device according to an embodiment of the present disclosure.

[0146] Specifically, Figure 3 This is a flowchart illustrating the process by which an electronic device 100, according to an embodiment of the present disclosure, obtains a user's location information using a second detection method. In other words, Figure 3 It is used to show in Figure 2 The flowchart of the operation after the electronic device 100 determines the second detection method in operation S230.

[0147] refer to Figure 3 In operation S310, the electronic device 100 can determine a second detection method from among multiple detection methods. In operation S320, the electronic device 100 can send a signal requesting the transmission of a second signal for obtaining the user's location information to the first external device 50 via a second detection method module corresponding to the second detection method.

[0148] Upon receiving a request signal, in operation S330, the first external device 50 can change from normal mode to user location detection mode. Normal mode can refer to an operating mode capable of performing operations corresponding to various commands input from the user. User location detection mode can refer to an operating mode used for: performing operations such as transmitting various signals (e.g., Wi-Fi signals) towards another device, enabling that other device to obtain user location information; or obtaining user location information based on characteristic information of signals received from that other device.

[0149] When operating in user location detection mode, during operation S340, the first external device 50 can transmit the second signal to various paths to transmit part or all of the second signal to the electronic device 100. The second signal may be a Wi-Fi signal, but this is only one example, and the second signal may also include Bluetooth signals, etc.

[0150] In operation S350, electronic device 100 can receive part or all of the second signal transmitted from first external device 50 to obtain characteristic information of the second signal. In operation S360, electronic device 100 can obtain user location information by inputting the characteristic information of the second signal into a second location detection model. The location of electronic device 100 can be one of multiple predefined locations learned by the second location detection model.

[0151] For example, electronic device 100 can obtain user location information by inputting the CSI amplitude change of Wi-Fi signals received from first external device 50 via first path and second path into a second location detection model via second detection method module 40, and use it to estimate user location based on predefined location of electronic device 100.

[0152] In operation S370, electronic device 100 can identify whether a user is within a threshold distance of electronic device 100 based on the obtained user location information. When the user is identified as being within the threshold distance, in operation S380, electronic device 100 can store the obtained user location information.

[0153] The electronic device 100 can perform predefined operations corresponding to the user's location information. For example, when the user's location information indicates that the user is in an area designated as a danger zone, the electronic device 100 can output a voice message indicating that the user is in the danger zone. However, this is only an embodiment of this disclosure, and the predefined operations corresponding to the user's location information can be set differently by the user.

[0154] Reference Figure 4Describe the operation performed by electronic device 100 when it is detected that the user is not within a threshold distance of electronic device 100.

[0155] Figure 4 This is a flowchart illustrating the operation between an electronic device and a plurality of external devices according to embodiments of the present disclosure.

[0156] Specifically, Figure 4 This is a flowchart illustrating the operations performed by electronic device 100 when it is identified that a user is not within a threshold distance, according to an embodiment of the present disclosure.

[0157] When the electronic device 100 determines that the user is not within a threshold distance of the electronic device 100 based on the user's location information, the electronic device 100 may transmit a request signal to at least one external device to request the execution of an operation to obtain the user's location information.

[0158] refer to Figure 4 During operation S410, the electronic device 100 may transmit a request signal for requesting to perform an operation to obtain the user's location information to the second external device 60. In embodiments of this disclosure, the second external device 60 may be the same as or different from the first external device 50.

[0159] When a request signal is received, in operation S420, the second external device 60 can send a signal to the third external device 70 requesting the third external device 70 to transmit a third signal for obtaining the user's location information. When a signal requesting the transmission of the third signal is received, in operation S430, the third external device 70 can change from normal mode to user location detection mode.

[0160] When operating in user location detection mode, during operation S440, the third external device 70 can transmit a third signal via various paths, such that part or all of the third signal is transmitted to the second external device 60. The third signal may be a Wi-Fi signal, but this is only an embodiment of this disclosure, and the third signal may include Bluetooth signals, etc.

[0161] In operation S450, the second external device 60 can receive part or all of the third signal transmitted from the third external device 70 to obtain characteristic information of the third signal. In operation S460, the second external device 60 can obtain the user's location information by inputting the characteristic information of the third signal into a fourth location detection model. The fourth location detection model can be an artificial intelligence model used to perform the same operations as the second location detection model.

[0162] For example, the second external device 60 can obtain the user's location information by inputting the CSI amplitude change of the Wi-Fi signal received from the third external device 70 via the third and fourth paths into the fifth location detection model, and use it to estimate the user's location based on the predefined location of the second external device 60.

[0163] Figure 5 This is a flowchart illustrating the operation between an electronic device and an external device according to an embodiment.

[0164] Specifically, Figure 5 This is a flowchart illustrating the operation of a first external device 50 obtaining a user's location information via an electronic device 100 according to an embodiment of the present disclosure. (See also...) Figure 5 , Figure 5 It is used to show in Figure 2 The flowchart shows the operation of electronic device 100 after determining the second detection method in S230.

[0165] In operation S510, the electronic device 100 can determine a second detection method from among multiple detection methods. In operation S520, the electronic device 100 can transmit a request signal to the first external device 50, using a second detection method module corresponding to the second detection method, to request the execution of an operation to obtain the user's location information.

[0166] When a request signal is received to request the execution of an operation to obtain the user's location information, in operation S530, the first external device 50 can change from normal mode to user location detection mode.

[0167] After a preset time period following the transmission of the request signal, during operation S540, the electronic device 100 may transmit a fourth signal via various paths, such that part or all of the fourth signal is transmitted to the second external device 60. In this document, the fourth signal may be a Wi-Fi signal, but this is merely an example, and the fourth signal may include Bluetooth signals, etc.

[0168] However, this is only an embodiment of this disclosure, and when the normal mode changes to the user location detection mode, the first external device 50 can transmit a signal to the electronic device 100 indicating that the operating mode has changed. Upon receiving the signal indicating that the operating mode has changed, the electronic device 100 can transmit a fourth signal, such that part or all of the fourth signal is transmitted to the second external device 60.

[0169] In operation S550, the first external device 50 can receive part or all of the fourth signal transmitted from the electronic device 100 to obtain characteristic information of the fourth signal. In operation S560, the second external device 60 can obtain the user's location information by inputting the characteristic information of the third signal into the fourth location detection model. The fourth location detection model can be an artificial intelligence model used to perform the same operations as the second or third location detection model.

[0170] For example, the first external device 50 can obtain the user's location information by inputting the CSI amplitude change of the Wi-Fi signal received from the fourth external device 80 via the fifth and sixth paths into the fifth location detection model, and use it to estimate the user's location based on the predefined location of the first external device 50.

[0171] In operation S570, the first external device 50 can identify whether the user is within a threshold distance of the first external device based on the user's location information. When it is identified that the user is within the threshold distance of the first external device 10, in operation S580, the first external device 50 can store the obtained user's location information.

[0172] The first external device 50 can perform predefined operations corresponding to the user's location information. For example, when the first external device 50 is implemented as a refrigerator and the user is identified as being within a preset distance of the refrigerator based on the user's location information, the first external device 50 can display a UI showing information about the items in the refrigerator. However, this is only an embodiment of this disclosure, and the predefined operations corresponding to the user's location information can be set differently by the user.

[0173] When it is determined that the user is not within the threshold distance of the first external device 50, in operation S590, the first external device 50 can transmit a signal requesting a change to the user location detection mode to other external devices. In other words, when no user location is detected, the first external device 50 can transmit a request signal to other devices to request the detection of the user's location. Other devices that have received the request signal can perform operations to obtain the user's location information by changing their mode to the user location detection mode.

[0174] Figure 6 This is a flowchart illustrating a process for determining whether the battery of an electronic device is charging, according to an embodiment of the present disclosure.

[0175] Specifically, Figure 6 This is a flowchart illustrating the process by which an electronic device 100, according to an embodiment of the present disclosure, determines a detection method based on whether the battery is being charged.

[0176] refer to Figure 6 When operating S610, electronic device 100 can identify whether the battery is being charged. Electronic device 100 can identify whether the battery is currently being charged via a wired cable connected to a power supply or via a wireless charging method.

[0177] In operation S620, electronic device 100 can determine a user detection method based on whether the battery is charging. The fact that the battery is charging may suggest that the user is likely not carrying the electronic device. When it is detected that the battery of electronic device 100 is charging, electronic device 100 can determine a second detection method.

[0178] The fact that the battery is not charging may suggest that the user is likely carrying and using electronic device 100. When it is detected that the battery of electronic device 100 is not charging, electronic device 100 can determine the first detection method.

[0179] In operation S630, the electronic device 100 can use a detection method module corresponding to the determined detection method to obtain user location information. The process of obtaining user location information using each detection method module has already been described above, and therefore, the repeated description will not be repeated.

[0180] Figure 7 This is a flowchart illustrating a process for determining whether an electronic device's battery is charging and the location of the electronic device according to embodiments of the present disclosure.

[0181] Specifically, Figure 7 This is a flowchart according to an embodiment of the present disclosure, illustrating a method by which an electronic device 100 obtains user location information based on whether the battery is charging.

[0182] refer to Figure 7 In operation S710, the electronic device 100 can identify whether its battery is being charged. When it is identified that the battery is being charged, in operation S720-Y, the electronic device 100 can use the characteristic information of a second signal received from at least one external device to obtain the current location information of the electronic device 100.

[0183] Electronic device 100 can obtain its location information by inputting feature information of a second signal received from at least one external device into a third location detection model. For example, electronic device 100 can obtain its location information by inputting RSS information of a Wi-Fi signal received from at least one external device into the third location detection model.

[0184] In operation S730, electronic device 100 can identify whether the current position of electronic device 100 is the position used to obtain user location information using the second position detection model based on the location information of electronic device 100.

[0185] A second location detection model can be trained using feature information of a second signal received from an external device at multiple predefined locations determined by the user, and the user's location information that matches the feature information of the second signal. The location used to obtain the user's location information using the second location detection model can refer to the predefined location learned by the second location detection model.

[0186] When the current position of the electronic device is identified as a position for obtaining user location information using the second position detection model, in operation S740, the electronic device 100 can obtain the user's location information by inputting the feature information of the second signal into the second position model.

[0187] When the current location of the electronic device is not identified as the location for obtaining user location information using the second location detection model, in operation S720-N, the electronic device 100 can obtain user location information based on the first detection method.

[0188] Meanwhile, when the battery is detected as not being charged, during operation S720-N, the electronic device 100 can obtain user location information based on the first detection method.

[0189] Figure 8 This is a flowchart illustrating the process by which an electronic device, according to an embodiment of the present disclosure, obtains the user's final location information.

[0190] refer to Figure 8 During operation S810, electronic device 100 can obtain first user location information using a first detection method and second user location information using a second detection method.

[0191] Electronic device 100 can obtain first user location information from a first detection method using a fingerprint comparison method or dead reckoning. Simultaneously, or regardless of the order, electronic device 100 can obtain user location information based on feature information of a second signal received from at least one external device.

[0192] During operation S820, the electronic device 100 can identify whether the difference between the first user location information and the second user location information exceeds a threshold. If the difference between the first user location information and the second user location information obtained by using the first detection method and the second detection method respectively is large, the electronic device 100 can identify whether the user is currently carrying the electronic device 100, so as to identify the accurate information in the first user location information and the second user location information.

[0193] Therefore, in operation S830, electronic device 100 can obtain movement information of electronic device 100. In operation S840, electronic device 100 can identify whether a user is carrying (having) electronic device 100 based on the obtained movement information. However, this is only an embodiment of this disclosure, and electronic device 100 can also identify whether a user is carrying electronic device 100 based on the user's biosignals obtained via a second sensor.

[0194] When it is detected that a user is carrying electronic device 100, in operation S850, electronic device 100 can determine the first user location information as the user's final location information. The first detection method is a method of detecting the user's location assuming that the user is carrying electronic device 100. Therefore, when the user is carrying electronic device 100, the first user location information obtained using the first detection method can be relatively accurate.

[0195] When it is determined that the user is not carrying electronic device 100, in operation S860, electronic device 100 can determine the second user location information as the user's final location information. The second detection method is a method of detecting the user's location assuming that the user is not carrying electronic device 100. Therefore, when the user is not carrying electronic device 100, the second user location information obtained using the second detection method can be relatively accurate.

[0196] Meanwhile, when the difference between the first user location information and the second user location information is not greater than the threshold, in operation S850, the electronic device 100 can determine the first user location information as the user's final location information.

[0197] When the user is not carrying the electronic device 100, the difference between the first user location information and the second user location information is likely to exceed a threshold. Therefore, when the difference between the first user location information and the second user location information is the threshold or smaller, the electronic device 100 can identify that the user is currently carrying an electronic device and identify the first user location information as the user's final location information.

[0198] Figure 9 It is a block diagram used to specifically illustrate the configuration of an electronic device according to embodiments of the present disclosure.

[0199] refer to Figure 9 The electronic device 100 may include a sensor 110, a memory 120, a communicator 130, a processor 140, an input unit 150, a display 160, and a speaker 170. (See above for reference.) Figure 1 Sensor 110, memory 120, communicator 130 and processor 140 have been described, and therefore, repeated descriptions will not be repeated.

[0200] The input unit 150 can receive user input for controlling the electronic device 100. More specifically, the input unit 150 may include a touch panel for receiving user touches using a user's finger or stylus, buttons for receiving user manipulation, etc. Alternatively, the input unit 150 can be implemented as other input devices (e.g., a keyboard, mouse, motion input unit, etc.). More specifically, the input unit 150 can receive input for changing the above reference... Figure 8 The user command that describes the threshold.

[0201] Additionally, the input unit 150 can receive user commands for setting operations corresponding to the user's location information. When a user command for setting operations corresponding to the user's location information is received via the input unit 150, the processor 140 can store the operation corresponding to the user's location in the memory 120 based on the received user command.

[0202] The display 160 can display various information under the control of the processor 140. The display 160 can be implemented as a touch screen with a touch panel, or as a flexible display, etc.

[0203] The display 160 can display a UI screen including the user's location information under the control of the processor 140. The UI screen may include information about the method of obtaining the user's location information through the processor 140. In addition, the UI screen may include information about the operation to be performed corresponding to the user's current location, as well as UI elements for changing or adding the operation to be performed.

[0204] When the user is not within the threshold distance of the electronic device 100, under the control of the processor 140, the display 160 may display a message or indicator indicating that the user is not within the threshold distance of the electronic device 100.

[0205] It should also be noted that the accompanying drawings in this disclosure are not intended to limit the technology disclosed herein to the specific embodiments thereof, but rather should be interpreted to include all modifications, equivalents, and / or substitutions of the embodiments thereof. Regarding the interpretation of the drawings, similar reference numerals may be used for similar elements.

[0206] In this disclosure, terms such as “comprising,” “may include,” “composed of,” or “may be composed of” are used herein to specify the presence of a corresponding feature (e.g., constituent elements, such as quantity, function, operation, or component) without excluding the presence of additional features.

[0207] In this disclosure, expressions such as “A or B”, “at least one of A and / or B” or “one or more of A and / or B” include all possible combinations of the listed items. For example, “A or B”, “at least one of A and B” or “at least one of A or B” includes any of the following: (1) at least one A, (2) at least one B, or (3) at least one A and at least one B.

[0208] The terms “first,” “second,” etc., used in this disclosure may indicate various elements regardless of order and / or importance, and may be used to distinguish one element from another without limiting the elements.

[0209] If an element (e.g., a first element) is described as being "operably or communicatively coupled to / connected to" another element (e.g., a second element) or "connected to" another element, it should be understood that the first element may be connected to the second element directly or through another element (e.g., a third element). On the other hand, if an element (e.g., a first element) is described as being "directly coupled to" or "directly connected to" another element (e.g., a second element), it can be understood that there is no element (e.g., a third element) between the first element and the second element.

[0210] Furthermore, depending on the context, the expression "configured as" as used in this disclosure may be used interchangeably with other expressions such as "suitable for," "capable of," "designed for," "suitable for," "made of," and "capable of." At the same time, the expression "configured as" does not necessarily refer to a device that is "specifically designed" in terms of hardware. Rather, in some cases, the expression "configured as" may refer to the device being "capable" of performing operations with another device or component. For example, the phrase "a unit or processor configured (or set up) to perform A, B, and C" may refer to, for example, but not limited to, a dedicated processor (e.g., an embedded processor), a general-purpose processor (e.g., a central processing unit (CPU), or an application processor), which can perform the corresponding operations by executing one or more software programs stored in a memory device.

[0211] Electronic devices according to various embodiments of this disclosure may include at least one of, for example, a smartphone, a tablet PC, a desktop PC, a laptop PC, a netbook PC, a server, a PDA, a medical device, or a wearable device. Additionally, in some embodiments of this disclosure, external devices may include, for example, a television, a refrigerator, an air conditioner, an air purifier, a set-top box, and a media box (e.g., a SAMSUNG HOMESYNC). TM Apple TV TM or Google TV TM At least one of the following.

[0212] Various embodiments of this disclosure can be implemented as software including instructions stored in a machine-readable storage medium. The machine is a device that invokes and operates according to the instructions stored in the storage medium, and may include a server cloud according to the embodiments described above. When the instructions are executed by a processor, the processor may perform the function corresponding to the instructions directly or under the processor's control using other elements. The 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 storage medium" is tangible and may not include signals, and it does not distinguish whether data is stored semi-permanently or temporarily in the storage medium. For example, a "non-transitory storage medium" may include a buffer for temporarily storing data.

[0213] According to embodiments of this disclosure, methods according to the various embodiments disclosed herein can be provided as included in a computer program product. The computer program product can be exchanged between a seller and a buyer as a commercially available product. The computer program product can be distributed in the form of a machine-readable storage medium (e.g., a compact disc read-only memory (CD-ROM)) or through an app store (e.g., the Play Store). TM Online distribution. In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a storage medium, such as the memory of the manufacturer's server, the server of the application store, or a relay server.

[0214] Each element (e.g., a module or program) according to the various embodiments described above may include a single entity or multiple entities, and some sub-elements of the aforementioned sub-elements may be omitted in various embodiments, or other sub-elements may be further included. Alternatively or additionally, some elements (e.g., modules or programs) may be integrated into one entity to perform the same or similar functions performed by each respective element prior to integration. According to various embodiments of this disclosure, operations performed by modules, programs, or other elements may be performed sequentially, in parallel, repetitively, or heuristically, or at least some operations may be performed in a different order, omitted, or different operations may be added.

[0215] Although this disclosure has been shown and described with reference to various embodiments thereof, those skilled in the art will understand that various changes in form and detail may be made without departing from the spirit and scope of this disclosure as defined by the appended claims and their equivalents.

Claims

1. An electronic device, comprising: Battery; A communicator that includes circuitry; The first sensor is configured to detect movement information of the electronic device; as well as The processor is configured as follows: Identify whether the battery is charging. Based on the fact that the battery is identified as not being charged, the user's location information is obtained using at least one of mobile information or a first signal received from the access point (AP) via a communicator; as well as Based on the battery being identified as being charged, the user's location information is obtained using a second signal received from at least one external device via a communicator, wherein part or all of the second signal is reflected or transmitted through the user.

2. The electronic device according to claim 1, wherein, The processor is also configured as follows: Based on the battery being identified as being charged, the control communicator sends a signal to at least one external device, the signal requesting the transmission of a second signal for obtaining the user's location information.

3. The electronic device according to claim 1, in, The processor is also configured to: based on the battery being identified as being charged, control the communicator to send a request signal to at least one external device, the request signal requesting the execution of an operation to obtain the user's location information, and In this configuration, at least one external device that has received the request signal is configured to obtain the user's location information based on a third signal received from another external device.

4. The electronic device according to claim 2, in, The processor is also configured to: based on the user being identified as not existing within a threshold distance from the electronic device based on a second signal, control the communicator to send a request signal to at least one external device, the request signal requesting the execution of an operation to obtain the user's location information, and In this configuration, at least one external device that has received the request signal is configured to obtain the user's location information based on a third signal received from another external device.

5. The electronic device according to claim 1, wherein, The processor is also configured as follows: Based on the battery being identified as being charged, the location of the electronic device is identified using a second signal received from at least one external device, and Identify whether the location of the electronic device is the location used to obtain the user's location information via a location detection model.

6. The electronic device according to claim 5, wherein, The processor is also configured as follows: The location of the electronic device is identified as the location used to obtain the user's location information via a location detection model, and the user's location information is obtained using a second signal.

7. The electronic device according to claim 5, wherein, The processor is also configured as follows: Based on the location of the electronic device being identified as the location used to obtain the user's location information via a location detection model, the user is identified as carrying the electronic device. Based on the location of the electronic device, movement information of the electronic device is obtained via a first sensor. The location detection model is trained based on mobile information from electronic devices and third signals received from the AP via a communicator.

8. A method for controlling an electronic device, the electronic device including a first sensor configured to detect movement information of the electronic device, the method comprising: To identify whether the battery of an electronic device is charging; Based on the fact that the battery is identified as not being charged, the user's location information is obtained using at least one of mobile information or a first signal received from the access point AP; as well as Based on the battery being identified as being charged, the user's location information is obtained using a second signal received from at least one external device, wherein part or all of the second signal is reflected or transmitted through the user.

9. The method according to claim 8, wherein, Obtaining a user's location information using a second signal includes: sending a signal to at least one external device based on the battery being identified as being charged, the signal requesting the transmission of a second signal for obtaining the user's location information.

10. The method according to claim 8, wherein, Obtaining a user's location information using a second signal includes: based on the battery being identified as being charged, sending a request signal to at least one external device, the request signal requesting the execution of an operation to obtain the user's location information; and In this configuration, at least one external device that has received the request signal is configured to obtain the user's location information based on the characteristic information of a third signal received from another external device.

11. The method of claim 9, further comprising: Based on the user being identified as not existing within a threshold distance of the electronic device based on a second signal, a request signal is sent to at least one external device, the request signal requesting the execution of an operation to obtain the user's location information. In this configuration, at least one external device that has received the request signal is configured to obtain the user's location information based on a third signal received from another external device.

12. The method according to claim 8, wherein, Using a second signal to obtain the user's location information includes: Based on the battery being identified as being charged, the location of the electronic device is identified using a second signal received from at least one external device, and Identify whether the location of the electronic device is the location used to obtain the user's location information via a location detection model.

13. The method according to claim 12, wherein, Obtaining a user's location information using a second signal includes: identifying the location of an electronic device as a location for obtaining the user's location information via a location detection model, and obtaining the user's location information using a second signal.

14. The method according to claim 12, wherein, The processor is also configured as follows: Based on the location of the electronic device being identified as the location used to obtain the user's location information via a location detection model, the user is identified as carrying the electronic device. Based on the location of the electronic device, movement information of the electronic device is obtained via a first sensor. A location detection model is trained based on mobile information from electronic devices and third signals received from the access point (AP).