Electronic device and method for controlling the same

By integrating sensors and processors in electronic devices, identifying the user's carrying status and selecting the appropriate location detection method, combined with artificial intelligence models, the accuracy problem of indoor user location determination is solved and accurate location determination is achieved.

CN116113909BActive Publication Date: 2025-09-05SAMSUNG ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202080104776.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-07-24
Filing Date
2020-11-24
Publication Date
2025-09-05
Estimated Expiration
2040-11-24

AI Technical Summary

Technical Problem

It is difficult to accurately determine the user's location in an indoor environment with existing technologies, especially when the user does not carry a user terminal device, and the location determination accuracy is limited.

Method used

By integrating sensors and processors in electronic devices, it is possible to identify whether the user is carrying the device and select an appropriate location detection method based on the identification results, including using the device's movement information or external signal feature information combined with an artificial intelligence model to determine the location.

Benefits of technology

The user's position can be accurately determined in indoor environments, which improves the accuracy and reliability of position determination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116113909B_ABST
    Figure CN116113909B_ABST
Patent Text Reader

Abstract

An electronic device and a method for controlling the electronic device are 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 determination module configured to determine whether a user is carrying the electronic device and a second determination module configured to determine a detection method for detecting the user's location; and a processor configured to identify whether the user is carrying the electronic device based on the movement information of the electronic device obtained by the first sensor using the first determination module, and to determine a detection method for detecting the user's location information based on whether the user is carrying the electronic device using the second determination module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to an electronic device and a method for controlling the electronic device. More particularly, the present disclosure relates to an electronic device that determines a user detection method based on whether a user carries the electronic device and a method for controlling the electronic device. Background Art

[0002] A user can identify the location of a user terminal device carried by the user by using a location-based service. A location-based service may refer to a system that provides various services to the user based on location information obtained via a mobile communication network or a global positioning system.

[0003] However, in the case of location-based services using the global positioning system, it is 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 the user terminal device using a network system such as a communication module included in the user terminal device or a wireless fidelity (Wi-Fi) system installed in the surrounding environment.

[0004] At the same time, users do not always carry their user terminal devices and may be able to perform actions while placing their user terminal devices at specific locations. When a user performs actions without carrying their user terminal devices, the user's location is different from the location of the user terminal device. When using a location determination technology designed assuming that the user carries their terminal device, there is a limitation: the user's location estimate (or positioning) information is output with degraded accuracy.

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

[0006] Technical issues

[0007] Aspects of the present disclosure provide an electronic device that identifies whether a user carries the electronic device and determines a method for detecting a location of the user based on a result of the identification, and a method for controlling the electronic device.

[0008] Technical Solution

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

[0010] According to an aspect of the present disclosure, an electronic device is provided. The electronic device includes: a communicator including a circuit; a first sensor configured to detect movement information of the electronic device; a memory including a first determination module configured to determine whether the user carries the electronic device and a second determination module configured to determine a detection method for detecting the user's location; and a processor configured to identify whether the user of the electronic device carries the electronic device based on the movement information of the electronic device obtained by the first sensor by using the first determination module, and determine a detection method for detecting the user's location information based on whether the user carries the electronic device by using the second determination 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 the feature information of a first signal received from an access point (AP) via the communicator based on the user being identified as carrying the electronic device; and determine a second detection method for obtaining the user's location information using the 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 the electronic device.

[0011] The processor may also be configured to: identify that the user does not carry the electronic device by using the first determination module based on that the movement information does not change within a threshold time, and identify that the user carries the electronic device by using the first determination module based on that the movement information changes within a threshold time.

[0012] The electronic device may further include a second sensor configured to detect a user's biological signal by contact with the user of the electronic device, wherein the processor may further be configured to identify whether the user of the electronic device is carrying the electronic device based on whether the user's biological signal can be detected via the second sensor by using the first determination module.

[0013] The processor can also be configured to: based on the second detection method being determined, control the communicator to transmit a signal requesting 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 based on the characteristic information of the second signal obtained by receiving the second signal from at least one external device via the communicator, obtain the user's location information by inputting the characteristic information of the second signal into the location detection model.

[0014] The processor can also be configured to: based on the second detection method being determined, control the communicator to transmit a request signal to at least one external device requesting to perform an operation of obtaining 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 the characteristic information of the third signal received from another external device.

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

[0016] The processor can also be configured to: identify whether the battery of the electronic device is being charged; determine a detection method for detecting the user's location information based on whether the battery of the electronic device is being charged by using a second determination module; determine the second detection method based on the battery of the electronic device being identified as being charged, and determine the first detection method based on the battery of the electronic device being identified as not being charged.

[0017] The processor may also be configured to: 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 for obtaining the user's location information via a location detection model.

[0018] The processor can also be configured to: obtain the user's location information by using a second detection method based on the position 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 using a first detection method based on the position of the electronic device not being identified as a location for obtaining the user's location information via a location detection model.

[0019] The processor can also be configured to: obtain movement information of the electronic device via the first sensor based on the location of the electronic device after the location of the electronic device is identified as a location for obtaining the user's location information via a location detection model; 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 the communicator.

[0020] According to another aspect of the present disclosure, a method for controlling an electronic device is provided, the electronic device including a first sensor configured to detect movement information of the electronic device, a first determination module configured to determine whether a user is carrying the electronic device, and a second determination module configured to determine a detection method for detecting the user's location. The method includes using the first determination module to identify whether the user of the electronic device is carrying the electronic device based on movement information of the electronic device obtained by the first sensor; and using the second determination module to determine a detection method for detecting the user's location information based on whether the user is carrying the electronic device, wherein the determination includes 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 AP based on the user being identified as carrying the electronic device; and 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 based on the user being identified as not carrying the electronic device.

