Patent Description:
In recent years, devices (for example, cameras) capable of capturing videos have been miniaturized. The videos captured by cameras may be illegally leaked to the outside in real time through wireless communication. The miniaturization and high-performance of cameras have been exploited, such that social problems due to hidden cameras have been raised. However, there is a problem in that it is difficult to detect a hidden camera due to small size and high performance of the hidden camera.

Accordingly, there is a growing interest in devices and applications that detect hidden cameras.

A user has to purchase a device for detecting a hidden camera to find a hidden camera. However, there is an inconvenience in that the user must have such a device and must carry the device in order to detect a hidden camera.

Meanwhile, a technology is being developed that can determine whether streaming is performed in real time by checking wireless packets. However, since only whether real-time streaming is performed is determined, there is a problem in that it is impossible to check whether a space currently being captured is a space where the user is present.

Various embodiments can provide an electronic device and a method of operating the same, which can identify whether a camera is present, as well as whether a space captured by a camera is a space where a user is present.

The invention provides an electronic device and a method of an electronic device as claimed in the attached independent claims. Further examples are described in the dependent claims. The examples in the description and figures serve to illustrate one or more features of the claims. However, these examples, taken individually, do not necessarily explicitly disclose all features of the claims.

An electronic device and a method of operating the same identify whether a camera is present and whether a space captured by the camera is a space where a user is present.

<FIG>, discussed below, and the various embodiments used to describe the principles of the present disclosure in this patent document are by way of illustration only and should not be construed in any way to limit the scope of the claims.

<FIG> is a block diagram illustrating an electronic device <NUM> in a network environment <NUM>. The electronic device <NUM> may communicate with the electronic device <NUM> via the server <NUM>. The electronic device <NUM> may include a processor <NUM>, memory <NUM>, an input device <NUM>, a sound output device <NUM>, a display device <NUM>, an audio module <NUM>, a sensor module <NUM>, an interface <NUM>, a haptic module <NUM>, a camera module <NUM>, a power management module <NUM>, a battery <NUM>, a communication module <NUM>, a subscriber identification module (SIM) <NUM>, or an antenna module <NUM>. At least one (e.g., the display device <NUM> or the camera module <NUM>) of the components may be omitted from the electronic device <NUM>, or one or more other components may be added in the electronic device <NUM>. Some of the components may be implemented as single integrated circuitry.

The auxiliary processor <NUM> may control, for example, at least some of functions or states related to at least one component (e.g., the display device <NUM>, the sensor module <NUM>, or the communication module <NUM>) among the components of the electronic device <NUM>, instead of the main processor <NUM> while the main processor <NUM> is in an inactive (e.g., sleep) state, or together with the main processor <NUM> while the main processor <NUM> is in an active (e.g., executing an application) state.

The input device <NUM> may receive a command or data to be used by a component (e.g., the processor <NUM>) of the electronic device <NUM>, from the outside (e.g., a user) of the electronic device <NUM>.

The receiver may be implemented as separate from, or as part of the speaker.

The audio module <NUM> may obtain the sound via the input device <NUM>, or output the sound via the sound output device <NUM> or an external electronic device (e.g., an electronic device <NUM> (e.g., a speaker or a headphone)) directly or wirelessly coupled with the electronic device <NUM>.

The interface <NUM> may support one or more specified protocols to be used for the electronic device <NUM> to be coupled with the external electronic device (e.g., the electronic device <NUM>) directly or wirelessly.

The connecting terminal <NUM> may include, for example, a HDMI connector, a USB connector, a SD card connector, or an audio connector (e.g., a headphone connector).