[0021] The identifying may include: identifying that the user does not carry the electronic device by using a first determination module based on the movement information not changing within a threshold time, and identifying that the user carries the electronic device by using the first determination module based on the movement information changing within a threshold time.

[0022] The identifying may include identifying whether a user of the electronic device carries the electronic device based on whether a bio-signal of the user can be detected via a second sensor configured to detect the bio-signal of the user, by using the first determination module.

[0023] The method may also include: based on the second detection method being determined, transmitting a signal requesting transmission of a second signal for obtaining the user's location information to at least one external device by using a second detection method module; and based on the characteristic information of the second signal obtained by receiving the second signal from at least one external device, obtaining the user's location information by inputting the characteristic information of the second signal into a location detection model.

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

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

[0026] Identification may include: identifying whether the battery of the electronic device is being charged; determining a detection method for detecting the user's location information based on whether the battery of the electronic device is being charged by using a second determination module; determining the second detection method based on the battery of the electronic device being identified as being charged, and determining the first detection method based on the battery of the electronic device being identified as not being charged.

[0027] The method may also include, 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 for obtaining the user's location information via a location detection model.

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

[0029] The method may further include: obtaining movement information of the electronic device via a first sensor based on the location of the electronic device after the location of the electronic device is identified as a location for obtaining the user's location information via a location detection model; 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.

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

[0031] Beneficial effects

[0032] According to various embodiments of the present disclosure, an electronic device can detect a user's location using an optimized method based on whether the user carries the electronic device. Therefore, the user can receive accurate location information indoors. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0034] Figure 1 is a block diagram for illustrating the configuration and operation of an electronic device according to an embodiment of the present disclosure;

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

[0036] Figure 3 is a flowchart for illustrating operations between an electronic device and an external device according to an embodiment of the present disclosure;

[0037] Figure 4 is a flow chart for illustrating operations between an electronic device and a plurality of external devices according to an embodiment of the present disclosure;

[0038] Figure 5 is a flow chart for illustrating operations between an electronic device and an external device according to an embodiment;

[0039] Figure 6 is a flowchart illustrating a process of determining a detection method based on whether a battery of an electronic device is being charged according to an embodiment of the present disclosure;

[0040] Figure 7 is a flowchart illustrating a process of determining a detection method based on whether a battery of an electronic device is being charged and a location of the electronic device according to an embodiment of the present disclosure;

[0041] Figure 8 is a flowchart for illustrating a process in which an electronic device obtains final location information of a user according to an embodiment of the present disclosure; and

[0042] Figure 9 is a block diagram for specifically illustrating the configuration of an electronic device according to an embodiment of the present disclosure.

[0043] Throughout the drawings, like reference numerals will be understood to refer to like parts, components and structures. DETAILED DESCRIPTION

[0044] The following description, with reference to the accompanying drawings, is provided to facilitate a comprehensive understanding of the various embodiments of the present disclosure as defined by the claims and their equivalents. It includes various specific details to assist understanding, but these are to be regarded as exemplary only. Therefore, those skilled in the art will recognize that various changes and modifications may be made to the various embodiments described herein without departing from the scope and spirit of the present disclosure. Furthermore, descriptions of well-known functions and structures may be omitted for clarity and conciseness.

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

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

[0047] Hereinafter, various embodiments of the present disclosure will be described with reference to the accompanying drawings.

[0048] Figure 1 is a block diagram for illustrating the configuration and operation of an electronic device according to an embodiment of the present disclosure.

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

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

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

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

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

[0054] The information about the angular velocity obtained by the gyro sensor can be used to identify the tilt angle of the electronic device 100 or the rotation angle of the electronic device 100. The geomagnetic sensor is a sensor for detecting magnetism, and the information obtained by the geomagnetic sensor can be used to obtain information about the azimuth angle of the electronic device 100.

[0055] The acceleration sensor can detect information about the power of the electronic device 100, such as acceleration, vibration, shock, etc. The information about the power obtained by the acceleration sensor can be used to identify the force applied to the electronic device 100 or the footsteps of the person carrying the electronic device 100. In this context, the operation information may include information about whether the user is walking with the electronic device 100 and the number of footsteps.

[0056] The second sensor 110-2 may include a sensor for detecting a user's biological signal (e.g., a blood pressure sensor, a blood sugar sensor, a heart rate sensor, etc.). The sensor for detecting a user's biological signal may detect various biological signals such as blood pressure, heart rate, etc. by being in contact with the body of the user carrying or wearing the electronic device 100 or being spaced from the body of the user within a preset distance.

[0057] For example, if the electronic device 100 is implemented as a wearable device, the second sensor 110-2 can detect various bio-signals of the user wearing the electronic device 100, such as blood pressure, heart rate, etc. If the user takes off the electronic device 100, the second sensor 110-2 may not contact the user's body, or may not be separated from the user's body within a preset distance. In this case, the second sensor 110-2 may not detect the bio-signals of the user of the electronic device 100.

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

[0059] 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, deletion, or updating of data by the processor 140.

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

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

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

[0063] The first determination module 10 may be a module for determining whether the user carries the electronic device 100 by using movement information of the electronic device 100 or a biosignal of the user of the electronic device 100. The user carrying the electronic device 100 may imply that the user carries, wears, or uses the electronic device 100.

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

[0065] The memory 120 may store a plurality of detection method modules (e.g., a first detection method module 30 and a second detection method module 40). When the second determination module 20 determines a method for detecting the user's location, the detection method module corresponding to the determined detection method among the plurality of detection method modules may perform an operation to obtain the user's location information. The operation and function of each detection method module may 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.

[0066] Meanwhile, in describing the present disclosure, the location information of the user may include not only information about the area where the user is located, but also information about whether the user exists within a threshold distance from the electronic device or the external device.

[0067] The memory 120 may store a plurality of position detection models (eg, a first position detection model, a second position detection model, and a third position detection model).