The communication module <NUM> may include a wireless communication module <NUM> (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module <NUM> (e.g., a local area network (LAN) communication module or a power line communication (PLC) module).

The antenna module <NUM> may include an antenna including a radiating element composed of a conductive material or a conductive pattern formed in or on a substrate (e.g., PCB). The antenna module <NUM> may include a plurality of antennas. In such a case, at least one antenna appropriate for a communication scheme used in the communication network, such as the first network <NUM> or the second network <NUM>, may be selected, for example, by the communication module <NUM> from the plurality of antennas. Another component (e.g., a radio frequency integrated circuit (RFIC)) other than the radiating element may be additionally formed as part of the antenna module <NUM>.

<FIG> illustrates a schematic block diagram of an electronic device.

Referring to <FIG>, an electronic device <NUM> includes a processor <NUM>, and a communication module <NUM>. The electronic device <NUM> may include a camera <NUM>, a display <NUM>, and a memory <NUM>. For example, the electronic device <NUM> may be implemented in the same manner as or similar manner to the electronic device <NUM> of <FIG>.

The electronic device <NUM> may control the overall operation of the processor <NUM>. The processor <NUM> may be electrically connected to the memory <NUM>, and the memory <NUM> may store instructions that, when executed, cause the processor <NUM> to perform operations. For example, the processor <NUM> may be implemented in the same manner as or similar manner to the processor <NUM> of <FIG>.

The processor <NUM> acquires data rate information on at least one external electronic device through the communication module <NUM>. The data rate information may refer to time-series information of the data rate for each of at least one external electronic device connected to an access point. The data rate information indicates a data rate of at least one external electronic device during an arbitrary time period. For example, the processor <NUM> may identify a header field of a communication signal transmitted from an external electronic device. The header field may include, for example, a source address and a destination address of a communication signal and a size of a packet to be transmitted. The processor <NUM> may identify the data rate based on the size of a packet corresponding to an arbitrary source address. Accordingly, the processor <NUM> may identify time-series information of the data rate by continuously identifying the header field of a plurality of communication signals transmitted by an arbitrary external electronic device.

The processor <NUM> identifies a first external electronic device having a data rate pattern corresponding to a first condition based on the data rate information. The data rate pattern may be time-series information of a data rate for one external electronic device among at least one external electronic device. For example, the processor <NUM> may identify whether there is a data rate pattern representing real-time streaming among data rate patterns of the at least one external electronic device. When the external electronic device captures a static space and uses a real-time streaming service, the size of data to be transmitted may be constant. Based on these characteristics, the processor <NUM> may identify, when the size of the data rate is constant, that this is a data rate pattern representing real-time streaming. Here, the fact that the size of the data rate is constant may include a case where the amount of change in the data rate is less than or equal to a threshold value.

The processor <NUM> identifies channel state information (CSI) of a channel through which the first external electronic device performs communication through the communication module <NUM>. When it is identified that the first external electronic device uses a real-time streaming service, the processor <NUM> identifies a CSI pattern of the channel through which the first external electronic device performs communication in an arbitrary time interval, based on CSI on the channel through which the first external electronic device performs communication. The CSI pattern may refer to time-series information of the CSI on the first external electronic device.

The processor <NUM> identifies whether a data rate pattern of the first external electronic device matches the CSI pattern of the channel. A time point at which the data rate of the first external electronic device changes corresponds to a time point at which the CSI of the channel changes, the processor <NUM> determines that the data rate pattern of the first external electronic device matches the CSI pattern of the channel. Meanwhile, the fact that the time point at which the data rate of the first external electronic device changes corresponds to the time point at which the CSI of the channel changes may include a case in which the two time points coincide with each other or a case having an error corresponding to a processing time to transmit a video captured by the first external electronic device. When an object including a person moves within a specific space, CSI may change. In addition, when an object moves, the data size of a video capturing the movement of the object may also be changed by the movement of the object. Here, the data size of the captured video may be the size of data obtained by encoding the captured video. When a time point at which the CSI changes corresponds to a time point at which the data rate of a communication signal transmitting the captured video changes, it may mean that there is a camera that captures a space in which the electronic device <NUM> is located. Accordingly, the processor <NUM> determines that there is a camera when the time point of the change in the CSI corresponds to the time point of the change in the data rate. The processor <NUM> may determine whether there is a camera capturing the space where the electronic device <NUM> is located, based on whether a time point of a change in various factors (e.g., received signal strength indicator (RSSI), reference signal received quality (RSSQ), etc.) capable of indicating a channel matches a time point of a change in the data rate, as well as whether the CSI matches the data rate.

The processor <NUM> identifies whether the space where the electronic device <NUM> is located is captured by the first external electronic device, based on whether the matching is performed. For example, the processor <NUM> may notify that the first external electronic device is present using the display <NUM>.

<FIG> illustrates a flowchart of a method for operating an electronic device. The embodiment of <FIG> will be described in more detail with reference to <FIG>, and <FIG>. <FIG> illustrates a data rate pattern. <FIG> illustrates a data rate pattern. <FIG> illustrates a data rate pattern. <FIG> illustrates a data rate pattern.

Referring to <FIG>, in operation <NUM>, an electronic device <NUM> (e.g., the processor <NUM>) acquires data rate information of at least one external electronic device (e.g., the electronic device <NUM> of <FIG>). The electronic device <NUM> may identify a packet transmitted by at least one external electronic device that performs communication with an access point (AP). The electronic device <NUM> may identify unencrypted information (e.g., a packet size, a transmission/reception address, a sequence number, a port number, etc.) among a plurality of pieces of information included in the packets. For example, the electronic device <NUM> may identify the packet to identify a data rate of a data stream transmitted by at least one external electronic device. The electronic device <NUM> may calculate a change in the data rate in real time.

In operation <NUM>, the electronic device <NUM> identifies a first external electronic device having a data rate pattern corresponding to a first condition among the at least one external electronic device, based on data rate information.

Meanwhile, the electronic device <NUM> may preferentially determine whether there is an external electronic device for streaming a video among the at least one external electronic device. For example, when the data rate maintains a threshold value or more over a predetermined time interval, the electronic device <NUM> may determine that the external electronic device for streaming the video exists. When it is identified that the external electronic device for streaming the video exists, the electronic device <NUM> may determine whether an external electronic device for streaming a video in real time exists among the external electronic devices for streaming the video.

For example, <FIG> illustrates a data rate pattern for streaming a video obtained by capturing a static space in real time. When the static space is captured and transmitted, the size of the transmitted data may be constant. For example, as illustrated in <FIG>, when a video (e.g., a movie) is played, the size of data to be transmitted may be different for each frame, so that the data rate may not be constant. When the data rate is constant, the electronic device <NUM> may identify that the constant data rate corresponds to the first condition. Meanwhile, the fact that the data rate is constant may include a case in which the change in the data rate is less than or equal to a threshold value.

As illustrated in <FIG>, an access point (AP) <NUM> may be connected to the electronic device <NUM>, a first external electronic device <NUM>, a second external electronic device <NUM>, a third external electronic device <NUM>, and a fourth external electronic device <NUM>. The number of external electronic devices connected to the AP <NUM> is irrelevant. For example, the first external electronic device <NUM> may be a camera capturing a video. For example, the second external electronic device <NUM> may be executing a social network service (SNS) application. For example, the third external electronic device <NUM> may be executing a game application. For example, the fourth external electronic device <NUM> may be executing a video reproduction application.

As illustrated in <FIG>, the electronic device <NUM> acquires data rate information on a plurality of external electronic devices <NUM>, <NUM>, <NUM>, and <NUM>. A data rate pattern in which the first external electronic device <NUM> captures a specific space and streams the specific space in real time may be represented by reference numeral <NUM>. A data rate pattern of the second external electronic device <NUM> executing the SNS application may be represented by reference numeral <NUM>. A data rate pattern of the third external electronic device <NUM> executing the game application may be represented by reference numeral <NUM>. A data rate pattern of the fourth external electronic device <NUM> executing the video reproduction application may be represented by reference numeral <NUM>. The electronic device <NUM> may identify an external electronic device using a real-time streaming service among the identified multiple data rate patterns. For example, as illustrated in <FIG>, when a data rate pattern indicating a real-time streaming service is identified, the electronic device <NUM> may identify that there is the first external electronic device <NUM> using the real-time streaming service. For illustrative purposes, it is described that one external electronic device is executing one application, but one external electronic device can execute multiple applications, and the electronic device <NUM> can identify a data rate pattern for each application using a network.

In operation <NUM>, the electronic device <NUM> identifies channel state information (CSI) on a channel through which the first external electronic device performs communication. When it is identified that the first external electronic device uses the real-time streaming service, the electronic device <NUM> identifies a CSI pattern of a channel through which the first external electronic device performs communication in an arbitrary time interval, based on the CSI on the channel through which the first external electronic device performs communication. The electronic device <NUM> may identify a change in the CSI pattern of the channel through which the first external electronic device performs communication.

In operation <NUM>, the electronic device <NUM> identifies whether the data rate pattern of the first external electronic device matches a channel state information (CSI) pattern. For example, when a person's movement occurs in a space captured by the first external electronic device, a data rate may change because the size of data being streamed in real time increases. Also, when a person's movement occurs, the CSI of the channel through which the first external electronic device performs communication may change. The electronic device <NUM> identifies whether a time point at which the data rate of the first external electronic device changes corresponds to a time point at which the CSI of the channel changes. When a difference between the time point at which the data rate of the first external electronic device changes and the time point at which the CSI of the channel changes is less than or equal to a predetermined value, the electronic device <NUM> identifies that the time point at which the data rate changes and the time point at which the CSI of the channel changes correspond to each other. Accordingly, the electronic device <NUM> identifies that the data rate pattern and the CSI pattern match when the difference between the time point at which the data rate changes and the time point at which the CSI of the channel changes is less than or equal to the predetermined value. When a plurality of time points at which the CSI of the channel changes (e.g., <NUM> time points) is provided, the electronic device <NUM> may identify that the data rate pattern of the first external electronic device matches the CSI pattern of the channel only when the plurality of time points at which the data rate changes (equal to or greater than a threshold value {e.g., eight time points or more}) is provided.

In operation <NUM>, the electronic device <NUM> identifies whether a space where the electronic device <NUM> is located is captured by the first external electronic device, based on the identification result. When it is identified that the data rate pattern of the first external electronic device matches the CSI pattern of the channel through which the first external electronic device performs communication, the electronic device <NUM> may identify that the space where the electronic device <NUM> is located is captured by the first external electronic device.

<FIG> illustrates a flowchart of a method for operating the electronic device <NUM>. The embodiment of <FIG> will be described in more detail with reference to <FIG>, <FIG>, and <FIG>. <FIG> illustrates CSI and a data rate pattern. <FIG> illustrates CSI and a data rate pattern. <FIG> illustrates CSI and a data rate pattern.

In operation <NUM>, the electronic device <NUM> (e.g., the processor <NUM>) may identify a CSI pattern of a channel through which the first external electronic device performs communication in an arbitrary time interval. The electronic device <NUM> may identify a signal emitted by the first external electronic device to identify the CSI pattern of the channel through which the first external electronic device performs communication.

In operation <NUM>, the electronic device <NUM> may identifies the data rate of the first external electronic device in the arbitrary time interval. The electronic device <NUM> may identify unencrypted information (e.g., a packet size, a transmission/reception address, a sequence number, a port number, etc.) among a plurality of pieces of information included in a packet transmitted by the first external electronic device. The electronic device <NUM> may identify the packet to store the data rate of a data stream transmitted by the first external electronic device in time series.

In operation <NUM>, the electronic device <NUM> identifies whether a time point at which the CSI of the channel changes corresponds to a time point at which the data rate changes. The electronic device <NUM> may identify whether the data rate also changes when the CSI of the channel of the first external electronic device stored in time series changes. For example, when there is a person's movement in a space where the electronic device <NUM> is located, the data rate of the first external electronic device may increase, and the CSI of the channel may decrease. For example, when there is no movement in a space captured by the external electronic device, the same video may be captured, so that the data rate of the data stream transmitted by the first external electronic device may be constant. In addition, when there is no movement in the captured space, the CSI of the channel through which the first external electronic device performs communication may be constant because there is no change in an element blocking signals transmitted and received by the first external electronic device. Meanwhile, when a person's movement occurs in the space captured by the first external electronic device, the data rate of the data stream transmitted by the first external electronic device may increase because the data size of the captured video increases. In addition, since the signal transmitted and received between the AP and the first external electronic device is attenuated by a person existing in the same space as the first external electronic device, the CSI on the channel through which the first external electronic device performs communication may be reduced when a person's movement occurs in the space captured by the first external electronic device.

For example, <FIG>, <FIG>, and <FIG> are described on the assumption that the first external electronic device captures a space in which the electronic device <NUM> is located. In addition, the fact that the CSI or data rate of the channel is constant may mean a case where the amount of change in the CSI of the channel or the amount of change in the data rate is less than or equal to a threshold value.

For example, as illustrated in (a) of <FIG>, when there is no person in a space captured by the first external electronic device, the CSI of the channel may be constant. In addition, since there is no change in the video captured by the first external electronic device when there is no person in the space captured by the first external electronic device, as illustrated in (b) of <FIG>, the data rate of data transmitted by the first external electronic device using real-time streaming may be constant.

For example, as illustrated in (a) of <FIG>, when one person is stationary on a line-of-sight path, the CSI of the channel may change. For example, the CSI of the channel may be reduced at a specific time point <NUM> at which a person appears, and the CSI of the channel may be recovered over time. In addition, as illustrated in (b) of <FIG>, a data rate of transmitting data from a time point <NUM> at which a person appears (stationary after appearing) in a space captured by the first external electronic device may increase. If a person remains stationary after appearing, the data rate may be constant again since no change occurs in the video to be captured. Meanwhile, since the video captured at the time point at which the person appears is transmitted through a processing process, a time delay <NUM> may occur between the time point <NUM> at which the CSI of the channel changes and the time point <NUM> at which the data rate changes.

For example, as illustrated in (a) of <FIG>, when a person walks on a line-of-sight path, the CSI of the channel may repeatedly decrease and increase in a periodic/aperiodic manner. In addition, as illustrated in (b) of <FIG>, when a person moves in the space captured by the first external electronic device, the data rate at which the first external electronic device captures and transmits the video may repeatedly increase and decrease. Time delays <NUM> and <NUM> may occur between the time points <NUM> and <NUM> at which the CSI of the channel changes and the time points <NUM> and <NUM> at which the data rate changes.

According to whether the time point at which the CSI of the channel through which the first external electronic device performs communication changes matches the time point at which the data rate changes, the electronic device <NUM> identifies whether the space where the electronic device <NUM> is located is captured by the first external electronic device.

<FIG> illustrates a flowchart of a method for operating the electronic device <NUM>.

In operation <NUM>, the electronic device <NUM> (e.g., the processor <NUM>) identifies whether the amount of change in the CSI of the channel through which the first external electronic device performs communication is greater than a first threshold value.

When the amount of change in the CSI of the channel is greater than the first threshold value, in operation <NUM>, the electronic device <NUM> identifies whether the amount of change in the data rate is greater than a second threshold value. For example, when the amount of change in the CSI is greater than the first threshold value, the electronic device <NUM> may identify whether the amount of change in the data rate of the data stream transmitted by the first external electronic device is greater than the second threshold value. Meanwhile, in operation <NUM>, when the amount of change in the data rate is greater than the second threshold value within a predetermined time after identifying that the amount of change in the CSI of the channel is greater than the first threshold value, the electronic device <NUM> may identify that the amount of change in the data rate is greater than the second threshold value. For example, when a predetermined time is exceeded after it is identified that the amount of change in the CSI of the channel is greater than the first threshold value, the electronic device <NUM> may identify that the amount of change in the data rate is less than the second threshold value.

When the amount of change in the data rate is greater than the second threshold value, in operation <NUM>, the electronic device <NUM> identifies that the change in the CSI and the change in the data rate match each other. When the data rate changes by exceeding the second threshold (operation <NUM>) within a predetermined time from a time point at which the CSI of the channel changes by exceeding the first threshold value (operation <NUM>), the electronic device <NUM> identifies that the change in the CSI matches the change in the data rate.

When the amount of change in the data rate is less than the second threshold value, according to various embodiments, in operation <NUM>, the electronic device <NUM> may identify that the change in the CSI and the change in the data rate do not match each other. For example, when the CSI of the channel changes by exceeding (<NUM>) the first threshold value and the data rate does not change by exceeding the second threshold value within a predetermined time, the electronic device <NUM> may identify that the change in the CSI and the change in the data rate do not match each other.

<FIG> illustrates a flowchart of a method for operating an electronic device. The method according to <FIG> is not according to the invention and is present for illustration purposes only. <FIG> will be described in more detail with reference to <FIG>, <FIG> that are not according to the invention and are present for illustration purposes only. <FIG> illustrates a video that is not according to the invention and is present for illustration purposes only. <FIG> illustrates a video that is not according to the invention and is present for illustration purposes only. <FIG> illustrates a video that is not according to the invention and is present for illustration purposes only. <FIG> illustrates a video that is not according to the invention and is present for illustration purposes only. <FIG> illustrates a bit rate of an electronic device that is not according to the invention and is present for illustration purposes only.

In operation <NUM>, the electronic device <NUM> (e.g., the processor <NUM>) may acquire data rate information of at least one external electronic device. The electronic device <NUM> may identify packets transmitted by the at least one external electronic device that performs communication with an AP. The electronic device <NUM> may identify unencrypted information (e.g., a packet size, a transmission/reception address, a sequence number, a port number, etc.) among a plurality of pieces of information included in the packets. For example, the electronic device <NUM> may identify the packet to identify a data rate of a data stream transmitted by the at least one external electronic device. The electronic device <NUM> may calculate a change in the data rate in real time.

In operation <NUM>, the electronic device <NUM> may identify a first external electronic device indicating a data rate pattern corresponding to real-time streaming, based on the data rate information. When the data rate is constant, the electronic device <NUM> may determine that the data rate corresponds to the real-time streaming. On the other hand, when the amount of change in the data rate is less than or equal to a threshold value, it may mean that the data rate is constant. Then, the electronic device <NUM> may inform the user of the existence of the first external electronic device using a real-time streaming service. For example, the electronic device <NUM> may execute the camera to display a message requesting to capture a video of a space in which the user is located or to output a voice message. Additionally, the electronic device <NUM> may execute the camera to capture the video of the space in which the user is located, and may display a message requesting the movement of the user in the captured space or a message requesting to repeatedly turn on/off lighting in the captured space, or may output a voice message.

In operation <NUM>, the electronic device <NUM> may acquire a video through a camera (e.g., the camera module <NUM>) based on identifying the first external electronic device. For example, in order to determine whether the first external electronic device captures the space in which the electronic device <NUM> is located, the electronic device <NUM> may acquire a video through the camera. The electronic device <NUM> may identify the data size of the video to be captured over time.

For example, as illustrated in <FIG>, the video acquired through the camera may be a video that repeatedly turns on and off the lighting. The electronic device <NUM> may control an external electronic device (e.g., a lighting device) connected to the electronic device <NUM> to capture a video while repeatedly turning on and off the lighting. The data size of a video captured while the lighting is turned on may be larger than the data size of a video captured while the lighting is turned off. When a video in which the lighting is turned on and off repeatedly is captured, the data size of the video captured by the electronic device <NUM> may repeatedly increase and decrease.

For example, as illustrated in <FIG>, the video acquired through the camera may be a video capturing a person's movement. When a person's movement is captured, the data size of the video captured by the electronic device <NUM> may not be constant.

For example, as illustrated in <FIG>, the electronic device <NUM> may acquire a video through the camera while turning on/off a flash. For example, the electronic device <NUM> may acquire a video through the camera while turning the flash on/off every <NUM> seconds. When a video is captured while the flash is turned on/off at a period of <NUM> seconds, the data size of the video captured by the electronic device <NUM> may increase and decrease at a period of <NUM> seconds.

For example, as illustrated in <FIG>, the electronic device <NUM> may acquire a video through the camera while outputting sound using a speaker (e.g., the audio output device <NUM>). The data size of a video captured by the electronic device <NUM> while the sound is output may be larger than the data size of a video captured by the electronic device <NUM> while the sound is not output.

In operation <NUM>, the electronic device <NUM> may identify whether a data pattern for the video matches a data rate pattern of the first external electronic device. When a time point at which the data size of the video captured by the electronic device <NUM> changes corresponds to a time point at which the data rate of the first external electronic device changes, the electronic device <NUM> may identify that the data pattern for the video matches the data rate pattern of the first external electronic device.

For example, as illustrated in <FIG>, when the electronic device <NUM> captures a video in which the lighting is repeatedly turned on and off, the data size of the video captured by the electronic device while the lighting is turned on may be larger than the data size of the video captured by the electronic device while the lighting is turned off. Also, the data rate of the first external electronic device while the lighting is turned on may be larger than the data rate of the first external electronic device while the lighting is turned off. Accordingly, when the electronic device <NUM> and the first external electronic device capture the same space, the time point at which the data size of the video captured by the electronic device <NUM> changes and the time point at which the data rate of the external electronic device changes correspond to each other. For example, as illustrated in <FIG>, it is assumed that the electronic device <NUM> and the first external electronic device capture the same space. A first time point <NUM> may be a time point at which the lighting is turned off, and a second time point <NUM> may be a time point at which the lighting is turned on. The data size of the video captured by the electronic device <NUM> may decrease by the threshold value or greater at the first time point <NUM> and may increase by the threshold value or greater at the second time point <NUM>. Also, the data rate that the first external electronic device performs real-time streaming may decrease by the threshold value or greater at the first time point <NUM> and may increase by the threshold value or greater at the second time point <NUM>. That is, when the electronic device <NUM> and the first external electronic device capture the same space, since feedback similar to the change in the environment (e.g., turning on and off of the lighting) occurs, whether the electronic device <NUM> and the first external electronic device capture the same space may be determined.

For example, as illustrated in <FIG>, when the electronic device <NUM> captures a person's movement, the data size of the captured video may increase along with an increase in the active movement of the user. Also, when the first external electronic device captures a person's movement, the data rate may increase. Accordingly, when the electronic device <NUM> and the first external electronic device capture the movement of the same person, a time point at which the data size of the video captured by the electronic device <NUM> changes and a time point at which the data rate of the external electronic device changes may correspond to each other.

For example, as illustrated in <FIG>, when the electronic device <NUM> acquires a video through the camera while turning on/off the flash, the data size of the video may be changed according to a period of turning on/off the flash. Also, when the first external electronic device captures a space in which the electronic device is located, the illuminance may change depending on the on/off period of the flash. Accordingly, when the electronic device <NUM> and the first external electronic device capture the same space, a time point at which the data size of the video captured by the electronic device <NUM> changes and a time point at which the data rate of the external electronic device changes may correspond to each other.

For example, as illustrated in <FIG>, when the electronic device <NUM> acquires a video through the camera while outputting sound, the data size of the video captured while the sound is output may be larger than the data size of the video captured while no sound is output. In addition, when the first external electronic device captures the same space as the electronic device <NUM>, the data rate of the first external electronic device while the sound is output from the electronic device <NUM> may be larger than the data rate of the video captured while no sound is output. Accordingly, when the electronic device <NUM> and the first external electronic device capture the same space, a time point at which the data size of the video captured by the electronic device <NUM> changes and a time point at which the data rate of the external electronic device changes may correspond to each other.

In operation <NUM>, the electronic device <NUM> may identify whether the first external electronic device captures a space in which the electronic device <NUM> is located, based on the identification result. When it is identified that the time point at which the data size of the video captured by the electronic device <NUM> changes and the time point at which the data rate of the first external electronic device changes correspond to each other, it may be identified that the space captured by the first external electronic device is the space where the electronic device <NUM> is located.

When the electronic device <NUM> controls on and off of the lighting by controlling the external electronic device (e.g., a lighting device), it is possible to identify a time of turning on the lighting and a time of turning off the lighting. When time points at which the lighting is turned on and off correspond to the time point at which the data rate of the first external electronic device changes, the electronic device <NUM> may identify that the space in which the electronic device is located is captured by the first external electronic device. In this case, the electronic device <NUM> may not capture a video.

The electronic device <NUM> may acquire illuminance information using an illuminance sensor (e.g., the sensor module <NUM>), and may identify a time point at which the illuminance changes to be a threshold value or greater. When the time point at which the illuminance changes to be the threshold value or greater and the time point at which the data rate of the first external electronic device changes correspond to each other, the electronic device <NUM> may identify that the space where the electronic device is located is captured by the first external electronic device. In this case, the electronic device <NUM> may not capture a video.

When the electronic device <NUM> turns on/off the flash, it is possible to identify the time of turning the flash on and off. When the time point at which the flash is turned on and off and the time point at which the data rate of the first external electronic device changes correspond to each other, the electronic device <NUM> may identify that the space where the electronic device is located is captured by the first external electronic device. In this case, the electronic device <NUM> may not capture a video.

The electronic device <NUM> may identify the time of outputting sound. When a time point at which the output of the sound is started and a time point at which the output of the sound is terminated and the time point at which the data rate of the first external electronic device changes correspond to each other, the electronic device <NUM> may identify that the space where the electronic device is located is captured by the first external electronic device. In this case, the electronic device <NUM> may not capture a video.

<FIG> illustrates a flowchart of a method for operating an electronic device.

In operation <NUM>, the electronic device <NUM> (e.g., the processor <NUM>) acquires data rate information of at least one external electronic device. The electronic device <NUM> may identify packets transmitted by the at least one external electronic device that performs communication with an AP. The electronic device <NUM> may identify unencrypted information (e.g., a packet size, a transmission/reception address, a sequence number, a port number, etc.) among a plurality of pieces of information included in the packets. For example, the electronic device <NUM> may identify the packet to identify a data rate of a data stream transmitted by the at least one external electronic device. The electronic device <NUM> may calculate a change in the data rate in real time.

In operation <NUM>, the electronic device <NUM> identifies whether there is a first external electronic device indicating a data rate pattern corresponding to real-time streaming among the at least one external electronic device, based on the data rate information. When the data rate is constant, the electronic device <NUM> may determine that the data rate corresponds to the real-time streaming. Meanwhile, when the amount of change in the data rate is less than or equal to a threshold value, it may mean that the data rate is constant.

When it is determined that the first external electronic device indicating the data rate pattern corresponding to the real-time streaming does not exist among the at least one external electronic device, the electronic device <NUM> may return to operation <NUM> to acquire data rate information of the at least one external electronic device.

When it is identified that the first external electronic device indicating the data rate pattern corresponding to the real-time streaming is present among the at least one external electronic device, in operation <NUM>, additional information on the space where the electronic device <NUM> is located may be acquired. The electronic device <NUM> identifies a CSI of a channel through which the first external electronic device performs communication. The electronic device <NUM> may determine the presence of a person by identifying the CSI of the channel through which the first external electronic device performs communication.

In operation <NUM>, the electronic device <NUM> may identify whether the first external electronic device captures a space where the electronic device <NUM> is located. In a case in which the electronic device <NUM> identifies the CSI of the channel through which the first external electronic device performs communication, when the time point at which the CSI of the channel changes corresponds to the time point at which the data rate changes, the electronic device <NUM> identifies that the space where the electronic device <NUM> is located is captured by the first external electronic device.

When it is identified that the space where the electronic device <NUM> is located is not captured by the first external electronic device, the electronic device <NUM> may return to operation <NUM> to acquire the data rate information of the at least one external electronic device.

When it is identified that the space where the electronic device <NUM> is located is captured by the first external electronic device, in operation <NUM>, the electronic device <NUM> may output a warning. For example, the electronic device <NUM> may output a message indicating that there is a device that captures a user's space.

When it is identified that the first external electronic device captures the space where the electronic device <NUM> is located, the electronic device <NUM> may further identify whether the space where the electronic device <NUM> is located is captured by the first external electronic device. For example, the electronic device <NUM> may execute the camera to capture a space where a user is located, and may output a message requesting the movement of the user in the captured space or a message requesting to repeatedly perform on/off of the lighting. For example, the electronic device <NUM> may use the camera to capture the movement of a person or a space where illumination changes. When the data size pattern of the video captured by the electronic device <NUM> and the data rate pattern of the first external electronic device correspond to each other, the accuracy of the first external electronic device capturing the space where the electronic device <NUM> is located may increase.

It should be appreciated that various embodiments of the disclosure and the terms used therein are not intended to limit the technological features set forth in the claims to particular embodiments. As used herein, such terms as "<NUM> st" and "2nd," or "first" and "second" may be used to simply distinguish a corresponding component from another, and does not limit the components in other aspect (e.g., importance or order).

For example, the module may be implemented in a form of an application-specific integrated circuit (ASIC).

Various embodiments as set forth herein may be implemented as software (e.g., a program) including one or more instructions that are stored in a storage medium (e.g., internal memory or external memory) that is readable by a machine (e.g., a master device or a task performing device). For example, a processor of the machine (e.g., a master device or a task performing device) may invoke at least one of the one or more instructions stored in the storage medium, and execute it.

A method according to the disclosure may be included and provided in a computer program product.

Each component (e.g., a module or a program) of the above-described components may include a single entity or multiple entities. One or more of the above-described components or operations may be omitted, or one or more other components or operations may be added. In such a case, the integrated component may still perform one or more functions of each of the plurality of components in the same or similar manner as they are performed by a corresponding one of the plurality of components before the integration.

Claim 1:
An electronic device (<NUM>, <NUM>) comprising:
a wireless communication module (<NUM>); and
at least one processor (<NUM>, <NUM>) operably connected to the wireless communication module (<NUM>), the at least one processor (<NUM>, <NUM>) configured to:
acquire (<NUM>), through the wireless communication module (<NUM>), data rate information of at least one external electronic device (<NUM>, <NUM>, <NUM>, <NUM>);
identify (<NUM>), among the at least one external electronic device (<NUM>, <NUM>, <NUM>, <NUM>) based on the data rate information, a first external electronic device (<NUM>) including a data rate pattern corresponding to a first condition;
identify (<NUM>), through the wireless communication module, channel state information, CSI, of a channel in which the first external electronic device (<NUM>) performs communication;
identify (<NUM>) whether a time point at which the CSI of the channel changes and a time point at which the data rate of the first external electronic device (<NUM>) changes match each other; and
identify (<NUM>) whether a space where the electronic device (<NUM>, <NUM>) is located is captured by the first external electronic device (<NUM>) based on whether the time point at which the CSI of the channel changes and the time point at which the data rate of the first external electronic device changes match each other.