[0068] The first location detection model may be an artificial intelligence model trained using a fingerprint database as learning data. The first location detection model may be trained to, when input with feature information of the first signal, identify a fingerprint from the fingerprint database that matches the feature information of the first signal, and output the user's location information corresponding to the identified fingerprint.

[0069] 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 channel state information (CSI), time of arrival (TOA), angle of arrival (AOA), and received signal strength (RSS) of the first signal.

[0070] When the electronic device 100 is located at a specific location, the fingerprint may refer to data including characteristic information of a signal (e.g., a Wi-Fi signal) receivable from an access point (AP). The characteristic information of the signal receivable by the electronic device 100 from the AP varies depending on the location, and the fingerprint may be classified according to the location. The AP may refer to a device that enables a wireless device to connect to a wired network using Wi-Fi-related standards.

[0071] The fingerprint database may be a database in which a plurality of fingerprints classified for each location are stored and constructed. The fingerprint database may also be expressed as radio map information.

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

[0073] The second position detection model may be trained using feature information of a second signal received from an external device at a predefined position of the electronic device 100 and current position information of the user as learning data.

[0074] As the position of the electronic device 100 changes, feature information of the second signal receivable by the electronic device 100 from other external devices may change.The second position detection model may be trained using the above-mentioned learning data at a plurality of predefined positions determined from the user.

[0075] The third location detection model may be an artificial intelligence model trained to output the location information of the electronic device based on the characteristic information of the signal. The third location detection model may be trained using the characteristic information of the signal received from at least one external device and the current location information of the electronic device matched with each characteristic information as learning data.

[0076] The memory 120 may include a non-volatile memory that retains stored information even if power is interrupted, and a volatile memory that requires continuous power to retain stored information. 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 merely an embodiment of the present disclosure, and the volatile memory may be implemented as an element separate from the processor 140 .

[0077] The communicator 130 may include a circuit and communicate with an AP or an external device. The communicator 130 may include various wireless communication modules, and the wireless communication module may include a Wi-Fi module 130-1.

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

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

[0080] The processor 140 may be electrically connected to the memory 120 to control the general functions and operations of the electronic device 100. The processor 140 may load the plurality of determination modules 10 and 20 and the detection method modules 30 and 40 from the non-volatile memory to the volatile memory. Loading may refer to an operation of transferring data stored in the non-volatile memory to the volatile memory to store the data so that the data can be accessed by the processor 140.

[0081] In an embodiment of the present disclosure, when the power of the electronic device 100 is turned on, the processor 140 may load each determination module and detection method module into the volatile memory. In another embodiment of the present disclosure, when a command for activating the user position detection function is input from the user, the processor 140 may load each determination module and detection method module into the volatile memory.

[0082] The processor 140 may use the first determination module 10 to identify whether the user carries the electronic device based on movement information of the electronic device 100 obtained via the first sensor 110 - 1 .

[0083] In an embodiment of the present disclosure, when the movement information obtained via the first sensor 110-1 (for example, the tilt value, rotation angle, etc. of the electronic device 100) changes within the first threshold time, the processor 140 can identify the user carrying the electronic device via the first determination module 10.

[0084] In another embodiment of the present disclosure, when the movement information changes by a preset value or more within a first threshold time, the processor 140 may identify the user carrying the electronic device via the first determination module 10. Herein, the preset value may be changed by the user.

[0085] For example, when the user rotates the electronic device 100 from a vertical orientation (portrait orientation) to a horizontal orientation (landscape orientation), the processor 140 may recognize, via the first sensor 110-1, that the rotation angle of the electronic device 100 has changed. The change in the rotation angle of the electronic device 100 may indicate that the user is carrying and using the electronic device 100. Since the rotation angle of the electronic device 100 changes within the first threshold time, the processor 140 may use the first determination module to recognize that the user is carrying the electronic device.

[0086] When the movement information obtained via the first sensor 110-1 does not change within the first threshold time, the processor 140 may recognize via the first determination module 10 that the user does not carry the electronic device. The first threshold time may be a preset time, but may be changed by the user.

[0087] The processor 140 can identify whether the user is carrying the electronic device 100 based on whether the user's bio-signal can be detected via the second sensor 110-2 by using the first determination module 10. The processor 140 can obtain the user's bio-signal via the second sensor 110-2 that is in contact with the user of the electronic device 100 or spaced therefrom within a preset distance.

[0088] If the user's bio-signal is not obtained via the second sensor 110-2 within the second threshold time, the processor 140 may recognize via the first determination module 10 that the user is not carrying the electronic device 100. When the user's bio-signal is obtained via the second sensor 110-2 within the second threshold time, the processor 140 may recognize via the first determination module 10 that the user is carrying the electronic device 100.

[0089] When it is identified via the first determination module 10 whether the user carries the electronic device, the processor 140 may determine a detection method for detecting the user's location information based on the result of the identification by using the second determination module 20 .

[0090] When it is identified that the user carries the 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 feature information of the first signal received from the AP via the communicator 13.

[0091] When the first detection method is determined, the processor 140 may obtain the location information of the user using the first detection method module 30 corresponding to the determined first detection method among the plurality of detection method modules.

[0092] In an embodiment of the present disclosure, the processor 140 may obtain the user's location information by using dead reckoning based on the movement information of the electronic device 100 from the first detection method via the first detection method module 30. Dead reckoning may be a method of estimating the current location of the electronic device based on the direction and distance in which the electronic device is moved by the user from a reference location.

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

[0094] Therefore, the processor 140 may obtain the current location information of the electronic device 100 moving from the reference location by using the first detection method module 30. Since it is recognized that the user carries the electronic device 100, the location information of the electronic device 100 may refer to the location information of the user.

[0095] In another embodiment of the present disclosure, the processor 140 may obtain the user's location information from the first detection method using a fingerprint comparison method via the 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 estimating the current location information of the electronic device using the location information included in the identified fingerprint.

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

[0097] When it is recognized that the user does not carry the electronic device 100, the processor 140 may determine, via the second determination module 20, a second detection method (or a device-absent 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 may obtain the user's location information by using a second detection method module 40 corresponding to the determined second detection method among the plurality of detection method modules.

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

[0099] Meanwhile, part or all of the second signal transmitted from the external device may be reflected by the user or transmitted through the user to be transmitted to the electronic device 100. Feature information of the second signal received by being reflected by the user or transmitted through the user may be different from feature information of the signal directly transmitted from the external device to the electronic device 100.

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

[0101] 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 the 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 the predefined location learned by the second location detection model.

[0102] For example, when the CSI amplitude change amount of the Wi-Fi signal received from the external device via the first path and the second path is input to 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.

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

[0104] When the user is identified as being within a threshold distance of the electronic device based on the obtained user location information, the processor 140 may execute a predefined operation corresponding to the user's location information. For example, when the user is identified as being in an area designated as a dangerous zone based on the user's location information, the processor 140 may output a message as a voice message indicating that the user is in the area designated as a dangerous zone. However, this is merely an embodiment of the present disclosure, and the predefined operation corresponding to the user's location information may be set differently by the user.

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

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

[0107] At the same time, when it is recognized that the user is not carrying the electronic device 100, the processor 140 can control the communicator 130 to transmit a request signal requesting execution of an operation to obtain the user's location information to at least one external device by using the second detection method module 40. In other words, the processor 140 can not only obtain the user's location information based on the signal received from the external device, but also control the communicator 130 to transmit a request signal for controlling execution of the operation to obtain the user's location information to the external device.

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

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

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

[0111] At the same time, 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 determination module 20 to determine the detection method based on the battery's charging state.

[0112] When it is recognized that the battery of the electronic device 100 is charging, the processor 140 may determine the second detection method using the second determination module 20. Generally, the state of the battery of the electronic device 100 being charged may indicate that the user is not carrying the electronic device. Therefore, when the battery of the electronic device 100 is not charging, the processor 140 may determine the first detection method using the second determination module 20 and obtain the user's location information using the first detection method module 30 corresponding to the determined first detection method.

[0113] When it is recognized that the battery of the electronic device is being charged, the processor 140 may determine the second detection method using the second determination module 20. The processor 140 may obtain the user's location information using the second detection method module 40 corresponding to the determined second detection method.

[0114] In another embodiment of the present disclosure, when it is recognized that the battery of the electronic device 100 is charging, the processor 140 may use the characteristic information of the second signal received from at least one external device to obtain the location information of the electronic device. The processor 140 may obtain the location information of the electronic device by inputting the characteristic information of the second signal received via the communicator 130 into a third location detection model. For example, the processor 140 may obtain the location information of the electronic device 100 by inputting RSS information of a Wi-Fi signal received from the external device into the third location detection model.

[0115] The processor 140 may 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.

[0116] The location where the user's location information can be obtained using the second location detection model may refer to a predefined location learned by the second location detection model that outputs the user's location information that matches the characteristics of the input signal. The predefined location learned by the second location detection model may be determined differently by the user. The pre-trained second location detection model may output the user's location information that matches the characteristic information of the input second signal based on the learned predefined location.

[0117] The processor 140 may identify whether the current location of the electronic device is a location learned by the second location detection model based on the obtained location information of the electronic device 100 .

[0118] When the processor 140 recognizes that the position of the electronic device 100 is not the position learned by the second position detection model, the processor 140 may use the second determination module 20 to determine the second detection method among the plurality of detection methods. When the processor 140 recognizes that the position of the electronic device is the position learned by the second position detection model, the processor 140 may use the second determination module 20 to determine the first detection method among the plurality of detection methods. The processor 140 may use the detection method module corresponding to the determined detection method to obtain the user's position information.

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

[0120] The processor 140 may identify whether the difference between the first user location information and the second user location information exceeds a threshold. When it is identified that the difference between the first user location information and the second user location information exceeds the threshold, the processor 140 may identify whether the user carries an electronic device.

[0121] 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 the electronic device 100 to identify the accurate information among the first user location information and the second user location information. The process of identifying whether the user is carrying the electronic device 100 has been described above, and therefore, the repeated description will not be repeated.

[0122] When it is recognized that the user carries the electronic device 100, the processor 140 may determine the first user location information obtained using the first detection method as the user's final location information. When the user carries the electronic device 100, the user location information obtained using the first detection method may be relatively accurate.

[0123] When it is recognized that the user carries the electronic device 100, the processor 140 may determine the second user location information obtained using the second detection method as the user's final location information. When it is recognized that the user does not carry the electronic device 100, the user location information obtained using the second detection method may be relatively accurate.

[0124] When it is determined that the difference between the first user location information and the second user location information does not exceed the threshold, the processor 140 may determine the first user location information as the user's final location information. 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 the threshold. Therefore, when the difference between the first user location information and the second user location information is less than the threshold, the processor 140 may recognize that the user is currently carrying the electronic device and identify the first user location information as the user's final location information.

[0125] The processor 140 may train the first location detection model based on the learning data obtained from the first detection method using dead reckoning. Specifically, when it is recognized that the battery of the electronic device 100 is charging, the processor 140 may identify 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.

[0126] When it is recognized that the position of the electronic device 100 is a position where the user's position information can be obtained via the second position detection model, and it is recognized that the user is again carrying the electronic device 100 that was previously being charged, the processor 140 may obtain movement information of the electronic device via the first sensor 110-1 based on the current position of the electronic device 100. For example, the processor 140 may obtain operation information of the user carrying the electronic device 100 or obtain a movement direction by using the first sensor 110-1.

[0127] Processor 140 can identify the path that the user has walked with electronic device 100 based on the user's operation information or movement direction. Processor 140 can match the identified specific locations of the path with the characteristic information of the Wi-Fi signal received from the AP. Processor 140 can generate a fingerprint for each specific location by using the characteristic information of the matched Wi-Fi signal at each specific location of the path. Processor 140 can add the generated fingerprint for each specific location to a fingerprint database. Processor 140 can use the updated fingerprint database as learning data to train the first location detection model.

[0128] Functions related to artificial intelligence applied to artificial neural networks according to the present disclosure are operated by the processor 140 and the memory 120. One or more processors 140 may execute control to process input data according to predefined action rules or artificial intelligence models stored in the memory 120. In addition, if one or more processors are dedicated artificial intelligence processors, the dedicated artificial intelligence processors may be designed to have a hardware structure dedicated to processing a specific artificial intelligence model.

[0129] Forming predefined action rules or artificial intelligence models through training. Forming through training herein may refer to forming predefined action rules or artificial intelligence models configured to perform desired features (or objects), for example, by training a basic artificial intelligence model through a learning algorithm using a plurality of learning data. Such training may be performed in a device demonstrating artificial intelligence according to the present disclosure, or by a separate server and / or system.

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

[0131] The artificial intelligence model may include multiple artificial neural networks, and the artificial neural network may include multiple layers. The multiple neural network layers each have multiple weight values, and the neural network processing is performed by processing between the processing results of the previous layer and the multiple weights. The multiple weights of the multiple neural network layers can be optimized based on the training results of the artificial intelligence model. For example, the multiple weights can be updated to reduce or minimize the loss value or cost value obtained by the artificial intelligence model during the training process.

[0132] Artificial neural networks may include convolutional neural networks (CNNs), deep neural networks (DNNs), recurrent neural networks (RNNs), restricted Boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), deep Q networks, etc., but the artificial neural networks disclosed in the present invention are not limited to the above examples unless otherwise specified.

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

[0134] refer to Figure 2 In operation S210, the electronic device 100 may obtain movement information of the electronic device 100. The electronic device 100 may obtain the movement information of the electronic device 100 via a first sensor (eg, a gyro sensor, an acceleration sensor, a geomagnetic sensor, etc.).

[0135] In operation S220, the electronic device 100 may use the first determination module to identify whether the user carries the electronic device 100. The electronic device 100 may identify whether the user carries the electronic device 100 based on whether the movement information changes within a threshold time.

[0136] For example, if the movement information does not change within a threshold time, the electronic device 100 can use the first determination module to recognize that the user does not carry the electronic device 100. If the movement information changes within a threshold time, the electronic device 100 can use the first determination module to recognize that the user carries the electronic device 100.

[0137] In another embodiment of the present disclosure, the electronic device 100 may identify whether the user carries the electronic device 100 based on the user's biosignal obtained via the second sensor 110-2. Embodiments related thereto have been described above, and therefore, duplicate descriptions will not be repeated.

[0138] In operation S230, the electronic device 100 may use the second determination module to determine a detection method for detecting location information of the user according to whether the user carries the electronic device.

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

[0140] In yet another embodiment of the present disclosure, when it is recognized that the user does not carry the electronic device 100 , the electronic device 100 may determine a second determination method for obtaining the user's location information using feature information of a second signal received from at least one external device.

[0141] In operation S240, the electronic device 100 may obtain user location information based on the determined detection method. The electronic device 100 may obtain the user's location information using a detection method module corresponding to the determined detection method.

[0142] Will refer to Figure 3 An embodiment in which the electronic device 100 obtains the user's location information based on the second detection method is described. Figure 4 and Figure 5 An embodiment is described in which, when the second determination method is determined, the electronic device 100 transmits a command for obtaining location information of a user to at least one external device.

[0143] Meanwhile, in another embodiment of the present disclosure, the electronic device 100 may determine the detection method based on whether the battery is being charged. Figure 6 and Figure 7 Embodiments related thereto are described.

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

[0145] Specifically, Figure 3 1 is a flowchart for explaining a process in which the electronic device 100 obtains the user's location information using the second detection method according to an embodiment of the present disclosure. In other words, Figure 3 is used to show Figure 2 Flowchart of operations after the electronic device 100 determines the second detection method in operation S230.

[0146] refer to Figure 3 In operation S310, the electronic device 100 may determine a second detection method among a plurality of detection methods. In operation S320, the electronic device 100 may transmit a signal requesting 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.

[0147] When the request signal is received, the first external device 50 may change the normal mode to the user location detection mode in operation S330. The normal mode may refer to an operating mode in which operations corresponding to various commands input from the user can be performed. The user location detection mode may refer to an operating mode for performing the following operations: performing an operation of transmitting various signals (e.g., a Wi-Fi signal, etc.) toward another device so that the other device obtains user location information; or obtaining the user's location information based on feature information of a signal received from the other device.

[0148] When operating in the user location detection mode, in operation S340, the first external device 50 may 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 merely an embodiment, and the second signal may include a Bluetooth signal, etc.

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

[0150] For example, the electronic device 100 can obtain the user's location information via the second detection method module 40 by inputting the CSI amplitude change of the Wi-Fi signal received from the first external device 50 via the first path and the second path into the second position detection model, and estimate the user's location based on the predefined location of the electronic device 100.

[0151] In operation S370, the electronic device 100 may identify whether the user exists within a threshold distance of the electronic device 100 based on the obtained location information of the user. When it is identified that the user exists within the threshold distance, in operation S380, the electronic device 100 may store the obtained location information of the user.

[0152] The electronic device 100 can perform a predefined operation corresponding to the user's location information. For example, if the user is identified as being in an area set as a dangerous area based on the user's location information, the electronic device 100 can output a message stating that the user is in the area set as a dangerous area as a voice message. However, this is merely an embodiment of the present disclosure, and the predefined operation corresponding to the user's location information can be set differently by the user.

[0153] Will refer to Figure 4Operations performed by the electronic device 100 when it is recognized that the user is not within the threshold distance of the electronic device 100 are described.

[0154] Figure 4 is a flowchart illustrating operations between an electronic device and a plurality of external devices according to an embodiment of the present disclosure.

[0155] Specifically, Figure 4 is a flowchart illustrating an operation performed by the electronic device 100 when it is recognized that a user does not exist within a threshold distance according to an embodiment of the present disclosure.

[0156] When it is recognized based on the user's location information that the user does not exist within the threshold distance of the electronic device 100 , the electronic device 100 may transmit a request signal for requesting an operation of obtaining the user's location information to at least one external device.

[0157] refer to Figure 4 In operation S410, the electronic device 100 may transmit a request signal for requesting execution of an operation of obtaining location information of a user to the second external device 60. In an embodiment of the present disclosure, the second external device 60 may be the same as or different from the first external device 50.

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

[0159] When operating in the user location detection mode, in operation S440, the third external device 70 may transmit a third signal in various paths so 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 the present disclosure, and the third signal may include a Bluetooth signal, etc.

[0160] In operation S450, the second external device 60 may 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 may 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 may be an artificial intelligence model for performing the same operation as the second location detection model.

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

[0162] Figure 5 is a flowchart for illustrating operations between the electronic device and an external device according to the embodiment.

[0163] Specifically, Figure 5 1 is a flowchart for illustrating an operation of the first external device 50 obtaining the user's location information through the electronic device 100 according to an embodiment of the present disclosure. Figure 5 , Figure 5 is used to show Figure 2 Flowchart of operations after the electronic device 100 determines the second detection method in S230.

[0164] In operation S510, the electronic device 100 may determine a second detection method among a plurality of detection methods. In operation S520, the electronic device 100 may transmit a request signal for requesting execution of an operation of obtaining user location information to the first external device 50 by using a second detection method module corresponding to the second detection method.

[0165] When receiving a request signal for requesting to perform an operation of obtaining the user's location information, the first external device 50 may change the normal mode to a user location detection mode in operation S530.

[0166] After a preset period of time after transmitting the request signal, in operation S540, the electronic device 100 may transmit a fourth signal in various paths so that part or all of the fourth signal is transmitted to the second external device 60. Herein, the fourth signal may be a Wi-Fi signal, but this is merely an embodiment, and the fourth signal may include a Bluetooth signal, etc.

[0167] However, this is merely an embodiment of the present disclosure, and when the normal mode is changed to the user position detection mode, the first external device 50 may transmit a signal indicating that the operating mode has changed to the electronic device 100. Upon receiving the signal indicating that the operating mode has changed, the electronic device 100 may transmit a fourth signal so that part or all of the fourth signal is transmitted to the second external device 60.

[0168] In operation S550, the first external device 50 may 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 may 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 may be an artificial intelligence model that performs the same operation as the second location detection model or the third location detection model.

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

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

[0171] The first external device 50 can perform a predefined operation corresponding to the user's location information. For example, when the first external device 50 is implemented as a refrigerator and recognizes that the user is 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 items in the refrigerator. However, this is only an embodiment of the present disclosure, and the predefined operation corresponding to the user's location information can be set differently by the user.

[0172] When it is recognized that the user is not present within the threshold distance of the first external device 50, in operation S590, the first external device 50 may transmit a signal for requesting a change to the user location detection mode to another external device. In other words, when the user's location is not detected, the first external device 50 may transmit a request signal for requesting detection of the user's location to the other device. The other device that has received the request signal may perform an operation for obtaining the user's location information by changing the mode to the user location detection mode.

[0173] Figure 6 is a flowchart illustrating a process of determining a detection method based on whether a battery of an electronic device is being charged according to an embodiment of the present disclosure.

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

[0175] refer to Figure 6 In operation S610, the electronic device 100 may identify whether the battery is being charged. The electronic device 100 may identify whether the battery is currently being charged via a wired cable connected to a power supply device or via a wireless charging method.

[0176] In operation S620, the electronic device 100 may determine a user detection method based on whether the battery is being charged. The fact that the battery is being charged may indicate that the user is likely not carrying the electronic device. When it is recognized that the battery of the electronic device 100 is being charged, the electronic device 100 may determine a second detection method.

[0177] That the battery is not charged may imply that the user is likely to carry and use the electronic device 100. When recognizing that the battery of the electronic device 100 is not charged, the electronic device 100 may determine the first detection method.

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

[0179] Figure 7 is a flowchart for illustrating a process of determining a detection method based on whether a battery of an electronic device is being charged and a location of the electronic device according to an embodiment of the present disclosure.

[0180] Specifically, Figure 7 is a flowchart illustrating a method for the electronic device 100 to obtain user location information based on whether the battery is being charged according to an embodiment of the present disclosure.

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

[0182] The electronic device 100 may obtain the location information of the electronic device by inputting the characteristic information of the second signal received from the at least one external device into the third location detection model. For example, the electronic device 100 may obtain the location information of the electronic device 100 by inputting the RSS information of the Wi-Fi signal received from the at least one external device into the third location detection model.

[0183] In operation S730, the electronic device 100 may identify whether the current location of the electronic device 100 is a location for obtaining user location information using the second location detection model based on the location information of the electronic device 100.

[0184] The second location detection model may be trained using feature information of a second signal received from an external device at a plurality of predefined locations determined by the user and location information of the user that matches the feature information of the second signal. The location used to obtain user location information using the second location detection model may refer to a predefined location learned by the second location detection model.

[0185] When it is identified that the current location of the electronic device is a location for obtaining user location information using the second location detection model, in operation S740, the electronic device 100 may obtain the user's location information by inputting the characteristic information of the second signal to the second location model.

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

[0187] Meanwhile, when it is recognized that the battery is not charged, in operation S720-N, the electronic device 100 may obtain user location information based on the first detection method.

[0188] Figure 8 is a flowchart illustrating a process in which an electronic device obtains final location information of a user according to an embodiment of the present disclosure.

[0189] refer to Figure 8 , in operation S810, the electronic device 100 may obtain first user location information using a first detection method, and obtain second user location information using a second detection method.

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

[0191] In operation S820, the electronic device 100 may identify whether the difference between the first user location information and the second user location information exceeds a threshold value. If the difference between the first user location information and the second user location information obtained using the first detection method and the second detection method is large, the electronic device 100 may identify whether the user is currently carrying the electronic device 100 to identify the accurate information between the first user location information and the second user location information.

[0192] Therefore, in operation S830, the electronic device 100 may obtain movement information of the electronic device 100. In operation S840, the electronic device 100 may identify whether the user carries (has) the electronic device 100 based on the obtained movement information. However, this is only an embodiment of the present disclosure, and the electronic device 100 may identify whether the user carries the electronic device 100 based on the user's bio-signal obtained via the second sensor.

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

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

[0195] Meanwhile, when it is identified that the difference between the first user location information and the second user location information does not exceed the threshold, the electronic device 100 may determine the first user location information as the final location information of the user in operation S850.

[0196] 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 the threshold. Therefore, when the difference between the first user location information and the second user location information is the threshold or less, the electronic device 100 can recognize that the user is currently carrying the electronic device and recognize the first user location information as the user's final location information.

[0197] Figure 9 is a block diagram for specifically illustrating the configuration of an electronic device according to an embodiment of the present disclosure.

[0198] 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. Figure 1 The sensor 110 , the memory 120 , the communicator 130 , and the processor 140 are described, and therefore, duplicate descriptions will not be repeated.

[0199] The input unit 150 may receive user input for controlling the electronic device 100. More specifically, the input unit 150 may include a touch panel for receiving a user touch using a user's finger or a stylus pen, a button for receiving a user manipulation, etc. In addition, the input unit 150 may be implemented as other input devices (e.g., a keyboard, a mouse, a motion input unit, etc.). More specifically, the input unit 150 may receive input for changing the above reference Figure 8 User command describing the threshold.

[0200] In addition, the input unit 150 may receive a user command for setting an operation corresponding to the user's location information. When a user command for setting an operation corresponding to the user's location information is received via the input unit 150, the processor 140 may store the operation corresponding to the user's location in the memory 120 based on the received user command.

[0201] The display 160 may display various information according to the control of the processor 140. The display 160 may be implemented as a touch screen having a touch panel, or may be implemented as a flexible display or the like.

[0202] The display 160 may display a UI screen including the user's location information under the control of the processor 140. The UI screen may include information about a method for obtaining the user's location information by the processor 140. In addition, the UI screen may include information about an operation to be performed corresponding to the user's current location, and a UI for changing or adding an operation to be performed.

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

[0204] At the same time, it should be noted that the drawings in the present disclosure are not intended to limit the technology disclosed in the present disclosure to the specific embodiments of the present disclosure, but they should be interpreted as including all modifications, equivalents and / or alternatives of the embodiments of the present disclosure. Regarding the interpretation of the drawings, similar reference numerals may be used for similar elements.

[0205] In the present disclosure, terms such as "including", "may include", "consist of..." or "may consist of..." are used herein to specify the existence of corresponding features (for example, constituent elements such as quantity, function, operation or part), without excluding the existence of additional features.

[0206] In the present 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.

[0207] The expressions “first,” “second,” etc. used in the present 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.

[0208] If it is described that a certain element (for example, a first element) is “operably or communicatively coupled to / connected to” another element (for example, a second element) or “connected to” another element, it should be understood that the certain element can be connected to the other element directly or through another element (for example, a third element). On the other hand, if it is described that a certain element (for example, a first element) is “directly coupled to” or “directly connected to” another element (for example, a second element), it should be understood that there is no element (for example, a third element) between the certain element and the other element.

[0209] In addition, depending on the circumstances, the expression "configured to" used in the present disclosure may be used interchangeably with other expressions, such as "suitable for," "capable of," "designed to," "suitable for," "made of," and "capable of." At the same time, the expression "configured to" does not necessarily refer to a device that is "particularly designed to" in terms of hardware. On the contrary, in some cases, the expression "configured to" may refer to the device being "capable of" performing an operation together with another device or component. For example, the phrase "a unit or processor configured (or set) 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), etc., for performing the corresponding operations, which may perform the corresponding operations by executing one or more software programs stored in a memory device.

[0210] The electronic device according to various embodiments of the present disclosure may include, for example, at least one of a smart phone, a tablet PC, a desktop PC, a laptop PC, a netbook PC, a server, a PDA, a medical device, or a wearable device. In addition, in some embodiments of the present disclosure, the external device may include, for example, a television, a refrigerator, an air conditioner, an air purifier, a set-top box, and a media box (for example, SAMSUNG HOMESYNC TM 、APPLE TV TM or Google TV TM ) in at least one of .

[0211] Various embodiments of the present disclosure may be implemented as software including instructions stored in a machine (e.g., computer) readable storage medium. The machine is a device that calls instructions stored in a storage medium and operates according to the called instructions, and may include a server cloud according to the above-described embodiments. In the case where the instructions are executed by a processor, the processor may use other elements directly or under the control of the processor to perform the function corresponding to the instruction. The instruction 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.

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

[0213] Each element (e.g., module or program) according to the various embodiments described above may include a single entity or multiple entities, and in various embodiments, some sub-elements of the above-mentioned sub-elements may be omitted, 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 that were performed by each corresponding element before integration. According to various embodiments of the present disclosure, the operations performed by modules, programs or other elements may be performed in a sequential, parallel, repetitive or heuristic manner, or at least some operations may be performed in a different order, omitted, or different operations may be added.

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

Claims

1. An electronic device comprising: a communicator including an electric circuit; A first sensor is configured to detect movement information of the electronic device; Memory, including: A first determining module is configured to determine whether the user carries an electronic device, and A second determining module is configured to determine a detection method for detecting a user location; and The processor is configured to: By using the first determination module, based on the movement information of the electronic device obtained by the first sensor, identifying whether the user of the electronic device is carrying the electronic device, By using the second determination module, a detection method for detecting the user's location information is determined according to whether the user carries an electronic device. determining, based on the user being identified as carrying the electronic device, a first detection method for obtaining location information of the user using at least one of movement information of the electronic device or feature information of a first signal received from an access point (AP) via the communicator; and Based on the user being identified as not carrying an electronic device, a second detection method is determined for obtaining the user's location information using characteristic information of a second signal received from at least one external device via the communicator, wherein part or all of the second signal is reflected by the user or transmitted through the user.

2. The electronic device according to claim 1, wherein The processor is also configured to: identifying that the user is not carrying the electronic device by using a first determination module based on the movement information not changing within a threshold time, and Based on the movement information changing within a threshold time, it is identified by using a first determination module that the user carries the electronic device.

3. The electronic device according to claim 1, further comprising: a second sensor configured to detect a bio-signal of a user by contact with the user of the electronic device, The processor is further configured to identify whether the user of the electronic device carries the electronic device based on whether the user's biological signal can be detected via the second sensor by using the first determination module.

4. The electronic device according to claim 1, wherein The processor is further configured to: controlling the communicator to transmit, based on the second detection method being determined, a signal requesting transmission of a second signal for obtaining location information of the user to at least one external device by using the second detection method module; and Based on feature information of a second signal obtained by receiving a second signal from at least one external device via the communicator, location information of the user is obtained by inputting the feature information of the second signal into a location detection model.

5. The electronic device according to claim 1, in, The processor is further configured to control the communicator to transmit a request signal requesting execution of an operation of obtaining location information of a user to at least one external device based on the second detection method being determined, and At least one external device that has received the request signal is configured to obtain the user's location information based on feature information of a third signal received from another external device.

6. The electronic device according to claim 4, in, The processor is further configured to, based on the feature information of the second signal, identify that the user is not within the threshold distance from the electronic device, control the communicator to transmit a request signal to at least one external device requesting execution of an operation to obtain the user's location information; and At least one external device that has received the request signal is configured to obtain the user's location information based on feature information of a third signal received from another external device.

7. The electronic device according to claim 1, wherein The processor is further configured to: Identify whether the battery of an electronic device is charging, By using the second determination module, determining a detection method for detecting the user's location information according to whether the battery of the electronic device is being charged, determining a second detection method based on the battery of the electronic device being identified as being charged, and Based on the identification that the battery of the electronic device is not charged, a first detection method is determined.

8. The electronic device according to claim 1, wherein The processor is further configured to: identifying a location of the electronic device by using a second signal received from the at least one external device based on the battery of the electronic device being identified as being charged, and It is identified whether the location of the electronic device is a location for obtaining location information of the user via a location detection model.

9. The electronic device according to claim 8, wherein: The processor is further configured to: obtaining 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 the location detection model, and Based on the position of the electronic device not being recognized as a position for obtaining the position information of the user via the position detection model, the position information of the user is obtained by using the first detection method.

10. The electronic device according to claim 8, wherein The processor is further configured to: obtaining movement information of the electronic device via the first sensor based on the location of the electronic device, based on the user being identified as carrying the electronic device after the location of the electronic device is identified as the location for obtaining location information of the user via the location detection model; and The location detection model is trained based on movement information of the electronic device and feature information of a third signal received from the AP via the communicator.

11. A method for controlling an electronic device, the electronic device comprising a first sensor configured to detect movement information of the electronic device, a first determination module configured to determine whether a user is carrying the electronic device, and a second determination module configured to determine a detection method for detecting a user's location, the method comprising: identifying, by using a first determination module, whether a user of the electronic device is carrying the electronic device based on movement information of the electronic device obtained by the first sensor; and By using the second determination module, a detection method for detecting the user's location information is determined according to whether the user carries an electronic device. The determination of the detection method includes: determining a first detection method for obtaining location information of the user using at least one of movement information of the electronic device or feature information of a first signal received from an AP based on the user being identified as carrying the electronic device, and Based on the user being identified as not carrying an electronic device, a second detection method is determined for obtaining the user's location information using feature information of a second signal received from at least one external device, wherein part or all of the second signal is reflected by the user or transmitted through the user.

12. The method according to claim 11, wherein Identification includes: identifying that the user does not carry the electronic device by using a first determination module based on the movement information not changing within a threshold time; and Based on the movement information changing within a threshold time, it is identified by using a first determination module that the user carries the electronic device.

13. The method according to claim 11, wherein The identifying includes identifying whether a user of the electronic device carries the electronic device based on whether a bio-signal of the user can be detected via a second sensor configured to detect the bio-signal of the user, by using a first determination module.

14. The method according to claim 11, further comprising: transmitting, based on the second detection method being determined, a signal requesting transmission of a second signal for obtaining location information of the user to at least one external device by using the second detection method module; and Based on feature information of a second signal obtained by receiving the second signal from at least one external device, location information of the user is obtained by inputting the feature information of the second signal into a location detection model.

15. The method according to claim 11, further comprising: Based on the second detection method being determined, transmitting a request signal requesting execution of an operation of obtaining the user's location information to at least one external device, At least one external device that has received the request signal is configured to obtain the user's location information based on feature information of a third signal received from another external device.

Citation Information

Patent Citations

  • Method and Device for Indoor Position Resolution

    US20140087707A1

  • Non-contact type power transmission apparatus and method thereof and location-based service system using the same

    US20160006266A1